Pull request #364 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 jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at e1f35502f034be90e9314597bd4064834fecb981 rather than e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 Obtained Jenkinsfile from e1f35502f034be90e9314597bd4064834fecb981 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-ssh741999502352035152.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-ssh1248332285665139041.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-364/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-364/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7566771106051957278.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-364/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3606991236155735081.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-ssh7296522451493013505.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-364/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-364/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7726265851351150595.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 ‘prd-centos7-docker-4c-2g-376’ is offline Running on prd-centos7-docker-4c-2g-377 in /w/workspace/edgexfoundry_device-sdk-c_PR-364 [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-364 # 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-364@tmp/jenkins-gitclient-ssh7302741555830953192.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 e1f35502f034be90e9314597bd4064834fecb981 into PR head commit e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 Merge succeeded, producing e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 Checking out Revision e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 (PR-364) > 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-364@tmp/jenkins-gitclient-ssh7615555416259390832.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # 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-364@tmp/jenkins-gitclient-ssh1908642002943409020.key > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # timeout=10 Commit message: "fix: update all TOML to use quote and not single-quote" 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 [2021-08-11T18:55:06.016Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-11T18:55:06.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-11T18:55:06.355Z] ========================================================= [2021-08-11T18:55:06.355Z] EdgeX Global Pipelines Version Info [2021-08-11T18:55:06.355Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-11T18:55:07.606Z] ------------------- [2021-08-11T18:55:07.606Z] stable info: [2021-08-11T18:55:07.606Z] ------------------- [2021-08-11T18:55:07.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-11T18:55:07.606Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T18:55:07.606Z] Message: update stable to v1.0.205 [2021-08-11T18:55:08.192Z] ------------------- [2021-08-11T18:55:08.192Z] experimental info: [2021-08-11T18:55:08.192Z] ------------------- [2021-08-11T18:55:08.192Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-11T18:55:08.192Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-11T18:55:08.192Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-11T18:55:08.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-08-11T18:55:08.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-08-11T18:55:08.536Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-11T18:55:08.590Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-11T18:55:08.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-11T18:55:08.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-08-11T18:55:08.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-08-11T18:55:08.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-08-11T18:55:08.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-11T18:55:08.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-11T18:55:08.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-08-11T18:55:09.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-11T18:55:09.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-11T18:55:09.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-11T18:55:09.202Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-11T18:55:09.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-11T18:55:09.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-11T18:55:09.363Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-11T18:55:09.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-364 [Pipeline] echo [2021-08-11T18:55:09.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-364 [Pipeline] echo [2021-08-11T18:55:09.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-364 [Pipeline] echo [2021-08-11T18:55:09.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [Pipeline] echo [2021-08-11T18:55:09.646Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e26f96a [Pipeline] echo [2021-08-11T18:55:09.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T18:55:09.858Z] provisioning config files... [2021-08-11T18:55:09.878Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/config8672878149756240408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T18:55:10.300Z] ---> docker-login.sh [2021-08-11T18:55:10.300Z] nexus3.edgexfoundry.org:10001 [2021-08-11T18:55:10.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:55:10.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:55:10.576Z] Configure a credential helper to remove this warning. See [2021-08-11T18:55:10.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:55:10.576Z] [2021-08-11T18:55:10.576Z] Login Succeeded [2021-08-11T18:55:10.576Z] nexus3.edgexfoundry.org:10002 [2021-08-11T18:55:10.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:55:10.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:55:10.842Z] Configure a credential helper to remove this warning. See [2021-08-11T18:55:10.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:55:10.842Z] [2021-08-11T18:55:10.842Z] Login Succeeded [2021-08-11T18:55:10.842Z] nexus3.edgexfoundry.org:10003 [2021-08-11T18:55:10.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:55:10.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:55:10.842Z] Configure a credential helper to remove this warning. See [2021-08-11T18:55:10.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:55:10.842Z] [2021-08-11T18:55:10.842Z] Login Succeeded [2021-08-11T18:55:10.842Z] nexus3.edgexfoundry.org:10004 [2021-08-11T18:55:10.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:55:11.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:55:11.112Z] Configure a credential helper to remove this warning. See [2021-08-11T18:55:11.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:55:11.112Z] [2021-08-11T18:55:11.112Z] Login Succeeded [2021-08-11T18:55:11.112Z] docker.io [2021-08-11T18:55:11.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:55:11.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:55:11.380Z] Configure a credential helper to remove this warning. See [2021-08-11T18:55:11.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:55:11.380Z] [2021-08-11T18:55:11.380Z] Login Succeeded [2021-08-11T18:55:11.380Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T18:55:11.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:55:13.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T18:55:13.042Z] [2021-08-11T18:55:13.042Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:55:13.425Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T18:55:13.425Z] latest: Pulling from edgex-devops/git-semver [2021-08-11T18:55:13.425Z] 31603596830f: Pulling fs layer [2021-08-11T18:55:13.425Z] d4622e32a9a9: Pulling fs layer [2021-08-11T18:55:13.425Z] 1030fce36090: Pulling fs layer [2021-08-11T18:55:13.425Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-11T18:55:13.425Z] 6c6cb7e1b49b: Waiting [2021-08-11T18:55:13.425Z] d4622e32a9a9: Verifying Checksum [2021-08-11T18:55:13.425Z] d4622e32a9a9: Download complete [2021-08-11T18:55:13.698Z] 31603596830f: Verifying Checksum [2021-08-11T18:55:13.698Z] 31603596830f: Download complete [2021-08-11T18:55:13.979Z] 31603596830f: Pull complete [2021-08-11T18:55:13.979Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-11T18:55:13.979Z] 6c6cb7e1b49b: Download complete [2021-08-11T18:55:13.979Z] d4622e32a9a9: Pull complete [2021-08-11T18:55:13.979Z] 1030fce36090: Verifying Checksum [2021-08-11T18:55:13.979Z] 1030fce36090: Download complete [2021-08-11T18:55:14.573Z] 1030fce36090: Pull complete [2021-08-11T18:55:14.573Z] 6c6cb7e1b49b: Pull complete [2021-08-11T18:55:14.573Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-11T18:55:14.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-11T18:55:14.573Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-11T18:55:14.707Z] prd-centos7-docker-4c-2g-377 does not seem to be running inside a container [2021-08-11T18:55:14.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-364 -v /w/workspace/edgexfoundry_device-sdk-c_PR-364:/w/workspace/edgexfoundry_device-sdk-c_PR-364:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-11T18:55:15.587Z] $ docker top d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-11T18:55:15.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T18:55:15.806Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T18:55:15.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T18:55:15.933Z] $ docker exec d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 ssh-agent [2021-08-11T18:55:16.060Z] SSH_AUTH_SOCK=/tmp/ssh-94kbXJjUyovO/agent.14 [2021-08-11T18:55:16.060Z] SSH_AGENT_PID=20 [2021-08-11T18:55:16.073Z] Running ssh-add (command line suppressed) [2021-08-11T18:55:16.173Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/private_key_1351979701224137777.key (/w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/private_key_1351979701224137777.key) [2021-08-11T18:55:16.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T18:55:16.562Z] + git tag --points-at HEAD [Pipeline] } [2021-08-11T18:55:16.609Z] $ docker exec --env ******** --env ******** d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 ssh-agent -k [2021-08-11T18:55:16.707Z] unset SSH_AUTH_SOCK; [2021-08-11T18:55:16.707Z] unset SSH_AGENT_PID; [2021-08-11T18:55:16.708Z] echo Agent pid 20 killed; [2021-08-11T18:55:16.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-11T18:55:16.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-11T18:55:16.806Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-11T18:55:16.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-11T18:55:16.936Z] $ docker exec d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 ssh-agent [2021-08-11T18:55:17.050Z] SSH_AUTH_SOCK=/tmp/ssh-adYgFND706jm/agent.52 [2021-08-11T18:55:17.050Z] SSH_AGENT_PID=58 [2021-08-11T18:55:17.061Z] Running ssh-add (command line suppressed) [2021-08-11T18:55:17.185Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/private_key_7028274438108021227.key (/w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/private_key_7028274438108021227.key) [2021-08-11T18:55:17.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-11T18:55:17.572Z] + git semver init [2021-08-11T18:55:17.572Z] # -> Open(): unable to determine branch for HEAD [2021-08-11T18:55:17.572Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-364/.git [2021-08-11T18:55:17.572Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-364 [2021-08-11T18:55:17.572Z] # $SEMVER_REMOTE_NAME = origin [2021-08-11T18:55:17.572Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-11T18:55:17.573Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-11T18:55:17.573Z] # $SEMVER_BRANCH = PR-364 [2021-08-11T18:55:17.573Z] # $SEMVER_TEMP = /tmp/semver-982377246 [2021-08-11T18:55:17.573Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-08-11T18:55:18.546Z] # '/tmp/semver-982377246' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-364/.semver' [2021-08-11T18:55:18.546Z] # -> Force: false [2021-08-11T18:55:18.546Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-364/.semver [Pipeline] } [2021-08-11T18:55:18.577Z] $ docker exec --env ******** --env ******** d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 ssh-agent -k [2021-08-11T18:55:18.673Z] unset SSH_AUTH_SOCK; [2021-08-11T18:55:18.673Z] unset SSH_AGENT_PID; [2021-08-11T18:55:18.673Z] echo Agent pid 58 killed; [2021-08-11T18:55:18.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-11T18:55:19.157Z] + git semver [Pipeline] } [2021-08-11T18:55:19.188Z] $ docker stop --time=1 d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 [2021-08-11T18:55:20.430Z] $ docker rm -f d721ff550bab29baedf87351c8ad2dba0342d5cb32ddd07f50aca807fee03833 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-11T18:55:20.868Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-11T18:55:21.243Z] Stashed 1 file(s) [Pipeline] echo [2021-08-11T18:55:21.266Z] [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 [2021-08-11T18:55:36.626Z] Still waiting to schedule task [2021-08-11T18:55:36.627Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-11T18:55:36.656Z] Still waiting to schedule task [2021-08-11T18:55:36.656Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-11T18:57:41.889Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-378 in /w/workspace/edgexfoundry_device-sdk-c_PR-364 [Pipeline] { [Pipeline] ws [2021-08-11T18:57:41.947Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-08-11T18:57:42.305Z] Selected Git installation does not exist. Using Default [2021-08-11T18:57:42.306Z] The recommended git tool is: NONE [2021-08-11T18:57:47.506Z] using credential edgex-jenkins-ssh [2021-08-11T18:57:47.529Z] Cloning the remote Git repository [2021-08-11T18:57:47.598Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:57:47.699Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-08-11T18:57:47.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:57:47.783Z] > git --version # timeout=10 [2021-08-11T18:57:47.805Z] > git --version # 'git version 2.17.1' [2021-08-11T18:57:47.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:57:47.876Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T18:57:49.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T18:57:49.192Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T18:57:49.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T18:57:49.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:57:49.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:57:49.270Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T18:57:49.879Z] Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T18:57:50.096Z] Merge succeeded, producing e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T18:57:50.096Z] Checking out Revision e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 (PR-364) [2021-08-11T18:57:49.907Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T18:57:49.924Z] > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # timeout=10 [2021-08-11T18:57:50.033Z] > git remote # timeout=10 [2021-08-11T18:57:50.049Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T18:57:50.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:57:50.070Z] > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 [2021-08-11T18:57:50.094Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T18:57:50.112Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T18:57:50.128Z] > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # timeout=10 [2021-08-11T18:57:54.377Z] Commit message: "fix: update all TOML to use quote and not single-quote" [2021-08-11T18:57:54.439Z] > git --version # timeout=10 [2021-08-11T18:57:54.453Z] > git --version # 'git version 2.17.1' [2021-08-11T18:57:54.471Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T18:57:55.223Z] provisioning config files... [2021-08-11T18:57:55.252Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4989175837826026071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T18:57:55.867Z] ---> docker-login.sh [2021-08-11T18:57:55.867Z] nexus3.edgexfoundry.org:10001 [2021-08-11T18:57:56.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:57:57.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:57:57.072Z] Configure a credential helper to remove this warning. See [2021-08-11T18:57:57.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:57:57.072Z] [2021-08-11T18:57:57.072Z] Login Succeeded [2021-08-11T18:57:57.072Z] nexus3.edgexfoundry.org:10002 [2021-08-11T18:57:57.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:57:57.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:57:57.637Z] Configure a credential helper to remove this warning. See [2021-08-11T18:57:57.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:57:57.637Z] [2021-08-11T18:57:57.637Z] Login Succeeded [2021-08-11T18:57:57.637Z] nexus3.edgexfoundry.org:10003 [2021-08-11T18:57:57.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:57:58.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:57:58.195Z] Configure a credential helper to remove this warning. See [2021-08-11T18:57:58.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:57:58.195Z] [2021-08-11T18:57:58.195Z] Login Succeeded [2021-08-11T18:57:58.195Z] nexus3.edgexfoundry.org:10004 [2021-08-11T18:57:58.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:57:58.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:57:58.750Z] Configure a credential helper to remove this warning. See [2021-08-11T18:57:58.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:57:58.750Z] [2021-08-11T18:57:58.750Z] Login Succeeded [2021-08-11T18:57:58.750Z] docker.io [2021-08-11T18:57:59.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:57:59.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:57:59.310Z] Configure a credential helper to remove this warning. See [2021-08-11T18:57:59.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:57:59.310Z] [2021-08-11T18:57:59.586Z] Login Succeeded [2021-08-11T18:57:59.586Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T18:57:59.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T18:58:00.632Z] ========================================================= [2021-08-11T18:58:00.632Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-08-11T18:58:00.632Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:58:01.054Z] + 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 . [2021-08-11T18:58:01.657Z] Sending build context to Docker daemon 2.672MB [2021-08-11T18:58:01.657Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-11T18:58:01.657Z] Step 2/25 : FROM ${BASE} as builder [2021-08-11T18:58:01.932Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-08-11T18:58:01.932Z] d2f70382dc9a: Pulling fs layer [2021-08-11T18:58:01.932Z] b08cc2eccb4b: Pulling fs layer [2021-08-11T18:58:01.932Z] 7b69db201801: Pulling fs layer [2021-08-11T18:58:01.932Z] b08cc2eccb4b: Verifying Checksum [2021-08-11T18:58:01.932Z] b08cc2eccb4b: Download complete [2021-08-11T18:58:02.207Z] d2f70382dc9a: Verifying Checksum [2021-08-11T18:58:02.207Z] d2f70382dc9a: Download complete [2021-08-11T18:58:02.814Z] d2f70382dc9a: Pull complete [2021-08-11T18:58:03.413Z] b08cc2eccb4b: Pull complete [2021-08-11T18:58:04.853Z] 7b69db201801: Verifying Checksum [2021-08-11T18:58:04.853Z] 7b69db201801: Download complete [2021-08-11T18:58:13.181Z] 7b69db201801: Pull complete [2021-08-11T18:58:13.181Z] Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba [2021-08-11T18:58:13.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-08-11T18:58:13.181Z] ---> 759262b18b23 [2021-08-11T18:58:13.181Z] 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 [2021-08-11T18:58:13.602Z] Running on prd-centos7-docker-4c-2g-379 in /w/workspace/edgexfoundry_device-sdk-c_PR-364 [Pipeline] { [Pipeline] ws [2021-08-11T18:58:13.693Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-08-11T18:58:13.853Z] Selected Git installation does not exist. Using Default [2021-08-11T18:58:13.853Z] The recommended git tool is: NONE [2021-08-11T18:58:14.624Z] ---> Running in af19552c3ab5 [2021-08-11T18:58:16.060Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-08-11T18:58:16.665Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T18:58:16.665Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T18:58:16.665Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T18:58:17.024Z] using credential edgex-jenkins-ssh [2021-08-11T18:58:17.041Z] Cloning the remote Git repository [2021-08-11T18:58:16.605Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:58:17.648Z] Removing intermediate container af19552c3ab5 [2021-08-11T18:58:17.648Z] ---> 33f45b244a31 [2021-08-11T18:58:17.648Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T18:58:17.648Z] ---> Running in 8ec2793009ea [2021-08-11T18:58:16.676Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-08-11T18:58:16.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:58:16.716Z] > git --version # timeout=10 [2021-08-11T18:58:16.727Z] > git --version # 'git version 2.24.4' [2021-08-11T18:58:16.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:58:16.753Z] [INFO] Currently running in a labeled security context [2021-08-11T18:58:16.753Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T18:58:16.753Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7916181182850210701.key [2021-08-11T18:58:16.777Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T18:58:17.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T18:58:17.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-11T18:58:17.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-08-11T18:58:17.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-08-11T18:58:17.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:58:17.626Z] [INFO] Currently running in a labeled security context [2021-08-11T18:58:17.627Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T18:58:17.627Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh19154323811254611.key [2021-08-11T18:58:17.634Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/364/head:refs/remotes/origin/PR-364 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-11T18:58:18.494Z] Merging remotes/origin/main commit e1f35502f034be90e9314597bd4064834fecb981 into PR head commit e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T18:58:18.581Z] Merge succeeded, producing e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T18:58:18.582Z] Checking out Revision e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 (PR-364) [2021-08-11T18:58:18.162Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T18:58:18.166Z] > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # timeout=10 [2021-08-11T18:58:18.211Z] > git remote # timeout=10 [2021-08-11T18:58:18.217Z] > git config --get remote.origin.url # timeout=10 [2021-08-11T18:58:18.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-11T18:58:18.225Z] [INFO] Currently running in a labeled security context [2021-08-11T18:58:18.225Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-11T18:58:18.225Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2524970824363603452.key [2021-08-11T18:58:18.230Z] > git merge e1f35502f034be90e9314597bd4064834fecb981 # timeout=10 [2021-08-11T18:58:18.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-11T18:58:18.249Z] > git config core.sparsecheckout # timeout=10 [2021-08-11T18:58:18.255Z] > git checkout -f e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 # timeout=10 [2021-08-11T18:58:20.275Z] Removing intermediate container 8ec2793009ea [2021-08-11T18:58:20.276Z] ---> 8eec2b65426c [2021-08-11T18:58:20.276Z] 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 [2021-08-11T18:58:20.276Z] ---> Running in 6278691c983d [2021-08-11T18:58:21.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T18:58:22.069Z] Commit message: "fix: update all TOML to use quote and not single-quote" [2021-08-11T18:58:22.053Z] > git --version # timeout=10 [2021-08-11T18:58:22.072Z] > git --version # 'git version 2.24.4' [2021-08-11T18:58:22.077Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-08-11T18:58:22.699Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T18:58:22.793Z] provisioning config files... [2021-08-11T18:58:22.814Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7514432977034765056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T18:58:22.982Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T18:58:23.308Z] ---> docker-login.sh [2021-08-11T18:58:23.308Z] nexus3.edgexfoundry.org:10001 [2021-08-11T18:58:23.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:58:23.574Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-11T18:58:23.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:58:23.578Z] Configure a credential helper to remove this warning. See [2021-08-11T18:58:23.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:58:23.578Z] [2021-08-11T18:58:23.578Z] Login Succeeded [2021-08-11T18:58:23.578Z] nexus3.edgexfoundry.org:10002 [2021-08-11T18:58:23.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:58:23.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:58:23.578Z] Configure a credential helper to remove this warning. See [2021-08-11T18:58:23.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:58:23.578Z] [2021-08-11T18:58:23.578Z] Login Succeeded [2021-08-11T18:58:23.578Z] nexus3.edgexfoundry.org:10003 [2021-08-11T18:58:23.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:58:23.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:58:23.846Z] Configure a credential helper to remove this warning. See [2021-08-11T18:58:23.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:58:23.846Z] [2021-08-11T18:58:23.846Z] Login Succeeded [2021-08-11T18:58:23.846Z] nexus3.edgexfoundry.org:10004 [2021-08-11T18:58:23.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:58:23.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:58:23.846Z] Configure a credential helper to remove this warning. See [2021-08-11T18:58:23.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:58:23.846Z] [2021-08-11T18:58:23.846Z] Login Succeeded [2021-08-11T18:58:23.846Z] docker.io [2021-08-11T18:58:23.848Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-11T18:58:23.848Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T18:58:23.848Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T18:58:24.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-11T18:58:24.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-11T18:58:24.380Z] Configure a credential helper to remove this warning. See [2021-08-11T18:58:24.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-11T18:58:24.380Z] [2021-08-11T18:58:24.380Z] Login Succeeded [2021-08-11T18:58:24.380Z] ---> docker-login.sh ends [Pipeline] } [2021-08-11T18:58:24.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-11T18:58:24.756Z] ========================================================= [2021-08-11T18:58:24.756Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-08-11T18:58:24.756Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:58:25.186Z] + 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 . [2021-08-11T18:58:25.186Z] Sending build context to Docker daemon 2.673MB [2021-08-11T18:58:25.186Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-08-11T18:58:25.186Z] Step 2/25 : FROM ${BASE} as builder [2021-08-11T18:58:25.277Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-11T18:58:25.462Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-08-11T18:58:25.462Z] 339de151aab4: Pulling fs layer [2021-08-11T18:58:25.462Z] 3691962f683c: Pulling fs layer [2021-08-11T18:58:25.462Z] e1147bf81a45: Pulling fs layer [2021-08-11T18:58:25.462Z] 3691962f683c: Verifying Checksum [2021-08-11T18:58:25.462Z] 3691962f683c: Download complete [2021-08-11T18:58:25.462Z] 339de151aab4: Verifying Checksum [2021-08-11T18:58:25.462Z] 339de151aab4: Download complete [2021-08-11T18:58:25.738Z] 339de151aab4: Pull complete [2021-08-11T18:58:25.738Z] 3691962f683c: Pull complete [2021-08-11T18:58:25.871Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-11T18:58:25.871Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-11T18:58:26.143Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-11T18:58:26.143Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-11T18:58:26.414Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-11T18:58:26.691Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-11T18:58:26.691Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-11T18:58:26.964Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-11T18:58:26.964Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-11T18:58:27.236Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-11T18:58:27.236Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-11T18:58:27.510Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-11T18:58:27.510Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-11T18:58:27.782Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-11T18:58:29.081Z] e1147bf81a45: Verifying Checksum [2021-08-11T18:58:29.081Z] e1147bf81a45: Download complete [2021-08-11T18:58:29.747Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-11T18:58:30.717Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-11T18:58:30.717Z] (22/22) Installing wget (1.20.3-r1) [2021-08-11T18:58:30.990Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T18:58:30.990Z] OK: 276 MiB in 97 packages [2021-08-11T18:58:31.049Z] e1147bf81a45: Pull complete [2021-08-11T18:58:31.049Z] Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee [2021-08-11T18:58:31.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-08-11T18:58:31.049Z] ---> ac6a0feb3254 [2021-08-11T18:58:31.049Z] 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 [2021-08-11T18:58:32.456Z] ---> Running in 0baa34b91321 [2021-08-11T18:58:32.456Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-11T18:58:33.022Z] Removing intermediate container 6278691c983d [2021-08-11T18:58:33.022Z] ---> cadbc5ab43e1 [2021-08-11T18:58:33.022Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-11T18:58:33.022Z] ---> Running in a287a609b761 [2021-08-11T18:58:33.037Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T18:58:33.038Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T18:58:33.038Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T18:58:33.038Z] Removing intermediate container 0baa34b91321 [2021-08-11T18:58:33.038Z] ---> 38bee3eb432f [2021-08-11T18:58:33.038Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T18:58:33.038Z] ---> Running in 2a5355c59b68 [2021-08-11T18:58:33.618Z] Removing intermediate container a287a609b761 [2021-08-11T18:58:33.618Z] ---> 0a7cfb7c77b6 [2021-08-11T18:58:33.619Z] 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 [2021-08-11T18:58:33.619Z] ---> Running in b7805030cc76 [2021-08-11T18:58:33.624Z] Removing intermediate container 2a5355c59b68 [2021-08-11T18:58:33.624Z] ---> ff1b463e2a54 [2021-08-11T18:58:33.624Z] 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 [2021-08-11T18:58:33.624Z] ---> Running in 94a1562b385e [2021-08-11T18:58:33.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T18:58:34.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T18:58:35.054Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T18:58:35.059Z] --2021-08-11 18:58:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-11T18:58:35.059Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-11T18:58:35.060Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-11T18:58:35.060Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:58:35.060Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-11T18:58:35.060Z] --2021-08-11 18:58:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-11T18:58:35.060Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:58:35.060Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:58:35.333Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:58:35.333Z] Length: unspecified [application/x-gzip] [2021-08-11T18:58:35.333Z] Saving to: 'STDOUT' [2021-08-11T18:58:35.333Z] [2021-08-11T18:58:35.333Z] 0K .......... .......... .......... .......... .......... 1.48M [2021-08-11T18:58:35.333Z] 50K .......... .......... .......... .......... .......... 2.93M [2021-08-11T18:58:35.333Z] 100K .......... .......... .......... .......... .......... 3.25M [2021-08-11T18:58:35.333Z] 150K .......... .......... .......... .......... .......... 11.1M [2021-08-11T18:58:35.333Z] 200K .......... .......... .......... .......... .......... 16.2M [2021-08-11T18:58:35.333Z] 250K .......... .......... .......... .......... .......... 3.79M [2021-08-11T18:58:35.333Z] 300K .......... .......... .......... .......... .......... 4.46M [2021-08-11T18:58:35.333Z] 350K .......... .......... .......... .......... .......... 5.08M [2021-08-11T18:58:35.333Z] 400K .......... .......... .......... .......... .......... 3.38M [2021-08-11T18:58:35.333Z] 450K .......... .......... .......... .......... .......... 4.18M [2021-08-11T18:58:35.333Z] 500K .......... .......... .......... .......... .......... 8.48M [2021-08-11T18:58:35.333Z] 550K .......... .......... .......... .......... .......... 2.41M [2021-08-11T18:58:35.610Z] 600K .......... .......... .......... .......... .......... 898K [2021-08-11T18:58:35.611Z] 650K .......... .......... .......... .......... .......... 2.20M [2021-08-11T18:58:35.611Z] 700K .. 12.8M=0.2s [2021-08-11T18:58:35.611Z] [2021-08-11T18:58:35.611Z] 2021-08-11 18:58:35 (2.91 MB/s) - written to stdout [719348] [2021-08-11T18:58:35.611Z] [2021-08-11T18:58:35.638Z] (1/22) Installing hiredis (0.14.1-r0) [2021-08-11T18:58:35.638Z] (2/22) Installing hiredis-dev (0.14.1-r0) [2021-08-11T18:58:35.884Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:58:35.904Z] (3/22) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T18:58:35.904Z] (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T18:58:36.157Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-11T18:58:36.157Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:58:36.431Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:58:36.431Z] -- Detecting C compiler ABI info [2021-08-11T18:58:36.704Z] -- Detecting C compiler ABI info - done [2021-08-11T18:58:36.704Z] -- Detecting C compile features [2021-08-11T18:58:36.704Z] -- Detecting C compile features - done [2021-08-11T18:58:36.704Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-11T18:58:36.977Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-11T18:58:36.977Z] -- Detecting CXX compiler ABI info [2021-08-11T18:58:37.251Z] -- Detecting CXX compiler ABI info - done [2021-08-11T18:58:37.251Z] -- Detecting CXX compile features [2021-08-11T18:58:37.251Z] -- Detecting CXX compile features - done [2021-08-11T18:58:37.251Z] -- Looking for include file endian.h [2021-08-11T18:58:37.306Z] (5/22) Installing libblkid (2.35.2-r0) [2021-08-11T18:58:37.524Z] -- Looking for include file endian.h - found [2021-08-11T18:58:37.524Z] -- Check if the system is big endian [2021-08-11T18:58:37.524Z] -- Searching 16 bit integer [2021-08-11T18:58:37.524Z] -- Looking for sys/types.h [2021-08-11T18:58:37.572Z] (6/22) Installing blkid (2.35.2-r0) [2021-08-11T18:58:37.572Z] (7/22) Installing libcap-ng (0.7.10-r1) [2021-08-11T18:58:37.572Z] (8/22) Installing setpriv (2.35.2-r0) [2021-08-11T18:58:37.799Z] -- Looking for sys/types.h - found [2021-08-11T18:58:37.799Z] -- Looking for stdint.h [2021-08-11T18:58:37.839Z] (9/22) Installing libmount (2.35.2-r0) [2021-08-11T18:58:37.839Z] (10/22) Installing libsmartcols (2.35.2-r0) [2021-08-11T18:58:38.074Z] -- Looking for stdint.h - found [2021-08-11T18:58:38.074Z] -- Looking for stddef.h [2021-08-11T18:58:38.106Z] (11/22) Installing findmnt (2.35.2-r0) [2021-08-11T18:58:38.106Z] (12/22) Installing mcookie (2.35.2-r0) [2021-08-11T18:58:38.106Z] (13/22) Installing hexdump (2.35.2-r0) [2021-08-11T18:58:38.348Z] -- Looking for stddef.h - found [2021-08-11T18:58:38.348Z] -- Check size of unsigned short [2021-08-11T18:58:38.371Z] (14/22) Installing lsblk (2.35.2-r0) [2021-08-11T18:58:38.371Z] (15/22) Installing libuuid (2.35.2-r0) [2021-08-11T18:58:38.371Z] (16/22) Installing libfdisk (2.35.2-r0) [2021-08-11T18:58:38.621Z] -- Check size of unsigned short - done [2021-08-11T18:58:38.621Z] -- Searching 16 bit integer - Using unsigned short [2021-08-11T18:58:38.640Z] (17/22) Installing sfdisk (2.35.2-r0) [2021-08-11T18:58:38.640Z] (18/22) Installing cfdisk (2.35.2-r0) [2021-08-11T18:58:38.640Z] (19/22) Installing util-linux (2.35.2-r0) [2021-08-11T18:58:38.893Z] -- Check if the system is big endian - little endian [2021-08-11T18:58:38.893Z] -- Check size of size_t [2021-08-11T18:58:38.913Z] (20/22) Installing util-linux-dev (2.35.2-r0) [2021-08-11T18:58:39.166Z] -- Check size of size_t - done [2021-08-11T18:58:39.166Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-11T18:58:39.166Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-11T18:58:39.166Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-11T18:58:39.166Z] CMake did not find one. [2021-08-11T18:58:39.166Z] [2021-08-11T18:58:39.166Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-11T18:58:39.166Z] the following names: [2021-08-11T18:58:39.166Z] [2021-08-11T18:58:39.166Z] cJSONConfig.cmake [2021-08-11T18:58:39.166Z] cjson-config.cmake [2021-08-11T18:58:39.166Z] [2021-08-11T18:58:39.166Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-11T18:58:39.166Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-11T18:58:39.166Z] provides a separate development package or SDK, be sure it has been [2021-08-11T18:58:39.166Z] installed. [2021-08-11T18:58:39.166Z] [2021-08-11T18:58:39.166Z] [2021-08-11T18:58:39.166Z] -- Configuring done [2021-08-11T18:58:39.181Z] (21/22) Installing libidn2 (2.3.0-r0) [2021-08-11T18:58:39.438Z] -- Generating done [2021-08-11T18:58:39.439Z] -- Build files have been written to: /tmp/cbor [2021-08-11T18:58:39.449Z] (22/22) Installing wget (1.20.3-r1) [2021-08-11T18:58:39.449Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T18:58:39.449Z] OK: 295 MiB in 97 packages [2021-08-11T18:58:39.711Z] Scanning dependencies of target cbor_shared [2021-08-11T18:58:39.711Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-11T18:58:40.036Z] Removing intermediate container 94a1562b385e [2021-08-11T18:58:40.036Z] ---> 85b8128a4f03 [2021-08-11T18:58:40.036Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-08-11T18:58:40.036Z] ---> Running in af5cb4938704 [2021-08-11T18:58:40.036Z] Removing intermediate container af5cb4938704 [2021-08-11T18:58:40.036Z] ---> aefd64bf624e [2021-08-11T18:58:40.036Z] 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 [2021-08-11T18:58:40.036Z] ---> Running in 69402636bac3 [2021-08-11T18:58:40.305Z] --2021-08-11 18:58:40-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-08-11T18:58:40.305Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-11T18:58:40.305Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-11T18:58:40.305Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:58:40.305Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-08-11T18:58:40.305Z] --2021-08-11 18:58:40-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-08-11T18:58:40.305Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:58:40.305Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:58:40.307Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-11T18:58:40.571Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:58:40.571Z] Length: unspecified [application/x-gzip] [2021-08-11T18:58:40.571Z] Saving to: 'STDOUT' [2021-08-11T18:58:40.571Z] [2021-08-11T18:58:40.571Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-08-11T18:58:40.571Z] 50K .......... .......... .......... .......... .......... 2.83M [2021-08-11T18:58:40.571Z] 100K .......... .......... .......... .......... .......... 40.2M [2021-08-11T18:58:40.571Z] 150K .......... .......... .......... .......... .......... 3.20M [2021-08-11T18:58:40.571Z] 200K .......... .......... .......... .......... .......... 39.3M [2021-08-11T18:58:40.571Z] 250K .......... .......... .......... .......... .......... 1.68M [2021-08-11T18:58:40.571Z] 300K .......... .......... .......... .......... .......... 13.4M [2021-08-11T18:58:40.571Z] 350K .......... .......... .......... .......... .......... 10.6M [2021-08-11T18:58:40.571Z] 400K .......... .......... .......... .......... .......... 7.60M [2021-08-11T18:58:40.572Z] 450K .......... .......... .......... .......... .......... 8.39M [2021-08-11T18:58:40.572Z] 500K .......... .......... .......... .......... .......... 22.4M [2021-08-11T18:58:40.572Z] 550K .......... .......... .......... .......... .......... 8.07M [2021-08-11T18:58:40.572Z] 600K .......... .......... .......... .......... .......... 4.53M [2021-08-11T18:58:40.572Z] 650K .......... .......... .......... .......... .......... 6.01M [2021-08-11T18:58:40.572Z] 700K .. 76.1M=0.1s [2021-08-11T18:58:40.572Z] [2021-08-11T18:58:40.572Z] 2021-08-11 18:58:40 (4.72 MB/s) - written to stdout [719348] [2021-08-11T18:58:40.572Z] [2021-08-11T18:58:40.838Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:58:40.838Z] -- The CXX compiler identification is GNU 9.3.0 [2021-08-11T18:58:40.838Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:58:40.838Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:58:40.838Z] -- Detecting C compiler ABI info [2021-08-11T18:58:40.838Z] -- Detecting C compiler ABI info - done [2021-08-11T18:58:40.838Z] -- Detecting C compile features [2021-08-11T18:58:40.838Z] -- Detecting C compile features - done [2021-08-11T18:58:40.838Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-08-11T18:58:40.901Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-11T18:58:41.107Z] -- Check for working CXX compiler: /usr/bin/c++ - works [2021-08-11T18:58:41.107Z] -- Detecting CXX compiler ABI info [2021-08-11T18:58:41.107Z] -- Detecting CXX compiler ABI info - done [2021-08-11T18:58:41.107Z] -- Detecting CXX compile features [2021-08-11T18:58:41.107Z] -- Detecting CXX compile features - done [2021-08-11T18:58:41.107Z] -- Looking for include file endian.h [2021-08-11T18:58:41.107Z] -- Looking for include file endian.h - found [2021-08-11T18:58:41.107Z] -- Check if the system is big endian [2021-08-11T18:58:41.107Z] -- Searching 16 bit integer [2021-08-11T18:58:41.107Z] -- Looking for sys/types.h [2021-08-11T18:58:41.107Z] -- Looking for sys/types.h - found [2021-08-11T18:58:41.107Z] -- Looking for stdint.h [2021-08-11T18:58:41.174Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T18:58:41.376Z] -- Looking for stdint.h - found [2021-08-11T18:58:41.376Z] -- Looking for stddef.h [2021-08-11T18:58:41.376Z] -- Looking for stddef.h - found [2021-08-11T18:58:41.376Z] -- Check size of unsigned short [2021-08-11T18:58:41.376Z] -- Check size of unsigned short - done [2021-08-11T18:58:41.376Z] -- Searching 16 bit integer - Using unsigned short [2021-08-11T18:58:41.376Z] -- Check if the system is big endian - little endian [2021-08-11T18:58:41.376Z] -- Check size of size_t [2021-08-11T18:58:41.644Z] -- Check size of size_t - done [2021-08-11T18:58:41.644Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-08-11T18:58:41.644Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-08-11T18:58:41.644Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-08-11T18:58:41.644Z] CMake did not find one. [2021-08-11T18:58:41.644Z] [2021-08-11T18:58:41.644Z] Could not find a package configuration file provided by "cJSON" with any of [2021-08-11T18:58:41.644Z] the following names: [2021-08-11T18:58:41.644Z] [2021-08-11T18:58:41.644Z] cJSONConfig.cmake [2021-08-11T18:58:41.644Z] cjson-config.cmake [2021-08-11T18:58:41.644Z] [2021-08-11T18:58:41.644Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-08-11T18:58:41.644Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-08-11T18:58:41.644Z] provides a separate development package or SDK, be sure it has been [2021-08-11T18:58:41.644Z] installed. [2021-08-11T18:58:41.644Z] [2021-08-11T18:58:41.644Z] [2021-08-11T18:58:41.644Z] -- Configuring done [2021-08-11T18:58:41.644Z] -- Generating done [2021-08-11T18:58:41.644Z] -- Build files have been written to: /tmp/cbor [2021-08-11T18:58:41.644Z] Scanning dependencies of target cbor_shared [2021-08-11T18:58:41.644Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-08-11T18:58:41.644Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-08-11T18:58:41.768Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-11T18:58:41.915Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-08-11T18:58:41.915Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T18:58:41.915Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-08-11T18:58:42.041Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-11T18:58:42.183Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-08-11T18:58:42.183Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-11T18:58:42.183Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-11T18:58:42.183Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-11T18:58:42.183Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-11T18:58:42.314Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-08-11T18:58:42.449Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-11T18:58:42.449Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-11T18:58:42.449Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-11T18:58:42.587Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-08-11T18:58:42.587Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-08-11T18:58:42.722Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-11T18:58:42.722Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-11T18:58:42.722Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-11T18:58:42.722Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-11T18:58:42.722Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-11T18:58:42.998Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-11T18:58:42.998Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-11T18:58:42.998Z] [ 40%] Linking C shared library libcbor.so [2021-08-11T18:58:42.998Z] [ 40%] Built target cbor_shared [2021-08-11T18:58:42.998Z] Scanning dependencies of target cbor [2021-08-11T18:58:42.998Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-11T18:58:43.183Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-08-11T18:58:43.267Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-11T18:58:43.267Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-11T18:58:43.267Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T18:58:43.456Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-08-11T18:58:43.534Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-11T18:58:43.534Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-11T18:58:43.757Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-08-11T18:58:43.805Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-11T18:58:43.805Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-11T18:58:43.805Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-11T18:58:43.805Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-11T18:58:44.073Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-11T18:58:44.073Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-11T18:58:44.073Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-11T18:58:44.341Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-11T18:58:44.341Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-11T18:58:44.341Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-11T18:58:44.341Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-11T18:58:44.341Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-11T18:58:44.355Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-08-11T18:58:44.609Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-11T18:58:44.609Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-11T18:58:44.609Z] [ 80%] Linking C static library libcbor.a [2021-08-11T18:58:44.609Z] [ 80%] Built target cbor [2021-08-11T18:58:44.609Z] Scanning dependencies of target sort [2021-08-11T18:58:44.609Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-11T18:58:44.609Z] [ 84%] Linking C executable sort [2021-08-11T18:58:44.609Z] [ 84%] Built target sort [2021-08-11T18:58:44.609Z] Scanning dependencies of target readfile [2021-08-11T18:58:44.609Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-11T18:58:44.609Z] [ 88%] Linking C executable readfile [2021-08-11T18:58:44.630Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-08-11T18:58:44.875Z] [ 88%] Built target readfile [2021-08-11T18:58:44.875Z] Scanning dependencies of target streaming_parser [2021-08-11T18:58:44.875Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-11T18:58:44.875Z] [ 92%] Linking C executable streaming_parser [2021-08-11T18:58:44.875Z] [ 92%] Built target streaming_parser [2021-08-11T18:58:44.875Z] Scanning dependencies of target hello [2021-08-11T18:58:44.875Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-11T18:58:44.875Z] [ 96%] Linking C executable hello [2021-08-11T18:58:44.875Z] [ 96%] Built target hello [2021-08-11T18:58:44.875Z] Scanning dependencies of target create_items [2021-08-11T18:58:44.875Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-11T18:58:44.875Z] [100%] Linking C executable create_items [2021-08-11T18:58:44.875Z] [100%] Built target create_items [2021-08-11T18:58:44.900Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-08-11T18:58:45.143Z] Install the project... [2021-08-11T18:58:45.143Z] -- Install configuration: "Release" [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-11T18:58:45.143Z] -- Up-to-date: /usr/local/include/cbor [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/include/cbor.h [2021-08-11T18:58:45.143Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-11T18:58:45.171Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-08-11T18:58:45.442Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-08-11T18:58:45.715Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-08-11T18:58:45.727Z] Removing intermediate container 69402636bac3 [2021-08-11T18:58:45.727Z] ---> 99b61cb2267d [2021-08-11T18:58:45.727Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-11T18:58:45.727Z] ---> Running in 65288b3b4d8f [2021-08-11T18:58:45.986Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-08-11T18:58:45.999Z] Removing intermediate container 65288b3b4d8f [2021-08-11T18:58:45.999Z] ---> fda036f82021 [2021-08-11T18:58:45.999Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-11T18:58:46.261Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-08-11T18:58:46.261Z] [ 40%] Linking C shared library libcbor.so [2021-08-11T18:58:46.265Z] ---> c7742606b485 [2021-08-11T18:58:46.265Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-11T18:58:46.532Z] ---> f885c2453321 [2021-08-11T18:58:46.532Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-11T18:58:46.532Z] ---> b40e950db676 [2021-08-11T18:58:46.532Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-11T18:58:46.554Z] [ 40%] Built target cbor_shared [2021-08-11T18:58:46.554Z] Scanning dependencies of target cbor [2021-08-11T18:58:46.554Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-08-11T18:58:46.801Z] ---> 414c08040798 [2021-08-11T18:58:46.801Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-11T18:58:46.801Z] ---> 9779af168346 [2021-08-11T18:58:46.801Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-11T18:58:47.068Z] ---> 1791a5736399 [2021-08-11T18:58:47.068Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-11T18:58:47.068Z] ---> Running in bc3353e551cb [2021-08-11T18:58:47.335Z] + CPPCHECK=false [2021-08-11T18:58:47.335Z] + DOCGEN=false [2021-08-11T18:58:47.335Z] + TOMLVER=SDK-0.2 [2021-08-11T18:58:47.335Z] + CUTILVER=1.1.4 [2021-08-11T18:58:47.335Z] + '[' 0 -gt 0 ] [2021-08-11T18:58:47.335Z] + readlink -f ./scripts/build.sh [2021-08-11T18:58:47.335Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-11T18:58:47.335Z] + dirname /tmp/sdk/scripts [2021-08-11T18:58:47.335Z] + ROOT=/tmp/sdk [2021-08-11T18:58:47.335Z] + cd /tmp/sdk [2021-08-11T18:58:47.335Z] + '[' '!' -d deps ] [2021-08-11T18:58:47.335Z] + mkdir deps [2021-08-11T18:58:47.335Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T18:58:47.335Z] + tar -C deps -z -x -f - [2021-08-11T18:58:47.335Z] --2021-08-11 18:58:47-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T18:58:47.335Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-11T18:58:47.335Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-11T18:58:47.526Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-08-11T18:58:47.599Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:58:47.599Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-11T18:58:47.599Z] --2021-08-11 18:58:47-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-11T18:58:47.599Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:58:47.599Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:58:47.599Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:58:47.599Z] Length: unspecified [application/x-gzip] [2021-08-11T18:58:47.600Z] Saving to: 'STDOUT' [2021-08-11T18:58:47.600Z] [2021-08-11T18:58:47.600Z] 0K .......... ...... 941K=0.02s [2021-08-11T18:58:47.600Z] [2021-08-11T18:58:47.600Z] 2021-08-11 18:58:47 (941 KB/s) - written to stdout [16451] [2021-08-11T18:58:47.600Z] [2021-08-11T18:58:47.600Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-11T18:58:47.600Z] + wget+ tar -C deps -z -x -f - [2021-08-11T18:58:47.600Z] -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T18:58:47.600Z] --2021-08-11 18:58:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T18:58:47.600Z] Resolving github.com (github.com)... 140.82.112.3 [2021-08-11T18:58:47.799Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-08-11T18:58:47.875Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-08-11T18:58:47.875Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:58:47.875Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-11T18:58:47.875Z] --2021-08-11 18:58:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-11T18:58:47.875Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:58:47.875Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:58:48.071Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-08-11T18:58:48.142Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:58:48.142Z] Length: unspecified [application/x-gzip] [2021-08-11T18:58:48.142Z] Saving to: 'STDOUT' [2021-08-11T18:58:48.142Z]  [2021-08-11T18:58:48.142Z] 0K .......... .......... .......... .......... .......... 1.38M [2021-08-11T18:58:48.142Z] 50K .......... .......... .......... .......... .......... 2.17M [2021-08-11T18:58:48.142Z] 100K .......... .......... .......... .......... .......... 55.8M [2021-08-11T18:58:48.142Z] 150K .......... .......... ....... 3.40M=0.07s [2021-08-11T18:58:48.142Z] [2021-08-11T18:58:48.142Z] 2021-08-11 18:58:48 (2.61 MB/s) - written to stdout [181796] [2021-08-11T18:58:48.142Z] [2021-08-11T18:58:48.142Z] + mkdir -p src/c/iot [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-11T18:58:48.142Z] + mkdir -p include/iot [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-11T18:58:48.142Z] + mkdir -p include/iot/os [2021-08-11T18:58:48.142Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-11T18:58:48.142Z] + mkdir -p /tmp/sdk/build/release [2021-08-11T18:58:48.142Z] + cd /tmp/sdk/build/release [2021-08-11T18:58:48.142Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-11T18:58:48.142Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:58:48.142Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:58:48.410Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:58:48.410Z] -- Detecting C compiler ABI info [2021-08-11T18:58:48.410Z] -- Detecting C compiler ABI info - done [2021-08-11T18:58:48.410Z] -- Detecting C compile features [2021-08-11T18:58:48.410Z] -- Detecting C compile features - done [2021-08-11T18:58:48.410Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T18:58:48.410Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T18:58:48.410Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T18:58:48.410Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T18:58:48.410Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T18:58:48.410Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T18:58:48.410Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T18:58:48.410Z] -- C SDK 0.0.0 for Linux [2021-08-11T18:58:48.410Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T18:58:48.410Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T18:58:48.678Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T18:58:48.678Z] -- Configuring done [2021-08-11T18:58:48.678Z] -- Generating done [2021-08-11T18:58:48.678Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-11T18:58:48.678Z] + tee release.log [2021-08-11T18:58:48.678Z] + make all package [2021-08-11T18:58:48.678Z] Scanning dependencies of target csdk [2021-08-11T18:58:48.678Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T18:58:48.678Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T18:58:48.946Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T18:58:49.214Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T18:58:49.479Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T18:58:49.479Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T18:58:49.479Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T18:58:49.748Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T18:58:49.748Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T18:58:49.748Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T18:58:50.036Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-08-11T18:58:50.036Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-08-11T18:58:50.311Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-08-11T18:58:50.311Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-08-11T18:58:50.330Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T18:58:50.330Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T18:58:50.330Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T18:58:50.582Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-08-11T18:58:50.600Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T18:58:50.600Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T18:58:50.600Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T18:58:50.600Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T18:58:50.859Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-08-11T18:58:51.184Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T18:58:51.184Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T18:58:51.184Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T18:58:51.449Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T18:58:51.449Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T18:58:51.720Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T18:58:51.836Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-08-11T18:58:51.837Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-08-11T18:58:51.985Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T18:58:51.985Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T18:58:52.248Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T18:58:52.248Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T18:58:52.248Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T18:58:52.431Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-08-11T18:58:52.514Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T18:58:52.514Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T18:58:52.514Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T18:58:52.711Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-08-11T18:58:52.781Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T18:58:52.781Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T18:58:52.982Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-08-11T18:58:53.047Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T18:58:53.260Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-08-11T18:58:53.315Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T18:58:53.315Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T18:58:53.315Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T18:58:53.533Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-08-11T18:58:54.126Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-08-11T18:58:54.126Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-08-11T18:58:54.288Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T18:58:54.288Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T18:58:54.288Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T18:58:54.398Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-08-11T18:58:54.554Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T18:58:54.554Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T18:58:54.675Z] [ 80%] Linking C static library libcbor.a [2021-08-11T18:58:54.675Z] [ 80%] Built target cbor [2021-08-11T18:58:54.675Z] Scanning dependencies of target sort [2021-08-11T18:58:54.675Z] [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-08-11T18:58:54.823Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T18:58:54.947Z] [ 84%] Linking C executable sort [2021-08-11T18:58:54.947Z] [ 84%] Built target sort [2021-08-11T18:58:54.947Z] Scanning dependencies of target readfile [2021-08-11T18:58:55.089Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T18:58:55.089Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T18:58:55.089Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T18:58:55.219Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-08-11T18:58:55.219Z] [ 88%] Linking C executable readfile [2021-08-11T18:58:55.355Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T18:58:55.492Z] [ 88%] Built target readfile [2021-08-11T18:58:55.492Z] Scanning dependencies of target streaming_parser [2021-08-11T18:58:55.492Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-08-11T18:58:55.766Z] [ 92%] Linking C executable streaming_parser [2021-08-11T18:58:55.766Z] [ 92%] Built target streaming_parser [2021-08-11T18:58:55.766Z] Scanning dependencies of target hello [2021-08-11T18:58:55.766Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-08-11T18:58:56.043Z] [ 96%] Linking C executable hello [2021-08-11T18:58:56.044Z] [ 96%] Built target hello [2021-08-11T18:58:56.044Z] Scanning dependencies of target create_items [2021-08-11T18:58:56.044Z] [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-08-11T18:58:56.324Z] [100%] Linking C executable create_items [2021-08-11T18:58:56.324Z] [100%] Built target create_items [2021-08-11T18:58:56.324Z] Install the project... [2021-08-11T18:58:56.324Z] -- Install configuration: "Release" [2021-08-11T18:58:56.324Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-08-11T18:58:56.324Z] -- Installing: /usr/local/lib64/libcbor.a [2021-08-11T18:58:56.324Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-08-11T18:58:56.324Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-08-11T18:58:56.331Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T18:58:56.331Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T18:58:56.331Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T18:58:56.331Z] [ 75%] Built target csdk [2021-08-11T18:58:56.331Z] Scanning dependencies of target template [2021-08-11T18:58:56.331Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T18:58:56.601Z] [ 78%] Linking C executable template [2021-08-11T18:58:56.601Z] [ 78%] Built target template [2021-08-11T18:58:56.601Z] Scanning dependencies of target device-counter [2021-08-11T18:58:56.601Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T18:58:56.601Z] [ 81%] Linking C executable device-counter [2021-08-11T18:58:56.601Z] [ 81%] Built target device-counter [2021-08-11T18:58:56.601Z] Scanning dependencies of target device-random [2021-08-11T18:58:56.601Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/lib64/libcbor.so [2021-08-11T18:58:56.603Z] -- Up-to-date: /usr/local/include/cbor [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/ints.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/data.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/common.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/strings.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/tags.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor/maps.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/include/cbor.h [2021-08-11T18:58:56.603Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-08-11T18:58:56.873Z] [ 84%] Linking C executable device-random [2021-08-11T18:58:56.873Z] [ 84%] Built target device-random [2021-08-11T18:58:56.873Z] Scanning dependencies of target device-gyro [2021-08-11T18:58:56.873Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T18:58:56.873Z] [ 87%] Linking C executable device-gyro [2021-08-11T18:58:56.873Z] [ 87%] Built target device-gyro [2021-08-11T18:58:56.873Z] Scanning dependencies of target device-bitfields [2021-08-11T18:58:56.873Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T18:58:57.140Z] [ 90%] Linking C executable device-bitfields [2021-08-11T18:58:57.140Z] [ 90%] Built target device-bitfields [2021-08-11T18:58:57.140Z] Scanning dependencies of target template-discovery [2021-08-11T18:58:57.140Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T18:58:57.140Z] [ 93%] Linking C executable template-discovery [2021-08-11T18:58:57.406Z] [ 93%] Built target template-discovery [2021-08-11T18:58:57.406Z] Scanning dependencies of target device-file [2021-08-11T18:58:57.406Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T18:58:57.406Z] [ 96%] Linking C executable device-file [2021-08-11T18:58:57.406Z] [ 96%] Built target device-file [2021-08-11T18:58:57.406Z] Scanning dependencies of target device-terminal [2021-08-11T18:58:57.406Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T18:58:57.671Z] [100%] Linking C executable device-terminal [2021-08-11T18:58:57.671Z] [100%] Built target device-terminal [2021-08-11T18:58:57.671Z] Run CPack packaging tool... [2021-08-11T18:58:57.671Z] CPack: Create package using TGZ [2021-08-11T18:58:57.671Z] CPack: Install projects [2021-08-11T18:58:57.671Z] CPack: - Run preinstall target for: Csdk [2021-08-11T18:58:57.936Z] CPack: - Install project: Csdk [] [2021-08-11T18:58:57.936Z] CPack: Create package [2021-08-11T18:58:57.936Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-11T18:58:57.936Z] + '[' false '=' true ] [2021-08-11T18:58:57.936Z] + '[' false '=' true ] [2021-08-11T18:58:57.936Z] + mkdir -p /tmp/sdk/build/debug [2021-08-11T18:58:57.936Z] + cd /tmp/sdk/build/debug [2021-08-11T18:58:57.936Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-11T18:58:57.936Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:58:57.936Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:58:57.936Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:58:57.936Z] -- Detecting C compiler ABI info [2021-08-11T18:58:58.209Z] -- Detecting C compiler ABI info - done [2021-08-11T18:58:58.209Z] -- Detecting C compile features [2021-08-11T18:58:58.209Z] -- Detecting C compile features - done [2021-08-11T18:58:58.209Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T18:58:58.209Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T18:58:58.209Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T18:58:58.209Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T18:58:58.209Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T18:58:58.209Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T18:58:58.209Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T18:58:58.209Z] -- C SDK 0.0.0 for Linux [2021-08-11T18:58:58.209Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T18:58:58.209Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T18:58:58.209Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T18:58:58.209Z] -- Configuring done [2021-08-11T18:58:58.209Z] -- Generating done [2021-08-11T18:58:58.209Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-11T18:58:58.482Z] + make [2021-08-11T18:58:58.482Z] + tee debug.log [2021-08-11T18:58:58.482Z] Scanning dependencies of target csdk [2021-08-11T18:58:58.482Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T18:58:58.482Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T18:58:58.482Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T18:58:58.581Z] Removing intermediate container b7805030cc76 [2021-08-11T18:58:58.581Z] ---> cddcb72e9b4d [2021-08-11T18:58:58.581Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-08-11T18:58:58.753Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T18:58:58.753Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T18:58:58.753Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T18:58:58.753Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T18:58:58.753Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T18:58:58.854Z] ---> Running in d53192039c72 [2021-08-11T18:58:59.021Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T18:58:59.021Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T18:58:59.021Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T18:58:59.287Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T18:58:59.287Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T18:58:59.287Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T18:58:59.287Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T18:58:59.287Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T18:58:59.555Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T18:58:59.555Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T18:58:59.555Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T18:58:59.555Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T18:58:59.828Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T18:58:59.829Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T18:58:59.829Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T18:59:00.096Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T18:59:00.096Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T18:59:00.096Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T18:59:00.096Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T18:59:00.096Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T18:59:00.364Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T18:59:00.364Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T18:59:00.364Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T18:59:00.364Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T18:59:00.364Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T18:59:00.631Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T18:59:00.631Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T18:59:00.631Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T18:59:00.631Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T18:59:00.874Z] Removing intermediate container d53192039c72 [2021-08-11T18:59:00.874Z] ---> e714d81198cf [2021-08-11T18:59:00.874Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-08-11T18:59:00.897Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T18:59:00.897Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T18:59:01.163Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T18:59:01.163Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T18:59:01.163Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T18:59:01.432Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T18:59:01.432Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T18:59:01.432Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T18:59:01.432Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T18:59:01.723Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T18:59:01.723Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T18:59:01.858Z] ---> a772fd00d2c7 [2021-08-11T18:59:01.858Z] Step 10/25 : COPY src /tmp/sdk/src [2021-08-11T18:59:01.991Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T18:59:01.991Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T18:59:01.991Z] [ 75%] Built target csdk [2021-08-11T18:59:01.991Z] Scanning dependencies of target template [2021-08-11T18:59:01.991Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T18:59:01.991Z] [ 78%] Linking C executable template [2021-08-11T18:59:02.264Z] [ 78%] Built target template [2021-08-11T18:59:02.264Z] Scanning dependencies of target device-counter [2021-08-11T18:59:02.264Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T18:59:02.264Z] [ 81%] Linking C executable device-counter [2021-08-11T18:59:02.264Z] [ 81%] Built target device-counter [2021-08-11T18:59:02.264Z] Scanning dependencies of target device-random [2021-08-11T18:59:02.264Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T18:59:02.264Z] [ 84%] Linking C executable device-random [2021-08-11T18:59:02.264Z] [ 84%] Built target device-random [2021-08-11T18:59:02.264Z] Scanning dependencies of target device-gyro [2021-08-11T18:59:02.264Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T18:59:02.531Z] [ 87%] Linking C executable device-gyro [2021-08-11T18:59:02.531Z] [ 87%] Built target device-gyro [2021-08-11T18:59:02.531Z] Scanning dependencies of target device-bitfields [2021-08-11T18:59:02.531Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T18:59:02.531Z] [ 90%] Linking C executable device-bitfields [2021-08-11T18:59:02.531Z] [ 90%] Built target device-bitfields [2021-08-11T18:59:02.531Z] Scanning dependencies of target template-discovery [2021-08-11T18:59:02.531Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T18:59:02.798Z] [ 93%] Linking C executable template-discovery [2021-08-11T18:59:02.798Z] [ 93%] Built target template-discovery [2021-08-11T18:59:02.798Z] Scanning dependencies of target device-file [2021-08-11T18:59:02.798Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T18:59:02.798Z] [ 96%] Linking C executable device-file [2021-08-11T18:59:02.798Z] [ 96%] Built target device-file [2021-08-11T18:59:02.798Z] Scanning dependencies of target device-terminal [2021-08-11T18:59:02.798Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T18:59:03.063Z] [100%] Linking C executable device-terminal [2021-08-11T18:59:03.063Z] [100%] Built target device-terminal [2021-08-11T18:59:03.063Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 75%] Built target csdk [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 78%] Built target template [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 81%] Built target device-counter [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 84%] Built target device-random [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 87%] Built target device-gyro [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 90%] Built target device-bitfields [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 93%] Built target template-discovery [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [ 96%] Built target device-file [2021-08-11T18:59:03.063Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] [100%] Built target device-terminal [2021-08-11T18:59:03.063Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.063Z] Install the project... [2021-08-11T18:59:03.290Z] ---> 22296787f835 [2021-08-11T18:59:03.290Z] Step 11/25 : COPY include /tmp/sdk/include [2021-08-11T18:59:03.329Z] -- Install configuration: "Release" [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-11T18:59:03.329Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-11T18:59:03.329Z] -- Up-to-date: /usr/local/include [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/devsdk [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/component.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/config.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/container.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/data.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/json.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/os.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/time.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/os [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-11T18:59:03.329Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-11T18:59:03.329Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-11T18:59:03.885Z] ---> 70d2cc8ba022 [2021-08-11T18:59:03.885Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-08-11T18:59:03.915Z] Removing intermediate container bc3353e551cb [2021-08-11T18:59:03.915Z] ---> b5d7a49d36ee [2021-08-11T18:59:03.915Z] Step 16/25 : FROM ${BASE} [2021-08-11T18:59:03.915Z] ---> ac6a0feb3254 [2021-08-11T18:59:03.915Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-11T18:59:03.915Z] ---> Running in 9de243f55437 [2021-08-11T18:59:03.915Z] Removing intermediate container 9de243f55437 [2021-08-11T18:59:03.915Z] ---> 8c15cf21b2fc [2021-08-11T18:59:03.915Z] 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 [2021-08-11T18:59:03.915Z] ---> Running in 92bda8198c78 [2021-08-11T18:59:04.185Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-11T18:59:04.452Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T18:59:04.452Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T18:59:04.452Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T18:59:04.480Z] ---> 54b6dcde70c9 [2021-08-11T18:59:04.480Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-08-11T18:59:04.718Z] Removing intermediate container 92bda8198c78 [2021-08-11T18:59:04.718Z] ---> d0f09a6723e1 [2021-08-11T18:59:04.718Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T18:59:04.718Z] ---> Running in f823acf096bb [2021-08-11T18:59:05.300Z] Removing intermediate container f823acf096bb [2021-08-11T18:59:05.300Z] ---> 4381e6316c7d [2021-08-11T18:59:05.300Z] 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 [2021-08-11T18:59:05.300Z] ---> Running in 77bab9f856ff [2021-08-11T18:59:05.458Z] ---> 8f176eee4c2c [2021-08-11T18:59:05.458Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-08-11T18:59:05.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:06.055Z] ---> 8fbdb6dbedfc [2021-08-11T18:59:06.055Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-08-11T18:59:06.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:06.330Z] ---> Running in 9d0608732f6a [2021-08-11T18:59:06.416Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:06.999Z] (1/7) Installing curl (7.78.0-r0) [2021-08-11T18:59:07.265Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-11T18:59:07.530Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-11T18:59:07.530Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-11T18:59:07.530Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T18:59:07.773Z] + CPPCHECK=false [2021-08-11T18:59:07.773Z] + DOCGEN=false [2021-08-11T18:59:07.773Z] + TOMLVER=SDK-0.2 [2021-08-11T18:59:07.773Z] + CUTILVER=1.1.4 [2021-08-11T18:59:07.773Z] + '[' 0 -gt 0 ] [2021-08-11T18:59:07.773Z] + readlink -f ./scripts/build.sh [2021-08-11T18:59:07.773Z] + dirname /tmp/sdk/scripts/build.sh [2021-08-11T18:59:07.773Z] + dirname /tmp/sdk/scripts [2021-08-11T18:59:07.773Z] + ROOT=/tmp/sdk [2021-08-11T18:59:07.773Z] + cd /tmp/sdk [2021-08-11T18:59:07.773Z] + '[' '!' -d deps ] [2021-08-11T18:59:07.773Z] + mkdir deps [2021-08-11T18:59:07.773Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T18:59:07.773Z] + tar -C deps -z -x -f - [2021-08-11T18:59:07.773Z] --2021-08-11 18:59:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-08-11T18:59:07.773Z] Resolving github.com (github.com)... 140.82.112.4 [2021-08-11T18:59:07.773Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-08-11T18:59:07.773Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:59:07.773Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-08-11T18:59:07.773Z] --2021-08-11 18:59:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-08-11T18:59:07.773Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:59:07.773Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:59:07.773Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:59:07.773Z] Length: unspecified [application/x-gzip] [2021-08-11T18:59:07.773Z] Saving to: 'STDOUT' [2021-08-11T18:59:07.773Z] [2021-08-11T18:59:08.048Z] 0K .......... ...... 940K=0.02s [2021-08-11T18:59:08.048Z] [2021-08-11T18:59:08.048Z] 2021-08-11 18:59:07 (940 KB/s) - written to stdout [16451] [2021-08-11T18:59:08.048Z] [2021-08-11T18:59:08.048Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-08-11T18:59:08.048Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x [2021-08-11T18:59:08.048Z] -f - [2021-08-11T18:59:08.048Z] --2021-08-11 18:59:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-08-11T18:59:08.048Z] Resolving github.com (github.com)... 140.82.112.4 [2021-08-11T18:59:08.048Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-08-11T18:59:08.048Z] HTTP request sent, awaiting response... 302 Found [2021-08-11T18:59:08.048Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-08-11T18:59:08.048Z] --2021-08-11 18:59:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-08-11T18:59:08.048Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-08-11T18:59:08.048Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-08-11T18:59:08.048Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:59:08.048Z] Length: unspecified [application/x-gzip] [2021-08-11T18:59:08.048Z] Saving to: 'STDOUT' [2021-08-11T18:59:08.048Z]  [2021-08-11T18:59:08.320Z] 0K .......... .......... .......... .......... .......... 1.45M [2021-08-11T18:59:08.321Z] 50K .......... .......... .......... .......... .......... 3.02M [2021-08-11T18:59:08.321Z] 100K .......... .......... .......... .......... .......... 5.95M [2021-08-11T18:59:08.321Z] 150K .......... .......... .......   1.52M=0.08s [2021-08-11T18:59:08.321Z] [2021-08-11T18:59:08.321Z] 2021-08-11 18:59:08 (2.29 MB/s) - written to stdout [181796] [2021-08-11T18:59:08.321Z] [2021-08-11T18:59:08.321Z] + mkdir -p src/c/iot [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-08-11T18:59:08.321Z] + mkdir -p include/iot [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot [2021-08-11T18:59:08.321Z] + mkdir -p include/iot/os [2021-08-11T18:59:08.321Z] + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os [2021-08-11T18:59:08.321Z] + mkdir -p /tmp/sdk/build/release [2021-08-11T18:59:08.321Z] + cd /tmp/sdk/build/release [2021-08-11T18:59:08.321Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-08-11T18:59:08.593Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:59:08.593Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:59:08.866Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:59:08.866Z] -- Detecting C compiler ABI info [2021-08-11T18:59:08.934Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-11T18:59:08.934Z] (7/7) Installing wget (1.20.3-r1) [2021-08-11T18:59:09.141Z] -- Detecting C compiler ABI info - done [2021-08-11T18:59:09.141Z] -- Detecting C compile features [2021-08-11T18:59:09.141Z] -- Detecting C compile features - done [2021-08-11T18:59:09.141Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T18:59:09.204Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T18:59:09.204Z] OK: 286 MiB in 82 packages [2021-08-11T18:59:09.417Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T18:59:09.417Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T18:59:09.417Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T18:59:09.417Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T18:59:09.417Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T18:59:09.417Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T18:59:09.417Z] -- C SDK 0.0.0 for Linux [2021-08-11T18:59:09.417Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T18:59:09.470Z] Removing intermediate container 77bab9f856ff [2021-08-11T18:59:09.470Z] ---> f6a3eac42c16 [2021-08-11T18:59:09.470Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-11T18:59:09.692Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T18:59:09.736Z] ---> 08b1a702eb3b [2021-08-11T18:59:09.736Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-11T18:59:09.736Z] ---> 96ab304187a1 [2021-08-11T18:59:09.736Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-11T18:59:09.968Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T18:59:09.968Z] -- Configuring done [2021-08-11T18:59:10.006Z] ---> 4e785ac4691c [2021-08-11T18:59:10.006Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-11T18:59:10.006Z] ---> 12febc16f18f [2021-08-11T18:59:10.006Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-11T18:59:10.242Z] -- Generating done [2021-08-11T18:59:10.243Z] -- Build files have been written to: /tmp/sdk/build/release [2021-08-11T18:59:10.243Z] + make+ alltee package release.log [2021-08-11T18:59:10.243Z] [2021-08-11T18:59:10.243Z] Scanning dependencies of target csdk [2021-08-11T18:59:10.273Z] ---> 497aca7c60f9 [2021-08-11T18:59:10.273Z] Successfully built 497aca7c60f9 [2021-08-11T18:59:10.273Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [2021-08-11T18:59:10.516Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:59:10.885Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-11T18:59:10.885Z] . [Pipeline] withDockerContainer [2021-08-11T18:59:10.992Z] prd-centos7-docker-4c-2g-379 does not seem to be running inside a container [2021-08-11T18:59:11.040Z] $ 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-x86_64 cat [2021-08-11T18:59:11.110Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T18:59:11.391Z] $ docker top 1eb2539333c3365a49356bd1300f427c79f93c38f28fe4747c7e68562cd93283 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T18:59:11.705Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T18:59:11.857Z] + make test [2021-08-11T18:59:11.857Z] echo "make test" [2021-08-11T18:59:11.857Z] make test [Pipeline] } [2021-08-11T18:59:11.888Z] $ docker stop --time=1 1eb2539333c3365a49356bd1300f427c79f93c38f28fe4747c7e68562cd93283 [2021-08-11T18:59:13.073Z] $ docker rm -f 1eb2539333c3365a49356bd1300f427c79f93c38f28fe4747c7e68562cd93283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-08-11T18:59:13.673Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T18:59:14.266Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T18:59:14.266Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T18:59:15.239Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T18:59:15.516Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T18:59:15.791Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] sh [2021-08-11T18:59:16.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T18:59:16.435Z] + ls -al . [2021-08-11T18:59:16.435Z] total 172 [2021-08-11T18:59:16.435Z] drwxrwxr-x. 8 jenkins jenkins 4096 Aug 11 18:58 . [2021-08-11T18:59:16.435Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 11 18:58 .. [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 3104 Aug 11 18:58 Attribution.txt [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 7556 Aug 11 18:58 CHANGES [2021-08-11T18:59:16.435Z] drwxrwxr-x. 2 jenkins jenkins 121 Aug 11 18:58 docs [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 108574 Aug 11 18:58 Doxyfile [2021-08-11T18:59:16.435Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 11 18:58 .git [2021-08-11T18:59:16.435Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 11 18:58 .github [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 176 Aug 11 18:58 .gitignore [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 11 18:58 GOVERNANCE.md [2021-08-11T18:59:16.435Z] drwxrwxr-x. 4 jenkins jenkins 33 Aug 11 18:58 include [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 784 Aug 11 18:58 Jenkinsfile [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 10174 Aug 11 18:58 LICENSE [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 444 Aug 11 18:58 Makefile [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 617 Aug 11 18:58 OWNERS.md [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 4086 Aug 11 18:58 README.md [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 7090 Aug 11 18:58 README.v2.md [2021-08-11T18:59:16.435Z] drwxrwxr-x. 2 jenkins jenkins 98 Aug 11 18:58 scripts [2021-08-11T18:59:16.435Z] drwxrwxr-x. 4 jenkins jenkins 50 Aug 11 18:58 src [2021-08-11T18:59:16.435Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 11 18:55 VERSION [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:59:16.764Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T18:59:16.786Z] + 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=e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 --label arch=amd64 --label version=0.0.0 . [2021-08-11T18:59:16.786Z] Sending build context to Docker daemon 2.673MB [2021-08-11T18:59:16.786Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-11T18:59:16.786Z] Step 2/17 : FROM ${BASE} [2021-08-11T18:59:16.786Z] ---> 497aca7c60f9 [2021-08-11T18:59:16.786Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-11T18:59:16.786Z] ---> Running in 64852220a618 [2021-08-11T18:59:17.053Z] Removing intermediate container 64852220a618 [2021-08-11T18:59:17.053Z] ---> 97d3211b35fb [2021-08-11T18:59:17.053Z] 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 [2021-08-11T18:59:17.053Z] ---> Running in 222b231d9fec [2021-08-11T18:59:17.317Z] --2021-08-11 18:59:17-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-11T18:59:17.317Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.170.66.44 [2021-08-11T18:59:17.317Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-08-11T18:59:17.582Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T18:59:17.582Z] Length: 451 [application/octet-stream] [2021-08-11T18:59:17.582Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T18:59:17.582Z]  [2021-08-11T18:59:17.582Z] 0K 100% 52.1M=0s [2021-08-11T18:59:17.582Z] [2021-08-11T18:59:17.582Z] 2021-08-11 18:59:17 (52.1 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-11T18:59:17.582Z] [2021-08-11T18:59:17.855Z] Removing intermediate container 222b231d9fec [2021-08-11T18:59:17.855Z] ---> 1477e78861a7 [2021-08-11T18:59:17.855Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T18:59:17.855Z] ---> Running in 33104c89b263 [2021-08-11T18:59:18.453Z] Removing intermediate container 33104c89b263 [2021-08-11T18:59:18.454Z] ---> c250719b4ab2 [2021-08-11T18:59:18.454Z] 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 [2021-08-11T18:59:18.454Z] ---> Running in 7c78ef8e55c9 [2021-08-11T18:59:18.719Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:18.724Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T18:59:18.995Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T18:59:19.587Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T18:59:19.673Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:20.178Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T18:59:20.452Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T18:59:20.726Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T18:59:21.002Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T18:59:21.079Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-08-11T18:59:21.658Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T18:59:21.924Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-11T18:59:22.289Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-11T18:59:22.289Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-11T18:59:22.289Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-11T18:59:22.638Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-11T18:59:22.638Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-11T18:59:22.983Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-11T18:59:22.983Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-11T18:59:22.983Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-11T18:59:23.288Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-11T18:59:23.288Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-11T18:59:23.555Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-11T18:59:23.628Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T18:59:23.823Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-11T18:59:23.823Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-11T18:59:23.902Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T18:59:24.495Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T18:59:24.767Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T18:59:25.038Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T18:59:25.761Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-11T18:59:26.010Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T18:59:26.719Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T18:59:26.719Z] OK: 295 MiB in 98 packages [2021-08-11T18:59:27.306Z] Removing intermediate container 7c78ef8e55c9 [2021-08-11T18:59:27.306Z] ---> 19d8d12c3a19 [2021-08-11T18:59:27.306Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-11T18:59:27.306Z] ---> af349f90da34 [2021-08-11T18:59:27.306Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-11T18:59:27.573Z] ---> a6229fb46a4f [2021-08-11T18:59:27.573Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-11T18:59:27.849Z] ---> bcb0b7552207 [2021-08-11T18:59:27.849Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-11T18:59:27.849Z] ---> 9b33367c851b [2021-08-11T18:59:27.849Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-11T18:59:28.114Z] ---> f72f80ff6c85 [2021-08-11T18:59:28.114Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-11T18:59:28.114Z] ---> e735801c80a4 [2021-08-11T18:59:28.114Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-11T18:59:28.380Z] ---> Running in 5ab6d3ad797c [2021-08-11T18:59:28.380Z] Removing intermediate container 5ab6d3ad797c [2021-08-11T18:59:28.380Z] ---> a83c1b91c3ab [2021-08-11T18:59:28.380Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-11T18:59:28.380Z] ---> Running in 00541c250fcf [2021-08-11T18:59:28.380Z] Removing intermediate container 00541c250fcf [2021-08-11T18:59:28.380Z] ---> 257f13835779 [2021-08-11T18:59:28.380Z] Step 15/17 : LABEL arch=amd64 [2021-08-11T18:59:28.614Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T18:59:28.614Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T18:59:28.614Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T18:59:28.651Z] ---> Running in 1e53001a8c5c [2021-08-11T18:59:28.651Z] Removing intermediate container 1e53001a8c5c [2021-08-11T18:59:28.651Z] ---> d886ff6bc30e [2021-08-11T18:59:28.651Z] Step 16/17 : LABEL git_sha=e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T18:59:28.651Z] ---> Running in 7273496a604b [2021-08-11T18:59:28.651Z] Removing intermediate container 7273496a604b [2021-08-11T18:59:28.651Z] ---> da812882e792 [2021-08-11T18:59:28.651Z] Step 17/17 : LABEL version=0.0.0 [2021-08-11T18:59:28.651Z] ---> Running in ec6569aab429 [2021-08-11T18:59:28.921Z] Removing intermediate container ec6569aab429 [2021-08-11T18:59:28.921Z] ---> ef70abce9ed5 [2021-08-11T18:59:28.921Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-11T18:59:28.921Z] Successfully built ef70abce9ed5 [2021-08-11T18:59:28.921Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2021-08-11T18:59:29.207Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [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 [2021-08-11T18:59:29.801Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T18:59:29.801Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T18:59:29.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T18:59:29.812Z] [2021-08-11T18:59:29.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T18:59:30.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T18:59:30.186Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T18:59:30.186Z] b4d181a07f80: Pulling fs layer [2021-08-11T18:59:30.186Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T18:59:30.186Z] ed53099fbce6: Pulling fs layer [2021-08-11T18:59:30.186Z] dc539afda2c1: Pulling fs layer [2021-08-11T18:59:30.186Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T18:59:30.186Z] 9065ff56babe: Pulling fs layer [2021-08-11T18:59:30.186Z] d287ab97295c: Pulling fs layer [2021-08-11T18:59:30.186Z] 77bc0d833cb6: Waiting [2021-08-11T18:59:30.186Z] 9065ff56babe: Waiting [2021-08-11T18:59:30.186Z] d287ab97295c: Waiting [2021-08-11T18:59:30.186Z] dc539afda2c1: Waiting [2021-08-11T18:59:30.455Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T18:59:30.455Z] a1111a8f2ec3: Download complete [2021-08-11T18:59:30.455Z] dc539afda2c1: Verifying Checksum [2021-08-11T18:59:30.455Z] dc539afda2c1: Download complete [2021-08-11T18:59:30.723Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T18:59:30.723Z] 77bc0d833cb6: Download complete [2021-08-11T18:59:30.723Z] 9065ff56babe: Verifying Checksum [2021-08-11T18:59:30.723Z] 9065ff56babe: Download complete [2021-08-11T18:59:30.776Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T18:59:30.990Z] ed53099fbce6: Verifying Checksum [2021-08-11T18:59:30.990Z] ed53099fbce6: Download complete [2021-08-11T18:59:31.372Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T18:59:31.951Z] b4d181a07f80: Verifying Checksum [2021-08-11T18:59:31.951Z] b4d181a07f80: Download complete [2021-08-11T18:59:31.969Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T18:59:31.969Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T18:59:32.912Z] b4d181a07f80: Pull complete [2021-08-11T18:59:33.191Z] a1111a8f2ec3: Pull complete [2021-08-11T18:59:33.791Z] ed53099fbce6: Pull complete [2021-08-11T18:59:33.791Z] dc539afda2c1: Pull complete [2021-08-11T18:59:33.933Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T18:59:34.056Z] 77bc0d833cb6: Pull complete [2021-08-11T18:59:34.056Z] 9065ff56babe: Pull complete [2021-08-11T18:59:34.525Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T18:59:35.465Z] d287ab97295c: Verifying Checksum [2021-08-11T18:59:35.465Z] d287ab97295c: Download complete [2021-08-11T18:59:35.501Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T18:59:35.502Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T18:59:39.747Z] d287ab97295c: Pull complete [2021-08-11T18:59:39.747Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T18:59:39.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T18:59:39.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T18:59:39.794Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T18:59:39.854Z] prd-centos7-docker-4c-2g-379 does not seem to be running inside a container [2021-08-11T18:59:39.910Z] $ 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:latest cat [2021-08-11T18:59:40.390Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T18:59:40.988Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T18:59:41.263Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T18:59:42.242Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T18:59:42.635Z] $ docker top 79daedc17276fc015c7ca3dec05bdf10f41f8b127e76a8847abed146b6f0db50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T18:59:43.340Z] ---> job-cost.sh [2021-08-11T18:59:43.340Z] lf-activate-venv: SKIPPING [2021-08-11T18:59:43.340Z] INFO: No Stack... [2021-08-11T18:59:43.673Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T18:59:43.951Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T18:59:44.300Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T18:59:44.546Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T18:59:44.818Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T18:59:44.880Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T18:59:45.218Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-08-11T18:59:45.218Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T18:59:45.281Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [2021-08-11T18:59:45.286Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] did not exist. Created. [2021-08-11T18:59:45.286Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T18:59:45.704Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-11T18:59:45.942Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T18:59:45.963Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T18:59:46.041Z] $ docker stop --time=1 79daedc17276fc015c7ca3dec05bdf10f41f8b127e76a8847abed146b6f0db50 [2021-08-11T18:59:46.780Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T18:59:47.202Z] $ docker rm -f 79daedc17276fc015c7ca3dec05bdf10f41f8b127e76a8847abed146b6f0db50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-11T18:59:50.154Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T18:59:50.747Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T18:59:51.042Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T18:59:51.316Z] [ 75%] Built target csdk [2021-08-11T18:59:51.316Z] Scanning dependencies of target template [2021-08-11T18:59:51.317Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T18:59:51.914Z] [ 78%] Linking C executable template [2021-08-11T18:59:52.189Z] [ 78%] Built target template [2021-08-11T18:59:52.189Z] Scanning dependencies of target device-counter [2021-08-11T18:59:52.465Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T18:59:52.738Z] [ 81%] Linking C executable device-counter [2021-08-11T18:59:53.015Z] [ 81%] Built target device-counter [2021-08-11T18:59:53.015Z] Scanning dependencies of target device-random [2021-08-11T18:59:53.015Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T18:59:53.613Z] [ 84%] Linking C executable device-random [2021-08-11T18:59:53.613Z] [ 84%] Built target device-random [2021-08-11T18:59:53.613Z] Scanning dependencies of target device-gyro [2021-08-11T18:59:53.890Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T18:59:54.165Z] [ 87%] Linking C executable device-gyro [2021-08-11T18:59:54.439Z] [ 87%] Built target device-gyro [2021-08-11T18:59:54.439Z] Scanning dependencies of target device-bitfields [2021-08-11T18:59:54.439Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T18:59:55.038Z] [ 90%] Linking C executable device-bitfields [2021-08-11T18:59:55.038Z] [ 90%] Built target device-bitfields [2021-08-11T18:59:55.038Z] Scanning dependencies of target template-discovery [2021-08-11T18:59:55.038Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T18:59:56.021Z] [ 93%] Linking C executable template-discovery [2021-08-11T18:59:56.021Z] [ 93%] Built target template-discovery [2021-08-11T18:59:56.021Z] Scanning dependencies of target device-file [2021-08-11T18:59:56.021Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T18:59:56.619Z] [ 96%] Linking C executable device-file [2021-08-11T18:59:56.895Z] [ 96%] Built target device-file [2021-08-11T18:59:56.895Z] Scanning dependencies of target device-terminal [2021-08-11T18:59:56.895Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T18:59:57.500Z] [100%] Linking C executable device-terminal [2021-08-11T18:59:57.774Z] [100%] Built target device-terminal [2021-08-11T18:59:57.774Z] Run CPack packaging tool... [2021-08-11T18:59:57.774Z] CPack: Create package using TGZ [2021-08-11T18:59:57.774Z] CPack: Install projects [2021-08-11T18:59:57.774Z] CPack: - Run preinstall target for: Csdk [2021-08-11T18:59:58.371Z] CPack: - Install project: Csdk [] [2021-08-11T18:59:58.371Z] CPack: Create package [2021-08-11T18:59:58.372Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-08-11T18:59:58.372Z] + '[' false '=' true ] [2021-08-11T18:59:58.372Z] + '[' false '=' true ] [2021-08-11T18:59:58.372Z] + mkdir -p /tmp/sdk/build/debug [2021-08-11T18:59:58.372Z] + cd /tmp/sdk/build/debug [2021-08-11T18:59:58.372Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-08-11T18:59:58.969Z] -- The C compiler identification is GNU 9.3.0 [2021-08-11T18:59:58.969Z] -- Check for working C compiler: /usr/bin/cc [2021-08-11T18:59:58.969Z] -- Check for working C compiler: /usr/bin/cc - works [2021-08-11T18:59:58.969Z] -- Detecting C compiler ABI info [2021-08-11T18:59:59.243Z] -- Detecting C compiler ABI info - done [2021-08-11T18:59:59.515Z] -- Detecting C compile features [2021-08-11T18:59:59.515Z] -- Detecting C compile features - done [2021-08-11T18:59:59.515Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-08-11T18:59:59.515Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") [2021-08-11T18:59:59.515Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-08-11T18:59:59.515Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-08-11T18:59:59.515Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-08-11T18:59:59.515Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-08-11T18:59:59.515Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-08-11T18:59:59.515Z] -- C SDK 0.0.0 for Linux [2021-08-11T18:59:59.789Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-08-11T18:59:59.790Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-08-11T19:00:00.061Z] -- Found Curses: /usr/lib/libcurses.so [2021-08-11T19:00:00.061Z] -- Configuring done [2021-08-11T19:00:00.336Z] -- Generating done [2021-08-11T19:00:00.336Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-08-11T19:00:00.336Z] + make [2021-08-11T19:00:00.336Z] + tee debug.log [2021-08-11T19:00:00.609Z] Scanning dependencies of target csdk [2021-08-11T19:00:00.609Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-08-11T19:00:00.885Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-08-11T19:00:01.495Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-08-11T19:00:01.780Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-08-11T19:00:02.389Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-08-11T19:00:02.389Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-08-11T19:00:02.676Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-08-11T19:00:02.951Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-08-11T19:00:03.228Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-08-11T19:00:03.501Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-08-11T19:00:04.095Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-08-11T19:00:04.367Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-08-11T19:00:04.639Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-08-11T19:00:04.916Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-08-11T19:00:05.192Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-08-11T19:00:05.466Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-08-11T19:00:05.466Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-08-11T19:00:06.447Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-08-11T19:00:06.447Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-08-11T19:00:06.723Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-08-11T19:00:06.997Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-08-11T19:00:06.997Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-08-11T19:00:07.276Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-08-11T19:00:08.258Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-08-11T19:00:08.258Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-08-11T19:00:08.532Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-08-11T19:00:08.806Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-08-11T19:00:09.083Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-08-11T19:00:09.083Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-08-11T19:00:09.357Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-08-11T19:00:09.631Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-08-11T19:00:09.905Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-08-11T19:00:10.184Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-08-11T19:00:10.459Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-08-11T19:00:10.733Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-08-11T19:00:11.330Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-08-11T19:00:11.331Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-08-11T19:00:12.310Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-08-11T19:00:12.584Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-08-11T19:00:12.857Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-08-11T19:00:13.129Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-08-11T19:00:13.403Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-08-11T19:00:14.376Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-08-11T19:00:14.648Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-08-11T19:00:14.921Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-08-11T19:00:15.194Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-08-11T19:00:15.790Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-08-11T19:00:16.383Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-08-11T19:00:16.653Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-08-11T19:00:16.925Z] [ 75%] Linking C shared library libcsdk.so [2021-08-11T19:00:17.196Z] [ 75%] Built target csdk [2021-08-11T19:00:17.196Z] Scanning dependencies of target template [2021-08-11T19:00:17.196Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-08-11T19:00:17.468Z] [ 78%] Linking C executable template [2021-08-11T19:00:17.742Z] [ 78%] Built target template [2021-08-11T19:00:17.742Z] Scanning dependencies of target device-counter [2021-08-11T19:00:17.742Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-08-11T19:00:18.015Z] [ 81%] Linking C executable device-counter [2021-08-11T19:00:18.289Z] [ 81%] Built target device-counter [2021-08-11T19:00:18.289Z] Scanning dependencies of target device-random [2021-08-11T19:00:18.289Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-08-11T19:00:18.561Z] [ 84%] Linking C executable device-random [2021-08-11T19:00:18.832Z] [ 84%] Built target device-random [2021-08-11T19:00:18.832Z] Scanning dependencies of target device-gyro [2021-08-11T19:00:18.832Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-08-11T19:00:19.104Z] [ 87%] Linking C executable device-gyro [2021-08-11T19:00:19.377Z] [ 87%] Built target device-gyro [2021-08-11T19:00:19.377Z] Scanning dependencies of target device-bitfields [2021-08-11T19:00:19.377Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-08-11T19:00:19.648Z] [ 90%] Linking C executable device-bitfields [2021-08-11T19:00:19.921Z] [ 90%] Built target device-bitfields [2021-08-11T19:00:19.921Z] Scanning dependencies of target template-discovery [2021-08-11T19:00:19.921Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-08-11T19:00:20.193Z] [ 93%] Linking C executable template-discovery [2021-08-11T19:00:20.466Z] [ 93%] Built target template-discovery [2021-08-11T19:00:20.466Z] Scanning dependencies of target device-file [2021-08-11T19:00:20.466Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-08-11T19:00:20.738Z] [ 96%] Linking C executable device-file [2021-08-11T19:00:21.010Z] [ 96%] Built target device-file [2021-08-11T19:00:21.010Z] Scanning dependencies of target device-terminal [2021-08-11T19:00:21.010Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-08-11T19:00:21.283Z] [100%] Linking C executable device-terminal [2021-08-11T19:00:21.558Z] [100%] Built target device-terminal [2021-08-11T19:00:21.558Z] make: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] [ 75%] Built target csdk [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] [ 78%] Built target template [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] [ 81%] Built target device-counter [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] [ 84%] Built target device-random [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:21.831Z] [ 87%] Built target device-gyro [2021-08-11T19:00:21.831Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.101Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.101Z] [ 90%] Built target device-bitfields [2021-08-11T19:00:22.101Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.101Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.101Z] [ 93%] Built target template-discovery [2021-08-11T19:00:22.101Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.102Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.102Z] [ 96%] Built target device-file [2021-08-11T19:00:22.102Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.102Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.102Z] [100%] Built target device-terminal [2021-08-11T19:00:22.102Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:22.102Z] Install the project... [2021-08-11T19:00:22.102Z] -- Install configuration: "Release" [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/lib/libcsdk.so [2021-08-11T19:00:22.102Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-08-11T19:00:22.102Z] -- Up-to-date: /usr/local/include [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/devices.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/devsdk [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/json.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/container.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/component.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/typecode.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/iot.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/time.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/hash.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/logger.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/os [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/data.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/thread.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/os.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/base64.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/defs.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/include/iot/config.h [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-08-11T19:00:22.102Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-08-11T19:00:22.102Z] make: Leaving directory '/tmp/sdk/build/release' [2021-08-11T19:00:24.727Z] Removing intermediate container 9d0608732f6a [2021-08-11T19:00:24.727Z] ---> 49c6f8315550 [2021-08-11T19:00:24.727Z] Step 16/25 : FROM ${BASE} [2021-08-11T19:00:24.727Z] ---> 759262b18b23 [2021-08-11T19:00:24.727Z] Step 17/25 : LABEL maintainer="IOTech " [2021-08-11T19:00:24.727Z] ---> Running in 6d0618087c14 [2021-08-11T19:00:24.999Z] Removing intermediate container 6d0618087c14 [2021-08-11T19:00:24.999Z] ---> fa3e32d97156 [2021-08-11T19:00:24.999Z] 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 [2021-08-11T19:00:25.272Z] ---> Running in faf3dacbb1bd [2021-08-11T19:00:26.703Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-08-11T19:00:26.978Z] saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T19:00:26.978Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-08-11T19:00:26.978Z] '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [2021-08-11T19:00:27.970Z] Removing intermediate container faf3dacbb1bd [2021-08-11T19:00:27.970Z] ---> 8a0fdb258c24 [2021-08-11T19:00:27.970Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T19:00:27.970Z] ---> Running in 79f9d4c5289e [2021-08-11T19:00:30.590Z] Removing intermediate container 79f9d4c5289e [2021-08-11T19:00:30.590Z] ---> d89f46bcaaf9 [2021-08-11T19:00:30.591Z] 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 [2021-08-11T19:00:30.862Z] ---> Running in c93b2b9d9d67 [2021-08-11T19:00:32.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:32.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:33.156Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:34.129Z] (1/7) Installing curl (7.78.0-r0) [2021-08-11T19:00:34.129Z] (2/7) Installing hiredis (0.14.1-r0) [2021-08-11T19:00:34.129Z] (3/7) Installing hiredis-dev (0.14.1-r0) [2021-08-11T19:00:34.129Z] (4/7) Installing libuuid (2.35.2-r0) [2021-08-11T19:00:34.129Z] (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-08-11T19:00:35.556Z] (6/7) Installing libidn2 (2.3.0-r0) [2021-08-11T19:00:35.830Z] (7/7) Installing wget (1.20.3-r1) [2021-08-11T19:00:36.101Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T19:00:36.101Z] OK: 267 MiB in 82 packages [2021-08-11T19:00:37.536Z] Removing intermediate container c93b2b9d9d67 [2021-08-11T19:00:37.536Z] ---> b4b40a9cd37b [2021-08-11T19:00:37.536Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-08-11T19:00:38.515Z] ---> d43c5fb33264 [2021-08-11T19:00:38.515Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-08-11T19:00:39.110Z] ---> b1ef0fb25138 [2021-08-11T19:00:39.110Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-08-11T19:00:40.087Z] ---> 411935739bba [2021-08-11T19:00:40.087Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-08-11T19:00:41.066Z] ---> 051c33759ee8 [2021-08-11T19:00:41.066Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-08-11T19:00:42.043Z] ---> 11ba832dbfd9 [2021-08-11T19:00:42.043Z] Successfully built 11ba832dbfd9 [2021-08-11T19:00:42.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:00:42.650Z] + docker inspect -f . ci-base-image-arm64 [2021-08-11T19:00:42.650Z] . [Pipeline] withDockerContainer [2021-08-11T19:00:42.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-378 does not seem to be running inside a container [2021-08-11T19:00:43.031Z] $ 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 [2021-08-11T19:00:44.975Z] $ docker top a67de0319523a8ae5ab84bbaf8d742daf406f426c089a7bdc2c290f2c11803ea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T19:00:46.007Z] + make test [2021-08-11T19:00:46.007Z] echo "make test" [2021-08-11T19:00:46.007Z] make test [Pipeline] } [2021-08-11T19:00:46.050Z] $ docker stop --time=1 a67de0319523a8ae5ab84bbaf8d742daf406f426c089a7bdc2c290f2c11803ea [2021-08-11T19:00:47.935Z] $ docker rm -f a67de0319523a8ae5ab84bbaf8d742daf406f426c089a7bdc2c290f2c11803ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-11T19:00:48.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-11T19:00:49.191Z] + ls -al . [2021-08-11T19:00:49.191Z] total 200 [2021-08-11T19:00:49.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:57 . [2021-08-11T19:00:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:57 .. [2021-08-11T19:00:49.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 18:57 .git [2021-08-11T19:00:49.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:57 .github [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 11 18:57 .gitignore [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 3104 Aug 11 18:57 Attribution.txt [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 7556 Aug 11 18:57 CHANGES [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 11 18:57 Doxyfile [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 18:57 GOVERNANCE.md [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 11 18:57 Jenkinsfile [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 11 18:57 LICENSE [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 11 18:57 Makefile [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 11 18:57 OWNERS.md [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 4086 Aug 11 18:57 README.md [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 7090 Aug 11 18:57 README.v2.md [2021-08-11T19:00:49.191Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 18:55 VERSION [2021-08-11T19:00:49.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:57 docs [2021-08-11T19:00:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:57 include [2021-08-11T19:00:49.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 18:57 scripts [2021-08-11T19:00:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 18:57 src [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:00:49.570Z] + 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=e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 --label arch=arm64 --label version=0.0.0 . [2021-08-11T19:00:50.167Z] Sending build context to Docker daemon 2.672MB [2021-08-11T19:00:50.167Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-08-11T19:00:50.167Z] Step 2/17 : FROM ${BASE} [2021-08-11T19:00:50.167Z] ---> 11ba832dbfd9 [2021-08-11T19:00:50.167Z] Step 3/17 : LABEL maintainer="IOTech " [2021-08-11T19:00:50.443Z] ---> Running in ef2ae2b5fbcb [2021-08-11T19:00:51.038Z] Removing intermediate container ef2ae2b5fbcb [2021-08-11T19:00:51.038Z] ---> 4f4859851987 [2021-08-11T19:00:51.038Z] 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 [2021-08-11T19:00:51.038Z] ---> Running in 7c7274280070 [2021-08-11T19:00:52.468Z] --2021-08-11 19:00:52-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-08-11T19:00:52.468Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 [2021-08-11T19:00:52.740Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. [2021-08-11T19:00:53.015Z] HTTP request sent, awaiting response... 200 OK [2021-08-11T19:00:53.015Z] Length: 451 [application/octet-stream] [2021-08-11T19:00:53.015Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-08-11T19:00:53.015Z]  [2021-08-11T19:00:53.015Z] 0K     100% 18.6M=0s [2021-08-11T19:00:53.015Z] [2021-08-11T19:00:53.015Z] 2021-08-11 19:00:52 (18.6 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-08-11T19:00:53.015Z] [2021-08-11T19:00:54.007Z] Removing intermediate container 7c7274280070 [2021-08-11T19:00:54.007Z] ---> b45bd21509dd [2021-08-11T19:00:54.007Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-08-11T19:00:54.007Z] ---> Running in 67d977d2bd2d [2021-08-11T19:00:56.635Z] Removing intermediate container 67d977d2bd2d [2021-08-11T19:00:56.635Z] ---> 3e89e106107d [2021-08-11T19:00:56.635Z] 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 [2021-08-11T19:00:56.635Z] ---> Running in 99c4f3a7da65 [2021-08-11T19:00:58.092Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:58.682Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:59.281Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-08-11T19:00:59.875Z] (1/16) Installing ncurses-dev (6.2_p20200523-r0) [2021-08-11T19:00:59.875Z] (2/16) Installing libblkid (2.35.2-r0) [2021-08-11T19:00:59.875Z] (3/16) Installing blkid (2.35.2-r0) [2021-08-11T19:01:00.146Z] (4/16) Installing libcap-ng (0.7.10-r1) [2021-08-11T19:01:00.146Z] (5/16) Installing setpriv (2.35.2-r0) [2021-08-11T19:01:00.146Z] (6/16) Installing libmount (2.35.2-r0) [2021-08-11T19:01:00.418Z] (7/16) Installing libsmartcols (2.35.2-r0) [2021-08-11T19:01:00.418Z] (8/16) Installing findmnt (2.35.2-r0) [2021-08-11T19:01:00.418Z] (9/16) Installing mcookie (2.35.2-r0) [2021-08-11T19:01:00.690Z] (10/16) Installing hexdump (2.35.2-r0) [2021-08-11T19:01:00.690Z] (11/16) Installing lsblk (2.35.2-r0) [2021-08-11T19:01:00.690Z] (12/16) Installing libfdisk (2.35.2-r0) [2021-08-11T19:01:00.963Z] (13/16) Installing sfdisk (2.35.2-r0) [2021-08-11T19:01:00.963Z] (14/16) Installing cfdisk (2.35.2-r0) [2021-08-11T19:01:00.963Z] (15/16) Installing util-linux (2.35.2-r0) [2021-08-11T19:01:01.238Z] (16/16) Installing util-linux-dev (2.35.2-r0) [2021-08-11T19:01:01.543Z] Executing busybox-1.31.1-r20.trigger [2021-08-11T19:01:01.856Z] OK: 276 MiB in 98 packages [2021-08-11T19:01:03.905Z] Removing intermediate container 99c4f3a7da65 [2021-08-11T19:01:03.905Z] ---> 9e68886ca11f [2021-08-11T19:01:03.905Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-08-11T19:01:04.514Z] ---> c6394a0298c5 [2021-08-11T19:01:04.514Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-08-11T19:01:05.540Z] ---> 682b45a1d5c4 [2021-08-11T19:01:05.540Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-08-11T19:01:06.580Z] ---> 2c932206a54d [2021-08-11T19:01:06.580Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-08-11T19:01:07.212Z] ---> 2e4bf273cb46 [2021-08-11T19:01:07.212Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-08-11T19:01:08.210Z] ---> 5466e96d61c3 [2021-08-11T19:01:08.210Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-08-11T19:01:09.200Z] ---> 79023cb1a5ed [2021-08-11T19:01:09.200Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-08-11T19:01:09.200Z] ---> Running in 6e86050ade9b [2021-08-11T19:01:10.188Z] Removing intermediate container 6e86050ade9b [2021-08-11T19:01:10.188Z] ---> 2120c7c9e061 [2021-08-11T19:01:10.188Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-08-11T19:01:10.463Z] ---> Running in a7d48dff16cc [2021-08-11T19:01:11.061Z] Removing intermediate container a7d48dff16cc [2021-08-11T19:01:11.061Z] ---> 28f6b080b4c5 [2021-08-11T19:01:11.061Z] Step 15/17 : LABEL arch=arm64 [2021-08-11T19:01:11.061Z] ---> Running in 3504ff3f4acd [2021-08-11T19:01:11.657Z] Removing intermediate container 3504ff3f4acd [2021-08-11T19:01:11.657Z] ---> 1ae440c77c4f [2021-08-11T19:01:11.657Z] Step 16/17 : LABEL git_sha=e26f96a65f3c0e02f7f4d2c2ad7a189c816cdec0 [2021-08-11T19:01:11.930Z] ---> Running in bc3dcfbff9e9 [2021-08-11T19:01:12.526Z] Removing intermediate container bc3dcfbff9e9 [2021-08-11T19:01:12.526Z] ---> 6f6637de6c78 [2021-08-11T19:01:12.526Z] Step 17/17 : LABEL version=0.0.0 [2021-08-11T19:01:12.526Z] ---> Running in d71a43751075 [2021-08-11T19:01:13.122Z] Removing intermediate container d71a43751075 [2021-08-11T19:01:13.122Z] ---> 8ae89d9e426c [2021-08-11T19:01:13.122Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-11T19:01:13.122Z] Successfully built 8ae89d9e426c [2021-08-11T19:01:13.122Z] 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 [2021-08-11T19:01:13.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:01:13.824Z] [2021-08-11T19:01:13.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:01:14.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:01:14.499Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-11T19:01:14.499Z] 448f6bf000e3: Pulling fs layer [2021-08-11T19:01:14.499Z] f757da607395: Pulling fs layer [2021-08-11T19:01:14.499Z] 05883995daec: Pulling fs layer [2021-08-11T19:01:14.499Z] 8603b9c90790: Pulling fs layer [2021-08-11T19:01:14.499Z] 1560dd03e051: Pulling fs layer [2021-08-11T19:01:14.499Z] 27f5ce0e4adf: Pulling fs layer [2021-08-11T19:01:14.499Z] c2d8d7efcc4b: Pulling fs layer [2021-08-11T19:01:14.499Z] 1560dd03e051: Waiting [2021-08-11T19:01:14.499Z] 27f5ce0e4adf: Waiting [2021-08-11T19:01:14.499Z] 8603b9c90790: Waiting [2021-08-11T19:01:14.499Z] c2d8d7efcc4b: Waiting [2021-08-11T19:01:14.775Z] f757da607395: Verifying Checksum [2021-08-11T19:01:14.775Z] f757da607395: Download complete [2021-08-11T19:01:14.775Z] 8603b9c90790: Verifying Checksum [2021-08-11T19:01:14.775Z] 8603b9c90790: Download complete [2021-08-11T19:01:15.052Z] 1560dd03e051: Verifying Checksum [2021-08-11T19:01:15.052Z] 1560dd03e051: Download complete [2021-08-11T19:01:15.052Z] 05883995daec: Verifying Checksum [2021-08-11T19:01:15.052Z] 05883995daec: Download complete [2021-08-11T19:01:15.052Z] 27f5ce0e4adf: Verifying Checksum [2021-08-11T19:01:15.052Z] 27f5ce0e4adf: Download complete [2021-08-11T19:01:16.039Z] 448f6bf000e3: Verifying Checksum [2021-08-11T19:01:16.039Z] 448f6bf000e3: Download complete [2021-08-11T19:01:18.668Z] c2d8d7efcc4b: Verifying Checksum [2021-08-11T19:01:18.668Z] c2d8d7efcc4b: Download complete [2021-08-11T19:01:19.264Z] 448f6bf000e3: Pull complete [2021-08-11T19:01:20.255Z] f757da607395: Pull complete [2021-08-11T19:01:21.692Z] 05883995daec: Pull complete [2021-08-11T19:01:21.964Z] 8603b9c90790: Pull complete [2021-08-11T19:01:22.938Z] 1560dd03e051: Pull complete [2021-08-11T19:01:23.535Z] 27f5ce0e4adf: Pull complete [2021-08-11T19:01:38.626Z] c2d8d7efcc4b: Pull complete [2021-08-11T19:01:38.626Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-11T19:01:38.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-11T19:01:38.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-11T19:01:39.031Z] prd-ubuntu18.04-docker-arm64-4c-16g-378 does not seem to be running inside a container [2021-08-11T19:01:39.119Z] $ 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 [2021-08-11T19:01:43.703Z] $ docker top c39e0f11aba13c03fb3b14ea19bb0e4de5521987486444d5fb3fc9bcdad28f11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:01:44.732Z] ---> job-cost.sh [2021-08-11T19:01:44.733Z] lf-activate-venv: SKIPPING [2021-08-11T19:01:44.733Z] INFO: No Stack... [2021-08-11T19:01:45.714Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-11T19:01:46.305Z] INFO: Archiving Costs [Pipeline] sh [2021-08-11T19:01:46.989Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-08-11T19:01:46.989Z] + cut -d, -f6 [Pipeline] lock [2021-08-11T19:01:47.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [2021-08-11T19:01:47.198Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] did not exist. Created. [2021-08-11T19:01:47.198Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-11T19:01:47.964Z] /w/workspace/device-sdk-c/1@tmp/durable-b8407c24/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-b8407c24/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-11T19:01:48.656Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-11T19:01:48.695Z] Warning: overwriting stash ‘stack-cost’ [2021-08-11T19:01:49.191Z] Stashed 1 file(s) [Pipeline] } [2021-08-11T19:01:49.212Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-364-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-11T19:01:49.292Z] $ docker stop --time=1 c39e0f11aba13c03fb3b14ea19bb0e4de5521987486444d5fb3fc9bcdad28f11 [2021-08-11T19:01:51.031Z] $ docker rm -f c39e0f11aba13c03fb3b14ea19bb0e4de5521987486444d5fb3fc9bcdad28f11 [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 [2021-08-11T19:01:53.062Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-364/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:01:53.432Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:01:54.077Z] ---> package-listing.sh [2021-08-11T19:01:54.077Z] ++ facter osfamily [2021-08-11T19:01:54.077Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-11T19:01:54.345Z] + OS_FAMILY=redhat [2021-08-11T19:01:54.345Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-364 [2021-08-11T19:01:54.345Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-11T19:01:54.345Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-11T19:01:54.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-11T19:01:54.345Z] + PACKAGES=/tmp/packages_start.txt [2021-08-11T19:01:54.345Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-364 ']' [2021-08-11T19:01:54.345Z] + PACKAGES=/tmp/packages_end.txt [2021-08-11T19:01:54.345Z] + case "${OS_FAMILY}" in [2021-08-11T19:01:54.345Z] + sort [2021-08-11T19:01:54.345Z] + rpm -qa [2021-08-11T19:01:54.934Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-11T19:01:54.934Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-11T19:01:54.934Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-11T19:01:54.934Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-364 ']' [2021-08-11T19:01:54.935Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-364/archives/ [2021-08-11T19:01:54.935Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-364/archives/ [Pipeline] echo [2021-08-11T19:01:54.970Z] 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-364/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-11T19:01:55.499Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:01:55.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:01:55.880Z] [2021-08-11T19:01:55.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-11T19:01:56.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:01:56.256Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-11T19:01:56.256Z] b4d181a07f80: Pulling fs layer [2021-08-11T19:01:56.256Z] a1111a8f2ec3: Pulling fs layer [2021-08-11T19:01:56.256Z] ed53099fbce6: Pulling fs layer [2021-08-11T19:01:56.256Z] dc539afda2c1: Pulling fs layer [2021-08-11T19:01:56.256Z] 77bc0d833cb6: Pulling fs layer [2021-08-11T19:01:56.256Z] 9065ff56babe: Pulling fs layer [2021-08-11T19:01:56.256Z] d287ab97295c: Pulling fs layer [2021-08-11T19:01:56.256Z] dc539afda2c1: Waiting [2021-08-11T19:01:56.256Z] 77bc0d833cb6: Waiting [2021-08-11T19:01:56.256Z] 9065ff56babe: Waiting [2021-08-11T19:01:56.256Z] d287ab97295c: Waiting [2021-08-11T19:01:56.527Z] a1111a8f2ec3: Verifying Checksum [2021-08-11T19:01:56.527Z] a1111a8f2ec3: Download complete [2021-08-11T19:01:56.527Z] dc539afda2c1: Download complete [2021-08-11T19:01:56.793Z] 77bc0d833cb6: Verifying Checksum [2021-08-11T19:01:56.793Z] 77bc0d833cb6: Download complete [2021-08-11T19:01:56.793Z] 9065ff56babe: Verifying Checksum [2021-08-11T19:01:56.793Z] 9065ff56babe: Download complete [2021-08-11T19:01:57.059Z] ed53099fbce6: Verifying Checksum [2021-08-11T19:01:57.059Z] ed53099fbce6: Download complete [2021-08-11T19:01:58.468Z] b4d181a07f80: Verifying Checksum [2021-08-11T19:01:58.468Z] b4d181a07f80: Download complete [2021-08-11T19:01:59.456Z] b4d181a07f80: Pull complete [2021-08-11T19:01:59.456Z] a1111a8f2ec3: Pull complete [2021-08-11T19:02:00.057Z] ed53099fbce6: Pull complete [2021-08-11T19:02:00.057Z] dc539afda2c1: Pull complete [2021-08-11T19:02:00.324Z] 77bc0d833cb6: Pull complete [2021-08-11T19:02:00.324Z] 9065ff56babe: Pull complete [2021-08-11T19:02:01.290Z] d287ab97295c: Verifying Checksum [2021-08-11T19:02:01.290Z] d287ab97295c: Download complete [2021-08-11T19:02:05.576Z] d287ab97295c: Pull complete [2021-08-11T19:02:05.576Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-11T19:02:05.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-11T19:02:05.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-11T19:02:05.701Z] prd-centos7-docker-4c-2g-377 does not seem to be running inside a container [2021-08-11T19:02:05.769Z] $ 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-364/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-364 -v /w/workspace/edgexfoundry_device-sdk-c_PR-364:/w/workspace/edgexfoundry_device-sdk-c_PR-364:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-364@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 [2021-08-11T19:02:08.065Z] $ docker top ceb6d21e64b081630c83865d2bca0da446c4cb28c32347149bd4e7513b2b12c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-11T19:02:08.747Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-11T19:02:09.088Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-11T19:02:09.426Z] + ls /var/log/sa-host [2021-08-11T19:02:09.426Z] + sadf -c /var/log/sa-host/sa05 [2021-08-11T19:02:09.426Z] file_magic: OK [2021-08-11T19:02:09.426Z] HZ: Using current value: 100 [2021-08-11T19:02:09.426Z] file_header: OK [2021-08-11T19:02:09.426Z] 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 [2021-08-11T19:02:09.426Z] Statistics: [2021-08-11T19:02:09.426Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T19:02:09.426Z] File successfully converted to sysstat format version 12.0.3 [2021-08-11T19:02:09.426Z] + sadf -c /var/log/sa-host/sa11 [2021-08-11T19:02:09.426Z] file_magic: OK [2021-08-11T19:02:09.426Z] HZ: Using current value: 100 [2021-08-11T19:02:09.426Z] file_header: OK [2021-08-11T19:02:09.426Z] 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 [2021-08-11T19:02:09.426Z] Statistics: [2021-08-11T19:02:09.426Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-11T19:02:09.426Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-11T19:02:10.069Z] provisioning config files... [2021-08-11T19:02:10.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-364@tmp/config3283404469889752818tmp [Pipeline] { [Pipeline] echo [2021-08-11T19:02:10.135Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:02:10.481Z] ---> create-netrc.sh [Pipeline] } [2021-08-11T19:02:10.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:02:10.986Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-11T19:02:11.018Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:02:11.366Z] ---> sudo-logs.sh [2021-08-11T19:02:11.366Z] Archiving 'sudo' log.. [2021-08-11T19:02:11.366Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-377.vexxhost.local: Name or service not known [2021-08-11T19:02:11.366Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-377.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-11T19:02:11.457Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:02:11.830Z] ---> job-cost.sh [2021-08-11T19:02:11.830Z] lf-activate-venv: SKIPPING [2021-08-11T19:02:11.830Z] DEBUG: total: 0.18000000715255737 [2021-08-11T19:02:11.830Z] INFO: Retrieving Stack Cost... [2021-08-11T19:02:12.787Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-11T19:02:13.052Z] INFO: Archiving Costs [Pipeline] echo [2021-08-11T19:02:13.100Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-11T19:02:13.471Z] ---> logs-deploy.sh [2021-08-11T19:02:13.471Z] lf-activate-venv: SKIPPING [2021-08-11T19:02:13.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-364/1 [2021-08-11T19:02:13.471Z] INFO: archiving workspace using pattern(s): [2021-08-11T19:02:14.054Z] Archives upload complete. [2021-08-11T19:02:14.322Z] INFO: archiving logs to Nexus