Pull request #355 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch main at c75449e85aa6c6239708e25f4301185f1aa5291c rather than 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4358611863899667619.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8979747704219074312.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 144eb70ba3d470a427e699408e811d3f535e987a 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-355/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8160330761211462188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh718457661876889033.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-355/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9041666413437226639.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2225 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [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-355 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5012357020377393386.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 c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh8034450728139008301.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5799450766691392425.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 Commit message: "fix: Update random device profile, configuration and discovery device configuration file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:27:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:27:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:27:44 ========================================================= 16:27:44 EdgeX Global Pipelines Version Info 16:27:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f2a8f19daa427336881eca624fe30c6e84b1b191 # timeout=10 16:27:46 ------------------- 16:27:46 stable info: 16:27:46 ------------------- 16:27:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:27:46 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 16:27:46 Message: update stable to v1.0.196 16:27:47 ------------------- 16:27:47 experimental info: 16:27:47 ------------------- 16:27:47 Commited By: **** collab-it+edgex@linuxfoundation.org 16:27:47 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 16:27:47 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ea0bab [Pipeline] echo 16:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:47 provisioning config files... 16:27:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config6797589341873600516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:48 ---> docker-login.sh 16:27:48 nexus3.edgexfoundry.org:10001 16:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:48 Configure a credential helper to remove this warning. See 16:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:48 16:27:48 Login Succeeded 16:27:48 nexus3.edgexfoundry.org:10002 16:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:48 Configure a credential helper to remove this warning. See 16:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:48 16:27:48 Login Succeeded 16:27:48 nexus3.edgexfoundry.org:10003 16:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:48 Configure a credential helper to remove this warning. See 16:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:48 16:27:48 Login Succeeded 16:27:48 nexus3.edgexfoundry.org:10004 16:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:49 Configure a credential helper to remove this warning. See 16:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:49 16:27:49 Login Succeeded 16:27:49 docker.io 16:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:49 Configure a credential helper to remove this warning. See 16:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:49 16:27:49 Login Succeeded 16:27:49 ---> docker-login.sh ends [Pipeline] } 16:27: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 16:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:27:51 16:27:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:27:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:27:51 latest: Pulling from edgex-devops/git-semver 16:27:51 31603596830f: Pulling fs layer 16:27:51 b6dc333f4379: Pulling fs layer 16:27:51 3d9ef1400e77: Pulling fs layer 16:27:51 fd332fbdc1db: Pulling fs layer 16:27:51 fd332fbdc1db: Waiting 16:27:51 b6dc333f4379: Verifying Checksum 16:27:51 b6dc333f4379: Download complete 16:27:51 31603596830f: Verifying Checksum 16:27:51 31603596830f: Download complete 16:27:51 3d9ef1400e77: Verifying Checksum 16:27:51 3d9ef1400e77: Download complete 16:27:51 fd332fbdc1db: Verifying Checksum 16:27:51 fd332fbdc1db: Download complete 16:27:52 31603596830f: Pull complete 16:27:52 b6dc333f4379: Pull complete 16:27:52 3d9ef1400e77: Pull complete 16:27:52 fd332fbdc1db: Pull complete 16:27:52 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 16:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:27:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:27:52 prd-centos7-docker-4c-2g-2225 does not seem to be running inside a container 16:27:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:27:54 $ docker top 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:27:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:54 [ssh-agent] Looking for ssh-agent implementation... 16:27:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:54 $ docker exec 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent 16:27:54 SSH_AUTH_SOCK=/tmp/ssh-xk6jNgO2TQhL/agent.13 16:27:54 SSH_AGENT_PID=19 16:27:54 Running ssh-add (command line suppressed) 16:27:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3231313542760702774.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3231313542760702774.key) 16:27:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:54 + git tag --points-at HEAD [Pipeline] } 16:27:54 $ docker exec --env ******** --env ******** 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent -k 16:27:54 unset SSH_AUTH_SOCK; 16:27:54 unset SSH_AGENT_PID; 16:27:54 echo Agent pid 19 killed; 16:27:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:27:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:55 [ssh-agent] Looking for ssh-agent implementation... 16:27:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:55 $ docker exec 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent 16:27:55 SSH_AUTH_SOCK=/tmp/ssh-AwghS03zlEfD/agent.52 16:27:55 SSH_AGENT_PID=59 16:27:55 Running ssh-add (command line suppressed) 16:27:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_5777380259728448864.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_5777380259728448864.key) 16:27:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:55 + git semver init 16:27:55 # -> Open(): unable to determine branch for HEAD 16:27:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git 16:27:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 16:27:55 # $SEMVER_REMOTE_NAME = origin 16:27:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:27:55 # $SEMVER_USER_NAME = edgex-jenkins 16:27:55 # $SEMVER_BRANCH = PR-355 16:27:55 # $SEMVER_TEMP = /tmp/semver-093188445 16:27:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 16:27:56 # '/tmp/semver-093188445' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' 16:27:56 # -> Force: false 16:27:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } 16:27:56 $ docker exec --env ******** --env ******** 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 ssh-agent -k 16:27:56 unset SSH_AUTH_SOCK; 16:27:56 unset SSH_AGENT_PID; 16:27:56 echo Agent pid 59 killed; 16:27:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:27:56 + git semver [Pipeline] } 16:27:56 $ docker stop --time=1 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 16:27:57 $ docker rm -f 4394ac9877229c7fd866b50ab55e0758417cb72d6b619b0a134a988897788a71 [Pipeline] // withDockerContainer [Pipeline] sh 16:27:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:27:58 Stashed 1 file(s) [Pipeline] echo 16:27:58 [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 16:28:13 Still waiting to schedule task 16:28:13 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2225’ 16:28:13 Still waiting to schedule task 16:28:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:30:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2226 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 16:30:22 Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout 16:30:22 Selected Git installation does not exist. Using Default 16:30:22 The recommended git tool is: NONE 16:30:27 using credential edgex-jenkins-ssh 16:30:27 Cloning the remote Git repository 16:30:28 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:30:28 > git init /w/workspace/device-sdk-c/8 # timeout=10 16:30:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:30:28 > git --version # timeout=10 16:30:28 > git --version # 'git version 2.17.1' 16:30:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:30 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:30:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:30:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:30:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:30:29 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:30:30 > git config core.sparsecheckout # timeout=10 16:30:30 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 16:30:30 Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:30:30 Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) 16:30:30 > git remote # timeout=10 16:30:30 > git config --get remote.origin.url # timeout=10 16:30:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:30 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 16:30:30 > git rev-parse HEAD^{commit} # timeout=10 16:30:30 > git config core.sparsecheckout # timeout=10 16:30:30 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 16:30:34 Commit message: "fix: Update random device profile, configuration and discovery device configuration file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:30:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:30:36 + true 16:30:36 + sudo service docker restart 16:30:54 Running on prd-centos7-docker-4c-2g-2227 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 16:30:54 Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout 16:30:54 Selected Git installation does not exist. Using Default 16:30:54 The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:55 provisioning config files... 16:30:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config822155430593032935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:30:55 ---> docker-login.sh 16:30:55 nexus3.edgexfoundry.org:10001 16:30:56 using credential edgex-jenkins-ssh 16:30:56 Cloning the remote Git repository 16:30:56 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:56 Configure a credential helper to remove this warning. See 16:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:56 16:30:56 Login Succeeded 16:30:56 nexus3.edgexfoundry.org:10002 16:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:57 Configure a credential helper to remove this warning. See 16:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:57 16:30:57 Login Succeeded 16:30:57 nexus3.edgexfoundry.org:10003 16:30:56 > git init /w/workspace/device-sdk-c/8 # timeout=10 16:30:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:30:56 > git --version # timeout=10 16:30:56 > git --version # 'git version 2.24.4' 16:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:56 [INFO] Currently running in a labeled security context 16:30:56 [INFO] Currently SELinux is 'enforcing' on the host 16:30:56 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7273433992531590577.key 16:30:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:30:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:30:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:30:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:30:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:57 [INFO] Currently running in a labeled security context 16:30:57 [INFO] Currently SELinux is 'enforcing' on the host 16:30:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh485854706611456202.key 16:30:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:57 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:30:57 Merge succeeded, producing 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:30:57 Checking out Revision 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 (PR-355) 16:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:57 Configure a credential helper to remove this warning. See 16:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:57 16:30:57 Login Succeeded 16:30:57 nexus3.edgexfoundry.org:10004 16:30:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:58 Configure a credential helper to remove this warning. See 16:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:58 16:30:58 Login Succeeded 16:30:58 docker.io 16:30:57 > git config core.sparsecheckout # timeout=10 16:30:57 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 16:30:57 > git remote # timeout=10 16:30:57 > git config --get remote.origin.url # timeout=10 16:30:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:30:57 [INFO] Currently running in a labeled security context 16:30:57 [INFO] Currently SELinux is 'enforcing' on the host 16:30:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh3981390259256214150.key 16:30:57 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 16:30:57 > git rev-parse HEAD^{commit} # timeout=10 16:30:57 > git config core.sparsecheckout # timeout=10 16:30:57 > git checkout -f 4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 # timeout=10 16:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:30:59 Configure a credential helper to remove this warning. See 16:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:30:59 16:30:59 Login Succeeded 16:30:59 ---> docker-login.sh ends [Pipeline] } 16:30:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:30:59 ========================================================= 16:30:59 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:30:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:31:00 + 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 . 16:31:00 Sending build context to Docker daemon 2.598MB 16:31:00 Step 1/25 : ARG BASE=alpine:3.12 16:31:00 Step 2/25 : FROM ${BASE} as builder 16:31:00 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:31:00 0362ad1dd800: Pulling fs layer 16:31:00 f2cdb1532d8b: Pulling fs layer 16:31:00 37ed683be191: Pulling fs layer 16:31:00 f2cdb1532d8b: Download complete 16:31:00 0362ad1dd800: Download complete 16:31:01 Commit message: "fix: Update random device profile, configuration and discovery device configuration file" 16:31:01 0362ad1dd800: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:02 f2cdb1532d8b: Pull complete 16:31:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:31:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:31:03 + sudo service docker restart 16:31:03 + true 16:31:03 Redirecting to /bin/systemctl restart docker.service 16:31:03 37ed683be191: Verifying Checksum 16:31:03 37ed683be191: Download complete 16:31:13 37ed683be191: Pull complete 16:31:13 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 16:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:31:13 ---> b23d30803547 16:31:13 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 16:31:13 ---> Running in b64621eeed7b 16:31:14 Connecting to iotech.jfrog.io (54.195.244.87:443) 16:31:15 support@iotechsys.co 100% |********************************|  451 0:00:00 ETA 16:31:15  16:31:16 Removing intermediate container b64621eeed7b 16:31:16 ---> 1eb70e4f99fa 16:31:16 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:31:16 ---> Running in 55dc9d18fca1 16:31:18 Removing intermediate container 55dc9d18fca1 16:31:18 ---> 7ed67abdfe84 16:31:18 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 16:31:18 ---> Running in ab73e6e74ac7 16:31:19 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:31:20 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 16:31:21 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [Pipeline] configFileProvider 16:31:21 provisioning config files... 16:31:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config266470223318852614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:21 ---> docker-login.sh 16:31:21 nexus3.edgexfoundry.org:10001 16:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:21 (1/11) Installing hiredis (0.14.0-r0) 16:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:22 Configure a credential helper to remove this warning. See 16:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:22 16:31:22 Login Succeeded 16:31:22 nexus3.edgexfoundry.org:10002 16:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:22 Configure a credential helper to remove this warning. See 16:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:22 16:31:22 Login Succeeded 16:31:22 nexus3.edgexfoundry.org:10003 16:31:22 (2/11) Installing hiredis-dev (0.14.0-r0) 16:31:22 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:31:22 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:22 Configure a credential helper to remove this warning. See 16:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:22 16:31:22 Login Succeeded 16:31:22 nexus3.edgexfoundry.org:10004 16:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:22 Configure a credential helper to remove this warning. See 16:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:22 16:31:22 Login Succeeded 16:31:22 docker.io 16:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:22 Configure a credential helper to remove this warning. See 16:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:22 16:31:22 Login Succeeded 16:31:22 ---> docker-login.sh ends [Pipeline] } 16:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:31:22 ========================================================= 16:31:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:31:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:31:23 + 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 . 16:31:23 Sending build context to Docker daemon 2.599MB 16:31:23 Step 1/25 : ARG BASE=alpine:3.12 16:31:23 Step 2/25 : FROM ${BASE} as builder 16:31:23 latest: Pulling from edgex-devops/edgex-gcc-base 16:31:23 e7c96db7181b: Pulling fs layer 16:31:23 4c13bbce0fe7: Pulling fs layer 16:31:23 6059c847ac2f: Pulling fs layer 16:31:23 4c13bbce0fe7: Verifying Checksum 16:31:23 4c13bbce0fe7: Download complete 16:31:23 e7c96db7181b: Verifying Checksum 16:31:23 e7c96db7181b: Download complete 16:31:23 (5/11) Installing libuuid (2.33-r0) 16:31:23 e7c96db7181b: Pull complete 16:31:23 4c13bbce0fe7: Pull complete 16:31:23 (6/11) Installing libblkid (2.33-r0) 16:31:24 (7/11) Installing libfdisk (2.33-r0) 16:31:24 (8/11) Installing libmount (2.33-r0) 16:31:24 6059c847ac2f: Verifying Checksum 16:31:24 6059c847ac2f: Download complete 16:31:24 (9/11) Installing libsmartcols (2.33-r0) 16:31:25 (10/11) Installing util-linux-dev (2.33-r0) 16:31:26 (11/11) Installing wget (1.20.3-r0) 16:31:26 Executing busybox-1.29.3-r10.trigger 16:31:26 OK: 287 MiB in 86 packages 16:31:27 6059c847ac2f: Pull complete 16:31:27 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 16:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:31:27 ---> 5eabd8fd8ba2 16:31:27 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 16:31:28 Removing intermediate container ab73e6e74ac7 16:31:28 ---> 8a02ce58e352 16:31:28 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:31:28 ---> Running in a28afcbfb299 16:31:28 Removing intermediate container a28afcbfb299 16:31:28 ---> 6724efd9180f 16:31:28 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 16:31:28 ---> Running in 3f4f79039d2a 16:31:29 ---> Running in d3cab9b5f87d 16:31:29 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:31:29 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:31:29 16:31:29 Removing intermediate container d3cab9b5f87d 16:31:29 ---> 129c8bdafe88 16:31:29 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:31:30 ---> Running in 0cf286a2fa6e 16:31:30 --2021-07-08 16:31:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:31:30 Resolving github.com... 140.82.114.4 16:31:30 Connecting to github.com|140.82.114.4|:443... connected. 16:31:30 HTTP request sent, awaiting response... 302 Found 16:31:30 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:31:30 --2021-07-08 16:31:30-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:31:30 Resolving codeload.github.com... 140.82.114.10 16:31:30 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:31:30 HTTP request sent, awaiting response... 200 OK 16:31:30 Length: unspecified [application/x-gzip] 16:31:30 Saving to: 'STDOUT' 16:31:30  16:31:30 Removing intermediate container 0cf286a2fa6e 16:31:30 ---> 5a115484d58c 16:31:30 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 16:31:30 0K .......... .......... .......... .......... .......... 1.16M 16:31:30 50K .......... .......... .......... .......... .......... 2.30M 16:31:30 100K .......... .......... .......... .......... .......... 2.59M 16:31:30 150K .......... .......... .......... .......... .......... 11.5M 16:31:30 200K .......... .......... .......... .......... .......... 10.3M 16:31:30 250K .......... .......... .......... .......... .......... 3.39M 16:31:30 300K .......... .......... .......... .......... .......... 7.54M 16:31:30 350K .......... .......... .......... .......... .......... 6.21M 16:31:30 400K .......... .......... .......... .......... .......... 4.47M 16:31:30 450K .......... .......... .......... .......... .......... 5.30M 16:31:30 500K .......... .......... .......... .......... .......... 7.03M 16:31:30 550K .......... .......... .......... .......... .......... 2.33M 16:31:30 600K .......... .......... .......... .......... .......... 809K 16:31:30 650K .......... .......... .......... .......... .......... 2.26M 16:31:30 700K ..   3.02M=0.3s 16:31:30 16:31:30 2021-07-08 16:31:30 (2.72 MB/s) - written to stdout [719348] 16:31:30 16:31:30 ---> Running in eaf7f9ec2174 16:31:30 -- The C compiler identification is GNU 8.3.0 16:31:30 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:31:31 -- The CXX compiler identification is GNU 8.3.0 16:31:31 -- Check for working C compiler: /usr/bin/cc 16:31:31 -- Check for working C compiler: /usr/bin/cc -- works 16:31:31 -- Detecting C compiler ABI info 16:31:31 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:31:31 -- Detecting C compiler ABI info - done 16:31:31 -- Detecting C compile features 16:31:31 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:31:32 -- Detecting C compile features - done 16:31:32 (1/11) Installing hiredis (0.14.0-r0) 16:31:32 (2/11) Installing hiredis-dev (0.14.0-r0) 16:31:32 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 16:31:32 -- Check for working CXX compiler: /usr/bin/c++ 16:31:32 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:31:32 -- Detecting CXX compiler ABI info 16:31:32 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 16:31:32 -- Detecting CXX compiler ABI info - done 16:31:33 -- Detecting CXX compile features 16:31:33 (5/11) Installing libuuid (2.33-r0) 16:31:33 (6/11) Installing libblkid (2.33-r0) 16:31:33 (7/11) Installing libfdisk (2.33-r0) 16:31:34 (8/11) Installing libmount (2.33-r0) 16:31:34 (9/11) Installing libsmartcols (2.33-r0) 16:31:34 (10/11) Installing util-linux-dev (2.33-r0) 16:31:34 (11/11) Installing wget (1.20.3-r0) 16:31:34 -- Detecting CXX compile features - done 16:31:34 -- Looking for include file endian.h 16:31:34 Executing busybox-1.29.3-r10.trigger 16:31:34 OK: 273 MiB in 86 packages 16:31:34 -- Looking for include file endian.h - found 16:31:34 -- Check if the system is big endian 16:31:34 -- Searching 16 bit integer 16:31:34 -- Looking for sys/types.h 16:31:34 -- Looking for sys/types.h - found 16:31:34 -- Looking for stdint.h 16:31:35 Removing intermediate container eaf7f9ec2174 16:31:35 ---> 5c848a36996a 16:31:35 Step 6/25 : ENV CBOR_VERSION=0.5.0 16:31:35 -- Looking for stdint.h - found 16:31:35 -- Looking for stddef.h 16:31:35 ---> Running in ccab6016178a 16:31:35 Removing intermediate container ccab6016178a 16:31:35 ---> f2467eecd216 16:31:35 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 16:31:35 ---> Running in c7bdd1a16099 16:31:35 -- Looking for stddef.h - found 16:31:35 -- Check size of unsigned short 16:31:35 --2021-07-08 16:31:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 16:31:35 Resolving github.com... 140.82.114.4 16:31:35 Connecting to github.com|140.82.114.4|:443... connected. 16:31:35 HTTP request sent, awaiting response... 302 Found 16:31:35 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 16:31:35 --2021-07-08 16:31:35-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 16:31:35 Resolving codeload.github.com... 140.82.114.10 16:31:35 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:31:35 -- Check size of unsigned short - done 16:31:35 -- Using unsigned short 16:31:35 HTTP request sent, awaiting response... 200 OK 16:31:35 Length: unspecified [application/x-gzip] 16:31:35 Saving to: 'STDOUT' 16:31:35  16:31:35 0K .......... .......... .......... .......... .......... 1.48M 16:31:35 50K .......... .......... .......... .......... .......... 3.17M 16:31:35 100K .......... .......... .......... .......... .......... 26.7M 16:31:35 150K .......... .......... .......... .......... .......... 3.47M 16:31:35 200K .......... .......... .......... .......... .......... 33.1M 16:31:35 250K .......... .......... .......... .......... .......... 8.97M 16:31:35 300K .......... .......... .......... .......... .......... 5.21M 16:31:35 350K .......... .......... .......... .......... .......... 15.3M 16:31:35 400K .......... .......... .......... .......... .......... 14.7M 16:31:35 450K .......... .......... .......... .......... .......... 11.3M 16:31:35 500K .......... .......... .......... .......... .......... 22.0M 16:31:35 550K .......... .......... .......... .......... .......... 10.6M 16:31:35 600K .......... .......... .......... .......... .......... 4.35M 16:31:35 650K .......... .......... .......... .......... .......... 6.66M 16:31:35 700K .. 62.7M=0.1s 16:31:35 16:31:35 2021-07-08 16:31:35 (5.88 MB/s) - written to stdout [719348] 16:31:35 16:31:35 -- The C compiler identification is GNU 8.3.0 16:31:35 -- Check if the system is big endian - little endian 16:31:35 -- Check size of size_t 16:31:36 -- The CXX compiler identification is GNU 8.3.0 16:31:36 -- Check for working C compiler: /usr/bin/cc 16:31:36 -- Check for working C compiler: /usr/bin/cc -- works 16:31:36 -- Detecting C compiler ABI info 16:31:36 -- Detecting C compiler ABI info - done 16:31:36 -- Detecting C compile features 16:31:36 -- Check size of size_t - done 16:31:36 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:31:36 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:31:36 asked CMake to find a package configuration file provided by "cJSON", but 16:31:36 CMake did not find one. 16:31:36 16:31:36 Could not find a package configuration file provided by "cJSON" with any of 16:31:36 the following names: 16:31:36 16:31:36 cJSONConfig.cmake 16:31:36 cjson-config.cmake 16:31:36 16:31:36 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:31:36 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:31:36 provides a separate development package or SDK, be sure it has been 16:31:36 installed. 16:31:36 16:31:36 16:31:36 -- Configuring done 16:31:36 -- Detecting C compile features - done 16:31:36 -- Check for working CXX compiler: /usr/bin/c++ 16:31:36 -- Check for working CXX compiler: /usr/bin/c++ -- works 16:31:36 -- Detecting CXX compiler ABI info 16:31:36 -- Detecting CXX compiler ABI info - done 16:31:36 -- Detecting CXX compile features 16:31:36 -- Generating done 16:31:36 -- Build files have been written to: /tmp/cbor 16:31:36 Scanning dependencies of target cbor_shared 16:31:36 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:31:36 -- Detecting CXX compile features - done 16:31:36 -- Looking for include file endian.h 16:31:36 -- Looking for include file endian.h - found 16:31:36 -- Check if the system is big endian 16:31:36 -- Searching 16 bit integer 16:31:36 -- Looking for sys/types.h 16:31:36 -- Looking for sys/types.h - found 16:31:36 -- Looking for stdint.h 16:31:36 -- Looking for stdint.h - found 16:31:36 -- Looking for stddef.h 16:31:36 -- Looking for stddef.h - found 16:31:36 -- Check size of unsigned short 16:31:37 -- Check size of unsigned short - done 16:31:37 -- Using unsigned short 16:31:37 -- Check if the system is big endian - little endian 16:31:37 -- Check size of size_t 16:31:37 -- Check size of size_t - done 16:31:37 CMake Warning at examples/CMakeLists.txt:16 (find_package): 16:31:37 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 16:31:37 asked CMake to find a package configuration file provided by "cJSON", but 16:31:37 CMake did not find one. 16:31:37 16:31:37 Could not find a package configuration file provided by "cJSON" with any of 16:31:37 the following names: 16:31:37 16:31:37 cJSONConfig.cmake 16:31:37 cjson-config.cmake 16:31:37 16:31:37 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 16:31:37 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 16:31:37 provides a separate development package or SDK, be sure it has been 16:31:37 installed. 16:31:37 16:31:37 16:31:37 -- Configuring done 16:31:37 -- Generating done 16:31:37 -- Build files have been written to: /tmp/cbor 16:31:37 Scanning dependencies of target cbor_shared 16:31:37 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 16:31:37 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:31:37 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 16:31:37 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:31:37 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:31:37 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:31:37 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:31:37 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:31:37 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:31:37 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:31:37 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:31:37 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:31:38 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 16:31:38 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 16:31:38 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:31:38 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:31:38 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:31:38 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:31:38 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:31:38 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:31:38 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:31:38 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:31:38 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:31:38 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 16:31:38 [ 40%] Linking C shared library libcbor.so 16:31:38 [ 40%] Built target cbor_shared 16:31:38 Scanning dependencies of target cbor 16:31:38 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:31:38 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:31:38 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 16:31:39 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:31:39 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:31:39 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 16:31:39 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:31:39 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:31:39 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:31:39 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:31:39 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:31:39 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 16:31:39 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 16:31:39 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:31:39 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:31:39 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:31:39 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 16:31:39 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:31:39 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:31:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:31:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:31:39 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:31:40 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:31:40 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:31:40 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:31:40 [ 80%] Linking C static library libcbor.a 16:31:40 [ 80%] Built target cbor 16:31:40 Scanning dependencies of target create_items 16:31:40 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:31:40 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 16:31:40 [ 84%] Linking C executable create_items 16:31:40 [ 84%] Built target create_items 16:31:40 Scanning dependencies of target readfile 16:31:40 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:31:40 [ 88%] Linking C executable readfile 16:31:40 [ 88%] Built target readfile 16:31:40 Scanning dependencies of target streaming_parser 16:31:40 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:31:40 [ 92%] Linking C executable streaming_parser 16:31:40 [ 92%] Built target streaming_parser 16:31:40 Scanning dependencies of target sort 16:31:40 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:31:40 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 16:31:40 [ 96%] Linking C executable sort 16:31:40 [ 96%] Built target sort 16:31:40 Scanning dependencies of target hello 16:31:40 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:31:40 [100%] Linking C executable hello 16:31:40 [100%] Built target hello 16:31:40 Install the project... 16:31:40 -- Install configuration: "Release" 16:31:40 -- Installing: /usr/local/include/cbor/configuration.h 16:31:40 -- Installing: /usr/local/lib64/libcbor.a 16:31:40 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:31:40 -- Installing: /usr/local/lib64/libcbor.so.0 16:31:40 -- Installing: /usr/local/lib64/libcbor.so 16:31:40 -- Up-to-date: /usr/local/include/cbor 16:31:40 -- Installing: /usr/local/include/cbor/arrays.h 16:31:40 -- Installing: /usr/local/include/cbor/bytestrings.h 16:31:40 -- Installing: /usr/local/include/cbor/callbacks.h 16:31:40 -- Installing: /usr/local/include/cbor/common.h 16:31:40 -- Installing: /usr/local/include/cbor/data.h 16:31:40 -- Installing: /usr/local/include/cbor/encoding.h 16:31:40 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:31:40 -- Installing: /usr/local/include/cbor/internal 16:31:40 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:31:40 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:31:40 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:31:40 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:31:40 -- Installing: /usr/local/include/cbor/internal/stack.h 16:31:40 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:31:40 -- Installing: /usr/local/include/cbor/ints.h 16:31:40 -- Installing: /usr/local/include/cbor/maps.h 16:31:40 -- Installing: /usr/local/include/cbor/serialization.h 16:31:40 -- Installing: /usr/local/include/cbor/streaming.h 16:31:40 -- Installing: /usr/local/include/cbor/strings.h 16:31:40 -- Installing: /usr/local/include/cbor/tags.h 16:31:40 -- Installing: /usr/local/include/cbor.h 16:31:40 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:31:41 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 16:31:41 Removing intermediate container c7bdd1a16099 16:31:41 ---> 5f2f92d63613 16:31:41 Step 8/25 : RUN mkdir /tmp/sdk 16:31:41 ---> Running in b2f95b09a0a4 16:31:41 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 16:31:41 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 16:31:41 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 16:31:41 Removing intermediate container b2f95b09a0a4 16:31:41 ---> 0bb27311f462 16:31:41 Step 9/25 : COPY VERSION /tmp/sdk 16:31:41 ---> 9087a1b47c18 16:31:41 Step 10/25 : COPY src /tmp/sdk/src 16:31:41 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 16:31:42 ---> 6fe940e08124 16:31:42 Step 11/25 : COPY include /tmp/sdk/include 16:31:42 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 16:31:42 ---> f7198c3dfc39 16:31:42 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:31:42 ---> 960d3801b945 16:31:42 Step 13/25 : COPY LICENSE /tmp/sdk 16:31:42 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 16:31:42 ---> 448ef52455bd 16:31:42 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:31:42 ---> f38c37e7894a 16:31:42 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:31:42 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 16:31:42 ---> Running in f7d2e0421880 16:31:43 [ 40%] Linking C shared library libcbor.so 16:31:43 [ 40%] Built target cbor_shared 16:31:43 Scanning dependencies of target cbor 16:31:43 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 16:31:43 + CPPCHECK=false 16:31:43 + DOCGEN=false 16:31:43 + TOMLVER=SDK-0.2 16:31:43 + CUTILVER=1.1.4 16:31:43 + '[' 0 -gt 0 ] 16:31:43 + readlink -f ./scripts/build.sh 16:31:43 + dirname /tmp/sdk/scripts/build.sh 16:31:43 + dirname /tmp/sdk/scripts 16:31:43 + ROOT=/tmp/sdk 16:31:43 + cd /tmp/sdk 16:31:43 + '[' '!' -d deps ] 16:31:43 + mkdir deps 16:31:43 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:31:43 + tar -C deps -z -x -f - 16:31:43 --2021-07-08 16:31:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:31:43 Resolving github.com... 140.82.114.4 16:31:43 Connecting to github.com|140.82.114.4|:443... connected. 16:31:43 HTTP request sent, awaiting response... 302 Found 16:31:43 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:31:43 --2021-07-08 16:31:43-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:31:43 Resolving codeload.github.com... 140.82.114.10 16:31:43 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:31:43 HTTP request sent, awaiting response... 200 OK 16:31:43 Length: unspecified [application/x-gzip] 16:31:43 Saving to: 'STDOUT' 16:31:43 16:31:43 0K .......... ...... 979K=0.02s 16:31:43 16:31:43 2021-07-08 16:31:43 (979 KB/s) - written to stdout [16451] 16:31:43 16:31:43 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:31:43 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:31:43 + tar -C deps -z -x -f - 16:31:43 --2021-07-08 16:31:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:31:43 Resolving github.com... 140.82.114.4 16:31:43 Connecting to github.com|140.82.114.4|:443... connected. 16:31:43 HTTP request sent, awaiting response... 302 Found 16:31:43 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:31:43 --2021-07-08 16:31:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:31:43 Resolving codeload.github.com... 140.82.114.10 16:31:43 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:31:43 HTTP request sent, awaiting response... 200 OK 16:31:43 Length: unspecified [application/x-gzip] 16:31:43 Saving to: 'STDOUT' 16:31:43 16:31:43 0K .......... .......... .......... .......... .......... 1.42M 16:31:43 50K .......... .......... .......... .......... .......... 2.93M 16:31:43 100K .......... .......... .......... .......... .......... 47.5M 16:31:43 150K .......... .......... ....... 3.91M=0.06s 16:31:43 16:31:43 2021-07-08 16:31:43 (2.94 MB/s) - written to stdout [181796] 16:31:43 16:31:43 + mkdir -p src/c/iot 16:31:43 + 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 16:31:43 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:31:43 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:31:43 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:31:43 + mkdir -p include/iot 16:31:43 + 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 16:31:43 + mkdir -p include/iot/os 16:31:43 + 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 16:31:43 + mkdir -p /tmp/sdk/build/release 16:31:43 + cd /tmp/sdk/build/release 16:31:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:31:43 -- The C compiler identification is GNU 8.3.0 16:31:43 -- Check for working C compiler: /usr/bin/cc 16:31:43 -- Check for working C compiler: /usr/bin/cc -- works 16:31:43 -- Detecting C compiler ABI info 16:31:43 -- Detecting C compiler ABI info - done 16:31:43 -- Detecting C compile features 16:31:44 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 16:31:44 -- Detecting C compile features - done 16:31:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:31:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:31:44 -- Found LIBYAML: /usr/lib/libyaml.so 16:31:44 -- Found LIBUUID: /usr/lib/libuuid.so 16:31:44 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:31:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:31:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:31:44 -- C SDK 0.0.0 for Linux 16:31:44 -- Performing Test CSDK_HAVE_ATOMIC 16:31:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:31:44 -- Found Curses: /usr/lib/libcurses.so 16:31:44 -- Configuring done 16:31:44 -- Generating done 16:31:44 -- Build files have been written to: /tmp/sdk/build/release 16:31:44 + make all package 16:31:44 + tee release.log 16:31:44 Scanning dependencies of target csdk 16:31:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:31:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:31:44 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 16:31:44 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 16:31:44 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:31:44 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:31:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:31:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:31:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:31:45 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:31:45 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:31:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:31:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:31:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:31:45 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:31:45 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:31:46 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 16:31:46 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 16:31:46 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:31:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:31:46 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:31:46 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 16:31:46 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 16:31:46 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 16:31:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:31:46 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:31:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:31:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:31:46 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 16:31:47 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:31:47 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:31:47 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 16:31:47 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:31:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:31:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:31:47 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:31:47 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 16:31:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:31:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:31:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:31:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:31:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:31:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:31:48 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 16:31:48 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:31:48 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 16:31:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:31:48 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:31:48 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 16:31:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:31:49 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 16:31:49 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 16:31:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:31:49 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 16:31:49 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 16:31:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:31:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:31:49 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:31:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:31:50 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 16:31:50 [ 80%] Linking C static library libcbor.a 16:31:50 [ 80%] Built target cbor 16:31:50 Scanning dependencies of target create_items 16:31:50 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 16:31:50 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:31:50 [ 84%] Linking C executable create_items 16:31:50 [ 84%] Built target create_items 16:31:50 Scanning dependencies of target readfile 16:31:50 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 16:31:50 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:31:50 [ 88%] Linking C executable readfile 16:31:50 [ 88%] Built target readfile 16:31:50 Scanning dependencies of target streaming_parser 16:31:51 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 16:31:51 [ 92%] Linking C executable streaming_parser 16:31:51 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:31:51 [ 92%] Built target streaming_parser 16:31:51 Scanning dependencies of target sort 16:31:51 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 16:31:51 [ 96%] Linking C executable sort 16:31:51 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:31:51 [ 74%] Linking C shared library libcsdk.so 16:31:51 [ 74%] Built target csdk 16:31:51 Scanning dependencies of target template 16:31:51 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:31:51 [ 96%] Built target sort 16:31:51 Scanning dependencies of target hello 16:31:51 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 16:31:51 [100%] Linking C executable hello 16:31:51 [ 77%] Linking C executable template 16:31:51 [ 77%] Built target template 16:31:51 Scanning dependencies of target device-counter 16:31:51 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:31:51 [ 80%] Linking C executable device-counter 16:31:51 [100%] Built target hello 16:31:51 Install the project... 16:31:51 -- Install configuration: "Release" 16:31:51 -- Installing: /usr/local/include/cbor/configuration.h 16:31:51 -- Installing: /usr/local/lib64/libcbor.a 16:31:51 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 16:31:51 -- Installing: /usr/local/lib64/libcbor.so.0 16:31:51 -- Installing: /usr/local/lib64/libcbor.so 16:31:51 -- Up-to-date: /usr/local/include/cbor 16:31:51 -- Installing: /usr/local/include/cbor/streaming.h 16:31:51 -- Installing: /usr/local/include/cbor/ints.h 16:31:51 -- Installing: /usr/local/include/cbor/floats_ctrls.h 16:31:51 -- Installing: /usr/local/include/cbor/bytestrings.h 16:31:51 -- Installing: /usr/local/include/cbor/encoding.h 16:31:51 -- Installing: /usr/local/include/cbor/serialization.h 16:31:51 -- Installing: /usr/local/include/cbor/data.h 16:31:51 -- Installing: /usr/local/include/cbor/common.h 16:31:51 -- Installing: /usr/local/include/cbor/callbacks.h 16:31:51 -- Installing: /usr/local/include/cbor/strings.h 16:31:51 -- Installing: /usr/local/include/cbor/tags.h 16:31:51 -- Installing: /usr/local/include/cbor/internal 16:31:51 -- Installing: /usr/local/include/cbor/internal/encoders.h 16:31:51 -- Installing: /usr/local/include/cbor/internal/loaders.h 16:31:51 -- Installing: /usr/local/include/cbor/internal/stack.h 16:31:51 -- Installing: /usr/local/include/cbor/internal/unicode.h 16:31:51 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 16:31:51 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 16:31:51 -- Installing: /usr/local/include/cbor/arrays.h 16:31:51 -- Installing: /usr/local/include/cbor/maps.h 16:31:51 -- Installing: /usr/local/include/cbor.h 16:31:51 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 16:31:51 [ 80%] Built target device-counter 16:31:51 Scanning dependencies of target device-random 16:31:51 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:31:51 [ 84%] Linking C executable device-random 16:31:51 [ 84%] Built target device-random 16:31:51 Scanning dependencies of target device-gyro 16:31:51 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:31:51 [ 87%] Linking C executable device-gyro 16:31:52 [ 87%] Built target device-gyro 16:31:52 Scanning dependencies of target device-bitfields 16:31:52 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:31:52 [ 90%] Linking C executable device-bitfields 16:31:52 [ 90%] Built target device-bitfields 16:31:52 Scanning dependencies of target template-discovery 16:31:52 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:31:52 [ 93%] Linking C executable template-discovery 16:31:52 [ 93%] Built target template-discovery 16:31:52 Scanning dependencies of target device-file 16:31:52 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:31:52 [ 96%] Linking C executable device-file 16:31:52 [ 96%] Built target device-file 16:31:52 Scanning dependencies of target device-terminal 16:31:52 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:31:52 [100%] Linking C executable device-terminal 16:31:52 [100%] Built target device-terminal 16:31:52 Run CPack packaging tool... 16:31:52 CPack: Create package using TGZ 16:31:52 CPack: Install projects 16:31:52 CPack: - Run preinstall target for: Csdk 16:31:53 CPack: - Install project: Csdk 16:31:53 CPack: Create package 16:31:53 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:31:53 + '[' false '=' true ] 16:31:53 + '[' false '=' true ] 16:31:53 + mkdir -p /tmp/sdk/build/debug 16:31:53 + cd /tmp/sdk/build/debug 16:31:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:31:53 -- The C compiler identification is GNU 8.3.0 16:31:53 -- Check for working C compiler: /usr/bin/cc 16:31:53 -- Check for working C compiler: /usr/bin/cc -- works 16:31:53 -- Detecting C compiler ABI info 16:31:53 -- Detecting C compiler ABI info - done 16:31:53 -- Detecting C compile features 16:31:53 -- Detecting C compile features - done 16:31:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:31:53 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:31:53 -- Found LIBYAML: /usr/lib/libyaml.so 16:31:53 -- Found LIBUUID: /usr/lib/libuuid.so 16:31:53 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:31:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:31:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:31:53 -- C SDK 0.0.0 for Linux 16:31:53 -- Performing Test CSDK_HAVE_ATOMIC 16:31:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:31:53 -- Found Curses: /usr/lib/libcurses.so 16:31:53 -- Configuring done 16:31:53 -- Generating done 16:31:53 -- Build files have been written to: /tmp/sdk/build/debug 16:31:53 + make 16:31:53 + tee debug.log 16:31:53 Scanning dependencies of target csdk 16:31:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:31:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:31:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:31:53 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:31:53 Removing intermediate container 3f4f79039d2a 16:31:53 ---> 9dd47f9e7842 16:31:53 Step 8/25 : RUN mkdir /tmp/sdk 16:31:53 ---> Running in 12b6dbce6e17 16:31:54 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:31:54 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:31:54 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:31:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:31:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:31:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:31:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:31:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:31:54 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:31:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:31:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:31:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:31:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:31:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:31:54 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:31:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:31:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:31:55 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:31:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:31:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:31:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:31:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:31:55 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:31:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:31:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:31:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:31:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:31:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:31:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:31:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:31:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:31:55 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:31:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:31:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:31:56 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:31:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:31:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:31:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:31:56 Removing intermediate container 12b6dbce6e17 16:31:56 ---> 25d17d09fd92 16:31:56 Step 9/25 : COPY VERSION /tmp/sdk 16:31:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:31:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:31:56 ---> 43b1c0228ecf 16:31:56 Step 10/25 : COPY src /tmp/sdk/src 16:31:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:31:56 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:31:56 [ 74%] Linking C shared library libcsdk.so 16:31:56 [ 74%] Built target csdk 16:31:56 Scanning dependencies of target template 16:31:56 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:31:56 [ 77%] Linking C executable template 16:31:57 [ 77%] Built target template 16:31:57 Scanning dependencies of target device-counter 16:31:57 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:31:57 [ 80%] Linking C executable device-counter 16:31:57 [ 80%] Built target device-counter 16:31:57 Scanning dependencies of target device-random 16:31:57 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:31:57 [ 84%] Linking C executable device-random 16:31:57 [ 84%] Built target device-random 16:31:57 Scanning dependencies of target device-gyro 16:31:57 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:31:57 [ 87%] Linking C executable device-gyro 16:31:57 [ 87%] Built target device-gyro 16:31:57 Scanning dependencies of target device-bitfields 16:31:57 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:31:57 [ 90%] Linking C executable device-bitfields 16:31:57 [ 90%] Built target device-bitfields 16:31:57 Scanning dependencies of target template-discovery 16:31:57 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:31:57 [ 93%] Linking C executable template-discovery 16:31:57 [ 93%] Built target template-discovery 16:31:57 Scanning dependencies of target device-file 16:31:57 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:31:57 [ 96%] Linking C executable device-file 16:31:57 [ 96%] Built target device-file 16:31:57 Scanning dependencies of target device-terminal 16:31:57 ---> e82e98276b67 16:31:57 Step 11/25 : COPY include /tmp/sdk/include 16:31:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:31:58 [100%] Linking C executable device-terminal 16:31:58 [100%] Built target device-terminal 16:31:58 make: Entering directory '/tmp/sdk/build/release' 16:31:58 make[1]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 74%] Built target csdk 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 77%] Built target template 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 80%] Built target device-counter 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 84%] Built target device-random 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 87%] Built target device-gyro 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 90%] Built target device-bitfields 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 93%] Built target template-discovery 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [ 96%] Built target device-file 16:31:58 make[2]: Entering directory '/tmp/sdk/build/release' 16:31:58 make[2]: Leaving directory '/tmp/sdk/build/release' 16:31:58 [100%] Built target device-terminal 16:31:58 make[1]: Leaving directory '/tmp/sdk/build/release' 16:31:58 Install the project... 16:31:58 -- Install configuration: "Release" 16:31:58 -- Installing: /usr/local/lib/libcsdk.so 16:31:58 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:31:58 -- Up-to-date: /usr/local/include 16:31:58 -- Installing: /usr/local/include/devsdk 16:31:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:31:58 -- Installing: /usr/local/include/devsdk/devsdk.h 16:31:58 -- Installing: /usr/local/include/edgex 16:31:58 -- Installing: /usr/local/include/edgex/devices.h 16:31:58 -- Installing: /usr/local/include/edgex/edgex-base.h 16:31:58 -- Installing: /usr/local/include/edgex/edgex.h 16:31:58 -- Installing: /usr/local/include/edgex/profiles.h 16:31:58 -- Installing: /usr/local/include/edgex/rest-server.h 16:31:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:31:58 -- Installing: /usr/local/include/iot 16:31:58 -- Installing: /usr/local/include/iot/base64.h 16:31:58 -- Installing: /usr/local/include/iot/component.h 16:31:58 -- Installing: /usr/local/include/iot/config.h 16:31:58 -- Installing: /usr/local/include/iot/container.h 16:31:58 -- Installing: /usr/local/include/iot/data.h 16:31:58 -- Installing: /usr/local/include/iot/hash.h 16:31:58 -- Installing: /usr/local/include/iot/iot.h 16:31:58 -- Installing: /usr/local/include/iot/json.h 16:31:58 -- Installing: /usr/local/include/iot/logger.h 16:31:58 -- Installing: /usr/local/include/iot/os.h 16:31:58 -- Installing: /usr/local/include/iot/scheduler.h 16:31:58 -- Installing: /usr/local/include/iot/thread.h 16:31:58 -- Installing: /usr/local/include/iot/threadpool.h 16:31:58 -- Installing: /usr/local/include/iot/time.h 16:31:58 -- Installing: /usr/local/include/iot/typecode.h 16:31:58 -- Installing: /usr/local/include/iot/os 16:31:58 -- Installing: /usr/local/include/iot/os/linux.h 16:31:58 -- Installing: /usr/local/include/iot/os/macos.h 16:31:58 -- Installing: /usr/local/include/iot/os/zephyr.h 16:31:58 -- Installing: /usr/local/include/iot/defs.h 16:31:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:31:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:31:58 make: Leaving directory '/tmp/sdk/build/release' 16:31:58 ---> ae536256c9a4 16:31:58 Step 12/25 : COPY scripts /tmp/sdk/scripts 16:31:58 Removing intermediate container f7d2e0421880 16:31:58 ---> 8fb9bd256aa7 16:31:58 Step 16/25 : FROM ${BASE} 16:31:58 ---> 5eabd8fd8ba2 16:31:58 Step 17/25 : LABEL maintainer="IOTech " 16:31:58 ---> Running in 9d6a4d13fe95 16:31:58 Removing intermediate container 9d6a4d13fe95 16:31:58 ---> 9b4e8b4b7112 16:31:58 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 16:31:58 ---> Running in be2a47b62aa7 16:31:59 Connecting to iotech.jfrog.io (54.229.110.245:443) 16:31:59 ---> 3add1f8f5854 16:31:59 Step 13/25 : COPY LICENSE /tmp/sdk 16:31:59 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:31:59 16:31:59 Removing intermediate container be2a47b62aa7 16:31:59 ---> 743688ebad00 16:31:59 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:31:59 ---> Running in ce0c45d2422b 16:31:59 ---> 9ba413868178 16:31:59 Step 14/25 : COPY Attribution.txt /tmp/sdk 16:32:00 Removing intermediate container ce0c45d2422b 16:32:00 ---> 35fce3782066 16:32:00 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 16:32:00 ---> Running in b7be44e605bd 16:32:00 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:32:00 ---> 88adb2042ac8 16:32:00 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:32:00 ---> Running in 215bf5b62bf5 16:32:01 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:32:02 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:32:02 + CPPCHECK=false 16:32:02 + DOCGEN=false 16:32:02 + TOMLVER=SDK-0.2 16:32:02 + CUTILVER=1.1.4 16:32:02 + '[' 0 -gt 0 ] 16:32:02 + readlink -f ./scripts/build.sh 16:32:02 + dirname /tmp/sdk/scripts/build.sh 16:32:02 + dirname /tmp/sdk/scripts 16:32:02 + ROOT=/tmp/sdk 16:32:02 + cd /tmp/sdk 16:32:02 + '[' '!' -d deps ] 16:32:02 + mkdir deps 16:32:02 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:32:02 + tar -C deps -z -x -f - 16:32:02 --2021-07-08 16:32:01-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 16:32:02 Resolving github.com... 140.82.114.4 16:32:02 Connecting to github.com|140.82.114.4|:443... connected. 16:32:02 HTTP request sent, awaiting response... 302 Found 16:32:02 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 16:32:02 --2021-07-08 16:32:02-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 16:32:02 Resolving codeload.github.com... 140.82.114.10 16:32:02 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:32:02 HTTP request sent, awaiting response... 200 OK 16:32:02 Length: unspecified [application/x-gzip] 16:32:02 Saving to: 'STDOUT' 16:32:02  16:32:02 0K .......... ......  891K=0.02s 16:32:02 16:32:02 2021-07-08 16:32:02 (891 KB/s) - written to stdout [16451] 16:32:02 16:32:02 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 16:32:02 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:32:02 + tar -C deps -z -x -f - 16:32:02 --2021-07-08 16:32:02-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 16:32:02 Resolving github.com... 140.82.114.4 16:32:02 Connecting to github.com|140.82.114.4|:443... connected. 16:32:02 HTTP request sent, awaiting response... 302 Found 16:32:02 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 16:32:02 --2021-07-08 16:32:02-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 16:32:02 Resolving codeload.github.com... 140.82.114.10 16:32:02 Connecting to codeload.github.com|140.82.114.10|:443... connected. 16:32:02 HTTP request sent, awaiting response... 200 OK 16:32:02 Length: unspecified [application/x-gzip] 16:32:02 Saving to: 'STDOUT' 16:32:02  16:32:02 0K .......... .......... .......... .......... .......... 1.31M 16:32:02 50K .......... .......... .......... .......... .......... 2.40M 16:32:02 100K .......... .......... .......... .......... .......... 7.65M 16:32:02 150K .......... .......... ....... 1.20M=0.09s 16:32:02 16:32:02 2021-07-08 16:32:02 (2.01 MB/s) - written to stdout [181796] 16:32:02 16:32:02 + mkdir -p src/c/iot 16:32:02 + 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 16:32:02 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 16:32:02 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 16:32:02 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 16:32:02 + mkdir -p include/iot 16:32:02 + 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 16:32:02 + mkdir -p include/iot/os 16:32:02 + 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 16:32:02 + mkdir -p /tmp/sdk/build/release 16:32:02 + cd /tmp/sdk/build/release 16:32:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:32:02 (1/6) Installing curl (7.64.0-r5) 16:32:02 (2/6) Installing hiredis (0.14.0-r0) 16:32:02 (3/6) Installing hiredis-dev (0.14.0-r0) 16:32:02 (4/6) Installing libuuid (2.33-r0) 16:32:02 -- The C compiler identification is GNU 8.3.0 16:32:02 -- Check for working C compiler: /usr/bin/cc 16:32:03 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:32:03 -- Check for working C compiler: /usr/bin/cc -- works 16:32:03 -- Detecting C compiler ABI info 16:32:03 -- Detecting C compiler ABI info - done 16:32:03 -- Detecting C compile features 16:32:04 -- Detecting C compile features - done 16:32:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:32:04 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:32:04 -- Found LIBYAML: /usr/lib/libyaml.so 16:32:04 -- Found LIBUUID: /usr/lib/libuuid.so 16:32:04 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:32:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:32:04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:32:04 -- C SDK 0.0.0 for Linux 16:32:04 -- Performing Test CSDK_HAVE_ATOMIC 16:32:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:32:04 -- Found Curses: /usr/lib/libcurses.so 16:32:04 (6/6) Installing wget (1.20.3-r0) 16:32:04 Executing busybox-1.29.3-r10.trigger 16:32:04 OK: 269 MiB in 81 packages 16:32:04 -- Configuring done 16:32:04 Removing intermediate container b7be44e605bd 16:32:04 ---> 8e20e3dec06c 16:32:04 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:32:04 -- Generating done 16:32:04 -- Build files have been written to: /tmp/sdk/build/release 16:32:04 + + teemake release.log all 16:32:04 package 16:32:04 Scanning dependencies of target csdk 16:32:04 ---> 7e699ffd0b52 16:32:04 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:32:05 ---> d0bc27d12ca6 16:32:05 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:32:05 ---> ce5ea0d4323d 16:32:05 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:32:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:32:05 ---> d3c9146cb461 16:32:05 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:32:05 ---> 6474f2b3b104 16:32:05 Successfully built 6474f2b3b104 16:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:32:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:32:06 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:32:06 + docker inspect -f . ci-base-image-x86_64 16:32:06 . [Pipeline] withDockerContainer 16:32:06 prd-centos7-docker-4c-2g-2227 does not seem to be running inside a container 16:32:06 $ 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 ******** ci-base-image-x86_64 cat 16:32:06 $ docker top 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:07 + make test 16:32:07 echo "make test" 16:32:07 make test [Pipeline] } 16:32:07 $ docker stop --time=1 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb 16:32:08 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:32:08 $ docker rm -f 421f4938a401a2e828c16b062c3067b8db488deb67c6980f4df552383105febb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 16:32:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 16:32:08 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:32:09 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:32:09 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:32:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] sh 16:32:11 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:32:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:32:11 + ls -al . 16:32:11 total 160 16:32:11 drwxrwxr-x. 8 jenkins jenkins 260 Jul 8 16:30 . 16:32:11 drwxrwxr-x. 4 jenkins jenkins 28 Jul 8 16:30 .. 16:32:11 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 8 16:30 Attribution.txt 16:32:11 -rw-rw-r--. 1 jenkins jenkins 7509 Jul 8 16:30 CHANGES 16:32:11 drwxrwxr-x. 2 jenkins jenkins 121 Jul 8 16:30 docs 16:32:11 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 8 16:30 Doxyfile 16:32:11 drwxrwxr-x. 8 jenkins jenkins 179 Jul 8 16:31 .git 16:32:11 drwxrwxr-x. 2 jenkins jenkins 81 Jul 8 16:30 .github 16:32:11 -rw-rw-r--. 1 jenkins jenkins 176 Jul 8 16:30 .gitignore 16:32:11 drwxrwxr-x. 4 jenkins jenkins 33 Jul 8 16:30 include 16:32:11 -rw-rw-r--. 1 jenkins jenkins 784 Jul 8 16:30 Jenkinsfile 16:32:11 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 8 16:30 LICENSE 16:32:11 -rw-rw-r--. 1 jenkins jenkins 444 Jul 8 16:30 Makefile 16:32:11 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 8 16:30 README.md 16:32:11 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 8 16:30 README.v2.md 16:32:11 drwxrwxr-x. 2 jenkins jenkins 98 Jul 8 16:30 scripts 16:32:11 drwxrwxr-x. 4 jenkins jenkins 50 Jul 8 16:30 src 16:32:11 -rw-rw-r--. 1 jenkins jenkins 5 Jul 8 16:27 VERSION [Pipeline] isUnix [Pipeline] sh 16:32:12 + 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=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 --label arch=amd64 --label version=0.0.0 . 16:32:12 Sending build context to Docker daemon 2.599MB 16:32:12 Step 1/17 : ARG BASE=alpine:3.12 16:32:12 Step 2/17 : FROM ${BASE} 16:32:12 ---> 6474f2b3b104 16:32:12 Step 3/17 : LABEL maintainer="IOTech " 16:32:12 ---> Running in 36242c45d77c 16:32:12 Removing intermediate container 36242c45d77c 16:32:12 ---> 4afb8773f1c8 16:32:12 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 16:32:12 ---> Running in e9de0cfbcd24 16:32:12 --2021-07-08 16:32:12-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:32:12 Resolving iotech.jfrog.io... 54.229.110.245, 54.195.244.87, 54.170.66.44 16:32:12 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 16:32:12 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:32:12 HTTP request sent, awaiting response... 200 OK 16:32:12 Length: 451 [application/octet-stream] 16:32:12 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:32:12 16:32:12 0K 100% 50.7M=0s 16:32:12 16:32:12 2021-07-08 16:32:12 (50.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:32:12 16:32:13 Removing intermediate container e9de0cfbcd24 16:32:13 ---> f60099b87a4a 16:32:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:32:13 ---> Running in 9e2392e240a3 16:32:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:32:13 Removing intermediate container 9e2392e240a3 16:32:13 ---> bc7fe68b8921 16:32:13 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 16:32:13 ---> Running in 802b3779f824 16:32:13 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 16:32:13 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:32:14 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:32:14 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 16:32:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:32:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 16:32:14 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:32:15 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:32:15 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:32:15 (2/6) Installing libblkid (2.33-r0) 16:32:15 (3/6) Installing libfdisk (2.33-r0) 16:32:15 (4/6) Installing libmount (2.33-r0) 16:32:15 (5/6) Installing libsmartcols (2.33-r0) 16:32:15 (6/6) Installing util-linux-dev (2.33-r0) 16:32:15 Executing busybox-1.29.3-r10.trigger 16:32:15 OK: 273 MiB in 87 packages 16:32:16 Removing intermediate container 802b3779f824 16:32:16 ---> 9cf4c6a4ae2e 16:32:16 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:32:16 ---> 54f54bc3cee0 16:32:16 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:32:16 ---> 8c466dc5a52f 16:32:16 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:32:16 ---> 65438c3bc96c 16:32:16 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:32:16 ---> eb43e70c910e 16:32:16 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:32:17 ---> 9c09451a4549 16:32:17 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:32:17 ---> c811b83e8355 16:32:17 Step 13/17 : WORKDIR /edgex-c-sdk 16:32:17 ---> Running in 46a57f2113d3 16:32:17 Removing intermediate container 46a57f2113d3 16:32:17 ---> 0fe32e5493b1 16:32:17 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:32:17 ---> Running in 821d738b3120 16:32:17 Removing intermediate container 821d738b3120 16:32:17 ---> df34d3db595c 16:32:17 Step 15/17 : LABEL arch=amd64 16:32:17 ---> Running in 885539f6bc88 16:32:17 Removing intermediate container 885539f6bc88 16:32:17 ---> eef96d2b75fa 16:32:17 Step 16/17 : LABEL git_sha=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:32:17 ---> Running in 8e284d1fd642 16:32:17 Removing intermediate container 8e284d1fd642 16:32:17 ---> 6b12af77c3c4 16:32:17 Step 17/17 : LABEL version=0.0.0 16:32:17 ---> Running in 7e3cc84b3874 16:32:17 Removing intermediate container 7e3cc84b3874 16:32:17 ---> 113ab7fae022 16:32:17 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:32:17 Successfully built 113ab7fae022 16:32:17 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 16:32:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 16:32:18 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:32:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:32:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:32:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:32:19 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:32:22 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:32:22 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:32:22 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:32:23 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:32:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:32:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:32:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:32:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:32:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:32:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:32:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:32:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:32:28 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:32:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:32:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:32:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:32:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:32:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:32:34 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:32:36 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:32:38 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:32:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:32:42 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:32:42 [ 74%] Linking C shared library libcsdk.so 16:32:42 [ 74%] Built target csdk 16:32:42 Scanning dependencies of target template 16:32:42 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:32:43 [ 77%] Linking C executable template 16:32:43 [ 77%] Built target template 16:32:43 Scanning dependencies of target device-counter 16:32:43 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:32:44 [ 80%] Linking C executable device-counter 16:32:44 [ 80%] Built target device-counter 16:32:44 Scanning dependencies of target device-random 16:32:44 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:32:44 [ 84%] Linking C executable device-random 16:32:45 [ 84%] Built target device-random 16:32:45 Scanning dependencies of target device-gyro 16:32:45 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:32:45 [ 87%] Linking C executable device-gyro 16:32:45 [ 87%] Built target device-gyro 16:32:45 Scanning dependencies of target device-bitfields 16:32:45 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:32:45 [ 90%] Linking C executable device-bitfields 16:32:46 [ 90%] Built target device-bitfields 16:32:46 Scanning dependencies of target template-discovery 16:32:46 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:32:47 [ 93%] Linking C executable template-discovery 16:32:47 [ 93%] Built target template-discovery 16:32:47 Scanning dependencies of target device-file 16:32:47 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:32:47 [ 96%] Linking C executable device-file 16:32:47 [ 96%] Built target device-file 16:32:47 Scanning dependencies of target device-terminal 16:32:48 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:32:48 [100%] Linking C executable device-terminal 16:32:48 [100%] Built target device-terminal 16:32:48 Run CPack packaging tool... 16:32:48 CPack: Create package using TGZ 16:32:48 CPack: Install projects 16:32:48 CPack: - Run preinstall target for: Csdk 16:32:49 CPack: - Install project: Csdk 16:32:49 CPack: Create package 16:32:49 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 16:32:49 + '[' false '=' true ] 16:32:49 + '[' false '=' true ] 16:32:49 + mkdir -p /tmp/sdk/build/debug 16:32:49 + cd /tmp/sdk/build/debug 16:32:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:32:49 -- The C compiler identification is GNU 8.3.0 16:32:49 -- Check for working C compiler: /usr/bin/cc 16:32:50 -- Check for working C compiler: /usr/bin/cc -- works 16:32:50 -- Detecting C compiler ABI info 16:32:50 -- Detecting C compiler ABI info - done 16:32:50 -- Detecting C compile features 16:32:51 -- Detecting C compile features - done 16:32:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:32:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 16:32:51 -- Found LIBYAML: /usr/lib/libyaml.so 16:32:51 -- Found LIBUUID: /usr/lib/libuuid.so 16:32:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 16:32:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:32:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:32:51 -- C SDK 0.0.0 for Linux 16:32:51 -- Performing Test CSDK_HAVE_ATOMIC 16:32:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:32:51 -- Found Curses: /usr/lib/libcurses.so 16:32:51 -- Configuring done 16:32:51 -- Generating done 16:32:51 -- Build files have been written to: /tmp/sdk/build/debug 16:32:51 + make 16:32:51 + tee debug.log 16:32:51 Scanning dependencies of target csdk 16:32:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:32:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 16:32:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:32:53 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:32:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:32:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 16:32:54 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 16:32:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 16:32:54 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:32:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:32:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:32:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:32:56 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:32:56 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:32:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 16:32:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:32:57 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:32:57 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:32:57 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 16:32:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 16:32:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 16:32:58 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 16:32:58 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 16:32:59 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 16:32:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 16:32:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 16:33:00 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 16:33:00 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 16:33:00 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 16:33:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 16:33:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 16:33:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 16:33:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 16:33:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:33:02 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:33:02 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 16:33:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:33:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:33:03 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:33:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:33:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:33:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:33:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:33:06 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 16:33:06 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:33:07 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:33:07 [ 74%] Linking C shared library libcsdk.so 16:33:07 [ 74%] Built target csdk 16:33:07 Scanning dependencies of target template 16:33:07 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:33:08 [ 77%] Linking C executable template 16:33:08 [ 77%] Built target template 16:33:08 Scanning dependencies of target device-counter 16:33:08 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:33:08 [ 80%] Linking C executable device-counter 16:33:08 [ 80%] Built target device-counter 16:33:08 Scanning dependencies of target device-random 16:33:08 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:33:09 [ 84%] Linking C executable device-random 16:33:09 [ 84%] Built target device-random 16:33:09 Scanning dependencies of target device-gyro 16:33:09 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:33:09 [ 87%] Linking C executable device-gyro 16:33:09 [ 87%] Built target device-gyro 16:33:09 Scanning dependencies of target device-bitfields 16:33:09 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:33:10 [ 90%] Linking C executable device-bitfields 16:33:10 [ 90%] Built target device-bitfields 16:33:10 Scanning dependencies of target template-discovery 16:33:10 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:33:10 [ 93%] Linking C executable template-discovery 16:33:10 [ 93%] Built target template-discovery 16:33:11 Scanning dependencies of target device-file 16:33:11 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:33:11 [ 96%] Linking C executable device-file 16:33:11 [ 96%] Built target device-file 16:33:11 Scanning dependencies of target device-terminal 16:33:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:33:11 [100%] Linking C executable device-terminal 16:33:12 [100%] Built target device-terminal 16:33:12 make: Entering directory '/tmp/sdk/build/release' 16:33:12 make[1]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 74%] Built target csdk 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 77%] Built target template 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 80%] Built target device-counter 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 84%] Built target device-random 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 87%] Built target device-gyro 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 90%] Built target device-bitfields 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 93%] Built target template-discovery 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [ 96%] Built target device-file 16:33:12 make[2]: Entering directory '/tmp/sdk/build/release' 16:33:12 make[2]: Leaving directory '/tmp/sdk/build/release' 16:33:12 [100%] Built target device-terminal 16:33:12 make[1]: Leaving directory '/tmp/sdk/build/release' 16:33:12 Install the project... 16:33:12 -- Install configuration: "Release" 16:33:12 -- Installing: /usr/local/lib/libcsdk.so 16:33:12 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:33:12 -- Up-to-date: /usr/local/include 16:33:12 -- Installing: /usr/local/include/edgex 16:33:12 -- Installing: /usr/local/include/edgex/rest-server.h 16:33:12 -- Installing: /usr/local/include/edgex/edgex-base.h 16:33:12 -- Installing: /usr/local/include/edgex/edgex.h 16:33:12 -- Installing: /usr/local/include/edgex/devices.h 16:33:12 -- Installing: /usr/local/include/edgex/profiles.h 16:33:12 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:33:12 -- Installing: /usr/local/include/devsdk 16:33:12 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:33:12 -- Installing: /usr/local/include/devsdk/devsdk.h 16:33:12 -- Installing: /usr/local/include/iot 16:33:12 -- Installing: /usr/local/include/iot/json.h 16:33:12 -- Installing: /usr/local/include/iot/container.h 16:33:12 -- Installing: /usr/local/include/iot/component.h 16:33:12 -- Installing: /usr/local/include/iot/typecode.h 16:33:12 -- Installing: /usr/local/include/iot/iot.h 16:33:12 -- Installing: /usr/local/include/iot/time.h 16:33:12 -- Installing: /usr/local/include/iot/hash.h 16:33:12 -- Installing: /usr/local/include/iot/logger.h 16:33:12 -- Installing: /usr/local/include/iot/os 16:33:12 -- Installing: /usr/local/include/iot/os/zephyr.h 16:33:12 -- Installing: /usr/local/include/iot/os/linux.h 16:33:12 -- Installing: /usr/local/include/iot/os/macos.h 16:33:12 -- Installing: /usr/local/include/iot/scheduler.h 16:33:12 -- Installing: /usr/local/include/iot/data.h 16:33:12 -- Installing: /usr/local/include/iot/thread.h 16:33:12 -- Installing: /usr/local/include/iot/os.h 16:33:12 -- Installing: /usr/local/include/iot/base64.h 16:33:12 -- Installing: /usr/local/include/iot/defs.h 16:33:12 -- Installing: /usr/local/include/iot/threadpool.h 16:33:12 -- Installing: /usr/local/include/iot/config.h 16:33:12 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:33:12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:33:12 make: Leaving directory '/tmp/sdk/build/release' 16:33:14 Removing intermediate container 215bf5b62bf5 16:33:14 ---> 497f2b9dae6e 16:33:14 Step 16/25 : FROM ${BASE} 16:33:14 ---> b23d30803547 16:33:14 Step 17/25 : LABEL maintainer="IOTech " 16:33:14 ---> Running in f0fe84463d2f 16:33:15 Removing intermediate container f0fe84463d2f 16:33:15 ---> 2619a47cf8d4 16:33:15 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 16:33:15 ---> Running in 8c6133c6f680 16:33:16 Connecting to iotech.jfrog.io (54.195.244.87:443) 16:33:16 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 16:33:16 16:33:17 Removing intermediate container 8c6133c6f680 16:33:17 ---> e8345fa66486 16:33:17 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:33:18 ---> Running in 0a74d80b4a24 16:33:20 Removing intermediate container 0a74d80b4a24 16:33:20 ---> 128dcd97f00c 16:33:20 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 16:33:20 ---> Running in de64cb86931f 16:33:21 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:33:22 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:33:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:33:23 (1/6) Installing curl (7.64.0-r5) 16:33:23 (2/6) Installing hiredis (0.14.0-r0) 16:33:23 (3/6) Installing hiredis-dev (0.14.0-r0) 16:33:23 (4/6) Installing libuuid (2.33-r0) 16:33:24 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 16:33:25 (6/6) Installing wget (1.20.3-r0) 16:33:25 Executing busybox-1.29.3-r10.trigger 16:33:25 OK: 283 MiB in 81 packages 16:33:27 Removing intermediate container de64cb86931f 16:33:27 ---> f80bcc2dd03d 16:33:27 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 16:33:27 ---> 68caa5fe0daf 16:33:27 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:33:28 ---> 40b1f0262e91 16:33:28 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 16:33:29 ---> 5343325788cb 16:33:29 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 16:33:30 ---> 593cbba99145 16:33:30 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:33:31 ---> 5a2016e89d6f 16:33:31 Successfully built 5a2016e89d6f 16:33:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:33:31 + docker inspect -f . ci-base-image-arm64 16:33:31 . [Pipeline] withDockerContainer 16:33:31 prd-ubuntu18.04-docker-arm64-4c-16g-2226 does not seem to be running inside a container 16:33:32 $ 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 ******** ci-base-image-arm64 cat 16:33:33 $ docker top 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc -eo pid,comm [Pipeline] { [Pipeline] sh 16:33:34 + make test 16:33:34 echo "make test" 16:33:34 make test [Pipeline] } 16:33:34 $ docker stop --time=1 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc 16:33:36 $ docker rm -f 8c48d912333afbf38990b14c4c8c7353c0aca449cb1e8daaafa7d6b90955c9cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:33:37 + ls -al . 16:33:37 total 192 16:33:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 16:30 . 16:33:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 .. 16:33:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 16:30 .git 16:33:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 .github 16:33:37 -rw-rw-r-- 1 jenkins jenkins 176 Jul 8 16:30 .gitignore 16:33:37 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 8 16:30 Attribution.txt 16:33:37 -rw-rw-r-- 1 jenkins jenkins 7509 Jul 8 16:30 CHANGES 16:33:37 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 8 16:30 Doxyfile 16:33:37 -rw-rw-r-- 1 jenkins jenkins 784 Jul 8 16:30 Jenkinsfile 16:33:37 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 8 16:30 LICENSE 16:33:37 -rw-rw-r-- 1 jenkins jenkins 444 Jul 8 16:30 Makefile 16:33:37 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 8 16:30 README.md 16:33:37 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 8 16:30 README.v2.md 16:33:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 16:27 VERSION 16:33:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 docs 16:33:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 include 16:33:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 16:30 scripts 16:33:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 16:30 src [Pipeline] isUnix [Pipeline] sh 16:33:37 + 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=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 --label arch=arm64 --label version=0.0.0 . 16:33:38 Sending build context to Docker daemon 2.598MB 16:33:38 Step 1/17 : ARG BASE=alpine:3.12 16:33:38 Step 2/17 : FROM ${BASE} 16:33:38 ---> 5a2016e89d6f 16:33:38 Step 3/17 : LABEL maintainer="IOTech " 16:33:38 ---> Running in 6d980f60105b 16:33:39 Removing intermediate container 6d980f60105b 16:33:39 ---> f365f658ffd1 16:33:39 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 16:33:39 ---> Running in 38caebd4a336 16:33:40 --2021-07-08 16:33:40-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 16:33:40 Resolving iotech.jfrog.io... 54.170.66.44, 54.195.244.87, 54.229.110.245 16:33:40 Connecting to iotech.jfrog.io|54.170.66.44|:443... connected. 16:33:40 HTTP request sent, awaiting response... 200 OK 16:33:40 Length: 451 [application/octet-stream] 16:33:40 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 16:33:40  16:33:40 0K  100% 16.4M=0s 16:33:40 16:33:40 2021-07-08 16:33:40 (16.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 16:33:40 16:33:41 Removing intermediate container 38caebd4a336 16:33:41 ---> 4a22ac9f2255 16:33:41 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 16:33:41 ---> Running in d036a8a17421 16:33:44 Removing intermediate container d036a8a17421 16:33:44 ---> ce15fe64af85 16:33:44 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 16:33:44 ---> Running in 349c9ec5b44a 16:33:45 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 16:33:46 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 16:33:47 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 16:33:47 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 16:33:48 (2/6) Installing libblkid (2.33-r0) 16:33:48 (3/6) Installing libfdisk (2.33-r0) 16:33:48 (4/6) Installing libmount (2.33-r0) 16:33:48 (5/6) Installing libsmartcols (2.33-r0) 16:33:48 (6/6) Installing util-linux-dev (2.33-r0) 16:33:48 Executing busybox-1.29.3-r10.trigger 16:33:48 OK: 287 MiB in 87 packages 16:33:49 Removing intermediate container 349c9ec5b44a 16:33:49 ---> 3b1dbfd4b320 16:33:49 Step 7/17 : COPY VERSION /edgex-c-sdk/ 16:33:50 ---> b2bad4274397 16:33:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 16:33:52 ---> 70763d0cd00c 16:33:52 Step 9/17 : COPY include /edgex-c-sdk/include/ 16:33:52 ---> 17514e74aef0 16:33:52 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 16:33:53 ---> 943d069d76ef 16:33:53 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 16:33:54 ---> 1b1f721c51d4 16:33:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 16:33:54 ---> aa65de15d754 16:33:54 Step 13/17 : WORKDIR /edgex-c-sdk 16:33:54 ---> Running in 805e18da08f7 16:33:55 Removing intermediate container 805e18da08f7 16:33:55 ---> cb8b37469be6 16:33:55 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:33:55 ---> Running in 1fee5917d15a 16:33:55 Removing intermediate container 1fee5917d15a 16:33:55 ---> 166e4eceeee3 16:33:55 Step 15/17 : LABEL arch=arm64 16:33:56 ---> Running in 3e243270df1b 16:33:56 Removing intermediate container 3e243270df1b 16:33:56 ---> 4837659d3dbc 16:33:56 Step 16/17 : LABEL git_sha=4ea0bab3cfe745a1b5b6376fa0cfab94d4165cd6 16:33:56 ---> Running in 53cac8a3a52a 16:33:57 Removing intermediate container 53cac8a3a52a 16:33:57 ---> 4743890fd62a 16:33:57 Step 17/17 : LABEL version=0.0.0 16:33:57 ---> Running in 8ffe060491e9 16:33:58 Removing intermediate container 8ffe060491e9 16:33:58 ---> 7b13f27b9e1d 16:33:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:33:58 Successfully built 7b13f27b9e1d 16:33:58 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 [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 16:33:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:34:00 ---> package-listing.sh 16:34:00 ++ tr '[:upper:]' '[:lower:]' 16:34:00 ++ facter osfamily 16:34:00 + OS_FAMILY=redhat 16:34:00 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 16:34:00 + START_PACKAGES=/tmp/packages_start.txt 16:34:00 + END_PACKAGES=/tmp/packages_end.txt 16:34:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:34:00 + PACKAGES=/tmp/packages_start.txt 16:34:00 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 16:34:00 + PACKAGES=/tmp/packages_end.txt 16:34:00 + case "${OS_FAMILY}" in 16:34:00 + sort 16:34:00 + rpm -qa 16:34:01 + '[' -f /tmp/packages_start.txt ']' 16:34:01 + '[' -f /tmp/packages_end.txt ']' 16:34:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:34:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 16:34:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ 16:34:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo 16:34:01 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:34:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:34:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:34:02 16:34:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:34:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:34:02 alpine: Pulling from edgex-lftools-log-publisher 16:34:02 df20fa9351a1: Pulling fs layer 16:34:02 36b3adc4ff6f: Pulling fs layer 16:34:02 8ad3a11d3b57: Pulling fs layer 16:34:02 46f8f816bc3b: Pulling fs layer 16:34:02 93b61091891f: Pulling fs layer 16:34:02 93b9cdb0e59b: Pulling fs layer 16:34:02 5e14af77c1be: Pulling fs layer 16:34:02 01666e4c0597: Pulling fs layer 16:34:02 aa168da1d23b: Pulling fs layer 16:34:02 46f8f816bc3b: Waiting 16:34:02 93b9cdb0e59b: Waiting 16:34:02 93b61091891f: Waiting 16:34:02 5e14af77c1be: Waiting 16:34:02 01666e4c0597: Waiting 16:34:02 aa168da1d23b: Waiting 16:34:02 36b3adc4ff6f: Verifying Checksum 16:34:02 36b3adc4ff6f: Download complete 16:34:02 46f8f816bc3b: Verifying Checksum 16:34:02 46f8f816bc3b: Download complete 16:34:02 df20fa9351a1: Verifying Checksum 16:34:02 df20fa9351a1: Download complete 16:34:02 93b9cdb0e59b: Verifying Checksum 16:34:02 93b9cdb0e59b: Download complete 16:34:02 5e14af77c1be: Verifying Checksum 16:34:02 5e14af77c1be: Download complete 16:34:02 93b61091891f: Verifying Checksum 16:34:02 93b61091891f: Download complete 16:34:02 01666e4c0597: Verifying Checksum 16:34:02 01666e4c0597: Download complete 16:34:02 8ad3a11d3b57: Verifying Checksum 16:34:02 8ad3a11d3b57: Download complete 16:34:03 df20fa9351a1: Pull complete 16:34:03 36b3adc4ff6f: Pull complete 16:34:03 8ad3a11d3b57: Pull complete 16:34:03 46f8f816bc3b: Pull complete 16:34:04 93b61091891f: Pull complete 16:34:04 93b9cdb0e59b: Pull complete 16:34:04 5e14af77c1be: Pull complete 16:34:04 01666e4c0597: Pull complete 16:34:04 aa168da1d23b: Verifying Checksum 16:34:04 aa168da1d23b: Download complete 16:34:09 aa168da1d23b: Pull complete 16:34:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:34:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:34:09 prd-centos7-docker-4c-2g-2225 does not seem to be running inside a container 16:34:09 $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:34:11 $ docker top 1339e46ae5f33e4156912ff1de7ec0e84e8272c6e386ffd383f11b0ab518ad09 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:12 + touch /tmp/pre-build-complete [Pipeline] sh 16:34:12 + mkdir -p /var/log/sa [Pipeline] sh 16:34:12 + ls /var/log/sa-host 16:34:12 + sadf -c /var/log/sa-host/sa05 16:34:12 file_magic: OK 16:34:12 HZ: Using current value: 100 16:34:12 file_header: OK 16:34:12 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 16:34:12 Statistics: 16:34:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 16:34:12 File successfully converted to sysstat format version 12.2.1 16:34:12 + sadf -c /var/log/sa-host/sa08 16:34:12 file_magic: OK 16:34:12 HZ: Using current value: 100 16:34:12 file_header: OK 16:34:12 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 16:34:12 Statistics: 16:34:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:34:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:13 provisioning config files... 16:34:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config4973002800629961138tmp [Pipeline] { [Pipeline] echo 16:34:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:34:13 ---> create-netrc.sh [Pipeline] } 16:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:34:14 ---> python-tools-install.sh [Pipeline] echo 16:34:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:34:14 ---> sudo-logs.sh 16:34:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:34:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:34:14 ---> job-cost.sh 16:34:14 lf-activate-venv: SKIPPING 16:34:14 INFO: No Stack... 16:34:15 INFO: Retrieving Pricing Info for: v3-standard-2 16:34:16 INFO: Archiving Costs [Pipeline] echo 16:34:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:34:16 ---> logs-deploy.sh 16:34:16 lf-activate-venv: SKIPPING 16:34:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/8 16:34:16 INFO: archiving workspace using pattern(s): 16:34:17 Archives upload complete. 16:34:17 INFO: archiving logs to Nexus 16:34:18 ---> uname -a: 16:34:18 Linux prd-centos7-docker-4c-2g-2225.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 16:34:18 16:34:18 16:34:18 ---> lscpu: 16:34:18 Architecture: x86_64 16:34:18 CPU op-mode(s): 32-bit, 64-bit 16:34:18 Byte Order: Little Endian 16:34:18 Address sizes: 40 bits physical, 48 bits virtual 16:34:18 CPU(s): 2 16:34:18 On-line CPU(s) list: 0,1 16:34:18 Thread(s) per core: 1 16:34:18 Core(s) per socket: 1 16:34:18 Socket(s): 2 16:34:18 NUMA node(s): 1 16:34:18 Vendor ID: AuthenticAMD 16:34:18 CPU family: 23 16:34:18 Model: 49 16:34:18 Model name: AMD EPYC-Rome Processor 16:34:18 Stepping: 0 16:34:18 CPU MHz: 2800.000 16:34:18 BogoMIPS: 5600.00 16:34:18 Virtualization: AMD-V 16:34:18 Hypervisor vendor: KVM 16:34:18 Virtualization type: full 16:34:18 L1d cache: 64 KiB 16:34:18 L1i cache: 64 KiB 16:34:18 L2 cache: 1 MiB 16:34:18 L3 cache: 32 MiB 16:34:18 NUMA node0 CPU(s): 0,1 16:34:18 Vulnerability Itlb multihit: Not affected 16:34:18 Vulnerability L1tf: Not affected 16:34:18 Vulnerability Mds: Not affected 16:34:18 Vulnerability Meltdown: Not affected 16:34:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:34:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:34:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:34:18 Vulnerability Srbds: Not affected 16:34:18 Vulnerability Tsx async abort: Not affected 16:34:18 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 16:34:18 16:34:18 16:34:18 ---> nproc: 16:34:18 2 16:34:18 16:34:18 16:34:18 ---> df -h: 16:34:18 Filesystem Size Used Available Use% Mounted on 16:34:18 overlay 40.0G 7.6G 32.4G 19% / 16:34:18 tmpfs 64.0M 0 64.0M 0% /dev 16:34:18 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 16:34:18 shm 64.0M 0 64.0M 0% /dev/shm 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 16:34:18 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 16:34:18 16:34:18 16:34:18 ---> free -m: 16:34:18 total used free shared buff/cache available 16:34:18 Mem: 7821 927 4796 0 2097 6716 16:34:18 Swap: 1023 0 1023 16:34:18 16:34:18 16:34:18 ---> ip addr: 16:34:18 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:34:18 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:34:18 inet 127.0.0.1/8 scope host lo 16:34:18 valid_lft forever preferred_lft forever 16:34:18 inet6 ::1/128 scope host 16:34:18 valid_lft forever preferred_lft forever 16:34:18 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:34:18 link/ether fa:16:3e:d1:a2:fb brd ff:ff:ff:ff:ff:ff 16:34:18 inet 10.30.122.130/23 brd 10.30.123.255 scope global dynamic eth0 16:34:18 valid_lft 85976sec preferred_lft 85976sec 16:34:18 inet6 fe80::f816:3eff:fed1:a2fb/64 scope link 16:34:18 valid_lft forever preferred_lft forever 16:34:18 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:34:18 link/ether 02:42:82:33:4f:12 brd ff:ff:ff:ff:ff:ff 16:34:18 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:34:18 valid_lft forever preferred_lft forever 16:34:18 inet6 fe80::42:82ff:fe33:4f12/64 scope link 16:34:18 valid_lft forever preferred_lft forever 16:34:18 16:34:18 16:34:18 ---> sar -b -r -n DEV: 16:34:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/08/21 _x86_64_ (2 CPU) 16:34:18 16:34:18 16:27:02 LINUX RESTART (2 CPU) 16:34:18 16:34:18 16:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:34:18 16:29:01 3.41 0.03 3.38 0.00 1.07 118.34 0.00 16:34:18 16:30:01 0.37 0.00 0.37 0.00 0.00 6.53 0.00 16:34:18 16:31:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 16:34:18 16:32:01 0.25 0.00 0.25 0.00 0.00 4.13 0.00 16:34:18 16:33:01 0.28 0.00 0.28 0.00 0.00 4.45 0.00 16:34:18 16:34:01 0.50 0.10 0.40 0.00 10.00 6.40 0.00 16:34:18 Average: 0.84 0.02 0.81 0.00 1.84 23.71 0.00 16:34:18 16:34:18 16:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:34:18 16:29:01 5466712 0 799628 9.98 2620 1739980 1202496 13.28 571800 1573528 20 16:34:18 16:30:01 5465124 0 801208 10.00 2620 1739988 1198384 13.23 574812 1571932 8 16:34:18 16:31:01 5461632 0 804700 10.05 2620 1739988 1198648 13.23 578088 1571932 12 16:34:18 16:32:01 5463164 0 803156 10.03 2620 1740000 1198384 13.23 568960 1579652 8 16:34:18 16:33:01 5460408 0 805908 10.06 2620 1740004 1198492 13.23 572376 1579652 8 16:34:18 16:34:01 5449424 0 816432 10.19 2620 1740464 1282508 14.16 692192 1467652 76 16:34:18 Average: 5461077 0 805172 10.05 2620 1740071 1213152 13.39 593038 1557391 22 16:34:18 16:34:18 16:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:34:18 16:29:01 eth0 0.38 0.10 0.02 0.02 0.00 0.00 0.00 0.00 16:34:18 16:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:30:01 eth0 0.57 0.08 0.06 0.01 0.00 0.00 0.00 0.00 16:34:18 16:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:31:01 eth0 1.47 0.75 0.62 0.38 0.00 0.00 0.00 0.00 16:34:18 16:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:32:01 eth0 0.13 0.10 0.01 0.04 0.00 0.00 0.00 0.00 16:34:18 16:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:33:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 16:34:18 16:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:34:01 eth0 5.71 4.70 3.78 23.25 0.00 0.00 0.00 0.00 16:34:18 16:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 Average: eth0 1.41 0.99 0.76 3.96 0.00 0.00 0.00 0.00 16:34:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:34:18 16:34:18 16:34:18 ---> sar -P ALL: 16:34:18 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/08/21 _x86_64_ (2 CPU) 16:34:18 16:34:18 16:27:02 LINUX RESTART (2 CPU) 16:34:18 16:34:18 16:28:01 CPU %user %nice %system %iowait %steal %idle 16:34:18 16:29:01 all 0.14 0.00 0.06 0.00 0.03 99.77 16:34:18 16:29:01 0 0.20 0.00 0.07 0.00 0.02 99.72 16:34:18 16:29:01 1 0.08 0.00 0.05 0.00 0.03 99.83 16:34:18 16:30:01 all 0.13 0.00 0.03 0.00 0.03 99.82 16:34:18 16:30:01 0 0.22 0.00 0.03 0.00 0.02 99.73 16:34:18 16:30:01 1 0.03 0.00 0.02 0.00 0.03 99.92 16:34:18 16:31:01 all 0.14 0.00 0.03 0.00 0.03 99.81 16:34:18 16:31:01 0 0.22 0.00 0.02 0.00 0.02 99.75 16:34:18 16:31:01 1 0.07 0.00 0.03 0.00 0.03 99.87 16:34:18 16:32:01 all 0.15 0.00 0.04 0.00 0.03 99.78 16:34:18 16:32:01 0 0.27 0.00 0.05 0.00 0.02 99.67 16:34:18 16:32:01 1 0.03 0.00 0.03 0.00 0.03 99.90 16:34:18 16:33:01 all 0.09 0.00 0.05 0.00 0.03 99.83 16:34:18 16:33:01 0 0.13 0.00 0.07 0.00 0.03 99.77 16:34:18 16:33:01 1 0.05 0.00 0.03 0.00 0.02 99.90 16:34:18 16:34:01 all 1.30 0.00 0.18 0.00 0.03 98.49 16:34:18 16:34:01 0 1.83 0.00 0.20 0.00 0.02 97.96 16:34:18 16:34:01 1 0.77 0.00 0.17 0.00 0.05 99.01 16:34:18 Average: all 0.32 0.00 0.06 0.00 0.03 99.59 16:34:18 Average: 0 0.48 0.00 0.07 0.00 0.02 99.43 16:34:18 Average: 1 0.17 0.00 0.06 0.00 0.03 99.74 16:34:18 16:34:18 16:34:18