Pull request #384 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 989fcf480b12b46cf08b8d06d57a888d847882bb rather than e64122104add324c714acf1d14cb311d02ae154f Obtained Jenkinsfile from 989fcf480b12b46cf08b8d06d57a888d847882bb Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2909170088292789918.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6453059756686603700.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-384/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-384/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3815066662189544481.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-384/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1920465760972424187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2733102342467531182.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-384/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-384/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5739478888785586234.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-729’ is offline Running on prd-centos7-docker-4c-2g-732 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [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-384 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/jenkins-gitclient-ssh8545249297304626032.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/jenkins-gitclient-ssh7539262604885875696.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) > git config core.sparsecheckout # timeout=10 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/jenkins-gitclient-ssh2347466076268580012.key > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-20T23:53:30.150Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-20T23:53:30.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-20T23:53:30.373Z] ========================================================= [2021-10-20T23:53:30.373Z] EdgeX Global Pipelines Version Info [2021-10-20T23:53:30.373Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:53:31.551Z] ------------------- [2021-10-20T23:53:31.551Z] stable info: [2021-10-20T23:53:31.551Z] ------------------- [2021-10-20T23:53:31.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-20T23:53:31.552Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T23:53:31.552Z] Message: update stable to v1.0.210 [2021-10-20T23:53:32.127Z] ------------------- [2021-10-20T23:53:32.127Z] experimental info: [2021-10-20T23:53:32.127Z] ------------------- [2021-10-20T23:53:32.127Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-20T23:53:32.127Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T23:53:32.127Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-20T23:53:32.258Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-10-20T23:53:32.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-10-20T23:53:32.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-20T23:53:32.367Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-20T23:53:32.401Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-20T23:53:32.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-10-20T23:53:32.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-10-20T23:53:32.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-10-20T23:53:32.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-20T23:53:32.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-20T23:53:32.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-10-20T23:53:32.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-20T23:53:32.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-20T23:53:32.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-20T23:53:32.769Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T23:53:32.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-20T23:53:32.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-20T23:53:32.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-20T23:53:32.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo [2021-10-20T23:53:32.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo [2021-10-20T23:53:33.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo [2021-10-20T23:53:33.063Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e64122104add324c714acf1d14cb311d02ae154f [Pipeline] echo [2021-10-20T23:53:33.107Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e641221 [Pipeline] echo [2021-10-20T23:53:33.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:53:33.316Z] provisioning config files... [2021-10-20T23:53:33.333Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/config8239095158007477981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:53:33.689Z] ---> docker-login.sh [2021-10-20T23:53:33.689Z] nexus3.edgexfoundry.org:10001 [2021-10-20T23:53:33.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:53:33.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:53:33.952Z] Configure a credential helper to remove this warning. See [2021-10-20T23:53:33.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:53:33.952Z] [2021-10-20T23:53:33.952Z] Login Succeeded [2021-10-20T23:53:33.952Z] nexus3.edgexfoundry.org:10002 [2021-10-20T23:53:33.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:53:33.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:53:33.952Z] Configure a credential helper to remove this warning. See [2021-10-20T23:53:33.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:53:33.952Z] [2021-10-20T23:53:33.952Z] Login Succeeded [2021-10-20T23:53:33.952Z] nexus3.edgexfoundry.org:10003 [2021-10-20T23:53:33.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:53:33.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:53:33.952Z] Configure a credential helper to remove this warning. See [2021-10-20T23:53:33.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:53:33.952Z] [2021-10-20T23:53:33.952Z] Login Succeeded [2021-10-20T23:53:33.952Z] nexus3.edgexfoundry.org:10004 [2021-10-20T23:53:34.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:53:34.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:53:34.214Z] Configure a credential helper to remove this warning. See [2021-10-20T23:53:34.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:53:34.214Z] [2021-10-20T23:53:34.214Z] Login Succeeded [2021-10-20T23:53:34.214Z] docker.io [2021-10-20T23:53:34.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:53:34.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:53:34.785Z] Configure a credential helper to remove this warning. See [2021-10-20T23:53:34.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:53:34.785Z] [2021-10-20T23:53:34.785Z] Login Succeeded [2021-10-20T23:53:34.785Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T23:53:34.803Z] 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-10-20T23:53:35.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:53:35.498Z] [2021-10-20T23:53:35.498Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:53:35.853Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:53:35.853Z] latest: Pulling from edgex-devops/git-semver [2021-10-20T23:53:35.853Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T23:53:35.853Z] 3e5f54012d9b: Pulling fs layer [2021-10-20T23:53:35.853Z] 4c7163046ea9: Pulling fs layer [2021-10-20T23:53:35.853Z] 0c2d73faf560: Pulling fs layer [2021-10-20T23:53:35.853Z] 0c2d73faf560: Waiting [2021-10-20T23:53:35.853Z] 3e5f54012d9b: Verifying Checksum [2021-10-20T23:53:35.853Z] 3e5f54012d9b: Download complete [2021-10-20T23:53:35.853Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T23:53:35.853Z] a0d0a0d46f8b: Download complete [2021-10-20T23:53:35.853Z] 0c2d73faf560: Verifying Checksum [2021-10-20T23:53:35.853Z] 0c2d73faf560: Download complete [2021-10-20T23:53:35.853Z] 4c7163046ea9: Verifying Checksum [2021-10-20T23:53:35.853Z] 4c7163046ea9: Download complete [2021-10-20T23:53:36.130Z] a0d0a0d46f8b: Pull complete [2021-10-20T23:53:36.130Z] 3e5f54012d9b: Pull complete [2021-10-20T23:53:36.405Z] 4c7163046ea9: Pull complete [2021-10-20T23:53:36.668Z] 0c2d73faf560: Pull complete [2021-10-20T23:53:36.668Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-20T23:53:36.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T23:53:36.669Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-20T23:53:36.771Z] prd-centos7-docker-4c-2g-732 does not seem to be running inside a container [2021-10-20T23:53:36.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-384 -v /w/workspace/edgexfoundry_device-sdk-c_PR-384:/w/workspace/edgexfoundry_device-sdk-c_PR-384:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-20T23:53:37.470Z] $ docker top d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T23:53:37.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:53:37.632Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:53:37.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:53:37.742Z] $ docker exec d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent [2021-10-20T23:53:37.846Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLALfgh/agent.14 [2021-10-20T23:53:37.846Z] SSH_AGENT_PID=20 [2021-10-20T23:53:37.855Z] Running ssh-add (command line suppressed) [2021-10-20T23:53:37.943Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_2617587128932293902.key (/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_2617587128932293902.key) [2021-10-20T23:53:37.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:53:38.288Z] + git tag --points-at HEAD [Pipeline] } [2021-10-20T23:53:38.320Z] $ docker exec --env ******** --env ******** d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent -k [2021-10-20T23:53:38.404Z] unset SSH_AUTH_SOCK; [2021-10-20T23:53:38.404Z] unset SSH_AGENT_PID; [2021-10-20T23:53:38.405Z] echo Agent pid 20 killed; [2021-10-20T23:53:38.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-20T23:53:38.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T23:53:38.470Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T23:53:38.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T23:53:38.578Z] $ docker exec d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent [2021-10-20T23:53:38.677Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHMEkBJ/agent.52 [2021-10-20T23:53:38.677Z] SSH_AGENT_PID=58 [2021-10-20T23:53:38.683Z] Running ssh-add (command line suppressed) [2021-10-20T23:53:38.772Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_5583264374003407269.key (/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_5583264374003407269.key) [2021-10-20T23:53:38.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T23:53:39.131Z] + git semver init [2021-10-20T23:53:39.131Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T23:53:39.131Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-384/.git [2021-10-20T23:53:39.131Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-384 [2021-10-20T23:53:39.131Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T23:53:39.131Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T23:53:39.131Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T23:53:39.131Z] # $SEMVER_BRANCH = PR-384 [2021-10-20T23:53:39.131Z] # $SEMVER_TEMP = /tmp/semver-182119121 [2021-10-20T23:53:39.131Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-10-20T23:53:40.074Z] # '/tmp/semver-182119121' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-384/.semver' [2021-10-20T23:53:40.074Z] # -> Force: false [2021-10-20T23:53:40.074Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-384/.semver [Pipeline] } [2021-10-20T23:53:40.093Z] $ docker exec --env ******** --env ******** d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent -k [2021-10-20T23:53:40.200Z] unset SSH_AUTH_SOCK; [2021-10-20T23:53:40.201Z] unset SSH_AGENT_PID; [2021-10-20T23:53:40.201Z] echo Agent pid 58 killed; [2021-10-20T23:53:40.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T23:53:40.581Z] + git semver [Pipeline] } [2021-10-20T23:53:40.604Z] $ docker stop --time=1 d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c [2021-10-20T23:53:41.823Z] $ docker rm -f d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T23:53:42.217Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-20T23:53:42.470Z] Stashed 1 file(s) [Pipeline] echo [2021-10-20T23:53:42.487Z] [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-10-20T23:53:57.778Z] Still waiting to schedule task [2021-10-20T23:53:57.778Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-20T23:53:57.801Z] Still waiting to schedule task [2021-10-20T23:53:57.802Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-730’ is offline [2021-10-20T23:58:41.424Z] Running on prd-centos7-docker-4c-2g-738 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [Pipeline] { [Pipeline] ws [2021-10-20T23:58:41.461Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-10-20T23:58:41.575Z] Selected Git installation does not exist. Using Default [2021-10-20T23:58:41.575Z] The recommended git tool is: NONE [2021-10-20T23:58:43.404Z] using credential edgex-jenkins-ssh [2021-10-20T23:58:43.419Z] Cloning the remote Git repository [2021-10-20T23:58:43.504Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:58:43.558Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-10-20T23:58:43.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:58:43.598Z] > git --version # timeout=10 [2021-10-20T23:58:43.607Z] > git --version # 'git version 2.24.4' [2021-10-20T23:58:43.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:58:43.628Z] [INFO] Currently running in a labeled security context [2021-10-20T23:58:43.629Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T23:58:43.629Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3807754424645429548.key [2021-10-20T23:58:43.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:58:44.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-20T23:58:44.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:58:44.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-20T23:58:44.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:58:44.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:58:44.548Z] [INFO] Currently running in a labeled security context [2021-10-20T23:58:44.548Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T23:58:44.548Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3902693727326467393.key [2021-10-20T23:58:44.571Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-20T23:58:45.113Z] Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f [2021-10-20T23:58:45.232Z] Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f [2021-10-20T23:58:45.232Z] Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) [2021-10-20T23:58:45.121Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:58:45.129Z] > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 [2021-10-20T23:58:45.172Z] > git remote # timeout=10 [2021-10-20T23:58:45.183Z] > git config --get remote.origin.url # timeout=10 [2021-10-20T23:58:45.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:58:45.191Z] [INFO] Currently running in a labeled security context [2021-10-20T23:58:45.191Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T23:58:45.191Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4933228626179085742.key [2021-10-20T23:58:45.205Z] > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 [2021-10-20T23:58:45.220Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-20T23:58:45.235Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:58:45.242Z] > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 [2021-10-20T23:58:48.806Z] Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" [2021-10-20T23:58:48.831Z] > git --version # timeout=10 [2021-10-20T23:58:48.835Z] > git --version # 'git version 2.24.4' [2021-10-20T23:58:48.845Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T23:58:49.397Z] provisioning config files... [2021-10-20T23:58:49.411Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2930475473667728133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T23:58:49.839Z] ---> docker-login.sh [2021-10-20T23:58:49.839Z] nexus3.edgexfoundry.org:10001 [2021-10-20T23:58:49.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:58:50.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:58:50.101Z] Configure a credential helper to remove this warning. See [2021-10-20T23:58:50.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:58:50.101Z] [2021-10-20T23:58:50.101Z] Login Succeeded [2021-10-20T23:58:50.101Z] nexus3.edgexfoundry.org:10002 [2021-10-20T23:58:50.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:58:50.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:58:50.101Z] Configure a credential helper to remove this warning. See [2021-10-20T23:58:50.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:58:50.101Z] [2021-10-20T23:58:50.101Z] Login Succeeded [2021-10-20T23:58:50.101Z] nexus3.edgexfoundry.org:10003 [2021-10-20T23:58:50.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:58:50.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:58:50.363Z] Configure a credential helper to remove this warning. See [2021-10-20T23:58:50.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:58:50.363Z] [2021-10-20T23:58:50.363Z] Login Succeeded [2021-10-20T23:58:50.363Z] nexus3.edgexfoundry.org:10004 [2021-10-20T23:58:50.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:58:50.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:58:50.363Z] Configure a credential helper to remove this warning. See [2021-10-20T23:58:50.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:58:50.363Z] [2021-10-20T23:58:50.363Z] Login Succeeded [2021-10-20T23:58:50.363Z] docker.io [2021-10-20T23:58:50.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T23:58:50.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T23:58:50.937Z] Configure a credential helper to remove this warning. See [2021-10-20T23:58:50.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T23:58:50.937Z] [2021-10-20T23:58:50.937Z] Login Succeeded [2021-10-20T23:58:50.937Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T23:58:50.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T23:58:51.197Z] ========================================================= [2021-10-20T23:58:51.197Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-10-20T23:58:51.197Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:58:51.542Z] + 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-10-20T23:58:51.542Z] Sending build context to Docker daemon 2.724MB [2021-10-20T23:58:51.542Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-10-20T23:58:51.542Z] Step 2/24 : FROM ${BASE} as builder [2021-10-20T23:58:51.542Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-10-20T23:58:51.542Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T23:58:51.542Z] 39017ce70367: Pulling fs layer [2021-10-20T23:58:51.542Z] dcf9283bb20a: Pulling fs layer [2021-10-20T23:58:51.542Z] 39017ce70367: Verifying Checksum [2021-10-20T23:58:51.542Z] 39017ce70367: Download complete [2021-10-20T23:58:51.813Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T23:58:51.813Z] a0d0a0d46f8b: Download complete [2021-10-20T23:58:51.813Z] a0d0a0d46f8b: Pull complete [2021-10-20T23:58:52.080Z] 39017ce70367: Pull complete [2021-10-20T23:58:52.080Z] dcf9283bb20a: Verifying Checksum [2021-10-20T23:58:52.080Z] dcf9283bb20a: Download complete [2021-10-20T23:58:55.453Z] dcf9283bb20a: Pull complete [2021-10-20T23:58:55.453Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-10-20T23:58:55.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-20T23:58:55.453Z] ---> a4e04833b611 [2021-10-20T23:58:55.453Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-20T23:58:56.482Z] ---> Running in dead5066d6d6 [2021-10-20T23:58:56.743Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-10-20T23:58:57.320Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-20T23:58:57.320Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-20T23:58:57.320Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-20T23:58:57.320Z] Removing intermediate container dead5066d6d6 [2021-10-20T23:58:57.320Z] ---> 4a5af7d5faba [2021-10-20T23:58:57.320Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-20T23:58:57.320Z] ---> Running in 12314e9ac0b0 [2021-10-20T23:58:57.896Z] Removing intermediate container 12314e9ac0b0 [2021-10-20T23:58:57.896Z] ---> 388823cf90aa [2021-10-20T23:58:57.896Z] Step 5/24 : 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-1.3 hiredis-dev [2021-10-20T23:58:57.896Z] ---> Running in 5f0737f6c511 [2021-10-20T23:58:58.156Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:58:59.098Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:58:59.363Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:58:59.935Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-20T23:58:59.935Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-20T23:58:59.935Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-20T23:59:00.196Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-20T23:59:00.196Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-20T23:59:01.142Z] (5/27) Installing libblkid (2.37-r0) [2021-10-20T23:59:01.142Z] (6/27) Installing blkid (2.37-r0) [2021-10-20T23:59:01.142Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-20T23:59:01.405Z] (8/27) Installing setpriv (2.37-r0) [2021-10-20T23:59:01.405Z] (9/27) Installing libmount (2.37-r0) [2021-10-20T23:59:01.405Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-20T23:59:01.670Z] (11/27) Installing findmnt (2.37-r0) [2021-10-20T23:59:01.670Z] (12/27) Installing mcookie (2.37-r0) [2021-10-20T23:59:01.932Z] (13/27) Installing hexdump (2.37-r0) [2021-10-20T23:59:01.932Z] (14/27) Installing lsblk (2.37-r0) [2021-10-20T23:59:01.932Z] (15/27) Installing libuuid (2.37-r0) [2021-10-20T23:59:02.198Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-20T23:59:02.198Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-20T23:59:02.460Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-20T23:59:02.460Z] (19/27) Installing partx (2.37-r0) [2021-10-20T23:59:02.460Z] (20/27) Installing flock (2.37-r0) [2021-10-20T23:59:02.724Z] (21/27) Installing logger (2.37-r0) [2021-10-20T23:59:02.724Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-20T23:59:02.987Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-20T23:59:02.987Z] (24/27) Installing util-linux (2.37-r0) [2021-10-20T23:59:03.249Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-20T23:59:03.512Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-20T23:59:03.512Z] (27/27) Installing wget (1.21.1-r1) [2021-10-20T23:59:03.775Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T23:59:03.775Z] OK: 291 MiB in 104 packages [2021-10-20T23:59:04.355Z] Removing intermediate container 5f0737f6c511 [2021-10-20T23:59:04.355Z] ---> a840e7944032 [2021-10-20T23:59:04.355Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-10-20T23:59:04.355Z] ---> Running in e531e696657d [2021-10-20T23:59:04.355Z] Removing intermediate container e531e696657d [2021-10-20T23:59:04.355Z] ---> b4ef28a8f36e [2021-10-20T23:59:04.355Z] Step 7/24 : 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-10-20T23:59:04.355Z] ---> Running in bb103a0b0ced [2021-10-20T23:59:04.617Z] --2021-10-20 23:59:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-20T23:59:04.617Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-20T23:59:04.617Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-20T23:59:04.884Z] HTTP request sent, awaiting response... 302 Found [2021-10-20T23:59:04.884Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-20T23:59:04.884Z] --2021-10-20 23:59:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-20T23:59:04.884Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-20T23:59:04.884Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-20T23:59:04.884Z] HTTP request sent, awaiting response... 200 OK [2021-10-20T23:59:04.884Z] Length: unspecified [application/x-gzip] [2021-10-20T23:59:04.884Z] Saving to: 'STDOUT' [2021-10-20T23:59:04.884Z] [2021-10-20T23:59:04.884Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-10-20T23:59:04.884Z] 50K .......... .......... .......... .......... .......... 2.52M [2021-10-20T23:59:04.884Z] 100K .......... .......... .......... .......... .......... 23.6M [2021-10-20T23:59:04.884Z] 150K .......... .......... .......... .......... .......... 35.4M [2021-10-20T23:59:04.884Z] 200K .......... .......... .......... .......... .......... 2.69M [2021-10-20T23:59:05.144Z] 250K .......... .......... .......... .......... .......... 8.68M [2021-10-20T23:59:05.144Z] 300K .......... .......... .......... .......... .......... 8.55M [2021-10-20T23:59:05.144Z] 350K .......... .......... .......... .......... .......... 8.63M [2021-10-20T23:59:05.144Z] 400K .......... .......... .......... .......... .......... 29.3M [2021-10-20T23:59:05.144Z] 450K .......... .......... .......... .......... .......... 13.5M [2021-10-20T23:59:05.144Z] 500K .......... .......... .......... .......... .......... 3.35M [2021-10-20T23:59:05.144Z] 550K .......... .......... .......... .......... .......... 22.8M [2021-10-20T23:59:05.144Z] 600K .......... .......... .......... .......... .......... 4.72M [2021-10-20T23:59:05.144Z] 650K .......... .......... .......... .......... .......... 4.45M [2021-10-20T23:59:05.144Z] 700K .. 4.63T=0.1s [2021-10-20T23:59:05.144Z] [2021-10-20T23:59:05.144Z] 2021-10-20 23:59:04 (4.91 MB/s) - written to stdout [719348] [2021-10-20T23:59:05.144Z] [2021-10-20T23:59:05.144Z] -- The C compiler identification is GNU 10.3.1 [2021-10-20T23:59:05.144Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-20T23:59:05.144Z] -- Detecting C compiler ABI info [2021-10-20T23:59:05.410Z] -- Detecting C compiler ABI info - done [2021-10-20T23:59:05.410Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-20T23:59:05.410Z] -- Detecting C compile features [2021-10-20T23:59:05.410Z] -- Detecting C compile features - done [2021-10-20T23:59:05.410Z] -- Detecting CXX compiler ABI info [2021-10-20T23:59:05.410Z] -- Detecting CXX compiler ABI info - done [2021-10-20T23:59:05.410Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-20T23:59:05.410Z] -- Detecting CXX compile features [2021-10-20T23:59:05.410Z] -- Detecting CXX compile features - done [2021-10-20T23:59:05.410Z] -- Looking for include file endian.h [2021-10-20T23:59:05.410Z] -- Looking for include file endian.h - found [2021-10-20T23:59:05.410Z] -- Looking for sys/types.h [2021-10-20T23:59:05.671Z] -- Looking for sys/types.h - found [2021-10-20T23:59:05.671Z] -- Looking for stdint.h [2021-10-20T23:59:05.671Z] -- Looking for stdint.h - found [2021-10-20T23:59:05.671Z] -- Looking for stddef.h [2021-10-20T23:59:05.671Z] -- Looking for stddef.h - found [2021-10-20T23:59:05.671Z] -- Check size of size_t [2021-10-20T23:59:05.671Z] -- Check size of size_t - done [2021-10-20T23:59:05.671Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-20T23:59:05.671Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-20T23:59:05.671Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-20T23:59:05.671Z] CMake did not find one. [2021-10-20T23:59:05.671Z] [2021-10-20T23:59:05.671Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-20T23:59:05.671Z] the following names: [2021-10-20T23:59:05.671Z] [2021-10-20T23:59:05.671Z] cJSONConfig.cmake [2021-10-20T23:59:05.671Z] cjson-config.cmake [2021-10-20T23:59:05.671Z] [2021-10-20T23:59:05.671Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-20T23:59:05.671Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-20T23:59:05.671Z] provides a separate development package or SDK, be sure it has been [2021-10-20T23:59:05.671Z] installed. [2021-10-20T23:59:05.671Z] [2021-10-20T23:59:05.671Z] [2021-10-20T23:59:05.671Z] -- Configuring done [2021-10-20T23:59:05.934Z] -- Generating done [2021-10-20T23:59:05.934Z] -- Build files have been written to: /tmp/cbor [2021-10-20T23:59:05.934Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-20T23:59:05.934Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-20T23:59:06.194Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-20T23:59:06.194Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-20T23:59:06.465Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-20T23:59:06.465Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-20T23:59:06.465Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-20T23:59:06.465Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-20T23:59:06.465Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-20T23:59:06.727Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-20T23:59:06.727Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-20T23:59:06.727Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-20T23:59:06.991Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-20T23:59:06.991Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-20T23:59:06.991Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-20T23:59:06.991Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-20T23:59:07.253Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-20T23:59:07.253Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-20T23:59:07.253Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-20T23:59:07.253Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-20T23:59:07.514Z] [ 40%] Linking C shared library libcbor.so [2021-10-20T23:59:07.514Z] [ 40%] Built target cbor_shared [2021-10-20T23:59:07.514Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-20T23:59:07.514Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-20T23:59:07.777Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-20T23:59:07.777Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-20T23:59:08.350Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-20T23:59:08.350Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-20T23:59:08.350Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-20T23:59:08.350Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-20T23:59:08.350Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-20T23:59:08.614Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-20T23:59:08.614Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-20T23:59:08.614Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-20T23:59:08.875Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-20T23:59:08.876Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-20T23:59:08.876Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-20T23:59:09.139Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-20T23:59:09.139Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-20T23:59:09.139Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-20T23:59:09.139Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-20T23:59:09.402Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-20T23:59:09.402Z] [ 80%] Linking C static library libcbor.a [2021-10-20T23:59:09.402Z] [ 80%] Built target cbor [2021-10-20T23:59:09.402Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-20T23:59:09.402Z] [ 84%] Linking C executable readfile [2021-10-20T23:59:09.402Z] [ 84%] Built target readfile [2021-10-20T23:59:09.402Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-20T23:59:09.661Z] [ 88%] Linking C executable create_items [2021-10-20T23:59:09.661Z] [ 88%] Built target create_items [2021-10-20T23:59:09.661Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-20T23:59:09.661Z] [ 92%] Linking C executable sort [2021-10-20T23:59:09.661Z] [ 92%] Built target sort [2021-10-20T23:59:09.661Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-20T23:59:09.661Z] [ 96%] Linking C executable hello [2021-10-20T23:59:09.661Z] [ 96%] Built target hello [2021-10-20T23:59:09.661Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-20T23:59:09.921Z] [100%] Linking C executable streaming_parser [2021-10-20T23:59:09.921Z] [100%] Built target streaming_parser [2021-10-20T23:59:09.921Z] Install the project... [2021-10-20T23:59:09.921Z] -- Install configuration: "Release" [2021-10-20T23:59:09.921Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-20T23:59:09.921Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-20T23:59:09.921Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-20T23:59:09.922Z] -- Up-to-date: /usr/local/include/cbor [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/include/cbor.h [2021-10-20T23:59:09.922Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-20T23:59:10.497Z] Removing intermediate container bb103a0b0ced [2021-10-20T23:59:10.497Z] ---> 923516b19b29 [2021-10-20T23:59:10.497Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-10-20T23:59:10.497Z] ---> Running in b0f5b099cbca [2021-10-20T23:59:10.756Z] Removing intermediate container b0f5b099cbca [2021-10-20T23:59:10.756Z] ---> 472ad4045a4d [2021-10-20T23:59:10.756Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-10-20T23:59:11.024Z] ---> 960ffe2c3916 [2021-10-20T23:59:11.024Z] Step 10/24 : COPY src /tmp/sdk/src [2021-10-20T23:59:11.287Z] ---> 3e952ad82966 [2021-10-20T23:59:11.287Z] Step 11/24 : COPY include /tmp/sdk/include [2021-10-20T23:59:11.287Z] ---> 58540065e6b5 [2021-10-20T23:59:11.287Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-10-20T23:59:11.551Z] ---> 19e485380ef3 [2021-10-20T23:59:11.551Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-10-20T23:59:11.551Z] ---> dd9a6c35b806 [2021-10-20T23:59:11.551Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-10-20T23:59:11.814Z] ---> f5bc84ba0e39 [2021-10-20T23:59:11.814Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-20T23:59:11.814Z] ---> Running in 89978de85e6b [2021-10-20T23:59:12.078Z] + CPPCHECK=false [2021-10-20T23:59:12.078Z] + DOCGEN=false [2021-10-20T23:59:12.078Z] + TOMLVER=SDK-0.2 [2021-10-20T23:59:12.078Z] + CUTILVER=1.2.2 [2021-10-20T23:59:12.078Z] + '[' 0 -gt 0 ] [2021-10-20T23:59:12.078Z] + readlink -f ./scripts/build.sh [2021-10-20T23:59:12.078Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-20T23:59:12.078Z] + dirname /tmp/sdk/scripts [2021-10-20T23:59:12.078Z] + ROOT=/tmp/sdk [2021-10-20T23:59:12.078Z] + cd /tmp/sdk [2021-10-20T23:59:12.078Z] + '[' '!' -d deps ] [2021-10-20T23:59:12.078Z] + mkdir deps [2021-10-20T23:59:12.078Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-20T23:59:12.078Z] --2021-10-20 23:59:11-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-20T23:59:12.078Z] + tar -C deps -z -x -f - [2021-10-20T23:59:12.078Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-20T23:59:12.078Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-20T23:59:12.340Z] HTTP request sent, awaiting response... 302 Found [2021-10-20T23:59:12.340Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-20T23:59:12.340Z] --2021-10-20 23:59:12-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-20T23:59:12.340Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-20T23:59:12.340Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-20T23:59:12.340Z] HTTP request sent, awaiting response... 200 OK [2021-10-20T23:59:12.340Z] Length: unspecified [application/x-gzip] [2021-10-20T23:59:12.340Z] Saving to: 'STDOUT' [2021-10-20T23:59:12.340Z] [2021-10-20T23:59:12.340Z] 0K .......... ...... 838K=0.02s [2021-10-20T23:59:12.340Z] [2021-10-20T23:59:12.340Z] 2021-10-20 23:59:12 (838 KB/s) - written to stdout [16451] [2021-10-20T23:59:12.340Z] [2021-10-20T23:59:12.340Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-20T23:59:12.340Z] + tar -C deps -z -x -f - [2021-10-20T23:59:12.340Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-20T23:59:12.340Z] --2021-10-20 23:59:12-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-20T23:59:12.340Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-20T23:59:12.604Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-20T23:59:12.604Z] HTTP request sent, awaiting response... 302 Found [2021-10-20T23:59:12.604Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-20T23:59:12.604Z] --2021-10-20 23:59:12-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-20T23:59:12.604Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-10-20T23:59:12.604Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-10-20T23:59:12.866Z] HTTP request sent, awaiting response... 200 OK [2021-10-20T23:59:12.866Z] Length: unspecified [application/x-gzip] [2021-10-20T23:59:12.866Z] Saving to: 'STDOUT' [2021-10-20T23:59:12.866Z] [2021-10-20T23:59:12.866Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-10-20T23:59:12.866Z] 50K .......... .......... .......... .......... .......... 2.63M [2021-10-20T23:59:12.866Z] 100K .......... .......... .......... .......... .......... 24.3M [2021-10-20T23:59:12.866Z] 150K .......... .......... .......... ......... 3.43M=0.07s [2021-10-20T23:59:12.866Z] [2021-10-20T23:59:12.866Z] 2021-10-20 23:59:12 (2.62 MB/s) - written to stdout [193961] [2021-10-20T23:59:12.866Z] [2021-10-20T23:59:12.866Z] + mkdir -p src/c/iot [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-20T23:59:12.866Z] + mkdir -p include/iot [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-10-20T23:59:12.866Z] + mkdir -p include/iot/os [2021-10-20T23:59:12.866Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-10-20T23:59:12.866Z] + mkdir -p /tmp/sdk/build/release [2021-10-20T23:59:12.866Z] + cd /tmp/sdk/build/release [2021-10-20T23:59:12.866Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-20T23:59:13.127Z] -- The C compiler identification is GNU 10.3.1 [2021-10-20T23:59:13.127Z] -- Detecting C compiler ABI info [2021-10-20T23:59:13.127Z] -- Detecting C compiler ABI info - done [2021-10-20T23:59:13.127Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-20T23:59:13.127Z] -- Detecting C compile features [2021-10-20T23:59:13.127Z] -- Detecting C compile features - done [2021-10-20T23:59:13.127Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-20T23:59:13.127Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-20T23:59:13.127Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-20T23:59:13.127Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-20T23:59:13.127Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-20T23:59:13.127Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-20T23:59:13.127Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-20T23:59:13.127Z] -- C SDK 0.0.0 for Linux [2021-10-20T23:59:13.127Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-20T23:59:13.127Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-20T23:59:13.389Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-20T23:59:13.389Z] -- Configuring done [2021-10-20T23:59:13.389Z] -- Generating done [2021-10-20T23:59:13.389Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-20T23:59:13.389Z] + tee release.log [2021-10-20T23:59:13.389Z] + make all package [2021-10-20T23:59:13.389Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-20T23:59:13.389Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-20T23:59:13.651Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-20T23:59:13.912Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-20T23:59:14.174Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-20T23:59:14.174Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-20T23:59:14.436Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-20T23:59:14.436Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-20T23:59:14.436Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-20T23:59:14.698Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-20T23:59:14.961Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-20T23:59:15.222Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-20T23:59:15.222Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-20T23:59:15.485Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-20T23:59:15.485Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-20T23:59:15.751Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-20T23:59:15.751Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-20T23:59:16.328Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-20T23:59:16.328Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-20T23:59:16.328Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-20T23:59:16.328Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-20T23:59:16.590Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-20T23:59:16.590Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-20T23:59:16.590Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-20T23:59:16.590Z] 275 | const iot_component_factory_t * factory; [2021-10-20T23:59:16.590Z] | ^~~~~~~ [2021-10-20T23:59:16.851Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-20T23:59:17.434Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-20T23:59:17.434Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-20T23:59:17.695Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-20T23:59:17.695Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-20T23:59:17.956Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-20T23:59:17.956Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-20T23:59:18.215Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-20T23:59:18.216Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-20T23:59:18.476Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-20T23:59:18.476Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-20T23:59:18.476Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-20T23:59:19.053Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-20T23:59:19.053Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-20T23:59:19.317Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-20T23:59:19.317Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-20T23:59:20.263Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-20T23:59:20.263Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-20T23:59:20.263Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-20T23:59:20.526Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-20T23:59:20.526Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-20T23:59:20.526Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:20.526Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-20T23:59:20.526Z] | ^~~~~~~~~~~~~ [2021-10-20T23:59:20.526Z] | | [2021-10-20T23:59:20.526Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-20T23:59:20.526Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:20.526Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2021-10-20T23:59:20.526Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-20T23:59:20.526Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-20T23:59:20.526Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-20T23:59:20.526Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:20.526Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-20T23:59:20.526Z] | ^~~~~~~~~~~~ [2021-10-20T23:59:20.526Z] | | [2021-10-20T23:59:20.526Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-20T23:59:20.526Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:20.526Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-20T23:59:20.526Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-20T23:59:20.526Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-20T23:59:20.526Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:20.526Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-20T23:59:20.526Z] | ^~~~~~~~~~~~ [2021-10-20T23:59:20.526Z] | | [2021-10-20T23:59:20.526Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-20T23:59:20.526Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:20.526Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-20T23:59:20.526Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-20T23:59:20.526Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-20T23:59:20.526Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-20T23:59:21.101Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-20T23:59:21.101Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-20T23:59:21.101Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-20T23:59:21.101Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-20T23:59:21.677Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-20T23:59:22.254Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-20T23:59:22.516Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-20T23:59:22.516Z] [ 76%] Linking C shared library libcsdk.so [2021-10-20T23:59:22.776Z] [ 76%] Built target csdk [2021-10-20T23:59:22.776Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-20T23:59:22.776Z] [ 79%] Linking C executable template [2021-10-20T23:59:22.776Z] [ 79%] Built target template [2021-10-20T23:59:22.776Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-20T23:59:23.040Z] [ 82%] Linking C executable device-counter [2021-10-20T23:59:23.041Z] [ 82%] Built target device-counter [2021-10-20T23:59:23.041Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-20T23:59:23.041Z] [ 85%] Linking C executable device-random [2021-10-20T23:59:23.308Z] [ 85%] Built target device-random [2021-10-20T23:59:23.308Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-20T23:59:23.308Z] [ 88%] Linking C executable device-gyro [2021-10-20T23:59:23.308Z] [ 88%] Built target device-gyro [2021-10-20T23:59:23.308Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-20T23:59:23.569Z] [ 91%] Linking C executable device-bitfields [2021-10-20T23:59:23.569Z] [ 91%] Built target device-bitfields [2021-10-20T23:59:23.569Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-20T23:59:23.569Z] [ 94%] Linking C executable template-discovery [2021-10-20T23:59:23.834Z] [ 94%] Built target template-discovery [2021-10-20T23:59:23.834Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-20T23:59:23.834Z] [ 97%] Linking C executable device-file [2021-10-20T23:59:23.834Z] [ 97%] Built target device-file [2021-10-20T23:59:23.834Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-20T23:59:24.095Z] [100%] Linking C executable device-terminal [2021-10-20T23:59:24.095Z] [100%] Built target device-terminal [2021-10-20T23:59:24.095Z] Run CPack packaging tool... [2021-10-20T23:59:24.095Z] CPack: Create package using TGZ [2021-10-20T23:59:24.095Z] CPack: Install projects [2021-10-20T23:59:24.095Z] CPack: - Run preinstall target for: Csdk [2021-10-20T23:59:24.355Z] CPack: - Install project: Csdk [] [2021-10-20T23:59:24.355Z] CPack: Create package [2021-10-20T23:59:24.355Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-20T23:59:24.355Z] + '[' false '=' true ] [2021-10-20T23:59:24.355Z] + '[' false '=' true ] [2021-10-20T23:59:24.355Z] + mkdir -p /tmp/sdk/build/debug [2021-10-20T23:59:24.355Z] + cd /tmp/sdk/build/debug [2021-10-20T23:59:24.355Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-20T23:59:24.616Z] -- The C compiler identification is GNU 10.3.1 [2021-10-20T23:59:24.616Z] -- Detecting C compiler ABI info [2021-10-20T23:59:24.616Z] -- Detecting C compiler ABI info - done [2021-10-20T23:59:24.616Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-20T23:59:24.616Z] -- Detecting C compile features [2021-10-20T23:59:24.616Z] -- Detecting C compile features - done [2021-10-20T23:59:24.616Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-20T23:59:24.616Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-20T23:59:24.616Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-20T23:59:24.616Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-20T23:59:24.616Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-20T23:59:24.616Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-20T23:59:24.616Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-20T23:59:24.616Z] -- C SDK 0.0.0 for Linux [2021-10-20T23:59:24.616Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-20T23:59:24.616Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-20T23:59:24.876Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-20T23:59:24.877Z] -- Configuring done [2021-10-20T23:59:24.877Z] -- Generating done [2021-10-20T23:59:24.877Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-20T23:59:24.877Z] + make [2021-10-20T23:59:24.877Z] + tee debug.log [2021-10-20T23:59:24.877Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-20T23:59:24.877Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-20T23:59:25.137Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-20T23:59:25.137Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-20T23:59:25.138Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-20T23:59:25.138Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-20T23:59:25.398Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-20T23:59:25.398Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-20T23:59:25.398Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-20T23:59:25.661Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-20T23:59:25.661Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-20T23:59:25.661Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-20T23:59:25.923Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-20T23:59:25.923Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-20T23:59:25.923Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-20T23:59:25.923Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-20T23:59:26.184Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-20T23:59:26.184Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-20T23:59:26.184Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-20T23:59:26.445Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-20T23:59:26.445Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-20T23:59:26.445Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-20T23:59:26.445Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-20T23:59:26.445Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-20T23:59:26.445Z] 275 | const iot_component_factory_t * factory; [2021-10-20T23:59:26.445Z] | ^~~~~~~ [2021-10-20T23:59:26.445Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-20T23:59:26.706Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-20T23:59:26.706Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-20T23:59:26.968Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-20T23:59:26.968Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-20T23:59:26.968Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-20T23:59:26.968Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-20T23:59:27.226Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-20T23:59:27.226Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-20T23:59:27.226Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-20T23:59:27.226Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-20T23:59:27.226Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-20T23:59:27.314Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-737 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [Pipeline] { [Pipeline] ws [2021-10-20T23:59:27.353Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-10-20T23:59:27.487Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-20T23:59:27.487Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-20T23:59:27.487Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-20T23:59:27.605Z] Selected Git installation does not exist. Using Default [2021-10-20T23:59:27.605Z] The recommended git tool is: NONE [2021-10-20T23:59:27.749Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-20T23:59:27.749Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-20T23:59:28.010Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-20T23:59:28.010Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-20T23:59:28.010Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-20T23:59:28.010Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-20T23:59:28.010Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:28.010Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-20T23:59:28.010Z] | ^~~~~~~~~~~~~ [2021-10-20T23:59:28.010Z] | | [2021-10-20T23:59:28.010Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-20T23:59:28.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:28.010Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2021-10-20T23:59:28.010Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-20T23:59:28.010Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-20T23:59:28.010Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-20T23:59:28.010Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:28.010Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-20T23:59:28.010Z] | ^~~~~~~~~~~~ [2021-10-20T23:59:28.010Z] | | [2021-10-20T23:59:28.010Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-20T23:59:28.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:28.010Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-20T23:59:28.010Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-20T23:59:28.010Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-20T23:59:28.010Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-20T23:59:28.010Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-20T23:59:28.010Z] | ^~~~~~~~~~~~ [2021-10-20T23:59:28.010Z] | | [2021-10-20T23:59:28.010Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-20T23:59:28.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-20T23:59:28.011Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-20T23:59:28.011Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-20T23:59:28.011Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-20T23:59:28.011Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-20T23:59:28.273Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-20T23:59:28.534Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-20T23:59:28.534Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-20T23:59:28.534Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-20T23:59:28.796Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-20T23:59:28.796Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-20T23:59:29.056Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-20T23:59:29.056Z] [ 76%] Linking C shared library libcsdk.so [2021-10-20T23:59:29.056Z] [ 76%] Built target csdk [2021-10-20T23:59:29.056Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-20T23:59:29.056Z] [ 79%] Linking C executable template [2021-10-20T23:59:29.056Z] [ 79%] Built target template [2021-10-20T23:59:29.056Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-20T23:59:29.320Z] [ 82%] Linking C executable device-counter [2021-10-20T23:59:29.320Z] [ 82%] Built target device-counter [2021-10-20T23:59:29.320Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-20T23:59:29.320Z] [ 85%] Linking C executable device-random [2021-10-20T23:59:29.320Z] [ 85%] Built target device-random [2021-10-20T23:59:29.320Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-20T23:59:29.582Z] [ 88%] Linking C executable device-gyro [2021-10-20T23:59:29.582Z] [ 88%] Built target device-gyro [2021-10-20T23:59:29.582Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-20T23:59:29.582Z] [ 91%] Linking C executable device-bitfields [2021-10-20T23:59:29.582Z] [ 91%] Built target device-bitfields [2021-10-20T23:59:29.582Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-20T23:59:29.843Z] [ 94%] Linking C executable template-discovery [2021-10-20T23:59:29.843Z] [ 94%] Built target template-discovery [2021-10-20T23:59:29.843Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-20T23:59:29.843Z] [ 97%] Linking C executable device-file [2021-10-20T23:59:29.843Z] [ 97%] Built target device-file [2021-10-20T23:59:29.843Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-20T23:59:30.106Z] [100%] Linking C executable device-terminal [2021-10-20T23:59:30.106Z] [100%] Built target device-terminal [2021-10-20T23:59:30.106Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 76%] Built target csdk [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 79%] Built target template [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 82%] Built target device-counter [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 85%] Built target device-random [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 88%] Built target device-gyro [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 91%] Built target device-bitfields [2021-10-20T23:59:30.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.106Z] [ 94%] Built target template-discovery [2021-10-20T23:59:30.369Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.369Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.369Z] [ 97%] Built target device-file [2021-10-20T23:59:30.369Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.369Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.369Z] [100%] Built target device-terminal [2021-10-20T23:59:30.369Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.369Z] Install the project... [2021-10-20T23:59:30.369Z] -- Install configuration: "Release" [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-20T23:59:30.369Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-20T23:59:30.369Z] -- Up-to-date: /usr/local/include [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/devsdk [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/component.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/config.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/container.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/data.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/json.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/os.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/time.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/os [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-20T23:59:30.369Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-20T23:59:30.369Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-20T23:59:30.939Z] Removing intermediate container 89978de85e6b [2021-10-20T23:59:30.939Z] ---> 9c4ce7df832b [2021-10-20T23:59:30.939Z] Step 16/24 : FROM ${BASE} [2021-10-20T23:59:30.939Z] ---> a4e04833b611 [2021-10-20T23:59:30.939Z] Step 17/24 : LABEL maintainer="IOTech " [2021-10-20T23:59:30.939Z] ---> Running in d10f0095f360 [2021-10-20T23:59:30.939Z] Removing intermediate container d10f0095f360 [2021-10-20T23:59:30.939Z] ---> d462f1e18d6d [2021-10-20T23:59:30.939Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-20T23:59:30.939Z] ---> Running in d764736592e7 [2021-10-20T23:59:31.199Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-20T23:59:31.463Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-20T23:59:31.463Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-20T23:59:31.463Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-20T23:59:31.725Z] Removing intermediate container d764736592e7 [2021-10-20T23:59:31.725Z] ---> c0995e617afa [2021-10-20T23:59:31.725Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-20T23:59:31.725Z] ---> Running in 9df43161aafc [2021-10-20T23:59:32.297Z] Removing intermediate container 9df43161aafc [2021-10-20T23:59:32.297Z] ---> 8c3d203bdbf1 [2021-10-20T23:59:32.297Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-20T23:59:32.297Z] ---> Running in 1c2530d79a62 [2021-10-20T23:59:32.558Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:33.499Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:33.499Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:33.915Z] using credential edgex-jenkins-ssh [2021-10-20T23:59:33.935Z] Cloning the remote Git repository [2021-10-20T23:59:34.067Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-20T23:59:34.067Z] (1/7) Installing curl (7.79.1-r0) [2021-10-20T23:59:34.067Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-20T23:59:34.327Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-20T23:59:34.327Z] (4/7) Installing libuuid (2.37-r0) [2021-10-20T23:59:34.327Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-20T23:59:33.981Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:59:34.089Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-10-20T23:59:34.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:59:34.176Z] > git --version # timeout=10 [2021-10-20T23:59:34.192Z] > git --version # 'git version 2.17.1' [2021-10-20T23:59:34.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:59:34.273Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:59:35.267Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-20T23:59:35.267Z] (7/7) Installing wget (1.21.1-r1) [2021-10-20T23:59:35.533Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T23:59:35.533Z] OK: 282 MiB in 84 packages [2021-10-20T23:59:35.794Z] Removing intermediate container 1c2530d79a62 [2021-10-20T23:59:35.794Z] ---> 2dac06632566 [2021-10-20T23:59:35.794Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-20T23:59:36.060Z] ---> 1f0239fd5962 [2021-10-20T23:59:36.060Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-20T23:59:36.060Z] ---> 1db1e326023f [2021-10-20T23:59:36.060Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-20T23:59:36.320Z] ---> a83abe6d53c1 [2021-10-20T23:59:36.320Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-20T23:59:36.320Z] ---> 5caed3dddbed [2021-10-20T23:59:36.320Z] Successfully built 5caed3dddbed [2021-10-20T23:59:36.320Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [2021-10-20T23:59:35.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-20T23:59:35.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T23:59:35.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-20T23:59:35.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-20T23:59:35.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:59:35.710Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] } [2021-10-20T23:59:36.409Z] Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:59:36.644Z] Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f [2021-10-20T23:59:36.645Z] Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) [2021-10-20T23:59:36.904Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T23:59:36.904Z] . [Pipeline] withDockerContainer [2021-10-20T23:59:36.984Z] prd-centos7-docker-4c-2g-738 does not seem to be running inside a container [2021-10-20T23:59:37.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-20T23:59:37.347Z] $ docker top fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T23:59:37.745Z] + make test [2021-10-20T23:59:37.745Z] echo "make test" [2021-10-20T23:59:37.745Z] make test [Pipeline] } [2021-10-20T23:59:37.770Z] $ docker stop --time=1 fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff [2021-10-20T23:59:36.423Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:59:36.435Z] > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 [2021-10-20T23:59:36.557Z] > git remote # timeout=10 [2021-10-20T23:59:36.579Z] > git config --get remote.origin.url # timeout=10 [2021-10-20T23:59:36.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T23:59:36.602Z] > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 [2021-10-20T23:59:36.625Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-20T23:59:36.646Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T23:59:36.660Z] > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 [2021-10-20T23:59:38.942Z] $ docker rm -f fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T23:59:39.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-20T23:59:40.130Z] + ls -al . [2021-10-20T23:59:40.130Z] total 172 [2021-10-20T23:59:40.130Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 20 23:58 . [2021-10-20T23:59:40.130Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 23:58 .. [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 3104 Oct 20 23:58 Attribution.txt [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 7767 Oct 20 23:58 CHANGES [2021-10-20T23:59:40.130Z] drwxrwxr-x. 2 jenkins jenkins 121 Oct 20 23:58 docs [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 108574 Oct 20 23:58 Doxyfile [2021-10-20T23:59:40.130Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 23:58 .git [2021-10-20T23:59:40.130Z] drwxrwxr-x. 3 jenkins jenkins 103 Oct 20 23:58 .github [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 176 Oct 20 23:58 .gitignore [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 20 23:58 GOVERNANCE.md [2021-10-20T23:59:40.130Z] drwxrwxr-x. 4 jenkins jenkins 33 Oct 20 23:58 include [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 784 Oct 20 23:58 Jenkinsfile [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 10174 Oct 20 23:58 LICENSE [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 444 Oct 20 23:58 Makefile [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 618 Oct 20 23:58 OWNERS.md [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 4086 Oct 20 23:58 README.md [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 7422 Oct 20 23:58 README.v2.md [2021-10-20T23:59:40.130Z] drwxrwxr-x. 2 jenkins jenkins 98 Oct 20 23:58 scripts [2021-10-20T23:59:40.130Z] drwxrwxr-x. 4 jenkins jenkins 50 Oct 20 23:58 src [2021-10-20T23:59:40.130Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 23:53 VERSION [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:59:40.462Z] + 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=e64122104add324c714acf1d14cb311d02ae154f --label arch=amd64 --label version=0.0.0 . [2021-10-20T23:59:40.462Z] Sending build context to Docker daemon 2.724MB [2021-10-20T23:59:40.462Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-20T23:59:40.462Z] Step 2/17 : FROM ${BASE} [2021-10-20T23:59:40.462Z] ---> 5caed3dddbed [2021-10-20T23:59:40.462Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-20T23:59:40.462Z] ---> Running in 4a1d61984b12 [2021-10-20T23:59:40.729Z] Removing intermediate container 4a1d61984b12 [2021-10-20T23:59:40.729Z] ---> c1b650ec7569 [2021-10-20T23:59:40.729Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-20T23:59:40.729Z] ---> Running in 2c9654114d50 [2021-10-20T23:59:40.990Z] --2021-10-20 23:59:40-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-20T23:59:40.990Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 [2021-10-20T23:59:40.990Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2021-10-20T23:59:41.032Z] Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" [2021-10-20T23:59:41.092Z] > git --version # timeout=10 [2021-10-20T23:59:41.100Z] > git --version # 'git version 2.17.1' [2021-10-20T23:59:41.110Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T23:59:41.250Z] HTTP request sent, awaiting response... 200 OK [2021-10-20T23:59:41.250Z] Length: unspecified [application/json] [2021-10-20T23:59:41.250Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-20T23:59:41.250Z]  [2021-10-20T23:59:41.250Z] 0K  154M=0s [2021-10-20T23:59:41.250Z] [2021-10-20T23:59:41.250Z] 2021-10-20 23:59:41 (154 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-20T23:59:41.250Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-10-20T23:59:41.511Z] Removing intermediate container 2c9654114d50 [2021-10-20T23:59:41.511Z] ---> 856c383e6c85 [2021-10-20T23:59:41.511Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-20T23:59:41.511Z] ---> Running in f63823f22b79 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T23:59:42.084Z] Removing intermediate container f63823f22b79 [2021-10-20T23:59:42.084Z] ---> e3b83eda5ca1 [2021-10-20T23:59:42.084Z] 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-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-10-20T23:59:42.084Z] ---> Running in a06bddb0b877 [2021-10-20T23:59:42.084Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:42.198Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-20T23:59:42.198Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T23:59:42.198Z] Dload Upload Total Spent Left Speed [2021-10-20T23:59:42.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63913 0 --:--:-- --:--:-- --:--:-- 63913 [Pipeline] sh [2021-10-20T23:59:42.752Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-20T23:59:43.027Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:43.134Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2021-10-20T23:59:43.134Z] /etc/docker/daemon.new [2021-10-20T23:59:43.134Z] { [2021-10-20T23:59:43.134Z] "registry-mirrors": [ [2021-10-20T23:59:43.134Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-20T23:59:43.134Z] ], [2021-10-20T23:59:43.134Z] "bip": "10.250.0.254/24", [2021-10-20T23:59:43.134Z] "hosts": [ [2021-10-20T23:59:43.134Z] "tcp://0.0.0.0:5555", [2021-10-20T23:59:43.134Z] "unix:///var/run/docker.sock" [2021-10-20T23:59:43.134Z] ], [2021-10-20T23:59:43.134Z] "mtu": 1458, [2021-10-20T23:59:43.134Z] "selinux-enabled": true, [2021-10-20T23:59:43.134Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-20T23:59:43.134Z] } [Pipeline] sh [2021-10-20T23:59:43.512Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-20T23:59:43.599Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T23:59:43.860Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-20T23:59:43.860Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-20T23:59:43.894Z] + sudo service docker restart [2021-10-20T23:59:44.122Z] (2/21) Installing libblkid (2.37-r0) [2021-10-20T23:59:44.122Z] (3/21) Installing blkid (2.37-r0) [2021-10-20T23:59:44.122Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-10-20T23:59:44.382Z] (5/21) Installing setpriv (2.37-r0) [2021-10-20T23:59:44.382Z] (6/21) Installing libmount (2.37-r0) [2021-10-20T23:59:44.645Z] (7/21) Installing libsmartcols (2.37-r0) [2021-10-20T23:59:44.645Z] (8/21) Installing findmnt (2.37-r0) [2021-10-20T23:59:44.645Z] (9/21) Installing mcookie (2.37-r0) [2021-10-20T23:59:44.906Z] (10/21) Installing hexdump (2.37-r0) [2021-10-20T23:59:44.906Z] (11/21) Installing lsblk (2.37-r0) [2021-10-20T23:59:45.168Z] (12/21) Installing libfdisk (2.37-r0) [2021-10-20T23:59:45.168Z] (13/21) Installing sfdisk (2.37-r0) [2021-10-20T23:59:45.427Z] (14/21) Installing cfdisk (2.37-r0) [2021-10-20T23:59:45.427Z] (15/21) Installing partx (2.37-r0) [2021-10-20T23:59:45.427Z] (16/21) Installing flock (2.37-r0) [2021-10-20T23:59:45.688Z] (17/21) Installing logger (2.37-r0) [2021-10-20T23:59:45.688Z] (18/21) Installing uuidgen (2.37-r0) [2021-10-20T23:59:45.948Z] (19/21) Installing libeconf (0.3.8-r1) [2021-10-20T23:59:45.948Z] (20/21) Installing util-linux (2.37-r0) [2021-10-20T23:59:46.214Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-10-20T23:59:46.214Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T23:59:46.214Z] OK: 291 MiB in 105 packages [2021-10-20T23:59:46.789Z] Removing intermediate container a06bddb0b877 [2021-10-20T23:59:46.789Z] ---> 2173ffcfc2f5 [2021-10-20T23:59:46.789Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-20T23:59:46.789Z] ---> 25524470babf [2021-10-20T23:59:46.789Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-20T23:59:47.050Z] ---> 7f23c44dd64c [2021-10-20T23:59:47.050Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-20T23:59:47.314Z] ---> 569005d512ea [2021-10-20T23:59:47.314Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-20T23:59:47.314Z] ---> 7f7c616dca88 [2021-10-20T23:59:47.314Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-20T23:59:47.575Z] ---> 5da0265b8edd [2021-10-20T23:59:47.575Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-20T23:59:47.575Z] ---> 69b73a95b8a3 [2021-10-20T23:59:47.575Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-20T23:59:47.575Z] ---> Running in 4521178ebec4 [2021-10-20T23:59:47.575Z] Removing intermediate container 4521178ebec4 [2021-10-20T23:59:47.575Z] ---> 98cd3d0d79b6 [2021-10-20T23:59:47.575Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-20T23:59:47.836Z] ---> Running in 8663a8046a7d [2021-10-20T23:59:47.836Z] Removing intermediate container 8663a8046a7d [2021-10-20T23:59:47.836Z] ---> ca634cda07d8 [2021-10-20T23:59:47.836Z] Step 15/17 : LABEL arch=amd64 [2021-10-20T23:59:47.837Z] ---> Running in e83d7034da3d [2021-10-20T23:59:47.837Z] Removing intermediate container e83d7034da3d [2021-10-20T23:59:47.837Z] ---> b55e41d39d9a [2021-10-20T23:59:47.837Z] Step 16/17 : LABEL git_sha=e64122104add324c714acf1d14cb311d02ae154f [2021-10-20T23:59:47.837Z] ---> Running in 78adc9f265f3 [2021-10-20T23:59:48.098Z] Removing intermediate container 78adc9f265f3 [2021-10-20T23:59:48.098Z] ---> 263c32cfd40e [2021-10-20T23:59:48.098Z] Step 17/17 : LABEL version=0.0.0 [2021-10-20T23:59:48.098Z] ---> Running in 6272e342b22c [2021-10-20T23:59:48.098Z] Removing intermediate container 6272e342b22c [2021-10-20T23:59:48.098Z] ---> c74c2883b437 [2021-10-20T23:59:48.098Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-10-20T23:59:48.098Z] Successfully built c74c2883b437 [2021-10-20T23:59:48.098Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:59:48.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:59:48.970Z] [2021-10-20T23:59:48.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T23:59:49.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:59:49.335Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T23:59:49.335Z] b4d181a07f80: Pulling fs layer [2021-10-20T23:59:49.335Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T23:59:49.335Z] ed53099fbce6: Pulling fs layer [2021-10-20T23:59:49.335Z] dc539afda2c1: Pulling fs layer [2021-10-20T23:59:49.335Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T23:59:49.335Z] 9065ff56babe: Pulling fs layer [2021-10-20T23:59:49.335Z] d287ab97295c: Pulling fs layer [2021-10-20T23:59:49.335Z] 77bc0d833cb6: Waiting [2021-10-20T23:59:49.335Z] 9065ff56babe: Waiting [2021-10-20T23:59:49.335Z] dc539afda2c1: Waiting [2021-10-20T23:59:49.335Z] d287ab97295c: Waiting [2021-10-20T23:59:49.335Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T23:59:49.335Z] a1111a8f2ec3: Download complete [2021-10-20T23:59:49.335Z] dc539afda2c1: Verifying Checksum [2021-10-20T23:59:49.336Z] dc539afda2c1: Download complete [2021-10-20T23:59:49.605Z] ed53099fbce6: Verifying Checksum [2021-10-20T23:59:49.605Z] ed53099fbce6: Download complete [2021-10-20T23:59:49.605Z] 9065ff56babe: Verifying Checksum [2021-10-20T23:59:49.605Z] 9065ff56babe: Download complete [2021-10-20T23:59:49.605Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T23:59:49.605Z] 77bc0d833cb6: Download complete [2021-10-20T23:59:49.605Z] b4d181a07f80: Verifying Checksum [2021-10-20T23:59:49.605Z] b4d181a07f80: Download complete [2021-10-20T23:59:50.183Z] d287ab97295c: Verifying Checksum [2021-10-20T23:59:50.183Z] d287ab97295c: Download complete [2021-10-20T23:59:51.160Z] b4d181a07f80: Pull complete [2021-10-20T23:59:51.428Z] a1111a8f2ec3: Pull complete [2021-10-20T23:59:52.016Z] ed53099fbce6: Pull complete [2021-10-20T23:59:52.016Z] dc539afda2c1: Pull complete [2021-10-20T23:59:52.286Z] 77bc0d833cb6: Pull complete [2021-10-20T23:59:52.286Z] 9065ff56babe: Pull complete [2021-10-20T23:59:57.617Z] d287ab97295c: Pull complete [2021-10-20T23:59:57.617Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T23:59:57.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T23:59:57.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T23:59:57.708Z] prd-centos7-docker-4c-2g-738 does not seem to be running inside a container [2021-10-20T23:59:57.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T00:00:00.061Z] $ docker top 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:00:00.503Z] ---> job-cost.sh [2021-10-21T00:00:00.503Z] lf-activate-venv: SKIPPING [2021-10-21T00:00:00.503Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T00:00:02.369Z] provisioning config files... [2021-10-21T00:00:02.399Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1509752427461995434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:00:02.807Z] ---> docker-login.sh [2021-10-21T00:00:02.807Z] nexus3.edgexfoundry.org:10001 [2021-10-21T00:00:04.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T00:00:05.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T00:00:05.094Z] Configure a credential helper to remove this warning. See [2021-10-21T00:00:05.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T00:00:05.094Z] [2021-10-21T00:00:05.094Z] Login Succeeded [2021-10-21T00:00:05.094Z] nexus3.edgexfoundry.org:10002 [2021-10-21T00:00:05.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T00:00:05.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T00:00:05.707Z] Configure a credential helper to remove this warning. See [2021-10-21T00:00:05.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T00:00:05.707Z] [2021-10-21T00:00:05.707Z] Login Succeeded [2021-10-21T00:00:05.707Z] nexus3.edgexfoundry.org:10003 [2021-10-21T00:00:05.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T00:00:06.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T00:00:06.265Z] Configure a credential helper to remove this warning. See [2021-10-21T00:00:06.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T00:00:06.265Z] [2021-10-21T00:00:06.265Z] Login Succeeded [2021-10-21T00:00:06.265Z] nexus3.edgexfoundry.org:10004 [2021-10-21T00:00:06.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T00:00:06.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T00:00:06.822Z] Configure a credential helper to remove this warning. See [2021-10-21T00:00:06.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T00:00:06.822Z] [2021-10-21T00:00:06.822Z] Login Succeeded [2021-10-21T00:00:06.822Z] docker.io [2021-10-21T00:00:07.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-21T00:00:07.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-21T00:00:07.703Z] Configure a credential helper to remove this warning. See [2021-10-21T00:00:07.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-21T00:00:07.703Z] [2021-10-21T00:00:07.703Z] Login Succeeded [2021-10-21T00:00:07.703Z] ---> docker-login.sh ends [Pipeline] } [2021-10-21T00:00:07.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-21T00:00:08.339Z] ========================================================= [2021-10-21T00:00:08.339Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-10-21T00:00:08.339Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:00:08.777Z] + 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-10-21T00:00:09.086Z] Sending build context to Docker daemon 2.723MB [2021-10-21T00:00:09.372Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-10-21T00:00:09.372Z] Step 2/24 : FROM ${BASE} as builder [2021-10-21T00:00:09.372Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-10-21T00:00:09.372Z] 552d1f2373af: Pulling fs layer [2021-10-21T00:00:09.372Z] f2be2b6548c6: Pulling fs layer [2021-10-21T00:00:09.372Z] ee4ac2fe028c: Pulling fs layer [2021-10-21T00:00:09.655Z] f2be2b6548c6: Download complete [2021-10-21T00:00:09.655Z] 552d1f2373af: Download complete [2021-10-21T00:00:10.268Z] 552d1f2373af: Pull complete [2021-10-21T00:00:10.549Z] f2be2b6548c6: Pull complete [2021-10-21T00:00:11.549Z] ee4ac2fe028c: Verifying Checksum [2021-10-21T00:00:11.549Z] ee4ac2fe028c: Download complete [2021-10-21T00:00:19.916Z] ee4ac2fe028c: Pull complete [2021-10-21T00:00:19.916Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-10-21T00:00:19.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-21T00:00:19.916Z] ---> b6d714ea7bf2 [2021-10-21T00:00:19.916Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-21T00:00:22.472Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T00:00:22.472Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T00:00:22.786Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-10-21T00:00:22.786Z] + cut -d, -f6 [Pipeline] lock [2021-10-21T00:00:22.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [2021-10-21T00:00:22.844Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] did not exist. Created. [2021-10-21T00:00:22.845Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T00:00:23.221Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-21T00:00:23.330Z] ---> Running in dc0783206d76 [2021-10-21T00:00:23.442Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T00:00:23.460Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T00:00:23.517Z] $ docker stop --time=1 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 [2021-10-21T00:00:24.648Z] $ docker rm -f 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-21T00:00:25.322Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-21T00:00:25.922Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T00:00:25.922Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T00:00:25.922Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T00:00:26.916Z] Removing intermediate container dc0783206d76 [2021-10-21T00:00:26.916Z] ---> a825eca19c3e [2021-10-21T00:00:26.916Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T00:00:26.916Z] ---> Running in 5c071ae56504 [2021-10-21T00:00:28.907Z] Removing intermediate container 5c071ae56504 [2021-10-21T00:00:28.907Z] ---> 74ccac3ca91b [2021-10-21T00:00:28.907Z] Step 5/24 : 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-1.3 hiredis-dev [2021-10-21T00:00:28.907Z] ---> Running in e14f4d7cbfe9 [2021-10-21T00:00:29.897Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:00:31.345Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T00:00:31.345Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:00:32.346Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T00:00:32.346Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-21T00:00:32.346Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-21T00:00:32.346Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T00:00:32.627Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T00:00:33.625Z] (5/27) Installing libblkid (2.37-r0) [2021-10-21T00:00:33.625Z] (6/27) Installing blkid (2.37-r0) [2021-10-21T00:00:33.904Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-21T00:00:33.904Z] (8/27) Installing setpriv (2.37-r0) [2021-10-21T00:00:33.904Z] (9/27) Installing libmount (2.37-r0) [2021-10-21T00:00:34.184Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-21T00:00:34.184Z] (11/27) Installing findmnt (2.37-r0) [2021-10-21T00:00:34.184Z] (12/27) Installing mcookie (2.37-r0) [2021-10-21T00:00:34.462Z] (13/27) Installing hexdump (2.37-r0) [2021-10-21T00:00:34.462Z] (14/27) Installing lsblk (2.37-r0) [2021-10-21T00:00:34.462Z] (15/27) Installing libuuid (2.37-r0) [2021-10-21T00:00:34.739Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-21T00:00:34.739Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-21T00:00:34.739Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-21T00:00:35.019Z] (19/27) Installing partx (2.37-r0) [2021-10-21T00:00:35.019Z] (20/27) Installing flock (2.37-r0) [2021-10-21T00:00:35.019Z] (21/27) Installing logger (2.37-r0) [2021-10-21T00:00:35.298Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-21T00:00:35.298Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-21T00:00:35.298Z] (24/27) Installing util-linux (2.37-r0) [2021-10-21T00:00:35.906Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-21T00:00:35.906Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-21T00:00:35.906Z] (27/27) Installing wget (1.21.1-r1) [2021-10-21T00:00:36.186Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T00:00:36.186Z] OK: 286 MiB in 104 packages [2021-10-21T00:00:38.207Z] Removing intermediate container e14f4d7cbfe9 [2021-10-21T00:00:38.207Z] ---> 951e22aebfd9 [2021-10-21T00:00:38.207Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-10-21T00:00:38.207Z] ---> Running in 44ce4e1232dd [2021-10-21T00:00:38.484Z] Removing intermediate container 44ce4e1232dd [2021-10-21T00:00:38.484Z] ---> 5916a6b47e00 [2021-10-21T00:00:38.484Z] Step 7/24 : 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-10-21T00:00:38.764Z] ---> Running in dd2ca37c9092 [2021-10-21T00:00:40.233Z] --2021-10-21 00:00:39-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-21T00:00:40.233Z] Resolving github.com (github.com)... 140.82.112.4 [2021-10-21T00:00:40.233Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-10-21T00:00:40.233Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T00:00:40.233Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-21T00:00:40.233Z] --2021-10-21 00:00:40-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-21T00:00:40.233Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-10-21T00:00:40.233Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-10-21T00:00:40.514Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T00:00:40.514Z] Length: unspecified [application/x-gzip] [2021-10-21T00:00:40.514Z] Saving to: 'STDOUT' [2021-10-21T00:00:40.514Z]  [2021-10-21T00:00:40.514Z] 0K .......... .......... .......... .......... .......... 1.14M [2021-10-21T00:00:40.514Z] 50K .......... .......... .......... .......... .......... 2.21M [2021-10-21T00:00:40.514Z] 100K .......... .......... .......... .......... .......... 2.30M [2021-10-21T00:00:40.514Z] 150K .......... .......... .......... .......... .......... 13.9M [2021-10-21T00:00:40.514Z] 200K .......... .......... .......... .......... .......... 9.95M [2021-10-21T00:00:40.514Z] 250K .......... .......... .......... .......... .......... 3.27M [2021-10-21T00:00:40.514Z] 300K .......... .......... .......... .......... .......... 4.46M [2021-10-21T00:00:40.514Z] 350K .......... .......... .......... .......... .......... 4.77M [2021-10-21T00:00:40.514Z] 400K .......... .......... .......... .......... .......... 3.60M [2021-10-21T00:00:40.514Z] 450K .......... .......... .......... .......... .......... 4.17M [2021-10-21T00:00:40.514Z] 500K .......... .......... .......... .......... .......... 7.67M [2021-10-21T00:00:40.514Z] 550K .......... .......... .......... .......... .......... 2.92M [2021-10-21T00:00:40.514Z] 600K .......... .......... .......... .......... .......... 884K [2021-10-21T00:00:40.514Z] 650K .......... .......... .......... .......... .......... 2.96M [2021-10-21T00:00:40.514Z] 700K .. 332K=0.3s [2021-10-21T00:00:40.514Z] [2021-10-21T00:00:40.514Z] 2021-10-21 00:00:40 (2.64 MB/s) - written to stdout [719348] [2021-10-21T00:00:40.514Z] [2021-10-21T00:00:41.125Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T00:00:41.125Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-21T00:00:41.406Z] -- Detecting C compiler ABI info [2021-10-21T00:00:41.685Z] -- Detecting C compiler ABI info - done [2021-10-21T00:00:41.685Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T00:00:41.685Z] -- Detecting C compile features [2021-10-21T00:00:41.685Z] -- Detecting C compile features - done [2021-10-21T00:00:41.685Z] -- Detecting CXX compiler ABI info [2021-10-21T00:00:41.964Z] -- Detecting CXX compiler ABI info - done [2021-10-21T00:00:41.965Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-21T00:00:41.965Z] -- Detecting CXX compile features [2021-10-21T00:00:41.965Z] -- Detecting CXX compile features - done [2021-10-21T00:00:41.965Z] -- Looking for include file endian.h [2021-10-21T00:00:42.243Z] -- Looking for include file endian.h - found [2021-10-21T00:00:42.243Z] -- Looking for sys/types.h [2021-10-21T00:00:42.521Z] -- Looking for sys/types.h - found [2021-10-21T00:00:42.521Z] -- Looking for stdint.h [2021-10-21T00:00:42.801Z] -- Looking for stdint.h - found [2021-10-21T00:00:42.801Z] -- Looking for stddef.h [2021-10-21T00:00:43.079Z] -- Looking for stddef.h - found [2021-10-21T00:00:43.079Z] -- Check size of size_t [2021-10-21T00:00:43.362Z] -- Check size of size_t - done [2021-10-21T00:00:43.362Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-21T00:00:43.362Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-21T00:00:43.362Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-21T00:00:43.362Z] CMake did not find one. [2021-10-21T00:00:43.362Z] [2021-10-21T00:00:43.362Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-21T00:00:43.362Z] the following names: [2021-10-21T00:00:43.362Z] [2021-10-21T00:00:43.362Z] cJSONConfig.cmake [2021-10-21T00:00:43.362Z] cjson-config.cmake [2021-10-21T00:00:43.362Z] [2021-10-21T00:00:43.362Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-21T00:00:43.362Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-21T00:00:43.362Z] provides a separate development package or SDK, be sure it has been [2021-10-21T00:00:43.362Z] installed. [2021-10-21T00:00:43.362Z] [2021-10-21T00:00:43.362Z] [2021-10-21T00:00:43.362Z] -- Configuring done [2021-10-21T00:00:43.665Z] -- Generating done [2021-10-21T00:00:43.665Z] -- Build files have been written to: /tmp/cbor [2021-10-21T00:00:43.665Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-21T00:00:44.662Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-21T00:00:45.661Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-21T00:00:45.979Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T00:00:46.587Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-21T00:00:46.872Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-21T00:00:47.155Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-21T00:00:47.155Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-21T00:00:47.434Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-21T00:00:48.042Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-21T00:00:48.645Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-21T00:00:48.923Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-21T00:00:49.201Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-21T00:00:49.800Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-21T00:00:50.078Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-21T00:00:50.357Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-21T00:00:50.634Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-21T00:00:50.912Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-21T00:00:51.186Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-21T00:00:51.464Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-21T00:00:51.744Z] [ 40%] Linking C shared library libcbor.so [2021-10-21T00:00:52.022Z] [ 40%] Built target cbor_shared [2021-10-21T00:00:52.022Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-21T00:00:53.025Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-21T00:00:53.629Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-21T00:00:53.904Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-21T00:00:55.920Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-21T00:00:56.197Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-21T00:00:56.475Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-21T00:00:56.475Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-21T00:00:56.757Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-21T00:00:57.362Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-21T00:00:57.966Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-21T00:00:58.245Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-21T00:00:58.849Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-21T00:00:59.455Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-21T00:00:59.736Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-21T00:01:00.013Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-21T00:01:00.291Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-21T00:01:00.572Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-21T00:01:00.849Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-21T00:01:01.449Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-21T00:01:01.449Z] [ 80%] Linking C static library libcbor.a [2021-10-21T00:01:01.727Z] [ 80%] Built target cbor [2021-10-21T00:01:01.727Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-21T00:01:02.005Z] [ 84%] Linking C executable readfile [2021-10-21T00:01:02.005Z] [ 84%] Built target readfile [2021-10-21T00:01:02.005Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-21T00:01:02.285Z] [ 88%] Linking C executable create_items [2021-10-21T00:01:02.285Z] [ 88%] Built target create_items [2021-10-21T00:01:02.563Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-21T00:01:02.563Z] [ 92%] Linking C executable sort [2021-10-21T00:01:02.842Z] [ 92%] Built target sort [2021-10-21T00:01:02.842Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-21T00:01:03.120Z] [ 96%] Linking C executable hello [2021-10-21T00:01:03.121Z] [ 96%] Built target hello [2021-10-21T00:01:03.121Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-21T00:01:03.401Z] [100%] Linking C executable streaming_parser [2021-10-21T00:01:03.401Z] [100%] Built target streaming_parser [2021-10-21T00:01:03.690Z] Install the project... [2021-10-21T00:01:03.690Z] -- Install configuration: "Release" [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-21T00:01:03.690Z] -- Up-to-date: /usr/local/include/cbor [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/include/cbor.h [2021-10-21T00:01:03.690Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-21T00:01:06.348Z] Removing intermediate container dd2ca37c9092 [2021-10-21T00:01:06.348Z] ---> 7daebef6b4c9 [2021-10-21T00:01:06.348Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-10-21T00:01:06.348Z] ---> Running in 005330883f01 [2021-10-21T00:01:08.347Z] Removing intermediate container 005330883f01 [2021-10-21T00:01:08.347Z] ---> 7d3a436aea12 [2021-10-21T00:01:08.347Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-10-21T00:01:08.625Z] ---> 5dd3e5899b3e [2021-10-21T00:01:08.625Z] Step 10/24 : COPY src /tmp/sdk/src [2021-10-21T00:01:09.618Z] ---> db0ebe5d6d45 [2021-10-21T00:01:09.618Z] Step 11/24 : COPY include /tmp/sdk/include [2021-10-21T00:01:10.232Z] ---> 54871ed4b2c7 [2021-10-21T00:01:10.232Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-10-21T00:01:11.228Z] ---> 2b80399ab720 [2021-10-21T00:01:11.228Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-10-21T00:01:11.840Z] ---> 95ccd69754f2 [2021-10-21T00:01:11.840Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-10-21T00:01:12.837Z] ---> dbda42670c3d [2021-10-21T00:01:12.837Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-21T00:01:12.837Z] ---> Running in eda9340d756e [2021-10-21T00:01:14.285Z] + CPPCHECK=false [2021-10-21T00:01:14.285Z] + DOCGEN=false [2021-10-21T00:01:14.285Z] + TOMLVER=SDK-0.2 [2021-10-21T00:01:14.285Z] + CUTILVER=1.2.2 [2021-10-21T00:01:14.285Z] + '[' 0 -gt 0 ] [2021-10-21T00:01:14.285Z] + readlink -f ./scripts/build.sh [2021-10-21T00:01:14.285Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-21T00:01:14.285Z] + dirname /tmp/sdk/scripts [2021-10-21T00:01:14.285Z] + ROOT=/tmp/sdk [2021-10-21T00:01:14.285Z] + cd /tmp/sdk [2021-10-21T00:01:14.285Z] + '[' '!' -d deps ] [2021-10-21T00:01:14.285Z] + mkdir deps [2021-10-21T00:01:14.285Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T00:01:14.285Z] + tar -C deps -z -x -f - [2021-10-21T00:01:14.285Z] --2021-10-21 00:01:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-21T00:01:14.285Z] Resolving github.com (github.com)... 140.82.114.3 [2021-10-21T00:01:14.285Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-10-21T00:01:14.285Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T00:01:14.285Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-21T00:01:14.285Z] --2021-10-21 00:01:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-21T00:01:14.285Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-10-21T00:01:14.285Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-10-21T00:01:14.566Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T00:01:14.566Z] Length: unspecified [application/x-gzip] [2021-10-21T00:01:14.566Z] Saving to: 'STDOUT' [2021-10-21T00:01:14.566Z]  [2021-10-21T00:01:14.566Z] 0K .......... ......   804K=0.02s [2021-10-21T00:01:14.566Z] [2021-10-21T00:01:14.566Z] 2021-10-21 00:01:14 (804 KB/s) - written to stdout [16451] [2021-10-21T00:01:14.566Z] [2021-10-21T00:01:14.566Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-21T00:01:14.566Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T00:01:14.566Z] + tar -C deps -z -x -f - [2021-10-21T00:01:14.566Z] --2021-10-21 00:01:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-21T00:01:14.566Z] Resolving github.com (github.com)... 140.82.114.3 [2021-10-21T00:01:14.566Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-10-21T00:01:14.850Z] HTTP request sent, awaiting response... 302 Found [2021-10-21T00:01:14.850Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-21T00:01:14.850Z] --2021-10-21 00:01:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-21T00:01:14.850Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 [2021-10-21T00:01:14.850Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. [2021-10-21T00:01:15.128Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T00:01:15.128Z] Length: unspecified [application/x-gzip] [2021-10-21T00:01:15.128Z] Saving to: 'STDOUT' [2021-10-21T00:01:15.128Z]  [2021-10-21T00:01:15.128Z] 0K .......... .......... .......... .......... .......... 1.15M [2021-10-21T00:01:15.128Z] 50K .......... .......... .......... .......... .......... 2.47M [2021-10-21T00:01:15.128Z] 100K .......... .......... .......... .......... .......... 2.45M [2021-10-21T00:01:15.128Z] 150K .......... .......... .......... .........          6.27M=0.09s [2021-10-21T00:01:15.128Z] [2021-10-21T00:01:15.128Z] 2021-10-21 00:01:15 (2.10 MB/s) - written to stdout [193961] [2021-10-21T00:01:15.128Z] [2021-10-21T00:01:15.128Z] + mkdir -p src/c/iot [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-21T00:01:15.411Z] + mkdir -p include/iot [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2021-10-21T00:01:15.411Z] + mkdir -p include/iot/os [2021-10-21T00:01:15.411Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2021-10-21T00:01:15.411Z] + mkdir -p /tmp/sdk/build/release [2021-10-21T00:01:15.411Z] + cd /tmp/sdk/build/release [2021-10-21T00:01:15.411Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-21T00:01:15.699Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T00:01:15.699Z] -- Detecting C compiler ABI info [2021-10-21T00:01:15.982Z] -- Detecting C compiler ABI info - done [2021-10-21T00:01:15.982Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T00:01:15.982Z] -- Detecting C compile features [2021-10-21T00:01:15.982Z] -- Detecting C compile features - done [2021-10-21T00:01:15.982Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T00:01:16.263Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T00:01:16.263Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T00:01:16.263Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T00:01:16.263Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T00:01:16.263Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T00:01:16.263Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T00:01:16.263Z] -- C SDK 0.0.0 for Linux [2021-10-21T00:01:16.263Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T00:01:16.548Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T00:01:16.548Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T00:01:16.829Z] -- Configuring done [2021-10-21T00:01:17.108Z] -- Generating done [2021-10-21T00:01:17.109Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-21T00:01:17.109Z] + make all package [2021-10-21T00:01:17.109Z] + tee release.log [2021-10-21T00:01:17.109Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T00:01:17.714Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T00:01:18.321Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T00:01:20.980Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T00:01:21.588Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T00:01:21.867Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T00:01:22.484Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T00:01:23.087Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T00:01:23.366Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T00:01:24.811Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T00:01:26.813Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T00:01:27.422Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T00:01:28.027Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T00:01:28.634Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T00:01:29.239Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T00:01:29.515Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T00:01:29.791Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T00:01:33.223Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T00:01:33.223Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T00:01:33.502Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T00:01:33.781Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T00:01:34.389Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T00:01:34.669Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T00:01:34.669Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T00:01:34.669Z] 275 | const iot_component_factory_t * factory; [2021-10-21T00:01:34.669Z] | ^~~~~~~ [2021-10-21T00:01:35.277Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T00:01:40.700Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T00:01:40.700Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T00:01:40.700Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T00:01:40.982Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T00:01:41.588Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T00:01:41.864Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T00:01:43.315Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T00:01:43.315Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T00:01:44.307Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T00:01:44.585Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T00:01:45.189Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T00:01:47.189Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T00:01:47.794Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T00:01:48.788Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T00:01:49.066Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T00:01:54.520Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T00:01:54.520Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T00:01:54.799Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T00:01:55.405Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T00:01:55.405Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T00:01:55.405Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:01:55.405Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T00:01:55.405Z] | ^~~~~~~~~~~~~ [2021-10-21T00:01:55.405Z] | | [2021-10-21T00:01:55.405Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T00:01:55.405Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:01:55.405Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2021-10-21T00:01:55.405Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T00:01:55.405Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T00:01:55.682Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T00:01:55.682Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:01:55.682Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T00:01:55.682Z] | ^~~~~~~~~~~~ [2021-10-21T00:01:55.682Z] | | [2021-10-21T00:01:55.682Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-21T00:01:55.682Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:01:55.683Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-21T00:01:55.683Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T00:01:55.683Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T00:01:55.683Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:01:55.683Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T00:01:55.683Z] | ^~~~~~~~~~~~ [2021-10-21T00:01:55.683Z] | | [2021-10-21T00:01:55.683Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-21T00:01:55.683Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:01:55.683Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-21T00:01:55.683Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T00:01:55.683Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T00:01:56.289Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T00:01:58.933Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T00:01:58.933Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T00:01:59.213Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T00:01:59.819Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T00:02:02.469Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T00:02:06.820Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T00:02:06.820Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T00:02:07.428Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T00:02:07.718Z] [ 76%] Built target csdk [2021-10-21T00:02:07.718Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T00:02:08.714Z] [ 79%] Linking C executable template [2021-10-21T00:02:08.714Z] [ 79%] Built target template [2021-10-21T00:02:08.994Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T00:02:09.284Z] [ 82%] Linking C executable device-counter [2021-10-21T00:02:09.564Z] [ 82%] Built target device-counter [2021-10-21T00:02:09.564Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T00:02:10.174Z] [ 85%] Linking C executable device-random [2021-10-21T00:02:10.455Z] [ 85%] Built target device-random [2021-10-21T00:02:10.455Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T00:02:11.064Z] [ 88%] Linking C executable device-gyro [2021-10-21T00:02:11.344Z] [ 88%] Built target device-gyro [2021-10-21T00:02:11.344Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T00:02:11.953Z] [ 91%] Linking C executable device-bitfields [2021-10-21T00:02:11.953Z] [ 91%] Built target device-bitfields [2021-10-21T00:02:12.233Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T00:02:12.844Z] [ 94%] Linking C executable template-discovery [2021-10-21T00:02:13.126Z] [ 94%] Built target template-discovery [2021-10-21T00:02:13.126Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T00:02:14.129Z] [ 97%] Linking C executable device-file [2021-10-21T00:02:14.129Z] [ 97%] Built target device-file [2021-10-21T00:02:14.411Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T00:02:15.019Z] [100%] Linking C executable device-terminal [2021-10-21T00:02:15.299Z] [100%] Built target device-terminal [2021-10-21T00:02:15.299Z] Run CPack packaging tool... [2021-10-21T00:02:15.299Z] CPack: Create package using TGZ [2021-10-21T00:02:15.299Z] CPack: Install projects [2021-10-21T00:02:15.299Z] CPack: - Run preinstall target for: Csdk [2021-10-21T00:02:15.907Z] CPack: - Install project: Csdk [] [2021-10-21T00:02:15.907Z] CPack: Create package [2021-10-21T00:02:16.187Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-21T00:02:16.187Z] + '[' false '=' true ] [2021-10-21T00:02:16.187Z] + '[' false '=' true ] [2021-10-21T00:02:16.187Z] + mkdir -p /tmp/sdk/build/debug [2021-10-21T00:02:16.187Z] + cd /tmp/sdk/build/debug [2021-10-21T00:02:16.187Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-21T00:02:16.467Z] -- The C compiler identification is GNU 10.3.1 [2021-10-21T00:02:16.467Z] -- Detecting C compiler ABI info [2021-10-21T00:02:16.747Z] -- Detecting C compiler ABI info - done [2021-10-21T00:02:16.747Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-21T00:02:16.747Z] -- Detecting C compile features [2021-10-21T00:02:16.747Z] -- Detecting C compile features - done [2021-10-21T00:02:16.747Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-21T00:02:17.026Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-21T00:02:17.026Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-21T00:02:17.026Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-21T00:02:17.026Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-21T00:02:17.026Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-21T00:02:17.026Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-21T00:02:17.026Z] -- C SDK 0.0.0 for Linux [2021-10-21T00:02:17.026Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-21T00:02:17.324Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-21T00:02:17.604Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-21T00:02:17.604Z] -- Configuring done [2021-10-21T00:02:17.883Z] -- Generating done [2021-10-21T00:02:17.883Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-21T00:02:17.883Z] + make [2021-10-21T00:02:17.883Z] + tee debug.log [2021-10-21T00:02:17.883Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-21T00:02:18.490Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-21T00:02:18.769Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-21T00:02:19.394Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-21T00:02:19.678Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-21T00:02:19.678Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-21T00:02:20.287Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-21T00:02:20.568Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-21T00:02:20.568Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-21T00:02:21.177Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-21T00:02:21.812Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-21T00:02:22.094Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-21T00:02:22.375Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-21T00:02:22.658Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-21T00:02:22.940Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-21T00:02:23.223Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-21T00:02:23.501Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-21T00:02:24.503Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-21T00:02:24.503Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-21T00:02:24.784Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-21T00:02:25.068Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-21T00:02:25.348Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-21T00:02:25.348Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-21T00:02:25.348Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-21T00:02:25.348Z] 275 | const iot_component_factory_t * factory; [2021-10-21T00:02:25.348Z] | ^~~~~~~ [2021-10-21T00:02:25.627Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-21T00:02:27.083Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-21T00:02:27.083Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-21T00:02:27.083Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-21T00:02:27.364Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-21T00:02:27.644Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-21T00:02:27.922Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-21T00:02:28.200Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-21T00:02:28.477Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-21T00:02:28.762Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-21T00:02:29.045Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-21T00:02:29.045Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-21T00:02:29.659Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-21T00:02:29.950Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-21T00:02:30.241Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-21T00:02:30.531Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-21T00:02:31.558Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-21T00:02:32.192Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-21T00:02:32.192Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-21T00:02:32.492Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-21T00:02:32.778Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-21T00:02:32.778Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:02:32.778Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-21T00:02:32.778Z] | ^~~~~~~~~~~~~ [2021-10-21T00:02:32.778Z] | | [2021-10-21T00:02:32.778Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-21T00:02:32.778Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:02:32.778Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2021-10-21T00:02:32.778Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-21T00:02:32.778Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-21T00:02:32.778Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-21T00:02:32.778Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:02:32.778Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-21T00:02:32.778Z] | ^~~~~~~~~~~~ [2021-10-21T00:02:32.778Z] | | [2021-10-21T00:02:32.778Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-21T00:02:32.778Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:02:32.778Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-21T00:02:32.778Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T00:02:32.778Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T00:02:32.778Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-21T00:02:32.778Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-21T00:02:32.778Z] | ^~~~~~~~~~~~ [2021-10-21T00:02:32.778Z] | | [2021-10-21T00:02:32.778Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-21T00:02:32.778Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-21T00:02:32.778Z] /usr/include/microhttpd.h:2443:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2021-10-21T00:02:32.778Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-21T00:02:32.778Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-21T00:02:33.065Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-21T00:02:34.565Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-21T00:02:34.565Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-21T00:02:34.859Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-21T00:02:35.150Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-21T00:02:36.177Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-21T00:02:36.804Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-21T00:02:37.092Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-21T00:02:37.382Z] [ 76%] Linking C shared library libcsdk.so [2021-10-21T00:02:37.672Z] [ 76%] Built target csdk [2021-10-21T00:02:37.673Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-21T00:02:37.957Z] [ 79%] Linking C executable template [2021-10-21T00:02:38.242Z] [ 79%] Built target template [2021-10-21T00:02:38.242Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-21T00:02:38.530Z] [ 82%] Linking C executable device-counter [2021-10-21T00:02:38.820Z] [ 82%] Built target device-counter [2021-10-21T00:02:38.820Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-21T00:02:39.108Z] [ 85%] Linking C executable device-random [2021-10-21T00:02:39.396Z] [ 85%] Built target device-random [2021-10-21T00:02:39.396Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-21T00:02:39.686Z] [ 88%] Linking C executable device-gyro [2021-10-21T00:02:39.973Z] [ 88%] Built target device-gyro [2021-10-21T00:02:39.973Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-21T00:02:40.264Z] [ 91%] Linking C executable device-bitfields [2021-10-21T00:02:40.556Z] [ 91%] Built target device-bitfields [2021-10-21T00:02:40.556Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-21T00:02:40.847Z] [ 94%] Linking C executable template-discovery [2021-10-21T00:02:41.138Z] [ 94%] Built target template-discovery [2021-10-21T00:02:41.138Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-21T00:02:41.768Z] [ 97%] Linking C executable device-file [2021-10-21T00:02:41.768Z] [ 97%] Built target device-file [2021-10-21T00:02:41.768Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-21T00:02:42.396Z] [100%] Linking C executable device-terminal [2021-10-21T00:02:42.686Z] [100%] Built target device-terminal [2021-10-21T00:02:42.687Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] [ 76%] Built target csdk [2021-10-21T00:02:42.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] [ 79%] Built target template [2021-10-21T00:02:42.687Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.687Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 82%] Built target device-counter [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 85%] Built target device-random [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 88%] Built target device-gyro [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 91%] Built target device-bitfields [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 94%] Built target template-discovery [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] [ 97%] Built target device-file [2021-10-21T00:02:42.977Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-21T00:02:42.977Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:43.269Z] [100%] Built target device-terminal [2021-10-21T00:02:43.269Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:43.269Z] Install the project... [2021-10-21T00:02:43.269Z] -- Install configuration: "Release" [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-21T00:02:43.269Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-21T00:02:43.269Z] -- Up-to-date: /usr/local/include [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/devsdk [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/json.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/container.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/component.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/time.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/os [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/data.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/os.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/include/iot/config.h [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-21T00:02:43.269Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-21T00:02:43.269Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-21T00:02:45.318Z] Removing intermediate container eda9340d756e [2021-10-21T00:02:45.318Z] ---> de3ad70965e9 [2021-10-21T00:02:45.318Z] Step 16/24 : FROM ${BASE} [2021-10-21T00:02:45.318Z] ---> b6d714ea7bf2 [2021-10-21T00:02:45.318Z] Step 17/24 : LABEL maintainer="IOTech " [2021-10-21T00:02:45.607Z] ---> Running in f06619227676 [2021-10-21T00:02:45.899Z] Removing intermediate container f06619227676 [2021-10-21T00:02:45.899Z] ---> cf884d4d3d51 [2021-10-21T00:02:45.899Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-21T00:02:46.526Z] ---> Running in 287a14e4265e [2021-10-21T00:02:47.546Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-21T00:02:48.178Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T00:02:48.178Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-21T00:02:48.178Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-21T00:02:49.207Z] Removing intermediate container 287a14e4265e [2021-10-21T00:02:49.207Z] ---> 1beb8ae35917 [2021-10-21T00:02:49.207Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T00:02:49.207Z] ---> Running in dc5df65af00b [2021-10-21T00:02:51.259Z] Removing intermediate container dc5df65af00b [2021-10-21T00:02:51.259Z] ---> a83195491695 [2021-10-21T00:02:51.259Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2021-10-21T00:02:51.548Z] ---> Running in 2b83605865f1 [2021-10-21T00:02:52.571Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:02:53.599Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T00:02:54.225Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:02:54.846Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T00:02:54.846Z] (1/7) Installing curl (7.79.1-r0) [2021-10-21T00:02:54.846Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-21T00:02:55.133Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-21T00:02:55.133Z] (4/7) Installing libuuid (2.37-r0) [2021-10-21T00:02:55.133Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-21T00:02:56.159Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-21T00:02:56.159Z] (7/7) Installing wget (1.21.1-r1) [2021-10-21T00:02:56.456Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T00:02:56.456Z] OK: 276 MiB in 84 packages [2021-10-21T00:02:57.487Z] Removing intermediate container 2b83605865f1 [2021-10-21T00:02:57.487Z] ---> bd82497132e4 [2021-10-21T00:02:57.487Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-21T00:02:58.506Z] ---> 28e25e3e2a66 [2021-10-21T00:02:58.506Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-21T00:02:59.135Z] ---> a3ad3e97158b [2021-10-21T00:02:59.135Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-21T00:02:59.768Z] ---> b2b22e9f23b6 [2021-10-21T00:02:59.768Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-10-21T00:03:00.395Z] ---> 497336372f02 [2021-10-21T00:03:00.701Z] Successfully built 497336372f02 [2021-10-21T00:03:00.701Z] 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-10-21T00:03:01.385Z] + docker inspect -f . ci-base-image-arm64 [2021-10-21T00:03:01.385Z] . [Pipeline] withDockerContainer [2021-10-21T00:03:01.711Z] prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container [2021-10-21T00:03:01.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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-21T00:03:03.750Z] $ docker top 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T00:03:04.821Z] + make test [2021-10-21T00:03:04.821Z] echo "make test" [2021-10-21T00:03:04.821Z] make test [Pipeline] } [2021-10-21T00:03:04.843Z] $ docker stop --time=1 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 [2021-10-21T00:03:06.943Z] $ docker rm -f 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-21T00:03:08.174Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-21T00:03:09.176Z] + ls -al . [2021-10-21T00:03:09.176Z] total 200 [2021-10-21T00:03:09.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 23:59 . [2021-10-21T00:03:09.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 .. [2021-10-21T00:03:09.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 23:59 .git [2021-10-21T00:03:09.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 23:59 .github [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 20 23:59 .gitignore [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 20 23:59 Attribution.txt [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 7767 Oct 20 23:59 CHANGES [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 20 23:59 Doxyfile [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 23:59 GOVERNANCE.md [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 20 23:59 Jenkinsfile [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 20 23:59 LICENSE [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 20 23:59 Makefile [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 20 23:59 OWNERS.md [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 20 23:59 README.md [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 20 23:59 README.v2.md [2021-10-21T00:03:09.176Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 23:53 VERSION [2021-10-21T00:03:09.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 23:59 docs [2021-10-21T00:03:09.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 include [2021-10-21T00:03:09.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 23:59 scripts [2021-10-21T00:03:09.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 src [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:03:09.652Z] + 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=e64122104add324c714acf1d14cb311d02ae154f --label arch=arm64 --label version=0.0.0 . [2021-10-21T00:03:10.338Z] Sending build context to Docker daemon 2.723MB [2021-10-21T00:03:10.338Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-10-21T00:03:10.338Z] Step 2/17 : FROM ${BASE} [2021-10-21T00:03:10.338Z] ---> 497336372f02 [2021-10-21T00:03:10.338Z] Step 3/17 : LABEL maintainer="IOTech " [2021-10-21T00:03:10.338Z] ---> Running in ef1abe1ed2b3 [2021-10-21T00:03:10.983Z] Removing intermediate container ef1abe1ed2b3 [2021-10-21T00:03:10.983Z] ---> 4d11c7cc0c20 [2021-10-21T00:03:10.983Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-21T00:03:10.983Z] ---> Running in 7cd02cbb9b6e [2021-10-21T00:03:12.511Z] --2021-10-21 00:03:12-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-10-21T00:03:12.511Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.195.244.87, 54.229.110.245 [2021-10-21T00:03:12.511Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. [2021-10-21T00:03:12.809Z] HTTP request sent, awaiting response... 200 OK [2021-10-21T00:03:12.809Z] Length: unspecified [application/json] [2021-10-21T00:03:12.809Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-21T00:03:12.809Z]  [2021-10-21T00:03:12.809Z] 0K    44.3M=0s [2021-10-21T00:03:12.809Z] [2021-10-21T00:03:12.809Z] 2021-10-21 00:03:12 (44.3 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-10-21T00:03:12.809Z] [2021-10-21T00:03:13.828Z] Removing intermediate container 7cd02cbb9b6e [2021-10-21T00:03:13.828Z] ---> c7bf39287dd2 [2021-10-21T00:03:13.828Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-21T00:03:13.828Z] ---> Running in fc191a625898 [2021-10-21T00:03:16.549Z] Removing intermediate container fc191a625898 [2021-10-21T00:03:16.549Z] ---> d95e95cb160a [2021-10-21T00:03:16.549Z] 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-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2021-10-21T00:03:16.549Z] ---> Running in 285a4222a859 [2021-10-21T00:03:18.022Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:03:18.631Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-21T00:03:19.243Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-21T00:03:19.848Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-21T00:03:19.848Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-21T00:03:19.848Z] (2/21) Installing libblkid (2.37-r0) [2021-10-21T00:03:20.124Z] (3/21) Installing blkid (2.37-r0) [2021-10-21T00:03:20.124Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-10-21T00:03:20.124Z] (5/21) Installing setpriv (2.37-r0) [2021-10-21T00:03:20.402Z] (6/21) Installing libmount (2.37-r0) [2021-10-21T00:03:20.402Z] (7/21) Installing libsmartcols (2.37-r0) [2021-10-21T00:03:20.677Z] (8/21) Installing findmnt (2.37-r0) [2021-10-21T00:03:20.677Z] (9/21) Installing mcookie (2.37-r0) [2021-10-21T00:03:20.677Z] (10/21) Installing hexdump (2.37-r0) [2021-10-21T00:03:20.954Z] (11/21) Installing lsblk (2.37-r0) [2021-10-21T00:03:20.954Z] (12/21) Installing libfdisk (2.37-r0) [2021-10-21T00:03:20.954Z] (13/21) Installing sfdisk (2.37-r0) [2021-10-21T00:03:21.232Z] (14/21) Installing cfdisk (2.37-r0) [2021-10-21T00:03:21.232Z] (15/21) Installing partx (2.37-r0) [2021-10-21T00:03:21.232Z] (16/21) Installing flock (2.37-r0) [2021-10-21T00:03:21.511Z] (17/21) Installing logger (2.37-r0) [2021-10-21T00:03:21.511Z] (18/21) Installing uuidgen (2.37-r0) [2021-10-21T00:03:21.511Z] (19/21) Installing libeconf (0.3.8-r1) [2021-10-21T00:03:21.786Z] (20/21) Installing util-linux (2.37-r0) [2021-10-21T00:03:22.062Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-10-21T00:03:22.338Z] Executing busybox-1.33.1-r3.trigger [2021-10-21T00:03:22.338Z] OK: 286 MiB in 105 packages [2021-10-21T00:03:24.337Z] Removing intermediate container 285a4222a859 [2021-10-21T00:03:24.337Z] ---> ce1b8ed99669 [2021-10-21T00:03:24.337Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-10-21T00:03:24.946Z] ---> f655252a7eee [2021-10-21T00:03:24.946Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-10-21T00:03:25.943Z] ---> 616c563bc5b1 [2021-10-21T00:03:25.943Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-10-21T00:03:26.962Z] ---> ea5a5ad35166 [2021-10-21T00:03:26.962Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-10-21T00:03:27.568Z] ---> 9d8832a79cb7 [2021-10-21T00:03:27.568Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-10-21T00:03:28.561Z] ---> eef468cd57d8 [2021-10-21T00:03:28.561Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-10-21T00:03:29.168Z] ---> 91c259f1ba90 [2021-10-21T00:03:29.168Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-10-21T00:03:29.168Z] ---> Running in d5a04a774c6c [2021-10-21T00:03:29.773Z] Removing intermediate container d5a04a774c6c [2021-10-21T00:03:29.773Z] ---> c25f05caf5a7 [2021-10-21T00:03:29.773Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-10-21T00:03:29.773Z] ---> Running in 0e52401b29a0 [2021-10-21T00:03:30.380Z] Removing intermediate container 0e52401b29a0 [2021-10-21T00:03:30.380Z] ---> 12a0cc136966 [2021-10-21T00:03:30.380Z] Step 15/17 : LABEL arch=arm64 [2021-10-21T00:03:30.655Z] ---> Running in e917afe6774f [2021-10-21T00:03:30.932Z] Removing intermediate container e917afe6774f [2021-10-21T00:03:30.932Z] ---> 2934618cedcb [2021-10-21T00:03:30.932Z] Step 16/17 : LABEL git_sha=e64122104add324c714acf1d14cb311d02ae154f [2021-10-21T00:03:31.213Z] ---> Running in a3f88f3b4d86 [2021-10-21T00:03:31.489Z] Removing intermediate container a3f88f3b4d86 [2021-10-21T00:03:31.489Z] ---> d0f0b4eacfe4 [2021-10-21T00:03:31.489Z] Step 17/17 : LABEL version=0.0.0 [2021-10-21T00:03:31.769Z] ---> Running in 12da142480c0 [2021-10-21T00:03:32.048Z] Removing intermediate container 12da142480c0 [2021-10-21T00:03:32.048Z] ---> 90a5364f0e9c [2021-10-21T00:03:32.048Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-10-21T00:03:32.325Z] Successfully built 90a5364f0e9c [2021-10-21T00:03:32.325Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:03:33.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T00:03:33.099Z] [2021-10-21T00:03:33.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:03:33.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T00:03:34.046Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-21T00:03:34.046Z] 448f6bf000e3: Pulling fs layer [2021-10-21T00:03:34.046Z] f757da607395: Pulling fs layer [2021-10-21T00:03:34.046Z] 05883995daec: Pulling fs layer [2021-10-21T00:03:34.046Z] 8603b9c90790: Pulling fs layer [2021-10-21T00:03:34.046Z] 1560dd03e051: Pulling fs layer [2021-10-21T00:03:34.046Z] 27f5ce0e4adf: Pulling fs layer [2021-10-21T00:03:34.046Z] c2d8d7efcc4b: Pulling fs layer [2021-10-21T00:03:34.046Z] 1560dd03e051: Waiting [2021-10-21T00:03:34.046Z] 27f5ce0e4adf: Waiting [2021-10-21T00:03:34.046Z] c2d8d7efcc4b: Waiting [2021-10-21T00:03:34.046Z] 8603b9c90790: Waiting [2021-10-21T00:03:34.328Z] f757da607395: Verifying Checksum [2021-10-21T00:03:34.328Z] f757da607395: Download complete [2021-10-21T00:03:34.328Z] 8603b9c90790: Verifying Checksum [2021-10-21T00:03:34.328Z] 8603b9c90790: Download complete [2021-10-21T00:03:34.328Z] 05883995daec: Verifying Checksum [2021-10-21T00:03:34.328Z] 05883995daec: Download complete [2021-10-21T00:03:34.610Z] 27f5ce0e4adf: Verifying Checksum [2021-10-21T00:03:34.610Z] 27f5ce0e4adf: Download complete [2021-10-21T00:03:34.610Z] 1560dd03e051: Verifying Checksum [2021-10-21T00:03:34.610Z] 1560dd03e051: Download complete [2021-10-21T00:03:34.893Z] 448f6bf000e3: Verifying Checksum [2021-10-21T00:03:34.893Z] 448f6bf000e3: Download complete [2021-10-21T00:03:37.554Z] c2d8d7efcc4b: Verifying Checksum [2021-10-21T00:03:37.554Z] c2d8d7efcc4b: Download complete [2021-10-21T00:03:38.549Z] 448f6bf000e3: Pull complete [2021-10-21T00:03:39.160Z] f757da607395: Pull complete [2021-10-21T00:03:40.621Z] 05883995daec: Pull complete [2021-10-21T00:03:41.230Z] 8603b9c90790: Pull complete [2021-10-21T00:03:42.247Z] 1560dd03e051: Pull complete [2021-10-21T00:03:42.247Z] 27f5ce0e4adf: Pull complete [2021-10-21T00:03:57.414Z] c2d8d7efcc4b: Pull complete [2021-10-21T00:03:57.414Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-21T00:03:57.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-21T00:03:57.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-21T00:03:57.729Z] prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container [2021-10-21T00:03:57.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-21T00:04:04.870Z] $ docker top fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:05.942Z] ---> job-cost.sh [2021-10-21T00:04:05.942Z] lf-activate-venv: SKIPPING [2021-10-21T00:04:05.942Z] INFO: No Stack... [2021-10-21T00:04:10.277Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-21T00:04:10.277Z] INFO: Archiving Costs [Pipeline] sh [2021-10-21T00:04:10.971Z] + + cat /w/workspace/device-sdk-c/1/archives/cost.csvcut [2021-10-21T00:04:10.971Z] -d, -f6 [Pipeline] lock [2021-10-21T00:04:11.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [2021-10-21T00:04:11.069Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] did not exist. Created. [2021-10-21T00:04:11.069Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-21T00:04:11.823Z] /w/workspace/device-sdk-c/1@tmp/durable-32339ed9/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-32339ed9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-21T00:04:12.540Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-21T00:04:12.580Z] Warning: overwriting stash ‘stack-cost’ [2021-10-21T00:04:13.413Z] Stashed 1 file(s) [Pipeline] } [2021-10-21T00:04:13.428Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-21T00:04:13.463Z] $ docker stop --time=1 fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 [2021-10-21T00:04:15.140Z] $ docker rm -f fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-21T00:04:16.846Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:17.176Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:17.768Z] ---> package-listing.sh [2021-10-21T00:04:17.768Z] ++ facter osfamily [2021-10-21T00:04:17.768Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-21T00:04:18.030Z] + OS_FAMILY=redhat [2021-10-21T00:04:18.030Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-384 [2021-10-21T00:04:18.030Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-21T00:04:18.030Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-21T00:04:18.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-21T00:04:18.030Z] + PACKAGES=/tmp/packages_start.txt [2021-10-21T00:04:18.030Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-384 ']' [2021-10-21T00:04:18.030Z] + PACKAGES=/tmp/packages_end.txt [2021-10-21T00:04:18.030Z] + case "${OS_FAMILY}" in [2021-10-21T00:04:18.030Z] + sort [2021-10-21T00:04:18.030Z] + rpm -qa [2021-10-21T00:04:18.602Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-21T00:04:18.602Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-21T00:04:18.602Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-21T00:04:18.602Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-384 ']' [2021-10-21T00:04:18.602Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives/ [2021-10-21T00:04:18.602Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives/ [Pipeline] echo [2021-10-21T00:04:18.630Z] 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-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-21T00:04:18.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:04:19.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T00:04:19.524Z] [2021-10-21T00:04:19.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-21T00:04:19.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T00:04:19.873Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-21T00:04:19.873Z] b4d181a07f80: Pulling fs layer [2021-10-21T00:04:19.873Z] a1111a8f2ec3: Pulling fs layer [2021-10-21T00:04:19.873Z] ed53099fbce6: Pulling fs layer [2021-10-21T00:04:19.873Z] dc539afda2c1: Pulling fs layer [2021-10-21T00:04:19.873Z] 77bc0d833cb6: Pulling fs layer [2021-10-21T00:04:19.873Z] 9065ff56babe: Pulling fs layer [2021-10-21T00:04:19.873Z] d287ab97295c: Pulling fs layer [2021-10-21T00:04:19.873Z] 77bc0d833cb6: Waiting [2021-10-21T00:04:19.873Z] 9065ff56babe: Waiting [2021-10-21T00:04:19.873Z] d287ab97295c: Waiting [2021-10-21T00:04:19.873Z] dc539afda2c1: Waiting [2021-10-21T00:04:19.873Z] a1111a8f2ec3: Verifying Checksum [2021-10-21T00:04:19.873Z] a1111a8f2ec3: Download complete [2021-10-21T00:04:19.873Z] dc539afda2c1: Verifying Checksum [2021-10-21T00:04:19.873Z] dc539afda2c1: Download complete [2021-10-21T00:04:20.141Z] 77bc0d833cb6: Verifying Checksum [2021-10-21T00:04:20.141Z] 77bc0d833cb6: Download complete [2021-10-21T00:04:20.141Z] 9065ff56babe: Verifying Checksum [2021-10-21T00:04:20.141Z] 9065ff56babe: Download complete [2021-10-21T00:04:20.141Z] ed53099fbce6: Verifying Checksum [2021-10-21T00:04:20.141Z] ed53099fbce6: Download complete [2021-10-21T00:04:20.141Z] b4d181a07f80: Verifying Checksum [2021-10-21T00:04:20.141Z] b4d181a07f80: Download complete [2021-10-21T00:04:20.727Z] d287ab97295c: Verifying Checksum [2021-10-21T00:04:20.727Z] d287ab97295c: Download complete [2021-10-21T00:04:21.694Z] b4d181a07f80: Pull complete [2021-10-21T00:04:21.694Z] a1111a8f2ec3: Pull complete [2021-10-21T00:04:22.264Z] ed53099fbce6: Pull complete [2021-10-21T00:04:22.264Z] dc539afda2c1: Pull complete [2021-10-21T00:04:22.524Z] 77bc0d833cb6: Pull complete [2021-10-21T00:04:22.524Z] 9065ff56babe: Pull complete [2021-10-21T00:04:27.850Z] d287ab97295c: Pull complete [2021-10-21T00:04:27.850Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-21T00:04:27.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-21T00:04:27.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-21T00:04:27.928Z] prd-centos7-docker-4c-2g-732 does not seem to be running inside a container [2021-10-21T00:04:27.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-384/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-384 -v /w/workspace/edgexfoundry_device-sdk-c_PR-384:/w/workspace/edgexfoundry_device-sdk-c_PR-384:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-21T00:04:30.645Z] $ docker top 09ab831f0929de24b393f7ec4028a53bd00edbe321b484082bf05b7d559b53b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-21T00:04:31.059Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-21T00:04:31.379Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-21T00:04:31.695Z] + ls /var/log/sa-host [2021-10-21T00:04:31.695Z] + sadf -c /var/log/sa-host/sa20 [2021-10-21T00:04:31.695Z] file_magic: OK [2021-10-21T00:04:31.695Z] HZ: Using current value: 100 [2021-10-21T00:04:31.695Z] file_header: OK [2021-10-21T00:04:31.695Z] 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-10-21T00:04:31.695Z] Statistics: [2021-10-21T00:04:31.695Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T00:04:31.695Z] File successfully converted to sysstat format version 12.0.3 [2021-10-21T00:04:31.695Z] + sadf -c /var/log/sa-host/sa21 [2021-10-21T00:04:31.695Z] file_magic: OK [2021-10-21T00:04:31.695Z] HZ: Using current value: 100 [2021-10-21T00:04:31.695Z] file_header: OK [2021-10-21T00:04:31.695Z] 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-10-21T00:04:31.695Z] Statistics: [2021-10-21T00:04:31.695Z] Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T00:04:31.695Z] File successfully converted to sysstat format version 12.0.3 [2021-10-21T00:04:31.695Z] + sadf -c /var/log/sa-host/sa30 [2021-10-21T00:04:31.695Z] file_magic: OK [2021-10-21T00:04:31.695Z] HZ: Using current value: 100 [2021-10-21T00:04:31.695Z] file_header: OK [2021-10-21T00:04:31.695Z] 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-10-21T00:04:31.695Z] Statistics: [2021-10-21T00:04:31.695Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-21T00:04:31.695Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-21T00:04:31.827Z] provisioning config files... [2021-10-21T00:04:31.842Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/config2907192880048679825tmp [Pipeline] { [Pipeline] echo [2021-10-21T00:04:31.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:32.201Z] ---> create-netrc.sh [Pipeline] } [2021-10-21T00:04:32.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:32.598Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-21T00:04:32.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:32.936Z] ---> sudo-logs.sh [2021-10-21T00:04:32.936Z] Archiving 'sudo' log.. [2021-10-21T00:04:32.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-732.novalocal: Name or service not known [2021-10-21T00:04:32.936Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-732.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-21T00:04:33.013Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:33.341Z] ---> job-cost.sh [2021-10-21T00:04:33.341Z] lf-activate-venv: SKIPPING [2021-10-21T00:04:33.341Z] DEBUG: total: 0.10999999940395355 [2021-10-21T00:04:33.341Z] INFO: Retrieving Stack Cost... [2021-10-21T00:04:33.604Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-21T00:04:34.186Z] INFO: Archiving Costs [Pipeline] echo [2021-10-21T00:04:34.214Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-21T00:04:34.543Z] ---> logs-deploy.sh [2021-10-21T00:04:34.543Z] lf-activate-venv: SKIPPING [2021-10-21T00:04:34.543Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-384/1 [2021-10-21T00:04:34.543Z] INFO: archiving workspace using pattern(s): [2021-10-21T00:04:35.491Z] Archives upload complete. [2021-10-21T00:04:35.752Z] INFO: archiving logs to Nexus