Pull request #353 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2b0697b9b90fee7c5a100d7b7954bc3489632622+c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 (35d82bc7c424a8238c21b9ee1fb37fcf06618e59) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4680199919388155689.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4121106384388710605.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9106138293637037275.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8688234444145289263.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4780467263707283880.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-353/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3349616486715554980.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-524 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [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-353 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh335447920822269207.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh8123959509385999183.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/jenkins-gitclient-ssh6494103430091531062.key > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 Commit message: "fix: avoid crash when deviceresource has no attributes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-21T14:42:34.437Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-21T14:42:34.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-21T14:42:34.759Z] ========================================================= [2021-06-21T14:42:34.759Z] EdgeX Global Pipelines Version Info [2021-06-21T14:42:34.759Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:42:36.341Z] ------------------- [2021-06-21T14:42:36.341Z] stable info: [2021-06-21T14:42:36.341Z] ------------------- [2021-06-21T14:42:36.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-21T14:42:36.341Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T14:42:36.341Z] Message: update stable to v1.0.195 [2021-06-21T14:42:36.930Z] ------------------- [2021-06-21T14:42:36.930Z] experimental info: [2021-06-21T14:42:36.930Z] ------------------- [2021-06-21T14:42:36.930Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-21T14:42:36.930Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-21T14:42:36.930Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-21T14:42:37.162Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-06-21T14:42:37.222Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-06-21T14:42:37.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-21T14:42:37.381Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-21T14:42:37.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-21T14:42:37.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-06-21T14:42:37.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-06-21T14:42:37.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-06-21T14:42:37.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-21T14:42:37.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-06-21T14:42:37.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-21T14:42:37.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-21T14:42:37.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-21T14:42:37.977Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-21T14:42:38.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-21T14:42:38.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-21T14:42:38.163Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-21T14:42:38.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo [2021-06-21T14:42:38.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo [2021-06-21T14:42:38.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo [2021-06-21T14:42:38.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b0697b9b90fee7c5a100d7b7954bc3489632622 [Pipeline] echo [2021-06-21T14:42:38.459Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b0697b [Pipeline] echo [2021-06-21T14:42:38.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T14:42:38.674Z] provisioning config files... [2021-06-21T14:42:38.691Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config8723257991341372641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:42:39.086Z] ---> docker-login.sh [2021-06-21T14:42:39.086Z] nexus3.edgexfoundry.org:10001 [2021-06-21T14:42:40.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:42:40.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:42:40.303Z] Configure a credential helper to remove this warning. See [2021-06-21T14:42:40.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:42:40.303Z] [2021-06-21T14:42:40.303Z] Login Succeeded [2021-06-21T14:42:40.303Z] nexus3.edgexfoundry.org:10002 [2021-06-21T14:42:40.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:42:40.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:42:40.303Z] Configure a credential helper to remove this warning. See [2021-06-21T14:42:40.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:42:40.303Z] [2021-06-21T14:42:40.303Z] Login Succeeded [2021-06-21T14:42:40.303Z] nexus3.edgexfoundry.org:10003 [2021-06-21T14:42:40.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:42:40.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:42:40.566Z] Configure a credential helper to remove this warning. See [2021-06-21T14:42:40.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:42:40.566Z] [2021-06-21T14:42:40.566Z] Login Succeeded [2021-06-21T14:42:40.566Z] nexus3.edgexfoundry.org:10004 [2021-06-21T14:42:40.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:42:40.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:42:40.829Z] Configure a credential helper to remove this warning. See [2021-06-21T14:42:40.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:42:40.829Z] [2021-06-21T14:42:40.829Z] Login Succeeded [2021-06-21T14:42:40.829Z] docker.io [2021-06-21T14:42:40.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:42:41.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:42:41.092Z] Configure a credential helper to remove this warning. See [2021-06-21T14:42:41.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:42:41.092Z] [2021-06-21T14:42:41.092Z] Login Succeeded [2021-06-21T14:42:41.092Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T14:42:41.119Z] 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-06-21T14:42:43.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T14:42:43.116Z] [2021-06-21T14:42:43.116Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:42:43.483Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T14:42:43.483Z] latest: Pulling from edgex-devops/git-semver [2021-06-21T14:42:43.483Z] 31603596830f: Pulling fs layer [2021-06-21T14:42:43.483Z] 54011a49482f: Pulling fs layer [2021-06-21T14:42:43.483Z] a6820b24f6d8: Pulling fs layer [2021-06-21T14:42:43.483Z] f581987b2513: Pulling fs layer [2021-06-21T14:42:43.483Z] f581987b2513: Waiting [2021-06-21T14:42:43.760Z] 54011a49482f: Verifying Checksum [2021-06-21T14:42:43.760Z] 54011a49482f: Download complete [2021-06-21T14:42:43.760Z] 31603596830f: Verifying Checksum [2021-06-21T14:42:43.760Z] 31603596830f: Download complete [2021-06-21T14:42:44.028Z] f581987b2513: Verifying Checksum [2021-06-21T14:42:44.028Z] f581987b2513: Download complete [2021-06-21T14:42:44.028Z] a6820b24f6d8: Verifying Checksum [2021-06-21T14:42:44.028Z] a6820b24f6d8: Download complete [2021-06-21T14:42:44.028Z] 31603596830f: Pull complete [2021-06-21T14:42:44.293Z] 54011a49482f: Pull complete [2021-06-21T14:42:44.870Z] a6820b24f6d8: Pull complete [2021-06-21T14:42:45.134Z] f581987b2513: Pull complete [2021-06-21T14:42:45.396Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-21T14:42:45.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-21T14:42:45.396Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-21T14:42:45.549Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-06-21T14:42:45.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-21T14:42:51.650Z] $ docker top 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-21T14:42:51.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T14:42:51.878Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T14:42:52.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T14:42:52.022Z] $ docker exec 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent [2021-06-21T14:42:52.153Z] SSH_AUTH_SOCK=/tmp/ssh-0rDSWd5lp2VV/agent.13 [2021-06-21T14:42:52.153Z] SSH_AGENT_PID=19 [2021-06-21T14:42:52.163Z] Running ssh-add (command line suppressed) [2021-06-21T14:42:52.267Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_2212831408627540857.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_2212831408627540857.key) [2021-06-21T14:42:52.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T14:42:52.638Z] + git tag --points-at HEAD [Pipeline] } [2021-06-21T14:42:52.674Z] $ docker exec --env ******** --env ******** 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent -k [2021-06-21T14:42:52.784Z] unset SSH_AUTH_SOCK; [2021-06-21T14:42:52.784Z] unset SSH_AGENT_PID; [2021-06-21T14:42:52.784Z] echo Agent pid 19 killed; [2021-06-21T14:42:52.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-21T14:42:52.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-21T14:42:52.899Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-21T14:42:53.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-21T14:42:53.021Z] $ docker exec 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent [2021-06-21T14:42:53.159Z] SSH_AUTH_SOCK=/tmp/ssh-tpJ7Y7yRKTXK/agent.52 [2021-06-21T14:42:53.159Z] SSH_AGENT_PID=58 [2021-06-21T14:42:53.174Z] Running ssh-add (command line suppressed) [2021-06-21T14:42:53.278Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_9214559119053031505.key (/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/private_key_9214559119053031505.key) [2021-06-21T14:42:53.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-21T14:42:53.660Z] + git semver init [2021-06-21T14:42:53.660Z] # -> Open(): unable to determine branch for HEAD [2021-06-21T14:42:53.660Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.git [2021-06-21T14:42:53.660Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-353 [2021-06-21T14:42:53.660Z] # $SEMVER_REMOTE_NAME = origin [2021-06-21T14:42:53.660Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-21T14:42:53.660Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-21T14:42:53.660Z] # $SEMVER_BRANCH = PR-353 [2021-06-21T14:42:53.660Z] # $SEMVER_TEMP = /tmp/semver-847015757 [2021-06-21T14:42:53.660Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-06-21T14:42:54.618Z] # '/tmp/semver-847015757' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver' [2021-06-21T14:42:54.618Z] # -> Force: false [2021-06-21T14:42:54.618Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-353/.semver [Pipeline] } [2021-06-21T14:42:54.631Z] $ docker exec --env ******** --env ******** 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 ssh-agent -k [2021-06-21T14:42:54.729Z] unset SSH_AUTH_SOCK; [2021-06-21T14:42:54.729Z] unset SSH_AGENT_PID; [2021-06-21T14:42:54.729Z] echo Agent pid 58 killed; [2021-06-21T14:42:54.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-21T14:42:55.199Z] + git semver [Pipeline] } [2021-06-21T14:42:55.221Z] $ docker stop --time=1 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 [2021-06-21T14:42:56.959Z] $ docker rm -f 8f807f4035ac636b79ee02d160974525b31e0302988ade96dea18bcab2b32b23 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-21T14:42:57.427Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-21T14:42:57.758Z] Stashed 1 file(s) [Pipeline] echo [2021-06-21T14:42:57.782Z] [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-06-21T14:43:13.326Z] Still waiting to schedule task [2021-06-21T14:43:13.327Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-21T14:43:13.357Z] Still waiting to schedule task [2021-06-21T14:43:13.357Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-21T14:45:17.041Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-525 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws [2021-06-21T14:45:17.120Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-06-21T14:45:17.408Z] Selected Git installation does not exist. Using Default [2021-06-21T14:45:17.408Z] The recommended git tool is: NONE [2021-06-21T14:45:23.480Z] using credential edgex-jenkins-ssh [2021-06-21T14:45:23.505Z] Cloning the remote Git repository [2021-06-21T14:45:23.562Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:23.687Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-06-21T14:45:23.764Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:23.764Z] > git --version # timeout=10 [2021-06-21T14:45:23.785Z] > git --version # 'git version 2.17.1' [2021-06-21T14:45:23.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:23.862Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T14:45:25.613Z] Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:45:25.842Z] Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:45:25.843Z] Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) [2021-06-21T14:45:24.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T14:45:24.930Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T14:45:24.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T14:45:24.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:24.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:25.012Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T14:45:25.630Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T14:45:25.649Z] > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 [2021-06-21T14:45:25.755Z] > git remote # timeout=10 [2021-06-21T14:45:25.777Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T14:45:25.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:25.807Z] > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 [2021-06-21T14:45:25.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T14:45:25.847Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T14:45:25.860Z] > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 [2021-06-21T14:45:30.177Z] Commit message: "fix: avoid crash when deviceresource has no attributes" [2021-06-21T14:45:30.236Z] > git --version # timeout=10 [2021-06-21T14:45:30.248Z] > git --version # 'git version 2.17.1' [2021-06-21T14:45:30.262Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T14:45:31.956Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-21T14:45:32.394Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T14:45:32.791Z] + true [2021-06-21T14:45:32.792Z] + sudo service docker restart [2021-06-21T14:45:43.031Z] Running on prd-centos7-docker-4c-2g-526 in /w/workspace/edgexfoundry_device-sdk-c_PR-353 [Pipeline] { [Pipeline] ws [2021-06-21T14:45:43.092Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-06-21T14:45:43.270Z] Selected Git installation does not exist. Using Default [2021-06-21T14:45:43.270Z] The recommended git tool is: NONE [2021-06-21T14:45:45.493Z] using credential edgex-jenkins-ssh [2021-06-21T14:45:45.507Z] Cloning the remote Git repository [2021-06-21T14:45:45.528Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:45.656Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-06-21T14:45:45.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:45.689Z] > git --version # timeout=10 [2021-06-21T14:45:45.695Z] > git --version # 'git version 2.24.4' [2021-06-21T14:45:45.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:45.719Z] [INFO] Currently running in a labeled security context [2021-06-21T14:45:45.720Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T14:45:45.720Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1689571242251286310.key [2021-06-21T14:45:45.735Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T14:45:46.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T14:45:46.406Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-21T14:45:46.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-06-21T14:45:46.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-06-21T14:45:46.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:46.432Z] [INFO] Currently running in a labeled security context [2021-06-21T14:45:46.432Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T14:45:46.432Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8137219868547819101.key [2021-06-21T14:45:46.440Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-21T14:45:46.926Z] Merging remotes/origin/master commit c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 into PR head commit 2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:45:47.012Z] Merge succeeded, producing 2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:45:47.013Z] Checking out Revision 2b0697b9b90fee7c5a100d7b7954bc3489632622 (PR-353) [2021-06-21T14:45:46.929Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T14:45:46.934Z] > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 [2021-06-21T14:45:46.972Z] > git remote # timeout=10 [2021-06-21T14:45:46.977Z] > git config --get remote.origin.url # timeout=10 [2021-06-21T14:45:46.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-21T14:45:46.985Z] [INFO] Currently running in a labeled security context [2021-06-21T14:45:46.985Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-21T14:45:46.985Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh8498266694317101287.key [2021-06-21T14:45:46.992Z] > git merge c6fc2f878f86612677a70dfca2ecf7cce01bb8e6 # timeout=10 [2021-06-21T14:45:47.002Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-21T14:45:47.014Z] > git config core.sparsecheckout # timeout=10 [2021-06-21T14:45:47.031Z] > git checkout -f 2b0697b9b90fee7c5a100d7b7954bc3489632622 # timeout=10 [2021-06-21T14:45:50.649Z] Commit message: "fix: avoid crash when deviceresource has no attributes" [2021-06-21T14:45:50.737Z] > git --version # timeout=10 [2021-06-21T14:45:50.740Z] > git --version # 'git version 2.24.4' [2021-06-21T14:45:50.745Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T14:45:51.254Z] provisioning config files... [2021-06-21T14:45:51.282Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5242648583079825876tmp [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T14:45:51.761Z] ---> docker-login.sh [2021-06-21T14:45:51.761Z] nexus3.edgexfoundry.org:10001 [2021-06-21T14:45:52.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:45:52.374Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-21T14:45:52.727Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-21T14:45:52.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:45:52.956Z] Configure a credential helper to remove this warning. See [2021-06-21T14:45:52.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:45:52.956Z] [2021-06-21T14:45:52.956Z] Login Succeeded [2021-06-21T14:45:52.956Z] nexus3.edgexfoundry.org:10002 [2021-06-21T14:45:53.068Z] + true [2021-06-21T14:45:53.068Z] + sudo service docker restart [2021-06-21T14:45:53.068Z] Redirecting to /bin/systemctl restart docker.service [2021-06-21T14:45:53.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:45:53.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:45:53.509Z] Configure a credential helper to remove this warning. See [2021-06-21T14:45:53.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:45:53.509Z] [2021-06-21T14:45:53.509Z] Login Succeeded [2021-06-21T14:45:53.509Z] nexus3.edgexfoundry.org:10003 [2021-06-21T14:45:53.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:45:53.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:45:53.783Z] Configure a credential helper to remove this warning. See [2021-06-21T14:45:53.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:45:53.783Z] [2021-06-21T14:45:53.783Z] Login Succeeded [2021-06-21T14:45:53.783Z] nexus3.edgexfoundry.org:10004 [2021-06-21T14:45:54.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:45:54.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:45:54.381Z] Configure a credential helper to remove this warning. See [2021-06-21T14:45:54.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:45:54.381Z] [2021-06-21T14:45:54.381Z] Login Succeeded [2021-06-21T14:45:54.381Z] docker.io [2021-06-21T14:45:54.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:45:55.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:45:55.252Z] Configure a credential helper to remove this warning. See [2021-06-21T14:45:55.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:45:55.252Z] [2021-06-21T14:45:55.252Z] Login Succeeded [2021-06-21T14:45:55.252Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T14:45:55.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-21T14:45:55.875Z] ========================================================= [2021-06-21T14:45:55.875Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-06-21T14:45:55.875Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:45:56.329Z] + 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-06-21T14:45:56.617Z] Sending build context to Docker daemon 2.628MB [2021-06-21T14:45:56.894Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-06-21T14:45:56.894Z] Step 2/25 : FROM ${BASE} as builder [2021-06-21T14:45:57.169Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-06-21T14:45:57.169Z] 0362ad1dd800: Pulling fs layer [2021-06-21T14:45:57.169Z] f2cdb1532d8b: Pulling fs layer [2021-06-21T14:45:57.169Z] 37ed683be191: Pulling fs layer [2021-06-21T14:45:57.169Z] f2cdb1532d8b: Verifying Checksum [2021-06-21T14:45:57.169Z] f2cdb1532d8b: Download complete [2021-06-21T14:45:57.169Z] 0362ad1dd800: Verifying Checksum [2021-06-21T14:45:57.169Z] 0362ad1dd800: Download complete [2021-06-21T14:45:57.777Z] 0362ad1dd800: Pull complete [2021-06-21T14:45:58.382Z] f2cdb1532d8b: Pull complete [2021-06-21T14:45:59.819Z] 37ed683be191: Verifying Checksum [2021-06-21T14:45:59.819Z] 37ed683be191: Download complete [2021-06-21T14:46:08.117Z] 37ed683be191: Pull complete [2021-06-21T14:46:08.117Z] Digest: sha256:f3a502aba7c4a8aa4a4fcde21dbb9db33787f3779e80dd14fb3ea60ab67de23f [2021-06-21T14:46:08.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-06-21T14:46:08.393Z] ---> b23d30803547 [2021-06-21T14:46:08.393Z] 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-06-21T14:46:09.849Z] ---> Running in 6281d448f15c [Pipeline] withEnv [Pipeline] { [2021-06-21T14:46:11.288Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [Pipeline] configFileProvider [2021-06-21T14:46:11.297Z] provisioning config files... [2021-06-21T14:46:11.311Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2759839265567082734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:46:11.562Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T14:46:11.562Z] [2021-06-21T14:46:11.718Z] ---> docker-login.sh [2021-06-21T14:46:11.718Z] nexus3.edgexfoundry.org:10001 [2021-06-21T14:46:11.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:46:11.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:46:11.987Z] Configure a credential helper to remove this warning. See [2021-06-21T14:46:11.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:46:11.987Z] [2021-06-21T14:46:11.987Z] Login Succeeded [2021-06-21T14:46:11.987Z] nexus3.edgexfoundry.org:10002 [2021-06-21T14:46:11.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:46:12.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:46:12.248Z] Configure a credential helper to remove this warning. See [2021-06-21T14:46:12.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:46:12.248Z] [2021-06-21T14:46:12.248Z] Login Succeeded [2021-06-21T14:46:12.248Z] nexus3.edgexfoundry.org:10003 [2021-06-21T14:46:12.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:46:12.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:46:12.248Z] Configure a credential helper to remove this warning. See [2021-06-21T14:46:12.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:46:12.248Z] [2021-06-21T14:46:12.248Z] Login Succeeded [2021-06-21T14:46:12.248Z] nexus3.edgexfoundry.org:10004 [2021-06-21T14:46:12.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:46:12.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:46:12.512Z] Configure a credential helper to remove this warning. See [2021-06-21T14:46:12.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:46:12.512Z] [2021-06-21T14:46:12.512Z] Login Succeeded [2021-06-21T14:46:12.512Z] docker.io [2021-06-21T14:46:12.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-21T14:46:12.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-21T14:46:12.774Z] Configure a credential helper to remove this warning. See [2021-06-21T14:46:12.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-21T14:46:12.774Z] [2021-06-21T14:46:12.774Z] Login Succeeded [2021-06-21T14:46:12.774Z] ---> docker-login.sh ends [Pipeline] } [2021-06-21T14:46:12.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-21T14:46:12.998Z] Removing intermediate container 6281d448f15c [2021-06-21T14:46:12.998Z] ---> 96ae39cf651e [2021-06-21T14:46:12.998Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:46:12.998Z] ---> Running in 8fe3536938a0 [Pipeline] echo [2021-06-21T14:46:13.078Z] ========================================================= [2021-06-21T14:46:13.079Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-06-21T14:46:13.079Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:46:13.424Z] + 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-06-21T14:46:13.424Z] Sending build context to Docker daemon 2.629MB [2021-06-21T14:46:13.424Z] Step 1/25 : ARG BASE=alpine:3.12 [2021-06-21T14:46:13.424Z] Step 2/25 : FROM ${BASE} as builder [2021-06-21T14:46:13.424Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-06-21T14:46:13.424Z] e7c96db7181b: Pulling fs layer [2021-06-21T14:46:13.424Z] 4c13bbce0fe7: Pulling fs layer [2021-06-21T14:46:13.424Z] 6059c847ac2f: Pulling fs layer [2021-06-21T14:46:13.711Z] 4c13bbce0fe7: Verifying Checksum [2021-06-21T14:46:13.711Z] 4c13bbce0fe7: Download complete [2021-06-21T14:46:13.711Z] e7c96db7181b: Verifying Checksum [2021-06-21T14:46:13.711Z] e7c96db7181b: Download complete [2021-06-21T14:46:13.711Z] e7c96db7181b: Pull complete [2021-06-21T14:46:13.973Z] 4c13bbce0fe7: Pull complete [2021-06-21T14:46:14.925Z] 6059c847ac2f: Verifying Checksum [2021-06-21T14:46:14.925Z] 6059c847ac2f: Download complete [2021-06-21T14:46:15.626Z] Removing intermediate container 8fe3536938a0 [2021-06-21T14:46:15.626Z] ---> d64dbdc04fe1 [2021-06-21T14:46:15.626Z] 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-06-21T14:46:15.626Z] ---> Running in 421d43d1c565 [2021-06-21T14:46:17.066Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T14:46:17.624Z] 6059c847ac2f: Pull complete [2021-06-21T14:46:17.624Z] Digest: sha256:6b5104d086ae1e5e8a284a473be9a93378e3934f9b07db5717372c857cbcbe5e [2021-06-21T14:46:17.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-06-21T14:46:17.624Z] ---> 5eabd8fd8ba2 [2021-06-21T14:46:17.625Z] 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-06-21T14:46:18.045Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T14:46:18.320Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T14:46:18.914Z] (1/11) Installing hiredis (0.14.0-r0) [2021-06-21T14:46:18.914Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-06-21T14:46:19.186Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T14:46:19.186Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T14:46:20.614Z] (5/11) Installing libuuid (2.33-r0) [2021-06-21T14:46:20.889Z] (6/11) Installing libblkid (2.33-r0) [2021-06-21T14:46:21.161Z] (7/11) Installing libfdisk (2.33-r0) [2021-06-21T14:46:21.161Z] (8/11) Installing libmount (2.33-r0) [2021-06-21T14:46:21.162Z] ---> Running in 9794e0ccea1d [2021-06-21T14:46:21.440Z] (9/11) Installing libsmartcols (2.33-r0) [2021-06-21T14:46:21.440Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-06-21T14:46:21.713Z] (11/11) Installing wget (1.20.3-r0) [2021-06-21T14:46:21.713Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:46:21.747Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-06-21T14:46:21.991Z] OK: 287 MiB in 86 packages [2021-06-21T14:46:22.007Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T14:46:22.007Z] [2021-06-21T14:46:22.581Z] Removing intermediate container 9794e0ccea1d [2021-06-21T14:46:22.581Z] ---> 23a2fb0d0d22 [2021-06-21T14:46:22.581Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:46:22.581Z] ---> Running in 61c4ccc68771 [2021-06-21T14:46:23.158Z] Removing intermediate container 61c4ccc68771 [2021-06-21T14:46:23.158Z] ---> a95b26f29cca [2021-06-21T14:46:23.158Z] 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-06-21T14:46:23.425Z] ---> Running in 565ccd4b631f [2021-06-21T14:46:23.428Z] Removing intermediate container 421d43d1c565 [2021-06-21T14:46:23.428Z] ---> d5c4f4172d75 [2021-06-21T14:46:23.428Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-06-21T14:46:23.428Z] ---> Running in 7dd24caa1215 [2021-06-21T14:46:23.688Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:24.025Z] Removing intermediate container 7dd24caa1215 [2021-06-21T14:46:24.025Z] ---> b5ec53519afe [2021-06-21T14:46:24.025Z] 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-06-21T14:46:24.025Z] ---> Running in 0b5b13aa4bf4 [2021-06-21T14:46:24.261Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:24.832Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:25.093Z] (1/11) Installing hiredis (0.14.0-r0) [2021-06-21T14:46:25.093Z] (2/11) Installing hiredis-dev (0.14.0-r0) [2021-06-21T14:46:25.359Z] (3/11) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T14:46:25.359Z] (4/11) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T14:46:25.463Z] --2021-06-21 14:46:25-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-06-21T14:46:25.463Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:25.463Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:25.742Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:25.742Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-06-21T14:46:25.742Z] --2021-06-21 14:46:25-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-06-21T14:46:25.742Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:25.742Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:25.742Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:25.742Z] Length: unspecified [application/x-gzip] [2021-06-21T14:46:25.742Z] Saving to: 'STDOUT' [2021-06-21T14:46:25.742Z]  [2021-06-21T14:46:25.742Z] 0K .......... .......... .......... .......... .......... 1.53M [2021-06-21T14:46:26.017Z] 50K .......... .......... .......... .......... .......... 3.06M [2021-06-21T14:46:26.017Z] 100K .......... .......... .......... .......... .......... 3.49M [2021-06-21T14:46:26.017Z] 150K .......... .......... .......... .......... .......... 9.56M [2021-06-21T14:46:26.017Z] 200K .......... .......... .......... .......... .......... 8.38M [2021-06-21T14:46:26.017Z] 250K .......... .......... .......... .......... .......... 3.56M [2021-06-21T14:46:26.017Z] 300K .......... .......... .......... .......... .......... 4.92M [2021-06-21T14:46:26.017Z] 350K .......... .......... .......... .......... .......... 4.24M [2021-06-21T14:46:26.017Z] 400K .......... .......... .......... .......... .......... 3.29M [2021-06-21T14:46:26.017Z] 450K .......... .......... .......... .......... .......... 3.69M [2021-06-21T14:46:26.017Z] 500K .......... .......... .......... .......... .......... 10.1M [2021-06-21T14:46:26.017Z] 550K .......... .......... .......... .......... .......... 2.64M [2021-06-21T14:46:26.017Z] 600K .......... .......... .......... .......... .......... 898K [2021-06-21T14:46:26.017Z] 650K .......... .......... .......... .......... .......... 2.37M [2021-06-21T14:46:26.017Z] 700K .. 4.85M=0.2s [2021-06-21T14:46:26.017Z] [2021-06-21T14:46:26.017Z] 2021-06-21 14:46:25 (2.91 MB/s) - written to stdout [719348] [2021-06-21T14:46:26.017Z] [2021-06-21T14:46:26.293Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:46:26.567Z] -- The CXX compiler identification is GNU 8.3.0 [2021-06-21T14:46:26.567Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T14:46:26.745Z] (5/11) Installing libuuid (2.33-r0) [2021-06-21T14:46:26.745Z] (6/11) Installing libblkid (2.33-r0) [2021-06-21T14:46:26.840Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:46:26.840Z] -- Detecting C compiler ABI info [2021-06-21T14:46:27.008Z] (7/11) Installing libfdisk (2.33-r0) [2021-06-21T14:46:27.008Z] (8/11) Installing libmount (2.33-r0) [2021-06-21T14:46:27.116Z] -- Detecting C compiler ABI info - done [2021-06-21T14:46:27.116Z] -- Detecting C compile features [2021-06-21T14:46:27.269Z] (9/11) Installing libsmartcols (2.33-r0) [2021-06-21T14:46:27.270Z] (10/11) Installing util-linux-dev (2.33-r0) [2021-06-21T14:46:28.103Z] -- Detecting C compile features - done [2021-06-21T14:46:28.103Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-06-21T14:46:28.103Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-06-21T14:46:28.103Z] -- Detecting CXX compiler ABI info [2021-06-21T14:46:28.217Z] (11/11) Installing wget (1.20.3-r0) [2021-06-21T14:46:28.217Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:46:28.217Z] OK: 273 MiB in 86 packages [2021-06-21T14:46:28.377Z] -- Detecting CXX compiler ABI info - done [2021-06-21T14:46:28.377Z] -- Detecting CXX compile features [2021-06-21T14:46:28.487Z] Removing intermediate container 565ccd4b631f [2021-06-21T14:46:28.487Z] ---> e0f48848f378 [2021-06-21T14:46:28.487Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-06-21T14:46:28.487Z] ---> Running in 54f939d2c786 [2021-06-21T14:46:28.487Z] Removing intermediate container 54f939d2c786 [2021-06-21T14:46:28.487Z] ---> 28be1429f7f1 [2021-06-21T14:46:28.487Z] 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-06-21T14:46:28.761Z] ---> Running in 60573af9b354 [2021-06-21T14:46:28.761Z] --2021-06-21 14:46:28-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-06-21T14:46:28.761Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:29.027Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:29.027Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:29.027Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-06-21T14:46:29.027Z] --2021-06-21 14:46:28-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-06-21T14:46:29.027Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:29.027Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:29.027Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:29.027Z] Length: 719348 (702K) [application/x-gzip] [2021-06-21T14:46:29.027Z] Saving to: 'STDOUT' [2021-06-21T14:46:29.027Z]  [2021-06-21T14:46:29.027Z] 0K .......... .......... .......... .......... .......... 7% 1.36M 0s [2021-06-21T14:46:29.027Z] 50K .......... .......... .......... .......... .......... 14% 2.71M 0s [2021-06-21T14:46:29.027Z] 100K .......... .......... .......... .......... .......... 21% 47.8M 0s [2021-06-21T14:46:29.027Z] 150K .......... .......... .......... .......... .......... 28% 3.00M 0s [2021-06-21T14:46:29.027Z] 200K .......... .......... .......... .......... .......... 35% 13.2M 0s [2021-06-21T14:46:29.027Z] 250K .......... .......... .......... .......... .......... 42% 7.61M 0s [2021-06-21T14:46:29.027Z] 300K .......... .......... .......... .......... .......... 49% 11.0M 0s [2021-06-21T14:46:29.027Z] 350K .......... .......... .......... .......... .......... 56% 8.40M 0s [2021-06-21T14:46:29.027Z] 400K .......... .......... .......... .......... .......... 64% 10.3M 0s [2021-06-21T14:46:29.027Z] 450K .......... .......... .......... .......... .......... 71% 14.2M 0s [2021-06-21T14:46:29.027Z] 500K .......... .......... .......... .......... .......... 78% 13.0M 0s [2021-06-21T14:46:29.027Z] 550K .......... .......... .......... .......... .......... 85% 15.7M 0s [2021-06-21T14:46:29.027Z] 600K .......... .......... .......... .......... .......... 92% 4.97M 0s [2021-06-21T14:46:29.027Z] 650K .......... .......... .......... .......... .......... 99% 5.90M 0s [2021-06-21T14:46:29.027Z] 700K .. 100% 1.06M=0.1s [2021-06-21T14:46:29.027Z] [2021-06-21T14:46:29.027Z] 2021-06-21 14:46:29 (5.40 MB/s) - written to stdout [719348/719348] [2021-06-21T14:46:29.027Z] [2021-06-21T14:46:29.296Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:46:29.296Z] -- The CXX compiler identification is GNU 8.3.0 [2021-06-21T14:46:29.296Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T14:46:29.296Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:46:29.296Z] -- Detecting C compiler ABI info [2021-06-21T14:46:29.296Z] -- Detecting C compiler ABI info - done [2021-06-21T14:46:29.561Z] -- Detecting C compile features [2021-06-21T14:46:29.562Z] -- Detecting C compile features - done [2021-06-21T14:46:29.562Z] -- Check for working CXX compiler: /usr/bin/c++ [2021-06-21T14:46:29.811Z] -- Detecting CXX compile features - done [2021-06-21T14:46:29.811Z] -- Looking for include file endian.h [2021-06-21T14:46:29.834Z] -- Check for working CXX compiler: /usr/bin/c++ -- works [2021-06-21T14:46:29.834Z] -- Detecting CXX compiler ABI info [2021-06-21T14:46:29.834Z] -- Detecting CXX compiler ABI info - done [2021-06-21T14:46:29.834Z] -- Detecting CXX compile features [2021-06-21T14:46:30.084Z] -- Looking for include file endian.h - found [2021-06-21T14:46:30.084Z] -- Check if the system is big endian [2021-06-21T14:46:30.084Z] -- Searching 16 bit integer [2021-06-21T14:46:30.084Z] -- Looking for sys/types.h [2021-06-21T14:46:30.099Z] -- Detecting CXX compile features - done [2021-06-21T14:46:30.099Z] -- Looking for include file endian.h [2021-06-21T14:46:30.363Z] -- Looking for include file endian.h - found [2021-06-21T14:46:30.363Z] -- Check if the system is big endian [2021-06-21T14:46:30.363Z] -- Searching 16 bit integer [2021-06-21T14:46:30.363Z] -- Looking for sys/types.h [2021-06-21T14:46:30.363Z] -- Looking for sys/types.h - found [2021-06-21T14:46:30.363Z] -- Looking for stdint.h [2021-06-21T14:46:30.363Z] -- Looking for stdint.h - found [2021-06-21T14:46:30.363Z] -- Looking for stddef.h [2021-06-21T14:46:30.363Z] -- Looking for stddef.h - found [2021-06-21T14:46:30.363Z] -- Check size of unsigned short [2021-06-21T14:46:30.369Z] -- Looking for sys/types.h - found [2021-06-21T14:46:30.369Z] -- Looking for stdint.h [2021-06-21T14:46:30.633Z] -- Check size of unsigned short - done [2021-06-21T14:46:30.633Z] -- Using unsigned short [2021-06-21T14:46:30.633Z] -- Check if the system is big endian - little endian [2021-06-21T14:46:30.633Z] -- Check size of size_t [2021-06-21T14:46:30.633Z] -- Check size of size_t - done [2021-06-21T14:46:30.633Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-06-21T14:46:30.633Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-06-21T14:46:30.633Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-06-21T14:46:30.633Z] CMake did not find one. [2021-06-21T14:46:30.633Z] [2021-06-21T14:46:30.633Z] Could not find a package configuration file provided by "cJSON" with any of [2021-06-21T14:46:30.633Z] the following names: [2021-06-21T14:46:30.633Z] [2021-06-21T14:46:30.633Z] cJSONConfig.cmake [2021-06-21T14:46:30.633Z] cjson-config.cmake [2021-06-21T14:46:30.633Z] [2021-06-21T14:46:30.633Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-06-21T14:46:30.633Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-06-21T14:46:30.633Z] provides a separate development package or SDK, be sure it has been [2021-06-21T14:46:30.633Z] installed. [2021-06-21T14:46:30.633Z] [2021-06-21T14:46:30.633Z] [2021-06-21T14:46:30.633Z] -- Configuring done [2021-06-21T14:46:30.633Z] -- Generating done [2021-06-21T14:46:30.633Z] -- Build files have been written to: /tmp/cbor [2021-06-21T14:46:30.649Z] -- Looking for stdint.h - found [2021-06-21T14:46:30.649Z] -- Looking for stddef.h [2021-06-21T14:46:30.898Z] Scanning dependencies of target cbor_shared [2021-06-21T14:46:30.898Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-06-21T14:46:30.898Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-06-21T14:46:30.922Z] -- Looking for stddef.h - found [2021-06-21T14:46:30.923Z] -- Check size of unsigned short [2021-06-21T14:46:31.159Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-06-21T14:46:31.159Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T14:46:31.159Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-06-21T14:46:31.196Z] -- Check size of unsigned short - done [2021-06-21T14:46:31.196Z] -- Using unsigned short [2021-06-21T14:46:31.420Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-06-21T14:46:31.420Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-06-21T14:46:31.420Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-06-21T14:46:31.420Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-06-21T14:46:31.420Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-06-21T14:46:31.469Z] -- Check if the system is big endian - little endian [2021-06-21T14:46:31.469Z] -- Check size of size_t [2021-06-21T14:46:31.692Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-06-21T14:46:31.692Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-06-21T14:46:31.692Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-06-21T14:46:31.742Z] -- Check size of size_t - done [2021-06-21T14:46:31.742Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-06-21T14:46:31.742Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-06-21T14:46:31.742Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-06-21T14:46:31.742Z] CMake did not find one. [2021-06-21T14:46:31.742Z] [2021-06-21T14:46:31.742Z] Could not find a package configuration file provided by "cJSON" with any of [2021-06-21T14:46:31.742Z] the following names: [2021-06-21T14:46:31.742Z] [2021-06-21T14:46:31.742Z] cJSONConfig.cmake [2021-06-21T14:46:31.742Z] cjson-config.cmake [2021-06-21T14:46:31.742Z] [2021-06-21T14:46:31.742Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-06-21T14:46:31.742Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-06-21T14:46:31.742Z] provides a separate development package or SDK, be sure it has been [2021-06-21T14:46:31.742Z] installed. [2021-06-21T14:46:31.742Z] [2021-06-21T14:46:31.742Z] [2021-06-21T14:46:31.742Z] -- Configuring done [2021-06-21T14:46:31.959Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-06-21T14:46:31.959Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-06-21T14:46:31.959Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-06-21T14:46:31.959Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-06-21T14:46:32.018Z] -- Generating done [2021-06-21T14:46:32.018Z] -- Build files have been written to: /tmp/cbor [2021-06-21T14:46:32.018Z] Scanning dependencies of target cbor_shared [2021-06-21T14:46:32.018Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-06-21T14:46:32.232Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-06-21T14:46:32.232Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-06-21T14:46:32.232Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-06-21T14:46:32.232Z] [ 40%] Linking C shared library libcbor.so [2021-06-21T14:46:32.232Z] [ 40%] Built target cbor_shared [2021-06-21T14:46:32.232Z] Scanning dependencies of target cbor [2021-06-21T14:46:32.232Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-06-21T14:46:32.495Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-06-21T14:46:32.495Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-06-21T14:46:32.757Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T14:46:32.757Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-06-21T14:46:33.000Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-06-21T14:46:33.022Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-06-21T14:46:33.022Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-06-21T14:46:33.022Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-06-21T14:46:33.022Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-06-21T14:46:33.022Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-06-21T14:46:33.288Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-06-21T14:46:33.288Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-06-21T14:46:33.288Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-06-21T14:46:33.551Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-06-21T14:46:33.551Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-06-21T14:46:33.551Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-06-21T14:46:33.601Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-06-21T14:46:33.601Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T14:46:33.812Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-06-21T14:46:33.812Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-06-21T14:46:33.812Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-06-21T14:46:33.812Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-06-21T14:46:33.812Z] [ 80%] Linking C static library libcbor.a [2021-06-21T14:46:33.812Z] [ 80%] Built target cbor [2021-06-21T14:46:33.812Z] Scanning dependencies of target create_items [2021-06-21T14:46:34.073Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-06-21T14:46:34.073Z] [ 84%] Linking C executable create_items [2021-06-21T14:46:34.073Z] [ 84%] Built target create_items [2021-06-21T14:46:34.073Z] Scanning dependencies of target readfile [2021-06-21T14:46:34.073Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-06-21T14:46:34.073Z] [ 88%] Linking C executable readfile [2021-06-21T14:46:34.073Z] [ 88%] Built target readfile [2021-06-21T14:46:34.073Z] Scanning dependencies of target streaming_parser [2021-06-21T14:46:34.073Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-06-21T14:46:34.073Z] [ 92%] Linking C executable streaming_parser [2021-06-21T14:46:34.195Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-06-21T14:46:34.338Z] [ 92%] Built target streaming_parser [2021-06-21T14:46:34.339Z] Scanning dependencies of target sort [2021-06-21T14:46:34.339Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-06-21T14:46:34.339Z] [ 96%] Linking C executable sort [2021-06-21T14:46:34.339Z] [ 96%] Built target sort [2021-06-21T14:46:34.339Z] Scanning dependencies of target hello [2021-06-21T14:46:34.339Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-06-21T14:46:34.339Z] [100%] Linking C executable hello [2021-06-21T14:46:34.339Z] [100%] Built target hello [2021-06-21T14:46:34.339Z] Install the project... [2021-06-21T14:46:34.339Z] -- Install configuration: "Release" [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/lib64/libcbor.a [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/lib64/libcbor.so [2021-06-21T14:46:34.339Z] -- Up-to-date: /usr/local/include/cbor [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/common.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/data.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/ints.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/maps.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/strings.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor/tags.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/include/cbor.h [2021-06-21T14:46:34.339Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-06-21T14:46:34.470Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-06-21T14:46:34.743Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-06-21T14:46:34.743Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-06-21T14:46:34.916Z] Removing intermediate container 60573af9b354 [2021-06-21T14:46:34.916Z] ---> 61667f0f93cb [2021-06-21T14:46:34.916Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-06-21T14:46:34.916Z] ---> Running in 3d77d1af122b [2021-06-21T14:46:35.018Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-06-21T14:46:35.294Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-06-21T14:46:35.497Z] Removing intermediate container 3d77d1af122b [2021-06-21T14:46:35.497Z] ---> 88f744b3ad3e [2021-06-21T14:46:35.497Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-06-21T14:46:35.497Z] ---> 255add0ebb24 [2021-06-21T14:46:35.497Z] Step 10/25 : COPY src /tmp/sdk/src [2021-06-21T14:46:35.758Z] ---> c7ecb0c7490a [2021-06-21T14:46:35.758Z] Step 11/25 : COPY include /tmp/sdk/include [2021-06-21T14:46:35.891Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-06-21T14:46:36.028Z] ---> fef9b7f0b83f [2021-06-21T14:46:36.028Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-06-21T14:46:36.028Z] ---> 106796a53523 [2021-06-21T14:46:36.028Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-06-21T14:46:36.165Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-06-21T14:46:36.291Z] ---> c3c3f3ea0636 [2021-06-21T14:46:36.291Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-06-21T14:46:36.291Z] ---> beecac18d068 [2021-06-21T14:46:36.291Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-06-21T14:46:36.291Z] ---> Running in 339f08e26797 [2021-06-21T14:46:36.553Z] + CPPCHECK=false [2021-06-21T14:46:36.553Z] + DOCGEN=false [2021-06-21T14:46:36.553Z] + TOMLVER=SDK-0.2 [2021-06-21T14:46:36.553Z] + CUTILVER=1.1.4 [2021-06-21T14:46:36.553Z] + '[' 0 -gt 0 ] [2021-06-21T14:46:36.553Z] + readlink -f ./scripts/build.sh [2021-06-21T14:46:36.553Z] + dirname /tmp/sdk/scripts/build.sh [2021-06-21T14:46:36.553Z] + dirname /tmp/sdk/scripts [2021-06-21T14:46:36.553Z] + ROOT=/tmp/sdk [2021-06-21T14:46:36.553Z] + cd /tmp/sdk [2021-06-21T14:46:36.553Z] + '[' '!' -d deps ] [2021-06-21T14:46:36.553Z] + mkdir deps [2021-06-21T14:46:36.553Z] + + wgettar -O -C - deps -z -x https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -f - [2021-06-21T14:46:36.553Z] [2021-06-21T14:46:36.553Z] --2021-06-21 14:46:36-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T14:46:36.553Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:36.553Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:36.762Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-06-21T14:46:36.815Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:36.815Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-06-21T14:46:36.815Z] --2021-06-21 14:46:36-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-06-21T14:46:36.815Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:36.815Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:37.036Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-06-21T14:46:37.075Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:37.076Z] Length: unspecified [application/x-gzip] [2021-06-21T14:46:37.076Z] Saving to: 'STDOUT' [2021-06-21T14:46:37.076Z] [2021-06-21T14:46:37.076Z] 0K .......... ......  1.00M=0.02s [2021-06-21T14:46:37.076Z] [2021-06-21T14:46:37.076Z] 2021-06-21 14:46:36 (1.00 MB/s) - written to stdout [16451] [2021-06-21T14:46:37.076Z] [2021-06-21T14:46:37.076Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-06-21T14:46:37.076Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T14:46:37.076Z] + tar -C deps -z -x -f - [2021-06-21T14:46:37.076Z] --2021-06-21 14:46:36-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T14:46:37.076Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:37.076Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:37.076Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:37.076Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-06-21T14:46:37.076Z] --2021-06-21 14:46:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-06-21T14:46:37.076Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:37.076Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:37.309Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-06-21T14:46:37.309Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-06-21T14:46:37.340Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:37.340Z] Length: unspecified [application/x-gzip] [2021-06-21T14:46:37.340Z] Saving to: 'STDOUT' [2021-06-21T14:46:37.340Z] [2021-06-21T14:46:37.340Z] 0K .......... .......... .......... .......... .......... 1.55M [2021-06-21T14:46:37.340Z] 50K .......... .......... .......... .......... .......... 3.08M [2021-06-21T14:46:37.340Z] 100K .......... .......... .......... .......... .......... 34.5M [2021-06-21T14:46:37.340Z] 150K .......... .......... ....... 5.32M=0.05s [2021-06-21T14:46:37.340Z] [2021-06-21T14:46:37.340Z] 2021-06-21 14:46:37 (3.22 MB/s) - written to stdout [181796] [2021-06-21T14:46:37.340Z] [2021-06-21T14:46:37.340Z] + mkdir -p src/c/iot [2021-06-21T14:46:37.340Z] + 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-06-21T14:46:37.340Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-06-21T14:46:37.340Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-06-21T14:46:37.340Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-06-21T14:46:37.340Z] + mkdir -p include/iot [2021-06-21T14:46:37.340Z] + 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-06-21T14:46:37.340Z] + mkdir -p include/iot/os [2021-06-21T14:46:37.340Z] + 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-06-21T14:46:37.340Z] + mkdir -p /tmp/sdk/build/release [2021-06-21T14:46:37.340Z] + cd /tmp/sdk/build/release [2021-06-21T14:46:37.340Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-06-21T14:46:37.340Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:46:37.340Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T14:46:37.582Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-06-21T14:46:37.604Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:46:37.604Z] -- Detecting C compiler ABI info [2021-06-21T14:46:37.604Z] -- Detecting C compiler ABI info - done [2021-06-21T14:46:37.604Z] -- Detecting C compile features [2021-06-21T14:46:37.855Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-06-21T14:46:37.866Z] -- Detecting C compile features - done [2021-06-21T14:46:37.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T14:46:37.866Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T14:46:37.866Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T14:46:37.866Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T14:46:37.866Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T14:46:37.866Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T14:46:37.866Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T14:46:37.866Z] -- C SDK 0.0.0 for Linux [2021-06-21T14:46:37.866Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T14:46:37.866Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T14:46:37.866Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T14:46:37.866Z] -- Configuring done [2021-06-21T14:46:37.866Z] -- Generating done [2021-06-21T14:46:37.866Z] -- Build files have been written to: /tmp/sdk/build/release [2021-06-21T14:46:37.866Z] + tee release.log [2021-06-21T14:46:37.866Z] + make all package [2021-06-21T14:46:37.866Z] Scanning dependencies of target csdk [2021-06-21T14:46:38.128Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T14:46:38.128Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T14:46:38.128Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T14:46:38.129Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-06-21T14:46:38.391Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T14:46:38.400Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-06-21T14:46:38.654Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T14:46:38.655Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T14:46:38.674Z] [ 40%] Linking C shared library libcbor.so [2021-06-21T14:46:38.674Z] [ 40%] Built target cbor_shared [2021-06-21T14:46:38.674Z] Scanning dependencies of target cbor [2021-06-21T14:46:38.921Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T14:46:38.921Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T14:46:38.921Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T14:46:38.947Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-06-21T14:46:39.184Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T14:46:39.447Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T14:46:39.448Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T14:46:39.539Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-06-21T14:46:39.714Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T14:46:39.714Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T14:46:39.714Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T14:46:39.714Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T14:46:39.714Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T14:46:40.138Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-06-21T14:46:40.291Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T14:46:40.291Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T14:46:40.418Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-06-21T14:46:40.553Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T14:46:40.553Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T14:46:40.553Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T14:46:40.817Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T14:46:41.080Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T14:46:41.080Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T14:46:41.343Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T14:46:41.343Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T14:46:41.343Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T14:46:41.343Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T14:46:41.395Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-06-21T14:46:41.613Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T14:46:41.613Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T14:46:41.667Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-06-21T14:46:41.883Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T14:46:41.883Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T14:46:41.941Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-06-21T14:46:42.144Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T14:46:42.144Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T14:46:42.218Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-06-21T14:46:42.218Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-06-21T14:46:42.405Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T14:46:42.405Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T14:46:42.823Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-06-21T14:46:43.361Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T14:46:43.361Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T14:46:43.361Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T14:46:43.419Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-06-21T14:46:43.623Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T14:46:43.623Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T14:46:43.692Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-06-21T14:46:43.892Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T14:46:43.967Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-06-21T14:46:44.468Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T14:46:44.567Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-06-21T14:46:44.568Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-06-21T14:46:44.868Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-06-21T14:46:45.050Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T14:46:45.050Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T14:46:45.050Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T14:46:45.143Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-06-21T14:46:45.313Z] [ 74%] Built target csdk [2021-06-21T14:46:45.313Z] Scanning dependencies of target template [2021-06-21T14:46:45.313Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T14:46:45.313Z] [ 77%] Linking C executable template [2021-06-21T14:46:45.313Z] [ 77%] Built target template [2021-06-21T14:46:45.313Z] Scanning dependencies of target device-counter [2021-06-21T14:46:45.313Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T14:46:45.417Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-06-21T14:46:45.575Z] [ 80%] Linking C executable device-counter [2021-06-21T14:46:45.575Z] [ 80%] Built target device-counter [2021-06-21T14:46:45.575Z] Scanning dependencies of target device-random [2021-06-21T14:46:45.575Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T14:46:45.575Z] [ 84%] Linking C executable device-random [2021-06-21T14:46:45.575Z] [ 84%] Built target device-random [2021-06-21T14:46:45.575Z] Scanning dependencies of target device-gyro [2021-06-21T14:46:45.689Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-06-21T14:46:45.845Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T14:46:45.845Z] [ 87%] Linking C executable device-gyro [2021-06-21T14:46:45.845Z] [ 87%] Built target device-gyro [2021-06-21T14:46:45.845Z] Scanning dependencies of target device-bitfields [2021-06-21T14:46:45.845Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T14:46:45.845Z] [ 90%] Linking C executable device-bitfields [2021-06-21T14:46:45.966Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-06-21T14:46:46.108Z] [ 90%] Built target device-bitfields [2021-06-21T14:46:46.108Z] Scanning dependencies of target template-discovery [2021-06-21T14:46:46.108Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T14:46:46.108Z] [ 93%] Linking C executable template-discovery [2021-06-21T14:46:46.108Z] [ 93%] Built target template-discovery [2021-06-21T14:46:46.108Z] Scanning dependencies of target device-file [2021-06-21T14:46:46.108Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T14:46:46.240Z] [ 80%] Linking C static library libcbor.a [2021-06-21T14:46:46.240Z] [ 80%] Built target cbor [2021-06-21T14:46:46.240Z] Scanning dependencies of target create_items [2021-06-21T14:46:46.240Z] [ 82%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-06-21T14:46:46.370Z] [ 96%] Linking C executable device-file [2021-06-21T14:46:46.370Z] [ 96%] Built target device-file [2021-06-21T14:46:46.370Z] Scanning dependencies of target device-terminal [2021-06-21T14:46:46.370Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T14:46:46.370Z] [100%] Linking C executable device-terminal [2021-06-21T14:46:46.512Z] [ 84%] Linking C executable create_items [2021-06-21T14:46:46.512Z] [ 84%] Built target create_items [2021-06-21T14:46:46.512Z] Scanning dependencies of target readfile [2021-06-21T14:46:46.512Z] [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-06-21T14:46:46.631Z] [100%] Built target device-terminal [2021-06-21T14:46:46.631Z] Run CPack packaging tool... [2021-06-21T14:46:46.631Z] CPack: Create package using TGZ [2021-06-21T14:46:46.631Z] CPack: Install projects [2021-06-21T14:46:46.631Z] CPack: - Run preinstall target for: Csdk [2021-06-21T14:46:46.631Z] CPack: - Install project: Csdk [2021-06-21T14:46:46.631Z] CPack: Create package [2021-06-21T14:46:46.631Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-06-21T14:46:46.631Z] + '[' false '=' true ] [2021-06-21T14:46:46.631Z] + '[' false '=' true ] [2021-06-21T14:46:46.631Z] + mkdir -p /tmp/sdk/build/debug [2021-06-21T14:46:46.631Z] + cd /tmp/sdk/build/debug [2021-06-21T14:46:46.631Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-06-21T14:46:46.786Z] [ 88%] Linking C executable readfile [2021-06-21T14:46:46.894Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:46:46.894Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T14:46:46.894Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:46:46.894Z] -- Detecting C compiler ABI info [2021-06-21T14:46:46.894Z] -- Detecting C compiler ABI info - done [2021-06-21T14:46:46.894Z] -- Detecting C compile features [2021-06-21T14:46:47.062Z] [ 88%] Built target readfile [2021-06-21T14:46:47.062Z] Scanning dependencies of target streaming_parser [2021-06-21T14:46:47.062Z] [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-06-21T14:46:47.154Z] -- Detecting C compile features - done [2021-06-21T14:46:47.154Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T14:46:47.154Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T14:46:47.154Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T14:46:47.154Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T14:46:47.154Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T14:46:47.154Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T14:46:47.154Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T14:46:47.154Z] -- C SDK 0.0.0 for Linux [2021-06-21T14:46:47.154Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T14:46:47.154Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T14:46:47.154Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T14:46:47.154Z] -- Configuring done [2021-06-21T14:46:47.154Z] -- Generating done [2021-06-21T14:46:47.154Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-06-21T14:46:47.154Z] + make [2021-06-21T14:46:47.154Z] + tee debug.log [2021-06-21T14:46:47.337Z] [ 92%] Linking C executable streaming_parser [2021-06-21T14:46:47.337Z] [ 92%] Built target streaming_parser [2021-06-21T14:46:47.337Z] Scanning dependencies of target sort [2021-06-21T14:46:47.337Z] [ 94%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-06-21T14:46:47.416Z] Scanning dependencies of target csdk [2021-06-21T14:46:47.417Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T14:46:47.417Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T14:46:47.417Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T14:46:47.610Z] [ 96%] Linking C executable sort [2021-06-21T14:46:47.610Z] [ 96%] Built target sort [2021-06-21T14:46:47.610Z] Scanning dependencies of target hello [2021-06-21T14:46:47.610Z] [ 98%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-06-21T14:46:47.679Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T14:46:47.679Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T14:46:47.679Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T14:46:47.679Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T14:46:47.679Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T14:46:47.883Z] [100%] Linking C executable hello [2021-06-21T14:46:47.883Z] [100%] Built target hello [2021-06-21T14:46:47.883Z] Install the project... [2021-06-21T14:46:47.883Z] -- Install configuration: "Release" [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/lib64/libcbor.a [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/lib64/libcbor.so.0.0.0 [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/lib64/libcbor.so.0 [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/lib64/libcbor.so [2021-06-21T14:46:47.883Z] -- Up-to-date: /usr/local/include/cbor [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/ints.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/data.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/common.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/strings.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/tags.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor/maps.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/include/cbor.h [2021-06-21T14:46:47.883Z] -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [2021-06-21T14:46:47.942Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T14:46:47.942Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T14:46:47.942Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T14:46:48.210Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T14:46:48.210Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T14:46:48.210Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T14:46:48.210Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T14:46:48.210Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T14:46:48.210Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T14:46:48.472Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T14:46:48.472Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T14:46:48.472Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T14:46:48.734Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T14:46:48.734Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T14:46:48.734Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T14:46:49.006Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T14:46:49.006Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T14:46:49.006Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T14:46:49.006Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T14:46:49.006Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T14:46:49.006Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T14:46:49.277Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T14:46:49.277Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T14:46:49.277Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T14:46:49.277Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T14:46:49.277Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T14:46:49.554Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T14:46:49.554Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T14:46:49.554Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T14:46:49.818Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T14:46:49.818Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T14:46:49.818Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T14:46:49.858Z] Removing intermediate container 0b5b13aa4bf4 [2021-06-21T14:46:49.858Z] ---> ebcee145eba4 [2021-06-21T14:46:49.858Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-06-21T14:46:50.085Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T14:46:50.086Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T14:46:50.086Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T14:46:50.136Z] ---> Running in 73490482befb [2021-06-21T14:46:50.349Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T14:46:50.349Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T14:46:50.616Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T14:46:50.616Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T14:46:50.616Z] [ 74%] Built target csdk [2021-06-21T14:46:50.616Z] Scanning dependencies of target template [2021-06-21T14:46:50.616Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T14:46:50.616Z] [ 77%] Linking C executable template [2021-06-21T14:46:50.877Z] [ 77%] Built target template [2021-06-21T14:46:50.877Z] Scanning dependencies of target device-counter [2021-06-21T14:46:50.877Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T14:46:50.877Z] [ 80%] Linking C executable device-counter [2021-06-21T14:46:50.877Z] [ 80%] Built target device-counter [2021-06-21T14:46:50.877Z] Scanning dependencies of target device-random [2021-06-21T14:46:50.877Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T14:46:50.877Z] [ 84%] Linking C executable device-random [2021-06-21T14:46:51.138Z] [ 84%] Built target device-random [2021-06-21T14:46:51.138Z] Scanning dependencies of target device-gyro [2021-06-21T14:46:51.138Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T14:46:51.138Z] [ 87%] Linking C executable device-gyro [2021-06-21T14:46:51.138Z] [ 87%] Built target device-gyro [2021-06-21T14:46:51.138Z] Scanning dependencies of target device-bitfields [2021-06-21T14:46:51.138Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T14:46:51.138Z] [ 90%] Linking C executable device-bitfields [2021-06-21T14:46:51.402Z] [ 90%] Built target device-bitfields [2021-06-21T14:46:51.402Z] Scanning dependencies of target template-discovery [2021-06-21T14:46:51.402Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T14:46:51.402Z] [ 93%] Linking C executable template-discovery [2021-06-21T14:46:51.402Z] [ 93%] Built target template-discovery [2021-06-21T14:46:51.402Z] Scanning dependencies of target device-file [2021-06-21T14:46:51.402Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T14:46:51.402Z] [ 96%] Linking C executable device-file [2021-06-21T14:46:51.677Z] [ 96%] Built target device-file [2021-06-21T14:46:51.677Z] Scanning dependencies of target device-terminal [2021-06-21T14:46:51.677Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T14:46:51.677Z] [100%] Linking C executable device-terminal [2021-06-21T14:46:51.677Z] [100%] Built target device-terminal [2021-06-21T14:46:51.677Z] make: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] [ 74%] Built target csdk [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] [ 77%] Built target template [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] [ 80%] Built target device-counter [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] [ 84%] Built target device-random [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] [ 87%] Built target device-gyro [2021-06-21T14:46:51.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] [ 90%] Built target device-bitfields [2021-06-21T14:46:51.941Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] [ 93%] Built target template-discovery [2021-06-21T14:46:51.941Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] [ 96%] Built target device-file [2021-06-21T14:46:51.941Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] [100%] Built target device-terminal [2021-06-21T14:46:51.941Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:51.941Z] Install the project... [2021-06-21T14:46:51.941Z] -- Install configuration: "Release" [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/lib/libcsdk.so [2021-06-21T14:46:51.941Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-06-21T14:46:51.941Z] -- Up-to-date: /usr/local/include [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/devsdk [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/devices.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/base64.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/component.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/config.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/container.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/data.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/hash.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/iot.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/json.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/logger.h [2021-06-21T14:46:51.941Z] -- Installing: /usr/local/include/iot/os.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/thread.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/time.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/typecode.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/os [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/include/iot/defs.h [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-06-21T14:46:51.942Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-06-21T14:46:51.942Z] make: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:46:52.170Z] Removing intermediate container 73490482befb [2021-06-21T14:46:52.171Z] ---> 297d556b7d6c [2021-06-21T14:46:52.171Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-06-21T14:46:52.518Z] Removing intermediate container 339f08e26797 [2021-06-21T14:46:52.518Z] ---> c045c4e04121 [2021-06-21T14:46:52.518Z] Step 16/25 : FROM ${BASE} [2021-06-21T14:46:52.518Z] ---> 5eabd8fd8ba2 [2021-06-21T14:46:52.518Z] Step 17/25 : LABEL maintainer="IOTech " [2021-06-21T14:46:52.518Z] ---> Running in e9b6e06bfb91 [2021-06-21T14:46:52.779Z] Removing intermediate container e9b6e06bfb91 [2021-06-21T14:46:52.779Z] ---> 8ab30f79db02 [2021-06-21T14:46:52.779Z] 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-06-21T14:46:52.779Z] ---> Running in 6328cb84eac7 [2021-06-21T14:46:53.042Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-06-21T14:46:53.155Z] ---> 5f4e818dbedb [2021-06-21T14:46:53.155Z] Step 10/25 : COPY src /tmp/sdk/src [2021-06-21T14:46:53.304Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T14:46:53.304Z] [2021-06-21T14:46:53.569Z] Removing intermediate container 6328cb84eac7 [2021-06-21T14:46:53.569Z] ---> 7d3906063428 [2021-06-21T14:46:53.569Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:46:53.569Z] ---> Running in edb8b8eb9590 [2021-06-21T14:46:54.134Z] ---> f50736fdac75 [2021-06-21T14:46:54.134Z] Step 11/25 : COPY include /tmp/sdk/include [2021-06-21T14:46:54.518Z] Removing intermediate container edb8b8eb9590 [2021-06-21T14:46:54.519Z] ---> 840f1487ef1d [2021-06-21T14:46:54.519Z] 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-06-21T14:46:54.519Z] ---> Running in 154c3975cbea [2021-06-21T14:46:54.731Z] ---> a4d8c5feb3b7 [2021-06-21T14:46:54.731Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-06-21T14:46:54.780Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:55.341Z] ---> 38a779ccf793 [2021-06-21T14:46:55.342Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-06-21T14:46:55.357Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:55.930Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T14:46:56.191Z] (1/6) Installing curl (7.64.0-r5) [2021-06-21T14:46:56.191Z] (2/6) Installing hiredis (0.14.0-r0) [2021-06-21T14:46:56.324Z] ---> 458479a070b6 [2021-06-21T14:46:56.324Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-06-21T14:46:56.455Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-06-21T14:46:56.455Z] (4/6) Installing libuuid (2.33-r0) [2021-06-21T14:46:56.455Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T14:46:56.923Z] ---> 2e885e8d424c [2021-06-21T14:46:56.924Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-06-21T14:46:57.196Z] ---> Running in 473f92f467a1 [2021-06-21T14:46:57.850Z] (6/6) Installing wget (1.20.3-r0) [2021-06-21T14:46:58.111Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:46:58.111Z] OK: 269 MiB in 81 packages [2021-06-21T14:46:58.376Z] Removing intermediate container 154c3975cbea [2021-06-21T14:46:58.376Z] ---> ed3baa8cb8fe [2021-06-21T14:46:58.376Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-06-21T14:46:58.376Z] ---> fd5cd37a6727 [2021-06-21T14:46:58.376Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-06-21T14:46:58.629Z] + CPPCHECK=false [2021-06-21T14:46:58.630Z] + DOCGEN=false [2021-06-21T14:46:58.630Z] + TOMLVER=SDK-0.2 [2021-06-21T14:46:58.630Z] + CUTILVER=1.1.4 [2021-06-21T14:46:58.630Z] + '[' 0 -gt 0 ] [2021-06-21T14:46:58.630Z] + readlink -f ./scripts/build.sh [2021-06-21T14:46:58.630Z] + dirname /tmp/sdk/scripts/build.sh [2021-06-21T14:46:58.630Z] + dirname /tmp/sdk/scripts [2021-06-21T14:46:58.630Z] + ROOT=/tmp/sdk [2021-06-21T14:46:58.630Z] + cd /tmp/sdk [2021-06-21T14:46:58.630Z] + '[' '!' -d deps ] [2021-06-21T14:46:58.630Z] + mkdir deps [2021-06-21T14:46:58.630Z] + wget -O+ tar -C deps -z -x -f - [2021-06-21T14:46:58.630Z] - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T14:46:58.630Z] --2021-06-21 14:46:58-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-06-21T14:46:58.630Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:58.630Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:58.630Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:58.630Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-06-21T14:46:58.630Z] --2021-06-21 14:46:58-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-06-21T14:46:58.630Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:58.630Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:58.630Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:58.630Z] Length: 16451 (16K) [application/x-gzip] [2021-06-21T14:46:58.630Z] Saving to: 'STDOUT' [2021-06-21T14:46:58.630Z] [2021-06-21T14:46:58.630Z] 0K .......... ......  100% 1.06M=0.01s [2021-06-21T14:46:58.630Z] [2021-06-21T14:46:58.630Z] 2021-06-21 14:46:58 (1.06 MB/s) - written to stdout [16451/16451] [2021-06-21T14:46:58.630Z] [2021-06-21T14:46:58.630Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-06-21T14:46:58.630Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T14:46:58.630Z] + tar -C deps -z -x -f - [2021-06-21T14:46:58.630Z] --2021-06-21 14:46:58-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz [2021-06-21T14:46:58.630Z] Resolving github.com... 140.82.112.4 [2021-06-21T14:46:58.630Z] Connecting to github.com|140.82.112.4|:443... connected. [2021-06-21T14:46:58.630Z] HTTP request sent, awaiting response... 302 Found [2021-06-21T14:46:58.630Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] [2021-06-21T14:46:58.630Z] --2021-06-21 14:46:58-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [2021-06-21T14:46:58.630Z] Resolving codeload.github.com... 140.82.114.10 [2021-06-21T14:46:58.630Z] Connecting to codeload.github.com|140.82.114.10|:443... connected. [2021-06-21T14:46:58.637Z] ---> 99ecc359610d [2021-06-21T14:46:58.637Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-06-21T14:46:58.637Z] ---> ccf9759ca284 [2021-06-21T14:46:58.637Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-06-21T14:46:58.901Z] ---> 665e664cabf8 [2021-06-21T14:46:58.901Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-06-21T14:46:58.902Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:46:58.902Z] Length: unspecified [application/x-gzip] [2021-06-21T14:46:58.902Z] Saving to: 'STDOUT' [2021-06-21T14:46:58.902Z]  [2021-06-21T14:46:58.902Z] 0K .......... .......... .......... .......... .......... 1.55M [2021-06-21T14:46:58.902Z] 50K .......... .......... .......... .......... .......... 3.23M [2021-06-21T14:46:58.902Z] 100K .......... .......... .......... .......... .......... 4.19M [2021-06-21T14:46:58.902Z] 150K .......... .......... ....... 1.40M=0.08s [2021-06-21T14:46:58.902Z] [2021-06-21T14:46:58.902Z] 2021-06-21 14:46:58 (2.24 MB/s) - written to stdout [181796] [2021-06-21T14:46:58.902Z] [2021-06-21T14:46:58.902Z] + mkdir -p src/c/iot [2021-06-21T14:46:58.902Z] + 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-06-21T14:46:58.902Z] + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot [2021-06-21T14:46:58.902Z] + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot [2021-06-21T14:46:58.902Z] + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot [2021-06-21T14:46:58.902Z] + mkdir -p include/iot [2021-06-21T14:46:58.902Z] + 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-06-21T14:46:58.902Z] + mkdir -p include/iot/os [2021-06-21T14:46:58.902Z] + 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-06-21T14:46:58.902Z] + mkdir -p /tmp/sdk/build/release [2021-06-21T14:46:58.902Z] + cd /tmp/sdk/build/release [2021-06-21T14:46:58.902Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-06-21T14:46:59.163Z] ---> 41d7fae75a64 [2021-06-21T14:46:59.163Z] Successfully built 41d7fae75a64 [2021-06-21T14:46:59.163Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-21T14:46:59.178Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:46:59.178Z] -- Check for working C compiler: /usr/bin/cc [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-06-21T14:46:59.450Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:46:59.451Z] -- Detecting C compiler ABI info [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:46:59.722Z] -- Detecting C compiler ABI info - done [2021-06-21T14:46:59.722Z] -- Detecting C compile features [2021-06-21T14:46:59.906Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-21T14:46:59.906Z] . [Pipeline] withDockerContainer [2021-06-21T14:47:00.009Z] prd-centos7-docker-4c-2g-526 does not seem to be running inside a container [2021-06-21T14:47:00.049Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-21T14:47:00.417Z] $ docker top 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T14:47:00.699Z] -- Detecting C compile features - done [2021-06-21T14:47:00.700Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T14:47:00.700Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T14:47:00.700Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T14:47:00.700Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T14:47:00.700Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T14:47:00.700Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T14:47:00.700Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T14:47:00.700Z] -- C SDK 0.0.0 for Linux [2021-06-21T14:47:00.700Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T14:47:00.700Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T14:47:00.868Z] + make test [2021-06-21T14:47:00.868Z] echo "make test" [2021-06-21T14:47:00.868Z] make test [Pipeline] } [2021-06-21T14:47:00.894Z] $ docker stop --time=1 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 [2021-06-21T14:47:00.972Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T14:47:00.972Z] -- Configuring done [2021-06-21T14:47:01.245Z] -- Generating done [2021-06-21T14:47:01.245Z] -- Build files have been written to: /tmp/sdk/build/release [2021-06-21T14:47:01.245Z] + make all package [2021-06-21T14:47:01.245Z] + tee release.log [2021-06-21T14:47:01.245Z] Scanning dependencies of target csdk [2021-06-21T14:47:01.521Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T14:47:02.076Z] $ docker rm -f 88f820d764600c0d435613f85b5868294be12c6e4d792be4016284ea41093459 [2021-06-21T14:47:02.115Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-06-21T14:47:02.713Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T14:47:04.178Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T14:47:04.773Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T14:47:05.046Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [Pipeline] sh [2021-06-21T14:47:05.648Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T14:47:05.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T14:47:06.025Z] + ls -al . [2021-06-21T14:47:06.025Z] total 160 [2021-06-21T14:47:06.025Z] drwxrwxr-x. 8 jenkins jenkins 260 Jun 21 14:45 . [2021-06-21T14:47:06.025Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 21 14:45 .. [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 3104 Jun 21 14:45 Attribution.txt [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 7509 Jun 21 14:45 CHANGES [2021-06-21T14:47:06.026Z] drwxrwxr-x. 2 jenkins jenkins 121 Jun 21 14:45 docs [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 108574 Jun 21 14:45 Doxyfile [2021-06-21T14:47:06.026Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 21 14:45 .git [2021-06-21T14:47:06.026Z] drwxrwxr-x. 2 jenkins jenkins 81 Jun 21 14:45 .github [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 176 Jun 21 14:45 .gitignore [2021-06-21T14:47:06.026Z] drwxrwxr-x. 4 jenkins jenkins 33 Jun 21 14:45 include [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 784 Jun 21 14:45 Jenkinsfile [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 10174 Jun 21 14:45 LICENSE [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 444 Jun 21 14:45 Makefile [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 4090 Jun 21 14:45 README.md [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 7090 Jun 21 14:45 README.v2.md [2021-06-21T14:47:06.026Z] drwxrwxr-x. 2 jenkins jenkins 98 Jun 21 14:45 scripts [2021-06-21T14:47:06.026Z] drwxrwxr-x. 4 jenkins jenkins 50 Jun 21 14:45 src [2021-06-21T14:47:06.026Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 21 14:42 VERSION [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:47:06.247Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T14:47:06.247Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T14:47:06.373Z] + 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=2b0697b9b90fee7c5a100d7b7954bc3489632622 --label arch=amd64 --label version=0.0.0 . [2021-06-21T14:47:06.373Z] Sending build context to Docker daemon 2.629MB [2021-06-21T14:47:06.373Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-06-21T14:47:06.373Z] Step 2/17 : FROM ${BASE} [2021-06-21T14:47:06.373Z] ---> 41d7fae75a64 [2021-06-21T14:47:06.373Z] Step 3/17 : LABEL maintainer="IOTech " [2021-06-21T14:47:06.373Z] ---> Running in 743a1562a2c1 [2021-06-21T14:47:06.638Z] Removing intermediate container 743a1562a2c1 [2021-06-21T14:47:06.638Z] ---> cfd26852c651 [2021-06-21T14:47:06.639Z] 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-06-21T14:47:06.639Z] ---> Running in 0758c1078fd8 [2021-06-21T14:47:06.900Z] --2021-06-21 14:47:06-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-06-21T14:47:06.900Z] Resolving iotech.jfrog.io... 34.243.182.113, 54.74.239.58, 54.72.115.12 [2021-06-21T14:47:06.900Z] Connecting to iotech.jfrog.io|34.243.182.113|:443... connected. [2021-06-21T14:47:07.161Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:47:07.161Z] Length: 451 [application/octet-stream] [2021-06-21T14:47:07.161Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-06-21T14:47:07.161Z]  [2021-06-21T14:47:07.161Z] 0K 100% 50.4M=0s [2021-06-21T14:47:07.161Z] [2021-06-21T14:47:07.161Z] 2021-06-21 14:47:07 (50.4 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-06-21T14:47:07.161Z] [2021-06-21T14:47:07.426Z] Removing intermediate container 0758c1078fd8 [2021-06-21T14:47:07.426Z] ---> 1c4bf15f2401 [2021-06-21T14:47:07.426Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:47:07.677Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T14:47:07.695Z] ---> Running in 08025904c48a [2021-06-21T14:47:08.644Z] Removing intermediate container 08025904c48a [2021-06-21T14:47:08.644Z] ---> aefac296608d [2021-06-21T14:47:08.644Z] 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-06-21T14:47:08.644Z] ---> Running in d4f523d04d71 [2021-06-21T14:47:08.644Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz [2021-06-21T14:47:09.112Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T14:47:09.385Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T14:47:09.586Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz [2021-06-21T14:47:09.850Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz [2021-06-21T14:47:09.978Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T14:47:10.425Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T14:47:10.426Z] (2/6) Installing libblkid (2.33-r0) [2021-06-21T14:47:10.426Z] (3/6) Installing libfdisk (2.33-r0) [2021-06-21T14:47:10.576Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T14:47:10.687Z] (4/6) Installing libmount (2.33-r0) [2021-06-21T14:47:10.687Z] (5/6) Installing libsmartcols (2.33-r0) [2021-06-21T14:47:10.687Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-06-21T14:47:10.851Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T14:47:10.949Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:47:10.949Z] OK: 273 MiB in 87 packages [2021-06-21T14:47:11.124Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T14:47:11.399Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T14:47:11.523Z] Removing intermediate container d4f523d04d71 [2021-06-21T14:47:11.523Z] ---> 6e5a001b5328 [2021-06-21T14:47:11.523Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-06-21T14:47:11.523Z] ---> cd5b7172f055 [2021-06-21T14:47:11.523Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-06-21T14:47:11.790Z] ---> d5390aeff7aa [2021-06-21T14:47:11.790Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-06-21T14:47:11.790Z] ---> 5f877d6197a1 [2021-06-21T14:47:11.790Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-06-21T14:47:12.060Z] ---> 9350d0b03b0f [2021-06-21T14:47:12.060Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-06-21T14:47:12.060Z] ---> 59b46a116fd9 [2021-06-21T14:47:12.060Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-06-21T14:47:12.328Z] ---> 848394e27a13 [2021-06-21T14:47:12.328Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-06-21T14:47:12.328Z] ---> Running in 5aee0078338c [2021-06-21T14:47:12.328Z] Removing intermediate container 5aee0078338c [2021-06-21T14:47:12.328Z] ---> 99893b820d3e [2021-06-21T14:47:12.328Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-06-21T14:47:12.328Z] ---> Running in 65babab41674 [2021-06-21T14:47:12.594Z] Removing intermediate container 65babab41674 [2021-06-21T14:47:12.594Z] ---> 7dfb352ac412 [2021-06-21T14:47:12.594Z] Step 15/17 : LABEL arch=amd64 [2021-06-21T14:47:12.594Z] ---> Running in 7190bc766c05 [2021-06-21T14:47:12.594Z] Removing intermediate container 7190bc766c05 [2021-06-21T14:47:12.594Z] ---> 3e13c15b0064 [2021-06-21T14:47:12.594Z] Step 16/17 : LABEL git_sha=2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:47:12.594Z] ---> Running in 10c492e06e55 [2021-06-21T14:47:12.856Z] Removing intermediate container 10c492e06e55 [2021-06-21T14:47:12.856Z] ---> 0538db2de9cc [2021-06-21T14:47:12.856Z] Step 17/17 : LABEL version=0.0.0 [2021-06-21T14:47:12.856Z] ---> Running in fbfdef37f663 [2021-06-21T14:47:12.856Z] Removing intermediate container fbfdef37f663 [2021-06-21T14:47:12.856Z] ---> c9565d028c73 [2021-06-21T14:47:12.856Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-21T14:47:12.856Z] Successfully built c9565d028c73 [2021-06-21T14:47:12.856Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-06-21T14:47:14.023Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-21T14:47:14.306Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T14:47:14.578Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T14:47:15.176Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T14:47:15.448Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T14:47:16.043Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T14:47:18.657Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T14:47:18.657Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T14:47:18.931Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T14:47:19.525Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T14:47:19.801Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T14:47:20.075Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T14:47:21.053Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T14:47:21.328Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T14:47:21.924Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T14:47:22.198Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T14:47:24.213Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T14:47:24.213Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T14:47:25.248Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T14:47:25.547Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T14:47:29.978Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T14:47:30.249Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T14:47:30.843Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T14:47:31.114Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T14:47:32.088Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T14:47:33.518Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T14:47:35.488Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T14:47:38.861Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T14:47:38.861Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T14:47:39.454Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T14:47:39.454Z] [ 74%] Built target csdk [2021-06-21T14:47:39.454Z] Scanning dependencies of target template [2021-06-21T14:47:39.454Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T14:47:40.050Z] [ 77%] Linking C executable template [2021-06-21T14:47:40.326Z] [ 77%] Built target template [2021-06-21T14:47:40.326Z] Scanning dependencies of target device-counter [2021-06-21T14:47:40.326Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T14:47:40.921Z] [ 80%] Linking C executable device-counter [2021-06-21T14:47:40.921Z] [ 80%] Built target device-counter [2021-06-21T14:47:41.193Z] Scanning dependencies of target device-random [2021-06-21T14:47:41.193Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T14:47:41.467Z] [ 84%] Linking C executable device-random [2021-06-21T14:47:41.742Z] [ 84%] Built target device-random [2021-06-21T14:47:41.742Z] Scanning dependencies of target device-gyro [2021-06-21T14:47:41.742Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T14:47:42.336Z] [ 87%] Linking C executable device-gyro [2021-06-21T14:47:42.336Z] [ 87%] Built target device-gyro [2021-06-21T14:47:42.336Z] Scanning dependencies of target device-bitfields [2021-06-21T14:47:42.336Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T14:47:42.932Z] [ 90%] Linking C executable device-bitfields [2021-06-21T14:47:42.932Z] [ 90%] Built target device-bitfields [2021-06-21T14:47:43.204Z] Scanning dependencies of target template-discovery [2021-06-21T14:47:43.204Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T14:47:43.798Z] [ 93%] Linking C executable template-discovery [2021-06-21T14:47:44.071Z] [ 93%] Built target template-discovery [2021-06-21T14:47:44.071Z] Scanning dependencies of target device-file [2021-06-21T14:47:44.071Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T14:47:44.670Z] [ 96%] Linking C executable device-file [2021-06-21T14:47:44.944Z] [ 96%] Built target device-file [2021-06-21T14:47:44.944Z] Scanning dependencies of target device-terminal [2021-06-21T14:47:44.944Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T14:47:45.216Z] [100%] Linking C executable device-terminal [2021-06-21T14:47:45.489Z] [100%] Built target device-terminal [2021-06-21T14:47:45.489Z] Run CPack packaging tool... [2021-06-21T14:47:45.766Z] CPack: Create package using TGZ [2021-06-21T14:47:45.766Z] CPack: Install projects [2021-06-21T14:47:45.766Z] CPack: - Run preinstall target for: Csdk [2021-06-21T14:47:46.041Z] CPack: - Install project: Csdk [2021-06-21T14:47:46.364Z] CPack: Create package [2021-06-21T14:47:46.364Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-06-21T14:47:46.364Z] + '[' false '=' true ] [2021-06-21T14:47:46.364Z] + '[' false '=' true ] [2021-06-21T14:47:46.364Z] + mkdir -p /tmp/sdk/build/debug [2021-06-21T14:47:46.364Z] + cd /tmp/sdk/build/debug [2021-06-21T14:47:46.364Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-06-21T14:47:46.634Z] -- The C compiler identification is GNU 8.3.0 [2021-06-21T14:47:46.634Z] -- Check for working C compiler: /usr/bin/cc [2021-06-21T14:47:46.909Z] -- Check for working C compiler: /usr/bin/cc -- works [2021-06-21T14:47:46.909Z] -- Detecting C compiler ABI info [2021-06-21T14:47:47.184Z] -- Detecting C compiler ABI info - done [2021-06-21T14:47:47.184Z] -- Detecting C compile features [2021-06-21T14:47:47.782Z] -- Detecting C compile features - done [2021-06-21T14:47:47.782Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-06-21T14:47:47.782Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.64.0") [2021-06-21T14:47:47.782Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-06-21T14:47:47.782Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-06-21T14:47:47.782Z] -- Found LIBCBOR: /usr/local/lib64/libcbor.so [2021-06-21T14:47:47.782Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-06-21T14:47:48.064Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-06-21T14:47:48.064Z] -- C SDK 0.0.0 for Linux [2021-06-21T14:47:48.064Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-06-21T14:47:48.064Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-06-21T14:47:48.064Z] -- Found Curses: /usr/lib/libcurses.so [2021-06-21T14:47:48.337Z] -- Configuring done [2021-06-21T14:47:48.610Z] -- Generating done [2021-06-21T14:47:48.610Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-06-21T14:47:48.610Z] + make [2021-06-21T14:47:48.610Z] + tee debug.log [2021-06-21T14:47:48.610Z] Scanning dependencies of target csdk [2021-06-21T14:47:48.884Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-06-21T14:47:49.157Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-06-21T14:47:49.432Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-06-21T14:47:50.028Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-06-21T14:47:50.302Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-06-21T14:47:50.302Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-06-21T14:47:50.576Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-06-21T14:47:50.850Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-06-21T14:47:51.125Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-06-21T14:47:51.721Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-06-21T14:47:51.993Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-06-21T14:47:52.269Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-06-21T14:47:52.866Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-06-21T14:47:52.866Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-06-21T14:47:53.138Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-06-21T14:47:53.411Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-06-21T14:47:53.685Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-06-21T14:47:54.282Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-06-21T14:47:54.555Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-06-21T14:47:54.555Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-06-21T14:47:54.830Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-06-21T14:47:55.100Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-06-21T14:47:55.372Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-06-21T14:47:56.346Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-06-21T14:47:56.346Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-06-21T14:47:56.346Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-06-21T14:47:56.622Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-06-21T14:47:56.915Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-06-21T14:47:56.915Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-06-21T14:47:57.191Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-06-21T14:47:57.468Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-06-21T14:47:57.743Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-06-21T14:47:58.015Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-06-21T14:47:58.289Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-06-21T14:47:58.565Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-06-21T14:47:58.843Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-06-21T14:47:59.122Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-06-21T14:48:00.102Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-06-21T14:48:00.374Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-06-21T14:48:00.646Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-06-21T14:48:00.918Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-06-21T14:48:01.191Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-06-21T14:48:02.169Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-06-21T14:48:02.761Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-06-21T14:48:03.350Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-06-21T14:48:03.623Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-06-21T14:48:03.898Z] [ 74%] Linking C shared library libcsdk.so [2021-06-21T14:48:03.898Z] [ 74%] Built target csdk [2021-06-21T14:48:04.168Z] Scanning dependencies of target template [2021-06-21T14:48:04.168Z] [ 76%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-06-21T14:48:04.440Z] [ 77%] Linking C executable template [2021-06-21T14:48:04.712Z] [ 77%] Built target template [2021-06-21T14:48:04.712Z] Scanning dependencies of target device-counter [2021-06-21T14:48:04.712Z] [ 79%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-06-21T14:48:04.984Z] [ 80%] Linking C executable device-counter [2021-06-21T14:48:04.984Z] [ 80%] Built target device-counter [2021-06-21T14:48:04.984Z] Scanning dependencies of target device-random [2021-06-21T14:48:05.258Z] [ 82%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-06-21T14:48:05.258Z] [ 84%] Linking C executable device-random [2021-06-21T14:48:05.533Z] [ 84%] Built target device-random [2021-06-21T14:48:05.533Z] Scanning dependencies of target device-gyro [2021-06-21T14:48:05.533Z] [ 85%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-06-21T14:48:05.804Z] [ 87%] Linking C executable device-gyro [2021-06-21T14:48:06.076Z] [ 87%] Built target device-gyro [2021-06-21T14:48:06.077Z] Scanning dependencies of target device-bitfields [2021-06-21T14:48:06.077Z] [ 88%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-06-21T14:48:06.348Z] [ 90%] Linking C executable device-bitfields [2021-06-21T14:48:06.619Z] [ 90%] Built target device-bitfields [2021-06-21T14:48:06.619Z] Scanning dependencies of target template-discovery [2021-06-21T14:48:06.619Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-06-21T14:48:06.891Z] [ 93%] Linking C executable template-discovery [2021-06-21T14:48:07.163Z] [ 93%] Built target template-discovery [2021-06-21T14:48:07.163Z] Scanning dependencies of target device-file [2021-06-21T14:48:07.163Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-06-21T14:48:07.433Z] [ 96%] Linking C executable device-file [2021-06-21T14:48:07.706Z] [ 96%] Built target device-file [2021-06-21T14:48:07.706Z] Scanning dependencies of target device-terminal [2021-06-21T14:48:07.706Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-06-21T14:48:07.979Z] [100%] Linking C executable device-terminal [2021-06-21T14:48:08.250Z] [100%] Built target device-terminal [2021-06-21T14:48:08.250Z] make: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.250Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 74%] Built target csdk [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 77%] Built target template [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 80%] Built target device-counter [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 84%] Built target device-random [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 87%] Built target device-gyro [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.523Z] [ 90%] Built target device-bitfields [2021-06-21T14:48:08.523Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] [ 93%] Built target template-discovery [2021-06-21T14:48:08.798Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] [ 96%] Built target device-file [2021-06-21T14:48:08.798Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] [100%] Built target device-terminal [2021-06-21T14:48:08.798Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:08.798Z] Install the project... [2021-06-21T14:48:08.798Z] -- Install configuration: "Release" [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/lib/libcsdk.so [2021-06-21T14:48:08.798Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-06-21T14:48:08.798Z] -- Up-to-date: /usr/local/include [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/devices.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/devsdk [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/json.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/container.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/component.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/typecode.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/iot.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/time.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/hash.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/logger.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/os [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/data.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/thread.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/os.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/base64.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/defs.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/include/iot/config.h [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-06-21T14:48:08.798Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-06-21T14:48:08.798Z] make: Leaving directory '/tmp/sdk/build/release' [2021-06-21T14:48:10.768Z] Removing intermediate container 473f92f467a1 [2021-06-21T14:48:10.768Z] ---> bc6391464235 [2021-06-21T14:48:10.768Z] Step 16/25 : FROM ${BASE} [2021-06-21T14:48:10.768Z] ---> b23d30803547 [2021-06-21T14:48:10.768Z] Step 17/25 : LABEL maintainer="IOTech " [2021-06-21T14:48:11.040Z] ---> Running in 61116849b915 [2021-06-21T14:48:11.635Z] Removing intermediate container 61116849b915 [2021-06-21T14:48:11.636Z] ---> bb196f9f2cbe [2021-06-21T14:48:11.636Z] 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-06-21T14:48:11.636Z] ---> Running in 51476339430b [2021-06-21T14:48:13.062Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-06-21T14:48:13.062Z] support@iotechsys.co 100% |********************************| 451 0:00:00 ETA [2021-06-21T14:48:13.062Z] [2021-06-21T14:48:14.037Z] Removing intermediate container 51476339430b [2021-06-21T14:48:14.037Z] ---> 5f3d9cdfe287 [2021-06-21T14:48:14.037Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:48:14.312Z] ---> Running in ee7dd8db3163 [2021-06-21T14:48:16.303Z] Removing intermediate container ee7dd8db3163 [2021-06-21T14:48:16.303Z] ---> d583bd196cbd [2021-06-21T14:48:16.303Z] 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-06-21T14:48:16.576Z] ---> Running in da59dcb7e93f [2021-06-21T14:48:17.569Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:18.576Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:19.203Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:19.806Z] (1/6) Installing curl (7.64.0-r5) [2021-06-21T14:48:19.806Z] (2/6) Installing hiredis (0.14.0-r0) [2021-06-21T14:48:20.078Z] (3/6) Installing hiredis-dev (0.14.0-r0) [2021-06-21T14:48:20.078Z] (4/6) Installing libuuid (2.33-r0) [2021-06-21T14:48:20.351Z] (5/6) Installing paho-mqtt-c-dev (1.3.5-r0) [2021-06-21T14:48:21.781Z] (6/6) Installing wget (1.20.3-r0) [2021-06-21T14:48:22.055Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:48:22.055Z] OK: 283 MiB in 81 packages [2021-06-21T14:48:23.489Z] Removing intermediate container da59dcb7e93f [2021-06-21T14:48:23.489Z] ---> 82c82d9798db [2021-06-21T14:48:23.489Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-06-21T14:48:24.084Z] ---> 54243581b9f9 [2021-06-21T14:48:24.084Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-06-21T14:48:25.062Z] ---> cc4ac22b4242 [2021-06-21T14:48:25.062Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-06-21T14:48:26.039Z] ---> a02c7300da8f [2021-06-21T14:48:26.039Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-06-21T14:48:26.634Z] ---> a5462efdfa8d [2021-06-21T14:48:26.634Z] Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-06-21T14:48:27.636Z] ---> ab2ddb7e5031 [2021-06-21T14:48:27.636Z] Successfully built ab2ddb7e5031 [2021-06-21T14:48:27.636Z] 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-06-21T14:48:28.449Z] + docker inspect -f . ci-base-image-arm64 [2021-06-21T14:48:28.450Z] . [Pipeline] withDockerContainer [2021-06-21T14:48:28.739Z] prd-ubuntu18.04-docker-arm64-4c-16g-525 does not seem to be running inside a container [2021-06-21T14:48:28.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-21T14:48:30.437Z] $ docker top d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T14:48:31.470Z] + make test [2021-06-21T14:48:31.470Z] echo "make test" [2021-06-21T14:48:31.470Z] make test [Pipeline] } [2021-06-21T14:48:31.503Z] $ docker stop --time=1 d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 [2021-06-21T14:48:33.363Z] $ docker rm -f d47a8c0d0aeaabfc8d3e52f905d4bc02adab3613d8a05d50f1d80f28abf1fa26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-21T14:48:34.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-21T14:48:34.786Z] + ls -al . [2021-06-21T14:48:34.786Z] total 192 [2021-06-21T14:48:34.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 14:45 . [2021-06-21T14:48:34.786Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 .. [2021-06-21T14:48:34.786Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 14:45 .git [2021-06-21T14:48:34.786Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 .github [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 14:45 .gitignore [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 14:45 Attribution.txt [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 7509 Jun 21 14:45 CHANGES [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 14:45 Doxyfile [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 14:45 Jenkinsfile [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 14:45 LICENSE [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 14:45 Makefile [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 4090 Jun 21 14:45 README.md [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 7090 Jun 21 14:45 README.v2.md [2021-06-21T14:48:34.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 14:42 VERSION [2021-06-21T14:48:34.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 docs [2021-06-21T14:48:34.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 include [2021-06-21T14:48:34.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 14:45 scripts [2021-06-21T14:48:34.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 14:45 src [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:48:35.185Z] + 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=2b0697b9b90fee7c5a100d7b7954bc3489632622 --label arch=arm64 --label version=0.0.0 . [2021-06-21T14:48:35.785Z] Sending build context to Docker daemon 2.628MB [2021-06-21T14:48:35.785Z] Step 1/17 : ARG BASE=alpine:3.12 [2021-06-21T14:48:35.785Z] Step 2/17 : FROM ${BASE} [2021-06-21T14:48:35.785Z] ---> ab2ddb7e5031 [2021-06-21T14:48:35.785Z] Step 3/17 : LABEL maintainer="IOTech " [2021-06-21T14:48:36.075Z] ---> Running in 58387b43eeea [2021-06-21T14:48:36.349Z] Removing intermediate container 58387b43eeea [2021-06-21T14:48:36.350Z] ---> 7415d7b28afc [2021-06-21T14:48:36.350Z] 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-06-21T14:48:36.624Z] ---> Running in 87a707ced0db [2021-06-21T14:48:38.063Z] --2021-06-21 14:48:37-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub [2021-06-21T14:48:38.063Z] Resolving iotech.jfrog.io... 54.72.115.12, 34.243.182.113, 54.74.239.58 [2021-06-21T14:48:38.063Z] Connecting to iotech.jfrog.io|54.72.115.12|:443... connected. [2021-06-21T14:48:38.345Z] HTTP request sent, awaiting response... 200 OK [2021-06-21T14:48:38.345Z] Length: 451 [application/octet-stream] [2021-06-21T14:48:38.345Z] Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' [2021-06-21T14:48:38.345Z]  [2021-06-21T14:48:38.345Z] 0K  100% 17.7M=0s [2021-06-21T14:48:38.345Z] [2021-06-21T14:48:38.345Z] 2021-06-21 14:48:38 (17.7 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] [2021-06-21T14:48:38.345Z] [2021-06-21T14:48:39.325Z] Removing intermediate container 87a707ced0db [2021-06-21T14:48:39.325Z] ---> ae60367edb76 [2021-06-21T14:48:39.325Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [2021-06-21T14:48:39.325Z] ---> Running in 5a28ef0e3057 [2021-06-21T14:48:41.945Z] Removing intermediate container 5a28ef0e3057 [2021-06-21T14:48:41.945Z] ---> abd90f418034 [2021-06-21T14:48:41.945Z] 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-06-21T14:48:41.945Z] ---> Running in 99060a200d45 [2021-06-21T14:48:42.924Z] fetch http://nl.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:43.901Z] fetch http://nl.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:43.901Z] fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz [2021-06-21T14:48:52.225Z] (1/6) Installing ncurses-dev (6.1_p20190105-r0) [2021-06-21T14:48:52.225Z] (2/6) Installing libblkid (2.33-r0) [2021-06-21T14:48:52.225Z] (3/6) Installing libfdisk (2.33-r0) [2021-06-21T14:48:52.225Z] (4/6) Installing libmount (2.33-r0) [2021-06-21T14:48:52.225Z] (5/6) Installing libsmartcols (2.33-r0) [2021-06-21T14:48:52.225Z] (6/6) Installing util-linux-dev (2.33-r0) [2021-06-21T14:48:52.225Z] Executing busybox-1.29.3-r10.trigger [2021-06-21T14:48:52.225Z] OK: 287 MiB in 87 packages [2021-06-21T14:48:53.657Z] Removing intermediate container 99060a200d45 [2021-06-21T14:48:53.657Z] ---> 5b4ba356b61c [2021-06-21T14:48:53.657Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-06-21T14:48:54.257Z] ---> 115a4eb65d20 [2021-06-21T14:48:54.257Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-06-21T14:48:55.689Z] ---> abd3231b827c [2021-06-21T14:48:55.689Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-06-21T14:48:56.287Z] ---> 96f924b6fbc5 [2021-06-21T14:48:56.287Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-06-21T14:48:56.890Z] ---> c5140b28144d [2021-06-21T14:48:56.890Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-06-21T14:48:57.864Z] ---> ec8c7e3a33bc [2021-06-21T14:48:57.864Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-06-21T14:48:58.466Z] ---> d063aa9e4925 [2021-06-21T14:48:58.466Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-06-21T14:48:58.466Z] ---> Running in c3ef14c68bfe [2021-06-21T14:48:59.064Z] Removing intermediate container c3ef14c68bfe [2021-06-21T14:48:59.064Z] ---> ebb747076c1f [2021-06-21T14:48:59.064Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-06-21T14:48:59.362Z] ---> Running in 9890473fc8c8 [2021-06-21T14:48:59.638Z] Removing intermediate container 9890473fc8c8 [2021-06-21T14:48:59.638Z] ---> 9a79f63c0a2c [2021-06-21T14:48:59.638Z] Step 15/17 : LABEL arch=arm64 [2021-06-21T14:48:59.909Z] ---> Running in 5e9b4d23d9d1 [2021-06-21T14:49:00.503Z] Removing intermediate container 5e9b4d23d9d1 [2021-06-21T14:49:00.503Z] ---> cce12a10ebf6 [2021-06-21T14:49:00.503Z] Step 16/17 : LABEL git_sha=2b0697b9b90fee7c5a100d7b7954bc3489632622 [2021-06-21T14:49:00.503Z] ---> Running in 574b634c01e0 [2021-06-21T14:49:01.103Z] Removing intermediate container 574b634c01e0 [2021-06-21T14:49:01.103Z] ---> 3385c1d8b816 [2021-06-21T14:49:01.103Z] Step 17/17 : LABEL version=0.0.0 [2021-06-21T14:49:01.375Z] ---> Running in 0edf7f85cfa4 [2021-06-21T14:49:01.976Z] Removing intermediate container 0edf7f85cfa4 [2021-06-21T14:49:01.976Z] ---> 5bacc5bd28b7 [2021-06-21T14:49:01.976Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-21T14:49:01.976Z] Successfully built 5bacc5bd28b7 [2021-06-21T14:49:01.976Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:04.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:05.173Z] ---> package-listing.sh [2021-06-21T14:49:05.173Z] ++ facter osfamily [2021-06-21T14:49:05.173Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-21T14:49:05.437Z] + OS_FAMILY=redhat [2021-06-21T14:49:05.437Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-353 [2021-06-21T14:49:05.437Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-21T14:49:05.437Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-21T14:49:05.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-21T14:49:05.437Z] + PACKAGES=/tmp/packages_start.txt [2021-06-21T14:49:05.437Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' [2021-06-21T14:49:05.437Z] + PACKAGES=/tmp/packages_end.txt [2021-06-21T14:49:05.437Z] + case "${OS_FAMILY}" in [2021-06-21T14:49:05.437Z] + rpm -qa [2021-06-21T14:49:05.437Z] + sort [2021-06-21T14:49:06.013Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-21T14:49:06.013Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-21T14:49:06.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-21T14:49:06.013Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-353 ']' [2021-06-21T14:49:06.013Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [2021-06-21T14:49:06.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-353/archives/ [Pipeline] echo [2021-06-21T14:49:06.046Z] 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-21T14:49:06.381Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:49:07.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T14:49:07.005Z] [2021-06-21T14:49:07.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-21T14:49:07.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T14:49:07.354Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-21T14:49:07.354Z] df20fa9351a1: Pulling fs layer [2021-06-21T14:49:07.354Z] 36b3adc4ff6f: Pulling fs layer [2021-06-21T14:49:07.354Z] 8ad3a11d3b57: Pulling fs layer [2021-06-21T14:49:07.354Z] 46f8f816bc3b: Pulling fs layer [2021-06-21T14:49:07.354Z] 93b61091891f: Pulling fs layer [2021-06-21T14:49:07.354Z] 93b9cdb0e59b: Pulling fs layer [2021-06-21T14:49:07.354Z] 5e14af77c1be: Pulling fs layer [2021-06-21T14:49:07.354Z] 01666e4c0597: Pulling fs layer [2021-06-21T14:49:07.354Z] aa168da1d23b: Pulling fs layer [2021-06-21T14:49:07.354Z] 93b9cdb0e59b: Waiting [2021-06-21T14:49:07.354Z] 5e14af77c1be: Waiting [2021-06-21T14:49:07.354Z] 01666e4c0597: Waiting [2021-06-21T14:49:07.354Z] aa168da1d23b: Waiting [2021-06-21T14:49:07.354Z] 93b61091891f: Waiting [2021-06-21T14:49:07.354Z] 46f8f816bc3b: Waiting [2021-06-21T14:49:07.354Z] 36b3adc4ff6f: Verifying Checksum [2021-06-21T14:49:07.354Z] 36b3adc4ff6f: Download complete [2021-06-21T14:49:07.354Z] 46f8f816bc3b: Verifying Checksum [2021-06-21T14:49:07.354Z] 46f8f816bc3b: Download complete [2021-06-21T14:49:07.620Z] df20fa9351a1: Verifying Checksum [2021-06-21T14:49:07.620Z] df20fa9351a1: Download complete [2021-06-21T14:49:07.620Z] 93b9cdb0e59b: Verifying Checksum [2021-06-21T14:49:07.620Z] 93b9cdb0e59b: Download complete [2021-06-21T14:49:07.620Z] 5e14af77c1be: Verifying Checksum [2021-06-21T14:49:07.620Z] 5e14af77c1be: Download complete [2021-06-21T14:49:07.620Z] 93b61091891f: Verifying Checksum [2021-06-21T14:49:07.620Z] 93b61091891f: Download complete [2021-06-21T14:49:07.620Z] 01666e4c0597: Verifying Checksum [2021-06-21T14:49:07.620Z] 01666e4c0597: Download complete [2021-06-21T14:49:07.620Z] df20fa9351a1: Pull complete [2021-06-21T14:49:07.620Z] 8ad3a11d3b57: Verifying Checksum [2021-06-21T14:49:07.620Z] 8ad3a11d3b57: Download complete [2021-06-21T14:49:07.882Z] 36b3adc4ff6f: Pull complete [2021-06-21T14:49:08.454Z] 8ad3a11d3b57: Pull complete [2021-06-21T14:49:08.454Z] 46f8f816bc3b: Pull complete [2021-06-21T14:49:09.032Z] 93b61091891f: Pull complete [2021-06-21T14:49:09.032Z] 93b9cdb0e59b: Pull complete [2021-06-21T14:49:09.301Z] 5e14af77c1be: Pull complete [2021-06-21T14:49:09.301Z] 01666e4c0597: Pull complete [2021-06-21T14:49:09.564Z] aa168da1d23b: Verifying Checksum [2021-06-21T14:49:09.564Z] aa168da1d23b: Download complete [2021-06-21T14:49:13.796Z] aa168da1d23b: Pull complete [2021-06-21T14:49:13.796Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-21T14:49:13.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-21T14:49:13.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-21T14:49:13.928Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-06-21T14:49:13.963Z] $ 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-353/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-353 -v /w/workspace/edgexfoundry_device-sdk-c_PR-353:/w/workspace/edgexfoundry_device-sdk-c_PR-353:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-21T14:49:17.676Z] $ docker top 65ba050eed7b9bd6ac70392eb87032d6346845d6e54c61e668d5f856e335c81b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-21T14:49:18.134Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-21T14:49:18.467Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-21T14:49:18.785Z] + ls /var/log/sa-host [2021-06-21T14:49:18.785Z] + sadf -c /var/log/sa-host/sa05 [2021-06-21T14:49:18.785Z] file_magic: OK [2021-06-21T14:49:18.785Z] HZ: Using current value: 100 [2021-06-21T14:49:18.785Z] file_header: OK [2021-06-21T14:49:18.785Z] 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-06-21T14:49:18.785Z] Statistics: [2021-06-21T14:49:18.785Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T14:49:18.785Z] File successfully converted to sysstat format version 12.2.1 [2021-06-21T14:49:18.785Z] + sadf -c /var/log/sa-host/sa21 [2021-06-21T14:49:18.785Z] file_magic: OK [2021-06-21T14:49:18.785Z] HZ: Using current value: 100 [2021-06-21T14:49:18.785Z] file_header: OK [2021-06-21T14:49:18.785Z] 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-06-21T14:49:18.785Z] Statistics: [2021-06-21T14:49:18.785Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-21T14:49:18.785Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-21T14:49:19.501Z] provisioning config files... [2021-06-21T14:49:19.518Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-353@tmp/config3656036085783626276tmp [Pipeline] { [Pipeline] echo [2021-06-21T14:49:19.581Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:19.939Z] ---> create-netrc.sh [Pipeline] } [2021-06-21T14:49:19.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:20.484Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-21T14:49:20.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:20.913Z] ---> sudo-logs.sh [2021-06-21T14:49:20.913Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-21T14:49:20.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:21.320Z] ---> job-cost.sh [2021-06-21T14:49:21.320Z] lf-activate-venv: SKIPPING [2021-06-21T14:49:21.320Z] INFO: No Stack... [2021-06-21T14:49:21.902Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-21T14:49:22.478Z] INFO: Archiving Costs [Pipeline] echo [2021-06-21T14:49:22.514Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-21T14:49:22.848Z] ---> logs-deploy.sh [2021-06-21T14:49:22.849Z] lf-activate-venv: SKIPPING [2021-06-21T14:49:22.849Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-353/1 [2021-06-21T14:49:22.849Z] INFO: archiving workspace using pattern(s): [2021-06-21T14:49:23.807Z] Archives upload complete. [2021-06-21T14:49:23.807Z] INFO: archiving logs to Nexus