Pull request #354 opened 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 3824d3ab8785cab24e914a746b0c44adb84c1a09+44d1f52cb5c008b70bd9715d74cd5578aa3cca2e (ca1555616e558291c599605fff3c0f4675ec7e0d) Running in Durability level: MAX_SURVIVABILITY 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-ssh8465997975386620200.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh2570679540926354089.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-354/workspace@libs/edgex-global-pipelines # timeout=10 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-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2750289838933498443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1324047067706387669.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1329636647842052741.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-354/workspace@libs/lf-pipelines # timeout=10 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-354/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7007815871166800770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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-688 in /w/workspace/edgexfoundry_device-sdk-c_PR-354 [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-354 # 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-354@tmp/jenkins-gitclient-ssh6731945850878907207.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e into PR head commit 3824d3ab8785cab24e914a746b0c44adb84c1a09 Merge succeeded, producing 3824d3ab8785cab24e914a746b0c44adb84c1a09 Checking out Revision 3824d3ab8785cab24e914a746b0c44adb84c1a09 (PR-354) > 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-354@tmp/jenkins-gitclient-ssh4368355753399978595.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # 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-354@tmp/jenkins-gitclient-ssh3560175042295615203.key > git merge 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # timeout=10 Commit message: "fix: set up for async event push via redis" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:26:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:26:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:26:03 ========================================================= 09:26:03 EdgeX Global Pipelines Version Info 09:26:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:26:04 ------------------- 09:26:04 stable info: 09:26:04 ------------------- 09:26:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:26:04 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 09:26:04 Message: update stable to v1.0.195 09:26:05 ------------------- 09:26:05 experimental info: 09:26:05 ------------------- 09:26:05 Commited By: **** collab-it+edgex@linuxfoundation.org 09:26:05 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 09:26:05 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:26:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:26:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:26:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:26:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:26:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3824d3ab8785cab24e914a746b0c44adb84c1a09 [Pipeline] echo 09:26:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3824d3a [Pipeline] echo 09:26:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:07 provisioning config files... 09:26:07 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/config905127561673127644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:07 ---> docker-login.sh 09:26:07 nexus3.edgexfoundry.org:10001 09:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:07 Configure a credential helper to remove this warning. See 09:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:07 09:26:07 Login Succeeded 09:26:07 nexus3.edgexfoundry.org:10002 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 nexus3.edgexfoundry.org:10003 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 nexus3.edgexfoundry.org:10004 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 docker.io 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 ---> docker-login.sh ends [Pipeline] } 09:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:26:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:10 09:26:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:26:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:11 latest: Pulling from edgex-devops/git-semver 09:26:11 31603596830f: Pulling fs layer 09:26:11 54011a49482f: Pulling fs layer 09:26:11 a6820b24f6d8: Pulling fs layer 09:26:11 f581987b2513: Pulling fs layer 09:26:11 f581987b2513: Waiting 09:26:11 54011a49482f: Verifying Checksum 09:26:11 54011a49482f: Download complete 09:26:11 31603596830f: Verifying Checksum 09:26:11 31603596830f: Download complete 09:26:11 a6820b24f6d8: Verifying Checksum 09:26:11 a6820b24f6d8: Download complete 09:26:11 f581987b2513: Verifying Checksum 09:26:11 f581987b2513: Download complete 09:26:11 31603596830f: Pull complete 09:26:11 54011a49482f: Pull complete 09:26:12 a6820b24f6d8: Pull complete 09:26:12 f581987b2513: Pull complete 09:26:12 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 09:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:26:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:26:12 prd-centos7-docker-4c-2g-688 does not seem to be running inside a container 09:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-354 -v /w/workspace/edgexfoundry_device-sdk-c_PR-354:/w/workspace/edgexfoundry_device-sdk-c_PR-354:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-354@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:26:13 $ docker top 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:26:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:14 [ssh-agent] Looking for ssh-agent implementation... 09:26:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:14 $ docker exec 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 ssh-agent 09:26:14 SSH_AUTH_SOCK=/tmp/ssh-rdJv4Mf0yhTO/agent.14 09:26:14 SSH_AGENT_PID=20 09:26:14 Running ssh-add (command line suppressed) 09:26:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/private_key_1434814343291546853.key (/w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/private_key_1434814343291546853.key) 09:26:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:14 + git tag --points-at HEAD [Pipeline] } 09:26:14 $ docker exec --env ******** --env ******** 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 ssh-agent -k 09:26:15 unset SSH_AUTH_SOCK; 09:26:15 unset SSH_AGENT_PID; 09:26:15 echo Agent pid 20 killed; 09:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:15 [ssh-agent] Looking for ssh-agent implementation... 09:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:15 $ docker exec 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 ssh-agent 09:26:15 SSH_AUTH_SOCK=/tmp/ssh-nmhQAmbUDkoH/agent.54 09:26:15 SSH_AGENT_PID=60 09:26:15 Running ssh-add (command line suppressed) 09:26:15 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/private_key_1013229121555121961.key (/w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/private_key_1013229121555121961.key) 09:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:15 + git semver init 09:26:15 # -> Open(): unable to determine branch for HEAD 09:26:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-354/.git 09:26:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-354 09:26:15 # $SEMVER_REMOTE_NAME = origin 09:26:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:26:15 # $SEMVER_USER_NAME = edgex-jenkins 09:26:15 # $SEMVER_BRANCH = PR-354 09:26:15 # $SEMVER_TEMP = /tmp/semver-868998458 09:26:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:26:16 # '/tmp/semver-868998458' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-354/.semver' 09:26:16 # -> Force: false 09:26:16 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-354/.semver [Pipeline] } 09:26:16 $ docker exec --env ******** --env ******** 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 ssh-agent -k 09:26:16 unset SSH_AUTH_SOCK; 09:26:16 unset SSH_AGENT_PID; 09:26:16 echo Agent pid 60 killed; 09:26:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:17 + git semver [Pipeline] } 09:26:17 $ docker stop --time=1 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 09:26:18 $ docker rm -f 48f380acb92cf24313e5a65d7492e91c0d11abba27a059e6ef231903c71d10e2 [Pipeline] // withDockerContainer [Pipeline] sh 09:26:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:26:19 Stashed 1 file(s) [Pipeline] echo 09:26:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:26:34 Still waiting to schedule task 09:26:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:26:34 Still waiting to schedule task 09:26:34 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-687’ 09:29:25 Running on prd-centos7-docker-4c-2g-689 in /w/workspace/edgexfoundry_device-sdk-c_PR-354 [Pipeline] { [Pipeline] ws 09:29:25 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 09:29:25 Selected Git installation does not exist. Using Default 09:29:25 The recommended git tool is: NONE 09:29:28 using credential edgex-jenkins-ssh 09:29:28 Cloning the remote Git repository 09:29:28 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:29:28 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:29:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:29:28 > git --version # timeout=10 09:29:28 > git --version # 'git version 2.24.4' 09:29:28 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:28 [INFO] Currently running in a labeled security context 09:29:28 [INFO] Currently SELinux is 'enforcing' on the host 09:29:28 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1339041805248608583.key 09:29:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:29 Merging remotes/origin/master commit 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e into PR head commit 3824d3ab8785cab24e914a746b0c44adb84c1a09 09:29:29 Merge succeeded, producing 3824d3ab8785cab24e914a746b0c44adb84c1a09 09:29:29 Checking out Revision 3824d3ab8785cab24e914a746b0c44adb84c1a09 (PR-354) 09:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:29:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:29:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:29 [INFO] Currently running in a labeled security context 09:29:29 [INFO] Currently SELinux is 'enforcing' on the host 09:29:29 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8672152873630714217.key 09:29:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:29:29 > git config core.sparsecheckout # timeout=10 09:29:29 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # timeout=10 09:29:29 > git remote # timeout=10 09:29:29 > git config --get remote.origin.url # timeout=10 09:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:29 [INFO] Currently running in a labeled security context 09:29:29 [INFO] Currently SELinux is 'enforcing' on the host 09:29:29 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3052281305234276545.key 09:29:29 > git merge 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e # timeout=10 09:29:29 > git rev-parse HEAD^{commit} # timeout=10 09:29:29 > git config core.sparsecheckout # timeout=10 09:29:29 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # timeout=10 09:29:33 Commit message: "fix: set up for async event push via redis" 09:29:33 > git --version # timeout=10 09:29:33 > git --version # 'git version 2.24.4' 09:29:33 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:29:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:29:35 + sudo service docker restart 09:29:35 + true 09:29:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:53 provisioning config files... 09:29:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4066429640233952175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:54 ---> docker-login.sh 09:29:54 nexus3.edgexfoundry.org:10001 09:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:54 Configure a credential helper to remove this warning. See 09:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:54 09:29:54 Login Succeeded 09:29:54 nexus3.edgexfoundry.org:10002 09:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:54 Configure a credential helper to remove this warning. See 09:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:54 09:29:54 Login Succeeded 09:29:54 nexus3.edgexfoundry.org:10003 09:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:54 Configure a credential helper to remove this warning. See 09:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:54 09:29:54 Login Succeeded 09:29:54 nexus3.edgexfoundry.org:10004 09:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:55 Configure a credential helper to remove this warning. See 09:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:55 09:29:55 Login Succeeded 09:29:55 docker.io 09:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:29:55 Configure a credential helper to remove this warning. See 09:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:29:55 09:29:55 Login Succeeded 09:29:55 ---> docker-login.sh ends [Pipeline] } 09:29:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:29:55 ========================================================= 09:29:55 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:29:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:29:56 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 09:29:56 Sending build context to Docker daemon 2.631MB 09:29:56 Step 1/25 : ARG BASE=alpine:3.12 09:29:56 Step 2/25 : FROM ${BASE} as builder 09:29:56 latest: Pulling from edgex-devops/edgex-gcc-base 09:29:56 e7c96db7181b: Pulling fs layer 09:29:56 4c13bbce0fe7: Pulling fs layer 09:29:56 6059c847ac2f: Pulling fs layer 09:29:56 4c13bbce0fe7: Verifying Checksum 09:29:56 4c13bbce0fe7: Download complete 09:29:56 e7c96db7181b: Verifying Checksum 09:29:56 e7c96db7181b: Download complete 09:29:56 e7c96db7181b: Pull complete 09:29:57 4c13bbce0fe7: Pull complete 09:29:58 6059c847ac2f: Verifying Checksum 09:29:58 6059c847ac2f: Download complete 09:30:00 6059c847ac2f: Pull complete 09:30:00 Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e 09:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:30:00 ---> 5eabd8fd8ba2 09:30:00 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 09:30:03 ---> Running in e1d607f4edf7 09:30:03 Connecting to iotech.jfrog.io (54.74.239.58:443) 09:30:03 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:30:03 09:30:04 Removing intermediate container e1d607f4edf7 09:30:04 ---> 25e52d805d53 09:30:04 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:30:04 ---> Running in 3863097ab67d 09:30:04 Removing intermediate container 3863097ab67d 09:30:04 ---> 7f80484e9647 09:30:04 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 09:30:05 ---> Running in 99f9131c5a5d 09:30:05 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:30:06 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:30:07 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:30:07 (1/11) Installing hiredis (0.14.0-r0) 09:30:07 (2/11) Installing hiredis-dev (0.14.0-r0) 09:30:07 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 09:30:07 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 09:30:09 (5/11) Installing libuuid (2.33-r0) 09:30:09 (6/11) Installing libblkid (2.33-r0) 09:30:09 (7/11) Installing libfdisk (2.33-r0) 09:30:09 (8/11) Installing libmount (2.33-r0) 09:30:09 (9/11) Installing libsmartcols (2.33-r0) 09:30:10 (10/11) Installing util-linux-dev (2.33-r0) 09:30:10 (11/11) Installing wget (1.20.3-r0) 09:30:10 Executing busybox-1.29.3-r10.trigger 09:30:10 OK: 273 MiB in 86 packages 09:30:10 Removing intermediate container 99f9131c5a5d 09:30:10 ---> 0605964de457 09:30:10 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:30:10 ---> Running in 89de71db5690 09:30:10 Removing intermediate container 89de71db5690 09:30:10 ---> 679d67a92c29 09:30:10 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:30:10 ---> Running in d0087e116572 09:30:11 --2021-06-22 09:30:11-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:30:11 Resolving github.com... 140.82.114.4 09:30:11 Connecting to github.com|140.82.114.4|:443... connected. 09:30:11 HTTP request sent, awaiting response... 302 Found 09:30:11 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:30:11 --2021-06-22 09:30:11-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:30:11 Resolving codeload.github.com... 140.82.114.10 09:30:11 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:30:11 HTTP request sent, awaiting response... 200 OK 09:30:11 Length: unspecified [application/x-gzip] 09:30:11 Saving to: 'STDOUT' 09:30:11 09:30:11 0K .......... .......... .......... .......... .......... 1.64M 09:30:11 50K .......... .......... .......... .......... .......... 3.20M 09:30:11 100K .......... .......... .......... .......... .......... 23.2M 09:30:11 150K .......... .......... .......... .......... .......... 53.9M 09:30:11 200K .......... .......... .......... .......... .......... 3.62M 09:30:11 250K .......... .......... .......... .......... .......... 7.89M 09:30:11 300K .......... .......... .......... .......... .......... 7.47M 09:30:11 350K .......... .......... .......... .......... .......... 13.1M 09:30:11 400K .......... .......... .......... .......... .......... 11.7M 09:30:11 450K .......... .......... .......... .......... .......... 11.9M 09:30:11 500K .......... .......... .......... .......... .......... 24.2M 09:30:11 550K .......... .......... .......... .......... .......... 7.08M 09:30:11 600K .......... .......... .......... .......... .......... 5.38M 09:30:11 650K .......... .......... .......... .......... .......... 7.89M 09:30:11 700K .. 84.3M=0.1s 09:30:11 09:30:11 2021-06-22 09:30:11 (6.21 MB/s) - written to stdout [719348] 09:30:11 09:30:11 -- The C compiler identification is GNU 8.3.0 09:30:11 -- The CXX compiler identification is GNU 8.3.0 09:30:11 -- Check for working C compiler: /usr/bin/cc 09:30:11 -- Check for working C compiler: /usr/bin/cc -- works 09:30:11 -- Detecting C compiler ABI info 09:30:12 -- Detecting C compiler ABI info - done 09:30:12 -- Detecting C compile features 09:30:12 -- Detecting C compile features - done 09:30:12 -- Check for working CXX compiler: /usr/bin/c++ 09:30:12 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:30:12 -- Detecting CXX compiler ABI info 09:30:12 -- Detecting CXX compiler ABI info - done 09:30:12 -- Detecting CXX compile features 09:30:12 -- Detecting CXX compile features - done 09:30:12 -- Looking for include file endian.h 09:30:12 -- Looking for include file endian.h - found 09:30:12 -- Check if the system is big endian 09:30:12 -- Searching 16 bit integer 09:30:12 -- Looking for sys/types.h 09:30:12 -- Looking for sys/types.h - found 09:30:12 -- Looking for stdint.h 09:30:12 -- Looking for stdint.h - found 09:30:12 -- Looking for stddef.h 09:30:12 -- Looking for stddef.h - found 09:30:12 -- Check size of unsigned short 09:30:13 -- Check size of unsigned short - done 09:30:13 -- Using unsigned short 09:30:13 -- Check if the system is big endian - little endian 09:30:13 -- Check size of size_t 09:30:13 -- Check size of size_t - done 09:30:13 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:30:13 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:30:13 asked CMake to find a package configuration file provided by "cJSON", but 09:30:13 CMake did not find one. 09:30:13 09:30:13 Could not find a package configuration file provided by "cJSON" with any of 09:30:13 the following names: 09:30:13 09:30:13 cJSONConfig.cmake 09:30:13 cjson-config.cmake 09:30:13 09:30:13 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:30:13 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:30:13 provides a separate development package or SDK, be sure it has been 09:30:13 installed. 09:30:13 09:30:13 09:30:13 -- Configuring done 09:30:13 -- Generating done 09:30:13 -- Build files have been written to: /tmp/cbor 09:30:13 Scanning dependencies of target cbor_shared 09:30:13 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:30:13 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:30:13 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:30:13 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:30:13 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:30:13 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:30:13 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:30:13 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:30:13 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:30:13 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:30:14 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:30:14 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:30:14 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:30:14 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:30:14 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:30:14 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:30:14 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:30:14 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:30:14 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:30:14 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:30:14 [ 40%] Linking C shared library libcbor.so 09:30:14 [ 40%] Built target cbor_shared 09:30:14 Scanning dependencies of target cbor 09:30:14 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:30:14 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:30:14 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:30:14 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:30:15 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:30:15 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:30:15 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:30:15 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:30:15 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:30:15 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:30:15 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:30:15 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:30:15 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:30:15 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:30:15 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:30:16 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:30:16 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:30:16 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:30:16 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:30:16 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:30:16 [ 80%] Linking C static library libcbor.a 09:30:16 [ 80%] Built target cbor 09:30:16 Scanning dependencies of target create_items 09:30:16 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:30:16 [ 84%] Linking C executable create_items 09:30:16 [ 84%] Built target create_items 09:30:16 Scanning dependencies of target readfile 09:30:16 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:30:16 [ 88%] Linking C executable readfile 09:30:16 [ 88%] Built target readfile 09:30:16 Scanning dependencies of target streaming_parser 09:30:16 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:30:16 [ 92%] Linking C executable streaming_parser 09:30:16 [ 92%] Built target streaming_parser 09:30:16 Scanning dependencies of target sort 09:30:16 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:30:16 [ 96%] Linking C executable sort 09:30:16 [ 96%] Built target sort 09:30:16 Scanning dependencies of target hello 09:30:16 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:30:16 [100%] Linking C executable hello 09:30:16 [100%] Built target hello 09:30:16 Install the project... 09:30:16 -- Install configuration: "Release" 09:30:16 -- Installing: /usr/local/include/cbor/configuration.h 09:30:16 -- Installing: /usr/local/lib64/libcbor.a 09:30:16 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:30:16 -- Installing: /usr/local/lib64/libcbor.so.0 09:30:16 -- Installing: /usr/local/lib64/libcbor.so 09:30:16 -- Up-to-date: /usr/local/include/cbor 09:30:16 -- Installing: /usr/local/include/cbor/arrays.h 09:30:16 -- Installing: /usr/local/include/cbor/bytestrings.h 09:30:16 -- Installing: /usr/local/include/cbor/callbacks.h 09:30:16 -- Installing: /usr/local/include/cbor/common.h 09:30:16 -- Installing: /usr/local/include/cbor/data.h 09:30:16 -- Installing: /usr/local/include/cbor/encoding.h 09:30:16 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:30:16 -- Installing: /usr/local/include/cbor/internal 09:30:16 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:30:16 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:30:16 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:30:16 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:30:16 -- Installing: /usr/local/include/cbor/internal/stack.h 09:30:16 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:30:16 -- Installing: /usr/local/include/cbor/ints.h 09:30:16 -- Installing: /usr/local/include/cbor/maps.h 09:30:16 -- Installing: /usr/local/include/cbor/serialization.h 09:30:16 -- Installing: /usr/local/include/cbor/streaming.h 09:30:16 -- Installing: /usr/local/include/cbor/strings.h 09:30:16 -- Installing: /usr/local/include/cbor/tags.h 09:30:16 -- Installing: /usr/local/include/cbor.h 09:30:16 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:30:17 Removing intermediate container d0087e116572 09:30:17 ---> 34a46c7f4c07 09:30:17 Step 8/25 : RUN mkdir /tmp/sdk 09:30:17 ---> Running in 87fd5265b1d2 09:30:18 Removing intermediate container 87fd5265b1d2 09:30:18 ---> 52d7bec0aa67 09:30:18 Step 9/25 : COPY VERSION /tmp/sdk 09:30:18 ---> 5e86f5b5c317 09:30:18 Step 10/25 : COPY src /tmp/sdk/src 09:30:18 ---> 84b4d32c7a02 09:30:18 Step 11/25 : COPY include /tmp/sdk/include 09:30:18 ---> bbbf5c2cc3fe 09:30:18 Step 12/25 : COPY scripts /tmp/sdk/scripts 09:30:18 ---> 35c1e874c089 09:30:18 Step 13/25 : COPY LICENSE /tmp/sdk 09:30:19 ---> e23928b8e1f9 09:30:19 Step 14/25 : COPY Attribution.txt /tmp/sdk 09:30:19 ---> f1f24d12d1d9 09:30:19 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:30:19 ---> Running in a331f34cfb2a 09:30:19 + CPPCHECK=false 09:30:19 + DOCGEN=false 09:30:19 + TOMLVER=SDK-0.2 09:30:19 + CUTILVER=1.1.4 09:30:19 + '[' 0 -gt 0 ] 09:30:19 + readlink -f ./scripts/build.sh 09:30:19 + dirname /tmp/sdk/scripts/build.sh 09:30:19 + dirname /tmp/sdk/scripts 09:30:19 + ROOT=/tmp/sdk 09:30:19 + cd /tmp/sdk 09:30:19 + '[' '!' -d deps ] 09:30:19 + mkdir deps 09:30:19 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:30:19 + tar -C deps -z -x -f - 09:30:19 --2021-06-22 09:30:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:30:19 Resolving github.com... 140.82.114.4 09:30:19 Connecting to github.com|140.82.114.4|:443... connected. 09:30:19 HTTP request sent, awaiting response... 302 Found 09:30:19 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:30:19 --2021-06-22 09:30:19-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:30:19 Resolving codeload.github.com... 140.82.114.10 09:30:19 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:30:19 HTTP request sent, awaiting response... 200 OK 09:30:19 Length: unspecified [application/x-gzip] 09:30:19 Saving to: 'STDOUT' 09:30:19 09:30:19 0K .......... ...... 1.06M=0.01s 09:30:19 09:30:19 2021-06-22 09:30:19 (1.06 MB/s) - written to stdout [16451] 09:30:19 09:30:19 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:30:19 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:30:19 + tar -C deps -z -x -f - 09:30:19 --2021-06-22 09:30:19-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:30:19 Resolving github.com... 140.82.114.4 09:30:19 Connecting to github.com|140.82.114.4|:443... connected. 09:30:20 HTTP request sent, awaiting response... 302 Found 09:30:20 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 09:30:20 --2021-06-22 09:30:19-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 09:30:20 Resolving codeload.github.com... 140.82.114.10 09:30:20 Connecting to codeload.github.com|140.82.114.10|:443... connected. 09:30:20 HTTP request sent, awaiting response... 200 OK 09:30:20 Length: unspecified [application/x-gzip] 09:30:20 Saving to: 'STDOUT' 09:30:20  09:30:20 0K .......... .......... .......... .......... .......... 1.62M 09:30:20 50K .......... .......... .......... .......... .......... 3.36M 09:30:20 100K .......... .......... .......... .......... .......... 46.0M 09:30:20 150K .......... .......... ....... 4.83M=0.05s 09:30:20 09:30:20 2021-06-22 09:30:20 (3.38 MB/s) - written to stdout [181796] 09:30:20 09:30:20 + mkdir -p src/c/iot 09:30:20 + 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 09:30:20 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 09:30:20 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 09:30:20 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 09:30:20 + mkdir -p include/iot 09:30:20 + 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 09:30:20 + mkdir -p include/iot/os 09:30:20 + 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 09:30:20 + mkdir -p /tmp/sdk/build/release 09:30:20 + cd /tmp/sdk/build/release 09:30:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:30:20 -- The C compiler identification is GNU 8.3.0 09:30:20 -- Check for working C compiler: /usr/bin/cc 09:30:20 -- Check for working C compiler: /usr/bin/cc -- works 09:30:20 -- Detecting C compiler ABI info 09:30:20 -- Detecting C compiler ABI info - done 09:30:20 -- Detecting C compile features 09:30:20 -- Detecting C compile features - done 09:30:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:30:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:30:20 -- Found LIBYAML: /usr/lib/libyaml.so 09:30:20 -- Found LIBUUID: /usr/lib/libuuid.so 09:30:20 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:30:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:30:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:30:20 -- C SDK 0.0.0 for Linux 09:30:20 -- Performing Test CSDK_HAVE_ATOMIC 09:30:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:30:20 -- Found Curses: /usr/lib/libcurses.so 09:30:20 -- Configuring done 09:30:20 -- Generating done 09:30:20 -- Build files have been written to: /tmp/sdk/build/release 09:30:20 + make all package 09:30:20 + tee release.log 09:30:20 Scanning dependencies of target csdk 09:30:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:30:20 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:30:20 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:30:21 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:30:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:30:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:30:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:30:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:30:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:30:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:30:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:30:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:30:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:30:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:30:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:30:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:30:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:30:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:30:23 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:30:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:30:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:30:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:30:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:30:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:30:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:30:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:30:24 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:30:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:30:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:30:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:30:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:30:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:30:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:30:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:30:25 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:30:25 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:30:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:30:26 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:30:26 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:30:26 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:30:26 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:30:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:30:26 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:30:27 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:30:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:30:27 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:30:27 [ 74%] Linking C shared library libcsdk.so 09:30:27 [ 74%] Built target csdk 09:30:27 Scanning dependencies of target template 09:30:27 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:30:28 [ 77%] Linking C executable template 09:30:28 [ 77%] Built target template 09:30:28 Scanning dependencies of target device-counter 09:30:28 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:30:28 [ 80%] Linking C executable device-counter 09:30:28 [ 80%] Built target device-counter 09:30:28 Scanning dependencies of target device-random 09:30:28 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:30:28 [ 84%] Linking C executable device-random 09:30:28 [ 84%] Built target device-random 09:30:28 Scanning dependencies of target device-gyro 09:30:28 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:30:28 [ 87%] Linking C executable device-gyro 09:30:28 [ 87%] Built target device-gyro 09:30:28 Scanning dependencies of target device-bitfields 09:30:28 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:30:28 [ 90%] Linking C executable device-bitfields 09:30:28 [ 90%] Built target device-bitfields 09:30:28 Scanning dependencies of target template-discovery 09:30:28 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:30:28 [ 93%] Linking C executable template-discovery 09:30:28 [ 93%] Built target template-discovery 09:30:28 Scanning dependencies of target device-file 09:30:28 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:30:28 [ 96%] Linking C executable device-file 09:30:28 [ 96%] Built target device-file 09:30:28 Scanning dependencies of target device-terminal 09:30:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:30:28 [100%] Linking C executable device-terminal 09:30:29 [100%] Built target device-terminal 09:30:29 Run CPack packaging tool... 09:30:29 CPack: Create package using TGZ 09:30:29 CPack: Install projects 09:30:29 CPack: - Run preinstall target for: Csdk 09:30:29 CPack: - Install project: Csdk 09:30:29 CPack: Create package 09:30:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:30:29 + '[' false '=' true ] 09:30:29 + '[' false '=' true ] 09:30:29 + mkdir -p /tmp/sdk/build/debug 09:30:29 + cd /tmp/sdk/build/debug 09:30:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:30:29 -- The C compiler identification is GNU 8.3.0 09:30:29 -- Check for working C compiler: /usr/bin/cc 09:30:29 -- Check for working C compiler: /usr/bin/cc -- works 09:30:29 -- Detecting C compiler ABI info 09:30:29 -- Detecting C compiler ABI info - done 09:30:29 -- Detecting C compile features 09:30:29 -- Detecting C compile features - done 09:30:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:30:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:30:29 -- Found LIBYAML: /usr/lib/libyaml.so 09:30:29 -- Found LIBUUID: /usr/lib/libuuid.so 09:30:29 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:30:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:30:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:30:29 -- C SDK 0.0.0 for Linux 09:30:29 -- Performing Test CSDK_HAVE_ATOMIC 09:30:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:30:29 -- Found Curses: /usr/lib/libcurses.so 09:30:29 -- Configuring done 09:30:29 -- Generating done 09:30:30 -- Build files have been written to: /tmp/sdk/build/debug 09:30:30 + + teemake 09:30:30 debug.log 09:30:30 Scanning dependencies of target csdk 09:30:30 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:30:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:30:30 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:30:30 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:30:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:30:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:30:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:30:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-690 in /w/workspace/edgexfoundry_device-sdk-c_PR-354 [Pipeline] { [Pipeline] ws 09:30:30 Running in /w/workspace/device-sdk-c/1 [Pipeline] { 09:30:30 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:30:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:30:30 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:30:30 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] checkout 09:30:30 Selected Git installation does not exist. Using Default 09:30:30 The recommended git tool is: NONE 09:30:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:30:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:30:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:30:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:30:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:30:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:30:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:30:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:30:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:30:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:30:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:30:31 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:30:31 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:30:31 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:30:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:30:31 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:30:31 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:30:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:30:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:30:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:30:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:30:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:30:32 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:30:32 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:30:32 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:30:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:30:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:30:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:30:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:30:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:30:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:30:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:30:32 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:30:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:30:33 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:30:33 [ 74%] Linking C shared library libcsdk.so 09:30:33 [ 74%] Built target csdk 09:30:33 Scanning dependencies of target template 09:30:33 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:30:33 [ 77%] Linking C executable template 09:30:33 [ 77%] Built target template 09:30:33 Scanning dependencies of target device-counter 09:30:33 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:30:33 [ 80%] Linking C executable device-counter 09:30:33 [ 80%] Built target device-counter 09:30:33 Scanning dependencies of target device-random 09:30:33 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:30:33 [ 84%] Linking C executable device-random 09:30:33 [ 84%] Built target device-random 09:30:33 Scanning dependencies of target device-gyro 09:30:33 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:30:33 [ 87%] Linking C executable device-gyro 09:30:33 [ 87%] Built target device-gyro 09:30:33 Scanning dependencies of target device-bitfields 09:30:33 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:30:33 [ 90%] Linking C executable device-bitfields 09:30:33 [ 90%] Built target device-bitfields 09:30:33 Scanning dependencies of target template-discovery 09:30:33 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:30:34 [ 93%] Linking C executable template-discovery 09:30:34 [ 93%] Built target template-discovery 09:30:34 Scanning dependencies of target device-file 09:30:34 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:30:34 [ 96%] Linking C executable device-file 09:30:34 [ 96%] Built target device-file 09:30:34 Scanning dependencies of target device-terminal 09:30:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:30:34 [100%] Linking C executable device-terminal 09:30:34 [100%] Built target device-terminal 09:30:34 make: Entering directory '/tmp/sdk/build/release' 09:30:34 make[1]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 74%] Built target csdk 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 77%] Built target template 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 80%] Built target device-counter 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 84%] Built target device-random 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 87%] Built target device-gyro 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 90%] Built target device-bitfields 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 93%] Built target template-discovery 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [ 96%] Built target device-file 09:30:34 make[2]: Entering directory '/tmp/sdk/build/release' 09:30:34 make[2]: Leaving directory '/tmp/sdk/build/release' 09:30:34 [100%] Built target device-terminal 09:30:34 make[1]: Leaving directory '/tmp/sdk/build/release' 09:30:34 Install the project... 09:30:34 -- Install configuration: "Release" 09:30:34 -- Installing: /usr/local/lib/libcsdk.so 09:30:34 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:30:34 -- Up-to-date: /usr/local/include 09:30:34 -- Installing: /usr/local/include/devsdk 09:30:34 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:30:34 -- Installing: /usr/local/include/devsdk/devsdk.h 09:30:34 -- Installing: /usr/local/include/edgex 09:30:34 -- Installing: /usr/local/include/edgex/devices.h 09:30:34 -- Installing: /usr/local/include/edgex/edgex-base.h 09:30:34 -- Installing: /usr/local/include/edgex/edgex.h 09:30:34 -- Installing: /usr/local/include/edgex/profiles.h 09:30:34 -- Installing: /usr/local/include/edgex/rest-server.h 09:30:34 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:30:34 -- Installing: /usr/local/include/iot 09:30:34 -- Installing: /usr/local/include/iot/base64.h 09:30:34 -- Installing: /usr/local/include/iot/component.h 09:30:34 -- Installing: /usr/local/include/iot/config.h 09:30:34 -- Installing: /usr/local/include/iot/container.h 09:30:34 -- Installing: /usr/local/include/iot/data.h 09:30:34 -- Installing: /usr/local/include/iot/hash.h 09:30:34 -- Installing: /usr/local/include/iot/iot.h 09:30:34 -- Installing: /usr/local/include/iot/json.h 09:30:34 -- Installing: /usr/local/include/iot/logger.h 09:30:34 -- Installing: /usr/local/include/iot/os.h 09:30:34 -- Installing: /usr/local/include/iot/scheduler.h 09:30:34 -- Installing: /usr/local/include/iot/thread.h 09:30:34 -- Installing: /usr/local/include/iot/threadpool.h 09:30:34 -- Installing: /usr/local/include/iot/time.h 09:30:34 -- Installing: /usr/local/include/iot/typecode.h 09:30:34 -- Installing: /usr/local/include/iot/os 09:30:34 -- Installing: /usr/local/include/iot/os/linux.h 09:30:34 -- Installing: /usr/local/include/iot/os/macos.h 09:30:34 -- Installing: /usr/local/include/iot/os/zephyr.h 09:30:34 -- Installing: /usr/local/include/iot/defs.h 09:30:34 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:30:34 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:30:34 make: Leaving directory '/tmp/sdk/build/release' 09:30:35 Removing intermediate container a331f34cfb2a 09:30:35 ---> 0bca4f6cb880 09:30:35 Step 16/25 : FROM ${BASE} 09:30:35 ---> 5eabd8fd8ba2 09:30:35 Step 17/25 : LABEL maintainer="IOTech " 09:30:35 ---> Running in edd8b7b80e50 09:30:35 using credential edgex-jenkins-ssh 09:30:35 Cloning the remote Git repository 09:30:35 Removing intermediate container edd8b7b80e50 09:30:35 ---> 31343ec323d6 09:30:35 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 09:30:35 ---> Running in ddc9f69c5fce 09:30:36 Connecting to iotech.jfrog.io (54.72.115.12:443) 09:30:36 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:30:36 09:30:35 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:30:35 > git init /w/workspace/device-sdk-c/1 # timeout=10 09:30:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:30:36 > git --version # timeout=10 09:30:36 > git --version # 'git version 2.17.1' 09:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:37 Removing intermediate container ddc9f69c5fce 09:30:37 ---> c8109ab23afc 09:30:37 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:30:37 ---> Running in 627e920636cb 09:30:37 Removing intermediate container 627e920636cb 09:30:37 ---> 67f8c818c665 09:30:37 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 09:30:38 Merging remotes/origin/master commit 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e into PR head commit 3824d3ab8785cab24e914a746b0c44adb84c1a09 09:30:38 ---> Running in ac9bbbfe2eb9 09:30:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:30:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:30:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:30:37 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:38 > git config core.sparsecheckout # timeout=10 09:30:38 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # timeout=10 09:30:38 Merge succeeded, producing 3824d3ab8785cab24e914a746b0c44adb84c1a09 09:30:38 Checking out Revision 3824d3ab8785cab24e914a746b0c44adb84c1a09 (PR-354) 09:30:38 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:30:39 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:30:38 > git remote # timeout=10 09:30:38 > git config --get remote.origin.url # timeout=10 09:30:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:38 > git merge 44d1f52cb5c008b70bd9715d74cd5578aa3cca2e # timeout=10 09:30:38 > git rev-parse HEAD^{commit} # timeout=10 09:30:38 > git config core.sparsecheckout # timeout=10 09:30:38 > git checkout -f 3824d3ab8785cab24e914a746b0c44adb84c1a09 # timeout=10 09:30:39 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:30:40 (1/6) Installing curl (7.64.0-r5) 09:30:40 (2/6) Installing hiredis (0.14.0-r0) 09:30:40 (3/6) Installing hiredis-dev (0.14.0-r0) 09:30:40 (4/6) Installing libuuid (2.33-r0) 09:30:40 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 09:30:41 (6/6) Installing wget (1.20.3-r0) 09:30:42 Executing busybox-1.29.3-r10.trigger 09:30:42 OK: 269 MiB in 81 packages 09:30:42 Removing intermediate container ac9bbbfe2eb9 09:30:42 ---> e0376ee87700 09:30:42 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:30:42 ---> e27c784ef744 09:30:42 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:30:42 Commit message: "fix: set up for async event push via redis" 09:30:42 > git --version # timeout=10 09:30:42 > git --version # 'git version 2.17.1' 09:30:42 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 09:30:42 ---> 5a94d3e99c84 09:30:42 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 09:30:42 ---> 7e81368a7ff8 09:30:42 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:30:42 ---> 74499b601122 09:30:42 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:30:43 ---> 85b535e1bfac 09:30:43 Successfully built 85b535e1bfac 09:30:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 09:30:44 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:30:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:30:44 + docker inspect -f . ci-base-image-x86_64 09:30:44 . [Pipeline] withDockerContainer 09:30:44 prd-centos7-docker-4c-2g-689 does not seem to be running inside a container 09:30:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-x86_64 cat 09:30:44 + true 09:30:44 + sudo service docker restart 09:30:45 $ docker top 2c53e25538be42a888a5a72a7f48ea7d6426ffa921292615d7773a1782a4f28d -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:45 + make test 09:30:45 echo "make test" 09:30:45 make test [Pipeline] } 09:30:45 $ docker stop --time=1 2c53e25538be42a888a5a72a7f48ea7d6426ffa921292615d7773a1782a4f28d 09:30:46 $ docker rm -f 2c53e25538be42a888a5a72a7f48ea7d6426ffa921292615d7773a1782a4f28d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:50 + ls -al . 09:30:50 total 160 09:30:50 drwxrwxr-x. 8 jenkins jenkins 260 Jun 22 09:29 . 09:30:50 drwxrwxr-x. 4 jenkins jenkins 28 Jun 22 09:29 .. 09:30:50 -rw-rw-r--. 1 jenkins jenkins 3104 Jun 22 09:29 Attribution.txt 09:30:50 -rw-rw-r--. 1 jenkins jenkins 7509 Jun 22 09:29 CHANGES 09:30:50 drwxrwxr-x. 2 jenkins jenkins 121 Jun 22 09:29 docs 09:30:50 -rw-rw-r--. 1 jenkins jenkins 108574 Jun 22 09:29 Doxyfile 09:30:50 drwxrwxr-x. 8 jenkins jenkins 179 Jun 22 09:29 .git 09:30:50 drwxrwxr-x. 2 jenkins jenkins 81 Jun 22 09:29 .github 09:30:50 -rw-rw-r--. 1 jenkins jenkins 176 Jun 22 09:29 .gitignore 09:30:50 drwxrwxr-x. 4 jenkins jenkins 33 Jun 22 09:29 include 09:30:50 -rw-rw-r--. 1 jenkins jenkins 784 Jun 22 09:29 Jenkinsfile 09:30:50 -rw-rw-r--. 1 jenkins jenkins 10174 Jun 22 09:29 LICENSE 09:30:50 -rw-rw-r--. 1 jenkins jenkins 444 Jun 22 09:29 Makefile 09:30:50 -rw-rw-r--. 1 jenkins jenkins 4090 Jun 22 09:29 README.md 09:30:50 -rw-rw-r--. 1 jenkins jenkins 7090 Jun 22 09:29 README.v2.md 09:30:50 drwxrwxr-x. 2 jenkins jenkins 98 Jun 22 09:29 scripts 09:30:50 drwxrwxr-x. 4 jenkins jenkins 50 Jun 22 09:29 src 09:30:50 -rw-rw-r--. 1 jenkins jenkins 5 Jun 22 09:26 VERSION [Pipeline] isUnix [Pipeline] sh 09:30:51 + 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=3824d3ab8785cab24e914a746b0c44adb84c1a09 --label arch=amd64 --label version=0.0.0 . 09:30:51 Sending build context to Docker daemon 2.631MB 09:30:51 Step 1/17 : ARG BASE=alpine:3.12 09:30:51 Step 2/17 : FROM ${BASE} 09:30:51 ---> 85b535e1bfac 09:30:51 Step 3/17 : LABEL maintainer="IOTech " 09:30:51 ---> Running in 34e3576716aa 09:30:51 Removing intermediate container 34e3576716aa 09:30:51 ---> 14fb2791a0dc 09:30:51 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 09:30:51 ---> Running in 0791a10f04dc 09:30:51 --2021-06-22 09:30:51-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 09:30:51 Resolving iotech.jfrog.io... 54.72.115.12, 54.74.239.58, 34.243.182.113 09:30:51 Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. 09:30:52 HTTP request sent, awaiting response... 200 OK 09:30:52 Length: 451 [application/octet-stream] 09:30:52 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 09:30:52 09:30:52 0K 100% 78.8M=0s 09:30:52 09:30:52 2021-06-22 09:30:51 (78.8 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 09:30:52 09:30:52 Removing intermediate container 0791a10f04dc 09:30:52 ---> 61b9de9ee374 09:30:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:30:52 ---> Running in f52582ed638f 09:30:53 Removing intermediate container f52582ed638f 09:30:53 ---> 4ee5c99651d0 09:30:53 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 09:30:53 ---> Running in 918ceacc55e8 09:30:53 fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 09:30:54 fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz 09:30:54 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 09:30:54 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:30:55 (2/6) Installing libblkid (2.33-r0) 09:30:55 (3/6) Installing libfdisk (2.33-r0) 09:30:55 (4/6) Installing libmount (2.33-r0) 09:30:55 (5/6) Installing libsmartcols (2.33-r0) 09:30:55 (6/6) Installing util-linux-dev (2.33-r0) 09:30:55 Executing busybox-1.29.3-r10.trigger 09:30:55 OK: 273 MiB in 87 packages 09:30:55 Removing intermediate container 918ceacc55e8 09:30:55 ---> b5fac4370748 09:30:55 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:30:56 ---> 08ff8b36dfb8 09:30:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:30:56 ---> a3cdd74e4cde 09:30:56 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:30:56 ---> 0dbd932cb40a 09:30:56 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:30:56 ---> d96a2f2fb8ed 09:30:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:30:56 ---> ec2232425ac8 09:30:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:30:56 ---> df185d14eb24 09:30:56 Step 13/17 : WORKDIR /edgex-c-sdk 09:30:57 ---> Running in e50207fccab2 09:30:57 Removing intermediate container e50207fccab2 09:30:57 ---> 1694144386ee 09:30:57 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:30:57 ---> Running in 457fe9341a34 09:30:57 Removing intermediate container 457fe9341a34 09:30:57 ---> 7454ab8a09fa 09:30:57 Step 15/17 : LABEL arch=amd64 09:30:57 ---> Running in 3bc1b1ae52c5 09:30:57 Removing intermediate container 3bc1b1ae52c5 09:30:57 ---> 2d0b30bc1dbf 09:30:57 Step 16/17 : LABEL git_sha=3824d3ab8785cab24e914a746b0c44adb84c1a09 09:30:57 ---> Running in 15196764c1c1 09:30:57 Removing intermediate container 15196764c1c1 09:30:57 ---> 8cde0b1f2a7d 09:30:57 Step 17/17 : LABEL version=0.0.0 09:30:57 ---> Running in 896c148b64bc 09:30:57 Removing intermediate container 896c148b64bc 09:30:57 ---> 61ef4c4eccaf 09:30:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:30:57 Successfully built 61ef4c4eccaf 09:30:57 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:31:03 provisioning config files... 09:31:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8355722263607886403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:03 ---> docker-login.sh 09:31:03 nexus3.edgexfoundry.org:10001 09:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:05 Configure a credential helper to remove this warning. See 09:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:05 09:31:05 Login Succeeded 09:31:05 nexus3.edgexfoundry.org:10002 09:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:05 Configure a credential helper to remove this warning. See 09:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:05 09:31:05 Login Succeeded 09:31:05 nexus3.edgexfoundry.org:10003 09:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:06 Configure a credential helper to remove this warning. See 09:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:06 09:31:06 Login Succeeded 09:31:06 nexus3.edgexfoundry.org:10004 09:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:06 Configure a credential helper to remove this warning. See 09:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:06 09:31:06 Login Succeeded 09:31:06 docker.io 09:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:07 Configure a credential helper to remove this warning. See 09:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:07 09:31:07 Login Succeeded 09:31:07 ---> docker-login.sh ends [Pipeline] } 09:31:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:31:08 ========================================================= 09:31:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:31:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:31:08 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 09:31:08 Sending build context to Docker daemon 2.63MB 09:31:09 Step 1/25 : ARG BASE=alpine:3.12 09:31:09 Step 2/25 : FROM ${BASE} as builder 09:31:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:31:09 0362ad1dd800: Pulling fs layer 09:31:09 f2cdb1532d8b: Pulling fs layer 09:31:09 37ed683be191: Pulling fs layer 09:31:09 f2cdb1532d8b: Download complete 09:31:09 0362ad1dd800: Verifying Checksum 09:31:09 0362ad1dd800: Download complete 09:31:10 0362ad1dd800: Pull complete 09:31:10 f2cdb1532d8b: Pull complete 09:31:12 37ed683be191: Verifying Checksum 09:31:12 37ed683be191: Download complete 09:31:22 37ed683be191: Pull complete 09:31:22 Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f 09:31:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:31:22 ---> b23d30803547 09:31:22 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 09:31:22 ---> Running in 78ef80282785 09:31:23 Connecting to iotech.jfrog.io (34.243.182.113:443) 09:31:24 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:31:24 09:31:25 Removing intermediate container 78ef80282785 09:31:25 ---> b7c975f74cf4 09:31:25 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:31:25 ---> Running in b962ca5e27ba 09:31:27 Removing intermediate container b962ca5e27ba 09:31:27 ---> 1dfafe1570b6 09:31:27 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 09:31:27 ---> Running in 7bc168e859aa 09:31:28 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:31:29 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:31:29 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:31:30 (1/11) Installing hiredis (0.14.0-r0) 09:31:30 (2/11) Installing hiredis-dev (0.14.0-r0) 09:31:30 (3/11) Installing ncurses-dev (6.1_p20190105-r0) 09:31:30 (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) 09:31:32 (5/11) Installing libuuid (2.33-r0) 09:31:32 (6/11) Installing libblkid (2.33-r0) 09:31:32 (7/11) Installing libfdisk (2.33-r0) 09:31:32 (8/11) Installing libmount (2.33-r0) 09:31:32 (9/11) Installing libsmartcols (2.33-r0) 09:31:32 (10/11) Installing util-linux-dev (2.33-r0) 09:31:33 (11/11) Installing wget (1.20.3-r0) 09:31:33 Executing busybox-1.29.3-r10.trigger 09:31:33 OK: 287 MiB in 86 packages 09:31:34 Removing intermediate container 7bc168e859aa 09:31:34 ---> 00ba5d21bb95 09:31:34 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:31:34 ---> Running in 229ac80fc7d3 09:31:35 Removing intermediate container 229ac80fc7d3 09:31:35 ---> 9e947b552758 09:31:35 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 09:31:35 ---> Running in 2a21d693538b 09:31:36 --2021-06-22 09:31:36-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:31:36 Resolving github.com... 140.82.112.4 09:31:36 Connecting to github.com|140.82.112.4|:443... connected. 09:31:36 HTTP request sent, awaiting response... 302 Found 09:31:36 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:31:36 --2021-06-22 09:31:36-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:31:36 Resolving codeload.github.com... 140.82.114.9 09:31:36 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:31:37 HTTP request sent, awaiting response... 200 OK 09:31:37 Length: 719348 (702K) [application/x-gzip] 09:31:37 Saving to: 'STDOUT' 09:31:37 09:31:37 0K .......... .......... .......... .......... .......... 7% 1.30M 0s 09:31:37 50K .......... .......... .......... .......... .......... 14% 2.59M 0s 09:31:37 100K .......... .......... .......... .......... .......... 21% 43.7M 0s 09:31:37 150K .......... .......... .......... .......... .......... 28% 2.89M 0s 09:31:37 200K .......... .......... .......... .......... .......... 35% 15.6M 0s 09:31:37 250K .......... .......... .......... .......... .......... 42% 3.19M 0s 09:31:37 300K .......... .......... .......... .......... .......... 49% 27.4M 0s 09:31:37 350K .......... .......... .......... .......... .......... 56% 6.34M 0s 09:31:37 400K .......... .......... .......... .......... .......... 64% 3.99M 0s 09:31:37 450K .......... .......... .......... .......... .......... 71% 4.38M 0s 09:31:37 500K .......... .......... .......... .......... .......... 78% 7.08M 0s 09:31:37 550K .......... .......... .......... .......... .......... 85% 11.3M 0s 09:31:37 600K .......... .......... .......... .......... .......... 92% 947K 0s 09:31:37 650K .......... .......... .......... .......... .......... 99% 1.97M 0s 09:31:37 700K .. 100% 4746G=0.2s 09:31:37 09:31:37 2021-06-22 09:31:37 (3.20 MB/s) - written to stdout [719348/719348] 09:31:37 09:31:37 -- The C compiler identification is GNU 8.3.0 09:31:37 -- The CXX compiler identification is GNU 8.3.0 09:31:37 -- Check for working C compiler: /usr/bin/cc 09:31:38 -- Check for working C compiler: /usr/bin/cc -- works 09:31:38 -- Detecting C compiler ABI info 09:31:38 -- Detecting C compiler ABI info - done 09:31:38 -- Detecting C compile features 09:31:39 -- Detecting C compile features - done 09:31:39 -- Check for working CXX compiler: /usr/bin/c++ 09:31:39 -- Check for working CXX compiler: /usr/bin/c++ -- works 09:31:39 -- Detecting CXX compiler ABI info 09:31:39 -- Detecting CXX compiler ABI info - done 09:31:39 -- Detecting CXX compile features 09:31:41 -- Detecting CXX compile features - done 09:31:41 -- Looking for include file endian.h 09:31:41 -- Looking for include file endian.h - found 09:31:41 -- Check if the system is big endian 09:31:41 -- Searching 16 bit integer 09:31:41 -- Looking for sys/types.h 09:31:41 -- Looking for sys/types.h - found 09:31:41 -- Looking for stdint.h 09:31:41 -- Looking for stdint.h - found 09:31:41 -- Looking for stddef.h 09:31:42 -- Looking for stddef.h - found 09:31:42 -- Check size of unsigned short 09:31:42 -- Check size of unsigned short - done 09:31:42 -- Using unsigned short 09:31:42 -- Check if the system is big endian - little endian 09:31:42 -- Check size of size_t 09:31:42 -- Check size of size_t - done 09:31:42 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:31:42 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:31:42 asked CMake to find a package configuration file provided by "cJSON", but 09:31:42 CMake did not find one. 09:31:42 09:31:42 Could not find a package configuration file provided by "cJSON" with any of 09:31:42 the following names: 09:31:42 09:31:42 cJSONConfig.cmake 09:31:42 cjson-config.cmake 09:31:42 09:31:42 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:31:42 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:31:42 provides a separate development package or SDK, be sure it has been 09:31:42 installed. 09:31:42 09:31:42 09:31:42 -- Configuring done 09:31:43 -- Generating done 09:31:43 -- Build files have been written to: /tmp/cbor 09:31:43 Scanning dependencies of target cbor_shared 09:31:43 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:31:44 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:31:44 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:31:44 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:31:45 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:31:45 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:31:45 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:31:46 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:31:46 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:31:46 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:31:47 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:31:47 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:31:47 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:31:47 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:31:48 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:31:48 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:31:48 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:31:49 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:31:49 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:31:49 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:31:49 [ 40%] Linking C shared library libcbor.so 09:31:49 [ 40%] Built target cbor_shared 09:31:49 Scanning dependencies of target cbor 09:31:49 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:31:50 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:31:51 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:31:51 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:31:52 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:31:52 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:31:53 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:31:53 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:31:53 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:31:53 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:31:54 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:31:54 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:31:55 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:31:55 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:31:55 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:31:55 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:31:56 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:31:56 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:31:56 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:31:56 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:31:57 [ 80%] Linking C static library libcbor.a 09:31:57 [ 80%] Built target cbor 09:31:57 Scanning dependencies of target create_items 09:31:57 [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:31:57 [ 84%] Linking C executable create_items 09:31:57 [ 84%] Built target create_items 09:31:57 Scanning dependencies of target readfile 09:31:57 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:31:57 [ 88%] Linking C executable readfile 09:31:58 [ 88%] Built target readfile 09:31:58 Scanning dependencies of target streaming_parser 09:31:58 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:31:58 [ 92%] Linking C executable streaming_parser 09:31:58 [ 92%] Built target streaming_parser 09:31:58 Scanning dependencies of target sort 09:31:58 [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:31:58 [ 96%] Linking C executable sort 09:31:58 [ 96%] Built target sort 09:31:58 Scanning dependencies of target hello 09:31:58 [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:31:58 [100%] Linking C executable hello 09:31:58 [100%] Built target hello 09:31:58 Install the project... 09:31:58 -- Install configuration: "Release" 09:31:58 -- Installing: /usr/local/include/cbor/configuration.h 09:31:58 -- Installing: /usr/local/lib64/libcbor.a 09:31:58 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:31:58 -- Installing: /usr/local/lib64/libcbor.so.0 09:31:58 -- Installing: /usr/local/lib64/libcbor.so 09:31:58 -- Up-to-date: /usr/local/include/cbor 09:31:58 -- Installing: /usr/local/include/cbor/streaming.h 09:31:58 -- Installing: /usr/local/include/cbor/ints.h 09:31:58 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:31:58 -- Installing: /usr/local/include/cbor/bytestrings.h 09:31:58 -- Installing: /usr/local/include/cbor/encoding.h 09:31:58 -- Installing: /usr/local/include/cbor/serialization.h 09:31:58 -- Installing: /usr/local/include/cbor/data.h 09:31:58 -- Installing: /usr/local/include/cbor/common.h 09:31:58 -- Installing: /usr/local/include/cbor/callbacks.h 09:31:58 -- Installing: /usr/local/include/cbor/strings.h 09:31:58 -- Installing: /usr/local/include/cbor/tags.h 09:31:58 -- Installing: /usr/local/include/cbor/internal 09:31:58 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:31:58 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:31:58 -- Installing: /usr/local/include/cbor/internal/stack.h 09:31:58 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:31:58 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:31:58 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:31:58 -- Installing: /usr/local/include/cbor/arrays.h 09:31:58 -- Installing: /usr/local/include/cbor/maps.h 09:31:58 -- Installing: /usr/local/include/cbor.h 09:31:58 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:32:00 Removing intermediate container 2a21d693538b 09:32:00 ---> 3ab9419074de 09:32:00 Step 8/25 : RUN mkdir /tmp/sdk 09:32:01 ---> Running in 5789c37e30d4 09:32:03 Removing intermediate container 5789c37e30d4 09:32:03 ---> b1472d4baba8 09:32:03 Step 9/25 : COPY VERSION /tmp/sdk 09:32:04 ---> bc3fa41742c1 09:32:04 Step 10/25 : COPY src /tmp/sdk/src 09:32:05 ---> 9b0d5ff15e32 09:32:05 Step 11/25 : COPY include /tmp/sdk/include 09:32:05 ---> 8e1abfac2ff1 09:32:05 Step 12/25 : COPY scripts /tmp/sdk/scripts 09:32:06 ---> 300509d6c2ab 09:32:06 Step 13/25 : COPY LICENSE /tmp/sdk 09:32:07 ---> 4b06ad6e18c2 09:32:07 Step 14/25 : COPY Attribution.txt /tmp/sdk 09:32:08 ---> 75e776dffecc 09:32:08 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:32:08 ---> Running in 3f97d78e1af6 09:32:09 + CPPCHECK=false 09:32:09 + DOCGEN=false 09:32:09 + TOMLVER=SDK-0.2 09:32:09 + CUTILVER=1.1.4 09:32:09 + '[' 0 -gt 0 ] 09:32:09 + readlink -f ./scripts/build.sh 09:32:09 + dirname /tmp/sdk/scripts/build.sh 09:32:09 + dirname /tmp/sdk/scripts 09:32:09 + ROOT=/tmp/sdk 09:32:09 + cd /tmp/sdk 09:32:09 + '[' '!' -d deps ] 09:32:09 + mkdir deps 09:32:09 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz+ 09:32:09 tar -C deps -z -x -f - 09:32:09 --2021-06-22 09:32:09-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:32:09 Resolving github.com... 140.82.112.4 09:32:09 Connecting to github.com|140.82.112.4|:443... connected. 09:32:09 HTTP request sent, awaiting response... 302 Found 09:32:09 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:32:09 --2021-06-22 09:32:09-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:32:09 Resolving codeload.github.com... 140.82.114.9 09:32:09 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:32:09 HTTP request sent, awaiting response... 200 OK 09:32:09 Length: unspecified [application/x-gzip] 09:32:09 Saving to: 'STDOUT' 09:32:09  09:32:09 0K .......... ......   1.03M=0.02s 09:32:09 09:32:09 2021-06-22 09:32:09 (1.03 MB/s) - written to stdout [16451] 09:32:09 09:32:09 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:32:09 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:32:09 + tar -C deps -z -x -f - 09:32:09 --2021-06-22 09:32:09-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 09:32:09 Resolving github.com... 140.82.112.4 09:32:09 Connecting to github.com|140.82.112.4|:443... connected. 09:32:09 HTTP request sent, awaiting response... 302 Found 09:32:09 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 09:32:09 --2021-06-22 09:32:09-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 09:32:09 Resolving codeload.github.com... 140.82.114.9 09:32:09 Connecting to codeload.github.com|140.82.114.9|:443... connected. 09:32:10 HTTP request sent, awaiting response... 200 OK 09:32:10 Length: unspecified [application/x-gzip] 09:32:10 Saving to: 'STDOUT' 09:32:10  09:32:10 0K .......... .......... .......... .......... .......... 1.34M 09:32:10 50K .......... .......... .......... .......... .......... 2.61M 09:32:10 100K .......... .......... .......... .......... .......... 8.08M 09:32:10 150K .......... .......... .......   1.55M=0.08s 09:32:10 09:32:10 2021-06-22 09:32:10 (2.21 MB/s) - written to stdout [181796] 09:32:10 09:32:10 + mkdir -p src/c/iot 09:32:10 + 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 09:32:10 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 09:32:10 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 09:32:10 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 09:32:10 + mkdir -p include/iot 09:32:10 + 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 09:32:10 + mkdir -p include/iot/os 09:32:10 + 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 09:32:10 + mkdir -p /tmp/sdk/build/release 09:32:10 + cd /tmp/sdk/build/release 09:32:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:32:10 -- The C compiler identification is GNU 8.3.0 09:32:10 -- Check for working C compiler: /usr/bin/cc 09:32:10 -- Check for working C compiler: /usr/bin/cc -- works 09:32:10 -- Detecting C compiler ABI info 09:32:11 -- Detecting C compiler ABI info - done 09:32:11 -- Detecting C compile features 09:32:12 -- Detecting C compile features - done 09:32:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:32:12 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:32:12 -- Found LIBYAML: /usr/lib/libyaml.so 09:32:12 -- Found LIBUUID: /usr/lib/libuuid.so 09:32:12 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:32:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:32:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:32:12 -- C SDK 0.0.0 for Linux 09:32:12 -- Performing Test CSDK_HAVE_ATOMIC 09:32:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:32:12 -- Found Curses: /usr/lib/libcurses.so 09:32:12 -- Configuring done 09:32:12 -- Generating done 09:32:12 -- Build files have been written to: /tmp/sdk/build/release 09:32:12 + make all package 09:32:12 + tee release.log 09:32:12 Scanning dependencies of target csdk 09:32:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:32:13 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:32:14 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:32:15 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:32:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:32:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:32:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:32:17 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:32:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:32:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:32:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:32:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:32:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:32:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:32:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:32:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:32:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:32:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:32:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:32:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:32:25 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:32:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:32:27 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:32:29 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:32:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:32:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:32:30 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:32:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:32:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:32:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:32:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:32:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:32:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:32:35 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:32:35 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:32:35 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:32:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:32:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:32:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:32:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:32:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:32:42 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:32:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:32:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:32:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:32:49 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:32:50 [ 74%] Linking C shared library libcsdk.so 09:32:50 [ 74%] Built target csdk 09:32:50 Scanning dependencies of target template 09:32:50 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:32:51 [ 77%] Linking C executable template 09:32:51 [ 77%] Built target template 09:32:51 Scanning dependencies of target device-counter 09:32:51 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:32:51 [ 80%] Linking C executable device-counter 09:32:52 [ 80%] Built target device-counter 09:32:52 Scanning dependencies of target device-random 09:32:52 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:32:52 [ 84%] Linking C executable device-random 09:32:52 [ 84%] Built target device-random 09:32:52 Scanning dependencies of target device-gyro 09:32:53 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:32:53 [ 87%] Linking C executable device-gyro 09:32:53 [ 87%] Built target device-gyro 09:32:53 Scanning dependencies of target device-bitfields 09:32:53 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:32:53 [ 90%] Linking C executable device-bitfields 09:32:54 [ 90%] Built target device-bitfields 09:32:54 Scanning dependencies of target template-discovery 09:32:54 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:32:54 [ 93%] Linking C executable template-discovery 09:32:54 [ 93%] Built target template-discovery 09:32:54 Scanning dependencies of target device-file 09:32:54 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:32:55 [ 96%] Linking C executable device-file 09:32:55 [ 96%] Built target device-file 09:32:55 Scanning dependencies of target device-terminal 09:32:55 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:32:56 [100%] Linking C executable device-terminal 09:32:56 [100%] Built target device-terminal 09:32:56 Run CPack packaging tool... 09:32:56 CPack: Create package using TGZ 09:32:56 CPack: Install projects 09:32:56 CPack: - Run preinstall target for: Csdk 09:32:57 CPack: - Install project: Csdk 09:32:57 CPack: Create package 09:32:57 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:32:57 + '[' false '=' true ] 09:32:57 + '[' false '=' true ] 09:32:57 + mkdir -p /tmp/sdk/build/debug 09:32:57 + cd /tmp/sdk/build/debug 09:32:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:32:57 -- The C compiler identification is GNU 8.3.0 09:32:57 -- Check for working C compiler: /usr/bin/cc 09:32:58 -- Check for working C compiler: /usr/bin/cc -- works 09:32:58 -- Detecting C compiler ABI info 09:32:58 -- Detecting C compiler ABI info - done 09:32:58 -- Detecting C compile features 09:32:59 -- Detecting C compile features - done 09:32:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:32:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") 09:32:59 -- Found LIBYAML: /usr/lib/libyaml.so 09:32:59 -- Found LIBUUID: /usr/lib/libuuid.so 09:32:59 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:32:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:32:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:32:59 -- C SDK 0.0.0 for Linux 09:32:59 -- Performing Test CSDK_HAVE_ATOMIC 09:32:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:32:59 -- Found Curses: /usr/lib/libcurses.so 09:32:59 -- Configuring done 09:32:59 -- Generating done 09:32:59 -- Build files have been written to: /tmp/sdk/build/debug 09:32:59 + make 09:32:59 + tee debug.log 09:32:59 Scanning dependencies of target csdk 09:33:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:33:00 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:33:00 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:33:01 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:33:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:33:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:33:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:33:02 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:33:02 [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:33:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:33:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:33:03 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:33:04 [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:33:04 [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:33:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:33:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:33:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:33:05 [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:33:05 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:33:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:33:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:33:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:33:06 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:33:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:33:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:33:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:33:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:33:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:33:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:33:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:33:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:33:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:33:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:33:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:33:09 [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:33:10 [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:33:10 [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:33:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:33:11 [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:33:11 [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:33:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:33:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:33:13 [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:33:13 [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:33:14 [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:33:14 [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:33:15 [ 74%] Linking C shared library libcsdk.so 09:33:15 [ 74%] Built target csdk 09:33:15 Scanning dependencies of target template 09:33:15 [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:33:15 [ 77%] Linking C executable template 09:33:15 [ 77%] Built target template 09:33:15 Scanning dependencies of target device-counter 09:33:15 [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:33:16 [ 80%] Linking C executable device-counter 09:33:16 [ 80%] Built target device-counter 09:33:16 Scanning dependencies of target device-random 09:33:16 [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:33:16 [ 84%] Linking C executable device-random 09:33:17 [ 84%] Built target device-random 09:33:17 Scanning dependencies of target device-gyro 09:33:17 [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:33:17 [ 87%] Linking C executable device-gyro 09:33:17 [ 87%] Built target device-gyro 09:33:17 Scanning dependencies of target device-bitfields 09:33:17 [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:33:17 [ 90%] Linking C executable device-bitfields 09:33:18 [ 90%] Built target device-bitfields 09:33:18 Scanning dependencies of target template-discovery 09:33:18 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:33:18 [ 93%] Linking C executable template-discovery 09:33:18 [ 93%] Built target template-discovery 09:33:18 Scanning dependencies of target device-file 09:33:18 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:33:18 [ 96%] Linking C executable device-file 09:33:19 [ 96%] Built target device-file 09:33:19 Scanning dependencies of target device-terminal 09:33:19 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:33:19 [100%] Linking C executable device-terminal 09:33:19 [100%] Built target device-terminal 09:33:19 make: Entering directory '/tmp/sdk/build/release' 09:33:19 make[1]: Entering directory '/tmp/sdk/build/release' 09:33:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:19 [ 74%] Built target csdk 09:33:19 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:19 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 77%] Built target template 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 80%] Built target device-counter 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 84%] Built target device-random 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 87%] Built target device-gyro 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 90%] Built target device-bitfields 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 93%] Built target template-discovery 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [ 96%] Built target device-file 09:33:20 make[2]: Entering directory '/tmp/sdk/build/release' 09:33:20 make[2]: Leaving directory '/tmp/sdk/build/release' 09:33:20 [100%] Built target device-terminal 09:33:20 make[1]: Leaving directory '/tmp/sdk/build/release' 09:33:20 Install the project... 09:33:20 -- Install configuration: "Release" 09:33:20 -- Installing: /usr/local/lib/libcsdk.so 09:33:20 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:33:20 -- Up-to-date: /usr/local/include 09:33:20 -- Installing: /usr/local/include/edgex 09:33:20 -- Installing: /usr/local/include/edgex/rest-server.h 09:33:20 -- Installing: /usr/local/include/edgex/edgex-base.h 09:33:20 -- Installing: /usr/local/include/edgex/edgex.h 09:33:20 -- Installing: /usr/local/include/edgex/devices.h 09:33:20 -- Installing: /usr/local/include/edgex/profiles.h 09:33:20 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:33:20 -- Installing: /usr/local/include/devsdk 09:33:20 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:33:20 -- Installing: /usr/local/include/devsdk/devsdk.h 09:33:20 -- Installing: /usr/local/include/iot 09:33:20 -- Installing: /usr/local/include/iot/json.h 09:33:20 -- Installing: /usr/local/include/iot/container.h 09:33:20 -- Installing: /usr/local/include/iot/component.h 09:33:20 -- Installing: /usr/local/include/iot/typecode.h 09:33:20 -- Installing: /usr/local/include/iot/iot.h 09:33:20 -- Installing: /usr/local/include/iot/time.h 09:33:20 -- Installing: /usr/local/include/iot/hash.h 09:33:20 -- Installing: /usr/local/include/iot/logger.h 09:33:20 -- Installing: /usr/local/include/iot/os 09:33:20 -- Installing: /usr/local/include/iot/os/zephyr.h 09:33:20 -- Installing: /usr/local/include/iot/os/linux.h 09:33:20 -- Installing: /usr/local/include/iot/os/macos.h 09:33:20 -- Installing: /usr/local/include/iot/scheduler.h 09:33:20 -- Installing: /usr/local/include/iot/data.h 09:33:20 -- Installing: /usr/local/include/iot/thread.h 09:33:20 -- Installing: /usr/local/include/iot/os.h 09:33:20 -- Installing: /usr/local/include/iot/base64.h 09:33:20 -- Installing: /usr/local/include/iot/defs.h 09:33:20 -- Installing: /usr/local/include/iot/threadpool.h 09:33:20 -- Installing: /usr/local/include/iot/config.h 09:33:20 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:33:20 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:33:20 make: Leaving directory '/tmp/sdk/build/release' 09:33:22 Removing intermediate container 3f97d78e1af6 09:33:22 ---> 6c009448970e 09:33:22 Step 16/25 : FROM ${BASE} 09:33:22 ---> b23d30803547 09:33:22 Step 17/25 : LABEL maintainer="IOTech " 09:33:22 ---> Running in a1478f04ad06 09:33:22 Removing intermediate container a1478f04ad06 09:33:22 ---> 185921bacb15 09:33:22 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 09:33:22 ---> Running in 959deccfe328 09:33:24 Connecting to iotech.jfrog.io (34.243.182.113:443) 09:33:24 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 09:33:24 09:33:25 Removing intermediate container 959deccfe328 09:33:25 ---> 4cc445b79933 09:33:25 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:33:25 ---> Running in d99ff440db5b 09:33:27 Removing intermediate container d99ff440db5b 09:33:27 ---> 85eb9b58b41f 09:33:27 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 09:33:28 ---> Running in 2ebc9a560502 09:33:29 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:33:30 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:33:30 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:33:30 (1/6) Installing curl (7.64.0-r5) 09:33:30 (2/6) Installing hiredis (0.14.0-r0) 09:33:31 (3/6) Installing hiredis-dev (0.14.0-r0) 09:33:31 (4/6) Installing libuuid (2.33-r0) 09:33:31 (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) 09:33:32 (6/6) Installing wget (1.20.3-r0) 09:33:33 Executing busybox-1.29.3-r10.trigger 09:33:33 OK: 283 MiB in 81 packages 09:33:34 Removing intermediate container 2ebc9a560502 09:33:34 ---> bac122d461f1 09:33:34 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:33:35 ---> cdeb2d04ffd0 09:33:35 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:33:36 ---> a8b6760e4c9b 09:33:36 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 09:33:36 ---> 29e9cc4d1571 09:33:36 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:33:37 ---> 3fb5e163c6ec 09:33:37 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:33:38 ---> 014797bd49b3 09:33:38 Successfully built 014797bd49b3 09:33:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:33:39 + docker inspect -f . ci-base-image-arm64 09:33:39 . [Pipeline] withDockerContainer 09:33:39 prd-ubuntu18.04-docker-arm64-4c-16g-690 does not seem to be running inside a container 09:33:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat 09:33:41 $ docker top 8619024eeabaf1a84a87dcf7b03f3a9fcd4b8b345cac408935f692586242319d -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:42 + make test 09:33:42 echo "make test" 09:33:42 make test [Pipeline] } 09:33:42 $ docker stop --time=1 8619024eeabaf1a84a87dcf7b03f3a9fcd4b8b345cac408935f692586242319d 09:33:44 $ docker rm -f 8619024eeabaf1a84a87dcf7b03f3a9fcd4b8b345cac408935f692586242319d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:45 + ls -al . 09:33:45 total 192 09:33:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 09:30 . 09:33:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 09:30 .. 09:33:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 09:30 .git 09:33:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 09:30 .github 09:33:45 -rw-rw-r-- 1 jenkins jenkins 176 Jun 22 09:30 .gitignore 09:33:45 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 22 09:30 Attribution.txt 09:33:45 -rw-rw-r-- 1 jenkins jenkins 7509 Jun 22 09:30 CHANGES 09:33:45 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 22 09:30 Doxyfile 09:33:45 -rw-rw-r-- 1 jenkins jenkins 784 Jun 22 09:30 Jenkinsfile 09:33:45 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 22 09:30 LICENSE 09:33:45 -rw-rw-r-- 1 jenkins jenkins 444 Jun 22 09:30 Makefile 09:33:45 -rw-rw-r-- 1 jenkins jenkins 4090 Jun 22 09:30 README.md 09:33:45 -rw-rw-r-- 1 jenkins jenkins 7090 Jun 22 09:30 README.v2.md 09:33:45 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 09:26 VERSION 09:33:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 09:30 docs 09:33:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 09:30 include 09:33:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 09:30 scripts 09:33:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 09:30 src [Pipeline] isUnix [Pipeline] sh 09:33:45 + 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=3824d3ab8785cab24e914a746b0c44adb84c1a09 --label arch=arm64 --label version=0.0.0 . 09:33:46 Sending build context to Docker daemon 2.63MB 09:33:46 Step 1/17 : ARG BASE=alpine:3.12 09:33:46 Step 2/17 : FROM ${BASE} 09:33:46 ---> 014797bd49b3 09:33:46 Step 3/17 : LABEL maintainer="IOTech " 09:33:46 ---> Running in 8199b4b17348 09:33:47 Removing intermediate container 8199b4b17348 09:33:47 ---> 1ecb566db560 09:33:47 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 09:33:47 ---> Running in d65f9b7e1e7c 09:33:48 --2021-06-22 09:33:48-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 09:33:48 Resolving iotech.jfrog.io... 54.74.239.58, 34.243.182.113, 54.72.115.12 09:33:48 Connecting to iotech.jfrog.io|54.74.239.58|:443... connected. 09:33:48 HTTP request sent, awaiting response... 200 OK 09:33:48 Length: 451 [application/octet-stream] 09:33:48 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 09:33:48  09:33:48 0K  100% 17.7M=0s 09:33:48 09:33:48 2021-06-22 09:33:48 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 09:33:48 09:33:49 Removing intermediate container d65f9b7e1e7c 09:33:49 ---> 919f3681c8a4 09:33:49 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 09:33:49 ---> Running in af5eac2728c8 09:33:52 Removing intermediate container af5eac2728c8 09:33:52 ---> 1e23511ed945 09:33:52 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 09:33:52 ---> Running in cf2e5d57011f 09:33:53 fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz 09:33:54 fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz 09:33:54 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 09:33:55 (1/6) Installing ncurses-dev (6.1_p20190105-r0) 09:33:55 (2/6) Installing libblkid (2.33-r0) 09:33:55 (3/6) Installing libfdisk (2.33-r0) 09:33:55 (4/6) Installing libmount (2.33-r0) 09:33:55 (5/6) Installing libsmartcols (2.33-r0) 09:33:55 (6/6) Installing util-linux-dev (2.33-r0) 09:33:55 Executing busybox-1.29.3-r10.trigger 09:33:55 OK: 287 MiB in 87 packages 09:33:57 Removing intermediate container cf2e5d57011f 09:33:57 ---> 6d3037403330 09:33:57 Step 7/17 : COPY VERSION /edgex-c-sdk/ 09:33:58 ---> bdd608164c19 09:33:58 Step 8/17 : COPY src /edgex-c-sdk/src/ 09:33:58 ---> a959fc0b290c 09:33:58 Step 9/17 : COPY include /edgex-c-sdk/include/ 09:33:59 ---> f96f9b25fb14 09:33:59 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 09:34:00 ---> a5b5f8e51195 09:34:00 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 09:34:01 ---> 64c58610ecd3 09:34:01 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 09:34:01 ---> 31ae9b5a0369 09:34:01 Step 13/17 : WORKDIR /edgex-c-sdk 09:34:02 ---> Running in 9d1aed475aaa 09:34:02 Removing intermediate container 9d1aed475aaa 09:34:02 ---> 406150c0253a 09:34:02 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 09:34:02 ---> Running in a87cf03d6534 09:34:03 Removing intermediate container a87cf03d6534 09:34:03 ---> 4dc47a973e17 09:34:03 Step 15/17 : LABEL arch=arm64 09:34:03 ---> Running in 5c2a1f73c968 09:34:03 Removing intermediate container 5c2a1f73c968 09:34:03 ---> bb572c9f6512 09:34:03 Step 16/17 : LABEL git_sha=3824d3ab8785cab24e914a746b0c44adb84c1a09 09:34:04 ---> Running in b05250b34dc9 09:34:04 Removing intermediate container b05250b34dc9 09:34:04 ---> 49df923adce3 09:34:04 Step 17/17 : LABEL version=0.0.0 09:34:04 ---> Running in 0ab152bfef77 09:34:05 Removing intermediate container 0ab152bfef77 09:34:05 ---> 857947ec5296 09:34:05 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:34:05 Successfully built 857947ec5296 09:34:05 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 09:34:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:34:08 ---> package-listing.sh 09:34:08 ++ facter osfamily 09:34:08 ++ tr '[:upper:]' '[:lower:]' 09:34:09 + OS_FAMILY=redhat 09:34:09 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-354 09:34:09 + START_PACKAGES=/tmp/packages_start.txt 09:34:09 + END_PACKAGES=/tmp/packages_end.txt 09:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:34:09 + PACKAGES=/tmp/packages_start.txt 09:34:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-354 ']' 09:34:09 + PACKAGES=/tmp/packages_end.txt 09:34:09 + case "${OS_FAMILY}" in 09:34:09 + sort 09:34:09 + rpm -qa 09:34:09 + '[' -f /tmp/packages_start.txt ']' 09:34:09 + '[' -f /tmp/packages_end.txt ']' 09:34:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:34:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-354 ']' 09:34:09 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-354/archives/ 09:34:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-354/archives/ [Pipeline] echo 09:34:09 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:34:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:10 09:34:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:34:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:11 alpine: Pulling from edgex-lftools-log-publisher 09:34:11 df20fa9351a1: Pulling fs layer 09:34:11 36b3adc4ff6f: Pulling fs layer 09:34:11 8ad3a11d3b57: Pulling fs layer 09:34:11 46f8f816bc3b: Pulling fs layer 09:34:11 93b61091891f: Pulling fs layer 09:34:11 93b9cdb0e59b: Pulling fs layer 09:34:11 5e14af77c1be: Pulling fs layer 09:34:11 01666e4c0597: Pulling fs layer 09:34:11 aa168da1d23b: Pulling fs layer 09:34:11 46f8f816bc3b: Waiting 09:34:11 93b61091891f: Waiting 09:34:11 93b9cdb0e59b: Waiting 09:34:11 5e14af77c1be: Waiting 09:34:11 01666e4c0597: Waiting 09:34:11 aa168da1d23b: Waiting 09:34:11 36b3adc4ff6f: Verifying Checksum 09:34:11 36b3adc4ff6f: Download complete 09:34:11 46f8f816bc3b: Download complete 09:34:11 df20fa9351a1: Verifying Checksum 09:34:11 df20fa9351a1: Download complete 09:34:11 93b9cdb0e59b: Verifying Checksum 09:34:11 93b9cdb0e59b: Download complete 09:34:11 5e14af77c1be: Verifying Checksum 09:34:11 5e14af77c1be: Download complete 09:34:11 01666e4c0597: Verifying Checksum 09:34:11 01666e4c0597: Download complete 09:34:11 93b61091891f: Verifying Checksum 09:34:11 93b61091891f: Download complete 09:34:11 df20fa9351a1: Pull complete 09:34:11 8ad3a11d3b57: Verifying Checksum 09:34:11 8ad3a11d3b57: Download complete 09:34:11 36b3adc4ff6f: Pull complete 09:34:12 8ad3a11d3b57: Pull complete 09:34:12 46f8f816bc3b: Pull complete 09:34:12 93b61091891f: Pull complete 09:34:12 93b9cdb0e59b: Pull complete 09:34:13 5e14af77c1be: Pull complete 09:34:13 01666e4c0597: Pull complete 09:34:13 aa168da1d23b: Verifying Checksum 09:34:13 aa168da1d23b: Download complete 09:34:18 aa168da1d23b: Pull complete 09:34:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:34:19 prd-centos7-docker-4c-2g-688 does not seem to be running inside a container 09:34:19 $ 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-354/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-354 -v /w/workspace/edgexfoundry_device-sdk-c_PR-354:/w/workspace/edgexfoundry_device-sdk-c_PR-354:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-354@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:10003/edgex-lftools-log-publisher:alpine cat 09:34:22 $ docker top 7f0ba9469dbdd4b35c1181361bb0576ea261438ff2e37a54b6e7b5d4d866484c -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:22 + touch /tmp/pre-build-complete [Pipeline] sh 09:34:23 + mkdir -p /var/log/sa [Pipeline] sh 09:34:23 + ls /var/log/sa-host 09:34:23 + sadf -c /var/log/sa-host/sa05 09:34:23 file_magic: OK 09:34:23 HZ: Using current value: 100 09:34:23 file_header: OK 09:34:23 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 09:34:23 Statistics: 09:34:23 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:23 File successfully converted to sysstat format version 12.2.1 09:34:23 + sadf -c /var/log/sa-host/sa22 09:34:23 file_magic: OK 09:34:23 HZ: Using current value: 100 09:34:23 file_header: OK 09:34:23 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 09:34:23 Statistics: 09:34:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:24 provisioning config files... 09:34:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp/config1060051617915899225tmp [Pipeline] { [Pipeline] echo 09:34:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:34:24 ---> create-netrc.sh [Pipeline] } 09:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:34:25 ---> python-tools-install.sh [Pipeline] echo 09:34:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:34:25 ---> sudo-logs.sh 09:34:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:34:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:34:26 ---> job-cost.sh 09:34:26 lf-activate-venv: SKIPPING 09:34:26 INFO: No Stack... 09:34:26 INFO: Retrieving Pricing Info for: v3-standard-2 09:34:27 INFO: Archiving Costs [Pipeline] echo 09:34:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:34:27 ---> logs-deploy.sh 09:34:27 lf-activate-venv: SKIPPING 09:34:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-354/1 09:34:27 INFO: archiving workspace using pattern(s): 09:34:28 Archives upload complete. 09:34:28 INFO: archiving logs to Nexus 09:34:29 ---> uname -a: 09:34:29 Linux prd-centos7-docker-4c-2g-688.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 09:34:29 09:34:29 09:34:29 ---> lscpu: 09:34:29 Architecture: x86_64 09:34:29 CPU op-mode(s): 32-bit, 64-bit 09:34:29 Byte Order: Little Endian 09:34:29 Address sizes: 40 bits physical, 48 bits virtual 09:34:29 CPU(s): 2 09:34:29 On-line CPU(s) list: 0,1 09:34:29 Thread(s) per core: 1 09:34:29 Core(s) per socket: 1 09:34:29 Socket(s): 2 09:34:29 NUMA node(s): 1 09:34:29 Vendor ID: AuthenticAMD 09:34:29 CPU family: 23 09:34:29 Model: 49 09:34:29 Model name: AMD EPYC-Rome Processor 09:34:29 Stepping: 0 09:34:29 CPU MHz: 2800.000 09:34:29 BogoMIPS: 5600.00 09:34:29 Virtualization: AMD-V 09:34:29 Hypervisor vendor: KVM 09:34:29 Virtualization type: full 09:34:29 L1d cache: 64 KiB 09:34:29 L1i cache: 64 KiB 09:34:29 L2 cache: 1 MiB 09:34:29 L3 cache: 32 MiB 09:34:29 NUMA node0 CPU(s): 0,1 09:34:29 Vulnerability Itlb multihit: Not affected 09:34:29 Vulnerability L1tf: Not affected 09:34:29 Vulnerability Mds: Not affected 09:34:29 Vulnerability Meltdown: Not affected 09:34:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:34:29 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:34:29 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:34:29 Vulnerability Srbds: Not affected 09:34:29 Vulnerability Tsx async abort: Not affected 09:34:29 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 09:34:29 09:34:29 09:34:29 ---> nproc: 09:34:29 2 09:34:29 09:34:29 09:34:29 ---> df -h: 09:34:29 Filesystem Size Used Available Use% Mounted on 09:34:29 overlay 40.0G 7.6G 32.4G 19% / 09:34:29 tmpfs 64.0M 0 64.0M 0% /dev 09:34:29 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 09:34:29 shm 64.0M 0 64.0M 0% /dev/shm 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-354 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-sdk-c_PR-354@tmp 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 09:34:29 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 09:34:29 09:34:29 09:34:29 ---> free -m: 09:34:29 total used free shared buff/cache available 09:34:29 Mem: 7821 968 4755 0 2097 6674 09:34:29 Swap: 1023 0 1023 09:34:29 09:34:29 09:34:29 ---> ip addr: 09:34:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:34:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:34:29 inet 127.0.0.1/8 scope host lo 09:34:29 valid_lft forever preferred_lft forever 09:34:29 inet6 ::1/128 scope host 09:34:29 valid_lft forever preferred_lft forever 09:34:29 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:34:29 link/ether fa:16:3e:f4:59:8e brd ff:ff:ff:ff:ff:ff 09:34:29 inet 10.30.122.244/23 brd 10.30.123.255 scope global dynamic eth0 09:34:29 valid_lft 85860sec preferred_lft 85860sec 09:34:29 inet6 fe80::f816:3eff:fef4:598e/64 scope link 09:34:29 valid_lft forever preferred_lft forever 09:34:29 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:34:29 link/ether 02:42:a3:fe:c3:30 brd ff:ff:ff:ff:ff:ff 09:34:29 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:34:29 valid_lft forever preferred_lft forever 09:34:29 inet6 fe80::42:a3ff:fefe:c330/64 scope link 09:34:29 valid_lft forever preferred_lft forever 09:34:29 09:34:29 09:34:29 ---> sar -b -r -n DEV: 09:34:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/22/21 _x86_64_ (2 CPU) 09:34:29 09:34:29 09:25:19 LINUX RESTART (2 CPU) 09:34:29 09:34:29 09:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:34:29 09:27:01 27.09 3.58 23.51 0.00 2600.73 3132.37 0.00 09:34:29 09:28:01 0.62 0.00 0.62 0.00 0.00 11.09 0.00 09:34:29 09:29:01 0.28 0.00 0.28 0.00 0.00 3.65 0.00 09:34:29 09:30:01 0.15 0.00 0.15 0.00 0.00 2.03 0.00 09:34:29 09:31:01 0.33 0.00 0.33 0.00 0.00 5.01 0.00 09:34:29 09:32:01 0.23 0.00 0.23 0.00 0.00 2.82 0.00 09:34:29 09:33:01 0.43 0.00 0.43 0.00 0.00 6.15 0.00 09:34:29 09:34:01 0.15 0.00 0.15 0.00 0.00 1.78 0.00 09:34:29 Average: 3.66 0.45 3.21 0.00 325.19 395.73 0.00 09:34:29 09:34:29 09:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:34:29 09:27:01 5450816 0 815372 10.18 2620 1740132 1298356 14.33 581588 1576080 24 09:34:29 09:28:01 5462868 0 803316 10.03 2620 1740136 1205172 13.31 572080 1575956 8 09:34:29 09:29:01 5461928 0 804252 10.04 2620 1740140 1205344 13.31 574316 1574604 8 09:34:29 09:30:01 5461244 0 804932 10.05 2620 1740144 1205404 13.31 575588 1574604 8 09:34:29 09:31:01 5461448 0 804720 10.05 2620 1740152 1205344 13.31 567040 1582812 16 09:34:29 09:32:01 5461144 0 805024 10.05 2620 1740152 1205176 13.31 567272 1582812 12 09:34:29 09:33:01 5459848 0 806312 10.07 2620 1740160 1205176 13.31 568644 1582812 16 09:34:29 09:34:01 5451552 0 814600 10.17 2620 1740168 1205176 13.31 576580 1582812 8 09:34:29 Average: 5458856 0 807316 10.08 2620 1740148 1216894 13.44 572888 1579062 12 09:34:29 09:34:29 09:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:34:29 09:27:01 eth0 130.24 105.81 446.56 26.29 0.00 0.00 0.00 0.00 09:34:29 09:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:27:01 docker0 10.72 7.91 1.26 25.66 0.00 0.00 0.00 0.00 09:34:29 09:28:01 eth0 0.07 0.02 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:29:01 eth0 2.50 1.10 1.69 0.07 0.00 0.00 0.00 0.00 09:34:29 09:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:30:01 eth0 1.15 0.30 0.33 0.17 0.00 0.00 0.00 0.00 09:34:29 09:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:31:01 eth0 0.72 0.47 0.41 0.30 0.00 0.00 0.00 0.00 09:34:29 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:32:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:29 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:33:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:29 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:34:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:34:29 09:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 09:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 Average: eth0 16.87 13.50 56.14 3.36 0.00 0.00 0.00 0.00 09:34:29 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:29 Average: docker0 1.34 0.99 0.16 3.21 0.00 0.00 0.00 0.00 09:34:29 09:34:29 09:34:29 ---> sar -P ALL: 09:34:29 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/22/21 _x86_64_ (2 CPU) 09:34:29 09:34:29 09:25:19 LINUX RESTART (2 CPU) 09:34:29 09:34:29 09:26:01 CPU %user %nice %system %iowait %steal %idle 09:34:29 09:27:01 all 4.28 0.00 2.16 0.75 0.05 92.76 09:34:29 09:27:01 0 4.46 0.00 2.37 0.61 0.05 92.51 09:34:29 09:27:01 1 4.10 0.00 1.95 0.88 0.05 93.01 09:34:29 09:28:01 all 0.08 0.00 0.06 0.00 0.03 99.82 09:34:29 09:28:01 0 0.05 0.00 0.07 0.00 0.03 99.85 09:34:29 09:28:01 1 0.12 0.00 0.05 0.00 0.03 99.80 09:34:29 09:29:01 all 0.10 0.00 0.05 0.00 0.03 99.82 09:34:29 09:29:01 0 0.10 0.00 0.05 0.00 0.05 99.80 09:34:29 09:29:01 1 0.10 0.00 0.05 0.00 0.02 99.83 09:34:29 09:30:01 all 0.12 0.00 0.03 0.00 0.02 99.83 09:34:29 09:30:01 0 0.05 0.00 0.05 0.00 0.03 99.87 09:34:29 09:30:01 1 0.18 0.00 0.02 0.00 0.00 99.80 09:34:29 09:31:01 all 0.23 0.00 0.15 0.00 0.03 99.60 09:34:29 09:31:01 0 0.08 0.00 0.12 0.00 0.02 99.78 09:34:29 09:31:01 1 0.37 0.00 0.18 0.00 0.03 99.42 09:34:29 09:32:01 all 0.11 0.00 0.03 0.00 0.03 99.83 09:34:29 09:32:01 0 0.03 0.00 0.03 0.00 0.02 99.92 09:34:29 09:32:01 1 0.18 0.00 0.03 0.00 0.03 99.75 09:34:29 09:33:01 all 0.14 0.00 0.05 0.00 0.03 99.78 09:34:29 09:33:01 0 0.05 0.00 0.03 0.00 0.02 99.90 09:34:29 09:33:01 1 0.23 0.00 0.07 0.00 0.03 99.67 09:34:29 09:34:01 all 0.09 0.00 0.07 0.00 0.03 99.82 09:34:29 09:34:01 0 0.03 0.00 0.07 0.00 0.03 99.87 09:34:29 09:34:01 1 0.15 0.00 0.07 0.00 0.02 99.77 09:34:29 Average: all 0.64 0.00 0.32 0.09 0.03 98.92 09:34:29 Average: 0 0.60 0.00 0.34 0.08 0.03 98.95 09:34:29 Average: 1 0.67 0.00 0.30 0.11 0.03 98.89 09:34:29 09:34:29 09:34:29