Pull request #372 opened 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 338e2053341470ada287baaf3fa9da8a04fcd32d+103eb2d1a1e0c2c0103fb2343729ae53009a4524 (f7be8782fa58a80c1ecc85127c2cd8ff895ed824) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8038255576611544406.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-ssh4423216368152190539.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5601888521571776065.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7582954527323039443.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4261066009117065127.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-372/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8689484673151823797.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-355 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [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-372 # 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-372@tmp/jenkins-gitclient-ssh5480768264165958090.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 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) > 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-372@tmp/jenkins-gitclient-ssh8147932305506576296.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # 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-372@tmp/jenkins-gitclient-ssh7275477549937143724.key > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 Commit message: "fix: reduce startup logging by default (#370)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:54 ========================================================= 11:04:54 EdgeX Global Pipelines Version Info 11:04:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:56 ------------------- 11:04:56 stable info: 11:04:56 ------------------- 11:04:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:56 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 11:04:56 Message: update stable to v1.0.205 11:04:57 ------------------- 11:04:57 experimental info: 11:04:57 ------------------- 11:04:57 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:57 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 11:04:57 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 338e2053341470ada287baaf3fa9da8a04fcd32d [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 338e205 [Pipeline] echo 11:04:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:58 provisioning config files... 11:04:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/config223526641861303233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:59 ---> docker-login.sh 11:04:59 nexus3.edgexfoundry.org:10001 11:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:59 Configure a credential helper to remove this warning. See 11:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:59 11:04:59 Login Succeeded 11:04:59 nexus3.edgexfoundry.org:10002 11:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:59 Configure a credential helper to remove this warning. See 11:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:59 11:04:59 Login Succeeded 11:04:59 nexus3.edgexfoundry.org:10003 11:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:00 Configure a credential helper to remove this warning. See 11:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:00 11:05:00 Login Succeeded 11:05:00 nexus3.edgexfoundry.org:10004 11:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:00 Configure a credential helper to remove this warning. See 11:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:00 11:05:00 Login Succeeded 11:05:00 docker.io 11:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:00 Configure a credential helper to remove this warning. See 11:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:00 11:05:00 Login Succeeded 11:05:00 ---> docker-login.sh ends [Pipeline] } 11:05:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 11:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:02 11:05:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:05:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:02 latest: Pulling from edgex-devops/git-semver 11:05:02 31603596830f: Pulling fs layer 11:05:02 04fac38145f0: Pulling fs layer 11:05:02 701f6daf10bf: Pulling fs layer 11:05:02 24f72da36158: Pulling fs layer 11:05:02 24f72da36158: Waiting 11:05:02 04fac38145f0: Verifying Checksum 11:05:02 04fac38145f0: Download complete 11:05:03 31603596830f: Verifying Checksum 11:05:03 31603596830f: Download complete 11:05:03 31603596830f: Pull complete 11:05:03 04fac38145f0: Pull complete 11:05:03 24f72da36158: Verifying Checksum 11:05:03 24f72da36158: Download complete 11:05:03 701f6daf10bf: Verifying Checksum 11:05:03 701f6daf10bf: Download complete 11:05:03 701f6daf10bf: Pull complete 11:05:03 24f72da36158: Pull complete 11:05:03 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 11:05:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:05:04 prd-centos7-docker-4c-2g-355 does not seem to be running inside a container 11:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-372 -v /w/workspace/edgexfoundry_device-sdk-c_PR-372:/w/workspace/edgexfoundry_device-sdk-c_PR-372:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:05:05 $ docker top ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:05 [ssh-agent] Looking for ssh-agent implementation... 11:05:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:05 $ docker exec ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent 11:05:05 SSH_AUTH_SOCK=/tmp/ssh-emzkUkBO8FcA/agent.15 11:05:05 SSH_AGENT_PID=21 11:05:05 Running ssh-add (command line suppressed) 11:05:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8765311203074445868.key (/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8765311203074445868.key) 11:05:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:06 + git tag --points-at HEAD [Pipeline] } 11:05:06 $ docker exec --env ******** --env ******** ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent -k 11:05:06 unset SSH_AUTH_SOCK; 11:05:06 unset SSH_AGENT_PID; 11:05:06 echo Agent pid 21 killed; 11:05:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:05:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:06 [ssh-agent] Looking for ssh-agent implementation... 11:05:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:06 $ docker exec ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent 11:05:06 SSH_AUTH_SOCK=/tmp/ssh-cpzL3leTNID0/agent.55 11:05:06 SSH_AGENT_PID=61 11:05:06 Running ssh-add (command line suppressed) 11:05:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8808693578518691690.key (/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/private_key_8808693578518691690.key) 11:05:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:07 + git semver init 11:05:07 # -> Open(): unable to determine branch for HEAD 11:05:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-372/.git 11:05:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-372 11:05:07 # $SEMVER_REMOTE_NAME = origin 11:05:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:05:07 # $SEMVER_USER_NAME = edgex-jenkins 11:05:07 # $SEMVER_BRANCH = PR-372 11:05:07 # $SEMVER_TEMP = /tmp/semver-231849168 11:05:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 11:05:09 # '/tmp/semver-231849168' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-372/.semver' 11:05:09 # -> Force: false 11:05:09 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-372/.semver [Pipeline] } 11:05:09 $ docker exec --env ******** --env ******** ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 ssh-agent -k 11:05:09 unset SSH_AUTH_SOCK; 11:05:09 unset SSH_AGENT_PID; 11:05:09 echo Agent pid 61 killed; 11:05:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:10 + git semver [Pipeline] } 11:05:10 $ docker stop --time=1 ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 11:05:11 $ docker rm -f ef3448c5f5d40c3ad9622e325c72bd7bc311cf9c27f7dd55b98c2db6ee4c2026 [Pipeline] // withDockerContainer [Pipeline] sh 11:05:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:05:12 Stashed 1 file(s) [Pipeline] echo 11:05:12 [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 11:05:27 Still waiting to schedule task 11:05:27 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-355’ 11:05:27 Still waiting to schedule task 11:05:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:07:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-356 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [Pipeline] { [Pipeline] ws 11:07:48 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:07:48 Selected Git installation does not exist. Using Default 11:07:48 The recommended git tool is: NONE 11:07:54 using credential edgex-jenkins-ssh 11:07:54 Cloning the remote Git repository 11:07:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:07:54 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:07:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:07:54 > git --version # timeout=10 11:07:54 > git --version # 'git version 2.17.1' 11:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:56 Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d 11:07:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:07:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:07:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:07:56 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:07:56 > git config core.sparsecheckout # timeout=10 11:07:57 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 11:07:57 > git remote # timeout=10 11:07:57 > git config --get remote.origin.url # timeout=10 11:07:57 Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d 11:07:57 Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) 11:07:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:57 > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 11:07:57 > git rev-parse HEAD^{commit} # timeout=10 11:07:57 > git config core.sparsecheckout # timeout=10 11:07:57 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 11:08:01 Commit message: "fix: reduce startup logging by default (#370)" 11:08:01 > git --version # timeout=10 11:08:01 > git --version # 'git version 2.17.1' 11:08:01 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:02 provisioning config files... 11:08:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7755704813026807275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:03 ---> docker-login.sh 11:08:03 nexus3.edgexfoundry.org:10001 11:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:05 Configure a credential helper to remove this warning. See 11:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:05 11:08:05 Login Succeeded 11:08:05 nexus3.edgexfoundry.org:10002 11:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:05 Configure a credential helper to remove this warning. See 11:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:05 11:08:05 Login Succeeded 11:08:05 nexus3.edgexfoundry.org:10003 11:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 nexus3.edgexfoundry.org:10004 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 docker.io 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:07 Configure a credential helper to remove this warning. See 11:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:07 11:08:07 Login Succeeded 11:08:07 ---> docker-login.sh ends [Pipeline] } 11:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:08:08 ========================================================= 11:08:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:08:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:08:08 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 11:08:09 Sending build context to Docker daemon 2.749MB 11:08:09 Step 1/25 : ARG BASE=alpine:3.12 11:08:09 Step 2/25 : FROM ${BASE} as builder 11:08:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:08:09 d2f70382dc9a: Pulling fs layer 11:08:09 b08cc2eccb4b: Pulling fs layer 11:08:09 7b69db201801: Pulling fs layer 11:08:09 b08cc2eccb4b: Verifying Checksum 11:08:09 b08cc2eccb4b: Download complete 11:08:10 d2f70382dc9a: Download complete 11:08:11 d2f70382dc9a: Pull complete 11:08:11 b08cc2eccb4b: Pull complete 11:08:12 7b69db201801: Verifying Checksum 11:08:12 7b69db201801: Download complete 11:08:16 Running on prd-centos7-docker-4c-2g-357 in /w/workspace/edgexfoundry_device-sdk-c_PR-372 [Pipeline] { [Pipeline] ws 11:08:16 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:08:16 Selected Git installation does not exist. Using Default 11:08:16 The recommended git tool is: NONE 11:08:19 using credential edgex-jenkins-ssh 11:08:19 Cloning the remote Git repository 11:08:19 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:08:19 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:08:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:08:19 > git --version # timeout=10 11:08:19 > git --version # 'git version 2.24.4' 11:08:19 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:19 [INFO] Currently running in a labeled security context 11:08:19 [INFO] Currently SELinux is 'enforcing' on the host 11:08:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4602774680835368489.key 11:08:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:21 Merging remotes/origin/main commit 103eb2d1a1e0c2c0103fb2343729ae53009a4524 into PR head commit 338e2053341470ada287baaf3fa9da8a04fcd32d 11:08:21 7b69db201801: Pull complete 11:08:21 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 11:08:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:08:21 ---> 759262b18b23 11:08:21 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 11:08:21 Merge succeeded, producing 338e2053341470ada287baaf3fa9da8a04fcd32d 11:08:21 Checking out Revision 338e2053341470ada287baaf3fa9da8a04fcd32d (PR-372) 11:08:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:08:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:08:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:20 [INFO] Currently running in a labeled security context 11:08:20 [INFO] Currently SELinux is 'enforcing' on the host 11:08:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4038580739472407730.key 11:08:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:08:21 > git config core.sparsecheckout # timeout=10 11:08:21 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 11:08:21 > git remote # timeout=10 11:08:21 > git config --get remote.origin.url # timeout=10 11:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:21 [INFO] Currently running in a labeled security context 11:08:21 [INFO] Currently SELinux is 'enforcing' on the host 11:08:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6067386275094656901.key 11:08:21 > git merge 103eb2d1a1e0c2c0103fb2343729ae53009a4524 # timeout=10 11:08:21 > git rev-parse HEAD^{commit} # timeout=10 11:08:21 > git config core.sparsecheckout # timeout=10 11:08:21 > git checkout -f 338e2053341470ada287baaf3fa9da8a04fcd32d # timeout=10 11:08:22 ---> Running in a7e8ca540f67 11:08:23 Connecting to iotech.jfrog.io (54.229.110.245:443) 11:08:24 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:08:24 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:08:24 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 11:08:24 Commit message: "fix: reduce startup logging by default (#370)" 11:08:24 > git --version # timeout=10 11:08:24 > git --version # 'git version 2.24.4' 11:08:24 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 11:08:25 Removing intermediate container a7e8ca540f67 11:08:25 ---> 1e31824ce1df 11:08:25 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 11:08:25 ---> Running in 54a291b7e4dd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:25 provisioning config files... 11:08:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7497854984253763683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:26 ---> docker-login.sh 11:08:26 nexus3.edgexfoundry.org:10001 11:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:26 Configure a credential helper to remove this warning. See 11:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:26 11:08:26 Login Succeeded 11:08:26 nexus3.edgexfoundry.org:10002 11:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:26 Configure a credential helper to remove this warning. See 11:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:26 11:08:26 Login Succeeded 11:08:26 nexus3.edgexfoundry.org:10003 11:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:26 Configure a credential helper to remove this warning. See 11:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:26 11:08:26 Login Succeeded 11:08:26 nexus3.edgexfoundry.org:10004 11:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:26 Configure a credential helper to remove this warning. See 11:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:26 11:08:26 Login Succeeded 11:08:26 docker.io 11:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:27 Configure a credential helper to remove this warning. See 11:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:27 11:08:27 Login Succeeded 11:08:27 ---> docker-login.sh ends [Pipeline] } 11:08:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:08:27 ========================================================= 11:08:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:08:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:08:27 + 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 . 11:08:27 Sending build context to Docker daemon 2.75MB 11:08:27 Step 1/25 : ARG BASE=alpine:3.12 11:08:27 Step 2/25 : FROM ${BASE} as builder 11:08:28 Removing intermediate container 54a291b7e4dd 11:08:28 ---> e2574aadf621 11:08:28 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 11:08:28 ---> Running in f7cf5ef12f40 11:08:28 latest: Pulling from edgex-devops/edgex-gcc-base 11:08:28 339de151aab4: Pulling fs layer 11:08:28 3691962f683c: Pulling fs layer 11:08:28 e1147bf81a45: Pulling fs layer 11:08:28 3691962f683c: Verifying Checksum 11:08:28 3691962f683c: Download complete 11:08:28 339de151aab4: Verifying Checksum 11:08:28 339de151aab4: Download complete 11:08:28 339de151aab4: Pull complete 11:08:28 3691962f683c: Pull complete 11:08:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:08:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:08:31 e1147bf81a45: Verifying Checksum 11:08:31 e1147bf81a45: Download complete 11:08:31 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:08:32 (1/22) Installing hiredis (0.14.1-r0) 11:08:32 (2/22) Installing hiredis-dev (0.14.1-r0) 11:08:32 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 11:08:32 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 11:08:33 e1147bf81a45: Pull complete 11:08:33 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 11:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:08:33 ---> ac6a0feb3254 11:08:33 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 11:08:34 (5/22) Installing libblkid (2.35.2-r0) 11:08:34 (6/22) Installing blkid (2.35.2-r0) 11:08:34 (7/22) Installing libcap-ng (0.7.10-r1) 11:08:34 ---> Running in 940849c13f29 11:08:34 (8/22) Installing setpriv (2.35.2-r0) 11:08:34 (9/22) Installing libmount (2.35.2-r0) 11:08:34 (10/22) Installing libsmartcols (2.35.2-r0) 11:08:34 (11/22) Installing findmnt (2.35.2-r0) 11:08:34 (12/22) Installing mcookie (2.35.2-r0) 11:08:35 Connecting to iotech.jfrog.io (54.170.66.44:443) 11:08:35 (13/22) Installing hexdump (2.35.2-r0) 11:08:35 (14/22) Installing lsblk (2.35.2-r0) 11:08:35 (15/22) Installing libuuid (2.35.2-r0) 11:08:35 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:08:35 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:08:35 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 11:08:35 (16/22) Installing libfdisk (2.35.2-r0) 11:08:35 (17/22) Installing sfdisk (2.35.2-r0) 11:08:35 (18/22) Installing cfdisk (2.35.2-r0) 11:08:35 (19/22) Installing util-linux (2.35.2-r0) 11:08:35 Removing intermediate container 940849c13f29 11:08:35 ---> ae20cb1df4cc 11:08:35 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:08:35 ---> Running in 5b319be2fb72 11:08:35 Removing intermediate container 5b319be2fb72 11:08:35 ---> e9fce33c6f6f 11:08:35 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 11:08:36 ---> Running in fa2de24a1a98 11:08:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:08:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:08:37 (20/22) Installing util-linux-dev (2.35.2-r0) 11:08:37 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:08:37 (21/22) Installing libidn2 (2.3.0-r0) 11:08:37 (22/22) Installing wget (1.20.3-r1) 11:08:37 (1/22) Installing hiredis (0.14.1-r0) 11:08:37 (2/22) Installing hiredis-dev (0.14.1-r0) 11:08:37 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 11:08:38 Executing busybox-1.31.1-r20.trigger 11:08:38 OK: 276 MiB in 97 packages 11:08:38 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 11:08:39 (5/22) Installing libblkid (2.35.2-r0) 11:08:39 (6/22) Installing blkid (2.35.2-r0) 11:08:39 (7/22) Installing libcap-ng (0.7.10-r1) 11:08:39 (8/22) Installing setpriv (2.35.2-r0) 11:08:39 (9/22) Installing libmount (2.35.2-r0) 11:08:39 Removing intermediate container f7cf5ef12f40 11:08:39 ---> 3ed015d9c823 11:08:39 Step 6/25 : ENV CBOR_VERSION=0.5.0 11:08:40 (10/22) Installing libsmartcols (2.35.2-r0) 11:08:40 (11/22) Installing findmnt (2.35.2-r0) 11:08:40 (12/22) Installing mcookie (2.35.2-r0) 11:08:40 ---> Running in 69fb24118e8d 11:08:40 (13/22) Installing hexdump (2.35.2-r0) 11:08:40 (14/22) Installing lsblk (2.35.2-r0) 11:08:40 (15/22) Installing libuuid (2.35.2-r0) 11:08:40 (16/22) Installing libfdisk (2.35.2-r0) 11:08:40 (17/22) Installing sfdisk (2.35.2-r0) 11:08:40 (18/22) Installing cfdisk (2.35.2-r0) 11:08:40 Removing intermediate container 69fb24118e8d 11:08:40 ---> 674bf3f44b1d 11:08:40 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 11:08:40 ---> Running in 00918099bf5c 11:08:40 (19/22) Installing util-linux (2.35.2-r0) 11:08:41 (20/22) Installing util-linux-dev (2.35.2-r0) 11:08:42 (21/22) Installing libidn2 (2.3.0-r0) 11:08:42 (22/22) Installing wget (1.20.3-r1) 11:08:42 Executing busybox-1.31.1-r20.trigger 11:08:42 OK: 295 MiB in 97 packages 11:08:42 --2021-09-16 11:08:41-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:08:42 Resolving github.com (github.com)... 140.82.113.4 11:08:42 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 11:08:42 HTTP request sent, awaiting response... 302 Found 11:08:42 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:08:42 --2021-09-16 11:08:42-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:08:42 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:08:42 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:08:42 HTTP request sent, awaiting response... 200 OK 11:08:42 Length: unspecified [application/x-gzip] 11:08:42 Saving to: 'STDOUT' 11:08:42  11:08:42 0K .......... .......... .......... .......... .......... 1.54M 11:08:42 50K .......... .......... .......... .......... .......... 2.88M 11:08:42 100K .......... .......... .......... .......... .......... 12.1M 11:08:42 150K .......... .......... .......... .......... .......... 3.81M 11:08:42 200K .......... .......... .......... .......... .......... 14.9M 11:08:42 250K .......... .......... .......... .......... .......... 4.33M 11:08:42 300K .......... .......... .......... .......... .......... 5.12M 11:08:42 350K .......... .......... .......... .......... .......... 5.62M 11:08:42 400K .......... .......... .......... .......... .......... 3.06M 11:08:42 450K .......... .......... .......... .......... .......... 3.87M 11:08:42 500K .......... .......... .......... .......... .......... 8.20M 11:08:42 550K .......... .......... .......... .......... .......... 2.47M 11:08:42 600K .......... .......... .......... .......... .......... 897K 11:08:42 Removing intermediate container fa2de24a1a98 11:08:42 ---> e1b092cdc23a 11:08:42 Step 6/25 : ENV CBOR_VERSION=0.5.0 11:08:42 ---> Running in 320381fcfcad 11:08:42 Removing intermediate container 320381fcfcad 11:08:42 ---> ccee996f65fc 11:08:42 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 11:08:42 ---> Running in cd116fe9a00b 11:08:42 650K .......... .......... .......... .......... .......... 2.02M 11:08:42 700K .. 498K=0.2s 11:08:42 11:08:42 2021-09-16 11:08:42 (2.89 MB/s) - written to stdout [719348] 11:08:42 11:08:43 --2021-09-16 11:08:42-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 11:08:43 Resolving github.com (github.com)... 140.82.113.4 11:08:43 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 11:08:43 -- The C compiler identification is GNU 9.3.0 11:08:43 HTTP request sent, awaiting response... 302 Found 11:08:43 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 11:08:43 --2021-09-16 11:08:43-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 11:08:43 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:08:43 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:08:43 HTTP request sent, awaiting response... 200 OK 11:08:43 Length: unspecified [application/x-gzip] 11:08:43 Saving to: 'STDOUT' 11:08:43 11:08:43 0K .......... .......... .......... .......... .......... 1.44M 11:08:43 50K .......... .......... .......... .......... .......... 2.86M 11:08:43 100K .......... .......... .......... .......... .......... 41.3M 11:08:43 150K .......... .......... .......... .......... .......... 3.11M 11:08:43 200K .......... .......... .......... .......... .......... 42.9M 11:08:43 250K .......... .......... .......... .......... .......... 6.75M 11:08:43 300K .......... .......... .......... .......... .......... 6.23M 11:08:43 350K .......... .......... .......... .......... .......... 34.6M 11:08:43 400K .......... .......... .......... .......... .......... 6.51M 11:08:43 450K .......... .......... .......... .......... .......... 16.9M 11:08:43 500K .......... .......... .......... .......... .......... 2.19M 11:08:43 550K .......... .......... .......... .......... .......... 30.3M 11:08:43 -- The CXX compiler identification is GNU 9.3.0 11:08:43 -- Check for working C compiler: /usr/bin/cc 11:08:43 600K .......... .......... .......... .......... .......... 2.37M 11:08:43 650K .......... .......... .......... .......... .......... 5.84M 11:08:43 700K .. 50.4M=0.1s 11:08:43 11:08:43 2021-09-16 11:08:43 (4.61 MB/s) - written to stdout [719348] 11:08:43 11:08:43 -- The C compiler identification is GNU 9.3.0 11:08:43 -- The CXX compiler identification is GNU 9.3.0 11:08:43 -- Check for working C compiler: /usr/bin/cc 11:08:43 -- Check for working C compiler: /usr/bin/cc - works 11:08:43 -- Detecting C compiler ABI info 11:08:43 -- Check for working C compiler: /usr/bin/cc - works 11:08:43 -- Detecting C compiler ABI info 11:08:43 -- Detecting C compiler ABI info - done 11:08:43 -- Detecting C compile features 11:08:43 -- Detecting C compile features - done 11:08:43 -- Check for working CXX compiler: /usr/bin/c++ 11:08:43 -- Check for working CXX compiler: /usr/bin/c++ - works 11:08:43 -- Detecting CXX compiler ABI info 11:08:43 -- Detecting CXX compiler ABI info - done 11:08:43 -- Detecting CXX compile features 11:08:43 -- Detecting CXX compile features - done 11:08:43 -- Looking for include file endian.h 11:08:43 -- Detecting C compiler ABI info - done 11:08:43 -- Detecting C compile features 11:08:43 -- Detecting C compile features - done 11:08:43 -- Check for working CXX compiler: /usr/bin/c++ 11:08:44 -- Looking for include file endian.h - found 11:08:44 -- Check if the system is big endian 11:08:44 -- Searching 16 bit integer 11:08:44 -- Looking for sys/types.h 11:08:44 -- Looking for sys/types.h - found 11:08:44 -- Looking for stdint.h 11:08:44 -- Looking for stdint.h - found 11:08:44 -- Looking for stddef.h 11:08:44 -- Looking for stddef.h - found 11:08:44 -- Check size of unsigned short 11:08:44 -- Check for working CXX compiler: /usr/bin/c++ - works 11:08:44 -- Detecting CXX compiler ABI info 11:08:44 -- Check size of unsigned short - done 11:08:44 -- Searching 16 bit integer - Using unsigned short 11:08:44 -- Check if the system is big endian - little endian 11:08:44 -- Check size of size_t 11:08:44 -- Check size of size_t - done 11:08:44 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:08:44 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:08:44 asked CMake to find a package configuration file provided by "cJSON", but 11:08:44 CMake did not find one. 11:08:44 11:08:44 Could not find a package configuration file provided by "cJSON" with any of 11:08:44 the following names: 11:08:44 11:08:44 cJSONConfig.cmake 11:08:44 cjson-config.cmake 11:08:44 11:08:44 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:08:44 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:08:44 provides a separate development package or SDK, be sure it has been 11:08:44 installed. 11:08:44 11:08:44 11:08:44 -- Configuring done 11:08:44 -- Generating done 11:08:44 -- Build files have been written to: /tmp/cbor 11:08:44 Scanning dependencies of target cbor_shared 11:08:44 -- Detecting CXX compiler ABI info - done 11:08:44 -- Detecting CXX compile features 11:08:44 -- Detecting CXX compile features - done 11:08:44 -- Looking for include file endian.h 11:08:44 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:08:44 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:08:44 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:08:44 -- Looking for include file endian.h - found 11:08:44 -- Check if the system is big endian 11:08:44 -- Searching 16 bit integer 11:08:44 -- Looking for sys/types.h 11:08:44 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:08:44 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:08:44 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:08:45 -- Looking for sys/types.h - found 11:08:45 -- Looking for stdint.h 11:08:45 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:08:45 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:08:45 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:08:45 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:08:45 -- Looking for stdint.h - found 11:08:45 -- Looking for stddef.h 11:08:45 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:08:45 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:08:45 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:08:45 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:08:45 -- Looking for stddef.h - found 11:08:45 -- Check size of unsigned short 11:08:45 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:08:45 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:08:45 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:08:45 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:08:45 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:08:45 -- Check size of unsigned short - done 11:08:45 -- Searching 16 bit integer - Using unsigned short 11:08:45 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:08:45 [ 40%] Linking C shared library libcbor.so 11:08:45 [ 40%] Built target cbor_shared 11:08:45 Scanning dependencies of target cbor 11:08:45 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:08:46 -- Check if the system is big endian - little endian 11:08:46 -- Check size of size_t 11:08:46 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:08:46 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:08:46 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:08:46 -- Check size of size_t - done 11:08:46 CMake Warning at examples/CMakeLists.txt:16 (find_package): 11:08:46 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 11:08:46 asked CMake to find a package configuration file provided by "cJSON", but 11:08:46 CMake did not find one. 11:08:46 11:08:46 Could not find a package configuration file provided by "cJSON" with any of 11:08:46 the following names: 11:08:46 11:08:46 cJSONConfig.cmake 11:08:46 cjson-config.cmake 11:08:46 11:08:46 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 11:08:46 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 11:08:46 provides a separate development package or SDK, be sure it has been 11:08:46 installed. 11:08:46 11:08:46 11:08:46 -- Configuring done 11:08:46 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:08:46 -- Generating done 11:08:46 -- Build files have been written to: /tmp/cbor 11:08:46 Scanning dependencies of target cbor_shared 11:08:46 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:08:46 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:08:46 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:08:46 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:08:46 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:08:46 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 11:08:47 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:08:47 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:08:47 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:08:47 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:08:47 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:08:47 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:08:47 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 11:08:47 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:08:47 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:08:47 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:08:47 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:08:47 [ 80%] Linking C static library libcbor.a 11:08:47 [ 80%] Built target cbor 11:08:47 Scanning dependencies of target sort 11:08:47 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:08:47 [ 84%] Linking C executable sort 11:08:47 [ 84%] Built target sort 11:08:47 Scanning dependencies of target readfile 11:08:47 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:08:47 [ 88%] Linking C executable readfile 11:08:47 [ 88%] Built target readfile 11:08:47 Scanning dependencies of target streaming_parser 11:08:47 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:08:47 [ 92%] Linking C executable streaming_parser 11:08:47 [ 92%] Built target streaming_parser 11:08:48 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 11:08:48 Scanning dependencies of target hello 11:08:48 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:08:48 [ 96%] Linking C executable hello 11:08:48 [ 96%] Built target hello 11:08:48 Scanning dependencies of target create_items 11:08:48 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:08:48 [100%] Linking C executable create_items 11:08:48 [100%] Built target create_items 11:08:48 Install the project... 11:08:48 -- Install configuration: "Release" 11:08:48 -- Installing: /usr/local/include/cbor/configuration.h 11:08:48 -- Installing: /usr/local/lib64/libcbor.a 11:08:48 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:08:48 -- Installing: /usr/local/lib64/libcbor.so.0 11:08:48 -- Installing: /usr/local/lib64/libcbor.so 11:08:48 -- Up-to-date: /usr/local/include/cbor 11:08:48 -- Installing: /usr/local/include/cbor/arrays.h 11:08:48 -- Installing: /usr/local/include/cbor/bytestrings.h 11:08:48 -- Installing: /usr/local/include/cbor/callbacks.h 11:08:48 -- Installing: /usr/local/include/cbor/common.h 11:08:48 -- Installing: /usr/local/include/cbor/data.h 11:08:48 -- Installing: /usr/local/include/cbor/encoding.h 11:08:48 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:08:48 -- Installing: /usr/local/include/cbor/internal 11:08:48 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:08:48 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:08:48 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:08:48 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:08:48 -- Installing: /usr/local/include/cbor/internal/stack.h 11:08:48 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:08:48 -- Installing: /usr/local/include/cbor/ints.h 11:08:48 -- Installing: /usr/local/include/cbor/maps.h 11:08:48 -- Installing: /usr/local/include/cbor/serialization.h 11:08:48 -- Installing: /usr/local/include/cbor/streaming.h 11:08:48 -- Installing: /usr/local/include/cbor/strings.h 11:08:48 -- Installing: /usr/local/include/cbor/tags.h 11:08:48 -- Installing: /usr/local/include/cbor.h 11:08:48 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:08:48 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 11:08:48 Removing intermediate container cd116fe9a00b 11:08:48 ---> 82078f70c854 11:08:48 Step 8/25 : RUN mkdir /tmp/sdk 11:08:48 ---> Running in 129699f1dc7f 11:08:48 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 11:08:49 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 11:08:49 Removing intermediate container 129699f1dc7f 11:08:49 ---> a4163789e867 11:08:49 Step 9/25 : COPY VERSION /tmp/sdk 11:08:49 ---> a708bd9715bf 11:08:49 Step 10/25 : COPY src /tmp/sdk/src 11:08:49 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 11:08:49 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 11:08:49 ---> 01fd88aef507 11:08:49 Step 11/25 : COPY include /tmp/sdk/include 11:08:49 ---> 9bbb29b75f4b 11:08:49 Step 12/25 : COPY scripts /tmp/sdk/scripts 11:08:49 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 11:08:49 ---> 86cfcc12a936 11:08:49 Step 13/25 : COPY LICENSE /tmp/sdk 11:08:50 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 11:08:50 ---> c2b4ac6697e2 11:08:50 Step 14/25 : COPY Attribution.txt /tmp/sdk 11:08:50 ---> 362aa9e52805 11:08:50 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:08:50 ---> Running in 300db22c708c 11:08:50 + CPPCHECK=false 11:08:50 + DOCGEN=false 11:08:50 + TOMLVER=SDK-0.2 11:08:50 + CUTILVER=1.2.2 11:08:50 + '[' 0 -gt 0 ] 11:08:50 + readlink -f ./scripts/build.sh 11:08:50 + dirname /tmp/sdk/scripts/build.sh 11:08:50 + dirname /tmp/sdk/scripts 11:08:50 + ROOT=/tmp/sdk 11:08:50 + cd /tmp/sdk 11:08:50 + '[' '!' -d deps ] 11:08:50 + mkdir deps 11:08:50 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:08:50 + tar -C deps -z -x -f - 11:08:50 --2021-09-16 11:08:50-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:08:50 Resolving github.com (github.com)... 140.82.113.3 11:08:50 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 11:08:50 HTTP request sent, awaiting response... 302 Found 11:08:50 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:08:50 --2021-09-16 11:08:50-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:08:50 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:08:50 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:08:50 HTTP request sent, awaiting response... 200 OK 11:08:50 Length: unspecified [application/x-gzip] 11:08:50 Saving to: 'STDOUT' 11:08:50 11:08:50 0K .......... ...... 957K=0.02s 11:08:50 11:08:50 2021-09-16 11:08:50 (957 KB/s) - written to stdout [16451] 11:08:50 11:08:50 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:08:50 + tar -C deps -z -x -f - 11:08:50 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 11:08:50 --2021-09-16 11:08:50-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 11:08:50 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 11:08:50 Resolving github.com (github.com)... 140.82.113.3 11:08:50 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 11:08:50 HTTP request sent, awaiting response... 302 Found 11:08:50 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 11:08:50 --2021-09-16 11:08:50-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 11:08:50 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:08:50 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:08:50 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 11:08:51 HTTP request sent, awaiting response... 200 OK 11:08:51 Length: unspecified [application/x-gzip] 11:08:51 Saving to: 'STDOUT' 11:08:51  11:08:51 0K .......... .......... .......... .......... .......... 1.30M 11:08:51 50K .......... .......... .......... .......... .......... 2.58M 11:08:51 100K .......... .......... .......... .......... .......... 38.6M 11:08:51 150K .......... .......... .......... ........ 3.21M=0.07s 11:08:51 11:08:51 2021-09-16 11:08:51 (2.65 MB/s) - written to stdout [193412] 11:08:51 11:08:51 + mkdir -p src/c/iot 11:08:51 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 11:08:51 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 11:08:51 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 11:08:51 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 11:08:51 + mkdir -p include/iot 11:08:51 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 11:08:51 + mkdir -p include/iot/os 11:08:51 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 11:08:51 + mkdir -p /tmp/sdk/build/release 11:08:51 + cd /tmp/sdk/build/release 11:08:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:08:51 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 11:08:51 -- The C compiler identification is GNU 9.3.0 11:08:51 -- Check for working C compiler: /usr/bin/cc 11:08:51 -- Check for working C compiler: /usr/bin/cc - works 11:08:51 -- Detecting C compiler ABI info 11:08:51 -- Detecting C compiler ABI info - done 11:08:51 -- Detecting C compile features 11:08:51 -- Detecting C compile features - done 11:08:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:08:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 11:08:51 -- Found LIBYAML: /usr/lib/libyaml.so 11:08:51 -- Found LIBUUID: /usr/lib/libuuid.so 11:08:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:08:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:08:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:08:51 -- C SDK 0.0.0 for Linux 11:08:51 -- Performing Test CSDK_HAVE_ATOMIC 11:08:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:08:51 -- Found Curses: /usr/lib/libcurses.so 11:08:51 -- Configuring done 11:08:51 -- Generating done 11:08:51 -- Build files have been written to: /tmp/sdk/build/release 11:08:51 + make all package 11:08:51 + tee release.log 11:08:51 Scanning dependencies of target csdk 11:08:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:08:51 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 11:08:51 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 11:08:51 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:08:51 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:08:52 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 11:08:52 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:08:52 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 11:08:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:08:52 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:08:52 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:08:52 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 11:08:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:08:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:08:52 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 11:08:53 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:08:53 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 11:08:53 [ 40%] Linking C shared library libcbor.so 11:08:53 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:08:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:08:53 [ 40%] Built target cbor_shared 11:08:53 Scanning dependencies of target cbor 11:08:53 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 11:08:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:08:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:08:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:08:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:08:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:08:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:08:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:08:54 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:08:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:08:54 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 11:08:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:08:54 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 11:08:54 /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] 11:08:54 335 | const iot_component_factory_t * factory; 11:08:54 | ^~~~~~~ 11:08:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:08:55 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 11:08:55 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 11:08:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:08:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:08:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:08:55 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:08:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:08:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:08:56 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:08:56 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:08:56 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:08:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 11:08:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:08:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:08:56 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:08:56 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 11:08:56 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 11:08:57 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:08:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:08:57 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 11:08:57 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 11:08:57 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 11:08:57 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 11:08:57 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:08:58 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:08:58 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:08:58 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:08:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:08:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:08:58 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 11:08:58 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 11:08:58 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:08:58 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:08:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:08:59 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 11:08:59 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:08:59 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 11:08:59 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 11:09:00 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:09:00 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:09:00 [ 76%] Linking C shared library libcsdk.so 11:09:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 11:09:00 [ 76%] Built target csdk 11:09:00 Scanning dependencies of target template 11:09:00 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:09:00 [ 79%] Linking C executable template 11:09:00 [ 79%] Built target template 11:09:00 Scanning dependencies of target device-counter 11:09:00 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:09:00 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 11:09:00 [ 82%] Linking C executable device-counter 11:09:00 [ 82%] Built target device-counter 11:09:00 Scanning dependencies of target device-random 11:09:00 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:09:00 [ 85%] Linking C executable device-random 11:09:00 [ 85%] Built target device-random 11:09:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 11:09:00 Scanning dependencies of target device-gyro 11:09:00 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:09:00 [ 88%] Linking C executable device-gyro 11:09:00 [ 88%] Built target device-gyro 11:09:00 Scanning dependencies of target device-bitfields 11:09:00 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:09:00 [ 91%] Linking C executable device-bitfields 11:09:01 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 11:09:01 [ 91%] Built target device-bitfields 11:09:01 Scanning dependencies of target template-discovery 11:09:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:09:01 [ 94%] Linking C executable template-discovery 11:09:01 [ 94%] Built target template-discovery 11:09:01 Scanning dependencies of target device-file 11:09:01 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:09:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 11:09:01 [ 97%] Linking C executable device-file 11:09:01 [ 97%] Built target device-file 11:09:01 Scanning dependencies of target device-terminal 11:09:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:09:01 [100%] Linking C executable device-terminal 11:09:01 [ 80%] Linking C static library libcbor.a 11:09:01 [ 80%] Built target cbor 11:09:01 Scanning dependencies of target sort 11:09:01 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 11:09:01 [100%] Built target device-terminal 11:09:01 Run CPack packaging tool... 11:09:01 CPack: Create package using TGZ 11:09:01 CPack: Install projects 11:09:01 CPack: - Run preinstall target for: Csdk 11:09:01 CPack: - Install project: Csdk [] 11:09:01 CPack: Create package 11:09:01 [ 84%] Linking C executable sort 11:09:01 [ 84%] Built target sort 11:09:01 Scanning dependencies of target readfile 11:09:01 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 11:09:01 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:09:01 + '[' false '=' true ] 11:09:01 + '[' false '=' true ] 11:09:01 + mkdir -p /tmp/sdk/build/debug 11:09:01 + cd /tmp/sdk/build/debug 11:09:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:09:01 -- The C compiler identification is GNU 9.3.0 11:09:01 -- Check for working C compiler: /usr/bin/cc 11:09:01 -- Check for working C compiler: /usr/bin/cc - works 11:09:01 -- Detecting C compiler ABI info 11:09:01 -- Detecting C compiler ABI info - done 11:09:01 -- Detecting C compile features 11:09:01 -- Detecting C compile features - done 11:09:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:09:02 [ 88%] Linking C executable readfile 11:09:02 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 11:09:02 -- Found LIBYAML: /usr/lib/libyaml.so 11:09:02 -- Found LIBUUID: /usr/lib/libuuid.so 11:09:02 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:09:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:09:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:09:02 -- C SDK 0.0.0 for Linux 11:09:02 -- Performing Test CSDK_HAVE_ATOMIC 11:09:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:09:02 -- Found Curses: /usr/lib/libcurses.so 11:09:02 -- Configuring done 11:09:02 -- Generating done 11:09:02 -- Build files have been written to: /tmp/sdk/build/debug 11:09:02 + tee debug.log 11:09:02 + make 11:09:02 Scanning dependencies of target csdk 11:09:02 [ 88%] Built target readfile 11:09:02 Scanning dependencies of target streaming_parser 11:09:02 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 11:09:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:09:02 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:09:02 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:09:02 [ 92%] Linking C executable streaming_parser 11:09:02 [ 92%] Built target streaming_parser 11:09:02 Scanning dependencies of target hello 11:09:02 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 11:09:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:09:02 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:09:02 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:09:02 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:09:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:09:02 [ 96%] Linking C executable hello 11:09:02 [ 96%] Built target hello 11:09:02 Scanning dependencies of target create_items 11:09:02 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 11:09:03 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:09:03 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:09:03 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:09:03 [100%] Linking C executable create_items 11:09:03 [100%] Built target create_items 11:09:03 Install the project... 11:09:03 -- Install configuration: "Release" 11:09:03 -- Installing: /usr/local/include/cbor/configuration.h 11:09:03 -- Installing: /usr/local/lib64/libcbor.a 11:09:03 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 11:09:03 -- Installing: /usr/local/lib64/libcbor.so.0 11:09:03 -- Installing: /usr/local/lib64/libcbor.so 11:09:03 -- Up-to-date: /usr/local/include/cbor 11:09:03 -- Installing: /usr/local/include/cbor/streaming.h 11:09:03 -- Installing: /usr/local/include/cbor/ints.h 11:09:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 11:09:03 -- Installing: /usr/local/include/cbor/bytestrings.h 11:09:03 -- Installing: /usr/local/include/cbor/encoding.h 11:09:03 -- Installing: /usr/local/include/cbor/serialization.h 11:09:03 -- Installing: /usr/local/include/cbor/data.h 11:09:03 -- Installing: /usr/local/include/cbor/common.h 11:09:03 -- Installing: /usr/local/include/cbor/callbacks.h 11:09:03 -- Installing: /usr/local/include/cbor/strings.h 11:09:03 -- Installing: /usr/local/include/cbor/tags.h 11:09:03 -- Installing: /usr/local/include/cbor/internal 11:09:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 11:09:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 11:09:03 -- Installing: /usr/local/include/cbor/internal/stack.h 11:09:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 11:09:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 11:09:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 11:09:03 -- Installing: /usr/local/include/cbor/arrays.h 11:09:03 -- Installing: /usr/local/include/cbor/maps.h 11:09:03 -- Installing: /usr/local/include/cbor.h 11:09:03 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 11:09:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:09:03 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:09:03 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:09:03 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:09:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:09:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:09:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:09:03 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:09:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:09:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:09:03 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:09:03 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 11:09:03 /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] 11:09:03 335 | const iot_component_factory_t * factory; 11:09:03 | ^~~~~~~ 11:09:03 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:09:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:09:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:09:04 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:09:04 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:09:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:09:04 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:09:04 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:09:04 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:09:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:09:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 11:09:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:09:04 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:09:04 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:09:04 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:09:04 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:09:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:09:05 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:09:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:09:05 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:09:05 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:09:05 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:09:05 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:09:05 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:09:05 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:09:05 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:09:05 Removing intermediate container 00918099bf5c 11:09:05 ---> 0c569a815f1e 11:09:05 Step 8/25 : RUN mkdir /tmp/sdk 11:09:05 ---> Running in 986529ec2ae2 11:09:05 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:09:05 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:09:06 [ 76%] Linking C shared library libcsdk.so 11:09:06 [ 76%] Built target csdk 11:09:06 Scanning dependencies of target template 11:09:06 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:09:06 [ 79%] Linking C executable template 11:09:06 [ 79%] Built target template 11:09:06 Scanning dependencies of target device-counter 11:09:06 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:09:06 [ 82%] Linking C executable device-counter 11:09:06 [ 82%] Built target device-counter 11:09:06 Scanning dependencies of target device-random 11:09:06 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:09:06 [ 85%] Linking C executable device-random 11:09:06 [ 85%] Built target device-random 11:09:06 Scanning dependencies of target device-gyro 11:09:06 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:09:06 [ 88%] Linking C executable device-gyro 11:09:06 [ 88%] Built target device-gyro 11:09:06 Scanning dependencies of target device-bitfields 11:09:06 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:09:06 [ 91%] Linking C executable device-bitfields 11:09:06 [ 91%] Built target device-bitfields 11:09:06 Scanning dependencies of target template-discovery 11:09:06 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:09:06 [ 94%] Linking C executable template-discovery 11:09:07 [ 94%] Built target template-discovery 11:09:07 Scanning dependencies of target device-file 11:09:07 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:09:07 [ 97%] Linking C executable device-file 11:09:07 [ 97%] Built target device-file 11:09:07 Scanning dependencies of target device-terminal 11:09:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:09:07 [100%] Linking C executable device-terminal 11:09:07 [100%] Built target device-terminal 11:09:07 make: Entering directory '/tmp/sdk/build/release' 11:09:07 make[1]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 76%] Built target csdk 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 79%] Built target template 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 82%] Built target device-counter 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 85%] Built target device-random 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 88%] Built target device-gyro 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 91%] Built target device-bitfields 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 94%] Built target template-discovery 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [ 97%] Built target device-file 11:09:07 make[2]: Entering directory '/tmp/sdk/build/release' 11:09:07 make[2]: Leaving directory '/tmp/sdk/build/release' 11:09:07 [100%] Built target device-terminal 11:09:07 make[1]: Leaving directory '/tmp/sdk/build/release' 11:09:07 Install the project... 11:09:07 -- Install configuration: "Release" 11:09:07 -- Installing: /usr/local/lib/libcsdk.so 11:09:07 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:09:07 -- Up-to-date: /usr/local/include 11:09:07 -- Installing: /usr/local/include/devsdk 11:09:07 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:09:07 -- Installing: /usr/local/include/devsdk/devsdk.h 11:09:07 -- Installing: /usr/local/include/edgex 11:09:07 -- Installing: /usr/local/include/edgex/devices.h 11:09:07 -- Installing: /usr/local/include/edgex/edgex-base.h 11:09:07 -- Installing: /usr/local/include/edgex/edgex.h 11:09:07 -- Installing: /usr/local/include/edgex/profiles.h 11:09:07 -- Installing: /usr/local/include/edgex/rest-server.h 11:09:07 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:09:07 -- Installing: /usr/local/include/iot 11:09:07 -- Installing: /usr/local/include/iot/base64.h 11:09:07 -- Installing: /usr/local/include/iot/component.h 11:09:07 -- Installing: /usr/local/include/iot/config.h 11:09:07 -- Installing: /usr/local/include/iot/container.h 11:09:07 -- Installing: /usr/local/include/iot/data.h 11:09:07 -- Installing: /usr/local/include/iot/hash.h 11:09:07 -- Installing: /usr/local/include/iot/iot.h 11:09:07 -- Installing: /usr/local/include/iot/json.h 11:09:07 -- Installing: /usr/local/include/iot/logger.h 11:09:07 -- Installing: /usr/local/include/iot/os.h 11:09:07 -- Installing: /usr/local/include/iot/scheduler.h 11:09:07 -- Installing: /usr/local/include/iot/thread.h 11:09:07 -- Installing: /usr/local/include/iot/threadpool.h 11:09:07 -- Installing: /usr/local/include/iot/time.h 11:09:07 -- Installing: /usr/local/include/iot/typecode.h 11:09:07 -- Installing: /usr/local/include/iot/uuid.h 11:09:07 -- Installing: /usr/local/include/iot/os 11:09:07 -- Installing: /usr/local/include/iot/os/linux.h 11:09:07 -- Installing: /usr/local/include/iot/os/macos.h 11:09:07 -- Installing: /usr/local/include/iot/os/zephyr.h 11:09:07 -- Installing: /usr/local/include/iot/defs.h 11:09:07 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:09:07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:09:07 make: Leaving directory '/tmp/sdk/build/release' 11:09:07 Removing intermediate container 300db22c708c 11:09:07 ---> 2b4596b0fc9d 11:09:07 Step 16/25 : FROM ${BASE} 11:09:07 ---> ac6a0feb3254 11:09:07 Step 17/25 : LABEL maintainer="IOTech " 11:09:07 ---> Running in 4afcea26c4e1 11:09:08 Removing intermediate container 4afcea26c4e1 11:09:08 ---> 9f1dfa65379d 11:09:08 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 11:09:08 ---> Running in 383539211c2c 11:09:08 Connecting to iotech.jfrog.io (54.170.66.44:443) 11:09:08 Removing intermediate container 986529ec2ae2 11:09:08 ---> 005103c69bff 11:09:08 Step 9/25 : COPY VERSION /tmp/sdk 11:09:08 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:09:08 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:09:08 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 11:09:08 ---> 51128c480608 11:09:08 Step 10/25 : COPY src /tmp/sdk/src 11:09:08 Removing intermediate container 383539211c2c 11:09:08 ---> 6cae74274191 11:09:08 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:09:08 ---> Running in 67fd360b35b2 11:09:09 Removing intermediate container 67fd360b35b2 11:09:09 ---> ab2318169a33 11:09:09 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 11:09:09 ---> Running in 45d53d2676f7 11:09:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:09:10 ---> d2dd56385479 11:09:10 Step 11/25 : COPY include /tmp/sdk/include 11:09:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:09:10 ---> 6945e8f91f65 11:09:10 Step 12/25 : COPY scripts /tmp/sdk/scripts 11:09:11 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:09:11 (1/7) Installing curl (7.79.0-r0) 11:09:11 (2/7) Installing hiredis (0.14.1-r0) 11:09:11 (3/7) Installing hiredis-dev (0.14.1-r0) 11:09:11 (4/7) Installing libuuid (2.35.2-r0) 11:09:11 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 11:09:11 ---> 4c36eec0c123 11:09:11 Step 13/25 : COPY LICENSE /tmp/sdk 11:09:12 ---> d1761473490d 11:09:12 Step 14/25 : COPY Attribution.txt /tmp/sdk 11:09:12 (6/7) Installing libidn2 (2.3.0-r0) 11:09:12 (7/7) Installing wget (1.20.3-r1) 11:09:13 Executing busybox-1.31.1-r20.trigger 11:09:13 OK: 286 MiB in 82 packages 11:09:13 ---> 52106d67a2ab 11:09:13 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:09:13 Removing intermediate container 45d53d2676f7 11:09:13 ---> c63693da9774 11:09:13 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:09:13 ---> Running in 40b8317f818b 11:09:13 ---> aa5d8cbf73c0 11:09:13 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:09:13 ---> b2f443b0aea0 11:09:13 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 11:09:14 ---> 3cde52bae30d 11:09:14 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:09:14 ---> 64cb2fbc53e7 11:09:14 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:09:14 ---> eac2074875a6 11:09:14 Successfully built eac2074875a6 11:09:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 11:09:14 + CPPCHECK=false 11:09:14 + DOCGEN=false 11:09:14 + TOMLVER=SDK-0.2 11:09:14 + CUTILVER=1.2.2 11:09:14 + '[' 0 -gt 0 ] 11:09:14 + readlink -f ./scripts/build.sh 11:09:14 + dirname /tmp/sdk/scripts/build.sh 11:09:14 + dirname /tmp/sdk/scripts 11:09:14 + ROOT=/tmp/sdk 11:09:14 + cd /tmp/sdk 11:09:14 + '[' '!' -d deps ] 11:09:14 + mkdir deps [Pipeline] isUnix [Pipeline] sh 11:09:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:09:14 + tar -C deps -z -x -f - 11:09:14 --2021-09-16 11:09:14-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:09:14 Resolving github.com (github.com)... 140.82.113.3 11:09:14 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 11:09:14 HTTP request sent, awaiting response... 302 Found 11:09:14 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 11:09:14 --2021-09-16 11:09:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 11:09:14 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:09:14 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:09:14 HTTP request sent, awaiting response... 200 OK 11:09:14 Length: unspecified [application/x-gzip] 11:09:14 Saving to: 'STDOUT' 11:09:14  11:09:14 0K .......... ......  943K=0.02s 11:09:14 11:09:14 2021-09-16 11:09:14 (943 KB/s) - written to stdout [16451] 11:09:14 11:09:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:09:14 + docker inspect -f . ci-base-image-x86_64 11:09:14 . [Pipeline] withDockerContainer 11:09:15 prd-centos7-docker-4c-2g-357 does not seem to be running inside a container 11:09:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:09:15 + tar -C deps -z -x -f - 11:09:15 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 11:09:15 --2021-09-16 11:09:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 11:09:15 Resolving github.com (github.com)... 140.82.113.3 11:09:15 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 11:09:15 HTTP request sent, awaiting response... 302 Found 11:09:15 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 11:09:15 --2021-09-16 11:09:15-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 11:09:15 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 11:09:15 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 11:09:15 HTTP request sent, awaiting response... 200 OK 11:09:15 Length: unspecified [application/x-gzip] 11:09:15 Saving to: 'STDOUT' 11:09:15  11:09:15 0K .......... .......... .......... .......... .......... 1.47M 11:09:15 50K .......... .......... .......... .......... .......... 3.35M 11:09:15 100K .......... .......... .......... .......... .......... 2.91M 11:09:15 150K .......... .......... .......... ........  1.46M=0.09s 11:09:15 11:09:15 2021-09-16 11:09:15 (2.04 MB/s) - written to stdout [193412] 11:09:15 11:09:15 + mkdir -p src/c/iot 11:09:15 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 11:09:15 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 11:09:15 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 11:09:15 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 11:09:15 + mkdir -p include/iot 11:09:15 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 11:09:15 + mkdir -p include/iot/os 11:09:15 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 11:09:15 + mkdir -p /tmp/sdk/build/release 11:09:15 + cd /tmp/sdk/build/release 11:09:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:09:15 $ docker top 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:15 -- The C compiler identification is GNU 9.3.0 11:09:15 -- Check for working C compiler: /usr/bin/cc 11:09:15 + make test 11:09:15 echo "make test" 11:09:15 make test [Pipeline] } 11:09:15 $ docker stop --time=1 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 11:09:15 -- Check for working C compiler: /usr/bin/cc - works 11:09:15 -- Detecting C compiler ABI info 11:09:16 -- Detecting C compiler ABI info - done 11:09:16 -- Detecting C compile features 11:09:16 -- Detecting C compile features - done 11:09:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:09:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 11:09:16 -- Found LIBYAML: /usr/lib/libyaml.so 11:09:16 -- Found LIBUUID: /usr/lib/libuuid.so 11:09:16 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:09:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:09:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:09:16 -- C SDK 0.0.0 for Linux 11:09:16 -- Performing Test CSDK_HAVE_ATOMIC 11:09:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:09:16 -- Found Curses: /usr/lib/libcurses.so 11:09:17 -- Configuring done 11:09:17 $ docker rm -f 92137fde29304d700f951b1b65adb7da58f94d74ceca11ba4bb1037c40472464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 11:09:17 -- Generating done 11:09:17 -- Build files have been written to: /tmp/sdk/build/release 11:09:17 + make all package 11:09:17 + tee release.log 11:09:17 Scanning dependencies of target csdk [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 11:09:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:09:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:09:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [Pipeline] sh 11:09:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:20 + ls -al . 11:09:20 total 172 11:09:20 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 16 11:08 . 11:09:20 drwxrwxr-x. 4 jenkins jenkins 28 Sep 16 11:08 .. 11:09:20 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 16 11:08 Attribution.txt 11:09:20 -rw-rw-r--. 1 jenkins jenkins 7701 Sep 16 11:08 CHANGES 11:09:20 drwxrwxr-x. 2 jenkins jenkins 121 Sep 16 11:08 docs 11:09:20 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 16 11:08 Doxyfile 11:09:20 drwxrwxr-x. 8 jenkins jenkins 179 Sep 16 11:08 .git 11:09:20 drwxrwxr-x. 2 jenkins jenkins 81 Sep 16 11:08 .github 11:09:20 -rw-rw-r--. 1 jenkins jenkins 176 Sep 16 11:08 .gitignore 11:09:20 -rw-rw-r--. 1 jenkins jenkins 677 Sep 16 11:08 GOVERNANCE.md 11:09:20 drwxrwxr-x. 4 jenkins jenkins 33 Sep 16 11:08 include 11:09:20 -rw-rw-r--. 1 jenkins jenkins 784 Sep 16 11:08 Jenkinsfile 11:09:20 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 16 11:08 LICENSE 11:09:20 -rw-rw-r--. 1 jenkins jenkins 444 Sep 16 11:08 Makefile 11:09:20 -rw-rw-r--. 1 jenkins jenkins 618 Sep 16 11:08 OWNERS.md 11:09:20 -rw-rw-r--. 1 jenkins jenkins 4086 Sep 16 11:08 README.md 11:09:20 -rw-rw-r--. 1 jenkins jenkins 7090 Sep 16 11:08 README.v2.md 11:09:20 drwxrwxr-x. 2 jenkins jenkins 98 Sep 16 11:08 scripts 11:09:20 drwxrwxr-x. 4 jenkins jenkins 50 Sep 16 11:08 src 11:09:20 -rw-rw-r--. 1 jenkins jenkins 5 Sep 16 11:05 VERSION [Pipeline] isUnix [Pipeline] sh 11:09:20 + 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=338e2053341470ada287baaf3fa9da8a04fcd32d --label arch=amd64 --label version=0.0.0 . 11:09:20 Sending build context to Docker daemon 2.75MB 11:09:20 Step 1/17 : ARG BASE=alpine:3.12 11:09:20 Step 2/17 : FROM ${BASE} 11:09:20 ---> eac2074875a6 11:09:20 Step 3/17 : LABEL maintainer="IOTech " 11:09:20 ---> Running in c4fe28848e5d 11:09:20 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:09:21 Removing intermediate container c4fe28848e5d 11:09:21 ---> 06bf90d63c91 11:09:21 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 11:09:21 ---> Running in 7a7ed22ba4f2 11:09:21 --2021-09-16 11:09:21-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 11:09:21 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 11:09:21 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 11:09:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:09:21 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:09:21 HTTP request sent, awaiting response... 200 OK 11:09:21 Length: 451 [application/octet-stream] 11:09:21 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:09:21  11:09:21 0K 100% 38.6M=0s 11:09:21 11:09:21 2021-09-16 11:09:21 (38.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 11:09:21 11:09:21 Removing intermediate container 7a7ed22ba4f2 11:09:21 ---> c204627e4ba4 11:09:21 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:09:21 ---> Running in 32d060180b7f 11:09:22 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:09:22 Removing intermediate container 32d060180b7f 11:09:22 ---> 3c767c068c8d 11:09:22 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 11:09:22 ---> Running in fe315b3e1cfe 11:09:22 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:09:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:09:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:09:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:09:23 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 11:09:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:09:24 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 11:09:24 (2/16) Installing libblkid (2.35.2-r0) 11:09:24 (3/16) Installing blkid (2.35.2-r0) 11:09:24 (4/16) Installing libcap-ng (0.7.10-r1) 11:09:24 (5/16) Installing setpriv (2.35.2-r0) 11:09:24 (6/16) Installing libmount (2.35.2-r0) 11:09:24 (7/16) Installing libsmartcols (2.35.2-r0) 11:09:24 (8/16) Installing findmnt (2.35.2-r0) 11:09:24 (9/16) Installing mcookie (2.35.2-r0) 11:09:24 (10/16) Installing hexdump (2.35.2-r0) 11:09:24 (11/16) Installing lsblk (2.35.2-r0) 11:09:24 (12/16) Installing libfdisk (2.35.2-r0) 11:09:25 (13/16) Installing sfdisk (2.35.2-r0) 11:09:25 (14/16) Installing cfdisk (2.35.2-r0) 11:09:25 (15/16) Installing util-linux (2.35.2-r0) 11:09:25 (16/16) Installing util-linux-dev (2.35.2-r0) 11:09:25 Executing busybox-1.31.1-r20.trigger 11:09:25 OK: 295 MiB in 98 packages 11:09:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:09:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:09:26 Removing intermediate container fe315b3e1cfe 11:09:26 ---> cd8ce5b94e5e 11:09:26 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:09:26 ---> b1e8eb23bcea 11:09:26 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:09:26 ---> e13a328e0dba 11:09:26 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:09:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:09:26 ---> 15141f393639 11:09:26 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:09:27 ---> 8b31792e86b3 11:09:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:09:27 ---> 64ecb2cf39a5 11:09:27 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:09:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:09:27 ---> 2a3cf8fe9a05 11:09:27 Step 13/17 : WORKDIR /edgex-c-sdk 11:09:27 ---> Running in 86b275b127fa 11:09:27 Removing intermediate container 86b275b127fa 11:09:27 ---> 0c1daf39e18a 11:09:27 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:09:27 ---> Running in 782bdbd853e6 11:09:27 Removing intermediate container 782bdbd853e6 11:09:27 ---> ac37e0967967 11:09:27 Step 15/17 : LABEL arch=amd64 11:09:27 ---> Running in 496a0829c09c 11:09:27 Removing intermediate container 496a0829c09c 11:09:27 ---> cf9259fa7c6d 11:09:27 Step 16/17 : LABEL git_sha=338e2053341470ada287baaf3fa9da8a04fcd32d 11:09:27 ---> Running in 131bbce4d506 11:09:27 Removing intermediate container 131bbce4d506 11:09:27 ---> 7fb3a3940775 11:09:27 Step 17/17 : LABEL version=0.0.0 11:09:27 ---> Running in 17f24587a1f2 11:09:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:09:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:09:27 Removing intermediate container 17f24587a1f2 11:09:27 ---> 8213923c5d3a 11:09:27 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:09:27 Successfully built 8213923c5d3a 11:09:27 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 11:09:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [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 11:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:29 11:09:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:09:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:29 latest: Pulling from edgex-lftools-log-publisher 11:09:29 b4d181a07f80: Pulling fs layer 11:09:29 a1111a8f2ec3: Pulling fs layer 11:09:29 ed53099fbce6: Pulling fs layer 11:09:29 dc539afda2c1: Pulling fs layer 11:09:29 77bc0d833cb6: Pulling fs layer 11:09:29 9065ff56babe: Pulling fs layer 11:09:29 d287ab97295c: Pulling fs layer 11:09:29 77bc0d833cb6: Waiting 11:09:29 9065ff56babe: Waiting 11:09:29 d287ab97295c: Waiting 11:09:29 dc539afda2c1: Waiting 11:09:29 a1111a8f2ec3: Verifying Checksum 11:09:29 a1111a8f2ec3: Download complete 11:09:29 dc539afda2c1: Verifying Checksum 11:09:29 dc539afda2c1: Download complete 11:09:29 77bc0d833cb6: Verifying Checksum 11:09:29 77bc0d833cb6: Download complete 11:09:29 9065ff56babe: Verifying Checksum 11:09:29 9065ff56babe: Download complete 11:09:30 ed53099fbce6: Verifying Checksum 11:09:30 ed53099fbce6: Download complete 11:09:31 b4d181a07f80: Verifying Checksum 11:09:31 b4d181a07f80: Download complete 11:09:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:09:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:09:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:09:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:09:32 b4d181a07f80: Pull complete 11:09:32 a1111a8f2ec3: Pull complete 11:09:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:09:32 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 11:09:32 /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] 11:09:32 335 | const iot_component_factory_t * factory; 11:09:32 | ^~~~~~~ 11:09:32 ed53099fbce6: Pull complete 11:09:32 dc539afda2c1: Pull complete 11:09:32 77bc0d833cb6: Pull complete 11:09:32 9065ff56babe: Pull complete 11:09:33 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:09:34 d287ab97295c: Verifying Checksum 11:09:34 d287ab97295c: Download complete 11:09:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:09:38 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:09:38 d287ab97295c: Pull complete 11:09:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:09:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:09:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:09:38 prd-centos7-docker-4c-2g-357 does not seem to be running inside a container 11:09:38 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:09:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:09:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:09:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:09:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:09:41 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:09:41 $ docker top b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:41 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:09:41 ---> job-cost.sh 11:09:41 lf-activate-venv: SKIPPING 11:09:41 INFO: No Stack... 11:09:41 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 11:09:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:09:43 INFO: Retrieving Pricing Info for: v3-standard-2 11:09:43 INFO: Archiving Costs [Pipeline] sh 11:09:43 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 11:09:43 + cut -d, -f6 [Pipeline] lock 11:09:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] 11:09:43 Resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] did not exist. Created. 11:09:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:09:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:09:44 + echo total: 0.05999999865889549 [Pipeline] stash 11:09:44 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:09:44 Stashed 1 file(s) [Pipeline] } 11:09:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:09:44 $ docker stop --time=1 b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db 11:09:45 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:09:45 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:09:45 $ docker rm -f b3627efe514b3d39786e0496c805d91f2e9975107cf29853c07fbb91526fd0db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:09:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:09:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:09:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:09:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:09:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:09:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:09:54 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:09:54 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:09:54 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:09:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:10:00 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:10:00 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:10:01 [ 76%] Linking C shared library libcsdk.so 11:10:01 [ 76%] Built target csdk 11:10:01 Scanning dependencies of target template 11:10:01 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:10:02 [ 79%] Linking C executable template 11:10:02 [ 79%] Built target template 11:10:02 Scanning dependencies of target device-counter 11:10:02 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:10:03 [ 82%] Linking C executable device-counter 11:10:03 [ 82%] Built target device-counter 11:10:03 Scanning dependencies of target device-random 11:10:03 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:10:03 [ 85%] Linking C executable device-random 11:10:03 [ 85%] Built target device-random 11:10:03 Scanning dependencies of target device-gyro 11:10:03 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:10:04 [ 88%] Linking C executable device-gyro 11:10:04 [ 88%] Built target device-gyro 11:10:04 Scanning dependencies of target device-bitfields 11:10:04 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:10:05 [ 91%] Linking C executable device-bitfields 11:10:05 [ 91%] Built target device-bitfields 11:10:05 Scanning dependencies of target template-discovery 11:10:05 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:10:05 [ 94%] Linking C executable template-discovery 11:10:06 [ 94%] Built target template-discovery 11:10:06 Scanning dependencies of target device-file 11:10:06 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:10:06 [ 97%] Linking C executable device-file 11:10:07 [ 97%] Built target device-file 11:10:07 Scanning dependencies of target device-terminal 11:10:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:10:07 [100%] Linking C executable device-terminal 11:10:07 [100%] Built target device-terminal 11:10:07 Run CPack packaging tool... 11:10:08 CPack: Create package using TGZ 11:10:08 CPack: Install projects 11:10:08 CPack: - Run preinstall target for: Csdk 11:10:08 CPack: - Install project: Csdk [] 11:10:08 CPack: Create package 11:10:08 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:10:08 + '[' false '=' true ] 11:10:08 + '[' false '=' true ] 11:10:08 + mkdir -p /tmp/sdk/build/debug 11:10:08 + cd /tmp/sdk/build/debug 11:10:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:10:08 -- The C compiler identification is GNU 9.3.0 11:10:08 -- Check for working C compiler: /usr/bin/cc 11:10:09 -- Check for working C compiler: /usr/bin/cc - works 11:10:09 -- Detecting C compiler ABI info 11:10:09 -- Detecting C compiler ABI info - done 11:10:09 -- Detecting C compile features 11:10:09 -- Detecting C compile features - done 11:10:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:10:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 11:10:09 -- Found LIBYAML: /usr/lib/libyaml.so 11:10:09 -- Found LIBUUID: /usr/lib/libuuid.so 11:10:09 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 11:10:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:10:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:10:10 -- C SDK 0.0.0 for Linux 11:10:10 -- Performing Test CSDK_HAVE_ATOMIC 11:10:10 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:10:10 -- Found Curses: /usr/lib/libcurses.so 11:10:10 -- Configuring done 11:10:10 -- Generating done 11:10:10 -- Build files have been written to: /tmp/sdk/build/debug 11:10:10 + make 11:10:10 + tee debug.log 11:10:10 Scanning dependencies of target csdk 11:10:11 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:10:11 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:10:11 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:10:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:10:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:10:12 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:10:13 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:10:13 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 11:10:13 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:10:14 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:10:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:10:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:10:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:10:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:10:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 11:10:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:10:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:10:17 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:10:17 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 11:10:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 11:10:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 11:10:17 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 11:10:17 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 11:10:17 /tmp/sdk/src/c/iot/container.c:335:37: warning: unused variable 'factory' [-Wunused-variable] 11:10:17 335 | const iot_component_factory_t * factory; 11:10:17 | ^~~~~~~ 11:10:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 11:10:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 11:10:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 11:10:20 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 11:10:20 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 11:10:20 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 11:10:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 11:10:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 11:10:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 11:10:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 11:10:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 11:10:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 11:10:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:10:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:10:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 11:10:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:10:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:10:24 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:10:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:10:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:10:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:10:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:10:26 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:10:26 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:10:26 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:10:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:10:28 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:10:28 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:10:28 [ 76%] Linking C shared library libcsdk.so 11:10:28 [ 76%] Built target csdk 11:10:28 Scanning dependencies of target template 11:10:28 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:10:28 [ 79%] Linking C executable template 11:10:29 [ 79%] Built target template 11:10:29 Scanning dependencies of target device-counter 11:10:29 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:10:29 [ 82%] Linking C executable device-counter 11:10:29 [ 82%] Built target device-counter 11:10:29 Scanning dependencies of target device-random 11:10:29 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:10:30 [ 85%] Linking C executable device-random 11:10:30 [ 85%] Built target device-random 11:10:30 Scanning dependencies of target device-gyro 11:10:30 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:10:30 [ 88%] Linking C executable device-gyro 11:10:30 [ 88%] Built target device-gyro 11:10:30 Scanning dependencies of target device-bitfields 11:10:30 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:10:31 [ 91%] Linking C executable device-bitfields 11:10:31 [ 91%] Built target device-bitfields 11:10:31 Scanning dependencies of target template-discovery 11:10:31 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:10:31 [ 94%] Linking C executable template-discovery 11:10:31 [ 94%] Built target template-discovery 11:10:31 Scanning dependencies of target device-file 11:10:31 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:10:32 [ 97%] Linking C executable device-file 11:10:32 [ 97%] Built target device-file 11:10:32 Scanning dependencies of target device-terminal 11:10:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:10:32 [100%] Linking C executable device-terminal 11:10:33 [100%] Built target device-terminal 11:10:33 make: Entering directory '/tmp/sdk/build/release' 11:10:33 make[1]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 76%] Built target csdk 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 79%] Built target template 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 82%] Built target device-counter 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 85%] Built target device-random 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 88%] Built target device-gyro 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 91%] Built target device-bitfields 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 94%] Built target template-discovery 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [ 97%] Built target device-file 11:10:33 make[2]: Entering directory '/tmp/sdk/build/release' 11:10:33 make[2]: Leaving directory '/tmp/sdk/build/release' 11:10:33 [100%] Built target device-terminal 11:10:33 make[1]: Leaving directory '/tmp/sdk/build/release' 11:10:33 Install the project... 11:10:33 -- Install configuration: "Release" 11:10:33 -- Installing: /usr/local/lib/libcsdk.so 11:10:33 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:10:33 -- Up-to-date: /usr/local/include 11:10:33 -- Installing: /usr/local/include/edgex 11:10:33 -- Installing: /usr/local/include/edgex/rest-server.h 11:10:33 -- Installing: /usr/local/include/edgex/edgex-base.h 11:10:33 -- Installing: /usr/local/include/edgex/edgex.h 11:10:33 -- Installing: /usr/local/include/edgex/devices.h 11:10:33 -- Installing: /usr/local/include/edgex/profiles.h 11:10:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:10:33 -- Installing: /usr/local/include/devsdk 11:10:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:10:33 -- Installing: /usr/local/include/devsdk/devsdk.h 11:10:33 -- Installing: /usr/local/include/iot 11:10:33 -- Installing: /usr/local/include/iot/json.h 11:10:33 -- Installing: /usr/local/include/iot/container.h 11:10:33 -- Installing: /usr/local/include/iot/component.h 11:10:33 -- Installing: /usr/local/include/iot/typecode.h 11:10:33 -- Installing: /usr/local/include/iot/iot.h 11:10:33 -- Installing: /usr/local/include/iot/uuid.h 11:10:33 -- Installing: /usr/local/include/iot/time.h 11:10:33 -- Installing: /usr/local/include/iot/hash.h 11:10:33 -- Installing: /usr/local/include/iot/logger.h 11:10:33 -- Installing: /usr/local/include/iot/os 11:10:33 -- Installing: /usr/local/include/iot/os/zephyr.h 11:10:33 -- Installing: /usr/local/include/iot/os/linux.h 11:10:33 -- Installing: /usr/local/include/iot/os/macos.h 11:10:33 -- Installing: /usr/local/include/iot/scheduler.h 11:10:33 -- Installing: /usr/local/include/iot/data.h 11:10:33 -- Installing: /usr/local/include/iot/thread.h 11:10:33 -- Installing: /usr/local/include/iot/os.h 11:10:33 -- Installing: /usr/local/include/iot/base64.h 11:10:33 -- Installing: /usr/local/include/iot/defs.h 11:10:33 -- Installing: /usr/local/include/iot/threadpool.h 11:10:33 -- Installing: /usr/local/include/iot/config.h 11:10:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:10:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:10:33 make: Leaving directory '/tmp/sdk/build/release' 11:10:35 Removing intermediate container 40b8317f818b 11:10:35 ---> 7a52fec9bd7c 11:10:35 Step 16/25 : FROM ${BASE} 11:10:35 ---> 759262b18b23 11:10:35 Step 17/25 : LABEL maintainer="IOTech " 11:10:35 ---> Running in bdfb1a4ba515 11:10:36 Removing intermediate container bdfb1a4ba515 11:10:36 ---> ead23220a7bb 11:10:36 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 11:10:36 ---> Running in 2b860abde1c8 11:10:37 Connecting to iotech.jfrog.io (54.170.66.44:443) 11:10:38 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:10:38 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 11:10:38 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 11:10:39 Removing intermediate container 2b860abde1c8 11:10:39 ---> 035c73eed18e 11:10:39 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:10:39 ---> Running in 1ca8889ba078 11:10:41 Removing intermediate container 1ca8889ba078 11:10:41 ---> b23f3499f3ea 11:10:41 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 11:10:41 ---> Running in 412c9925c0d6 11:10:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:10:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:10:43 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:10:44 (1/7) Installing curl (7.79.0-r0) 11:10:44 (2/7) Installing hiredis (0.14.1-r0) 11:10:44 (3/7) Installing hiredis-dev (0.14.1-r0) 11:10:44 (4/7) Installing libuuid (2.35.2-r0) 11:10:44 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 11:10:45 (6/7) Installing libidn2 (2.3.0-r0) 11:10:46 (7/7) Installing wget (1.20.3-r1) 11:10:46 Executing busybox-1.31.1-r20.trigger 11:10:46 OK: 267 MiB in 82 packages 11:10:47 Removing intermediate container 412c9925c0d6 11:10:47 ---> 14e4062acc32 11:10:47 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 11:10:48 ---> 06f2c097f9a5 11:10:48 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:10:49 ---> b9ccefb55146 11:10:49 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 11:10:50 ---> 91962b86ca1f 11:10:50 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 11:10:50 ---> 7b9c804e52cf 11:10:50 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:10:51 ---> 76e436038d7b 11:10:51 Successfully built 76e436038d7b 11:10:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:10:52 + docker inspect -f . ci-base-image-arm64 11:10:52 . [Pipeline] withDockerContainer 11:10:52 prd-ubuntu18.04-docker-arm64-4c-16g-356 does not seem to be running inside a container 11:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:54 $ docker top c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:55 + make test 11:10:55 echo "make test" 11:10:55 make test [Pipeline] } 11:10:55 $ docker stop --time=1 c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 11:10:57 $ docker rm -f c9679620d5efbaac0eb307d1c93372200707fc11fe5bd4b50acb0bb6c12e3a11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:58 + ls -al . 11:10:58 total 200 11:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 11:07 . 11:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 .. 11:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 16 11:08 .git 11:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 .github 11:10:58 -rw-rw-r-- 1 jenkins jenkins 176 Sep 16 11:07 .gitignore 11:10:58 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 16 11:07 Attribution.txt 11:10:58 -rw-rw-r-- 1 jenkins jenkins 7701 Sep 16 11:07 CHANGES 11:10:58 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 16 11:07 Doxyfile 11:10:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 16 11:07 GOVERNANCE.md 11:10:58 -rw-rw-r-- 1 jenkins jenkins 784 Sep 16 11:07 Jenkinsfile 11:10:58 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 16 11:07 LICENSE 11:10:58 -rw-rw-r-- 1 jenkins jenkins 444 Sep 16 11:07 Makefile 11:10:58 -rw-rw-r-- 1 jenkins jenkins 618 Sep 16 11:07 OWNERS.md 11:10:58 -rw-rw-r-- 1 jenkins jenkins 4086 Sep 16 11:07 README.md 11:10:58 -rw-rw-r-- 1 jenkins jenkins 7090 Sep 16 11:07 README.v2.md 11:10:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 16 11:05 VERSION 11:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 docs 11:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 include 11:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 16 11:07 scripts 11:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 16 11:07 src [Pipeline] isUnix [Pipeline] sh 11:10:59 + 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=338e2053341470ada287baaf3fa9da8a04fcd32d --label arch=arm64 --label version=0.0.0 . 11:10:59 Sending build context to Docker daemon 2.749MB 11:10:59 Step 1/17 : ARG BASE=alpine:3.12 11:10:59 Step 2/17 : FROM ${BASE} 11:10:59 ---> 76e436038d7b 11:10:59 Step 3/17 : LABEL maintainer="IOTech " 11:10:59 ---> Running in c6a6fa9fd7f7 11:11:00 Removing intermediate container c6a6fa9fd7f7 11:11:00 ---> 3a15286eb1f2 11:11:00 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 11:11:00 ---> Running in 01e3805cdee4 11:11:01 --2021-09-16 11:11:01-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 11:11:01 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.170.66.44, 54.229.110.245 11:11:01 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 11:11:02 HTTP request sent, awaiting response... 200 OK 11:11:02 Length: 451 [application/octet-stream] 11:11:02 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 11:11:02  11:11:02 0K 100% 17.6M=0s 11:11:02 11:11:02 2021-09-16 11:11:01 (17.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 11:11:02 11:11:03 Removing intermediate container 01e3805cdee4 11:11:03 ---> b3e652df9aa7 11:11:03 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 11:11:03 ---> Running in 057dec4be3f0 11:11:05 Removing intermediate container 057dec4be3f0 11:11:05 ---> 65e3facdc2f0 11:11:05 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 11:11:05 ---> Running in 724c3ccdee8f 11:11:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:11:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:11:07 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 11:11:08 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 11:11:08 (2/16) Installing libblkid (2.35.2-r0) 11:11:08 (3/16) Installing blkid (2.35.2-r0) 11:11:08 (4/16) Installing libcap-ng (0.7.10-r1) 11:11:08 (5/16) Installing setpriv (2.35.2-r0) 11:11:08 (6/16) Installing libmount (2.35.2-r0) 11:11:08 (7/16) Installing libsmartcols (2.35.2-r0) 11:11:08 (8/16) Installing findmnt (2.35.2-r0) 11:11:08 (9/16) Installing mcookie (2.35.2-r0) 11:11:08 (10/16) Installing hexdump (2.35.2-r0) 11:11:09 (11/16) Installing lsblk (2.35.2-r0) 11:11:09 (12/16) Installing libfdisk (2.35.2-r0) 11:11:09 (13/16) Installing sfdisk (2.35.2-r0) 11:11:09 (14/16) Installing cfdisk (2.35.2-r0) 11:11:09 (15/16) Installing util-linux (2.35.2-r0) 11:11:09 (16/16) Installing util-linux-dev (2.35.2-r0) 11:11:10 Executing busybox-1.31.1-r20.trigger 11:11:10 OK: 276 MiB in 98 packages 11:11:11 Removing intermediate container 724c3ccdee8f 11:11:11 ---> 2ee9fe195942 11:11:11 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:11:12 ---> af8e7562b4c5 11:11:12 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:11:13 ---> 733b9058721e 11:11:13 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:11:14 ---> 61a0f9fb6766 11:11:14 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:11:15 ---> d9fa0eab7f64 11:11:15 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:11:15 ---> 04409151ea3e 11:11:15 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:11:16 ---> 702c574ba165 11:11:16 Step 13/17 : WORKDIR /edgex-c-sdk 11:11:16 ---> Running in 1935628ca1cd 11:11:17 Removing intermediate container 1935628ca1cd 11:11:17 ---> ae8852b6faf2 11:11:17 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:11:17 ---> Running in 3114015f112b 11:11:18 Removing intermediate container 3114015f112b 11:11:18 ---> b3c1c47610ac 11:11:18 Step 15/17 : LABEL arch=arm64 11:11:18 ---> Running in c2167016275c 11:11:18 Removing intermediate container c2167016275c 11:11:18 ---> 54576bc3b677 11:11:18 Step 16/17 : LABEL git_sha=338e2053341470ada287baaf3fa9da8a04fcd32d 11:11:18 ---> Running in be6f0586cf84 11:11:19 Removing intermediate container be6f0586cf84 11:11:19 ---> a2adb1f53c31 11:11:19 Step 17/17 : LABEL version=0.0.0 11:11:19 ---> Running in 9ba6060e42d4 11:11:19 Removing intermediate container 9ba6060e42d4 11:11:19 ---> c93156c5e859 11:11:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:11:19 Successfully built c93156c5e859 11:11:20 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 11:11:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:21 11:11:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:11:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:22 arm64: Pulling from edgex-lftools-log-publisher 11:11:22 448f6bf000e3: Pulling fs layer 11:11:22 f757da607395: Pulling fs layer 11:11:22 05883995daec: Pulling fs layer 11:11:22 8603b9c90790: Pulling fs layer 11:11:22 1560dd03e051: Pulling fs layer 11:11:22 27f5ce0e4adf: Pulling fs layer 11:11:22 c2d8d7efcc4b: Pulling fs layer 11:11:22 8603b9c90790: Waiting 11:11:22 1560dd03e051: Waiting 11:11:22 c2d8d7efcc4b: Waiting 11:11:22 27f5ce0e4adf: Waiting 11:11:22 f757da607395: Verifying Checksum 11:11:22 f757da607395: Download complete 11:11:22 05883995daec: Verifying Checksum 11:11:22 05883995daec: Download complete 11:11:22 8603b9c90790: Download complete 11:11:22 27f5ce0e4adf: Verifying Checksum 11:11:22 27f5ce0e4adf: Download complete 11:11:23 1560dd03e051: Verifying Checksum 11:11:24 448f6bf000e3: Verifying Checksum 11:11:24 448f6bf000e3: Download complete 11:11:27 c2d8d7efcc4b: Verifying Checksum 11:11:27 c2d8d7efcc4b: Download complete 11:11:27 448f6bf000e3: Pull complete 11:11:27 f757da607395: Pull complete 11:11:29 05883995daec: Pull complete 11:11:30 8603b9c90790: Pull complete 11:11:31 1560dd03e051: Pull complete 11:11:31 27f5ce0e4adf: Pull complete 11:11:46 c2d8d7efcc4b: Pull complete 11:11:46 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:11:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:11:46 prd-ubuntu18.04-docker-arm64-4c-16g-356 does not seem to be running inside a container 11:11:46 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:11:51 $ docker top 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:52 ---> job-cost.sh 11:11:52 lf-activate-venv: SKIPPING 11:11:52 INFO: No Stack... 11:11:53 INFO: Retrieving Pricing Info for: v3-standard-4 11:11:53 INFO: Archiving Costs [Pipeline] sh 11:11:54 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 11:11:54 + cut -d, -f6 [Pipeline] lock 11:11:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] 11:11:54 Resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] did not exist. Created. 11:11:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:11:55 /w/workspace/device-sdk-c/1@tmp/durable-177c2a9b/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-177c2a9b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:11:55 + echo total: 0.10999999940395355 [Pipeline] stash 11:11:55 Warning: overwriting stash ‘stack-cost’ 11:11:56 Stashed 1 file(s) [Pipeline] } 11:11:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:11:56 $ docker stop --time=1 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a 11:11:58 $ docker rm -f 6d6846bf0170be6fdff26965a1ebd9e132077d6265306211d375b3f1795c835a [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 11:12:00 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:12:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:12:01 ---> package-listing.sh 11:12:01 ++ facter osfamily 11:12:01 ++ tr '[:upper:]' '[:lower:]' 11:12:01 + OS_FAMILY=redhat 11:12:01 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-372 11:12:01 + START_PACKAGES=/tmp/packages_start.txt 11:12:01 + END_PACKAGES=/tmp/packages_end.txt 11:12:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:12:01 + PACKAGES=/tmp/packages_start.txt 11:12:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-372 ']' 11:12:01 + PACKAGES=/tmp/packages_end.txt 11:12:01 + case "${OS_FAMILY}" in 11:12:01 + rpm -qa 11:12:01 + sort 11:12:02 + '[' -f /tmp/packages_start.txt ']' 11:12:02 + '[' -f /tmp/packages_end.txt ']' 11:12:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:12:02 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-372 ']' 11:12:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives/ 11:12:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-372/archives/ [Pipeline] echo 11:12:02 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-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:12:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:03 11:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:03 latest: Pulling from edgex-lftools-log-publisher 11:12:03 b4d181a07f80: Pulling fs layer 11:12:03 a1111a8f2ec3: Pulling fs layer 11:12:03 ed53099fbce6: Pulling fs layer 11:12:03 dc539afda2c1: Pulling fs layer 11:12:03 77bc0d833cb6: Pulling fs layer 11:12:03 9065ff56babe: Pulling fs layer 11:12:03 d287ab97295c: Pulling fs layer 11:12:03 dc539afda2c1: Waiting 11:12:03 77bc0d833cb6: Waiting 11:12:03 9065ff56babe: Waiting 11:12:03 d287ab97295c: Waiting 11:12:04 a1111a8f2ec3: Verifying Checksum 11:12:04 a1111a8f2ec3: Download complete 11:12:04 dc539afda2c1: Verifying Checksum 11:12:04 dc539afda2c1: Download complete 11:12:04 77bc0d833cb6: Verifying Checksum 11:12:04 77bc0d833cb6: Download complete 11:12:04 9065ff56babe: Verifying Checksum 11:12:04 9065ff56babe: Download complete 11:12:04 ed53099fbce6: Verifying Checksum 11:12:04 ed53099fbce6: Download complete 11:12:05 b4d181a07f80: Verifying Checksum 11:12:05 b4d181a07f80: Download complete 11:12:06 b4d181a07f80: Pull complete 11:12:06 a1111a8f2ec3: Pull complete 11:12:07 ed53099fbce6: Pull complete 11:12:07 dc539afda2c1: Pull complete 11:12:07 77bc0d833cb6: Pull complete 11:12:07 9065ff56babe: Pull complete 11:12:08 d287ab97295c: Verifying Checksum 11:12:08 d287ab97295c: Download complete 11:12:13 d287ab97295c: Pull complete 11:12:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:12:13 prd-centos7-docker-4c-2g-355 does not seem to be running inside a container 11:12:13 $ 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-372/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-372 -v /w/workspace/edgexfoundry_device-sdk-c_PR-372:/w/workspace/edgexfoundry_device-sdk-c_PR-372:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:12:15 $ docker top 15d7b5f380330a5356b2145325e96d2c86aca19855e3e4d9063b2f84a1b15144 -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:12:16 + mkdir -p /var/log/sysstat [Pipeline] sh 11:12:16 + ls /var/log/sa-host 11:12:16 + sadf -c /var/log/sa-host/sa05 11:12:16 file_magic: OK 11:12:16 HZ: Using current value: 100 11:12:16 file_header: OK 11:12:16 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 11:12:16 Statistics: 11:12:16 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:12:16 File successfully converted to sysstat format version 12.0.3 11:12:16 + sadf -c /var/log/sa-host/sa16 11:12:16 file_magic: OK 11:12:16 HZ: Using current value: 100 11:12:16 file_header: OK 11:12:16 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 11:12:16 Statistics: 11:12:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:12:16 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:17 provisioning config files... 11:12:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-372@tmp/config7726769219666119227tmp [Pipeline] { [Pipeline] echo 11:12:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:12:17 ---> create-netrc.sh [Pipeline] } 11:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:12:18 ---> python-tools-install.sh [Pipeline] echo 11:12:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:12:18 ---> sudo-logs.sh 11:12:18 Archiving 'sudo' log.. 11:12:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-355.vexxhost.local: Name or service not known 11:12:18 sudo: unable to resolve host prd-centos7-docker-4c-2g-355.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 11:12:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:12:19 ---> job-cost.sh 11:12:19 lf-activate-venv: SKIPPING 11:12:19 DEBUG: total: 0.10999999940395355 11:12:19 INFO: Retrieving Stack Cost... 11:12:20 INFO: Retrieving Pricing Info for: v3-standard-2 11:12:20 INFO: Archiving Costs [Pipeline] echo 11:12:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:12:21 ---> logs-deploy.sh 11:12:21 lf-activate-venv: SKIPPING 11:12:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-372/1 11:12:21 INFO: archiving workspace using pattern(s): 11:12:21 Archives upload complete. 11:12:22 INFO: archiving logs to Nexus 11:12:22 ---> uname -a: 11:12:22 Linux prd-centos7-docker-4c-2g-355.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 11:12:22 11:12:22 11:12:22 ---> lscpu: 11:12:22 Architecture: x86_64 11:12:22 CPU op-mode(s): 32-bit, 64-bit 11:12:22 Byte Order: Little Endian 11:12:22 Address sizes: 40 bits physical, 48 bits virtual 11:12:22 CPU(s): 2 11:12:22 On-line CPU(s) list: 0,1 11:12:22 Thread(s) per core: 1 11:12:22 Core(s) per socket: 1 11:12:22 Socket(s): 2 11:12:22 NUMA node(s): 1 11:12:22 Vendor ID: AuthenticAMD 11:12:22 CPU family: 23 11:12:22 Model: 49 11:12:22 Model name: AMD EPYC-Rome Processor 11:12:22 Stepping: 0 11:12:22 CPU MHz: 2799.998 11:12:22 BogoMIPS: 5599.99 11:12:22 Virtualization: AMD-V 11:12:22 Hypervisor vendor: KVM 11:12:22 Virtualization type: full 11:12:22 L1d cache: 32K 11:12:22 L1i cache: 32K 11:12:22 L2 cache: 512K 11:12:22 L3 cache: 16384K 11:12:22 NUMA node0 CPU(s): 0,1 11:12:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 11:12:22 11:12:22 11:12:22 ---> nproc: 11:12:22 2 11:12:22 11:12:22 11:12:22 ---> df -h: 11:12:22 Filesystem Size Used Avail Use% Mounted on 11:12:22 overlay 40G 7.7G 33G 20% / 11:12:22 tmpfs 64M 0 64M 0% /dev 11:12:22 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 11:12:22 shm 64M 0 64M 0% /dev/shm 11:12:22 /dev/vda1 40G 7.7G 33G 20% /facter-os 11:12:22 11:12:22 11:12:22 ---> sar -b -r -n DEV: 11:12:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 11:12:22 11:12:22 11:04:14 LINUX RESTART (2 CPU) 11:12:22 11:12:22 11:05:01 tps rtps wtps bread/s bwrtn/s 11:12:22 11:06:01 18.23 0.68 17.55 352.91 2963.48 11:12:22 11:07:01 0.42 0.00 0.42 0.00 6.66 11:12:22 11:08:01 0.23 0.00 0.23 0.00 2.70 11:12:22 11:09:01 0.13 0.00 0.13 0.00 2.28 11:12:22 11:10:02 0.32 0.00 0.32 0.00 3.56 11:12:22 11:11:01 6.00 0.00 6.00 0.00 67.38 11:12:22 11:12:01 0.45 0.07 0.38 3.46 6.93 11:12:22 Average: 3.68 0.11 3.57 51.04 437.12 11:12:22 11:12:22 11:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:12:22 11:06:01 5479252 0 790300 9.87 2620 1736760 1246612 13.76 565132 1565524 20 11:12:22 11:07:01 5481400 0 788144 9.84 2620 1736768 1203652 13.29 566292 1563264 20 11:12:22 11:08:01 5481684 0 787860 9.84 2620 1736768 1203712 13.29 563076 1566696 20 11:12:22 11:09:01 5479896 0 789640 9.86 2620 1736776 1203784 13.29 564424 1566696 8 11:12:22 11:10:02 5479304 0 790228 9.87 2620 1736780 1203776 13.29 562884 1569672 16 11:12:22 11:11:01 5406236 0 863284 10.78 2620 1736792 1204600 13.30 635500 1569680 8 11:12:22 11:12:01 5400524 0 868816 10.85 2620 1736972 1206964 13.33 640048 1569744 20 11:12:22 Average: 5458328 0 811182 10.13 2620 1736802 1210443 13.36 585337 1567325 16 11:12:22 11:12:22 11:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:12:22 11:06:01 eth0 89.76 64.13 354.53 13.56 0.00 0.00 0.00 0.00 11:12:22 11:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:06:01 docker0 12.81 10.81 1.41 26.33 0.00 0.00 0.00 0.00 11:12:22 11:07:01 eth0 4.86 1.70 3.11 0.11 0.00 0.00 0.00 0.00 11:12:22 11:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:08:01 eth0 0.98 0.22 0.32 0.19 0.00 0.00 0.00 0.00 11:12:22 11:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:09:01 eth0 0.53 0.32 0.27 0.20 0.00 0.00 0.00 0.00 11:12:22 11:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:10:02 eth0 0.25 0.22 0.08 0.07 0.00 0.00 0.00 0.00 11:12:22 11:10:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:10:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:11:01 eth0 84.72 46.61 64.49 28.61 0.00 0.00 0.00 0.00 11:12:22 11:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:12:01 eth0 3.12 1.87 2.76 0.88 0.00 0.00 0.00 0.00 11:12:22 11:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 Average: eth0 26.18 16.37 60.80 6.18 0.00 0.00 0.00 0.00 11:12:22 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:12:22 Average: docker0 1.83 1.55 0.20 3.77 0.00 0.00 0.00 0.00 11:12:22 11:12:22 11:12:22 ---> sar -P ALL: 11:12:22 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/16/21 _x86_64_ (2 CPU) 11:12:22 11:12:22 11:04:14 LINUX RESTART (2 CPU) 11:12:22 11:12:22 11:05:01 CPU %user %nice %system %iowait %steal %idle 11:12:22 11:06:01 all 2.55 0.00 1.41 0.28 0.02 95.75 11:12:22 11:06:01 0 2.61 0.00 1.47 0.19 0.02 95.72 11:12:22 11:06:01 1 2.49 0.00 1.35 0.37 0.02 95.77 11:12:22 11:07:01 all 0.28 0.00 0.08 0.00 0.03 99.62 11:12:22 11:07:01 0 0.05 0.00 0.08 0.00 0.02 99.85 11:12:22 11:07:01 1 0.50 0.00 0.08 0.00 0.03 99.38 11:12:22 11:08:01 all 0.30 0.00 0.06 0.00 0.01 99.63 11:12:22 11:08:01 0 0.10 0.00 0.07 0.00 0.02 99.82 11:12:22 11:08:01 1 0.50 0.00 0.05 0.00 0.00 99.45 11:12:22 11:09:01 all 0.19 0.00 0.06 0.00 0.02 99.73 11:12:22 11:09:01 0 0.30 0.00 0.05 0.00 0.02 99.63 11:12:22 11:09:01 1 0.08 0.00 0.07 0.00 0.02 99.83 11:12:22 11:10:02 all 0.18 0.00 0.05 0.00 0.01 99.77 11:12:22 11:10:02 0 0.05 0.00 0.07 0.00 0.02 99.87 11:12:22 11:10:02 1 0.30 0.00 0.03 0.00 0.00 99.67 11:12:22 11:11:01 all 1.15 0.00 0.41 0.05 0.03 98.36 11:12:22 11:11:01 0 0.99 0.00 0.43 0.05 0.02 98.51 11:12:22 11:11:01 1 1.32 0.00 0.39 0.05 0.03 98.21 11:12:22 11:12:01 all 0.44 0.00 0.13 0.00 0.01 99.42 11:12:22 11:12:01 0 0.42 0.00 0.15 0.00 0.02 99.42 11:12:22 11:12:01 1 0.47 0.00 0.10 0.00 0.00 99.43 11:12:22 Average: all 0.72 0.00 0.31 0.05 0.02 98.90 11:12:22 Average: 0 0.64 0.00 0.33 0.03 0.02 98.98 11:12:22 Average: 1 0.81 0.00 0.29 0.06 0.01 98.83 11:12:22 11:12:22 11:12:22