Pull request #386 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 47855ac170f4465e9bb5596a2a75fe8db84e034e+f9cc441c845f7b3b136fda20b0bd590713aa9127 (adf63cd06a38c5fa3462d5ed103da8794b450f09) 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-ssh4542232272477860052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh7366180795146318220.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-386/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-386/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6083523022256555564.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-386/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7490859493753044463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh9005031689796742036.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-386/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-386/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1876854339389812326.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13833 in /w/workspace/edgexfoundry_device-sdk-c_PR-386 [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-386 # 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-386@tmp/jenkins-gitclient-ssh3878790473085752092.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-386@tmp/jenkins-gitclient-ssh6007420982676651014.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f9cc441c845f7b3b136fda20b0bd590713aa9127 into PR head commit 47855ac170f4465e9bb5596a2a75fe8db84e034e Merge succeeded, producing 47855ac170f4465e9bb5596a2a75fe8db84e034e Checking out Revision 47855ac170f4465e9bb5596a2a75fe8db84e034e (PR-386) > git config core.sparsecheckout # timeout=10 > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # 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-386@tmp/jenkins-gitclient-ssh8104388364440242735.key > git merge f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # timeout=10 Commit message: "docs: bump VERSION" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-02T16:30:45.747Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-02T16:30:45.891Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-02T16:30:45.964Z] ========================================================= [2021-11-02T16:30:45.964Z] EdgeX Global Pipelines Version Info [2021-11-02T16:30:45.964Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:30:47.161Z] ------------------- [2021-11-02T16:30:47.161Z] stable info: [2021-11-02T16:30:47.161Z] ------------------- [2021-11-02T16:30:47.161Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-02T16:30:47.161Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-02T16:30:47.161Z] Message: update stable to v1.0.211 [2021-11-02T16:30:47.735Z] ------------------- [2021-11-02T16:30:47.735Z] experimental info: [2021-11-02T16:30:47.735Z] ------------------- [2021-11-02T16:30:47.735Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-02T16:30:47.735Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-02T16:30:47.735Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-02T16:30:47.890Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-11-02T16:30:47.927Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-11-02T16:30:47.962Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-02T16:30:47.994Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-02T16:30:48.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-02T16:30:48.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-11-02T16:30:48.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-11-02T16:30:48.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-02T16:30:48.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-02T16:30:48.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-11-02T16:30:48.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-02T16:30:48.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-02T16:30:48.295Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-02T16:30:48.331Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-02T16:30:48.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-02T16:30:48.406Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-02T16:30:48.441Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-02T16:30:48.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-386 [Pipeline] echo [2021-11-02T16:30:48.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-386 [Pipeline] echo [2021-11-02T16:30:48.552Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-386 [Pipeline] echo [2021-11-02T16:30:48.586Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47855ac170f4465e9bb5596a2a75fe8db84e034e [Pipeline] echo [2021-11-02T16:30:48.621Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47855ac [Pipeline] echo [2021-11-02T16:30:48.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:30:48.760Z] provisioning config files... [2021-11-02T16:30:48.775Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/config810846752778898585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:30:49.124Z] ---> docker-login.sh [2021-11-02T16:30:49.124Z] nexus3.edgexfoundry.org:10001 [2021-11-02T16:30:49.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:30:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:30:49.386Z] Configure a credential helper to remove this warning. See [2021-11-02T16:30:49.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:30:49.386Z] [2021-11-02T16:30:49.386Z] Login Succeeded [2021-11-02T16:30:49.386Z] nexus3.edgexfoundry.org:10002 [2021-11-02T16:30:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:30:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:30:49.386Z] Configure a credential helper to remove this warning. See [2021-11-02T16:30:49.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:30:49.386Z] [2021-11-02T16:30:49.386Z] Login Succeeded [2021-11-02T16:30:49.386Z] nexus3.edgexfoundry.org:10003 [2021-11-02T16:30:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:30:49.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:30:49.645Z] Configure a credential helper to remove this warning. See [2021-11-02T16:30:49.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:30:49.645Z] [2021-11-02T16:30:49.645Z] Login Succeeded [2021-11-02T16:30:49.645Z] nexus3.edgexfoundry.org:10004 [2021-11-02T16:30:49.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:30:49.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:30:49.645Z] Configure a credential helper to remove this warning. See [2021-11-02T16:30:49.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:30:49.645Z] [2021-11-02T16:30:49.645Z] Login Succeeded [2021-11-02T16:30:49.645Z] docker.io [2021-11-02T16:30:49.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:30:52.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:30:52.193Z] Configure a credential helper to remove this warning. See [2021-11-02T16:30:52.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:30:52.193Z] [2021-11-02T16:30:52.193Z] Login Succeeded [2021-11-02T16:30:52.193Z] ---> docker-login.sh ends [Pipeline] } [2021-11-02T16:30:52.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2021-11-02T16:30:53.204Z] + git rev-list -1 --merges 47855ac170f4465e9bb5596a2a75fe8db84e034e~1..47855ac170f4465e9bb5596a2a75fe8db84e034e [Pipeline] echo [2021-11-02T16:30:53.252Z] -----------> git rev-list -1 --merges 47855ac170f4465e9bb5596a2a75fe8db84e034e~1..47855ac170f4465e9bb5596a2a75fe8db84e034e 47855ac170f4465e9bb5596a2a75fe8db84e034e [false] [Pipeline] sh [2021-11-02T16:30:53.580Z] + git log --format=format:%s -1 47855ac170f4465e9bb5596a2a75fe8db84e034e [Pipeline] echo [2021-11-02T16:30:53.607Z] ========================================================= [2021-11-02T16:30:53.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-02T16:30:53.607Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-02T16:30:55.468Z] + git rev-list -1 --merges 47855ac170f4465e9bb5596a2a75fe8db84e034e~1..47855ac170f4465e9bb5596a2a75fe8db84e034e [Pipeline] echo [2021-11-02T16:30:55.492Z] -----------> git rev-list -1 --merges 47855ac170f4465e9bb5596a2a75fe8db84e034e~1..47855ac170f4465e9bb5596a2a75fe8db84e034e 47855ac170f4465e9bb5596a2a75fe8db84e034e [false] [Pipeline] sh [2021-11-02T16:30:55.799Z] + git log --format=format:%s -1 47855ac170f4465e9bb5596a2a75fe8db84e034e [Pipeline] echo [2021-11-02T16:30:55.831Z] ========================================================= [2021-11-02T16:30:55.831Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-02T16:30:55.831Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:30:56.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:30:56.338Z] [2021-11-02T16:30:56.338Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:30:56.678Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:30:56.678Z] latest: Pulling from edgex-devops/git-semver [2021-11-02T16:30:56.678Z] a0d0a0d46f8b: Pulling fs layer [2021-11-02T16:30:56.678Z] 3e5f54012d9b: Pulling fs layer [2021-11-02T16:30:56.678Z] 4c7163046ea9: Pulling fs layer [2021-11-02T16:30:56.678Z] 0c2d73faf560: Pulling fs layer [2021-11-02T16:30:56.678Z] 0c2d73faf560: Waiting [2021-11-02T16:30:56.678Z] 3e5f54012d9b: Verifying Checksum [2021-11-02T16:30:56.678Z] 3e5f54012d9b: Download complete [2021-11-02T16:30:56.678Z] a0d0a0d46f8b: Verifying Checksum [2021-11-02T16:30:56.678Z] a0d0a0d46f8b: Download complete [2021-11-02T16:30:56.678Z] 0c2d73faf560: Verifying Checksum [2021-11-02T16:30:56.678Z] 0c2d73faf560: Download complete [2021-11-02T16:30:56.678Z] 4c7163046ea9: Verifying Checksum [2021-11-02T16:30:56.678Z] 4c7163046ea9: Download complete [2021-11-02T16:30:56.944Z] a0d0a0d46f8b: Pull complete [2021-11-02T16:30:56.944Z] 3e5f54012d9b: Pull complete [2021-11-02T16:30:57.220Z] 4c7163046ea9: Pull complete [2021-11-02T16:30:57.482Z] 0c2d73faf560: Pull complete [2021-11-02T16:30:57.482Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-02T16:30:57.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-02T16:30:57.482Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-02T16:30:57.567Z] prd-centos7-docker-4c-2g-13833 does not seem to be running inside a container [2021-11-02T16:30:57.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-386 -v /w/workspace/edgexfoundry_device-sdk-c_PR-386:/w/workspace/edgexfoundry_device-sdk-c_PR-386:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-386@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-02T16:30:58.160Z] $ docker top d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-02T16:30:58.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:30:58.307Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:30:58.410Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:30:58.412Z] $ docker exec d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee ssh-agent [2021-11-02T16:30:58.515Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAkidOM/agent.14 [2021-11-02T16:30:58.515Z] SSH_AGENT_PID=20 [2021-11-02T16:30:58.522Z] Running ssh-add (command line suppressed) [2021-11-02T16:30:58.633Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/private_key_2988462107498409232.key (/w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/private_key_2988462107498409232.key) [2021-11-02T16:30:58.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:30:58.965Z] + git tag --points-at HEAD [Pipeline] } [2021-11-02T16:30:58.986Z] $ docker exec --env ******** --env ******** d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee ssh-agent -k [2021-11-02T16:30:59.094Z] unset SSH_AUTH_SOCK; [2021-11-02T16:30:59.094Z] unset SSH_AGENT_PID; [2021-11-02T16:30:59.094Z] echo Agent pid 20 killed; [2021-11-02T16:30:59.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-02T16:30:59.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-02T16:30:59.178Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-02T16:30:59.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-02T16:30:59.285Z] $ docker exec d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee ssh-agent [2021-11-02T16:30:59.389Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXadDcmf/agent.53 [2021-11-02T16:30:59.389Z] SSH_AGENT_PID=59 [2021-11-02T16:30:59.394Z] Running ssh-add (command line suppressed) [2021-11-02T16:30:59.478Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/private_key_9158009744092088692.key (/w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/private_key_9158009744092088692.key) [2021-11-02T16:30:59.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-02T16:30:59.807Z] + git semver init [2021-11-02T16:30:59.807Z] # -> Open(): unable to determine branch for HEAD [2021-11-02T16:30:59.807Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-386/.git [2021-11-02T16:30:59.807Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-386 [2021-11-02T16:30:59.807Z] # $SEMVER_REMOTE_NAME = origin [2021-11-02T16:30:59.807Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-02T16:30:59.807Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-02T16:30:59.807Z] # $SEMVER_BRANCH = PR-386 [2021-11-02T16:30:59.807Z] # $SEMVER_TEMP = /tmp/semver-542069034 [2021-11-02T16:30:59.807Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-11-02T16:31:00.748Z] # '/tmp/semver-542069034' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-386/.semver' [2021-11-02T16:31:00.748Z] # -> Force: false [2021-11-02T16:31:00.748Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-386/.semver [Pipeline] } [2021-11-02T16:31:00.767Z] $ docker exec --env ******** --env ******** d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee ssh-agent -k [2021-11-02T16:31:00.869Z] unset SSH_AUTH_SOCK; [2021-11-02T16:31:00.870Z] unset SSH_AGENT_PID; [2021-11-02T16:31:00.870Z] echo Agent pid 59 killed; [2021-11-02T16:31:00.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-02T16:31:01.267Z] + git semver [Pipeline] } [2021-11-02T16:31:01.291Z] $ docker stop --time=1 d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee [2021-11-02T16:31:02.599Z] $ docker rm -f d0fad66af23dc3a141f7a5ff09c6a1c53eb10b201290dd7324efe96a860dd5ee [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-02T16:31:02.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-02T16:31:03.247Z] Stashed 1 file(s) [Pipeline] echo [2021-11-02T16:31:03.265Z] [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-11-02T16:31:18.916Z] Still waiting to schedule task [2021-11-02T16:31:18.917Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-02T16:31:18.933Z] Still waiting to schedule task [2021-11-02T16:31:18.933Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13831’ is offline [2021-11-02T16:32:42.528Z] Running on prd-centos7-docker-4c-2g-13835 in /w/workspace/edgexfoundry_device-sdk-c_PR-386 [Pipeline] { [Pipeline] ws [2021-11-02T16:32:42.568Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-11-02T16:32:42.684Z] Selected Git installation does not exist. Using Default [2021-11-02T16:32:42.684Z] The recommended git tool is: NONE [2021-11-02T16:32:44.716Z] using credential edgex-jenkins-ssh [2021-11-02T16:32:44.728Z] Cloning the remote Git repository [2021-11-02T16:32:43.908Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:32:43.961Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-11-02T16:32:43.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:32:43.986Z] > git --version # timeout=10 [2021-11-02T16:32:43.992Z] > git --version # 'git version 2.24.4' [2021-11-02T16:32:43.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:32:44.031Z] [INFO] Currently running in a labeled security context [2021-11-02T16:32:44.031Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-02T16:32:44.032Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7527322856909151014.key [2021-11-02T16:32:44.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:32:44.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-02T16:32:44.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:32:44.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-02T16:32:44.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:32:44.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:32:44.852Z] [INFO] Currently running in a labeled security context [2021-11-02T16:32:44.852Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-02T16:32:44.852Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2370735469433841201.key [2021-11-02T16:32:44.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-02T16:32:46.259Z] Merging remotes/origin/main commit f9cc441c845f7b3b136fda20b0bd590713aa9127 into PR head commit 47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:32:46.363Z] Merge succeeded, producing 47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:32:46.364Z] Checking out Revision 47855ac170f4465e9bb5596a2a75fe8db84e034e (PR-386) [2021-11-02T16:32:45.426Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:32:45.433Z] > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # timeout=10 [2021-11-02T16:32:45.477Z] > git remote # timeout=10 [2021-11-02T16:32:45.483Z] > git config --get remote.origin.url # timeout=10 [2021-11-02T16:32:45.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:32:45.496Z] [INFO] Currently running in a labeled security context [2021-11-02T16:32:45.496Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-02T16:32:45.496Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3102500478690432521.key [2021-11-02T16:32:45.503Z] > git merge f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [2021-11-02T16:32:45.514Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-02T16:32:45.525Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:32:45.536Z] > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # timeout=10 [2021-11-02T16:32:50.024Z] Commit message: "docs: bump VERSION" [2021-11-02T16:32:49.206Z] > git --version # timeout=10 [2021-11-02T16:32:49.217Z] > git --version # 'git version 2.24.4' [2021-11-02T16:32:49.225Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:32:50.608Z] provisioning config files... [2021-11-02T16:32:50.623Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1340205684986182701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:32:51.049Z] ---> docker-login.sh [2021-11-02T16:32:51.050Z] nexus3.edgexfoundry.org:10001 [2021-11-02T16:32:51.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:32:51.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:32:51.313Z] Configure a credential helper to remove this warning. See [2021-11-02T16:32:51.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:32:51.313Z] [2021-11-02T16:32:51.313Z] Login Succeeded [2021-11-02T16:32:51.313Z] nexus3.edgexfoundry.org:10002 [2021-11-02T16:32:51.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:32:51.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:32:51.313Z] Configure a credential helper to remove this warning. See [2021-11-02T16:32:51.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:32:51.313Z] [2021-11-02T16:32:51.313Z] Login Succeeded [2021-11-02T16:32:51.313Z] nexus3.edgexfoundry.org:10003 [2021-11-02T16:32:51.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:32:51.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:32:51.574Z] Configure a credential helper to remove this warning. See [2021-11-02T16:32:51.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:32:51.574Z] [2021-11-02T16:32:51.574Z] Login Succeeded [2021-11-02T16:32:51.574Z] nexus3.edgexfoundry.org:10004 [2021-11-02T16:32:51.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:32:51.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:32:51.574Z] Configure a credential helper to remove this warning. See [2021-11-02T16:32:51.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:32:51.574Z] [2021-11-02T16:32:51.574Z] Login Succeeded [2021-11-02T16:32:51.574Z] docker.io [2021-11-02T16:32:51.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:32:54.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:32:54.128Z] Configure a credential helper to remove this warning. See [2021-11-02T16:32:54.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:32:54.128Z] [2021-11-02T16:32:54.128Z] Login Succeeded [2021-11-02T16:32:54.128Z] ---> docker-login.sh ends [Pipeline] } [2021-11-02T16:32:54.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-02T16:32:54.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:32:54.414Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2021-11-02T16:32:54.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:32:54.474Z] ========================================================= [2021-11-02T16:32:54.474Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-11-02T16:32:54.474Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:32:54.828Z] + 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-11-02T16:32:54.828Z] Sending build context to Docker daemon 2.725MB [2021-11-02T16:32:54.828Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-02T16:32:54.828Z] Step 2/24 : FROM ${BASE} as builder [2021-11-02T16:32:54.828Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-11-02T16:32:54.828Z] a0d0a0d46f8b: Pulling fs layer [2021-11-02T16:32:54.828Z] 39017ce70367: Pulling fs layer [2021-11-02T16:32:54.828Z] dcf9283bb20a: Pulling fs layer [2021-11-02T16:32:55.118Z] 39017ce70367: Verifying Checksum [2021-11-02T16:32:55.118Z] 39017ce70367: Download complete [2021-11-02T16:32:55.118Z] a0d0a0d46f8b: Verifying Checksum [2021-11-02T16:32:55.118Z] a0d0a0d46f8b: Download complete [2021-11-02T16:32:55.382Z] a0d0a0d46f8b: Pull complete [2021-11-02T16:32:55.382Z] 39017ce70367: Pull complete [2021-11-02T16:32:55.651Z] dcf9283bb20a: Verifying Checksum [2021-11-02T16:32:55.651Z] dcf9283bb20a: Download complete [2021-11-02T16:32:58.236Z] dcf9283bb20a: Pull complete [2021-11-02T16:32:58.236Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-11-02T16:32:58.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-11-02T16:32:58.236Z] ---> a4e04833b611 [2021-11-02T16:32:58.236Z] 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-11-02T16:32:59.191Z] ---> Running in 024eb642ce1a [2021-11-02T16:32:59.452Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-11-02T16:33:00.025Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:33:00.025Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-02T16:33:00.025Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-02T16:33:00.025Z] Removing intermediate container 024eb642ce1a [2021-11-02T16:33:00.025Z] ---> 856e37c7dcea [2021-11-02T16:33:00.025Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:33:00.025Z] ---> Running in 2ba765b5f07c [2021-11-02T16:33:00.599Z] Removing intermediate container 2ba765b5f07c [2021-11-02T16:33:00.599Z] ---> 7c80e559fdcf [2021-11-02T16:33:00.599Z] 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-11-02T16:33:00.599Z] ---> Running in ca7712cb7ec9 [2021-11-02T16:33:00.861Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:01.807Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:02.068Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:02.639Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:33:02.639Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-02T16:33:02.639Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-02T16:33:02.639Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-02T16:33:02.902Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-02T16:33:03.842Z] (5/27) Installing libblkid (2.37-r0) [2021-11-02T16:33:03.842Z] (6/27) Installing blkid (2.37-r0) [2021-11-02T16:33:03.842Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-02T16:33:04.101Z] (8/27) Installing setpriv (2.37-r0) [2021-11-02T16:33:04.101Z] (9/27) Installing libmount (2.37-r0) [2021-11-02T16:33:04.101Z] (10/27) Installing libsmartcols (2.37-r0) [2021-11-02T16:33:04.362Z] (11/27) Installing findmnt (2.37-r0) [2021-11-02T16:33:04.362Z] (12/27) Installing mcookie (2.37-r0) [2021-11-02T16:33:04.362Z] (13/27) Installing hexdump (2.37-r0) [2021-11-02T16:33:04.623Z] (14/27) Installing lsblk (2.37-r0) [2021-11-02T16:33:04.623Z] (15/27) Installing libuuid (2.37-r0) [2021-11-02T16:33:04.623Z] (16/27) Installing libfdisk (2.37-r0) [2021-11-02T16:33:04.883Z] (17/27) Installing sfdisk (2.37-r0) [2021-11-02T16:33:04.883Z] (18/27) Installing cfdisk (2.37-r0) [2021-11-02T16:33:04.883Z] (19/27) Installing partx (2.37-r0) [2021-11-02T16:33:05.144Z] (20/27) Installing flock (2.37-r0) [2021-11-02T16:33:05.144Z] (21/27) Installing logger (2.37-r0) [2021-11-02T16:33:05.144Z] (22/27) Installing uuidgen (2.37-r0) [2021-11-02T16:33:05.405Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-02T16:33:05.405Z] (24/27) Installing util-linux (2.37-r0) [2021-11-02T16:33:05.668Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-11-02T16:33:05.930Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-02T16:33:05.930Z] (27/27) Installing wget (1.21.1-r1) [2021-11-02T16:33:05.930Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:33:05.930Z] OK: 291 MiB in 104 packages [2021-11-02T16:33:06.512Z] Removing intermediate container ca7712cb7ec9 [2021-11-02T16:33:06.512Z] ---> 665869499b48 [2021-11-02T16:33:06.512Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-02T16:33:06.512Z] ---> Running in 9cb31ab5df92 [2021-11-02T16:33:06.512Z] Removing intermediate container 9cb31ab5df92 [2021-11-02T16:33:06.512Z] ---> c298e14130ed [2021-11-02T16:33:06.512Z] 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-11-02T16:33:06.512Z] ---> Running in 51cfa6d4a9c6 [2021-11-02T16:33:07.095Z] --2021-11-02 16:33:06-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-02T16:33:07.095Z] Resolving github.com (github.com)... 140.82.114.3 [2021-11-02T16:33:07.095Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-11-02T16:33:07.095Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:33:07.095Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-02T16:33:07.095Z] --2021-11-02 16:33:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-02T16:33:07.095Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-02T16:33:07.095Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-02T16:33:07.358Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:33:07.358Z] Length: unspecified [application/x-gzip] [2021-11-02T16:33:07.358Z] Saving to: 'STDOUT' [2021-11-02T16:33:07.358Z] [2021-11-02T16:33:07.358Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-11-02T16:33:07.358Z] 50K .......... .......... .......... .......... .......... 2.61M [2021-11-02T16:33:07.358Z] 100K .......... .......... .......... .......... .......... 38.8M [2021-11-02T16:33:07.358Z] 150K .......... .......... .......... .......... .......... 35.7M [2021-11-02T16:33:07.358Z] 200K .......... .......... .......... .......... .......... 2.54M [2021-11-02T16:33:07.358Z] 250K .......... .......... .......... .......... .......... 5.09M [2021-11-02T16:33:07.358Z] 300K .......... .......... .......... .......... .......... 6.82M [2021-11-02T16:33:07.358Z] 350K .......... .......... .......... .......... .......... 35.7M [2021-11-02T16:33:07.358Z] 400K .......... .......... .......... .......... .......... 11.7M [2021-11-02T16:33:07.358Z] 450K .......... .......... .......... .......... .......... 15.8M [2021-11-02T16:33:07.358Z] 500K .......... .......... .......... .......... .......... 12.5M [2021-11-02T16:33:07.358Z] 550K .......... .......... .......... .......... .......... 8.40M [2021-11-02T16:33:07.358Z] 600K .......... .......... .......... .......... .......... 3.09M [2021-11-02T16:33:07.358Z] 650K .......... .......... .......... .......... .......... 8.65M [2021-11-02T16:33:07.358Z] 700K .. 91.2M=0.1s [2021-11-02T16:33:07.358Z] [2021-11-02T16:33:07.358Z] 2021-11-02 16:33:07 (5.02 MB/s) - written to stdout [719348] [2021-11-02T16:33:07.358Z] [2021-11-02T16:33:07.358Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:33:07.621Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-02T16:33:07.621Z] -- Detecting C compiler ABI info [2021-11-02T16:33:07.621Z] -- Detecting C compiler ABI info - done [2021-11-02T16:33:07.621Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:33:07.621Z] -- Detecting C compile features [2021-11-02T16:33:07.621Z] -- Detecting C compile features - done [2021-11-02T16:33:07.621Z] -- Detecting CXX compiler ABI info [2021-11-02T16:33:07.621Z] -- Detecting CXX compiler ABI info - done [2021-11-02T16:33:07.621Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-02T16:33:07.621Z] -- Detecting CXX compile features [2021-11-02T16:33:07.621Z] -- Detecting CXX compile features - done [2021-11-02T16:33:07.621Z] -- Looking for include file endian.h [2021-11-02T16:33:07.888Z] -- Looking for include file endian.h - found [2021-11-02T16:33:07.888Z] -- Looking for sys/types.h [2021-11-02T16:33:07.888Z] -- Looking for sys/types.h - found [2021-11-02T16:33:07.888Z] -- Looking for stdint.h [2021-11-02T16:33:07.888Z] -- Looking for stdint.h - found [2021-11-02T16:33:07.888Z] -- Looking for stddef.h [2021-11-02T16:33:07.888Z] -- Looking for stddef.h - found [2021-11-02T16:33:07.888Z] -- Check size of size_t [2021-11-02T16:33:08.148Z] -- Check size of size_t - done [2021-11-02T16:33:08.148Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-02T16:33:08.148Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-02T16:33:08.148Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-02T16:33:08.148Z] CMake did not find one. [2021-11-02T16:33:08.148Z] [2021-11-02T16:33:08.148Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-02T16:33:08.148Z] the following names: [2021-11-02T16:33:08.148Z] [2021-11-02T16:33:08.148Z] cJSONConfig.cmake [2021-11-02T16:33:08.148Z] cjson-config.cmake [2021-11-02T16:33:08.148Z] [2021-11-02T16:33:08.148Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-02T16:33:08.148Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-02T16:33:08.148Z] provides a separate development package or SDK, be sure it has been [2021-11-02T16:33:08.148Z] installed. [2021-11-02T16:33:08.148Z] [2021-11-02T16:33:08.148Z] [2021-11-02T16:33:08.148Z] -- Configuring done [2021-11-02T16:33:08.148Z] -- Generating done [2021-11-02T16:33:08.148Z] -- Build files have been written to: /tmp/cbor [2021-11-02T16:33:08.148Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-02T16:33:08.412Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-02T16:33:08.413Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-02T16:33:08.413Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-02T16:33:08.675Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-02T16:33:08.675Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-02T16:33:08.675Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-02T16:33:08.936Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-02T16:33:08.936Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-02T16:33:08.936Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-02T16:33:09.197Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-02T16:33:09.197Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-02T16:33:09.197Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-02T16:33:09.459Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-02T16:33:09.460Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-02T16:33:09.460Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-02T16:33:09.726Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-02T16:33:09.726Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-02T16:33:09.726Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-02T16:33:09.726Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-02T16:33:09.726Z] [ 40%] Linking C shared library libcbor.so [2021-11-02T16:33:09.987Z] [ 40%] Built target cbor_shared [2021-11-02T16:33:09.987Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-02T16:33:09.987Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-02T16:33:10.250Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-02T16:33:10.250Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-02T16:33:10.515Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-02T16:33:10.515Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-02T16:33:10.778Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-02T16:33:10.778Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-02T16:33:10.778Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-02T16:33:10.778Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-02T16:33:11.041Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-02T16:33:11.041Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-02T16:33:11.302Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-02T16:33:11.302Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-02T16:33:11.302Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-02T16:33:11.574Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-02T16:33:11.574Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-02T16:33:11.574Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-02T16:33:11.574Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-02T16:33:11.841Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-02T16:33:11.841Z] [ 80%] Linking C static library libcbor.a [2021-11-02T16:33:11.841Z] [ 80%] Built target cbor [2021-11-02T16:33:11.841Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-02T16:33:11.841Z] [ 84%] Linking C executable readfile [2021-11-02T16:33:11.841Z] [ 84%] Built target readfile [2021-11-02T16:33:12.107Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-02T16:33:12.107Z] [ 88%] Linking C executable create_items [2021-11-02T16:33:12.107Z] [ 88%] Built target create_items [2021-11-02T16:33:12.107Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-02T16:33:12.107Z] [ 92%] Linking C executable sort [2021-11-02T16:33:12.107Z] [ 92%] Built target sort [2021-11-02T16:33:12.107Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-02T16:33:12.107Z] [ 96%] Linking C executable hello [2021-11-02T16:33:12.367Z] [ 96%] Built target hello [2021-11-02T16:33:12.367Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-02T16:33:12.367Z] [100%] Linking C executable streaming_parser [2021-11-02T16:33:12.367Z] [100%] Built target streaming_parser [2021-11-02T16:33:12.367Z] Install the project... [2021-11-02T16:33:12.367Z] -- Install configuration: "Release" [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-02T16:33:12.367Z] -- Up-to-date: /usr/local/include/cbor [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-02T16:33:12.367Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-02T16:33:12.368Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-02T16:33:12.368Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-02T16:33:12.368Z] -- Installing: /usr/local/include/cbor.h [2021-11-02T16:33:12.368Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-02T16:33:12.671Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13834 in /w/workspace/edgexfoundry_device-sdk-c_PR-386 [Pipeline] { [Pipeline] ws [2021-11-02T16:33:12.712Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-11-02T16:33:12.985Z] Removing intermediate container 51cfa6d4a9c6 [2021-11-02T16:33:12.985Z] ---> be4ade70a305 [2021-11-02T16:33:12.985Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-02T16:33:12.985Z] ---> Running in 3bac541cc58f [2021-11-02T16:33:12.990Z] Selected Git installation does not exist. Using Default [2021-11-02T16:33:12.991Z] The recommended git tool is: NONE [2021-11-02T16:33:13.560Z] Removing intermediate container 3bac541cc58f [2021-11-02T16:33:13.560Z] ---> 8f0098ea1761 [2021-11-02T16:33:13.560Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-02T16:33:13.560Z] ---> 5cd298331eff [2021-11-02T16:33:13.560Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-02T16:33:13.820Z] ---> bb74cd711fd7 [2021-11-02T16:33:13.820Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-02T16:33:14.080Z] ---> 0e734f7b0942 [2021-11-02T16:33:14.080Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-02T16:33:14.080Z] ---> ea5667f23ca6 [2021-11-02T16:33:14.080Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-02T16:33:14.343Z] ---> ebaecebfc39e [2021-11-02T16:33:14.343Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-02T16:33:14.343Z] ---> 6b81202c4b51 [2021-11-02T16:33:14.343Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-02T16:33:14.604Z] ---> Running in 834f18c4fcd5 [2021-11-02T16:33:14.865Z] + CPPCHECK=false [2021-11-02T16:33:14.865Z] + DOCGEN=false [2021-11-02T16:33:14.865Z] + TOMLVER=SDK-0.2 [2021-11-02T16:33:14.865Z] + CUTILVER=1.2.2 [2021-11-02T16:33:14.865Z] + '[' 0 -gt 0 ] [2021-11-02T16:33:14.865Z] + readlink -f ./scripts/build.sh [2021-11-02T16:33:14.865Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-02T16:33:14.865Z] + dirname /tmp/sdk/scripts [2021-11-02T16:33:14.865Z] + ROOT=/tmp/sdk [2021-11-02T16:33:14.865Z] + cd /tmp/sdk [2021-11-02T16:33:14.865Z] + '[' '!' -d deps ] [2021-11-02T16:33:14.865Z] + mkdir deps [2021-11-02T16:33:14.865Z] + tar -C deps -z -x -f - [2021-11-02T16:33:14.865Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-02T16:33:14.865Z] --2021-11-02 16:33:14-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-02T16:33:14.865Z] Resolving github.com (github.com)... 140.82.114.3 [2021-11-02T16:33:14.865Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-11-02T16:33:14.865Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:33:14.865Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-02T16:33:14.865Z] --2021-11-02 16:33:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-02T16:33:14.865Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-02T16:33:14.865Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-02T16:33:15.127Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:33:15.127Z] Length: unspecified [application/x-gzip] [2021-11-02T16:33:15.127Z] Saving to: 'STDOUT' [2021-11-02T16:33:15.127Z] [2021-11-02T16:33:15.127Z] 0K .......... ......  851K=0.02s [2021-11-02T16:33:15.127Z] [2021-11-02T16:33:15.127Z] 2021-11-02 16:33:15 (851 KB/s) - written to stdout [16451] [2021-11-02T16:33:15.127Z] [2021-11-02T16:33:15.127Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-02T16:33:15.127Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-02T16:33:15.127Z] + tar -C deps -z -x -f - [2021-11-02T16:33:15.127Z] --2021-11-02 16:33:15-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-02T16:33:15.127Z] Resolving github.com (github.com)... 140.82.114.3 [2021-11-02T16:33:15.127Z] Connecting to github.com (github.com)|140.82.114.3|:443... connected. [2021-11-02T16:33:15.389Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:33:15.389Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-02T16:33:15.389Z] --2021-11-02 16:33:15-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-02T16:33:15.389Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-02T16:33:15.389Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-02T16:33:15.650Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:33:15.650Z] Length: unspecified [application/x-gzip] [2021-11-02T16:33:15.650Z] Saving to: 'STDOUT' [2021-11-02T16:33:15.650Z] [2021-11-02T16:33:15.650Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-11-02T16:33:15.650Z] 50K .......... .......... .......... .......... .......... 2.40M [2021-11-02T16:33:15.650Z] 100K .......... .......... .......... .......... .......... 25.0M [2021-11-02T16:33:15.650Z] 150K .......... .......... .......... ......... 6.45M=0.07s [2021-11-02T16:33:15.650Z] [2021-11-02T16:33:15.650Z] 2021-11-02 16:33:15 (2.79 MB/s) - written to stdout [193961] [2021-11-02T16:33:15.650Z] [2021-11-02T16:33:15.911Z] + mkdir -p src/c/iot [2021-11-02T16:33:15.911Z] + 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-11-02T16:33:15.911Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-02T16:33:15.911Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-02T16:33:15.911Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-02T16:33:15.911Z] + mkdir -p include/iot [2021-11-02T16:33:15.911Z] + 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-11-02T16:33:15.911Z] + mkdir -p include/iot/os [2021-11-02T16:33:15.911Z] + 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-11-02T16:33:15.911Z] + mkdir -p /tmp/sdk/build/release [2021-11-02T16:33:15.911Z] + cd /tmp/sdk/build/release [2021-11-02T16:33:15.911Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-02T16:33:15.911Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:33:15.911Z] -- Detecting C compiler ABI info [2021-11-02T16:33:15.911Z] -- Detecting C compiler ABI info - done [2021-11-02T16:33:15.911Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:33:15.911Z] -- Detecting C compile features [2021-11-02T16:33:15.911Z] -- Detecting C compile features - done [2021-11-02T16:33:15.911Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-02T16:33:16.173Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-02T16:33:16.173Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-02T16:33:16.173Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-02T16:33:16.173Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-02T16:33:16.173Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-02T16:33:16.173Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-02T16:33:16.173Z] -- C SDK 0.0.0 for Linux [2021-11-02T16:33:16.173Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-02T16:33:16.173Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-02T16:33:16.173Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-02T16:33:16.173Z] -- Configuring done [2021-11-02T16:33:16.173Z] -- Generating done [2021-11-02T16:33:16.173Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-02T16:33:16.173Z] + make all package [2021-11-02T16:33:16.173Z] + tee release.log [2021-11-02T16:33:16.435Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-02T16:33:16.435Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-02T16:33:16.435Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-02T16:33:17.016Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-02T16:33:17.016Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-02T16:33:17.279Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-02T16:33:17.279Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-02T16:33:17.540Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-02T16:33:17.540Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-02T16:33:17.800Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-02T16:33:18.061Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-02T16:33:18.322Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-02T16:33:18.322Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-02T16:33:18.529Z] using credential edgex-jenkins-ssh [2021-11-02T16:33:18.545Z] Cloning the remote Git repository [2021-11-02T16:33:18.586Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-02T16:33:18.586Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-02T16:33:18.586Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-02T16:33:18.586Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-02T16:33:18.599Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:33:18.703Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-11-02T16:33:18.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:33:18.844Z] > git --version # timeout=10 [2021-11-02T16:33:18.903Z] > git --version # 'git version 2.17.1' [2021-11-02T16:33:18.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:33:19.035Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:33:19.161Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-02T16:33:19.434Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-02T16:33:19.434Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-02T16:33:19.434Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-02T16:33:19.697Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-02T16:33:19.697Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-02T16:33:19.697Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-02T16:33:19.697Z] 275 | const iot_component_factory_t * factory; [2021-11-02T16:33:19.697Z] | ^~~~~~~ [2021-11-02T16:33:19.697Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-02T16:33:20.232Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-02T16:33:20.256Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-02T16:33:20.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-02T16:33:20.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-02T16:33:20.318Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:33:20.331Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/386/head:refs/remotes/origin/PR-386 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-02T16:33:20.642Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-02T16:33:20.642Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-02T16:33:20.642Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-02T16:33:20.642Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-02T16:33:20.905Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-02T16:33:20.905Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-02T16:33:21.031Z] Merging remotes/origin/main commit f9cc441c845f7b3b136fda20b0bd590713aa9127 into PR head commit 47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:33:21.166Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-02T16:33:21.166Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-02T16:33:21.282Z] Merge succeeded, producing 47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:33:21.282Z] Checking out Revision 47855ac170f4465e9bb5596a2a75fe8db84e034e (PR-386) [2021-11-02T16:33:21.429Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-02T16:33:21.429Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-02T16:33:21.429Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-02T16:33:21.042Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:33:21.059Z] > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # timeout=10 [2021-11-02T16:33:21.189Z] > git remote # timeout=10 [2021-11-02T16:33:21.207Z] > git config --get remote.origin.url # timeout=10 [2021-11-02T16:33:21.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-02T16:33:21.235Z] > git merge f9cc441c845f7b3b136fda20b0bd590713aa9127 # timeout=10 [2021-11-02T16:33:21.259Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-02T16:33:21.282Z] > git config core.sparsecheckout # timeout=10 [2021-11-02T16:33:21.295Z] > git checkout -f 47855ac170f4465e9bb5596a2a75fe8db84e034e # timeout=10 [2021-11-02T16:33:22.005Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-02T16:33:22.005Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-02T16:33:22.271Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-02T16:33:22.271Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-02T16:33:23.217Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-02T16:33:23.217Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-02T16:33:23.217Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-02T16:33:23.479Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-02T16:33:23.479Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-02T16:33:23.479Z] | ^~~~~~~~~~~~~ [2021-11-02T16:33:23.479Z] | | [2021-11-02T16:33:23.479Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-02T16:33:23.479Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-02T16:33:23.479Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-02T16:33:23.479Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-02T16:33:23.479Z] | ^~~~~~~~~~~~ [2021-11-02T16:33:23.479Z] | | [2021-11-02T16:33:23.479Z] | 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-11-02T16:33:23.479Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:33:23.479Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-02T16:33:23.479Z] | ^~~~~~~~~~~~ [2021-11-02T16:33:23.479Z] | | [2021-11-02T16:33:23.479Z] | 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-11-02T16:33:23.479Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:23.479Z] /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-11-02T16:33:23.479Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:33:23.479Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:33:23.740Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-02T16:33:24.003Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-02T16:33:24.003Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-02T16:33:24.003Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-02T16:33:24.265Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-02T16:33:24.524Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-02T16:33:25.466Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-02T16:33:25.466Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-02T16:33:25.466Z] [ 76%] Linking C shared library libcsdk.so [2021-11-02T16:33:25.466Z] [ 76%] Built target csdk [2021-11-02T16:33:25.573Z] Commit message: "docs: bump VERSION" [2021-11-02T16:33:25.637Z] > git --version # timeout=10 [2021-11-02T16:33:25.655Z] > git --version # 'git version 2.17.1' [2021-11-02T16:33:25.671Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-02T16:33:25.732Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-02T16:33:25.732Z] [ 79%] Linking C executable template [2021-11-02T16:33:25.732Z] [ 79%] Built target template [2021-11-02T16:33:25.732Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-02T16:33:25.997Z] [ 82%] Linking C executable device-counter [2021-11-02T16:33:25.997Z] [ 82%] Built target device-counter [2021-11-02T16:33:25.997Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-02T16:33:25.997Z] [ 85%] Linking C executable device-random [2021-11-02T16:33:25.997Z] [ 85%] Built target device-random [2021-11-02T16:33:25.997Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-02T16:33:26.262Z] [ 88%] Linking C executable device-gyro [2021-11-02T16:33:26.262Z] [ 88%] Built target device-gyro [2021-11-02T16:33:26.262Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-02T16:33:26.262Z] [ 91%] Linking C executable device-bitfields [2021-11-02T16:33:26.522Z] [ 91%] Built target device-bitfields [2021-11-02T16:33:26.522Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-02T16:33:26.522Z] [ 94%] Linking C executable template-discovery [2021-11-02T16:33:26.522Z] [ 94%] Built target template-discovery [2021-11-02T16:33:26.753Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-02T16:33:26.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-02T16:33:26.753Z] Dload Upload Total Spent Left Speed [2021-11-02T16:33:26.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 81544 0 --:--:-- --:--:-- --:--:-- 82111 [2021-11-02T16:33:26.783Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-02T16:33:26.783Z] [ 97%] Linking C executable device-file [2021-11-02T16:33:26.783Z] [ 97%] Built target device-file [2021-11-02T16:33:26.783Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [Pipeline] sh [2021-11-02T16:33:27.043Z] [100%] Linking C executable device-terminal [2021-11-02T16:33:27.043Z] [100%] Built target device-terminal [2021-11-02T16:33:27.043Z] Run CPack packaging tool... [2021-11-02T16:33:27.043Z] CPack: Create package using TGZ [2021-11-02T16:33:27.043Z] CPack: Install projects [2021-11-02T16:33:27.043Z] CPack: - Run preinstall target for: Csdk [2021-11-02T16:33:27.168Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-02T16:33:27.302Z] CPack: - Install project: Csdk [] [2021-11-02T16:33:27.302Z] CPack: Create package [2021-11-02T16:33:27.302Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-02T16:33:27.302Z] + '[' false '=' true ] [2021-11-02T16:33:27.302Z] + '[' false '=' true ] [2021-11-02T16:33:27.302Z] + mkdir -p /tmp/sdk/build/debug [2021-11-02T16:33:27.302Z] + cd /tmp/sdk/build/debug [2021-11-02T16:33:27.302Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-02T16:33:27.302Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:33:27.302Z] -- Detecting C compiler ABI info [2021-11-02T16:33:27.524Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-02T16:33:27.524Z] sudo tee /etc/docker/daemon.new [2021-11-02T16:33:27.524Z] { [2021-11-02T16:33:27.524Z] "registry-mirrors": [ [2021-11-02T16:33:27.524Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-02T16:33:27.524Z] ], [2021-11-02T16:33:27.524Z] "bip": "10.250.0.254/24", [2021-11-02T16:33:27.524Z] "hosts": [ [2021-11-02T16:33:27.524Z] "tcp://0.0.0.0:5555", [2021-11-02T16:33:27.524Z] "unix:///var/run/docker.sock" [2021-11-02T16:33:27.524Z] ], [2021-11-02T16:33:27.524Z] "mtu": 1458, [2021-11-02T16:33:27.524Z] "selinux-enabled": true, [2021-11-02T16:33:27.524Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-02T16:33:27.524Z] } [Pipeline] sh [2021-11-02T16:33:27.561Z] -- Detecting C compiler ABI info - done [2021-11-02T16:33:27.561Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:33:27.561Z] -- Detecting C compile features [2021-11-02T16:33:27.561Z] -- Detecting C compile features - done [2021-11-02T16:33:27.561Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-02T16:33:27.561Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-02T16:33:27.561Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-02T16:33:27.561Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-02T16:33:27.561Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-02T16:33:27.561Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-02T16:33:27.561Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-02T16:33:27.561Z] -- C SDK 0.0.0 for Linux [2021-11-02T16:33:27.561Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-02T16:33:27.561Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-02T16:33:27.561Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-02T16:33:27.561Z] -- Configuring done [2021-11-02T16:33:27.561Z] -- Generating done [2021-11-02T16:33:27.561Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-02T16:33:27.561Z] + make [2021-11-02T16:33:27.561Z] + tee debug.log [2021-11-02T16:33:27.822Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-02T16:33:27.822Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-02T16:33:27.822Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-02T16:33:27.890Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-02T16:33:28.086Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-02T16:33:28.086Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-02T16:33:28.086Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-02T16:33:28.086Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-02T16:33:28.086Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-02T16:33:28.252Z] + sudo service docker restart [2021-11-02T16:33:28.349Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-02T16:33:28.349Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-02T16:33:28.609Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-02T16:33:28.609Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-02T16:33:28.609Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-02T16:33:28.609Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-02T16:33:28.870Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-02T16:33:28.870Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-02T16:33:28.870Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-02T16:33:29.138Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-02T16:33:29.138Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-02T16:33:29.138Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-02T16:33:29.138Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-02T16:33:29.138Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-02T16:33:29.138Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-02T16:33:29.138Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-02T16:33:29.138Z] 275 | const iot_component_factory_t * factory; [2021-11-02T16:33:29.138Z] | ^~~~~~~ [2021-11-02T16:33:29.399Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-02T16:33:29.661Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-02T16:33:29.661Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-02T16:33:29.661Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-02T16:33:29.661Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-02T16:33:29.661Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-02T16:33:29.661Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-02T16:33:29.938Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-02T16:33:29.938Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-02T16:33:29.938Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-02T16:33:29.938Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-02T16:33:29.938Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-02T16:33:30.203Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-02T16:33:30.203Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-02T16:33:30.203Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-02T16:33:30.464Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-02T16:33:30.728Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-02T16:33:30.728Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-02T16:33:30.729Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-02T16:33:30.729Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-02T16:33:30.729Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-02T16:33:30.729Z] | ^~~~~~~~~~~~~ [2021-11-02T16:33:30.729Z] | | [2021-11-02T16:33:30.729Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-02T16:33:30.729Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-02T16:33:30.729Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-02T16:33:30.729Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-02T16:33:30.729Z] | ^~~~~~~~~~~~ [2021-11-02T16:33:30.729Z] | | [2021-11-02T16:33:30.729Z] | 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-11-02T16:33:30.729Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:33:30.729Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-02T16:33:30.729Z] | ^~~~~~~~~~~~ [2021-11-02T16:33:30.729Z] | | [2021-11-02T16:33:30.729Z] | 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-11-02T16:33:30.729Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:33:30.729Z] /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-11-02T16:33:30.729Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:33:30.729Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:33:30.993Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-02T16:33:30.993Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-02T16:33:31.259Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-02T16:33:31.259Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-02T16:33:31.259Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-02T16:33:31.525Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-02T16:33:31.525Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-02T16:33:31.788Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-02T16:33:31.788Z] [ 76%] Linking C shared library libcsdk.so [2021-11-02T16:33:31.788Z] [ 76%] Built target csdk [2021-11-02T16:33:31.788Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-02T16:33:32.049Z] [ 79%] Linking C executable template [2021-11-02T16:33:32.049Z] [ 79%] Built target template [2021-11-02T16:33:32.049Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-02T16:33:32.049Z] [ 82%] Linking C executable device-counter [2021-11-02T16:33:32.049Z] [ 82%] Built target device-counter [2021-11-02T16:33:32.049Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-02T16:33:32.311Z] [ 85%] Linking C executable device-random [2021-11-02T16:33:32.311Z] [ 85%] Built target device-random [2021-11-02T16:33:32.311Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-02T16:33:32.311Z] [ 88%] Linking C executable device-gyro [2021-11-02T16:33:32.311Z] [ 88%] Built target device-gyro [2021-11-02T16:33:32.311Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-02T16:33:32.572Z] [ 91%] Linking C executable device-bitfields [2021-11-02T16:33:32.572Z] [ 91%] Built target device-bitfields [2021-11-02T16:33:32.572Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-02T16:33:32.572Z] [ 94%] Linking C executable template-discovery [2021-11-02T16:33:32.572Z] [ 94%] Built target template-discovery [2021-11-02T16:33:32.572Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-02T16:33:32.837Z] [ 97%] Linking C executable device-file [2021-11-02T16:33:32.837Z] [ 97%] Built target device-file [2021-11-02T16:33:32.837Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-02T16:33:32.837Z] [100%] Linking C executable device-terminal [2021-11-02T16:33:32.837Z] [100%] Built target device-terminal [2021-11-02T16:33:33.098Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 76%] Built target csdk [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 79%] Built target template [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 82%] Built target device-counter [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 85%] Built target device-random [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 88%] Built target device-gyro [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 91%] Built target device-bitfields [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 94%] Built target template-discovery [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [ 97%] Built target device-file [2021-11-02T16:33:33.098Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] [100%] Built target device-terminal [2021-11-02T16:33:33.098Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.098Z] Install the project... [2021-11-02T16:33:33.098Z] -- Install configuration: "Release" [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-02T16:33:33.098Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-02T16:33:33.098Z] -- Up-to-date: /usr/local/include [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/devsdk [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/component.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/config.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/container.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/data.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/json.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/os.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/time.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/os [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-02T16:33:33.098Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-02T16:33:33.098Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:33:33.681Z] Removing intermediate container 834f18c4fcd5 [2021-11-02T16:33:33.681Z] ---> 438fc112fbff [2021-11-02T16:33:33.681Z] Step 16/24 : FROM ${BASE} [2021-11-02T16:33:33.681Z] ---> a4e04833b611 [2021-11-02T16:33:33.681Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-02T16:33:33.681Z] ---> Running in d42835cc6417 [2021-11-02T16:33:33.942Z] Removing intermediate container d42835cc6417 [2021-11-02T16:33:33.942Z] ---> 116404a5ee5f [2021-11-02T16:33:33.942Z] 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-11-02T16:33:33.942Z] ---> Running in f1c1ea0f3160 [2021-11-02T16:33:34.202Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-11-02T16:33:34.466Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:33:34.466Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-02T16:33:34.466Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-02T16:33:34.728Z] Removing intermediate container f1c1ea0f3160 [2021-11-02T16:33:34.728Z] ---> b6084a713aaa [2021-11-02T16:33:34.728Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:33:34.728Z] ---> Running in fc8a83de4b96 [2021-11-02T16:33:34.991Z] Removing intermediate container fc8a83de4b96 [2021-11-02T16:33:34.991Z] ---> 2816145f733c [2021-11-02T16:33:34.991Z] 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-11-02T16:33:35.251Z] ---> Running in f07aa3958fbb [2021-11-02T16:33:35.510Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:36.080Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:36.651Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:36.911Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:33:36.911Z] (1/7) Installing curl (7.79.1-r0) [2021-11-02T16:33:36.911Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-02T16:33:37.171Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-02T16:33:37.171Z] (4/7) Installing libuuid (2.37-r0) [2021-11-02T16:33:37.433Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-02T16:33:38.007Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-02T16:33:38.007Z] (7/7) Installing wget (1.21.1-r1) [2021-11-02T16:33:38.268Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:33:38.268Z] OK: 282 MiB in 84 packages [2021-11-02T16:33:38.530Z] Removing intermediate container f07aa3958fbb [2021-11-02T16:33:38.530Z] ---> 895622cee341 [2021-11-02T16:33:38.530Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-02T16:33:38.791Z] ---> 99244f35a5aa [2021-11-02T16:33:38.791Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-02T16:33:38.791Z] ---> 2381a723d1c1 [2021-11-02T16:33:38.791Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-02T16:33:39.054Z] ---> a1dc9410920a [2021-11-02T16:33:39.054Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-02T16:33:39.317Z] ---> 41ffe4218700 [2021-11-02T16:33:39.317Z] Successfully built 41ffe4218700 [2021-11-02T16:33:39.317Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:33:39.916Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-02T16:33:39.916Z] . [Pipeline] withDockerContainer [2021-11-02T16:33:40.005Z] prd-centos7-docker-4c-2g-13835 does not seem to be running inside a container [2021-11-02T16:33:40.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-02T16:33:40.403Z] $ docker top 4dce67d5b4299f265334a9e02bbed048908353600aee3984f51feaf2b44cf242 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:33:40.801Z] + make test [2021-11-02T16:33:40.801Z] echo "make test" [2021-11-02T16:33:40.801Z] make test [Pipeline] } [2021-11-02T16:33:40.825Z] $ docker stop --time=1 4dce67d5b4299f265334a9e02bbed048908353600aee3984f51feaf2b44cf242 [2021-11-02T16:33:41.998Z] $ docker rm -f 4dce67d5b4299f265334a9e02bbed048908353600aee3984f51feaf2b44cf242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-02T16:33:43.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-02T16:33:43.702Z] + ls -al . [2021-11-02T16:33:43.702Z] total 172 [2021-11-02T16:33:43.702Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 2 16:32 . [2021-11-02T16:33:43.702Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 2 16:32 .. [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 3104 Nov 2 16:32 Attribution.txt [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 7880 Nov 2 16:32 CHANGES [2021-11-02T16:33:43.702Z] drwxrwxr-x. 2 jenkins jenkins 121 Nov 2 16:32 docs [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 108574 Nov 2 16:32 Doxyfile [2021-11-02T16:33:43.702Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 2 16:32 .git [2021-11-02T16:33:43.702Z] drwxrwxr-x. 3 jenkins jenkins 103 Nov 2 16:32 .github [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 176 Nov 2 16:32 .gitignore [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 2 16:32 GOVERNANCE.md [2021-11-02T16:33:43.702Z] drwxrwxr-x. 4 jenkins jenkins 33 Nov 2 16:32 include [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 784 Nov 2 16:32 Jenkinsfile [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 10174 Nov 2 16:32 LICENSE [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 444 Nov 2 16:32 Makefile [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 618 Nov 2 16:32 OWNERS.md [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 4086 Nov 2 16:32 README.md [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 7422 Nov 2 16:32 README.v2.md [2021-11-02T16:33:43.702Z] drwxrwxr-x. 2 jenkins jenkins 98 Nov 2 16:32 scripts [2021-11-02T16:33:43.702Z] drwxrwxr-x. 4 jenkins jenkins 50 Nov 2 16:32 src [2021-11-02T16:33:43.702Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 2 16:31 VERSION [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:33:44.029Z] + 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=47855ac170f4465e9bb5596a2a75fe8db84e034e --label arch=amd64 --label version=0.0.0 . [2021-11-02T16:33:44.029Z] Sending build context to Docker daemon 2.725MB [2021-11-02T16:33:44.029Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-11-02T16:33:44.029Z] Step 2/17 : FROM ${BASE} [2021-11-02T16:33:44.029Z] ---> 41ffe4218700 [2021-11-02T16:33:44.029Z] Step 3/17 : LABEL maintainer="IOTech " [2021-11-02T16:33:44.029Z] ---> Running in 44528f85f092 [2021-11-02T16:33:44.029Z] Removing intermediate container 44528f85f092 [2021-11-02T16:33:44.029Z] ---> 02611a48569f [2021-11-02T16:33:44.029Z] 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-11-02T16:33:44.029Z] ---> Running in 848621ba6199 [2021-11-02T16:33:44.297Z] --2021-11-02 16:33:44-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-11-02T16:33:44.297Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.229.110.245, 54.72.115.12, ... [2021-11-02T16:33:44.560Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2021-11-02T16:33:44.835Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:33:44.835Z] Length: unspecified [application/json] [2021-11-02T16:33:44.835Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:33:44.835Z]  [2021-11-02T16:33:44.835Z] 0K  120M=0s [2021-11-02T16:33:44.835Z] [2021-11-02T16:33:44.835Z] 2021-11-02 16:33:44 (120 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-11-02T16:33:44.835Z] [2021-11-02T16:33:44.835Z] Removing intermediate container 848621ba6199 [2021-11-02T16:33:44.835Z] ---> adf0174d0779 [2021-11-02T16:33:44.835Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:33:44.835Z] ---> Running in b132677e05b4 [2021-11-02T16:33:45.412Z] Removing intermediate container b132677e05b4 [2021-11-02T16:33:45.412Z] ---> 5a105c0af9db [2021-11-02T16:33:45.412Z] 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-11-02T16:33:45.412Z] ---> Running in ed99600eb12f [2021-11-02T16:33:45.670Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2021-11-02T16:33:46.614Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] configFileProvider [2021-11-02T16:33:46.659Z] provisioning config files... [2021-11-02T16:33:46.687Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9223061768172691598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:33:46.874Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-02T16:33:47.089Z] ---> docker-login.sh [2021-11-02T16:33:47.089Z] nexus3.edgexfoundry.org:10001 [2021-11-02T16:33:47.135Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:33:47.135Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-02T16:33:47.397Z] (2/21) Installing libblkid (2.37-r0) [2021-11-02T16:33:47.397Z] (3/21) Installing blkid (2.37-r0) [2021-11-02T16:33:47.397Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-11-02T16:33:47.656Z] (5/21) Installing setpriv (2.37-r0) [2021-11-02T16:33:47.656Z] (6/21) Installing libmount (2.37-r0) [2021-11-02T16:33:47.656Z] (7/21) Installing libsmartcols (2.37-r0) [2021-11-02T16:33:47.917Z] (8/21) Installing findmnt (2.37-r0) [2021-11-02T16:33:47.917Z] (9/21) Installing mcookie (2.37-r0) [2021-11-02T16:33:47.917Z] (10/21) Installing hexdump (2.37-r0) [2021-11-02T16:33:48.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:33:48.179Z] (11/21) Installing lsblk (2.37-r0) [2021-11-02T16:33:48.179Z] (12/21) Installing libfdisk (2.37-r0) [2021-11-02T16:33:48.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:33:48.397Z] Configure a credential helper to remove this warning. See [2021-11-02T16:33:48.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:33:48.397Z] [2021-11-02T16:33:48.397Z] Login Succeeded [2021-11-02T16:33:48.397Z] nexus3.edgexfoundry.org:10002 [2021-11-02T16:33:48.442Z] (13/21) Installing sfdisk (2.37-r0) [2021-11-02T16:33:48.442Z] (14/21) Installing cfdisk (2.37-r0) [2021-11-02T16:33:48.442Z] (15/21) Installing partx (2.37-r0) [2021-11-02T16:33:48.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:33:48.701Z] (16/21) Installing flock (2.37-r0) [2021-11-02T16:33:48.701Z] (17/21) Installing logger (2.37-r0) [2021-11-02T16:33:48.701Z] (18/21) Installing uuidgen (2.37-r0) [2021-11-02T16:33:48.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:33:48.956Z] Configure a credential helper to remove this warning. See [2021-11-02T16:33:48.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:33:48.956Z] [2021-11-02T16:33:48.956Z] Login Succeeded [2021-11-02T16:33:48.956Z] nexus3.edgexfoundry.org:10003 [2021-11-02T16:33:48.967Z] (19/21) Installing libeconf (0.3.8-r1) [2021-11-02T16:33:48.967Z] (20/21) Installing util-linux (2.37-r0) [2021-11-02T16:33:49.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:33:49.232Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-11-02T16:33:49.232Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:33:49.232Z] OK: 291 MiB in 105 packages [2021-11-02T16:33:49.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:33:49.507Z] Configure a credential helper to remove this warning. See [2021-11-02T16:33:49.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:33:49.507Z] [2021-11-02T16:33:49.507Z] Login Succeeded [2021-11-02T16:33:49.507Z] nexus3.edgexfoundry.org:10004 [2021-11-02T16:33:49.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:33:49.800Z] Removing intermediate container ed99600eb12f [2021-11-02T16:33:49.800Z] ---> 868cde7f9493 [2021-11-02T16:33:49.800Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-11-02T16:33:49.800Z] ---> b5658198c10d [2021-11-02T16:33:49.800Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-11-02T16:33:50.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:33:50.053Z] Configure a credential helper to remove this warning. See [2021-11-02T16:33:50.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:33:50.053Z] [2021-11-02T16:33:50.053Z] Login Succeeded [2021-11-02T16:33:50.053Z] docker.io [2021-11-02T16:33:50.060Z] ---> 3d6359c6b095 [2021-11-02T16:33:50.060Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-11-02T16:33:50.060Z] ---> 0f5fbf249740 [2021-11-02T16:33:50.060Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-11-02T16:33:50.325Z] ---> bd8faa8f3a05 [2021-11-02T16:33:50.325Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-11-02T16:33:50.325Z] ---> f93870720308 [2021-11-02T16:33:50.325Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-11-02T16:33:50.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-02T16:33:50.589Z] ---> 95c17003eee4 [2021-11-02T16:33:50.589Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-11-02T16:33:50.589Z] ---> Running in 179145fea67b [2021-11-02T16:33:50.589Z] Removing intermediate container 179145fea67b [2021-11-02T16:33:50.589Z] ---> 0ce30892e7b8 [2021-11-02T16:33:50.589Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-11-02T16:33:50.589Z] ---> Running in ef6e96e7b090 [2021-11-02T16:33:50.589Z] Removing intermediate container ef6e96e7b090 [2021-11-02T16:33:50.589Z] ---> f97a683c3a80 [2021-11-02T16:33:50.589Z] Step 15/17 : LABEL arch=amd64 [2021-11-02T16:33:50.851Z] ---> Running in 3c718cdd851c [2021-11-02T16:33:50.851Z] Removing intermediate container 3c718cdd851c [2021-11-02T16:33:50.851Z] ---> 37efe1501fad [2021-11-02T16:33:50.851Z] Step 16/17 : LABEL git_sha=47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:33:50.851Z] ---> Running in 7ba1f17b2719 [2021-11-02T16:33:50.851Z] Removing intermediate container 7ba1f17b2719 [2021-11-02T16:33:50.851Z] ---> a25b075df0e7 [2021-11-02T16:33:50.851Z] Step 17/17 : LABEL version=0.0.0 [2021-11-02T16:33:50.851Z] ---> Running in 98bf21614eb8 [2021-11-02T16:33:51.111Z] Removing intermediate container 98bf21614eb8 [2021-11-02T16:33:51.111Z] ---> d9c494a9b455 [2021-11-02T16:33:51.111Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-11-02T16:33:51.111Z] Successfully built d9c494a9b455 [2021-11-02T16:33:51.111Z] 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) [2021-11-02T16:33:52.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-02T16:33:52.306Z] Configure a credential helper to remove this warning. See [2021-11-02T16:33:52.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-02T16:33:52.306Z] [2021-11-02T16:33:52.306Z] Login Succeeded [2021-11-02T16:33:52.306Z] ---> docker-login.sh ends [Pipeline] } [2021-11-02T16:33:52.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:33:53.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:33:53.269Z] [2021-11-02T16:33:53.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2021-11-02T16:33:53.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:33:53.424Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2021-11-02T16:33:53.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-02T16:33:53.492Z] ========================================================= [2021-11-02T16:33:53.492Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-11-02T16:33:53.492Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:33:53.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:33:53.614Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-02T16:33:53.614Z] b4d181a07f80: Pulling fs layer [2021-11-02T16:33:53.614Z] a1111a8f2ec3: Pulling fs layer [2021-11-02T16:33:53.614Z] ed53099fbce6: Pulling fs layer [2021-11-02T16:33:53.614Z] dc539afda2c1: Pulling fs layer [2021-11-02T16:33:53.614Z] 77bc0d833cb6: Pulling fs layer [2021-11-02T16:33:53.614Z] 9065ff56babe: Pulling fs layer [2021-11-02T16:33:53.614Z] d287ab97295c: Pulling fs layer [2021-11-02T16:33:53.614Z] 77bc0d833cb6: Waiting [2021-11-02T16:33:53.614Z] 9065ff56babe: Waiting [2021-11-02T16:33:53.614Z] d287ab97295c: Waiting [2021-11-02T16:33:53.614Z] dc539afda2c1: Waiting [2021-11-02T16:33:53.614Z] a1111a8f2ec3: Verifying Checksum [2021-11-02T16:33:53.614Z] a1111a8f2ec3: Download complete [2021-11-02T16:33:53.614Z] dc539afda2c1: Verifying Checksum [2021-11-02T16:33:53.614Z] dc539afda2c1: Download complete [2021-11-02T16:33:53.873Z] 77bc0d833cb6: Verifying Checksum [2021-11-02T16:33:53.873Z] 77bc0d833cb6: Download complete [2021-11-02T16:33:53.873Z] ed53099fbce6: Verifying Checksum [2021-11-02T16:33:53.873Z] ed53099fbce6: Download complete [2021-11-02T16:33:53.873Z] 9065ff56babe: Verifying Checksum [2021-11-02T16:33:53.873Z] 9065ff56babe: Download complete [2021-11-02T16:33:53.873Z] b4d181a07f80: Verifying Checksum [2021-11-02T16:33:53.873Z] b4d181a07f80: Download complete [2021-11-02T16:33:53.888Z] + 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-11-02T16:33:54.447Z] d287ab97295c: Verifying Checksum [2021-11-02T16:33:54.447Z] d287ab97295c: Download complete [2021-11-02T16:33:54.491Z] Sending build context to Docker daemon 2.724MB [2021-11-02T16:33:54.491Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-02T16:33:54.491Z] Step 2/24 : FROM ${BASE} as builder [2021-11-02T16:33:54.491Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-11-02T16:33:54.491Z] 552d1f2373af: Pulling fs layer [2021-11-02T16:33:54.491Z] f2be2b6548c6: Pulling fs layer [2021-11-02T16:33:54.491Z] ee4ac2fe028c: Pulling fs layer [2021-11-02T16:33:54.491Z] f2be2b6548c6: Download complete [2021-11-02T16:33:54.769Z] 552d1f2373af: Verifying Checksum [2021-11-02T16:33:54.769Z] 552d1f2373af: Download complete [2021-11-02T16:33:55.371Z] 552d1f2373af: Pull complete [2021-11-02T16:33:55.401Z] b4d181a07f80: Pull complete [2021-11-02T16:33:55.401Z] a1111a8f2ec3: Pull complete [2021-11-02T16:33:55.646Z] f2be2b6548c6: Pull complete [2021-11-02T16:33:55.992Z] ed53099fbce6: Pull complete [2021-11-02T16:33:55.992Z] dc539afda2c1: Pull complete [2021-11-02T16:33:56.256Z] 77bc0d833cb6: Pull complete [2021-11-02T16:33:56.256Z] 9065ff56babe: Pull complete [2021-11-02T16:33:56.629Z] ee4ac2fe028c: Verifying Checksum [2021-11-02T16:33:56.629Z] ee4ac2fe028c: Download complete [2021-11-02T16:34:01.600Z] d287ab97295c: Pull complete [2021-11-02T16:34:01.600Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-02T16:34:01.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:34:01.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-02T16:34:01.681Z] prd-centos7-docker-4c-2g-13835 does not seem to be running inside a container [2021-11-02T16:34:01.724Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-02T16:34:03.885Z] $ docker top 17680328f25b076df8bbd39166a4f136d6031d78facb46d8dd149cc699b50a93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:34:04.338Z] ---> job-cost.sh [2021-11-02T16:34:04.338Z] lf-activate-venv: SKIPPING [2021-11-02T16:34:04.338Z] INFO: No Stack... [2021-11-02T16:34:04.597Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-02T16:34:04.857Z] INFO: Archiving Costs [Pipeline] sh [2021-11-02T16:34:04.930Z] ee4ac2fe028c: Pull complete [2021-11-02T16:34:04.930Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-11-02T16:34:04.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-11-02T16:34:04.931Z] ---> b6d714ea7bf2 [2021-11-02T16:34:04.931Z] 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-11-02T16:34:05.167Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-11-02T16:34:05.168Z] + cut -d, -f6 [Pipeline] lock [2021-11-02T16:34:05.207Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [2021-11-02T16:34:05.213Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] did not exist. Created. [2021-11-02T16:34:05.213Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-02T16:34:05.525Z] ---> Running in 8e0b108c709d [2021-11-02T16:34:05.592Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-02T16:34:05.781Z] Stashed 1 file(s) [Pipeline] } [2021-11-02T16:34:05.796Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-02T16:34:05.853Z] $ docker stop --time=1 17680328f25b076df8bbd39166a4f136d6031d78facb46d8dd149cc699b50a93 [2021-11-02T16:34:06.961Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-11-02T16:34:06.978Z] $ docker rm -f 17680328f25b076df8bbd39166a4f136d6031d78facb46d8dd149cc699b50a93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-02T16:34:07.239Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:34:07.239Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-02T16:34:07.239Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-02T16:34:08.221Z] Removing intermediate container 8e0b108c709d [2021-11-02T16:34:08.221Z] ---> 8b37f3492f5d [2021-11-02T16:34:08.221Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:34:08.221Z] ---> Running in 9ea461d91a2e [2021-11-02T16:34:10.198Z] Removing intermediate container 9ea461d91a2e [2021-11-02T16:34:10.198Z] ---> fb3c286563f9 [2021-11-02T16:34:10.198Z] 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-11-02T16:34:10.198Z] ---> Running in f1d7bddc96c6 [2021-11-02T16:34:11.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:34:12.614Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-02T16:34:12.886Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:34:13.480Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:34:13.480Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-02T16:34:13.751Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-02T16:34:13.751Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-02T16:34:13.751Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-02T16:34:14.732Z] (5/27) Installing libblkid (2.37-r0) [2021-11-02T16:34:15.007Z] (6/27) Installing blkid (2.37-r0) [2021-11-02T16:34:15.007Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-02T16:34:15.280Z] (8/27) Installing setpriv (2.37-r0) [2021-11-02T16:34:15.280Z] (9/27) Installing libmount (2.37-r0) [2021-11-02T16:34:15.551Z] (10/27) Installing libsmartcols (2.37-r0) [2021-11-02T16:34:15.551Z] (11/27) Installing findmnt (2.37-r0) [2021-11-02T16:34:15.551Z] (12/27) Installing mcookie (2.37-r0) [2021-11-02T16:34:15.825Z] (13/27) Installing hexdump (2.37-r0) [2021-11-02T16:34:15.825Z] (14/27) Installing lsblk (2.37-r0) [2021-11-02T16:34:15.825Z] (15/27) Installing libuuid (2.37-r0) [2021-11-02T16:34:16.097Z] (16/27) Installing libfdisk (2.37-r0) [2021-11-02T16:34:16.097Z] (17/27) Installing sfdisk (2.37-r0) [2021-11-02T16:34:16.097Z] (18/27) Installing cfdisk (2.37-r0) [2021-11-02T16:34:16.369Z] (19/27) Installing partx (2.37-r0) [2021-11-02T16:34:16.369Z] (20/27) Installing flock (2.37-r0) [2021-11-02T16:34:16.369Z] (21/27) Installing logger (2.37-r0) [2021-11-02T16:34:16.642Z] (22/27) Installing uuidgen (2.37-r0) [2021-11-02T16:34:16.642Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-02T16:34:16.642Z] (24/27) Installing util-linux (2.37-r0) [2021-11-02T16:34:17.235Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-11-02T16:34:17.235Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-02T16:34:17.235Z] (27/27) Installing wget (1.21.1-r1) [2021-11-02T16:34:17.507Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:34:17.507Z] OK: 286 MiB in 104 packages [2021-11-02T16:34:18.955Z] Removing intermediate container f1d7bddc96c6 [2021-11-02T16:34:18.955Z] ---> 32b45debff8b [2021-11-02T16:34:18.955Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-02T16:34:18.955Z] ---> Running in a2adbaad73c0 [2021-11-02T16:34:19.552Z] Removing intermediate container a2adbaad73c0 [2021-11-02T16:34:19.552Z] ---> 2c413ea05084 [2021-11-02T16:34:19.552Z] 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-11-02T16:34:19.552Z] ---> Running in 56f0c294c441 [2021-11-02T16:34:20.980Z] --2021-11-02 16:34:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-02T16:34:20.981Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-02T16:34:20.981Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-02T16:34:20.981Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:34:20.981Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-02T16:34:20.981Z] --2021-11-02 16:34:20-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-02T16:34:20.981Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-02T16:34:20.981Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-02T16:34:21.254Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:34:21.254Z] Length: unspecified [application/x-gzip] [2021-11-02T16:34:21.254Z] Saving to: 'STDOUT' [2021-11-02T16:34:21.254Z]  [2021-11-02T16:34:21.254Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-11-02T16:34:21.254Z] 50K .......... .......... .......... .......... .......... 2.32M [2021-11-02T16:34:21.254Z] 100K .......... .......... .......... .......... .......... 15.0M [2021-11-02T16:34:21.254Z] 150K .......... .......... .......... .......... .......... 2.92M [2021-11-02T16:34:21.254Z] 200K .......... .......... .......... .......... .......... 15.9M [2021-11-02T16:34:21.254Z] 250K .......... .......... .......... .......... .......... 3.22M [2021-11-02T16:34:21.254Z] 300K .......... .......... .......... .......... .......... 5.21M [2021-11-02T16:34:21.254Z] 350K .......... .......... .......... .......... .......... 4.40M [2021-11-02T16:34:21.254Z] 400K .......... .......... .......... .......... .......... 4.67M [2021-11-02T16:34:21.254Z] 450K .......... .......... .......... .......... .......... 3.22M [2021-11-02T16:34:21.254Z] 500K .......... .......... .......... .......... .......... 10.0M [2021-11-02T16:34:21.254Z] 550K .......... .......... .......... .......... .......... 1.33M [2021-11-02T16:34:21.254Z] 600K .......... .......... .......... .......... .......... 1.07M [2021-11-02T16:34:21.527Z] 650K .......... .......... .......... .......... .......... 2.70M [2021-11-02T16:34:21.527Z] 700K ..    380K=0.3s [2021-11-02T16:34:21.527Z] [2021-11-02T16:34:21.528Z] 2021-11-02 16:34:21 (2.68 MB/s) - written to stdout [719348] [2021-11-02T16:34:21.528Z] [2021-11-02T16:34:21.803Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:34:22.075Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-02T16:34:22.075Z] -- Detecting C compiler ABI info [2021-11-02T16:34:22.347Z] -- Detecting C compiler ABI info - done [2021-11-02T16:34:22.347Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:34:22.347Z] -- Detecting C compile features [2021-11-02T16:34:22.347Z] -- Detecting C compile features - done [2021-11-02T16:34:22.347Z] -- Detecting CXX compiler ABI info [2021-11-02T16:34:22.944Z] -- Detecting CXX compiler ABI info - done [2021-11-02T16:34:22.944Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-02T16:34:22.944Z] -- Detecting CXX compile features [2021-11-02T16:34:22.944Z] -- Detecting CXX compile features - done [2021-11-02T16:34:22.944Z] -- Looking for include file endian.h [2021-11-02T16:34:23.215Z] -- Looking for include file endian.h - found [2021-11-02T16:34:23.215Z] -- Looking for sys/types.h [2021-11-02T16:34:23.489Z] -- Looking for sys/types.h - found [2021-11-02T16:34:23.489Z] -- Looking for stdint.h [2021-11-02T16:34:23.761Z] -- Looking for stdint.h - found [2021-11-02T16:34:23.761Z] -- Looking for stddef.h [2021-11-02T16:34:24.033Z] -- Looking for stddef.h - found [2021-11-02T16:34:24.033Z] -- Check size of size_t [2021-11-02T16:34:24.305Z] -- Check size of size_t - done [2021-11-02T16:34:24.305Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-02T16:34:24.305Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-02T16:34:24.305Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-02T16:34:24.305Z] CMake did not find one. [2021-11-02T16:34:24.305Z] [2021-11-02T16:34:24.305Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-02T16:34:24.305Z] the following names: [2021-11-02T16:34:24.305Z] [2021-11-02T16:34:24.305Z] cJSONConfig.cmake [2021-11-02T16:34:24.305Z] cjson-config.cmake [2021-11-02T16:34:24.305Z] [2021-11-02T16:34:24.305Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-02T16:34:24.305Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-02T16:34:24.305Z] provides a separate development package or SDK, be sure it has been [2021-11-02T16:34:24.305Z] installed. [2021-11-02T16:34:24.305Z] [2021-11-02T16:34:24.305Z] [2021-11-02T16:34:24.305Z] -- Configuring done [2021-11-02T16:34:24.577Z] -- Generating done [2021-11-02T16:34:24.577Z] -- Build files have been written to: /tmp/cbor [2021-11-02T16:34:24.849Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-02T16:34:25.829Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-02T16:34:26.805Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-02T16:34:26.805Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-02T16:34:27.779Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-02T16:34:28.050Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-02T16:34:28.320Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-02T16:34:28.594Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-02T16:34:28.866Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-02T16:34:29.139Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-02T16:34:30.115Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-02T16:34:30.388Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-02T16:34:30.659Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-02T16:34:31.254Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-02T16:34:31.527Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-02T16:34:31.800Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-02T16:34:32.396Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-02T16:34:32.674Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-02T16:34:32.674Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-02T16:34:33.280Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-02T16:34:33.280Z] [ 40%] Linking C shared library libcbor.so [2021-11-02T16:34:33.556Z] [ 40%] Built target cbor_shared [2021-11-02T16:34:33.556Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-02T16:34:34.984Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-02T16:34:35.575Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-02T16:34:35.846Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-02T16:34:37.817Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-02T16:34:38.412Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-02T16:34:38.685Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-02T16:34:38.685Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-02T16:34:38.956Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-02T16:34:39.556Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-02T16:34:40.535Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-02T16:34:40.808Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-02T16:34:41.403Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-02T16:34:41.996Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-02T16:34:42.269Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-02T16:34:42.543Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-02T16:34:43.139Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-02T16:34:43.411Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-02T16:34:43.684Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-02T16:34:43.955Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-02T16:34:44.228Z] [ 80%] Linking C static library libcbor.a [2021-11-02T16:34:44.228Z] [ 80%] Built target cbor [2021-11-02T16:34:44.501Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-02T16:34:44.772Z] [ 84%] Linking C executable readfile [2021-11-02T16:34:44.772Z] [ 84%] Built target readfile [2021-11-02T16:34:44.772Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-02T16:34:45.047Z] [ 88%] Linking C executable create_items [2021-11-02T16:34:45.047Z] [ 88%] Built target create_items [2021-11-02T16:34:45.047Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-02T16:34:45.321Z] [ 92%] Linking C executable sort [2021-11-02T16:34:45.596Z] [ 92%] Built target sort [2021-11-02T16:34:45.596Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-02T16:34:45.596Z] [ 96%] Linking C executable hello [2021-11-02T16:34:45.871Z] [ 96%] Built target hello [2021-11-02T16:34:45.871Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-02T16:34:46.144Z] [100%] Linking C executable streaming_parser [2021-11-02T16:34:46.144Z] [100%] Built target streaming_parser [2021-11-02T16:34:46.423Z] Install the project... [2021-11-02T16:34:46.423Z] -- Install configuration: "Release" [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-02T16:34:46.423Z] -- Up-to-date: /usr/local/include/cbor [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/include/cbor.h [2021-11-02T16:34:46.423Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-02T16:34:48.423Z] Removing intermediate container 56f0c294c441 [2021-11-02T16:34:48.423Z] ---> db4a9287d677 [2021-11-02T16:34:48.423Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-02T16:34:48.423Z] ---> Running in 82ed1261d6f5 [2021-11-02T16:34:50.406Z] Removing intermediate container 82ed1261d6f5 [2021-11-02T16:34:50.406Z] ---> 7637673afd0f [2021-11-02T16:34:50.406Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-02T16:34:51.006Z] ---> ff3361431c50 [2021-11-02T16:34:51.006Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-02T16:34:51.987Z] ---> 17ddb0afb72d [2021-11-02T16:34:51.987Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-02T16:34:52.967Z] ---> bba8e3b440b3 [2021-11-02T16:34:52.967Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-02T16:34:53.561Z] ---> 0707f273f14f [2021-11-02T16:34:53.561Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-02T16:34:54.156Z] ---> 59f2afe7dab2 [2021-11-02T16:34:54.156Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-02T16:34:55.136Z] ---> d21348744f5f [2021-11-02T16:34:55.136Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-02T16:34:55.136Z] ---> Running in ae88ed08e9e1 [2021-11-02T16:34:56.114Z] + CPPCHECK=false [2021-11-02T16:34:56.114Z] + DOCGEN=false [2021-11-02T16:34:56.114Z] + TOMLVER=SDK-0.2 [2021-11-02T16:34:56.114Z] + CUTILVER=1.2.2 [2021-11-02T16:34:56.114Z] + '[' 0 -gt 0 ] [2021-11-02T16:34:56.114Z] + readlink -f ./scripts/build.sh [2021-11-02T16:34:56.114Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-02T16:34:56.114Z] + dirname /tmp/sdk/scripts [2021-11-02T16:34:56.114Z] + ROOT=/tmp/sdk [2021-11-02T16:34:56.114Z] + cd /tmp/sdk [2021-11-02T16:34:56.115Z] + '[' '!' -d deps ] [2021-11-02T16:34:56.115Z] + mkdir deps [2021-11-02T16:34:56.115Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-02T16:34:56.115Z] + tar -C deps -z -x -f - [2021-11-02T16:34:56.115Z] --2021-11-02 16:34:56-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-02T16:34:56.387Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-02T16:34:56.387Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-02T16:34:56.387Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:34:56.387Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-02T16:34:56.387Z] --2021-11-02 16:34:56-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-02T16:34:56.387Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-02T16:34:56.387Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-02T16:34:56.660Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:34:56.660Z] Length: unspecified [application/x-gzip] [2021-11-02T16:34:56.660Z] Saving to: 'STDOUT' [2021-11-02T16:34:56.660Z]  [2021-11-02T16:34:56.660Z] 0K .......... ......   862K=0.02s [2021-11-02T16:34:56.660Z] [2021-11-02T16:34:56.660Z] 2021-11-02 16:34:56 (862 KB/s) - written to stdout [16451] [2021-11-02T16:34:56.660Z] [2021-11-02T16:34:56.660Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-02T16:34:56.660Z] + wget -O+ - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gztar [2021-11-02T16:34:56.660Z]  -C deps -z -x -f - [2021-11-02T16:34:56.660Z] --2021-11-02 16:34:56-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-02T16:34:56.660Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-02T16:34:56.660Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-02T16:34:56.932Z] HTTP request sent, awaiting response... 302 Found [2021-11-02T16:34:56.932Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-02T16:34:56.932Z] --2021-11-02 16:34:56-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-02T16:34:56.932Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-02T16:34:56.932Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-02T16:34:57.206Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:34:57.206Z] Length: unspecified [application/x-gzip] [2021-11-02T16:34:57.206Z] Saving to: 'STDOUT' [2021-11-02T16:34:57.206Z] [2021-11-02T16:34:57.206Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-11-02T16:34:57.206Z] 50K .......... .......... .......... .......... .......... 2.37M [2021-11-02T16:34:57.206Z] 100K .......... .......... .......... .......... .......... 2.09M [2021-11-02T16:34:57.206Z] 150K .......... .......... .......... ......... 13.3M=0.09s [2021-11-02T16:34:57.206Z] [2021-11-02T16:34:57.206Z] 2021-11-02 16:34:57 (2.14 MB/s) - written to stdout [193961] [2021-11-02T16:34:57.206Z] [2021-11-02T16:34:57.479Z] + mkdir -p src/c/iot [2021-11-02T16:34:57.479Z] + 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-11-02T16:34:57.479Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-02T16:34:57.479Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-02T16:34:57.479Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-02T16:34:57.479Z] + mkdir -p include/iot [2021-11-02T16:34:57.479Z] + 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-11-02T16:34:57.479Z] + mkdir -p include/iot/os [2021-11-02T16:34:57.479Z] + 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-11-02T16:34:57.479Z] + mkdir -p /tmp/sdk/build/release [2021-11-02T16:34:57.479Z] + cd /tmp/sdk/build/release [2021-11-02T16:34:57.479Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-02T16:34:57.751Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:34:57.751Z] -- Detecting C compiler ABI info [2021-11-02T16:34:58.026Z] -- Detecting C compiler ABI info - done [2021-11-02T16:34:58.026Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:34:58.026Z] -- Detecting C compile features [2021-11-02T16:34:58.026Z] -- Detecting C compile features - done [2021-11-02T16:34:58.026Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-02T16:34:58.304Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-02T16:34:58.304Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-02T16:34:58.304Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-02T16:34:58.304Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-02T16:34:58.304Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-02T16:34:58.304Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-02T16:34:58.304Z] -- C SDK 0.0.0 for Linux [2021-11-02T16:34:58.304Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-02T16:34:58.578Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-02T16:34:58.853Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-02T16:34:58.854Z] -- Configuring done [2021-11-02T16:34:59.124Z] -- Generating done [2021-11-02T16:34:59.124Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-02T16:34:59.124Z] + make all package [2021-11-02T16:34:59.124Z] + tee release.log [2021-11-02T16:34:59.396Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-02T16:34:59.992Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-02T16:35:00.971Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-02T16:35:03.578Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-02T16:35:04.171Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-02T16:35:04.442Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-02T16:35:05.412Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-02T16:35:06.006Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-02T16:35:06.278Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-02T16:35:07.703Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-02T16:35:10.309Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-02T16:35:10.580Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-02T16:35:11.551Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-02T16:35:12.146Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-02T16:35:12.737Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-02T16:35:13.008Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-02T16:35:13.281Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-02T16:35:16.652Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-02T16:35:17.248Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-02T16:35:17.518Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-02T16:35:18.109Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-02T16:35:18.700Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-02T16:35:18.973Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-02T16:35:18.973Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-02T16:35:18.973Z] 275 | const iot_component_factory_t * factory; [2021-11-02T16:35:18.973Z] | ^~~~~~~ [2021-11-02T16:35:19.564Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-02T16:35:24.945Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-02T16:35:24.945Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-02T16:35:25.216Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-02T16:35:25.809Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-02T16:35:26.783Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-02T16:35:26.783Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-02T16:35:28.208Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-02T16:35:28.510Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-02T16:35:29.535Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-02T16:35:29.873Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-02T16:35:30.154Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-02T16:35:33.568Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-02T16:35:33.568Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-02T16:35:34.998Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-02T16:35:34.998Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-02T16:35:40.378Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-02T16:35:40.973Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-02T16:35:41.567Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-02T16:35:42.159Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-02T16:35:42.430Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-02T16:35:42.430Z] | ^~~~~~~~~~~~~ [2021-11-02T16:35:42.430Z] | | [2021-11-02T16:35:42.430Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-02T16:35:42.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-02T16:35:42.430Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-02T16:35:42.430Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-02T16:35:42.430Z] | ^~~~~~~~~~~~ [2021-11-02T16:35:42.430Z] | | [2021-11-02T16:35:42.430Z] | 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-11-02T16:35:42.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:35:42.430Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-02T16:35:42.430Z] | ^~~~~~~~~~~~ [2021-11-02T16:35:42.430Z] | | [2021-11-02T16:35:42.430Z] | 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-11-02T16:35:42.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:35:42.430Z] /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-11-02T16:35:42.430Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:35:42.430Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:35:43.407Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-02T16:35:46.024Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-02T16:35:46.024Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-02T16:35:46.619Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-02T16:35:46.890Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-02T16:35:50.277Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-02T16:35:54.561Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-02T16:35:55.152Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-02T16:35:55.746Z] [ 76%] Linking C shared library libcsdk.so [2021-11-02T16:35:55.746Z] [ 76%] Built target csdk [2021-11-02T16:35:56.016Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-02T16:35:56.986Z] [ 79%] Linking C executable template [2021-11-02T16:35:56.986Z] [ 79%] Built target template [2021-11-02T16:35:56.986Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-02T16:35:57.578Z] [ 82%] Linking C executable device-counter [2021-11-02T16:35:57.850Z] [ 82%] Built target device-counter [2021-11-02T16:35:57.850Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-02T16:35:58.444Z] [ 85%] Linking C executable device-random [2021-11-02T16:35:58.716Z] [ 85%] Built target device-random [2021-11-02T16:35:58.716Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-02T16:35:59.307Z] [ 88%] Linking C executable device-gyro [2021-11-02T16:35:59.578Z] [ 88%] Built target device-gyro [2021-11-02T16:35:59.578Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-02T16:36:00.170Z] [ 91%] Linking C executable device-bitfields [2021-11-02T16:36:00.442Z] [ 91%] Built target device-bitfields [2021-11-02T16:36:00.442Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-02T16:36:01.410Z] [ 94%] Linking C executable template-discovery [2021-11-02T16:36:01.410Z] [ 94%] Built target template-discovery [2021-11-02T16:36:01.681Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-02T16:36:02.272Z] [ 97%] Linking C executable device-file [2021-11-02T16:36:02.543Z] [ 97%] Built target device-file [2021-11-02T16:36:02.543Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-02T16:36:03.514Z] [100%] Linking C executable device-terminal [2021-11-02T16:36:03.514Z] [100%] Built target device-terminal [2021-11-02T16:36:03.514Z] Run CPack packaging tool... [2021-11-02T16:36:03.514Z] CPack: Create package using TGZ [2021-11-02T16:36:03.514Z] CPack: Install projects [2021-11-02T16:36:03.514Z] CPack: - Run preinstall target for: Csdk [2021-11-02T16:36:04.487Z] CPack: - Install project: Csdk [] [2021-11-02T16:36:04.487Z] CPack: Create package [2021-11-02T16:36:04.487Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-02T16:36:04.487Z] + '[' false '=' true ] [2021-11-02T16:36:04.487Z] + '[' false '=' true ] [2021-11-02T16:36:04.487Z] + mkdir -p /tmp/sdk/build/debug [2021-11-02T16:36:04.487Z] + cd /tmp/sdk/build/debug [2021-11-02T16:36:04.487Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-02T16:36:04.757Z] -- The C compiler identification is GNU 10.3.1 [2021-11-02T16:36:04.757Z] -- Detecting C compiler ABI info [2021-11-02T16:36:05.029Z] -- Detecting C compiler ABI info - done [2021-11-02T16:36:05.301Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-02T16:36:05.301Z] -- Detecting C compile features [2021-11-02T16:36:05.301Z] -- Detecting C compile features - done [2021-11-02T16:36:05.301Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-02T16:36:05.301Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-02T16:36:05.301Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-02T16:36:05.301Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-02T16:36:05.301Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-02T16:36:05.573Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-02T16:36:05.573Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-02T16:36:05.573Z] -- C SDK 0.0.0 for Linux [2021-11-02T16:36:05.573Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-02T16:36:05.845Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-02T16:36:05.845Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-02T16:36:05.845Z] -- Configuring done [2021-11-02T16:36:06.114Z] -- Generating done [2021-11-02T16:36:06.386Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-02T16:36:06.386Z] + make [2021-11-02T16:36:06.386Z] + tee debug.log [2021-11-02T16:36:06.386Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-02T16:36:06.658Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-02T16:36:07.249Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-02T16:36:07.841Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-02T16:36:08.111Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-02T16:36:08.384Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-02T16:36:08.655Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-02T16:36:09.254Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-02T16:36:09.254Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-02T16:36:09.844Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-02T16:36:10.435Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-02T16:36:11.028Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-02T16:36:11.299Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-02T16:36:11.570Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-02T16:36:12.160Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-02T16:36:12.160Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-02T16:36:12.431Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-02T16:36:13.402Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-02T16:36:13.674Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-02T16:36:13.946Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-02T16:36:14.218Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-02T16:36:14.491Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-02T16:36:14.491Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-02T16:36:14.491Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-02T16:36:14.491Z] 275 | const iot_component_factory_t * factory; [2021-11-02T16:36:14.491Z] | ^~~~~~~ [2021-11-02T16:36:14.764Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-02T16:36:16.197Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-02T16:36:16.197Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-02T16:36:16.469Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-02T16:36:16.739Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-02T16:36:17.011Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-02T16:36:17.282Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-02T16:36:17.555Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-02T16:36:17.826Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-02T16:36:18.099Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-02T16:36:18.373Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-02T16:36:18.646Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-02T16:36:19.236Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-02T16:36:19.236Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-02T16:36:19.829Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-02T16:36:20.104Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-02T16:36:21.532Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-02T16:36:21.806Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-02T16:36:22.079Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-02T16:36:22.352Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-02T16:36:22.626Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-02T16:36:22.627Z] | ^~~~~~~~~~~~~ [2021-11-02T16:36:22.627Z] | | [2021-11-02T16:36:22.627Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-02T16:36:22.627Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-02T16:36:22.627Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-02T16:36:22.627Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-02T16:36:22.627Z] | ^~~~~~~~~~~~ [2021-11-02T16:36:22.627Z] | | [2021-11-02T16:36:22.627Z] | 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-11-02T16:36:22.627Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:36:22.627Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-02T16:36:22.627Z] | ^~~~~~~~~~~~ [2021-11-02T16:36:22.627Z] | | [2021-11-02T16:36:22.627Z] | 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-11-02T16:36:22.627Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-02T16:36:22.627Z] /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-11-02T16:36:22.627Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-02T16:36:22.627Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-02T16:36:22.899Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-02T16:36:24.359Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-02T16:36:24.642Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-02T16:36:24.928Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-02T16:36:25.568Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-02T16:36:26.161Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-02T16:36:27.132Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-02T16:36:27.402Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-02T16:36:27.676Z] [ 76%] Linking C shared library libcsdk.so [2021-11-02T16:36:27.963Z] [ 76%] Built target csdk [2021-11-02T16:36:27.963Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-02T16:36:28.557Z] [ 79%] Linking C executable template [2021-11-02T16:36:28.557Z] [ 79%] Built target template [2021-11-02T16:36:28.828Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-02T16:36:29.101Z] [ 82%] Linking C executable device-counter [2021-11-02T16:36:29.374Z] [ 82%] Built target device-counter [2021-11-02T16:36:29.374Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-02T16:36:29.649Z] [ 85%] Linking C executable device-random [2021-11-02T16:36:29.920Z] [ 85%] Built target device-random [2021-11-02T16:36:29.920Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-02T16:36:30.193Z] [ 88%] Linking C executable device-gyro [2021-11-02T16:36:30.466Z] [ 88%] Built target device-gyro [2021-11-02T16:36:30.466Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-02T16:36:30.739Z] [ 91%] Linking C executable device-bitfields [2021-11-02T16:36:31.013Z] [ 91%] Built target device-bitfields [2021-11-02T16:36:31.013Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-02T16:36:31.608Z] [ 94%] Linking C executable template-discovery [2021-11-02T16:36:31.608Z] [ 94%] Built target template-discovery [2021-11-02T16:36:31.608Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-02T16:36:32.203Z] [ 97%] Linking C executable device-file [2021-11-02T16:36:32.203Z] [ 97%] Built target device-file [2021-11-02T16:36:32.478Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-02T16:36:32.751Z] [100%] Linking C executable device-terminal [2021-11-02T16:36:33.022Z] [100%] Built target device-terminal [2021-11-02T16:36:33.022Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.022Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.022Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] [ 76%] Built target csdk [2021-11-02T16:36:33.298Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] [ 79%] Built target template [2021-11-02T16:36:33.298Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] [ 82%] Built target device-counter [2021-11-02T16:36:33.298Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] [ 85%] Built target device-random [2021-11-02T16:36:33.298Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.298Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] [ 88%] Built target device-gyro [2021-11-02T16:36:33.570Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] [ 91%] Built target device-bitfields [2021-11-02T16:36:33.570Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] [ 94%] Built target template-discovery [2021-11-02T16:36:33.570Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] [ 97%] Built target device-file [2021-11-02T16:36:33.570Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] [100%] Built target device-terminal [2021-11-02T16:36:33.570Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:33.570Z] Install the project... [2021-11-02T16:36:33.570Z] -- Install configuration: "Release" [2021-11-02T16:36:33.570Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-02T16:36:33.845Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-02T16:36:33.845Z] -- Up-to-date: /usr/local/include [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/devsdk [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/json.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/container.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/component.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/time.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/os [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/data.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/os.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/include/iot/config.h [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-02T16:36:33.845Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-02T16:36:33.845Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-02T16:36:35.819Z] Removing intermediate container ae88ed08e9e1 [2021-11-02T16:36:35.819Z] ---> 110547eaa522 [2021-11-02T16:36:35.819Z] Step 16/24 : FROM ${BASE} [2021-11-02T16:36:35.819Z] ---> b6d714ea7bf2 [2021-11-02T16:36:35.819Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-02T16:36:35.819Z] ---> Running in cb0d07366c38 [2021-11-02T16:36:36.090Z] Removing intermediate container cb0d07366c38 [2021-11-02T16:36:36.090Z] ---> 32948bedf476 [2021-11-02T16:36:36.090Z] 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-11-02T16:36:36.362Z] ---> Running in a8b7a4d98f99 [2021-11-02T16:36:37.795Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-11-02T16:36:38.066Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:36:38.066Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-02T16:36:38.066Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-02T16:36:39.048Z] Removing intermediate container a8b7a4d98f99 [2021-11-02T16:36:39.048Z] ---> 76f0821b79fa [2021-11-02T16:36:39.048Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:36:39.048Z] ---> Running in a383bf79fd72 [2021-11-02T16:36:41.029Z] Removing intermediate container a383bf79fd72 [2021-11-02T16:36:41.029Z] ---> a7bb9574a2a5 [2021-11-02T16:36:41.029Z] 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-11-02T16:36:41.029Z] ---> Running in aa8f8f74c3c1 [2021-11-02T16:36:42.002Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:36:42.973Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-02T16:36:43.566Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:36:44.164Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:36:44.164Z] (1/7) Installing curl (7.79.1-r0) [2021-11-02T16:36:44.437Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-02T16:36:44.437Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-02T16:36:44.437Z] (4/7) Installing libuuid (2.37-r0) [2021-11-02T16:36:44.710Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-02T16:36:45.306Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-02T16:36:45.579Z] (7/7) Installing wget (1.21.1-r1) [2021-11-02T16:36:45.851Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:36:45.851Z] OK: 276 MiB in 84 packages [2021-11-02T16:36:46.830Z] Removing intermediate container aa8f8f74c3c1 [2021-11-02T16:36:46.830Z] ---> ff39b4828b36 [2021-11-02T16:36:46.830Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-02T16:36:47.805Z] ---> 85f8d9976c08 [2021-11-02T16:36:47.805Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-02T16:36:48.402Z] ---> 2d4c03540f5e [2021-11-02T16:36:48.402Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-02T16:36:49.383Z] ---> 677e544d1e27 [2021-11-02T16:36:49.383Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-02T16:36:49.974Z] ---> 478173bfb3c9 [2021-11-02T16:36:49.974Z] Successfully built 478173bfb3c9 [2021-11-02T16:36:49.974Z] 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-11-02T16:36:50.651Z] + docker inspect -f . ci-base-image-arm64 [2021-11-02T16:36:50.651Z] . [Pipeline] withDockerContainer [2021-11-02T16:36:50.916Z] prd-ubuntu18.04-docker-arm64-4c-16g-13834 does not seem to be running inside a container [2021-11-02T16:36:50.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-02T16:36:52.482Z] $ docker top 698aa41cc84ab32a678198476d8fdd57cbdf98727e500ebf86b62dfb0c41a23e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:36:53.476Z] + make test [2021-11-02T16:36:53.476Z] echo "make test" [2021-11-02T16:36:53.476Z] make test [Pipeline] } [2021-11-02T16:36:53.507Z] $ docker stop --time=1 698aa41cc84ab32a678198476d8fdd57cbdf98727e500ebf86b62dfb0c41a23e [2021-11-02T16:36:55.286Z] $ docker rm -f 698aa41cc84ab32a678198476d8fdd57cbdf98727e500ebf86b62dfb0c41a23e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-02T16:36:56.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-02T16:36:56.488Z] + ls -al . [2021-11-02T16:36:56.488Z] total 200 [2021-11-02T16:36:56.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 16:33 . [2021-11-02T16:36:56.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 16:33 .. [2021-11-02T16:36:56.488Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 16:33 .git [2021-11-02T16:36:56.488Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 16:33 .github [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 2 16:33 .gitignore [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 3104 Nov 2 16:33 Attribution.txt [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 7880 Nov 2 16:33 CHANGES [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 2 16:33 Doxyfile [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 16:33 GOVERNANCE.md [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 2 16:33 Jenkinsfile [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 16:33 LICENSE [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 2 16:33 Makefile [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 2 16:33 OWNERS.md [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 4086 Nov 2 16:33 README.md [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 7422 Nov 2 16:33 README.v2.md [2021-11-02T16:36:56.488Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 16:31 VERSION [2021-11-02T16:36:56.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 16:33 docs [2021-11-02T16:36:56.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 16:33 include [2021-11-02T16:36:56.488Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 16:33 scripts [2021-11-02T16:36:56.488Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 16:33 src [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:36:56.859Z] + 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=47855ac170f4465e9bb5596a2a75fe8db84e034e --label arch=arm64 --label version=0.0.0 . [2021-11-02T16:36:57.455Z] Sending build context to Docker daemon 2.724MB [2021-11-02T16:36:57.455Z] Step 1/17 : ARG BASE=alpine:3.14 [2021-11-02T16:36:57.455Z] Step 2/17 : FROM ${BASE} [2021-11-02T16:36:57.455Z] ---> 478173bfb3c9 [2021-11-02T16:36:57.455Z] Step 3/17 : LABEL maintainer="IOTech " [2021-11-02T16:36:57.455Z] ---> Running in 86d2aa3fbd51 [2021-11-02T16:36:58.051Z] Removing intermediate container 86d2aa3fbd51 [2021-11-02T16:36:58.051Z] ---> f8ba9e7ada08 [2021-11-02T16:36:58.051Z] 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-11-02T16:36:58.051Z] ---> Running in 8b9ead83f010 [2021-11-02T16:36:59.489Z] --2021-11-02 16:36:59-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2021-11-02T16:36:59.489Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.195.244.87, 54.229.110.245, ... [2021-11-02T16:36:59.489Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2021-11-02T16:36:59.760Z] HTTP request sent, awaiting response... 200 OK [2021-11-02T16:36:59.760Z] Length: unspecified [application/json] [2021-11-02T16:36:59.760Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-02T16:36:59.760Z] [2021-11-02T16:36:59.760Z] 0K 3.94M=0s [2021-11-02T16:36:59.760Z] [2021-11-02T16:36:59.760Z] 2021-11-02 16:36:59 (3.94 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2021-11-02T16:36:59.760Z] [2021-11-02T16:37:00.356Z] Removing intermediate container 8b9ead83f010 [2021-11-02T16:37:00.356Z] ---> e05f4ddcfe21 [2021-11-02T16:37:00.356Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-02T16:37:00.629Z] ---> Running in ac217e73f684 [2021-11-02T16:37:02.606Z] Removing intermediate container ac217e73f684 [2021-11-02T16:37:02.606Z] ---> d58c22ee1165 [2021-11-02T16:37:02.606Z] 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-11-02T16:37:02.606Z] ---> Running in 36f73feb430b [2021-11-02T16:37:04.043Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:37:05.021Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-02T16:37:05.294Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-02T16:37:05.890Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-02T16:37:06.166Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-02T16:37:06.166Z] (2/21) Installing libblkid (2.37-r0) [2021-11-02T16:37:06.166Z] (3/21) Installing blkid (2.37-r0) [2021-11-02T16:37:06.441Z] (4/21) Installing libcap-ng (0.8.2-r0) [2021-11-02T16:37:06.441Z] (5/21) Installing setpriv (2.37-r0) [2021-11-02T16:37:06.441Z] (6/21) Installing libmount (2.37-r0) [2021-11-02T16:37:06.718Z] (7/21) Installing libsmartcols (2.37-r0) [2021-11-02T16:37:06.718Z] (8/21) Installing findmnt (2.37-r0) [2021-11-02T16:37:06.718Z] (9/21) Installing mcookie (2.37-r0) [2021-11-02T16:37:06.995Z] (10/21) Installing hexdump (2.37-r0) [2021-11-02T16:37:06.995Z] (11/21) Installing lsblk (2.37-r0) [2021-11-02T16:37:06.995Z] (12/21) Installing libfdisk (2.37-r0) [2021-11-02T16:37:07.269Z] (13/21) Installing sfdisk (2.37-r0) [2021-11-02T16:37:07.269Z] (14/21) Installing cfdisk (2.37-r0) [2021-11-02T16:37:07.269Z] (15/21) Installing partx (2.37-r0) [2021-11-02T16:37:07.544Z] (16/21) Installing flock (2.37-r0) [2021-11-02T16:37:07.544Z] (17/21) Installing logger (2.37-r0) [2021-11-02T16:37:07.544Z] (18/21) Installing uuidgen (2.37-r0) [2021-11-02T16:37:07.818Z] (19/21) Installing libeconf (0.3.8-r1) [2021-11-02T16:37:07.818Z] (20/21) Installing util-linux (2.37-r0) [2021-11-02T16:37:08.093Z] (21/21) Installing util-linux-dev (2.37-r0) [2021-11-02T16:37:08.367Z] Executing busybox-1.33.1-r3.trigger [2021-11-02T16:37:08.367Z] OK: 286 MiB in 105 packages [2021-11-02T16:37:09.803Z] Removing intermediate container 36f73feb430b [2021-11-02T16:37:09.803Z] ---> 35ea5b5579c0 [2021-11-02T16:37:09.803Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2021-11-02T16:37:10.398Z] ---> 785996767dca [2021-11-02T16:37:10.398Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2021-11-02T16:37:11.374Z] ---> 851d5a9848ae [2021-11-02T16:37:11.374Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2021-11-02T16:37:12.353Z] ---> 326819e13731 [2021-11-02T16:37:12.353Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2021-11-02T16:37:12.947Z] ---> c425b7c23307 [2021-11-02T16:37:12.947Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2021-11-02T16:37:13.541Z] ---> bd39ff42ec47 [2021-11-02T16:37:13.541Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2021-11-02T16:37:14.136Z] ---> 9103621e6c24 [2021-11-02T16:37:14.136Z] Step 13/17 : WORKDIR /edgex-c-sdk [2021-11-02T16:37:14.408Z] ---> Running in 64c6691fb38f [2021-11-02T16:37:15.000Z] Removing intermediate container 64c6691fb38f [2021-11-02T16:37:15.000Z] ---> 099b953007e1 [2021-11-02T16:37:15.000Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2021-11-02T16:37:15.000Z] ---> Running in bbcaeafb41c3 [2021-11-02T16:37:15.597Z] Removing intermediate container bbcaeafb41c3 [2021-11-02T16:37:15.597Z] ---> 6ed62f5b88ef [2021-11-02T16:37:15.597Z] Step 15/17 : LABEL arch=arm64 [2021-11-02T16:37:15.597Z] ---> Running in 28954d0426ca [2021-11-02T16:37:16.192Z] Removing intermediate container 28954d0426ca [2021-11-02T16:37:16.192Z] ---> 1a19750472f0 [2021-11-02T16:37:16.192Z] Step 16/17 : LABEL git_sha=47855ac170f4465e9bb5596a2a75fe8db84e034e [2021-11-02T16:37:16.192Z] ---> Running in cfa36e591769 [2021-11-02T16:37:16.469Z] Removing intermediate container cfa36e591769 [2021-11-02T16:37:16.469Z] ---> f6759899099d [2021-11-02T16:37:16.469Z] Step 17/17 : LABEL version=0.0.0 [2021-11-02T16:37:16.742Z] ---> Running in 869e6eded712 [2021-11-02T16:37:17.015Z] Removing intermediate container 869e6eded712 [2021-11-02T16:37:17.015Z] ---> 5b765ee741e4 [2021-11-02T16:37:17.015Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-11-02T16:37:17.288Z] Successfully built 5b765ee741e4 [2021-11-02T16:37:17.288Z] 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-11-02T16:37:18.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:37:18.019Z] [2021-11-02T16:37:18.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:37:18.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:37:18.977Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-02T16:37:18.977Z] 448f6bf000e3: Pulling fs layer [2021-11-02T16:37:18.977Z] f757da607395: Pulling fs layer [2021-11-02T16:37:18.977Z] 05883995daec: Pulling fs layer [2021-11-02T16:37:18.977Z] 8603b9c90790: Pulling fs layer [2021-11-02T16:37:18.977Z] 1560dd03e051: Pulling fs layer [2021-11-02T16:37:18.977Z] 27f5ce0e4adf: Pulling fs layer [2021-11-02T16:37:18.977Z] c2d8d7efcc4b: Pulling fs layer [2021-11-02T16:37:18.977Z] 8603b9c90790: Waiting [2021-11-02T16:37:18.977Z] 1560dd03e051: Waiting [2021-11-02T16:37:18.977Z] 27f5ce0e4adf: Waiting [2021-11-02T16:37:18.977Z] c2d8d7efcc4b: Waiting [2021-11-02T16:37:18.977Z] f757da607395: Verifying Checksum [2021-11-02T16:37:18.977Z] f757da607395: Download complete [2021-11-02T16:37:18.977Z] 8603b9c90790: Download complete [2021-11-02T16:37:19.255Z] 1560dd03e051: Verifying Checksum [2021-11-02T16:37:19.255Z] 1560dd03e051: Download complete [2021-11-02T16:37:19.255Z] 27f5ce0e4adf: Verifying Checksum [2021-11-02T16:37:19.255Z] 27f5ce0e4adf: Download complete [2021-11-02T16:37:19.255Z] 05883995daec: Verifying Checksum [2021-11-02T16:37:19.255Z] 05883995daec: Download complete [2021-11-02T16:37:19.537Z] 448f6bf000e3: Verifying Checksum [2021-11-02T16:37:19.537Z] 448f6bf000e3: Download complete [2021-11-02T16:37:22.155Z] c2d8d7efcc4b: Verifying Checksum [2021-11-02T16:37:22.155Z] c2d8d7efcc4b: Download complete [2021-11-02T16:37:23.133Z] 448f6bf000e3: Pull complete [2021-11-02T16:37:23.729Z] f757da607395: Pull complete [2021-11-02T16:37:25.156Z] 05883995daec: Pull complete [2021-11-02T16:37:25.749Z] 8603b9c90790: Pull complete [2021-11-02T16:37:26.725Z] 1560dd03e051: Pull complete [2021-11-02T16:37:26.997Z] 27f5ce0e4adf: Pull complete [2021-11-02T16:37:42.064Z] c2d8d7efcc4b: Pull complete [2021-11-02T16:37:42.064Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-02T16:37:42.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-02T16:37:42.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-02T16:37:42.340Z] prd-ubuntu18.04-docker-arm64-4c-16g-13834 does not seem to be running inside a container [2021-11-02T16:37:42.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-02T16:37:45.601Z] $ docker top 213a60ad78d3950590dea0a43eaf06586b727ddd0b09d9a6c01bd8f4e556cfdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:37:46.622Z] ---> job-cost.sh [2021-11-02T16:37:46.622Z] lf-activate-venv: SKIPPING [2021-11-02T16:37:46.622Z] INFO: No Stack... [2021-11-02T16:37:46.895Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-02T16:37:47.488Z] INFO: Archiving Costs [Pipeline] sh [2021-11-02T16:37:48.162Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-11-02T16:37:48.162Z] + cut -d, -f6 [Pipeline] lock [2021-11-02T16:37:48.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [2021-11-02T16:37:48.245Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] did not exist. Created. [2021-11-02T16:37:48.245Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-02T16:37:48.961Z] /w/workspace/device-sdk-c/1@tmp/durable-a6f769fb/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-a6f769fb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-02T16:37:49.637Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-02T16:37:49.670Z] Warning: overwriting stash ‘stack-cost’ [2021-11-02T16:37:50.190Z] Stashed 1 file(s) [Pipeline] } [2021-11-02T16:37:50.210Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-02T16:37:50.262Z] $ docker stop --time=1 213a60ad78d3950590dea0a43eaf06586b727ddd0b09d9a6c01bd8f4e556cfdb [2021-11-02T16:37:51.870Z] $ docker rm -f 213a60ad78d3950590dea0a43eaf06586b727ddd0b09d9a6c01bd8f4e556cfdb [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-02T16:37:56.485Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-386/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:37:56.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:37:57.398Z] ---> package-listing.sh [2021-11-02T16:37:57.398Z] ++ facter osfamily [2021-11-02T16:37:57.398Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-02T16:37:57.658Z] + OS_FAMILY=redhat [2021-11-02T16:37:57.658Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-386 [2021-11-02T16:37:57.658Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-02T16:37:57.658Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-02T16:37:57.658Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-02T16:37:57.658Z] + PACKAGES=/tmp/packages_start.txt [2021-11-02T16:37:57.658Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-386 ']' [2021-11-02T16:37:57.658Z] + PACKAGES=/tmp/packages_end.txt [2021-11-02T16:37:57.658Z] + case "${OS_FAMILY}" in [2021-11-02T16:37:57.658Z] + rpm -qa [2021-11-02T16:37:57.658Z] + sort [2021-11-02T16:37:58.246Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-02T16:37:58.246Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-02T16:37:58.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-02T16:37:58.247Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-386 ']' [2021-11-02T16:37:58.247Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-386/archives/ [2021-11-02T16:37:58.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-386/archives/ [Pipeline] echo [2021-11-02T16:37:58.279Z] 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-386/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-02T16:37:58.576Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:37:59.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:37:59.172Z] [2021-11-02T16:37:59.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-02T16:37:59.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:37:59.518Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-02T16:37:59.518Z] b4d181a07f80: Pulling fs layer [2021-11-02T16:37:59.518Z] a1111a8f2ec3: Pulling fs layer [2021-11-02T16:37:59.518Z] ed53099fbce6: Pulling fs layer [2021-11-02T16:37:59.518Z] dc539afda2c1: Pulling fs layer [2021-11-02T16:37:59.518Z] 77bc0d833cb6: Pulling fs layer [2021-11-02T16:37:59.518Z] 9065ff56babe: Pulling fs layer [2021-11-02T16:37:59.518Z] d287ab97295c: Pulling fs layer [2021-11-02T16:37:59.518Z] dc539afda2c1: Waiting [2021-11-02T16:37:59.518Z] 77bc0d833cb6: Waiting [2021-11-02T16:37:59.518Z] 9065ff56babe: Waiting [2021-11-02T16:37:59.518Z] d287ab97295c: Waiting [2021-11-02T16:37:59.518Z] a1111a8f2ec3: Verifying Checksum [2021-11-02T16:37:59.518Z] a1111a8f2ec3: Download complete [2021-11-02T16:37:59.518Z] dc539afda2c1: Verifying Checksum [2021-11-02T16:37:59.518Z] dc539afda2c1: Download complete [2021-11-02T16:37:59.518Z] ed53099fbce6: Verifying Checksum [2021-11-02T16:37:59.518Z] ed53099fbce6: Download complete [2021-11-02T16:37:59.791Z] 9065ff56babe: Verifying Checksum [2021-11-02T16:37:59.791Z] 9065ff56babe: Download complete [2021-11-02T16:37:59.791Z] b4d181a07f80: Verifying Checksum [2021-11-02T16:37:59.791Z] b4d181a07f80: Download complete [2021-11-02T16:37:59.791Z] 77bc0d833cb6: Verifying Checksum [2021-11-02T16:37:59.791Z] 77bc0d833cb6: Download complete [2021-11-02T16:38:00.375Z] d287ab97295c: Verifying Checksum [2021-11-02T16:38:00.375Z] d287ab97295c: Download complete [2021-11-02T16:38:01.329Z] b4d181a07f80: Pull complete [2021-11-02T16:38:01.329Z] a1111a8f2ec3: Pull complete [2021-11-02T16:38:01.912Z] ed53099fbce6: Pull complete [2021-11-02T16:38:01.912Z] dc539afda2c1: Pull complete [2021-11-02T16:38:02.173Z] 77bc0d833cb6: Pull complete [2021-11-02T16:38:02.173Z] 9065ff56babe: Pull complete [2021-11-02T16:38:07.542Z] d287ab97295c: Pull complete [2021-11-02T16:38:07.542Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-02T16:38:07.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-02T16:38:07.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-02T16:38:07.633Z] prd-centos7-docker-4c-2g-13833 does not seem to be running inside a container [2021-11-02T16:38:07.665Z] $ 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-386/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-386 -v /w/workspace/edgexfoundry_device-sdk-c_PR-386:/w/workspace/edgexfoundry_device-sdk-c_PR-386:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-386@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:10003/edgex-lftools-log-publisher:latest cat [2021-11-02T16:38:09.955Z] $ docker top bf19167c4459320edf5f38e4cd7e4541cd60357eda6005f4f81a6a778327f0ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-02T16:38:10.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-02T16:38:10.701Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-02T16:38:11.010Z] + ls /var/log/sa-host [2021-11-02T16:38:11.010Z] + sadf -c /var/log/sa-host/sa02 [2021-11-02T16:38:11.010Z] file_magic: OK [2021-11-02T16:38:11.010Z] HZ: Using current value: 100 [2021-11-02T16:38:11.010Z] file_header: OK [2021-11-02T16:38:11.010Z] 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-11-02T16:38:11.010Z] Statistics: [2021-11-02T16:38:11.010Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-02T16:38:11.010Z] File successfully converted to sysstat format version 12.0.3 [2021-11-02T16:38:11.010Z] + sadf -c /var/log/sa-host/sa30 [2021-11-02T16:38:11.010Z] file_magic: OK [2021-11-02T16:38:11.010Z] HZ: Using current value: 100 [2021-11-02T16:38:11.010Z] file_header: OK [2021-11-02T16:38:11.010Z] 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-11-02T16:38:11.010Z] Statistics: [2021-11-02T16:38:11.010Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-02T16:38:11.010Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-02T16:38:11.136Z] provisioning config files... [2021-11-02T16:38:11.145Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-386@tmp/config5959273378334699193tmp [Pipeline] { [Pipeline] echo [2021-11-02T16:38:11.181Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:38:11.514Z] ---> create-netrc.sh [Pipeline] } [2021-11-02T16:38:11.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:38:11.915Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-02T16:38:11.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:38:12.268Z] ---> sudo-logs.sh [2021-11-02T16:38:12.268Z] Archiving 'sudo' log.. [2021-11-02T16:38:12.268Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13833.novalocal: Name or service not known [2021-11-02T16:38:12.268Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13833.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-02T16:38:12.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:38:12.661Z] ---> job-cost.sh [2021-11-02T16:38:12.661Z] lf-activate-venv: SKIPPING [2021-11-02T16:38:12.661Z] DEBUG: total: 0.10999999940395355 [2021-11-02T16:38:12.661Z] INFO: Retrieving Stack Cost... [2021-11-02T16:38:12.921Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-02T16:38:13.180Z] INFO: Archiving Costs [Pipeline] echo [2021-11-02T16:38:13.212Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-02T16:38:13.533Z] ---> logs-deploy.sh [2021-11-02T16:38:13.533Z] lf-activate-venv: SKIPPING [2021-11-02T16:38:13.533Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-386/1 [2021-11-02T16:38:13.533Z] INFO: archiving workspace using pattern(s): [2021-11-02T16:38:14.119Z] Archives upload complete. [2021-11-02T16:38:14.119Z] INFO: archiving logs to Nexus [2021-11-02T16:38:14.695Z] ---> uname -a: [2021-11-02T16:38:14.695Z] Linux prd-centos7-docker-4c-2g-13833.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] ---> lscpu: [2021-11-02T16:38:14.695Z] Architecture: x86_64 [2021-11-02T16:38:14.695Z] CPU op-mode(s): 32-bit, 64-bit [2021-11-02T16:38:14.695Z] Byte Order: Little Endian [2021-11-02T16:38:14.695Z] Address sizes: 40 bits physical, 48 bits virtual [2021-11-02T16:38:14.695Z] CPU(s): 2 [2021-11-02T16:38:14.695Z] On-line CPU(s) list: 0,1 [2021-11-02T16:38:14.695Z] Thread(s) per core: 1 [2021-11-02T16:38:14.695Z] Core(s) per socket: 1 [2021-11-02T16:38:14.695Z] Socket(s): 2 [2021-11-02T16:38:14.695Z] NUMA node(s): 1 [2021-11-02T16:38:14.695Z] Vendor ID: AuthenticAMD [2021-11-02T16:38:14.695Z] CPU family: 23 [2021-11-02T16:38:14.695Z] Model: 49 [2021-11-02T16:38:14.695Z] Model name: AMD EPYC-Rome Processor [2021-11-02T16:38:14.695Z] Stepping: 0 [2021-11-02T16:38:14.695Z] CPU MHz: 2800.000 [2021-11-02T16:38:14.695Z] BogoMIPS: 5600.00 [2021-11-02T16:38:14.695Z] Virtualization: AMD-V [2021-11-02T16:38:14.695Z] Hypervisor vendor: KVM [2021-11-02T16:38:14.695Z] Virtualization type: full [2021-11-02T16:38:14.695Z] L1d cache: 32K [2021-11-02T16:38:14.695Z] L1i cache: 32K [2021-11-02T16:38:14.695Z] L2 cache: 512K [2021-11-02T16:38:14.695Z] L3 cache: 16384K [2021-11-02T16:38:14.695Z] NUMA node0 CPU(s): 0,1 [2021-11-02T16:38:14.695Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] ---> nproc: [2021-11-02T16:38:14.695Z] 2 [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z] ---> df -h: [2021-11-02T16:38:14.695Z] Filesystem Size Used Avail Use% Mounted on [2021-11-02T16:38:14.695Z] overlay 40G 7.7G 33G 20% / [2021-11-02T16:38:14.695Z] tmpfs 64M 0 64M 0% /dev [2021-11-02T16:38:14.695Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-11-02T16:38:14.695Z] shm 64M 0 64M 0% /dev/shm [2021-11-02T16:38:14.695Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-11-02T16:38:14.695Z] [2021-11-02T16:38:14.695Z]