Pull request #365 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from cb207ab679bc217498d09e1dbea79e7f8f45f8bb+fa3f1bc6009dfda5647181c893d25c3a20ff6238 (7414097bda5ed87405f86a5dbc7d4e0e335212e6) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1453906244611668334.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3998875679993308306.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1773962209489446624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4071675305929399653.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1977163552713376646.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Ready to run at Thu Aug 19 17:10:38 UTC 2021 Resuming build at Thu Aug 19 17:10:38 UTC 2021 after Jenkins restart Running on prd-centos7-docker-4c-2g-305 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [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-365 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh8297071537633739376.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit cb207ab679bc217498d09e1dbea79e7f8f45f8bb Merge succeeded, producing cb207ab679bc217498d09e1dbea79e7f8f45f8bb Checking out Revision cb207ab679bc217498d09e1dbea79e7f8f45f8bb (PR-365) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh45119700991557713.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/jenkins-gitclient-ssh7232059622932179712.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 Commit message: "feat: elaborate (still nyi) devsdk_describe callback" First time build. Skipping changelog. > git rev-list --no-walk 3aa5c763c2829e2851d8a64b2c28d73d0e58c8e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo ========================================================= EdgeX Global Pipelines Version Info ========================================================= [Pipeline] libraryResource [Pipeline] sh ------------------- stable info: ------------------- Commited By: Ernesto Ojeda ernesto.ojeda@intel.com Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Message: update stable to v1.0.205 ------------------- experimental info: ------------------- Commited By: **** collab-it+edgex@linuxfoundation.org Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb207ab679bc217498d09e1dbea79e7f8f45f8bb [Pipeline] echo [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb207ab [Pipeline] echo [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config2625340753733401430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> docker-login.sh nexus3.edgexfoundry.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10002 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10003 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10004 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded docker.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ---> docker-login.sh ends [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest latest: Pulling from edgex-devops/git-semver 31603596830f: Pulling fs layer 04fac38145f0: Pulling fs layer 701f6daf10bf: Pulling fs layer 24f72da36158: Pulling fs layer 24f72da36158: Waiting 04fac38145f0: Verifying Checksum 04fac38145f0: Download complete 31603596830f: Verifying Checksum 31603596830f: Download complete 31603596830f: Pull complete 04fac38145f0: Pull complete 24f72da36158: Verifying Checksum 24f72da36158: Download complete 701f6daf10bf: Verifying Checksum 701f6daf10bf: Download complete 701f6daf10bf: Pull complete 24f72da36158: Pull complete Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-305 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat $ docker top 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf ssh-agent SSH_AUTH_SOCK=/tmp/ssh-P1oRSRBZN2Cv/agent.14 SSH_AGENT_PID=21 Running ssh-add (command line suppressed) Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_1163856994559170627.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_1163856994559170627.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git tag --points-at HEAD [Pipeline] } $ docker exec --env ******** --env ******** 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 21 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ docker exec 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf ssh-agent SSH_AUTH_SOCK=/tmp/ssh-b8st9JSc5etd/agent.54 SSH_AGENT_PID=61 Running ssh-add (command line suppressed) Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_3016086812695969057.key (/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/private_key_3016086812695969057.key) [ssh-agent] Started. [Pipeline] { [Pipeline] sh + git semver init # -> Open(): unable to determine branch for HEAD # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.git # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-365 # $SEMVER_REMOTE_NAME = origin # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org # $SEMVER_USER_NAME = edgex-jenkins # $SEMVER_BRANCH = PR-365 # $SEMVER_TEMP = /tmp/semver-546979235 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP # '/tmp/semver-546979235' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver' # -> Force: false # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-365/.semver [Pipeline] } $ docker exec --env ******** --env ******** 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 61 killed; [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh + git semver [Pipeline] } $ docker stop --time=1 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf $ docker rm -f 6ab65f583358a73757e6bc6d161ee961ab4b8524d09d6eff27d192cd6cb50bcf [Pipeline] // withDockerContainer [Pipeline] sh + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash Stashed 1 file(s) [Pipeline] echo [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 Running on prd-ubuntu18.04-docker-arm64-4c-16g-327 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws Running in /w/workspace/device-sdk-c/5 [Pipeline] { [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/device-sdk-c/5 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit cb207ab679bc217498d09e1dbea79e7f8f45f8bb > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 > git remote # timeout=10 Merge succeeded, producing cb207ab679bc217498d09e1dbea79e7f8f45f8bb Checking out Revision cb207ab679bc217498d09e1dbea79e7f8f45f8bb (PR-365) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 Commit message: "feat: elaborate (still nyi) devsdk_describe callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config3555924271654075269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ ---> docker-login.sh nexus3.edgexfoundry.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10002 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10003 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10004 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded docker.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ---> docker-login.sh ends [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 2.716MB Step 1/25 : ARG BASE=alpine:3.12 Step 2/25 : FROM ${BASE} as builder latest: Pulling from edgex-devops/edgex-gcc-base-arm64 d2f70382dc9a: Pulling fs layer b08cc2eccb4b: Pulling fs layer 7b69db201801: Pulling fs layer b08cc2eccb4b: Verifying Checksum b08cc2eccb4b: Download complete d2f70382dc9a: Verifying Checksum d2f70382dc9a: Download complete d2f70382dc9a: Pull complete b08cc2eccb4b: Pull complete 7b69db201801: Download complete 7b69db201801: Pull complete Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest ---> 759262b18b23 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 ---> Running in cfa7db6961a6 Connecting to iotech.jfrog.io (54.195.244.87:443) saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' support@iotechsys.co 100% |********************************| 451 0:00:00 ETA '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved Removing intermediate container cfa7db6961a6 ---> ecd40271f241 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in 0651f59bc256 Removing intermediate container 0651f59bc256 ---> cbf48db1eb2d 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 ---> Running in 93d9824b6c33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz (1/22) Installing hiredis (0.14.1-r0) (2/22) Installing hiredis-dev (0.14.1-r0) (3/22) Installing ncurses-dev (6.2_p20200523-r0) (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) (5/22) Installing libblkid (2.35.2-r0) (6/22) Installing blkid (2.35.2-r0) (7/22) Installing libcap-ng (0.7.10-r1) (8/22) Installing setpriv (2.35.2-r0) (9/22) Installing libmount (2.35.2-r0) (10/22) Installing libsmartcols (2.35.2-r0) (11/22) Installing findmnt (2.35.2-r0) (12/22) Installing mcookie (2.35.2-r0) (13/22) Installing hexdump (2.35.2-r0) (14/22) Installing lsblk (2.35.2-r0) (15/22) Installing libuuid (2.35.2-r0) (16/22) Installing libfdisk (2.35.2-r0) (17/22) Installing sfdisk (2.35.2-r0) (18/22) Installing cfdisk (2.35.2-r0) (19/22) Installing util-linux (2.35.2-r0) (20/22) Installing util-linux-dev (2.35.2-r0) (21/22) Installing libidn2 (2.3.0-r0) (22/22) Installing wget (1.20.3-r1) Executing busybox-1.31.1-r20.trigger OK: 276 MiB in 97 packages Removing intermediate container 93d9824b6c33 ---> 51e8e5540b1d Step 6/25 : ENV CBOR_VERSION=0.5.0 ---> Running in 51fd604eb33b Removing intermediate container 51fd604eb33b ---> f3aaced9d6b5 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 ---> Running in 171747bd32b6 --2021-08-19 17:39:50-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz Resolving github.com (github.com)... 140.82.114.3 Connecting to github.com (github.com)|140.82.114.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] --2021-08-19 17:39:51-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT'  0K .......... .......... .......... .......... .......... 1.13M 50K .......... .......... .......... .......... .......... 2.32M 100K .......... .......... .......... .......... .......... 13.3M 150K .......... .......... .......... .......... .......... 2.38M 200K .......... .......... .......... .......... .......... 9.36M 250K .......... .......... .......... .......... .......... 2.87M 300K .......... .......... .......... .......... .......... 3.27M 350K .......... .......... .......... .......... .......... 4.65M 400K .......... .......... .......... .......... .......... 3.05M 450K .......... .......... .......... .......... .......... 5.49M 500K .......... .......... .......... .......... .......... 6.99M 550K .......... .......... .......... .......... .......... 2.17M 600K .......... .......... .......... .......... .......... 766K 650K .......... .......... .......... .......... .......... 2.48M 700K ..   9.64M=0.3s 2021-08-19 17:39:51 (2.49 MB/s) - written to stdout [719348] -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for include file endian.h -- Looking for include file endian.h - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Check size of size_t -- Check size of size_t - done CMake Warning at examples/CMakeLists.txt:16 (find_package): By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "cJSON", but CMake did not find one. Could not find a package configuration file provided by "cJSON" with any of the following names: cJSONConfig.cmake cjson-config.cmake Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set "cJSON_DIR" to a directory containing one of the above files. If "cJSON" provides a separate development package or SDK, be sure it has been installed. -- Configuring done -- Generating done -- Build files have been written to: /tmp/cbor Scanning dependencies of target cbor_shared [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [ 40%] Linking C shared library libcbor.so [ 40%] Built target cbor_shared Scanning dependencies of target cbor [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [ 80%] Linking C static library libcbor.a [ 80%] Built target cbor Scanning dependencies of target sort [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [ 84%] Linking C executable sort [ 84%] Built target sort Scanning dependencies of target readfile [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [ 88%] Linking C executable readfile [ 88%] Built target readfile Scanning dependencies of target streaming_parser [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [ 92%] Linking C executable streaming_parser [ 92%] Built target streaming_parser Scanning dependencies of target hello [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [ 96%] Linking C executable hello [ 96%] Built target hello Scanning dependencies of target create_items [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [100%] Linking C executable create_items [100%] Built target create_items Install the project... -- Install configuration: "Release" -- Installing: /usr/local/include/cbor/configuration.h -- Installing: /usr/local/lib64/libcbor.a -- Installing: /usr/local/lib64/libcbor.so.0.0.0 -- Installing: /usr/local/lib64/libcbor.so.0 -- Installing: /usr/local/lib64/libcbor.so -- Up-to-date: /usr/local/include/cbor -- Installing: /usr/local/include/cbor/streaming.h -- Installing: /usr/local/include/cbor/ints.h -- Installing: /usr/local/include/cbor/floats_ctrls.h -- Installing: /usr/local/include/cbor/bytestrings.h -- Installing: /usr/local/include/cbor/encoding.h -- Installing: /usr/local/include/cbor/serialization.h -- Installing: /usr/local/include/cbor/data.h -- Installing: /usr/local/include/cbor/common.h -- Installing: /usr/local/include/cbor/callbacks.h -- Installing: /usr/local/include/cbor/strings.h -- Installing: /usr/local/include/cbor/tags.h -- Installing: /usr/local/include/cbor/internal -- Installing: /usr/local/include/cbor/internal/encoders.h -- Installing: /usr/local/include/cbor/internal/loaders.h -- Installing: /usr/local/include/cbor/internal/stack.h -- Installing: /usr/local/include/cbor/internal/unicode.h -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h -- Installing: /usr/local/include/cbor/internal/memory_utils.h -- Installing: /usr/local/include/cbor/arrays.h -- Installing: /usr/local/include/cbor/maps.h -- Installing: /usr/local/include/cbor.h -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc Removing intermediate container 171747bd32b6 ---> c6bb3aded2f2 Step 8/25 : RUN mkdir /tmp/sdk ---> Running in 69586bf8e453 Removing intermediate container 69586bf8e453 ---> f7be488bba44 Step 9/25 : COPY VERSION /tmp/sdk ---> 5ade90b29a09 Step 10/25 : COPY src /tmp/sdk/src ---> 07d0315001c9 Step 11/25 : COPY include /tmp/sdk/include ---> bdef6589c0e0 Step 12/25 : COPY scripts /tmp/sdk/scripts ---> 80e2fd2ce5df Step 13/25 : COPY LICENSE /tmp/sdk ---> 621628269357 Step 14/25 : COPY Attribution.txt /tmp/sdk ---> e4f9b75387cf Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install ---> Running in 08527105f791 + CPPCHECK=false + DOCGEN=false + TOMLVER=SDK-0.2 + CUTILVER=1.1.4 + '[' 0 -gt 0 ] + readlink -f ./scripts/build.sh + dirname /tmp/sdk/scripts/build.sh + dirname /tmp/sdk/scripts + ROOT=/tmp/sdk + cd /tmp/sdk + '[' '!' -d deps ] + mkdir deps + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz + tar -C deps -z -x -f - --2021-08-19 17:40:33-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] --2021-08-19 17:40:33-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT'  0K .......... ......  898K=0.02s 2021-08-19 17:40:33 (898 KB/s) - written to stdout [16451] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x -f - --2021-08-19 17:40:33-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] --2021-08-19 17:40:33-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT'  0K .......... .......... .......... .......... .......... 1.13M 50K .......... .......... .......... .......... .......... 2.30M 100K .......... .......... .......... .......... .......... 5.17M 150K .......... .......... .......       1.43M=0.09s 2021-08-19 17:40:34 (1.87 MB/s) - written to stdout [181796] + mkdir -p src/c/iot + 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 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot + mkdir -p include/iot + 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 + mkdir -p include/iot/os + 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 + mkdir -p /tmp/sdk/build/release + cd /tmp/sdk/build/release + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") -- Found LIBYAML: /usr/lib/libyaml.so -- Found LIBUUID: /usr/lib/libuuid.so -- Found LIBCBOR: /usr/local/lib64/libcbor.so -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so -- Found LIBHIREDIS: /usr/lib/libhiredis.so -- C SDK 0.0.0 for Linux -- Performing Test CSDK_HAVE_ATOMIC -- Performing Test CSDK_HAVE_ATOMIC - Success -- Found Curses: /usr/lib/libcurses.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/sdk/build/release + make all package + tee release.log Scanning dependencies of target csdk [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [ 75%] Linking C shared library libcsdk.so [ 75%] Built target csdk Scanning dependencies of target template [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [ 78%] Linking C executable template [ 78%] Built target template Scanning dependencies of target device-counter [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [ 81%] Linking C executable device-counter [ 81%] Built target device-counter Scanning dependencies of target device-random [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [ 84%] Linking C executable device-random [ 84%] Built target device-random Scanning dependencies of target device-gyro [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [ 87%] Linking C executable device-gyro [ 87%] Built target device-gyro Scanning dependencies of target device-bitfields [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [ 90%] Linking C executable device-bitfields [ 90%] Built target device-bitfields Scanning dependencies of target template-discovery [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [ 93%] Linking C executable template-discovery [ 93%] Built target template-discovery Scanning dependencies of target device-file [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [ 96%] Linking C executable device-file [ 96%] Built target device-file Scanning dependencies of target device-terminal [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [100%] Linking C executable device-terminal [100%] Built target device-terminal Run CPack packaging tool... CPack: Create package using TGZ CPack: Install projects CPack: - Run preinstall target for: Csdk CPack: - Install project: Csdk [] CPack: Create package CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. + '[' false '=' true ] + '[' false '=' true ] + mkdir -p /tmp/sdk/build/debug + cd /tmp/sdk/build/debug + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") -- Found LIBYAML: /usr/lib/libyaml.so -- Found LIBUUID: /usr/lib/libuuid.so -- Found LIBCBOR: /usr/local/lib64/libcbor.so -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so -- Found LIBHIREDIS: /usr/lib/libhiredis.so -- C SDK 0.0.0 for Linux -- Performing Test CSDK_HAVE_ATOMIC -- Performing Test CSDK_HAVE_ATOMIC - Success -- Found Curses: /usr/lib/libcurses.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/sdk/build/debug + + teemake debug.log Scanning dependencies of target csdk [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [ 75%] Linking C shared library libcsdk.so [ 75%] Built target csdk Scanning dependencies of target template [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [ 78%] Linking C executable template [ 78%] Built target template Scanning dependencies of target device-counter [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [ 81%] Linking C executable device-counter [ 81%] Built target device-counter Scanning dependencies of target device-random [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [ 84%] Linking C executable device-random [ 84%] Built target device-random Scanning dependencies of target device-gyro [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [ 87%] Linking C executable device-gyro [ 87%] Built target device-gyro Scanning dependencies of target device-bitfields [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [ 90%] Linking C executable device-bitfields [ 90%] Built target device-bitfields Scanning dependencies of target template-discovery [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [ 93%] Linking C executable template-discovery [ 93%] Built target template-discovery Scanning dependencies of target device-file [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [ 96%] Linking C executable device-file [ 96%] Built target device-file Scanning dependencies of target device-terminal [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [100%] Linking C executable device-terminal [100%] Built target device-terminal make: Entering directory '/tmp/sdk/build/release' make[1]: Entering directory '/tmp/sdk/build/release' make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 75%] Built target csdk make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 78%] Built target template make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 81%] Built target device-counter make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 84%] Built target device-random make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 87%] Built target device-gyro make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 90%] Built target device-bitfields make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 93%] Built target template-discovery make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 96%] Built target device-file make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [100%] Built target device-terminal make[1]: Leaving directory '/tmp/sdk/build/release' Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/libcsdk.so -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" -- Up-to-date: /usr/local/include -- Installing: /usr/local/include/edgex -- Installing: /usr/local/include/edgex/rest-server.h -- Installing: /usr/local/include/edgex/edgex-base.h -- Installing: /usr/local/include/edgex/edgex.h -- Installing: /usr/local/include/edgex/devices.h -- Installing: /usr/local/include/edgex/profiles.h -- Installing: /usr/local/include/edgex/csdk-defs.h -- Installing: /usr/local/include/devsdk -- Installing: /usr/local/include/devsdk/devsdk-base.h -- Installing: /usr/local/include/devsdk/devsdk.h -- Installing: /usr/local/include/iot -- Installing: /usr/local/include/iot/json.h -- Installing: /usr/local/include/iot/container.h -- Installing: /usr/local/include/iot/component.h -- Installing: /usr/local/include/iot/typecode.h -- Installing: /usr/local/include/iot/iot.h -- Installing: /usr/local/include/iot/time.h -- Installing: /usr/local/include/iot/hash.h -- Installing: /usr/local/include/iot/logger.h -- Installing: /usr/local/include/iot/os -- Installing: /usr/local/include/iot/os/zephyr.h -- Installing: /usr/local/include/iot/os/linux.h -- Installing: /usr/local/include/iot/os/macos.h -- Installing: /usr/local/include/iot/scheduler.h -- Installing: /usr/local/include/iot/data.h -- Installing: /usr/local/include/iot/thread.h -- Installing: /usr/local/include/iot/os.h -- Installing: /usr/local/include/iot/base64.h -- Installing: /usr/local/include/iot/defs.h -- Installing: /usr/local/include/iot/threadpool.h -- Installing: /usr/local/include/iot/config.h -- Installing: /usr/local/share/device-sdk-c/LICENSE -- Installing: /usr/local/share/device-sdk-c/Attribution.txt make: Leaving directory '/tmp/sdk/build/release' Removing intermediate container 08527105f791 ---> 6375da47b9c6 Step 16/25 : FROM ${BASE} ---> 759262b18b23 Step 17/25 : LABEL maintainer="IOTech " ---> Running in 99239f659c0a Removing intermediate container 99239f659c0a ---> 6380d423dffb 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 ---> Running in 0cc3cc6ebfc0 Connecting to iotech.jfrog.io (54.229.110.245:443) saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' support@iotechsys.co 100% |********************************| 451 0:00:00 ETA '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved Removing intermediate container 0cc3cc6ebfc0 ---> a10a44ed6326 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in 4c3a30ac04f9 Removing intermediate container 4c3a30ac04f9 ---> 0e75508dd98b 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 ---> Running in 9ed1b4c6743c fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz (1/7) Installing curl (7.78.0-r0) (2/7) Installing hiredis (0.14.1-r0) (3/7) Installing hiredis-dev (0.14.1-r0) (4/7) Installing libuuid (2.35.2-r0) (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) (6/7) Installing libidn2 (2.3.0-r0) (7/7) Installing wget (1.20.3-r1) Executing busybox-1.31.1-r20.trigger OK: 267 MiB in 82 packages Removing intermediate container 9ed1b4c6743c ---> 9a0e4391a5c9 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot ---> 17f0897a5e35 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex ---> d668fdfe43be Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib ---> 61f1ef851d11 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 ---> c70e03016403 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c ---> a9c9d2f3f4b7 Successfully built a9c9d2f3f4b7 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-arm64 . [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-327 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat $ docker top 60cb4bb721a354e61563d8ce16afacedc6807a06907d10a9e02be0bd3505a21b -eo pid,comm [Pipeline] { [Pipeline] sh + make test echo "make test" make test [Pipeline] } $ docker stop --time=1 60cb4bb721a354e61563d8ce16afacedc6807a06907d10a9e02be0bd3505a21b $ docker rm -f 60cb4bb721a354e61563d8ce16afacedc6807a06907d10a9e02be0bd3505a21b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] sh + ls -al . total 200 drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 17:39 . drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 17:39 .. drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 17:39 .git drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 17:39 .github -rw-rw-r-- 1 jenkins jenkins 176 Aug 19 17:39 .gitignore -rw-rw-r-- 1 jenkins jenkins 3104 Aug 19 17:39 Attribution.txt -rw-rw-r-- 1 jenkins jenkins 7701 Aug 19 17:39 CHANGES -rw-rw-r-- 1 jenkins jenkins 108574 Aug 19 17:39 Doxyfile -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 17:39 GOVERNANCE.md -rw-rw-r-- 1 jenkins jenkins 784 Aug 19 17:39 Jenkinsfile -rw-rw-r-- 1 jenkins jenkins 10174 Aug 19 17:39 LICENSE -rw-rw-r-- 1 jenkins jenkins 444 Aug 19 17:39 Makefile -rw-rw-r-- 1 jenkins jenkins 618 Aug 19 17:39 OWNERS.md -rw-rw-r-- 1 jenkins jenkins 4086 Aug 19 17:39 README.md -rw-rw-r-- 1 jenkins jenkins 7090 Aug 19 17:39 README.v2.md -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 17:38 VERSION drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 17:39 docs drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 17:39 include drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 17:39 scripts drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 17:39 src [Pipeline] isUnix [Pipeline] sh + 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=cb207ab679bc217498d09e1dbea79e7f8f45f8bb --label arch=arm64 --label version=0.0.0 . Sending build context to Docker daemon 2.716MB Step 1/17 : ARG BASE=alpine:3.12 Step 2/17 : FROM ${BASE} ---> a9c9d2f3f4b7 Step 3/17 : LABEL maintainer="IOTech " ---> Running in c5e8baf4eeac Removing intermediate container c5e8baf4eeac ---> 066eb5fabedc 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 ---> Running in 17ae89f7c011 --2021-08-19 17:42:56-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.170.66.44 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 451 [application/octet-stream] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub'  0K     100% 17.3M=0s 2021-08-19 17:42:57 (17.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] Removing intermediate container 17ae89f7c011 ---> bdf8738b8836 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in fb864d8cb800 Removing intermediate container fb864d8cb800 ---> 09e7b9f34f1c 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 ---> Running in 4f808b7ca740 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz (1/16) Installing ncurses-dev (6.2_p20200523-r0) (2/16) Installing libblkid (2.35.2-r0) (3/16) Installing blkid (2.35.2-r0) (4/16) Installing libcap-ng (0.7.10-r1) (5/16) Installing setpriv (2.35.2-r0) (6/16) Installing libmount (2.35.2-r0) (7/16) Installing libsmartcols (2.35.2-r0) (8/16) Installing findmnt (2.35.2-r0) (9/16) Installing mcookie (2.35.2-r0) (10/16) Installing hexdump (2.35.2-r0) (11/16) Installing lsblk (2.35.2-r0) (12/16) Installing libfdisk (2.35.2-r0) (13/16) Installing sfdisk (2.35.2-r0) (14/16) Installing cfdisk (2.35.2-r0) (15/16) Installing util-linux (2.35.2-r0) (16/16) Installing util-linux-dev (2.35.2-r0) Executing busybox-1.31.1-r20.trigger OK: 276 MiB in 98 packages Removing intermediate container 4f808b7ca740 ---> 695abda8eac9 Step 7/17 : COPY VERSION /edgex-c-sdk/ ---> 8642326f03a8 Step 8/17 : COPY src /edgex-c-sdk/src/ ---> 6c79b25b6f57 Step 9/17 : COPY include /edgex-c-sdk/include/ ---> 85a27b308d7f Step 10/17 : COPY scripts /edgex-c-sdk/scripts ---> ad230b7e6915 Step 11/17 : COPY LICENSE /edgex-c-sdk/ ---> 7c5d3f1044de Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ ---> 96f9bb734480 Step 13/17 : WORKDIR /edgex-c-sdk ---> Running in b765f4dc1852 Removing intermediate container b765f4dc1852 ---> 2a82832cc5bb Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] ---> Running in 03e4df09807a Removing intermediate container 03e4df09807a ---> a16cb8530126 Step 15/17 : LABEL arch=arm64 ---> Running in a30bd2b54c48 Removing intermediate container a30bd2b54c48 ---> f32a806337bc Step 16/17 : LABEL git_sha=cb207ab679bc217498d09e1dbea79e7f8f45f8bb ---> Running in b37c0fddaa4a Removing intermediate container b37c0fddaa4a ---> 0b680f777095 Step 17/17 : LABEL version=0.0.0 ---> Running in 3737232cfce6 Removing intermediate container 3737232cfce6 ---> 560c846d5f86 [Warning] One or more build-args [ARCH MAKE] were not consumed Successfully built 560c846d5f86 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 arm64: Pulling from edgex-lftools-log-publisher 448f6bf000e3: Pulling fs layer f757da607395: Pulling fs layer 05883995daec: Pulling fs layer 8603b9c90790: Pulling fs layer 1560dd03e051: Pulling fs layer 8603b9c90790: Waiting 27f5ce0e4adf: Pulling fs layer c2d8d7efcc4b: Pulling fs layer 1560dd03e051: Waiting c2d8d7efcc4b: Waiting f757da607395: Verifying Checksum f757da607395: Download complete 8603b9c90790: Verifying Checksum 8603b9c90790: Download complete 1560dd03e051: Verifying Checksum 1560dd03e051: Download complete 27f5ce0e4adf: Verifying Checksum 27f5ce0e4adf: Download complete 05883995daec: Verifying Checksum 05883995daec: Download complete 448f6bf000e3: Verifying Checksum 448f6bf000e3: Download complete c2d8d7efcc4b: Verifying Checksum c2d8d7efcc4b: Download complete 448f6bf000e3: Pull complete f757da607395: Pull complete 05883995daec: Pull complete 8603b9c90790: Pull complete 1560dd03e051: Pull complete 27f5ce0e4adf: Pull complete c2d8d7efcc4b: Pull complete Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer prd-ubuntu18.04-docker-arm64-4c-16g-327 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat $ docker top ffaba5c2a438b7ba3ecb1a5acbee4d44d1d6620a680a41f506a5d23e9c870fa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/device-sdk-c/5/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh + echo total: 0.10999999940395355 [Pipeline] stash Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 ffaba5c2a438b7ba3ecb1a5acbee4d44d1d6620a680a41f506a5d23e9c870fa1 $ docker rm -f ffaba5c2a438b7ba3ecb1a5acbee4d44d1d6620a680a41f506a5d23e9c870fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Running on prd-centos7-docker-4c-2g-329 in /w/workspace/edgexfoundry_device-sdk-c_PR-365 [Pipeline] { [Pipeline] ws Running in /w/workspace/device-sdk-c/5 [Pipeline] { [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/device-sdk-c/5 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh4556017019954271261.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa3f1bc6009dfda5647181c893d25c3a20ff6238 into PR head commit cb207ab679bc217498d09e1dbea79e7f8f45f8bb Merge succeeded, producing cb207ab679bc217498d09e1dbea79e7f8f45f8bb Checking out Revision cb207ab679bc217498d09e1dbea79e7f8f45f8bb (PR-365) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh7497039507154739939.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh39473261956834627.key > git merge fa3f1bc6009dfda5647181c893d25c3a20ff6238 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb207ab679bc217498d09e1dbea79e7f8f45f8bb # timeout=10 Commit message: "feat: elaborate (still nyi) devsdk_describe callback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config2922161985358157649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> docker-login.sh nexus3.edgexfoundry.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10002 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10003 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded nexus3.edgexfoundry.org:10004 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded docker.io WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded ---> docker-login.sh ends [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo ========================================================= [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh + 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 . Sending build context to Docker daemon 2.717MB Step 1/25 : ARG BASE=alpine:3.12 Step 2/25 : FROM ${BASE} as builder latest: Pulling from edgex-devops/edgex-gcc-base 339de151aab4: Pulling fs layer 3691962f683c: Pulling fs layer e1147bf81a45: Pulling fs layer 3691962f683c: Verifying Checksum 3691962f683c: Download complete 339de151aab4: Verifying Checksum 339de151aab4: Download complete 339de151aab4: Pull complete 3691962f683c: Pull complete e1147bf81a45: Verifying Checksum e1147bf81a45: Download complete e1147bf81a45: Pull complete Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest ---> ac6a0feb3254 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 ---> Running in 104fd5d5e146 Connecting to iotech.jfrog.io (54.170.66.44:443) saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' support@iotechsys.co 100% |********************************| 451 0:00:00 ETA '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved Removing intermediate container 104fd5d5e146 ---> a1bbcb3c5fcc Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in 0856c5d030e0 Removing intermediate container 0856c5d030e0 ---> 90d941431cda 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 ---> Running in 8efd6ee9c5ec fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz (1/22) Installing hiredis (0.14.1-r0) (2/22) Installing hiredis-dev (0.14.1-r0) (3/22) Installing ncurses-dev (6.2_p20200523-r0) (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) (5/22) Installing libblkid (2.35.2-r0) (6/22) Installing blkid (2.35.2-r0) (7/22) Installing libcap-ng (0.7.10-r1) (8/22) Installing setpriv (2.35.2-r0) (9/22) Installing libmount (2.35.2-r0) (10/22) Installing libsmartcols (2.35.2-r0) (11/22) Installing findmnt (2.35.2-r0) (12/22) Installing mcookie (2.35.2-r0) (13/22) Installing hexdump (2.35.2-r0) (14/22) Installing lsblk (2.35.2-r0) (15/22) Installing libuuid (2.35.2-r0) (16/22) Installing libfdisk (2.35.2-r0) (17/22) Installing sfdisk (2.35.2-r0) (18/22) Installing cfdisk (2.35.2-r0) (19/22) Installing util-linux (2.35.2-r0) (20/22) Installing util-linux-dev (2.35.2-r0) (21/22) Installing libidn2 (2.3.0-r0) (22/22) Installing wget (1.20.3-r1) Executing busybox-1.31.1-r20.trigger OK: 295 MiB in 97 packages Removing intermediate container 8efd6ee9c5ec ---> a27c46396eeb Step 6/25 : ENV CBOR_VERSION=0.5.0 ---> Running in 1b235ce8ee4a Removing intermediate container 1b235ce8ee4a ---> 0e41b5bc7586 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 ---> Running in 5dbf7cac9385 --2021-08-19 17:46:33-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] --2021-08-19 17:46:33-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT' 0K .......... .......... .......... .......... .......... 1.24M 50K .......... .......... .......... .......... .......... 2.53M 100K .......... .......... .......... .......... .......... 39.4M 150K .......... .......... .......... .......... .......... 60.9M 200K .......... .......... .......... .......... .......... 2.72M 250K .......... .......... .......... .......... .......... 6.83M 300K .......... .......... .......... .......... .......... 13.5M 350K .......... .......... .......... .......... .......... 7.05M 400K .......... .......... .......... .......... .......... 11.9M 450K .......... .......... .......... .......... .......... 20.9M 500K .......... .......... .......... .......... .......... 38.1M 550K .......... .......... .......... .......... .......... 8.32M 600K .......... .......... .......... .......... .......... 4.14M 650K .......... .......... .......... .......... .......... 7.74M 700K .. 46.0M=0.1s 2021-08-19 17:46:34 (5.35 MB/s) - written to stdout [719348] -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for include file endian.h -- Looking for include file endian.h - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Check size of size_t -- Check size of size_t - done CMake Warning at examples/CMakeLists.txt:16 (find_package): By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "cJSON", but CMake did not find one. Could not find a package configuration file provided by "cJSON" with any of the following names: cJSONConfig.cmake cjson-config.cmake Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set "cJSON_DIR" to a directory containing one of the above files. If "cJSON" provides a separate development package or SDK, be sure it has been installed. -- Configuring done -- Generating done -- Build files have been written to: /tmp/cbor Scanning dependencies of target cbor_shared [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [ 40%] Linking C shared library libcbor.so [ 40%] Built target cbor_shared Scanning dependencies of target cbor [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [ 80%] Linking C static library libcbor.a [ 80%] Built target cbor Scanning dependencies of target sort [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [ 84%] Linking C executable sort [ 84%] Built target sort Scanning dependencies of target readfile [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [ 88%] Linking C executable readfile [ 88%] Built target readfile Scanning dependencies of target streaming_parser [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [ 92%] Linking C executable streaming_parser [ 92%] Built target streaming_parser Scanning dependencies of target hello [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [ 96%] Linking C executable hello [ 96%] Built target hello Scanning dependencies of target create_items [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [100%] Linking C executable create_items [100%] Built target create_items Install the project... -- Install configuration: "Release" -- Installing: /usr/local/include/cbor/configuration.h -- Installing: /usr/local/lib64/libcbor.a -- Installing: /usr/local/lib64/libcbor.so.0.0.0 -- Installing: /usr/local/lib64/libcbor.so.0 -- Installing: /usr/local/lib64/libcbor.so -- Up-to-date: /usr/local/include/cbor -- Installing: /usr/local/include/cbor/arrays.h -- Installing: /usr/local/include/cbor/bytestrings.h -- Installing: /usr/local/include/cbor/callbacks.h -- Installing: /usr/local/include/cbor/common.h -- Installing: /usr/local/include/cbor/data.h -- Installing: /usr/local/include/cbor/encoding.h -- Installing: /usr/local/include/cbor/floats_ctrls.h -- Installing: /usr/local/include/cbor/internal -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h -- Installing: /usr/local/include/cbor/internal/encoders.h -- Installing: /usr/local/include/cbor/internal/loaders.h -- Installing: /usr/local/include/cbor/internal/memory_utils.h -- Installing: /usr/local/include/cbor/internal/stack.h -- Installing: /usr/local/include/cbor/internal/unicode.h -- Installing: /usr/local/include/cbor/ints.h -- Installing: /usr/local/include/cbor/maps.h -- Installing: /usr/local/include/cbor/serialization.h -- Installing: /usr/local/include/cbor/streaming.h -- Installing: /usr/local/include/cbor/strings.h -- Installing: /usr/local/include/cbor/tags.h -- Installing: /usr/local/include/cbor.h -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc Removing intermediate container 5dbf7cac9385 ---> 884a036a8570 Step 8/25 : RUN mkdir /tmp/sdk ---> Running in 31710fdd6a84 Removing intermediate container 31710fdd6a84 ---> 9b7a88fed54c Step 9/25 : COPY VERSION /tmp/sdk ---> 7bd0ea7591b3 Step 10/25 : COPY src /tmp/sdk/src ---> 88efb0baa978 Step 11/25 : COPY include /tmp/sdk/include ---> d28b9155a3e6 Step 12/25 : COPY scripts /tmp/sdk/scripts ---> aa11ecbde077 Step 13/25 : COPY LICENSE /tmp/sdk ---> 81ef4728d907 Step 14/25 : COPY Attribution.txt /tmp/sdk ---> 5869709d8de2 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install ---> Running in 5d73b057f330 + CPPCHECK=false + DOCGEN=false + TOMLVER=SDK-0.2 + CUTILVER=1.1.4 + '[' 0 -gt 0 ] + readlink -f ./scripts/build.sh + dirname /tmp/sdk/scripts/build.sh + dirname /tmp/sdk/scripts + ROOT=/tmp/sdk + cd /tmp/sdk + '[' '!' -d deps ] + mkdir deps + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz + tar -C deps -z -x -f - --2021-08-19 17:46:41-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] --2021-08-19 17:46:41-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT'  0K .......... ...... 861K=0.02s 2021-08-19 17:46:41 (861 KB/s) - written to stdout [16451] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c + + wget -Otar - -C deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -z -x -f - --2021-08-19 17:46:41-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] --2021-08-19 17:46:41-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT' 0K .......... .......... .......... .......... .......... 1.38M 50K .......... .......... .......... .......... .......... 3.02M 100K .......... .......... .......... .......... .......... 18.1M 150K .......... .......... ....... 3.53M=0.06s 2021-08-19 17:46:41 (2.81 MB/s) - written to stdout [181796] + mkdir -p src/c/iot + 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 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot + mkdir -p include/iot + 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 + mkdir -p include/iot/os + 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 + mkdir -p /tmp/sdk/build/release + cd /tmp/sdk/build/release + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") -- Found LIBYAML: /usr/lib/libyaml.so -- Found LIBUUID: /usr/lib/libuuid.so -- Found LIBCBOR: /usr/local/lib64/libcbor.so -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so -- Found LIBHIREDIS: /usr/lib/libhiredis.so -- C SDK 0.0.0 for Linux -- Performing Test CSDK_HAVE_ATOMIC -- Performing Test CSDK_HAVE_ATOMIC - Success -- Found Curses: /usr/lib/libcurses.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/sdk/build/release + make all package + tee release.log Scanning dependencies of target csdk [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [ 75%] Linking C shared library libcsdk.so [ 75%] Built target csdk Scanning dependencies of target template [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [ 78%] Linking C executable template [ 78%] Built target template Scanning dependencies of target device-counter [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [ 81%] Linking C executable device-counter [ 81%] Built target device-counter Scanning dependencies of target device-random [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [ 84%] Linking C executable device-random [ 84%] Built target device-random Scanning dependencies of target device-gyro [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [ 87%] Linking C executable device-gyro [ 87%] Built target device-gyro Scanning dependencies of target device-bitfields [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [ 90%] Linking C executable device-bitfields [ 90%] Built target device-bitfields Scanning dependencies of target template-discovery [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [ 93%] Linking C executable template-discovery [ 93%] Built target template-discovery Scanning dependencies of target device-file [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [ 96%] Linking C executable device-file [ 96%] Built target device-file Scanning dependencies of target device-terminal [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [100%] Linking C executable device-terminal [100%] Built target device-terminal Run CPack packaging tool... CPack: Create package using TGZ CPack: Install projects CPack: - Run preinstall target for: Csdk CPack: - Install project: Csdk [] CPack: Create package CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. + '[' false '=' true ] + '[' false '=' true ] + mkdir -p /tmp/sdk/build/debug + cd /tmp/sdk/build/debug + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") -- Found LIBYAML: /usr/lib/libyaml.so -- Found LIBUUID: /usr/lib/libuuid.so -- Found LIBCBOR: /usr/local/lib64/libcbor.so -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so -- Found LIBHIREDIS: /usr/lib/libhiredis.so -- C SDK 0.0.0 for Linux -- Performing Test CSDK_HAVE_ATOMIC -- Performing Test CSDK_HAVE_ATOMIC - Success -- Found Curses: /usr/lib/libcurses.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/sdk/build/debug + make + tee debug.log Scanning dependencies of target csdk [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [ 75%] Linking C shared library libcsdk.so [ 75%] Built target csdk Scanning dependencies of target template [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [ 78%] Linking C executable template [ 78%] Built target template Scanning dependencies of target device-counter [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [ 81%] Linking C executable device-counter [ 81%] Built target device-counter Scanning dependencies of target device-random [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [ 84%] Linking C executable device-random [ 84%] Built target device-random Scanning dependencies of target device-gyro [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [ 87%] Linking C executable device-gyro [ 87%] Built target device-gyro Scanning dependencies of target device-bitfields [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [ 90%] Linking C executable device-bitfields [ 90%] Built target device-bitfields Scanning dependencies of target template-discovery [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [ 93%] Linking C executable template-discovery [ 93%] Built target template-discovery Scanning dependencies of target device-file [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [ 96%] Linking C executable device-file [ 96%] Built target device-file Scanning dependencies of target device-terminal [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [100%] Linking C executable device-terminal [100%] Built target device-terminal make: Entering directory '/tmp/sdk/build/release' make[1]: Entering directory '/tmp/sdk/build/release' make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 75%] Built target csdk make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 78%] Built target template make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 81%] Built target device-counter make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 84%] Built target device-random make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 87%] Built target device-gyro make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 90%] Built target device-bitfields make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 93%] Built target template-discovery make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [ 96%] Built target device-file make[2]: Entering directory '/tmp/sdk/build/release' make[2]: Leaving directory '/tmp/sdk/build/release' [100%] Built target device-terminal make[1]: Leaving directory '/tmp/sdk/build/release' Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/libcsdk.so -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" -- Up-to-date: /usr/local/include -- Installing: /usr/local/include/devsdk -- Installing: /usr/local/include/devsdk/devsdk-base.h -- Installing: /usr/local/include/devsdk/devsdk.h -- Installing: /usr/local/include/edgex -- Installing: /usr/local/include/edgex/devices.h -- Installing: /usr/local/include/edgex/edgex-base.h -- Installing: /usr/local/include/edgex/edgex.h -- Installing: /usr/local/include/edgex/profiles.h -- Installing: /usr/local/include/edgex/rest-server.h -- Installing: /usr/local/include/edgex/csdk-defs.h -- Installing: /usr/local/include/iot -- Installing: /usr/local/include/iot/base64.h -- Installing: /usr/local/include/iot/component.h -- Installing: /usr/local/include/iot/config.h -- Installing: /usr/local/include/iot/container.h -- Installing: /usr/local/include/iot/data.h -- Installing: /usr/local/include/iot/hash.h -- Installing: /usr/local/include/iot/iot.h -- Installing: /usr/local/include/iot/json.h -- Installing: /usr/local/include/iot/logger.h -- Installing: /usr/local/include/iot/os.h -- Installing: /usr/local/include/iot/scheduler.h -- Installing: /usr/local/include/iot/thread.h -- Installing: /usr/local/include/iot/threadpool.h -- Installing: /usr/local/include/iot/time.h -- Installing: /usr/local/include/iot/typecode.h -- Installing: /usr/local/include/iot/os -- Installing: /usr/local/include/iot/os/linux.h -- Installing: /usr/local/include/iot/os/macos.h -- Installing: /usr/local/include/iot/os/zephyr.h -- Installing: /usr/local/include/iot/defs.h -- Installing: /usr/local/share/device-sdk-c/LICENSE -- Installing: /usr/local/share/device-sdk-c/Attribution.txt make: Leaving directory '/tmp/sdk/build/release' Removing intermediate container 5d73b057f330 ---> 8c7520ab33ed Step 16/25 : FROM ${BASE} ---> ac6a0feb3254 Step 17/25 : LABEL maintainer="IOTech " ---> Running in dee18f8d78fc Removing intermediate container dee18f8d78fc ---> c7b8800cce84 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 ---> Running in a9e472a7a5d9 Connecting to iotech.jfrog.io (54.195.244.87:443) saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' support@iotechsys.co 100% |********************************| 451 0:00:00 ETA '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved Removing intermediate container a9e472a7a5d9 ---> 11b83243d97a Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in 90c67452ada0 Removing intermediate container 90c67452ada0 ---> 3cc06040e291 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 ---> Running in 6b2d4ab11cba fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz (1/7) Installing curl (7.78.0-r0) (2/7) Installing hiredis (0.14.1-r0) (3/7) Installing hiredis-dev (0.14.1-r0) (4/7) Installing libuuid (2.35.2-r0) (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) (6/7) Installing libidn2 (2.3.0-r0) (7/7) Installing wget (1.20.3-r1) Executing busybox-1.31.1-r20.trigger OK: 286 MiB in 82 packages Removing intermediate container 6b2d4ab11cba ---> c88690c3421a Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot ---> d16e266314bb Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex ---> 969c33732b3b Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib ---> 59ab0ff7a91e Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 ---> 08641641bfba Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c ---> ef9857521b50 Successfully built ef9857521b50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . ci-base-image-x86_64 . [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-329 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat $ docker top b4a819d31a5d24d195841cfc28ebb130554482bc615dd7a41ac0e03544180c77 -eo pid,comm [Pipeline] { [Pipeline] sh + make test echo "make test" make test [Pipeline] } $ docker stop --time=1 b4a819d31a5d24d195841cfc28ebb130554482bc615dd7a41ac0e03544180c77 $ docker rm -f b4a819d31a5d24d195841cfc28ebb130554482bc615dd7a41ac0e03544180c77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh + sudo chown -R jenkins:jenkins . [Pipeline] sh + ls -al . total 172 drwxrwxr-x. 8 jenkins jenkins 4096 Aug 19 17:46 . drwxrwxr-x. 4 jenkins jenkins 28 Aug 19 17:46 .. -rw-rw-r--. 1 jenkins jenkins 3104 Aug 19 17:46 Attribution.txt -rw-rw-r--. 1 jenkins jenkins 7701 Aug 19 17:46 CHANGES drwxrwxr-x. 2 jenkins jenkins 121 Aug 19 17:46 docs -rw-rw-r--. 1 jenkins jenkins 108574 Aug 19 17:46 Doxyfile drwxrwxr-x. 8 jenkins jenkins 179 Aug 19 17:46 .git drwxrwxr-x. 2 jenkins jenkins 81 Aug 19 17:46 .github -rw-rw-r--. 1 jenkins jenkins 176 Aug 19 17:46 .gitignore -rw-rw-r--. 1 jenkins jenkins 677 Aug 19 17:46 GOVERNANCE.md drwxrwxr-x. 4 jenkins jenkins 33 Aug 19 17:46 include -rw-rw-r--. 1 jenkins jenkins 784 Aug 19 17:46 Jenkinsfile -rw-rw-r--. 1 jenkins jenkins 10174 Aug 19 17:46 LICENSE -rw-rw-r--. 1 jenkins jenkins 444 Aug 19 17:46 Makefile -rw-rw-r--. 1 jenkins jenkins 618 Aug 19 17:46 OWNERS.md -rw-rw-r--. 1 jenkins jenkins 4086 Aug 19 17:46 README.md -rw-rw-r--. 1 jenkins jenkins 7090 Aug 19 17:46 README.v2.md drwxrwxr-x. 2 jenkins jenkins 98 Aug 19 17:46 scripts drwxrwxr-x. 4 jenkins jenkins 50 Aug 19 17:46 src -rw-rw-r--. 1 jenkins jenkins 5 Aug 19 17:38 VERSION [Pipeline] isUnix [Pipeline] sh + 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=cb207ab679bc217498d09e1dbea79e7f8f45f8bb --label arch=amd64 --label version=0.0.0 . Sending build context to Docker daemon 2.717MB Step 1/17 : ARG BASE=alpine:3.12 Step 2/17 : FROM ${BASE} ---> ef9857521b50 Step 3/17 : LABEL maintainer="IOTech " ---> Running in 3547d333fec0 Removing intermediate container 3547d333fec0 ---> b0ac33ebfca4 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 ---> Running in c9079341fe15 --2021-08-19 17:47:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 451 [application/octet-stream] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub'  0K 100% 51.3M=0s 2021-08-19 17:47:10 (51.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] Removing intermediate container c9079341fe15 ---> 03bd706ee667 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories ---> Running in de001398521d Removing intermediate container de001398521d ---> 266464b8529a 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 ---> Running in 485199ce6fd8 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz (1/16) Installing ncurses-dev (6.2_p20200523-r0) (2/16) Installing libblkid (2.35.2-r0) (3/16) Installing blkid (2.35.2-r0) (4/16) Installing libcap-ng (0.7.10-r1) (5/16) Installing setpriv (2.35.2-r0) (6/16) Installing libmount (2.35.2-r0) (7/16) Installing libsmartcols (2.35.2-r0) (8/16) Installing findmnt (2.35.2-r0) (9/16) Installing mcookie (2.35.2-r0) (10/16) Installing hexdump (2.35.2-r0) (11/16) Installing lsblk (2.35.2-r0) (12/16) Installing libfdisk (2.35.2-r0) (13/16) Installing sfdisk (2.35.2-r0) (14/16) Installing cfdisk (2.35.2-r0) (15/16) Installing util-linux (2.35.2-r0) (16/16) Installing util-linux-dev (2.35.2-r0) Executing busybox-1.31.1-r20.trigger OK: 295 MiB in 98 packages Removing intermediate container 485199ce6fd8 ---> 0436fda36f13 Step 7/17 : COPY VERSION /edgex-c-sdk/ ---> ba841e273f9d Step 8/17 : COPY src /edgex-c-sdk/src/ ---> f69f466c994b Step 9/17 : COPY include /edgex-c-sdk/include/ ---> ac84f3aa29d9 Step 10/17 : COPY scripts /edgex-c-sdk/scripts ---> 08f9943f5219 Step 11/17 : COPY LICENSE /edgex-c-sdk/ ---> 1e7a525ed1a2 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ ---> bfc4637c760a Step 13/17 : WORKDIR /edgex-c-sdk ---> Running in 6342c7de64db Removing intermediate container 6342c7de64db ---> 7fee135c88d7 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] ---> Running in 7855b814ae8a Removing intermediate container 7855b814ae8a ---> 719300b99273 Step 15/17 : LABEL arch=amd64 ---> Running in 59c532221aa0 Removing intermediate container 59c532221aa0 ---> 79a1b9bb3faa Step 16/17 : LABEL git_sha=cb207ab679bc217498d09e1dbea79e7f8f45f8bb ---> Running in 097d4c1e6de3 Removing intermediate container 097d4c1e6de3 ---> ffb6c1f133a7 Step 17/17 : LABEL version=0.0.0 ---> Running in 12bc7cf11810 Removing intermediate container 12bc7cf11810 ---> 9b124174a1a5 [Warning] One or more build-args [MAKE ARCH] were not consumed Successfully built 9b124174a1a5 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher b4d181a07f80: Pulling fs layer a1111a8f2ec3: Pulling fs layer ed53099fbce6: Pulling fs layer dc539afda2c1: Pulling fs layer 77bc0d833cb6: Pulling fs layer 9065ff56babe: Pulling fs layer d287ab97295c: Pulling fs layer dc539afda2c1: Waiting 77bc0d833cb6: Waiting 9065ff56babe: Waiting d287ab97295c: Waiting a1111a8f2ec3: Verifying Checksum a1111a8f2ec3: Download complete dc539afda2c1: Verifying Checksum dc539afda2c1: Download complete 77bc0d833cb6: Verifying Checksum 77bc0d833cb6: Download complete 9065ff56babe: Verifying Checksum 9065ff56babe: Download complete ed53099fbce6: Verifying Checksum ed53099fbce6: Download complete b4d181a07f80: Verifying Checksum b4d181a07f80: Download complete b4d181a07f80: Pull complete a1111a8f2ec3: Pull complete ed53099fbce6: Pull complete dc539afda2c1: Pull complete 77bc0d833cb6: Pull complete 9065ff56babe: Pull complete d287ab97295c: Verifying Checksum d287ab97295c: Download complete d287ab97295c: Pull complete Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-329 does not seem to be running inside a container $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top 5445c02cc3ded63a5603f03fdb41e95715804b2e9b52bc7a1bd028c3d031527e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [Pipeline] sh + cat /w/workspace/device-sdk-c/5/archives/cost.csv + cut -d, -f6 [Pipeline] lock Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] Resource [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] did not exist. Created. Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh /w/workspace/device-sdk-c/5@tmp/durable-d2731490/script.sh: 1: /w/workspace/device-sdk-c/5@tmp/durable-d2731490/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh + echo total: 0.05999999865889549 [Pipeline] stash Warning: overwriting stash ‘stack-cost’ Stashed 1 file(s) [Pipeline] } Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-365-5-stack-cost] [Pipeline] // lock [Pipeline] } $ docker stop --time=1 5445c02cc3ded63a5603f03fdb41e95715804b2e9b52bc7a1bd028c3d031527e $ docker rm -f 5445c02cc3ded63a5603f03fdb41e95715804b2e9b52bc7a1bd028c3d031527e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives ']' [Pipeline] libraryResource [Pipeline] sh ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=redhat + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-365 + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + sort + rpm -qa + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-365 ']' + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-365/archives/ [Pipeline] echo 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh + facter operatingsystem [Pipeline] isUnix [Pipeline] sh + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest latest: Pulling from edgex-lftools-log-publisher b4d181a07f80: Pulling fs layer a1111a8f2ec3: Pulling fs layer ed53099fbce6: Pulling fs layer dc539afda2c1: Pulling fs layer 77bc0d833cb6: Pulling fs layer 9065ff56babe: Pulling fs layer d287ab97295c: Pulling fs layer dc539afda2c1: Waiting 77bc0d833cb6: Waiting 9065ff56babe: Waiting d287ab97295c: Waiting a1111a8f2ec3: Verifying Checksum a1111a8f2ec3: Download complete dc539afda2c1: Verifying Checksum dc539afda2c1: Download complete 77bc0d833cb6: Verifying Checksum 77bc0d833cb6: Download complete 9065ff56babe: Verifying Checksum 9065ff56babe: Download complete ed53099fbce6: Verifying Checksum ed53099fbce6: Download complete b4d181a07f80: Verifying Checksum b4d181a07f80: Download complete b4d181a07f80: Pull complete a1111a8f2ec3: Pull complete ed53099fbce6: Pull complete dc539afda2c1: Pull complete 77bc0d833cb6: Pull complete 9065ff56babe: Pull complete d287ab97295c: Verifying Checksum d287ab97295c: Download complete d287ab97295c: Pull complete Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer prd-centos7-docker-4c-2g-305 does not seem to be running inside a container $ 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-365/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-365 -v /w/workspace/edgexfoundry_device-sdk-c_PR-365:/w/workspace/edgexfoundry_device-sdk-c_PR-365:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat $ docker top 4578da2bbedd9bcc55412e92e0e0dd5ec4ea0368c249d6ae7011e10d332f73e8 -eo pid,comm [Pipeline] { [Pipeline] sh + touch /tmp/pre-build-complete [Pipeline] sh + mkdir -p /var/log/sysstat [Pipeline] sh + ls /var/log/sa-host + sadf -c /var/log/sa-host/sa19 file_magic: OK HZ: Using current value: 100 file_header: OK 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 Statistics: HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-365@tmp/config5845876270129220483tmp [Pipeline] { [Pipeline] echo Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh ---> create-netrc.sh [Pipeline] } Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh ---> python-tools-install.sh [Pipeline] echo Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh ---> sudo-logs.sh Archiving 'sudo' log.. sudo: unable to resolve host prd-centos7-docker-4c-2g-305.vexxhost.local: Name or service not known sudo: unable to resolve host prd-centos7-docker-4c-2g-305.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh ---> job-cost.sh lf-activate-venv: SKIPPING DEBUG: total: 0.05999999865889549 INFO: Retrieving Stack Cost... INFO: Retrieving Pricing Info for: v3-standard-2 INFO: Archiving Costs [Pipeline] echo Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh ---> logs-deploy.sh lf-activate-venv: SKIPPING INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-365/5 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus