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 d911104bc55f84b51f3219c95e301480c513dd66 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-ssh2881548017743208776.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-ssh6913555065417663132.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-ssh808471244295548565.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-ssh6863182472508327624.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-ssh3327653434679291933.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2191 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-ssh7986201597123924898.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5728984753893324787.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 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit d911104bc55f84b51f3219c95e301480c513dd66 Merge succeeded, producing d911104bc55f84b51f3219c95e301480c513dd66 Checking out Revision d911104bc55f84b51f3219c95e301480c513dd66 (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # 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-ssh2498362198061017907.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # 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 06:33:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:55 ========================================================= 06:33:55 EdgeX Global Pipelines Version Info 06:33:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1b174c37c294ebb7d067430e42a5f8fb30c49366 # timeout=10 06:33:56 ------------------- 06:33:56 stable info: 06:33:56 ------------------- 06:33:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:56 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 06:33:56 Message: update stable to v1.0.196 06:33:57 ------------------- 06:33:57 experimental info: 06:33:57 ------------------- 06:33:57 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:57 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 06:33:57 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d911104bc55f84b51f3219c95e301480c513dd66 [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d911104 [Pipeline] echo 06:33:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:57 provisioning config files... 06:33:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config1972322715710665192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:58 ---> docker-login.sh 06:33:58 nexus3.edgexfoundry.org:10001 06:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:58 Configure a credential helper to remove this warning. See 06:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:58 06:33:58 Login Succeeded 06:33:58 nexus3.edgexfoundry.org:10002 06:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:58 Configure a credential helper to remove this warning. See 06:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:58 06:33:58 Login Succeeded 06:33:58 nexus3.edgexfoundry.org:10003 06:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:58 Configure a credential helper to remove this warning. See 06:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:58 06:33:58 Login Succeeded 06:33:58 nexus3.edgexfoundry.org:10004 06:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:59 Configure a credential helper to remove this warning. See 06:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:59 06:33:59 Login Succeeded 06:33:59 docker.io 06:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:59 Configure a credential helper to remove this warning. See 06:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:59 06:33:59 Login Succeeded 06:33:59 ---> docker-login.sh ends [Pipeline] } 06:33:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:00 06:34:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:34:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:00 latest: Pulling from edgex-devops/git-semver 06:34:00 31603596830f: Pulling fs layer 06:34:00 b6dc333f4379: Pulling fs layer 06:34:00 3d9ef1400e77: Pulling fs layer 06:34:00 fd332fbdc1db: Pulling fs layer 06:34:00 fd332fbdc1db: Waiting 06:34:00 b6dc333f4379: Verifying Checksum 06:34:00 b6dc333f4379: Download complete 06:34:01 31603596830f: Verifying Checksum 06:34:01 31603596830f: Download complete 06:34:01 fd332fbdc1db: Verifying Checksum 06:34:01 fd332fbdc1db: Download complete 06:34:01 3d9ef1400e77: Verifying Checksum 06:34:01 3d9ef1400e77: Download complete 06:34:01 31603596830f: Pull complete 06:34:01 b6dc333f4379: Pull complete 06:34:02 3d9ef1400e77: Pull complete 06:34:02 fd332fbdc1db: Pull complete 06:34:02 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 06:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:34:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:34:02 prd-centos7-docker-4c-2g-2191 does not seem to be running inside a container 06:34:02 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:34:03 $ docker top 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:03 [ssh-agent] Looking for ssh-agent implementation... 06:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:04 $ docker exec 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de ssh-agent 06:34:04 SSH_AUTH_SOCK=/tmp/ssh-Jf6RJc9l1Dpj/agent.13 06:34:04 SSH_AGENT_PID=19 06:34:04 Running ssh-add (command line suppressed) 06:34:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3992325629386811697.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3992325629386811697.key) 06:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:04 + git tag --points-at HEAD [Pipeline] } 06:34:04 $ docker exec --env ******** --env ******** 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de ssh-agent -k 06:34:04 unset SSH_AUTH_SOCK; 06:34:04 unset SSH_AGENT_PID; 06:34:04 echo Agent pid 19 killed; 06:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:04 [ssh-agent] Looking for ssh-agent implementation... 06:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:04 $ docker exec 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de ssh-agent 06:34:05 SSH_AUTH_SOCK=/tmp/ssh-wrPp4bqu8Znf/agent.54 06:34:05 SSH_AGENT_PID=61 06:34:05 Running ssh-add (command line suppressed) 06:34:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3788696168892839229.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_3788696168892839229.key) 06:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:05 + git semver init 06:34:05 # -> Open(): unable to determine branch for HEAD 06:34:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git 06:34:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 06:34:05 # $SEMVER_REMOTE_NAME = origin 06:34:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:34:05 # $SEMVER_USER_NAME = edgex-jenkins 06:34:05 # $SEMVER_BRANCH = PR-355 06:34:05 # $SEMVER_TEMP = /tmp/semver-298109250 06:34:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 06:34:07 # '/tmp/semver-298109250' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' 06:34:07 # -> Force: false 06:34:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } 06:34:07 $ docker exec --env ******** --env ******** 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de ssh-agent -k 06:34:07 unset SSH_AUTH_SOCK; 06:34:07 unset SSH_AGENT_PID; 06:34:07 echo Agent pid 61 killed; 06:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:07 + git semver [Pipeline] } 06:34:07 $ docker stop --time=1 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de 06:34:09 $ docker rm -f 869023794c0c4d7d60e9da2534b68b7078302c4c51e31af548e55f7528f477de [Pipeline] // withDockerContainer [Pipeline] sh 06:34:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:34:09 Stashed 1 file(s) [Pipeline] echo 06:34:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:34:24 Still waiting to schedule task 06:34:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:34:24 Still waiting to schedule task 06:34:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2189’ is offline 06:36:14 Running on prd-centos7-docker-4c-2g-2193 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:36:14 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 06:36:14 Selected Git installation does not exist. Using Default 06:36:14 The recommended git tool is: NONE 06:36:17 using credential edgex-jenkins-ssh 06:36:17 Cloning the remote Git repository 06:36:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:36:17 > git init /w/workspace/device-sdk-c/6 # timeout=10 06:36:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:36:17 > git --version # timeout=10 06:36:17 > git --version # 'git version 2.24.4' 06:36:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:17 [INFO] Currently running in a labeled security context 06:36:17 [INFO] Currently SELinux is 'enforcing' on the host 06:36:17 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh999941453271892078.key 06:36:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:36:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:36:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:18 [INFO] Currently running in a labeled security context 06:36:18 [INFO] Currently SELinux is 'enforcing' on the host 06:36:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh2203190133821570274.key 06:36:18 > 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 06:36:18 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit d911104bc55f84b51f3219c95e301480c513dd66 06:36:18 Merge succeeded, producing d911104bc55f84b51f3219c95e301480c513dd66 06:36:18 Checking out Revision d911104bc55f84b51f3219c95e301480c513dd66 (PR-355) 06:36:18 > git config core.sparsecheckout # timeout=10 06:36:18 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # timeout=10 06:36:18 > git remote # timeout=10 06:36:18 > git config --get remote.origin.url # timeout=10 06:36:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:18 [INFO] Currently running in a labeled security context 06:36:18 [INFO] Currently SELinux is 'enforcing' on the host 06:36:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/6@tmp/jenkins-gitclient-ssh7339963205951143394.key 06:36:18 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 06:36:18 > git rev-parse HEAD^{commit} # timeout=10 06:36:18 > git config core.sparsecheckout # timeout=10 06:36:18 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # timeout=10 06:36:22 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 06:36:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:36:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:36:23 + sudo service docker restart 06:36:23 + true 06:36:23 Redirecting to /bin/systemctl restart docker.service 06:36:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2192 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:36:35 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 06:36:35 Selected Git installation does not exist. Using Default 06:36:35 The recommended git tool is: NONE 06:36:41 using credential edgex-jenkins-ssh 06:36:41 Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:42 provisioning config files... 06:36:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config4990430360749050435tmp 06:36:41 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:36:41 > git init /w/workspace/device-sdk-c/6 # timeout=10 06:36:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:36:41 > git --version # timeout=10 06:36:41 > git --version # 'git version 2.17.1' 06:36:41 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:42 ---> docker-login.sh 06:36:42 nexus3.edgexfoundry.org:10001 06:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:42 Configure a credential helper to remove this warning. See 06:36:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:42 06:36:42 Login Succeeded 06:36:42 nexus3.edgexfoundry.org:10002 06:36:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:43 Configure a credential helper to remove this warning. See 06:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:43 06:36:43 Login Succeeded 06:36:43 nexus3.edgexfoundry.org:10003 06:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:43 Configure a credential helper to remove this warning. See 06:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:43 06:36:43 Login Succeeded 06:36:43 nexus3.edgexfoundry.org:10004 06:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:43 Configure a credential helper to remove this warning. See 06:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:43 06:36:43 Login Succeeded 06:36:43 docker.io 06:36:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:36:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:36:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:36:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:43 > 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 06:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:43 Configure a credential helper to remove this warning. See 06:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:43 06:36:43 Login Succeeded 06:36:43 ---> docker-login.sh ends [Pipeline] } 06:36:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:44 ========================================================= 06:36:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 06:36:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:36:44 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit d911104bc55f84b51f3219c95e301480c513dd66 06:36:44 Merge succeeded, producing d911104bc55f84b51f3219c95e301480c513dd66 06:36:44 Checking out Revision d911104bc55f84b51f3219c95e301480c513dd66 (PR-355) 06:36:44 + 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 . 06:36:44 Sending build context to Docker daemon 2.599MB 06:36:44 Step 1/25 : ARG BASE=alpine:3.12 06:36:44 Step 2/25 : FROM ${BASE} as builder 06:36:44 latest: Pulling from edgex-devops/edgex-gcc-base 06:36:44 e7c96db7181b: Pulling fs layer 06:36:44 4c13bbce0fe7: Pulling fs layer 06:36:44 6059c847ac2f: Pulling fs layer 06:36:44 4c13bbce0fe7: Verifying Checksum 06:36:44 4c13bbce0fe7: Download complete 06:36:44 e7c96db7181b: Verifying Checksum 06:36:44 e7c96db7181b: Download complete 06:36:44 > git config core.sparsecheckout # timeout=10 06:36:44 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # timeout=10 06:36:44 > git remote # timeout=10 06:36:44 > git config --get remote.origin.url # timeout=10 06:36:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:44 > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 06:36:44 > git rev-parse HEAD^{commit} # timeout=10 06:36:44 > git config core.sparsecheckout # timeout=10 06:36:44 > git checkout -f d911104bc55f84b51f3219c95e301480c513dd66 # timeout=10 06:36:44 e7c96db7181b: Pull complete 06:36:44 4c13bbce0fe7: Pull complete 06:36:46 6059c847ac2f: Verifying Checksum 06:36:46 6059c847ac2f: Download complete 06:36:48 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 06:36:49 6059c847ac2f: Pull complete 06:36:49 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 06:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 06:36:49 ---> 5eabd8fd8ba2 06:36:49 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 06:36:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:36:50 ---> Running in de5d573b7227 06:36:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:36:50 Connecting to iotech.jfrog.io (54.195.244.87:443) 06:36:51 + sudo service docker restart 06:36:51 + true 06:36:51 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:36:51 06:36:51 Removing intermediate container de5d573b7227 06:36:51 ---> de76fbde0758 06:36:51 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:36:51 ---> Running in d9cad9ebb2d8 06:36:52 Removing intermediate container d9cad9ebb2d8 06:36:52 ---> 3a60274502fa 06:36:52 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 06:36:52 ---> Running in c29901a43e5e 06:36:52 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:36:53 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:36:53 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 06:36:54 (1/11) Installing hiredis (0.14.0-r0) 06:36:54 (2/11) Installing hiredis-dev (0.14.0-r0) 06:36:54 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 06:36:54 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 06:36:55 (5/11) Installing libuuid (2.33-r0) 06:36:55 (6/11) Installing libblkid (2.33-r0) 06:36:56 (7/11) Installing libfdisk (2.33-r0) 06:36:56 (8/11) Installing libmount (2.33-r0) 06:36:56 (9/11) Installing libsmartcols (2.33-r0) 06:36:56 (10/11) Installing util-linux-dev (2.33-r0) 06:36:56 (11/11) Installing wget (1.20.3-r0) 06:36:56 Executing busybox-1.29.3-r10.trigger 06:36:56 OK: 273 MiB in 86 packages 06:36:57 Removing intermediate container c29901a43e5e 06:36:57 ---> 7ff7f00d0c28 06:36:57 Step 6/25 : ENV CBOR_VERSION=0.5.0 06:36:57 ---> Running in d39bd18ed2a9 06:36:57 Removing intermediate container d39bd18ed2a9 06:36:57 ---> ce2cf534d1d5 06:36:57 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 06:36:57 ---> Running in 3e036189e137 06:36:57 --2021-07-08 06:36:57-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 06:36:57 Resolving github.com... 140.82.113.4 06:36:57 Connecting to github.com|140.82.113.4|:443... connected. 06:36:57 HTTP request sent, awaiting response... 302 Found 06:36:57 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 06:36:57 --2021-07-08 06:36:57-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 06:36:57 Resolving codeload.github.com... 140.82.113.10 06:36:57 Connecting to codeload.github.com|140.82.113.10|:443... connected. 06:36:58 HTTP request sent, awaiting response... 200 OK 06:36:58 Length: unspecified [application/x-gzip] 06:36:58 Saving to: 'STDOUT' 06:36:58 06:36:58 0K .......... .......... .......... .......... .......... 1.19M 06:36:58 50K .......... .......... .......... .......... .......... 2.46M 06:36:58 100K .......... .......... .......... .......... .......... 34.9M 06:36:58 150K .......... .......... .......... .......... .......... 2.57M 06:36:58 200K .......... .......... .......... .......... .......... 25.8M 06:36:58 250K .......... .......... .......... .......... .......... 6.83M 06:36:58 300K .......... .......... .......... .......... .......... 12.8M 06:36:58 350K .......... .......... .......... .......... .......... 16.0M 06:36:58 400K .......... .......... .......... .......... .......... 9.85M 06:36:58 450K .......... .......... .......... .......... .......... 17.0M 06:36:58 500K .......... .......... .......... .......... .......... 14.9M 06:36:58 550K .......... .......... .......... .......... .......... 3.77M 06:36:58 600K .......... .......... .......... .......... .......... 6.86M 06:36:58 650K .......... .......... .......... .......... .......... 7.68M 06:36:58 700K .. 63.4M=0.1s 06:36:58 06:36:58 2021-07-08 06:36:57 (5.10 MB/s) - written to stdout [719348] 06:36:58 06:36:58 -- The C compiler identification is GNU 8.3.0 06:36:58 -- The CXX compiler identification is GNU 8.3.0 06:36:58 -- Check for working C compiler: /usr/bin/cc 06:36:58 -- Check for working C compiler: /usr/bin/cc -- works 06:36:58 -- Detecting C compiler ABI info 06:36:58 -- Detecting C compiler ABI info - done 06:36:58 -- Detecting C compile features 06:36:58 -- Detecting C compile features - done 06:36:58 -- Check for working CXX compiler: /usr/bin/c++ 06:36:58 -- Check for working CXX compiler: /usr/bin/c++ -- works 06:36:58 -- Detecting CXX compiler ABI info 06:36:58 -- Detecting CXX compiler ABI info - done 06:36:58 -- Detecting CXX compile features 06:36:59 -- Detecting CXX compile features - done 06:36:59 -- Looking for include file endian.h 06:36:59 -- Looking for include file endian.h - found 06:36:59 -- Check if the system is big endian 06:36:59 -- Searching 16 bit integer 06:36:59 -- Looking for sys/types.h 06:36:59 -- Looking for sys/types.h - found 06:36:59 -- Looking for stdint.h 06:36:59 -- Looking for stdint.h - found 06:36:59 -- Looking for stddef.h 06:36:59 -- Looking for stddef.h - found 06:36:59 -- Check size of unsigned short 06:36:59 -- Check size of unsigned short - done 06:36:59 -- Using unsigned short 06:36:59 -- Check if the system is big endian - little endian 06:36:59 -- Check size of size_t 06:36:59 -- Check size of size_t - done 06:36:59 CMake Warning at examples/CMakeLists.txt:16 (find_package): 06:36:59 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 06:36:59 asked CMake to find a package configuration file provided by "cJSON", but 06:36:59 CMake did not find one. 06:36:59 06:36:59 Could not find a package configuration file provided by "cJSON" with any of 06:36:59 the following names: 06:36:59 06:36:59 cJSONConfig.cmake 06:36:59 cjson-config.cmake 06:36:59 06:36:59 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 06:36:59 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 06:36:59 provides a separate development package or SDK, be sure it has been 06:36:59 installed. 06:36:59 06:36:59 06:36:59 -- Configuring done 06:36:59 -- Generating done 06:36:59 -- Build files have been written to: /tmp/cbor 06:36:59 Scanning dependencies of target cbor_shared 06:36:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 06:36:59 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 06:36:59 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 06:36:59 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 06:37:00 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 06:37:00 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 06:37:00 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 06:37:00 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 06:37:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 06:37:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 06:37:00 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 06:37:00 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 06:37:00 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 06:37:00 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 06:37:00 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 06:37:00 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 06:37:00 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 06:37:00 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 06:37:00 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 06:37:00 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 06:37:00 [ 40%] Linking C shared library libcbor.so 06:37:00 [ 40%] Built target cbor_shared 06:37:00 Scanning dependencies of target cbor 06:37:00 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 06:37:01 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 06:37:01 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 06:37:01 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 06:37:01 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 06:37:01 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 06:37:01 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 06:37:01 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 06:37:01 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 06:37:01 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 06:37:02 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 06:37:02 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 06:37:02 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 06:37:02 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 06:37:02 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 06:37:02 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 06:37:02 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 06:37:02 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 06:37:02 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 06:37:02 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 06:37:02 [ 80%] Linking C static library libcbor.a 06:37:02 [ 80%] Built target cbor 06:37:02 Scanning dependencies of target create_items 06:37:02 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 06:37:02 [ 84%] Linking C executable create_items 06:37:02 [ 84%] Built target create_items 06:37:02 Scanning dependencies of target readfile 06:37:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 06:37:02 [ 88%] Linking C executable readfile 06:37:02 [ 88%] Built target readfile 06:37:02 Scanning dependencies of target streaming_parser 06:37:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 06:37:02 [ 92%] Linking C executable streaming_parser 06:37:02 [ 92%] Built target streaming_parser 06:37:02 Scanning dependencies of target sort 06:37:02 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 06:37:02 [ 96%] Linking C executable sort 06:37:02 [ 96%] Built target sort 06:37:02 Scanning dependencies of target hello 06:37:02 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 06:37:03 [100%] Linking C executable hello 06:37:03 [100%] Built target hello 06:37:03 Install the project... 06:37:03 -- Install configuration: "Release" 06:37:03 -- Installing: /usr/local/include/cbor/configuration.h 06:37:03 -- Installing: /usr/local/lib64/libcbor.a 06:37:03 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 06:37:03 -- Installing: /usr/local/lib64/libcbor.so.0 06:37:03 -- Installing: /usr/local/lib64/libcbor.so 06:37:03 -- Up-to-date: /usr/local/include/cbor 06:37:03 -- Installing: /usr/local/include/cbor/arrays.h 06:37:03 -- Installing: /usr/local/include/cbor/bytestrings.h 06:37:03 -- Installing: /usr/local/include/cbor/callbacks.h 06:37:03 -- Installing: /usr/local/include/cbor/common.h 06:37:03 -- Installing: /usr/local/include/cbor/data.h 06:37:03 -- Installing: /usr/local/include/cbor/encoding.h 06:37:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 06:37:03 -- Installing: /usr/local/include/cbor/internal 06:37:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 06:37:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 06:37:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 06:37:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 06:37:03 -- Installing: /usr/local/include/cbor/internal/stack.h 06:37:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 06:37:03 -- Installing: /usr/local/include/cbor/ints.h 06:37:03 -- Installing: /usr/local/include/cbor/maps.h 06:37:03 -- Installing: /usr/local/include/cbor/serialization.h 06:37:03 -- Installing: /usr/local/include/cbor/streaming.h 06:37:03 -- Installing: /usr/local/include/cbor/strings.h 06:37:03 -- Installing: /usr/local/include/cbor/tags.h 06:37:03 -- Installing: /usr/local/include/cbor.h 06:37:03 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 06:37:03 Removing intermediate container 3e036189e137 06:37:03 ---> ebecda153e17 06:37:03 Step 8/25 : RUN mkdir /tmp/sdk 06:37:03 ---> Running in be69b8d3eddb 06:37:04 Removing intermediate container be69b8d3eddb 06:37:04 ---> a69e5620fc15 06:37:04 Step 9/25 : COPY VERSION /tmp/sdk 06:37:04 ---> a8356a789880 06:37:04 Step 10/25 : COPY src /tmp/sdk/src 06:37:04 ---> ddba2b729314 06:37:04 Step 11/25 : COPY include /tmp/sdk/include 06:37:04 ---> 9f11e0aa4a2a 06:37:04 Step 12/25 : COPY scripts /tmp/sdk/scripts 06:37:04 ---> 1f347515796e 06:37:04 Step 13/25 : COPY LICENSE /tmp/sdk 06:37:04 ---> 490d70baa2b7 06:37:04 Step 14/25 : COPY Attribution.txt /tmp/sdk 06:37:05 ---> a42b6d50db57 06:37:05 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:37:05 ---> Running in 01ebc50bb20b 06:37:05 + CPPCHECK=false 06:37:05 + DOCGEN=false 06:37:05 + TOMLVER=SDK-0.2 06:37:05 + CUTILVER=1.1.4 06:37:05 + '[' 0 -gt 0 ] 06:37:05 + readlink -f ./scripts/build.sh 06:37:05 + dirname /tmp/sdk/scripts/build.sh 06:37:05 + dirname /tmp/sdk/scripts 06:37:05 + ROOT=/tmp/sdk 06:37:05 + cd /tmp/sdk 06:37:05 + '[' '!' -d deps ] 06:37:05 + mkdir deps 06:37:05 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:37:05 + tar -C deps -z -x -f - 06:37:05 --2021-07-08 06:37:05-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:37:05 Resolving github.com... 140.82.113.3 06:37:05 Connecting to github.com|140.82.113.3|:443... connected. 06:37:05 HTTP request sent, awaiting response... 302 Found 06:37:05 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 06:37:05 --2021-07-08 06:37:05-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 06:37:05 Resolving codeload.github.com... 140.82.113.10 06:37:05 Connecting to codeload.github.com|140.82.113.10|:443... connected. 06:37:05 HTTP request sent, awaiting response... 200 OK 06:37:05 Length: unspecified [application/x-gzip] 06:37:05 Saving to: 'STDOUT' 06:37:05  06:37:05 0K .......... ......  812K=0.02s 06:37:05 06:37:05 2021-07-08 06:37:05 (812 KB/s) - written to stdout [16451] 06:37:05 06:37:05 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 06:37:05 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:37:05 + tar -C deps -z -x -f - 06:37:05 --2021-07-08 06:37:05-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:37:05 Resolving github.com... 140.82.113.3 06:37:05 Connecting to github.com|140.82.113.3|:443... connected. 06:37:05 HTTP request sent, awaiting response... 302 Found 06:37:05 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 06:37:05 --2021-07-08 06:37:05-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 06:37:05 Resolving codeload.github.com... 140.82.113.10 06:37:05 Connecting to codeload.github.com|140.82.113.10|:443... connected. 06:37:06 HTTP request sent, awaiting response... 200 OK 06:37:06 Length: unspecified [application/x-gzip] 06:37:06 Saving to: 'STDOUT' 06:37:06 06:37:06 0K .......... .......... .......... .......... .......... 1.34M 06:37:06 50K .......... .......... .......... .......... .......... 2.73M 06:37:06 100K .......... .......... .......... .......... .......... 43.3M 06:37:06 150K .......... .......... ....... 7.72M=0.06s 06:37:06 06:37:06 2021-07-08 06:37:06 (2.94 MB/s) - written to stdout [181796] 06:37:06 06:37:06 + mkdir -p src/c/iot 06:37:06 + 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 06:37:06 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 06:37:06 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 06:37:06 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 06:37:06 + mkdir -p include/iot 06:37:06 + 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 06:37:06 + mkdir -p include/iot/os 06:37:06 + 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 06:37:06 + mkdir -p /tmp/sdk/build/release 06:37:06 + cd /tmp/sdk/build/release 06:37:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:37:06 -- The C compiler identification is GNU 8.3.0 06:37:06 -- Check for working C compiler: /usr/bin/cc 06:37:06 -- Check for working C compiler: /usr/bin/cc -- works 06:37:06 -- Detecting C compiler ABI info 06:37:06 -- Detecting C compiler ABI info - done 06:37:06 -- Detecting C compile features 06:37:06 -- Detecting C compile features - done 06:37:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:37:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:37:06 -- Found LIBYAML: /usr/lib/libyaml.so 06:37:06 -- Found LIBUUID: /usr/lib/libuuid.so 06:37:06 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:37:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:37:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:37:06 -- C SDK 0.0.0 for Linux 06:37:06 -- Performing Test CSDK_HAVE_ATOMIC 06:37:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:37:06 -- Found Curses: /usr/lib/libcurses.so 06:37:06 -- Configuring done 06:37:06 -- Generating done 06:37:06 -- Build files have been written to: /tmp/sdk/build/release 06:37:06 + tee release.log 06:37:06 + make all package 06:37:06 Scanning dependencies of target csdk 06:37:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:37:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:37:07 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:37:07 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:37:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:37:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:37:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:37:07 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:37:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:37:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:37:08 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:37:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:37:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:37:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:37:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:37:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:37:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:37:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:37:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:37:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:09 provisioning config files... 06:37:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config3294101982694746145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:37:09 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:37:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:37:09 ---> docker-login.sh 06:37:09 nexus3.edgexfoundry.org:10001 06:37:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:37:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:37:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:37:10 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:37:10 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:37:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:37:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:37:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:37:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:11 Configure a credential helper to remove this warning. See 06:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:11 06:37:11 Login Succeeded 06:37:11 nexus3.edgexfoundry.org:10002 06:37:11 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:37:11 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:37:11 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:37:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:11 Configure a credential helper to remove this warning. See 06:37:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:11 06:37:11 Login Succeeded 06:37:11 nexus3.edgexfoundry.org:10003 06:37:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:12 Configure a credential helper to remove this warning. See 06:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:12 06:37:12 Login Succeeded 06:37:12 nexus3.edgexfoundry.org:10004 06:37:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:37:12 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:37:12 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:37:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:12 Configure a credential helper to remove this warning. See 06:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:12 06:37:12 Login Succeeded 06:37:12 docker.io 06:37:12 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:13 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:13 Configure a credential helper to remove this warning. See 06:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:13 06:37:13 Login Succeeded 06:37:13 ---> docker-login.sh ends [Pipeline] } 06:37:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:37:13 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] echo 06:37:13 ========================================================= 06:37:13 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 06:37:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:37:14 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:37:14 [ 74%] Linking C shared library libcsdk.so 06:37:14 [ 74%] Built target csdk 06:37:14 Scanning dependencies of target template 06:37:14 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:37:14 + 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 . 06:37:14 [ 77%] Linking C executable template 06:37:14 [ 77%] Built target template 06:37:14 Scanning dependencies of target device-counter 06:37:14 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:37:14 [ 80%] Linking C executable device-counter 06:37:14 Sending build context to Docker daemon 2.598MB 06:37:14 [ 80%] Built target device-counter 06:37:14 Scanning dependencies of target device-random 06:37:14 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:37:14 [ 84%] Linking C executable device-random 06:37:14 [ 84%] Built target device-random 06:37:14 Scanning dependencies of target device-gyro 06:37:14 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:37:14 [ 87%] Linking C executable device-gyro 06:37:14 Step 1/25 : ARG BASE=alpine:3.12 06:37:14 Step 2/25 : FROM ${BASE} as builder 06:37:14 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 06:37:14 0362ad1dd800: Pulling fs layer 06:37:14 f2cdb1532d8b: Pulling fs layer 06:37:14 37ed683be191: Pulling fs layer 06:37:14 [ 87%] Built target device-gyro 06:37:14 Scanning dependencies of target device-bitfields 06:37:14 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:37:14 [ 90%] Linking C executable device-bitfields 06:37:14 [ 90%] Built target device-bitfields 06:37:14 Scanning dependencies of target template-discovery 06:37:14 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:37:15 f2cdb1532d8b: Verifying Checksum 06:37:15 f2cdb1532d8b: Download complete 06:37:15 0362ad1dd800: Verifying Checksum 06:37:15 0362ad1dd800: Download complete 06:37:15 [ 93%] Linking C executable template-discovery 06:37:15 [ 93%] Built target template-discovery 06:37:15 Scanning dependencies of target device-file 06:37:15 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:37:15 [ 96%] Linking C executable device-file 06:37:15 [ 96%] Built target device-file 06:37:15 Scanning dependencies of target device-terminal 06:37:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:37:15 [100%] Linking C executable device-terminal 06:37:15 [100%] Built target device-terminal 06:37:15 Run CPack packaging tool... 06:37:15 CPack: Create package using TGZ 06:37:15 CPack: Install projects 06:37:15 CPack: - Run preinstall target for: Csdk 06:37:15 CPack: - Install project: Csdk 06:37:15 CPack: Create package 06:37:15 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:37:15 + '[' false '=' true ] 06:37:15 + '[' false '=' true ] 06:37:15 + mkdir -p /tmp/sdk/build/debug 06:37:15 + cd /tmp/sdk/build/debug 06:37:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:37:15 -- The C compiler identification is GNU 8.3.0 06:37:15 -- Check for working C compiler: /usr/bin/cc 06:37:15 0362ad1dd800: Pull complete 06:37:15 -- Check for working C compiler: /usr/bin/cc -- works 06:37:15 -- Detecting C compiler ABI info 06:37:15 -- Detecting C compiler ABI info - done 06:37:15 -- Detecting C compile features 06:37:15 f2cdb1532d8b: Pull complete 06:37:16 -- Detecting C compile features - done 06:37:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:37:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:37:16 -- Found LIBYAML: /usr/lib/libyaml.so 06:37:16 -- Found LIBUUID: /usr/lib/libuuid.so 06:37:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:37:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:37:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:37:16 -- C SDK 0.0.0 for Linux 06:37:16 -- Performing Test CSDK_HAVE_ATOMIC 06:37:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:37:16 -- Found Curses: /usr/lib/libcurses.so 06:37:16 -- Configuring done 06:37:16 -- Generating done 06:37:16 -- Build files have been written to: /tmp/sdk/build/debug 06:37:16 + make 06:37:16 + tee debug.log 06:37:16 Scanning dependencies of target csdk 06:37:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:37:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:37:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:37:16 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:37:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:37:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:37:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:37:16 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:37:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:37:16 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:37:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:37:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:37:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:37:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:37:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:37:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:37:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:37:17 37ed683be191: Verifying Checksum 06:37:17 37ed683be191: Download complete 06:37:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:37:17 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:37:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:37:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:37:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:37:17 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:37:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:37:18 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:37:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:37:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:37:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:37:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:37:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:37:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:37:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:37:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:37:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:37:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:37:18 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:37:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:37:18 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:37:18 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:37:18 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:37:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:37:19 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:37:19 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:37:19 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:37:19 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:37:19 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:37:19 [ 74%] Linking C shared library libcsdk.so 06:37:19 [ 74%] Built target csdk 06:37:19 Scanning dependencies of target template 06:37:19 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:37:19 [ 77%] Linking C executable template 06:37:19 [ 77%] Built target template 06:37:19 Scanning dependencies of target device-counter 06:37:19 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:37:19 [ 80%] Linking C executable device-counter 06:37:19 [ 80%] Built target device-counter 06:37:19 Scanning dependencies of target device-random 06:37:19 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:37:19 [ 84%] Linking C executable device-random 06:37:19 [ 84%] Built target device-random 06:37:19 Scanning dependencies of target device-gyro 06:37:19 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:37:20 [ 87%] Linking C executable device-gyro 06:37:20 [ 87%] Built target device-gyro 06:37:20 Scanning dependencies of target device-bitfields 06:37:20 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:37:20 [ 90%] Linking C executable device-bitfields 06:37:20 [ 90%] Built target device-bitfields 06:37:20 Scanning dependencies of target template-discovery 06:37:20 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:37:20 [ 93%] Linking C executable template-discovery 06:37:20 [ 93%] Built target template-discovery 06:37:20 Scanning dependencies of target device-file 06:37:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:37:20 [ 96%] Linking C executable device-file 06:37:20 [ 96%] Built target device-file 06:37:20 Scanning dependencies of target device-terminal 06:37:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:37:20 [100%] Linking C executable device-terminal 06:37:20 [100%] Built target device-terminal 06:37:20 make: Entering directory '/tmp/sdk/build/release' 06:37:20 make[1]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 74%] Built target csdk 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 77%] Built target template 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 80%] Built target device-counter 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 84%] Built target device-random 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 87%] Built target device-gyro 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 90%] Built target device-bitfields 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 93%] Built target template-discovery 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [ 96%] Built target device-file 06:37:20 make[2]: Entering directory '/tmp/sdk/build/release' 06:37:20 make[2]: Leaving directory '/tmp/sdk/build/release' 06:37:20 [100%] Built target device-terminal 06:37:20 make[1]: Leaving directory '/tmp/sdk/build/release' 06:37:20 Install the project... 06:37:20 -- Install configuration: "Release" 06:37:20 -- Installing: /usr/local/lib/libcsdk.so 06:37:20 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:37:20 -- Up-to-date: /usr/local/include 06:37:20 -- Installing: /usr/local/include/devsdk 06:37:20 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:37:20 -- Installing: /usr/local/include/devsdk/devsdk.h 06:37:20 -- Installing: /usr/local/include/edgex 06:37:20 -- Installing: /usr/local/include/edgex/devices.h 06:37:20 -- Installing: /usr/local/include/edgex/edgex-base.h 06:37:20 -- Installing: /usr/local/include/edgex/edgex.h 06:37:20 -- Installing: /usr/local/include/edgex/profiles.h 06:37:20 -- Installing: /usr/local/include/edgex/rest-server.h 06:37:20 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:37:20 -- Installing: /usr/local/include/iot 06:37:20 -- Installing: /usr/local/include/iot/base64.h 06:37:20 -- Installing: /usr/local/include/iot/component.h 06:37:20 -- Installing: /usr/local/include/iot/config.h 06:37:20 -- Installing: /usr/local/include/iot/container.h 06:37:20 -- Installing: /usr/local/include/iot/data.h 06:37:20 -- Installing: /usr/local/include/iot/hash.h 06:37:20 -- Installing: /usr/local/include/iot/iot.h 06:37:20 -- Installing: /usr/local/include/iot/json.h 06:37:20 -- Installing: /usr/local/include/iot/logger.h 06:37:20 -- Installing: /usr/local/include/iot/os.h 06:37:20 -- Installing: /usr/local/include/iot/scheduler.h 06:37:20 -- Installing: /usr/local/include/iot/thread.h 06:37:20 -- Installing: /usr/local/include/iot/threadpool.h 06:37:20 -- Installing: /usr/local/include/iot/time.h 06:37:20 -- Installing: /usr/local/include/iot/typecode.h 06:37:20 -- Installing: /usr/local/include/iot/os 06:37:20 -- Installing: /usr/local/include/iot/os/linux.h 06:37:20 -- Installing: /usr/local/include/iot/os/macos.h 06:37:20 -- Installing: /usr/local/include/iot/os/zephyr.h 06:37:20 -- Installing: /usr/local/include/iot/defs.h 06:37:20 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:37:20 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:37:20 make: Leaving directory '/tmp/sdk/build/release' 06:37:21 Removing intermediate container 01ebc50bb20b 06:37:21 ---> 67f044e40703 06:37:21 Step 16/25 : FROM ${BASE} 06:37:21 ---> 5eabd8fd8ba2 06:37:21 Step 17/25 : LABEL maintainer="IOTech " 06:37:21 ---> Running in 1fcfd8f78d78 06:37:21 Removing intermediate container 1fcfd8f78d78 06:37:21 ---> e8e994c4ec25 06:37:21 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 06:37:21 ---> Running in f898cefcf9b1 06:37:21 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:37:22 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:37:22 06:37:22 Removing intermediate container f898cefcf9b1 06:37:22 ---> a30b960a8a70 06:37:22 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:37:22 ---> Running in a64341d4802c 06:37:22 Removing intermediate container a64341d4802c 06:37:22 ---> 1d31c132b44c 06:37:22 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 06:37:22 ---> Running in e1382ef3bdbf 06:37:23 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:37:23 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:37:24 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 06:37:24 (1/6) Installing curl (7.64.0-r5) 06:37:24 (2/6) Installing hiredis (0.14.0-r0) 06:37:25 (3/6) Installing hiredis-dev (0.14.0-r0) 06:37:25 (4/6) Installing libuuid (2.33-r0) 06:37:25 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 06:37:26 (6/6) Installing wget (1.20.3-r0) 06:37:26 Executing busybox-1.29.3-r10.trigger 06:37:26 OK: 269 MiB in 81 packages 06:37:27 Removing intermediate container e1382ef3bdbf 06:37:27 ---> db6a5c48bbef 06:37:27 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 06:37:27 ---> 6713f792f74f 06:37:27 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:37:27 37ed683be191: Pull complete 06:37:27 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 06:37:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 06:37:27 ---> b23d30803547 06:37: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 06:37:27 ---> Running in 92818039c898 06:37:27 ---> 31251b1bf89e 06:37:27 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 06:37:27 ---> 31a0d676b16b 06:37:27 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 06:37:27 ---> 46e3a7c47126 06:37:27 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:37:27 ---> a6af45efd385 06:37:27 Successfully built a6af45efd385 06:37:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:28 + docker inspect -f . ci-base-image-x86_64 06:37:28 . [Pipeline] withDockerContainer 06:37:28 prd-centos7-docker-4c-2g-2193 does not seem to be running inside a container 06:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:37:28 $ docker top 427ab7300931e046ed8c63128948201a1026a1c99a6ea94c16a9ba729c900a87 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:29 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:37:29 + make test 06:37:29 echo "make test" 06:37:29 make test [Pipeline] } 06:37:29 $ docker stop --time=1 427ab7300931e046ed8c63128948201a1026a1c99a6ea94c16a9ba729c900a87 06:37:29 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:37:29 06:37:30 Removing intermediate container 92818039c898 06:37:30 ---> 8a9b23c98bc6 06:37:30 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:37:30 ---> Running in 8f1868166aec 06:37:30 $ docker rm -f 427ab7300931e046ed8c63128948201a1026a1c99a6ea94c16a9ba729c900a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 06:37:32 Removing intermediate container 8f1868166aec 06:37:32 ---> 97e1a8ef2865 06:37:32 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 06:37:32 ---> Running in 004f08ffad7f [Pipeline] sh 06:37:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:37:33 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:37:33 + ls -al . 06:37:33 total 160 06:37:33 drwxrwxr-x. 8 jenkins jenkins 260 Jul 8 06:36 . 06:37:33 drwxrwxr-x. 4 jenkins jenkins 28 Jul 8 06:36 .. 06:37:33 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 8 06:36 Attribution.txt 06:37:33 -rw-rw-r--. 1 jenkins jenkins 7509 Jul 8 06:36 CHANGES 06:37:33 drwxrwxr-x. 2 jenkins jenkins 121 Jul 8 06:36 docs 06:37:33 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 8 06:36 Doxyfile 06:37:33 drwxrwxr-x. 8 jenkins jenkins 179 Jul 8 06:36 .git 06:37:33 drwxrwxr-x. 2 jenkins jenkins 81 Jul 8 06:36 .github 06:37:33 -rw-rw-r--. 1 jenkins jenkins 176 Jul 8 06:36 .gitignore 06:37:33 drwxrwxr-x. 4 jenkins jenkins 33 Jul 8 06:36 include 06:37:33 -rw-rw-r--. 1 jenkins jenkins 784 Jul 8 06:36 Jenkinsfile 06:37:33 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 8 06:36 LICENSE 06:37:33 -rw-rw-r--. 1 jenkins jenkins 444 Jul 8 06:36 Makefile 06:37:33 -rw-rw-r--. 1 jenkins jenkins 4090 Jul 8 06:36 README.md 06:37:33 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 8 06:36 README.v2.md 06:37:33 drwxrwxr-x. 2 jenkins jenkins 98 Jul 8 06:36 scripts 06:37:33 drwxrwxr-x. 4 jenkins jenkins 50 Jul 8 06:36 src 06:37:33 -rw-rw-r--. 1 jenkins jenkins 5 Jul 8 06:34 VERSION [Pipeline] isUnix [Pipeline] sh 06:37:34 + 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=d911104bc55f84b51f3219c95e301480c513dd66 --label arch=amd64 --label version=0.0.0 . 06:37:34 Sending build context to Docker daemon 2.599MB 06:37:34 Step 1/17 : ARG BASE=alpine:3.12 06:37:34 Step 2/17 : FROM ${BASE} 06:37:34 ---> a6af45efd385 06:37:34 Step 3/17 : LABEL maintainer="IOTech " 06:37:34 ---> Running in 5ed5cd20d106 06:37:34 Removing intermediate container 5ed5cd20d106 06:37:34 ---> 24543c584d59 06:37:34 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 06:37:34 ---> Running in 149c26a35a7e 06:37:34 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:37:34 --2021-07-08 06:37:34-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 06:37:34 Resolving iotech.jfrog.io... 54.229.110.245, 54.170.66.44, 54.195.244.87 06:37:34 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 06:37:35 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:37:35 HTTP request sent, awaiting response... 200 OK 06:37:35 Length: 451 [application/octet-stream] 06:37:35 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 06:37:35  06:37:35 0K 100% 45.5M=0s 06:37:35 06:37:35 2021-07-08 06:37:34 (45.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 06:37:35 06:37:35 Removing intermediate container 149c26a35a7e 06:37:35 ---> f93dc5fae1c3 06:37:35 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:37:35 ---> Running in 2c5547077137 06:37:35 (1/11) Installing hiredis (0.14.0-r0) 06:37:35 (2/11) Installing hiredis-dev (0.14.0-r0) 06:37:35 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 06:37:35 Removing intermediate container 2c5547077137 06:37:35 ---> 8f14bb9aad09 06:37:35 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 06:37:35 ---> Running in 930d1d582b6a 06:37:35 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 06:37:35 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 06:37:36 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 06:37:37 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 06:37:37 (5/11) Installing libuuid (2.33-r0) 06:37:37 (6/11) Installing libblkid (2.33-r0) 06:37:37 (7/11) Installing libfdisk (2.33-r0) 06:37:37 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 06:37:37 (2/6) Installing libblkid (2.33-r0) 06:37:37 (3/6) Installing libfdisk (2.33-r0) 06:37:37 (8/11) Installing libmount (2.33-r0) 06:37:37 (9/11) Installing libsmartcols (2.33-r0) 06:37:37 (10/11) Installing util-linux-dev (2.33-r0) 06:37:37 (4/6) Installing libmount (2.33-r0) 06:37:37 (5/6) Installing libsmartcols (2.33-r0) 06:37:37 (6/6) Installing util-linux-dev (2.33-r0) 06:37:38 (11/11) Installing wget (1.20.3-r0) 06:37:38 Executing busybox-1.29.3-r10.trigger 06:37:38 OK: 273 MiB in 87 packages 06:37:38 Executing busybox-1.29.3-r10.trigger 06:37:38 OK: 287 MiB in 86 packages 06:37:38 Removing intermediate container 930d1d582b6a 06:37:38 ---> 7fd1fc99bc25 06:37:38 Step 7/17 : COPY VERSION /edgex-c-sdk/ 06:37:38 ---> bb5a21e063c4 06:37:38 Step 8/17 : COPY src /edgex-c-sdk/src/ 06:37:39 ---> 3013e3fc1604 06:37:39 Step 9/17 : COPY include /edgex-c-sdk/include/ 06:37:39 ---> 426c91df4392 06:37:39 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 06:37:39 ---> 2b4a71c32591 06:37:39 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 06:37:39 ---> c164fd5c429b 06:37:39 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 06:37:39 ---> b6a8923123fc 06:37:39 Step 13/17 : WORKDIR /edgex-c-sdk 06:37:39 ---> Running in 752b1880e248 06:37:39 Removing intermediate container 752b1880e248 06:37:39 ---> 4d236ea43089 06:37:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:37:39 ---> Running in 36aa711bafe7 06:37:39 Removing intermediate container 36aa711bafe7 06:37:39 ---> 072ee6d2595d 06:37:39 Step 15/17 : LABEL arch=amd64 06:37:39 ---> Running in b5c4ab05a8b9 06:37:39 Removing intermediate container b5c4ab05a8b9 06:37:39 ---> 45d737c3dd8e 06:37:39 Step 16/17 : LABEL git_sha=d911104bc55f84b51f3219c95e301480c513dd66 06:37:39 ---> Running in 1080c32340b7 06:37:39 Removing intermediate container 004f08ffad7f 06:37:39 ---> 68135f6b1f18 06:37:39 Step 6/25 : ENV CBOR_VERSION=0.5.0 06:37:39 ---> Running in 8f86f5408af8 06:37:40 Removing intermediate container 1080c32340b7 06:37:40 ---> 6fc896d8467b 06:37:40 Step 17/17 : LABEL version=0.0.0 06:37:40 ---> Running in 35a01882198e 06:37:40 Removing intermediate container 35a01882198e 06:37:40 ---> c54bc72b2a75 06:37:40 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:37:40 Successfully built c54bc72b2a75 06:37:40 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 06:37:40 Removing intermediate container 8f86f5408af8 06:37:40 ---> abe23d833ae4 06:37:40 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 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 06:37:40 ---> Running in 70737b610049 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:37:41 --2021-07-08 06:37:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 06:37:41 Resolving github.com... 140.82.113.3 06:37:41 Connecting to github.com|140.82.113.3|:443... connected. 06:37:41 HTTP request sent, awaiting response... 302 Found 06:37:41 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 06:37:41 --2021-07-08 06:37:41-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 06:37:41 Resolving codeload.github.com... 140.82.113.10 06:37:41 Connecting to codeload.github.com|140.82.113.10|:443... connected. 06:37:41 HTTP request sent, awaiting response... 200 OK 06:37:41 Length: unspecified [application/x-gzip] 06:37:41 Saving to: 'STDOUT' 06:37:41  06:37:41 0K .......... .......... .......... .......... .......... 1.19M 06:37:41 50K .......... .......... .......... .......... .......... 3.00M 06:37:41 100K .......... .......... .......... .......... .......... 8.50M 06:37:41 150K .......... .......... .......... .......... .......... 5.46M 06:37:41 200K .......... .......... .......... .......... .......... 7.07M 06:37:41 250K .......... .......... .......... .......... .......... 3.92M 06:37:41 300K .......... .......... .......... .......... .......... 4.90M 06:37:41 350K .......... .......... .......... .......... .......... 5.30M 06:37:41 400K .......... .......... .......... .......... .......... 4.08M 06:37:41 450K .......... .......... .......... .......... .......... 3.50M 06:37:41 500K .......... .......... .......... .......... .......... 10.7M 06:37:41 550K .......... .......... .......... .......... .......... 1.73M 06:37:41 600K .......... .......... .......... .......... .......... 1.01M 06:37:41 650K .......... .......... .......... .......... .......... 2.33M 06:37:41 700K ..              2.71M=0.2s 06:37:41 06:37:41 2021-07-08 06:37:41 (2.86 MB/s) - written to stdout [719348] 06:37:41 06:37:42 -- The C compiler identification is GNU 8.3.0 06:37:42 -- The CXX compiler identification is GNU 8.3.0 06:37:42 -- Check for working C compiler: /usr/bin/cc 06:37:42 -- Check for working C compiler: /usr/bin/cc -- works 06:37:42 -- Detecting C compiler ABI info 06:37:43 -- Detecting C compiler ABI info - done 06:37:43 -- Detecting C compile features 06:37:43 -- Detecting C compile features - done 06:37:43 -- Check for working CXX compiler: /usr/bin/c++ 06:37:43 -- Check for working CXX compiler: /usr/bin/c++ -- works 06:37:43 -- Detecting CXX compiler ABI info 06:37:44 -- Detecting CXX compiler ABI info - done 06:37:44 -- Detecting CXX compile features 06:37:45 -- Detecting CXX compile features - done 06:37:45 -- Looking for include file endian.h 06:37:45 -- Looking for include file endian.h - found 06:37:45 -- Check if the system is big endian 06:37:45 -- Searching 16 bit integer 06:37:45 -- Looking for sys/types.h 06:37:46 -- Looking for sys/types.h - found 06:37:46 -- Looking for stdint.h 06:37:46 -- Looking for stdint.h - found 06:37:46 -- Looking for stddef.h 06:37:46 -- Looking for stddef.h - found 06:37:46 -- Check size of unsigned short 06:37:47 -- Check size of unsigned short - done 06:37:47 -- Using unsigned short 06:37:47 -- Check if the system is big endian - little endian 06:37:47 -- Check size of size_t 06:37:47 -- Check size of size_t - done 06:37:47 CMake Warning at examples/CMakeLists.txt:16 (find_package): 06:37:47 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 06:37:47 asked CMake to find a package configuration file provided by "cJSON", but 06:37:47 CMake did not find one. 06:37:47 06:37:47 Could not find a package configuration file provided by "cJSON" with any of 06:37:47 the following names: 06:37:47 06:37:47 cJSONConfig.cmake 06:37:47 cjson-config.cmake 06:37:47 06:37:47 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 06:37:47 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 06:37:47 provides a separate development package or SDK, be sure it has been 06:37:47 installed. 06:37:47 06:37:47 06:37:47 -- Configuring done 06:37:47 -- Generating done 06:37:47 -- Build files have been written to: /tmp/cbor 06:37:47 Scanning dependencies of target cbor_shared 06:37:47 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 06:37:48 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 06:37:49 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 06:37:49 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 06:37:49 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 06:37:50 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 06:37:50 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 06:37:50 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 06:37:50 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 06:37:51 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 06:37:51 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 06:37:51 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 06:37:52 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 06:37:52 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 06:37:52 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 06:37:53 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 06:37:53 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 06:37:53 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 06:37:53 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 06:37:54 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 06:37:54 [ 40%] Linking C shared library libcbor.so 06:37:54 [ 40%] Built target cbor_shared 06:37:54 Scanning dependencies of target cbor 06:37:54 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 06:37:55 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 06:37:55 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 06:37:55 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 06:37:56 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 06:37:57 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 06:37:57 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 06:37:57 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 06:37:57 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 06:37:58 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 06:37:59 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 06:37:59 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 06:37:59 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 06:38:00 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 06:38:00 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 06:38:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 06:38:00 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 06:38:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 06:38:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 06:38:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 06:38:01 [ 80%] Linking C static library libcbor.a 06:38:01 [ 80%] Built target cbor 06:38:01 Scanning dependencies of target create_items 06:38:01 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 06:38:02 [ 84%] Linking C executable create_items 06:38:02 [ 84%] Built target create_items 06:38:02 Scanning dependencies of target readfile 06:38:02 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 06:38:02 [ 88%] Linking C executable readfile 06:38:02 [ 88%] Built target readfile 06:38:02 Scanning dependencies of target streaming_parser 06:38:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 06:38:02 [ 92%] Linking C executable streaming_parser 06:38:02 [ 92%] Built target streaming_parser 06:38:02 Scanning dependencies of target sort 06:38:02 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 06:38:03 [ 96%] Linking C executable sort 06:38:03 [ 96%] Built target sort 06:38:03 Scanning dependencies of target hello 06:38:03 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 06:38:03 [100%] Linking C executable hello 06:38:03 [100%] Built target hello 06:38:03 Install the project... 06:38:03 -- Install configuration: "Release" 06:38:03 -- Installing: /usr/local/include/cbor/configuration.h 06:38:03 -- Installing: /usr/local/lib64/libcbor.a 06:38:03 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 06:38:03 -- Installing: /usr/local/lib64/libcbor.so.0 06:38:03 -- Installing: /usr/local/lib64/libcbor.so 06:38:03 -- Up-to-date: /usr/local/include/cbor 06:38:03 -- Installing: /usr/local/include/cbor/streaming.h 06:38:03 -- Installing: /usr/local/include/cbor/ints.h 06:38:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 06:38:03 -- Installing: /usr/local/include/cbor/bytestrings.h 06:38:03 -- Installing: /usr/local/include/cbor/encoding.h 06:38:03 -- Installing: /usr/local/include/cbor/serialization.h 06:38:03 -- Installing: /usr/local/include/cbor/data.h 06:38:03 -- Installing: /usr/local/include/cbor/common.h 06:38:03 -- Installing: /usr/local/include/cbor/callbacks.h 06:38:03 -- Installing: /usr/local/include/cbor/strings.h 06:38:03 -- Installing: /usr/local/include/cbor/tags.h 06:38:03 -- Installing: /usr/local/include/cbor/internal 06:38:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 06:38:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 06:38:03 -- Installing: /usr/local/include/cbor/internal/stack.h 06:38:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 06:38:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 06:38:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 06:38:03 -- Installing: /usr/local/include/cbor/arrays.h 06:38:03 -- Installing: /usr/local/include/cbor/maps.h 06:38:03 -- Installing: /usr/local/include/cbor.h 06:38:03 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 06:38:05 Removing intermediate container 70737b610049 06:38:05 ---> 24594372855f 06:38:05 Step 8/25 : RUN mkdir /tmp/sdk 06:38:05 ---> Running in 0e74b896e89e 06:38:07 Removing intermediate container 0e74b896e89e 06:38:07 ---> fa1e47c66d53 06:38:07 Step 9/25 : COPY VERSION /tmp/sdk 06:38:08 ---> f97556b76d1a 06:38:08 Step 10/25 : COPY src /tmp/sdk/src 06:38:09 ---> f72fb046696f 06:38:09 Step 11/25 : COPY include /tmp/sdk/include 06:38:10 ---> 98d9aedd4a8d 06:38:10 Step 12/25 : COPY scripts /tmp/sdk/scripts 06:38:10 ---> f943cffc62e4 06:38:10 Step 13/25 : COPY LICENSE /tmp/sdk 06:38:11 ---> 385e8304ecbf 06:38:11 Step 14/25 : COPY Attribution.txt /tmp/sdk 06:38:12 ---> 96a4334b100a 06:38:12 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:38:12 ---> Running in e2a6be9508d1 06:38:13 + CPPCHECK=false 06:38:13 + DOCGEN=false 06:38:13 + TOMLVER=SDK-0.2 06:38:13 + CUTILVER=1.1.4 06:38:13 + '[' 0 -gt 0 ] 06:38:13 + readlink -f ./scripts/build.sh 06:38:13 + dirname /tmp/sdk/scripts/build.sh 06:38:13 + dirname /tmp/sdk/scripts 06:38:13 + ROOT=/tmp/sdk 06:38:13 + cd /tmp/sdk 06:38:13 + '[' '!' -d deps ] 06:38:13 + mkdir deps 06:38:13 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:38:13 + tar -C deps -z -x -f - 06:38:13 --2021-07-08 06:38:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 06:38:13 Resolving github.com... 140.82.113.3 06:38:13 Connecting to github.com|140.82.113.3|:443... connected. 06:38:13 HTTP request sent, awaiting response... 302 Found 06:38:13 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 06:38:13 --2021-07-08 06:38:13-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 06:38:13 Resolving codeload.github.com... 140.82.114.10 06:38:13 Connecting to codeload.github.com|140.82.114.10|:443... connected. 06:38:13 HTTP request sent, awaiting response... 200 OK 06:38:13 Length: unspecified [application/x-gzip] 06:38:13 Saving to: 'STDOUT' 06:38:13  06:38:13 0K .......... ...... 926K=0.02s 06:38:13 06:38:13 2021-07-08 06:38:13 (926 KB/s) - written to stdout [16451] 06:38:13 06:38:13 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 06:38:13 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 06:38:13  -f - 06:38:13 --2021-07-08 06:38:13-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 06:38:14 Resolving github.com... 140.82.113.3 06:38:14 Connecting to github.com|140.82.113.3|:443... connected. 06:38:14 HTTP request sent, awaiting response... 302 Found 06:38:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 06:38:14 --2021-07-08 06:38:13-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 06:38:14 Resolving codeload.github.com... 140.82.114.10 06:38:14 Connecting to codeload.github.com|140.82.114.10|:443... connected. 06:38:14 HTTP request sent, awaiting response... 200 OK 06:38:14 Length: unspecified [application/x-gzip] 06:38:14 Saving to: 'STDOUT' 06:38:14  06:38:14 0K .......... .......... .......... .......... .......... 1.38M 06:38:14 50K .......... .......... .......... .......... .......... 2.44M 06:38:14 100K .......... .......... .......... .......... .......... 5.70M 06:38:14 150K .......... .......... .......  1.24M=0.09s 06:38:14 06:38:14 2021-07-08 06:38:14 (2.02 MB/s) - written to stdout [181796] 06:38:14 06:38:14 + mkdir -p src/c/iot 06:38:14 + 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 06:38:14 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 06:38:14 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 06:38:14 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 06:38:14 + mkdir -p include/iot 06:38:14 + 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 06:38:14 + mkdir -p include/iot/os 06:38:14 + 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 06:38:14 + mkdir -p /tmp/sdk/build/release 06:38:14 + cd /tmp/sdk/build/release 06:38:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:38:14 -- The C compiler identification is GNU 8.3.0 06:38:14 -- Check for working C compiler: /usr/bin/cc 06:38:14 -- Check for working C compiler: /usr/bin/cc -- works 06:38:14 -- Detecting C compiler ABI info 06:38:15 -- Detecting C compiler ABI info - done 06:38:15 -- Detecting C compile features 06:38:16 -- Detecting C compile features - done 06:38:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:38:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:38:16 -- Found LIBYAML: /usr/lib/libyaml.so 06:38:16 -- Found LIBUUID: /usr/lib/libuuid.so 06:38:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:38:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:38:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:38:16 -- C SDK 0.0.0 for Linux 06:38:16 -- Performing Test CSDK_HAVE_ATOMIC 06:38:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:38:16 -- Found Curses: /usr/lib/libcurses.so 06:38:16 -- Configuring done 06:38:16 -- Generating done 06:38:16 -- Build files have been written to: /tmp/sdk/build/release 06:38:16 + make all package 06:38:16 + tee release.log 06:38:16 Scanning dependencies of target csdk 06:38:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:38:17 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:38:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:38:19 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:38:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:38:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:38:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:38:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:38:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:38:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:38:24 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:38:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:38:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:38:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:38:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:38:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:38:26 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:38:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:38:29 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:38:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:38:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:38:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:38:31 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:38:33 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:38:33 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:38:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:38:34 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:38:34 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:38:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:38:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:38:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:38:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:38:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:38:39 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:38:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:38:40 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:38:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:38:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:38:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:38:45 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:38:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:38:46 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:38:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:38:50 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:38:53 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:38:53 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:38:54 [ 74%] Linking C shared library libcsdk.so 06:38:54 [ 74%] Built target csdk 06:38:54 Scanning dependencies of target template 06:38:54 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:38:55 [ 77%] Linking C executable template 06:38:55 [ 77%] Built target template 06:38:55 Scanning dependencies of target device-counter 06:38:55 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:38:55 [ 80%] Linking C executable device-counter 06:38:55 [ 80%] Built target device-counter 06:38:55 Scanning dependencies of target device-random 06:38:55 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:38:56 [ 84%] Linking C executable device-random 06:38:56 [ 84%] Built target device-random 06:38:56 Scanning dependencies of target device-gyro 06:38:56 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:38:57 [ 87%] Linking C executable device-gyro 06:38:57 [ 87%] Built target device-gyro 06:38:57 Scanning dependencies of target device-bitfields 06:38:57 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:38:57 [ 90%] Linking C executable device-bitfields 06:38:57 [ 90%] Built target device-bitfields 06:38:57 Scanning dependencies of target template-discovery 06:38:57 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:38:58 [ 93%] Linking C executable template-discovery 06:38:58 [ 93%] Built target template-discovery 06:38:58 Scanning dependencies of target device-file 06:38:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:38:59 [ 96%] Linking C executable device-file 06:38:59 [ 96%] Built target device-file 06:38:59 Scanning dependencies of target device-terminal 06:38:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:39:00 [100%] Linking C executable device-terminal 06:39:00 [100%] Built target device-terminal 06:39:00 Run CPack packaging tool... 06:39:00 CPack: Create package using TGZ 06:39:00 CPack: Install projects 06:39:00 CPack: - Run preinstall target for: Csdk 06:39:01 CPack: - Install project: Csdk 06:39:01 CPack: Create package 06:39:01 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:39:01 + '[' false '=' true ] 06:39:01 + '[' false '=' true ] 06:39:01 + mkdir -p /tmp/sdk/build/debug 06:39:01 + cd /tmp/sdk/build/debug 06:39:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:39:01 -- The C compiler identification is GNU 8.3.0 06:39:01 -- Check for working C compiler: /usr/bin/cc 06:39:01 -- Check for working C compiler: /usr/bin/cc -- works 06:39:01 -- Detecting C compiler ABI info 06:39:01 -- Detecting C compiler ABI info - done 06:39:01 -- Detecting C compile features 06:39:02 -- Detecting C compile features - done 06:39:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:39:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 06:39:02 -- Found LIBYAML: /usr/lib/libyaml.so 06:39:02 -- Found LIBUUID: /usr/lib/libuuid.so 06:39:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 06:39:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:39:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:39:02 -- C SDK 0.0.0 for Linux 06:39:02 -- Performing Test CSDK_HAVE_ATOMIC 06:39:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:39:02 -- Found Curses: /usr/lib/libcurses.so 06:39:03 -- Configuring done 06:39:03 -- Generating done 06:39:03 -- Build files have been written to: /tmp/sdk/build/debug 06:39:03 + + tee debug.logmake 06:39:03 06:39:03 Scanning dependencies of target csdk 06:39:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:39:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 06:39:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:39:04 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:39:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:39:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 06:39:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 06:39:06 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 06:39:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:39:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:39:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:39:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:39:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:39:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:39:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 06:39:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:39:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:39:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:39:09 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 06:39:09 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 06:39:09 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 06:39:10 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 06:39:10 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 06:39:11 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 06:39:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 06:39:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 06:39:11 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 06:39:11 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 06:39:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 06:39:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 06:39:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 06:39:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 06:39:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 06:39:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:39:13 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:39:14 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 06:39:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:39:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:39:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:39:15 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:39:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:39:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:39:17 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:39:17 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 06:39:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:39:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:39:18 [ 74%] Linking C shared library libcsdk.so 06:39:19 [ 74%] Built target csdk 06:39:19 Scanning dependencies of target template 06:39:19 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:39:19 [ 77%] Linking C executable template 06:39:19 [ 77%] Built target template 06:39:19 Scanning dependencies of target device-counter 06:39:19 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:39:20 [ 80%] Linking C executable device-counter 06:39:20 [ 80%] Built target device-counter 06:39:20 Scanning dependencies of target device-random 06:39:20 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:39:20 [ 84%] Linking C executable device-random 06:39:20 [ 84%] Built target device-random 06:39:20 Scanning dependencies of target device-gyro 06:39:20 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:39:20 [ 87%] Linking C executable device-gyro 06:39:21 [ 87%] Built target device-gyro 06:39:21 Scanning dependencies of target device-bitfields 06:39:21 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:39:21 [ 90%] Linking C executable device-bitfields 06:39:21 [ 90%] Built target device-bitfields 06:39:21 Scanning dependencies of target template-discovery 06:39:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:39:21 [ 93%] Linking C executable template-discovery 06:39:22 [ 93%] Built target template-discovery 06:39:22 Scanning dependencies of target device-file 06:39:22 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:39:22 [ 96%] Linking C executable device-file 06:39:22 [ 96%] Built target device-file 06:39:22 Scanning dependencies of target device-terminal 06:39:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:39:23 [100%] Linking C executable device-terminal 06:39:23 [100%] Built target device-terminal 06:39:23 make: Entering directory '/tmp/sdk/build/release' 06:39:23 make[1]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 74%] Built target csdk 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 77%] Built target template 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 80%] Built target device-counter 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 84%] Built target device-random 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 87%] Built target device-gyro 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 90%] Built target device-bitfields 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 93%] Built target template-discovery 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [ 96%] Built target device-file 06:39:23 make[2]: Entering directory '/tmp/sdk/build/release' 06:39:23 make[2]: Leaving directory '/tmp/sdk/build/release' 06:39:23 [100%] Built target device-terminal 06:39:23 make[1]: Leaving directory '/tmp/sdk/build/release' 06:39:23 Install the project... 06:39:23 -- Install configuration: "Release" 06:39:23 -- Installing: /usr/local/lib/libcsdk.so 06:39:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:39:23 -- Up-to-date: /usr/local/include 06:39:23 -- Installing: /usr/local/include/edgex 06:39:23 -- Installing: /usr/local/include/edgex/rest-server.h 06:39:23 -- Installing: /usr/local/include/edgex/edgex-base.h 06:39:23 -- Installing: /usr/local/include/edgex/edgex.h 06:39:23 -- Installing: /usr/local/include/edgex/devices.h 06:39:23 -- Installing: /usr/local/include/edgex/profiles.h 06:39:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:39:23 -- Installing: /usr/local/include/devsdk 06:39:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:39:23 -- Installing: /usr/local/include/devsdk/devsdk.h 06:39:23 -- Installing: /usr/local/include/iot 06:39:23 -- Installing: /usr/local/include/iot/json.h 06:39:23 -- Installing: /usr/local/include/iot/container.h 06:39:23 -- Installing: /usr/local/include/iot/component.h 06:39:23 -- Installing: /usr/local/include/iot/typecode.h 06:39:23 -- Installing: /usr/local/include/iot/iot.h 06:39:23 -- Installing: /usr/local/include/iot/time.h 06:39:23 -- Installing: /usr/local/include/iot/hash.h 06:39:23 -- Installing: /usr/local/include/iot/logger.h 06:39:23 -- Installing: /usr/local/include/iot/os 06:39:23 -- Installing: /usr/local/include/iot/os/zephyr.h 06:39:23 -- Installing: /usr/local/include/iot/os/linux.h 06:39:23 -- Installing: /usr/local/include/iot/os/macos.h 06:39:23 -- Installing: /usr/local/include/iot/scheduler.h 06:39:23 -- Installing: /usr/local/include/iot/data.h 06:39:23 -- Installing: /usr/local/include/iot/thread.h 06:39:23 -- Installing: /usr/local/include/iot/os.h 06:39:23 -- Installing: /usr/local/include/iot/base64.h 06:39:23 -- Installing: /usr/local/include/iot/defs.h 06:39:23 -- Installing: /usr/local/include/iot/threadpool.h 06:39:23 -- Installing: /usr/local/include/iot/config.h 06:39:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:39:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:39:23 make: Leaving directory '/tmp/sdk/build/release' 06:39:25 Removing intermediate container e2a6be9508d1 06:39:25 ---> 25e8122d288f 06:39:25 Step 16/25 : FROM ${BASE} 06:39:25 ---> b23d30803547 06:39:25 Step 17/25 : LABEL maintainer="IOTech " 06:39:26 ---> Running in 9194ccc07827 06:39:26 Removing intermediate container 9194ccc07827 06:39:26 ---> 2e921dbfef7f 06:39:26 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 06:39:26 ---> Running in 0c20d96574c8 06:39:28 Connecting to iotech.jfrog.io (54.170.66.44:443) 06:39:28 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 06:39:28 06:39:29 Removing intermediate container 0c20d96574c8 06:39:29 ---> a5ca92f957fc 06:39:29 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:39:29 ---> Running in 69dd4e6c764e 06:39:32 Removing intermediate container 69dd4e6c764e 06:39:32 ---> 8c173d9b7955 06:39:32 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 06:39:32 ---> Running in 3ee425965ee6 06:39:33 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:39:33 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:39:33 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:39:34 (1/6) Installing curl (7.64.0-r5) 06:39:34 (2/6) Installing hiredis (0.14.0-r0) 06:39:34 (3/6) Installing hiredis-dev (0.14.0-r0) 06:39:34 (4/6) Installing libuuid (2.33-r0) 06:39:34 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 06:39:36 (6/6) Installing wget (1.20.3-r0) 06:39:36 Executing busybox-1.29.3-r10.trigger 06:39:36 OK: 283 MiB in 81 packages 06:39:37 Removing intermediate container 3ee425965ee6 06:39:37 ---> 5821eb8c44e1 06:39:37 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 06:39:38 ---> bdc18aae5fab 06:39:38 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:39:39 ---> f2608f91ce26 06:39:39 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 06:39:40 ---> 3fdac14e49d3 06:39:40 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 06:39:41 ---> bbd8da8f12bf 06:39:41 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:39:41 ---> d5bb213feea8 06:39:41 Successfully built d5bb213feea8 06:39:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:39:42 + docker inspect -f . ci-base-image-arm64 06:39:42 . [Pipeline] withDockerContainer 06:39:42 prd-ubuntu18.04-docker-arm64-4c-16g-2192 does not seem to be running inside a container 06:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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 06:39:44 $ docker top 3471d22b60e2c9bb648ccfb01dbcf7682504debe198cdae138634dbb315687a8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:45 + make test 06:39:45 echo "make test" 06:39:45 make test [Pipeline] } 06:39:45 $ docker stop --time=1 3471d22b60e2c9bb648ccfb01dbcf7682504debe198cdae138634dbb315687a8 06:39:47 $ docker rm -f 3471d22b60e2c9bb648ccfb01dbcf7682504debe198cdae138634dbb315687a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:48 + ls -al . 06:39:48 total 192 06:39:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 06:36 . 06:39:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 06:36 .. 06:39:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 8 06:36 .git 06:39:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 06:36 .github 06:39:48 -rw-rw-r-- 1 jenkins jenkins 176 Jul 8 06:36 .gitignore 06:39:48 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 8 06:36 Attribution.txt 06:39:48 -rw-rw-r-- 1 jenkins jenkins 7509 Jul 8 06:36 CHANGES 06:39:48 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 8 06:36 Doxyfile 06:39:48 -rw-rw-r-- 1 jenkins jenkins 784 Jul 8 06:36 Jenkinsfile 06:39:48 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 8 06:36 LICENSE 06:39:48 -rw-rw-r-- 1 jenkins jenkins 444 Jul 8 06:36 Makefile 06:39:48 -rw-rw-r-- 1 jenkins jenkins 4090 Jul 8 06:36 README.md 06:39:48 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 8 06:36 README.v2.md 06:39:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 8 06:34 VERSION 06:39:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 06:36 docs 06:39:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 06:36 include 06:39:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 8 06:36 scripts 06:39:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 8 06:36 src [Pipeline] isUnix [Pipeline] sh 06:39:48 + 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=d911104bc55f84b51f3219c95e301480c513dd66 --label arch=arm64 --label version=0.0.0 . 06:39:49 Sending build context to Docker daemon 2.598MB 06:39:49 Step 1/17 : ARG BASE=alpine:3.12 06:39:49 Step 2/17 : FROM ${BASE} 06:39:49 ---> d5bb213feea8 06:39:49 Step 3/17 : LABEL maintainer="IOTech " 06:39:49 ---> Running in f60c282bf7f4 06:39:49 Removing intermediate container f60c282bf7f4 06:39:49 ---> 042b55ed029d 06:39:49 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 06:39:49 ---> Running in 6baa80cb5eee 06:39:51 --2021-07-08 06:39:50-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 06:39:51 Resolving iotech.jfrog.io... 54.229.110.245, 54.170.66.44, 54.195.244.87 06:39:51 Connecting to iotech.jfrog.io|54.229.110.245|:443... connected. 06:39:51 HTTP request sent, awaiting response... 200 OK 06:39:51 Length: 451 [application/octet-stream] 06:39:51 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 06:39:51  06:39:51 0K   100% 16.9M=0s 06:39:51 06:39:51 2021-07-08 06:39:51 (16.9 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 06:39:51 06:39:52 Removing intermediate container 6baa80cb5eee 06:39:52 ---> e5e34015681a 06:39:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 06:39:52 ---> Running in 34c3f2704cef 06:39:55 Removing intermediate container 34c3f2704cef 06:39:55 ---> 20cc5517f19d 06:39:55 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 06:39:55 ---> Running in 06a7d0979892 06:39:56 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 06:39:56 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 06:39:56 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 06:39:57 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 06:39:57 (2/6) Installing libblkid (2.33-r0) 06:39:57 (3/6) Installing libfdisk (2.33-r0) 06:39:57 (4/6) Installing libmount (2.33-r0) 06:39:58 (5/6) Installing libsmartcols (2.33-r0) 06:39:58 (6/6) Installing util-linux-dev (2.33-r0) 06:39:58 Executing busybox-1.29.3-r10.trigger 06:39:58 OK: 287 MiB in 87 packages 06:39:59 Removing intermediate container 06a7d0979892 06:39:59 ---> 66b1b3c1f3e9 06:39:59 Step 7/17 : COPY VERSION /edgex-c-sdk/ 06:40:00 ---> 67259587e1cb 06:40:00 Step 8/17 : COPY src /edgex-c-sdk/src/ 06:40:01 ---> 3ac754496239 06:40:01 Step 9/17 : COPY include /edgex-c-sdk/include/ 06:40:02 ---> d850f3871552 06:40:02 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 06:40:02 ---> 60d62cb76864 06:40:02 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 06:40:03 ---> 831809322957 06:40:03 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 06:40:04 ---> a6cf409ba1dd 06:40:04 Step 13/17 : WORKDIR /edgex-c-sdk 06:40:04 ---> Running in b9db7b44e990 06:40:05 Removing intermediate container b9db7b44e990 06:40:05 ---> 6d32bd0646b9 06:40:05 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:40:05 ---> Running in 36e26a80a651 06:40:05 Removing intermediate container 36e26a80a651 06:40:05 ---> ba6ee314816d 06:40:05 Step 15/17 : LABEL arch=arm64 06:40:05 ---> Running in 063d610a5704 06:40:06 Removing intermediate container 063d610a5704 06:40:06 ---> e7faa7b5971a 06:40:06 Step 16/17 : LABEL git_sha=d911104bc55f84b51f3219c95e301480c513dd66 06:40:06 ---> Running in 63dc15eee50e 06:40:07 Removing intermediate container 63dc15eee50e 06:40:07 ---> 04ffa5f41b34 06:40:07 Step 17/17 : LABEL version=0.0.0 06:40:07 ---> Running in 8d0104157dd7 06:40:07 Removing intermediate container 8d0104157dd7 06:40:07 ---> 410a9dad22e9 06:40:07 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:40:07 Successfully built 410a9dad22e9 06:40:07 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 06:40:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:09 ---> package-listing.sh 06:40:09 ++ facter osfamily 06:40:09 ++ tr '[:upper:]' '[:lower:]' 06:40:10 + OS_FAMILY=redhat 06:40:10 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 06:40:10 + START_PACKAGES=/tmp/packages_start.txt 06:40:10 + END_PACKAGES=/tmp/packages_end.txt 06:40:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:10 + PACKAGES=/tmp/packages_start.txt 06:40:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:40:10 + PACKAGES=/tmp/packages_end.txt 06:40:10 + case "${OS_FAMILY}" in 06:40:10 + sort 06:40:10 + rpm -qa 06:40:10 + '[' -f /tmp/packages_start.txt ']' 06:40:10 + '[' -f /tmp/packages_end.txt ']' 06:40:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:10 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:40:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ 06:40:10 + 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 06:40:10 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 06:40:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:40:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:11 06:40:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:40:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:12 alpine: Pulling from edgex-lftools-log-publisher 06:40:12 df20fa9351a1: Pulling fs layer 06:40:12 36b3adc4ff6f: Pulling fs layer 06:40:12 8ad3a11d3b57: Pulling fs layer 06:40:12 46f8f816bc3b: Pulling fs layer 06:40:12 93b61091891f: Pulling fs layer 06:40:12 93b9cdb0e59b: Pulling fs layer 06:40:12 5e14af77c1be: Pulling fs layer 06:40:12 01666e4c0597: Pulling fs layer 06:40:12 aa168da1d23b: Pulling fs layer 06:40:12 93b9cdb0e59b: Waiting 06:40:12 5e14af77c1be: Waiting 06:40:12 01666e4c0597: Waiting 06:40:12 46f8f816bc3b: Waiting 06:40:12 aa168da1d23b: Waiting 06:40:12 93b61091891f: Waiting 06:40:12 36b3adc4ff6f: Verifying Checksum 06:40:12 36b3adc4ff6f: Download complete 06:40:12 46f8f816bc3b: Verifying Checksum 06:40:12 46f8f816bc3b: Download complete 06:40:12 df20fa9351a1: Verifying Checksum 06:40:12 df20fa9351a1: Download complete 06:40:12 93b9cdb0e59b: Verifying Checksum 06:40:12 93b9cdb0e59b: Download complete 06:40:12 5e14af77c1be: Verifying Checksum 06:40:12 5e14af77c1be: Download complete 06:40:12 01666e4c0597: Verifying Checksum 06:40:12 01666e4c0597: Download complete 06:40:12 df20fa9351a1: Pull complete 06:40:12 8ad3a11d3b57: Verifying Checksum 06:40:12 8ad3a11d3b57: Download complete 06:40:12 36b3adc4ff6f: Pull complete 06:40:13 8ad3a11d3b57: Pull complete 06:40:13 93b61091891f: Verifying Checksum 06:40:13 93b61091891f: Download complete 06:40:13 46f8f816bc3b: Pull complete 06:40:13 93b61091891f: Pull complete 06:40:13 93b9cdb0e59b: Pull complete 06:40:14 5e14af77c1be: Pull complete 06:40:14 01666e4c0597: Pull complete 06:40:16 aa168da1d23b: Verifying Checksum 06:40:16 aa168da1d23b: Download complete 06:40:20 aa168da1d23b: Pull complete 06:40:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:40:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:40:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:40:20 prd-centos7-docker-4c-2g-2191 does not seem to be running inside a container 06:40:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:40:30 $ docker top d73b108cd11f22b09859b955a51c2d4bea8b9af533016811e75aeaa205b2b625 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:40:31 + mkdir -p /var/log/sa [Pipeline] sh 06:40:31 + ls /var/log/sa-host 06:40:31 + sadf -c /var/log/sa-host/sa05 06:40:31 file_magic: OK 06:40:31 HZ: Using current value: 100 06:40:31 file_header: OK 06:40:31 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 06:40:31 Statistics: 06:40:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:40:31 File successfully converted to sysstat format version 12.2.1 06:40:31 + sadf -c /var/log/sa-host/sa08 06:40:31 file_magic: OK 06:40:31 HZ: Using current value: 100 06:40:31 file_header: OK 06:40:31 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 06:40:31 Statistics: 06:40:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:40:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:40:31 provisioning config files... 06:40:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config2194905626032036878tmp [Pipeline] { [Pipeline] echo 06:40:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:40:32 ---> create-netrc.sh [Pipeline] } 06:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:40:32 ---> python-tools-install.sh [Pipeline] echo 06:40:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:40:32 ---> sudo-logs.sh 06:40:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:40:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:40:33 ---> job-cost.sh 06:40:33 lf-activate-venv: SKIPPING 06:40:33 INFO: No Stack... 06:40:34 INFO: Retrieving Pricing Info for: v3-standard-2 06:40:34 INFO: Archiving Costs [Pipeline] echo 06:40:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:40:34 ---> logs-deploy.sh 06:40:34 lf-activate-venv: SKIPPING 06:40:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/6 06:40:34 INFO: archiving workspace using pattern(s): 06:40:35 Archives upload complete. 06:40:35 INFO: archiving logs to Nexus 06:40:36 ---> uname -a: 06:40:36 Linux prd-centos7-docker-4c-2g-2191.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 06:40:36 06:40:36 06:40:36 ---> lscpu: 06:40:36 Architecture: x86_64 06:40:36 CPU op-mode(s): 32-bit, 64-bit 06:40:36 Byte Order: Little Endian 06:40:36 Address sizes: 40 bits physical, 48 bits virtual 06:40:36 CPU(s): 2 06:40:36 On-line CPU(s) list: 0,1 06:40:36 Thread(s) per core: 1 06:40:36 Core(s) per socket: 1 06:40:36 Socket(s): 2 06:40:36 NUMA node(s): 1 06:40:36 Vendor ID: AuthenticAMD 06:40:36 CPU family: 23 06:40:36 Model: 49 06:40:36 Model name: AMD EPYC-Rome Processor 06:40:36 Stepping: 0 06:40:36 CPU MHz: 2799.998 06:40:36 BogoMIPS: 5599.99 06:40:36 Virtualization: AMD-V 06:40:36 Hypervisor vendor: KVM 06:40:36 Virtualization type: full 06:40:36 L1d cache: 64 KiB 06:40:36 L1i cache: 64 KiB 06:40:36 L2 cache: 1 MiB 06:40:36 L3 cache: 32 MiB 06:40:36 NUMA node0 CPU(s): 0,1 06:40:36 Vulnerability Itlb multihit: Not affected 06:40:36 Vulnerability L1tf: Not affected 06:40:36 Vulnerability Mds: Not affected 06:40:36 Vulnerability Meltdown: Not affected 06:40:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:40:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:40:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:40:36 Vulnerability Srbds: Not affected 06:40:36 Vulnerability Tsx async abort: Not affected 06:40:36 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 06:40:36 06:40:36 06:40:36 ---> nproc: 06:40:36 2 06:40:36 06:40:36 06:40:36 ---> df -h: 06:40:36 Filesystem Size Used Available Use% Mounted on 06:40:36 overlay 40.0G 7.6G 32.4G 19% / 06:40:36 tmpfs 64.0M 0 64.0M 0% /dev 06:40:36 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 06:40:36 shm 64.0M 0 64.0M 0% /dev/shm 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 06:40:36 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 06:40:36 06:40:36 06:40:36 ---> free -m: 06:40:36 total used free shared buff/cache available 06:40:36 Mem: 7821 917 4806 0 2097 6725 06:40:36 Swap: 1023 0 1023 06:40:36 06:40:36 06:40:36 ---> ip addr: 06:40:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:40:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:40:36 inet 127.0.0.1/8 scope host lo 06:40:36 valid_lft forever preferred_lft forever 06:40:36 inet6 ::1/128 scope host 06:40:36 valid_lft forever preferred_lft forever 06:40:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:40:36 link/ether fa:16:3e:a5:ba:37 brd ff:ff:ff:ff:ff:ff 06:40:36 inet 10.30.122.42/23 brd 10.30.123.255 scope global dynamic eth0 06:40:36 valid_lft 85962sec preferred_lft 85962sec 06:40:36 inet6 fe80::f816:3eff:fea5:ba37/64 scope link 06:40:36 valid_lft forever preferred_lft forever 06:40:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:40:36 link/ether 02:42:74:c3:46:37 brd ff:ff:ff:ff:ff:ff 06:40:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:40:36 valid_lft forever preferred_lft forever 06:40:36 inet6 fe80::42:74ff:fec3:4637/64 scope link 06:40:36 valid_lft forever preferred_lft forever 06:40:36 06:40:36 06:40:36 ---> sar -b -r -n DEV: 06:40:36 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) 06:40:36 06:40:36 06:33:08 LINUX RESTART (2 CPU) 06:40:36 06:40:36 06:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:40:36 06:35:01 17.19 0.67 16.52 0.00 352.56 3092.19 0.00 06:40:36 06:36:01 1.62 0.00 1.62 0.00 0.00 34.31 0.00 06:40:36 06:37:01 0.28 0.00 0.28 0.00 0.00 4.68 0.00 06:40:36 06:38:01 0.20 0.00 0.20 0.00 0.00 2.70 0.00 06:40:36 06:39:01 0.28 0.00 0.28 0.00 0.00 3.26 0.00 06:40:36 06:40:01 0.32 0.00 0.32 0.00 0.00 4.05 0.00 06:40:36 Average: 3.31 0.11 3.20 0.00 58.77 523.60 0.00 06:40:36 06:40:36 06:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:40:36 06:35:01 5468208 0 798132 9.97 2620 1739972 1247052 13.77 565220 1576372 20 06:40:36 06:36:01 5469868 0 796464 9.94 2620 1739980 1204892 13.30 565304 1575960 16 06:40:36 06:37:01 5468164 0 798168 9.97 2620 1739980 1205388 13.31 571164 1571360 8 06:40:36 06:38:01 5468172 0 798152 9.97 2620 1739988 1205148 13.31 571272 1571360 8 06:40:36 06:39:01 5467892 0 798424 9.97 2620 1739996 1205244 13.31 568040 1575856 16 06:40:36 06:40:01 5467644 0 798668 9.97 2620 1740000 1205232 13.31 567920 1575860 12 06:40:36 Average: 5468325 0 798001 9.96 2620 1739986 1212159 13.38 568153 1574461 13 06:40:36 06:40:36 06:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:40:36 06:35:01 eth0 34.09 28.11 50.53 9.84 0.00 0.00 0.00 0.00 06:40:36 06:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:35:01 docker0 11.01 9.53 1.17 25.57 0.00 0.00 0.00 0.00 06:40:36 06:36:01 eth0 1.23 0.10 0.11 0.01 0.00 0.00 0.00 0.00 06:40:36 06:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:37:01 eth0 4.18 2.02 3.43 0.49 0.00 0.00 0.00 0.00 06:40:36 06:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:38:01 eth0 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:39:01 eth0 0.22 0.20 0.08 0.07 0.00 0.00 0.00 0.00 06:40:36 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:40:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 06:40:36 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 Average: eth0 6.66 5.09 9.04 1.74 0.00 0.00 0.00 0.00 06:40:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:40:36 Average: docker0 1.84 1.59 0.20 4.26 0.00 0.00 0.00 0.00 06:40:36 06:40:36 06:40:36 ---> sar -P ALL: 06:40:36 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) 06:40:36 06:40:36 06:33:08 LINUX RESTART (2 CPU) 06:40:36 06:40:36 06:34:01 CPU %user %nice %system %iowait %steal %idle 06:40:36 06:35:01 all 2.04 0.00 1.03 0.94 0.04 95.95 06:40:36 06:35:01 0 2.05 0.00 1.01 1.23 0.05 95.66 06:40:36 06:35:01 1 2.02 0.00 1.06 0.66 0.03 96.24 06:40:36 06:36:01 all 0.12 0.00 0.04 0.00 0.03 99.82 06:40:36 06:36:01 0 0.02 0.00 0.05 0.00 0.03 99.90 06:40:36 06:36:01 1 0.22 0.00 0.03 0.00 0.02 99.73 06:40:36 06:37:01 all 0.12 0.00 0.04 0.00 0.03 99.82 06:40:36 06:37:01 0 0.08 0.00 0.05 0.00 0.03 99.83 06:40:36 06:37:01 1 0.15 0.00 0.03 0.00 0.02 99.80 06:40:36 06:38:01 all 0.13 0.00 0.03 0.00 0.02 99.82 06:40:36 06:38:01 0 0.03 0.00 0.03 0.00 0.03 99.90 06:40:36 06:38:01 1 0.23 0.00 0.02 0.00 0.00 99.75 06:40:36 06:39:01 all 0.20 0.00 0.05 0.00 0.03 99.72 06:40:36 06:39:01 0 0.07 0.00 0.05 0.00 0.05 99.83 06:40:36 06:39:01 1 0.33 0.00 0.05 0.00 0.02 99.60 06:40:36 06:40:01 all 0.16 0.00 0.02 0.00 0.02 99.81 06:40:36 06:40:01 0 0.03 0.00 0.00 0.00 0.02 99.95 06:40:36 06:40:01 1 0.28 0.00 0.03 0.00 0.02 99.67 06:40:36 Average: all 0.46 0.00 0.20 0.16 0.03 99.16 06:40:36 Average: 0 0.38 0.00 0.20 0.20 0.04 99.18 06:40:36 Average: 1 0.54 0.00 0.20 0.11 0.02 99.13 06:40:36 06:40:36 06:40:36