Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 14bdc31d8719d1e6f8ec06114e1723900e8aedcd rather than 942c8451240af7bf227f04daa983bc93c578c377 Obtained Jenkinsfile from 14bdc31d8719d1e6f8ec06114e1723900e8aedcd 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-ssh4091908862704594382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10210179348472252231.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15256682656222794141.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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16953692990257267627.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh5976120882781972953.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7138814850668743052.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2615 in /w/workspace/edgexfoundry_device-sdk-c_PR-421 [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-421 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 14bdc31d8719d1e6f8ec06114e1723900e8aedcd into PR head commit 942c8451240af7bf227f04daa983bc93c578c377 Merge succeeded, producing 942c8451240af7bf227f04daa983bc93c578c377 Checking out Revision 942c8451240af7bf227f04daa983bc93c578c377 (PR-421) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-18T00:52:48.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-18T00:52:48.773Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-18T00:52:48.859Z] ========================================================= [2022-06-18T00:52:48.860Z] EdgeX Global Pipelines Version Info [2022-06-18T00:52:48.860Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:52:49.665Z] ------------------- [2022-06-18T00:52:49.665Z] stable info: [2022-06-18T00:52:49.665Z] ------------------- [2022-06-18T00:52:49.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-18T00:52:49.665Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-18T00:52:49.665Z] Message: update stable to v1.0.234 [2022-06-18T00:52:50.239Z] ------------------- [2022-06-18T00:52:50.239Z] experimental info: [2022-06-18T00:52:50.239Z] ------------------- [2022-06-18T00:52:50.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-18T00:52:50.239Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-18T00:52:50.239Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-18T00:52:50.594Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-06-18T00:52:50.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-06-18T00:52:50.660Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-18T00:52:50.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-18T00:52:50.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-18T00:52:50.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-06-18T00:52:50.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-06-18T00:52:50.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-18T00:52:50.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-18T00:52:50.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-06-18T00:52:50.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-18T00:52:50.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-18T00:52:51.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-18T00:52:51.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-18T00:52:51.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-18T00:52:51.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-18T00:52:51.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-18T00:52:51.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo [2022-06-18T00:52:51.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo [2022-06-18T00:52:51.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo [2022-06-18T00:52:51.275Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo [2022-06-18T00:52:51.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 942c845 [Pipeline] echo [2022-06-18T00:52:51.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T00:52:51.456Z] provisioning config files... [2022-06-18T00:52:51.472Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config7618519319386908701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:52:51.817Z] ---> docker-login.sh [2022-06-18T00:52:51.817Z] nexus3.edgexfoundry.org:10001 [2022-06-18T00:52:52.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:52:52.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:52:52.080Z] Configure a credential helper to remove this warning. See [2022-06-18T00:52:52.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:52:52.080Z] [2022-06-18T00:52:52.080Z] Login Succeeded [2022-06-18T00:52:52.080Z] nexus3.edgexfoundry.org:10002 [2022-06-18T00:52:52.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:52:52.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:52:52.343Z] Configure a credential helper to remove this warning. See [2022-06-18T00:52:52.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:52:52.343Z] [2022-06-18T00:52:52.343Z] Login Succeeded [2022-06-18T00:52:52.343Z] nexus3.edgexfoundry.org:10003 [2022-06-18T00:52:52.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:52:52.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:52:52.606Z] Configure a credential helper to remove this warning. See [2022-06-18T00:52:52.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:52:52.606Z] [2022-06-18T00:52:52.606Z] Login Succeeded [2022-06-18T00:52:52.606Z] nexus3.edgexfoundry.org:10004 [2022-06-18T00:52:52.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:52:52.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:52:52.606Z] Configure a credential helper to remove this warning. See [2022-06-18T00:52:52.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:52:52.606Z] [2022-06-18T00:52:52.606Z] Login Succeeded [2022-06-18T00:52:52.606Z] docker.io [2022-06-18T00:52:52.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:52:53.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:52:53.189Z] Configure a credential helper to remove this warning. See [2022-06-18T00:52:53.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:52:53.189Z] [2022-06-18T00:52:53.189Z] Login Succeeded [2022-06-18T00:52:53.189Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T00:52:53.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-06-18T00:52:53.816Z] + git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo [2022-06-18T00:52:53.869Z] -----------> git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 942c8451240af7bf227f04daa983bc93c578c377 [false] [Pipeline] sh [2022-06-18T00:52:54.185Z] + git log --format=format:%s -1 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo [2022-06-18T00:52:54.220Z] ========================================================= [2022-06-18T00:52:54.220Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-18T00:52:54.220Z] ========================================================= 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 [2022-06-18T00:52:55.026Z] + git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo [2022-06-18T00:52:55.057Z] -----------> git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 942c8451240af7bf227f04daa983bc93c578c377 [false] [Pipeline] sh [2022-06-18T00:52:55.368Z] + git log --format=format:%s -1 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo [2022-06-18T00:52:55.404Z] ========================================================= [2022-06-18T00:52:55.404Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-18T00:52:55.404Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-06-18T00:52:55.884Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-18T00:52:55.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-18T00:52:55.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-18T00:52:55.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-18T00:52:55.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-18T00:52:55.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-18T00:52:55.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:52:56.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T00:52:56.390Z] [2022-06-18T00:52:56.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:52:56.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T00:52:56.774Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-18T00:52:56.774Z] 42c077c10790: Pulling fs layer [2022-06-18T00:52:56.774Z] f63e77b7563a: Pulling fs layer [2022-06-18T00:52:56.774Z] bd5fdadae976: Pulling fs layer [2022-06-18T00:52:56.774Z] 205491f53016: Pulling fs layer [2022-06-18T00:52:56.774Z] df18705c85c3: Pulling fs layer [2022-06-18T00:52:56.774Z] bdb3f477010e: Pulling fs layer [2022-06-18T00:52:56.774Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-18T00:52:56.774Z] 2c6e9b1d212d: Pulling fs layer [2022-06-18T00:52:56.774Z] bdb8f0575790: Pulling fs layer [2022-06-18T00:52:56.774Z] 386e3cb2ff24: Pulling fs layer [2022-06-18T00:52:56.774Z] 2343380bae48: Pulling fs layer [2022-06-18T00:52:56.774Z] df18705c85c3: Waiting [2022-06-18T00:52:56.774Z] bdb3f477010e: Waiting [2022-06-18T00:52:56.774Z] bdb8f0575790: Waiting [2022-06-18T00:52:56.774Z] 205491f53016: Waiting [2022-06-18T00:52:56.774Z] c8a8fc8e1c8f: Waiting [2022-06-18T00:52:56.774Z] 2c6e9b1d212d: Waiting [2022-06-18T00:52:56.774Z] 2343380bae48: Waiting [2022-06-18T00:52:56.774Z] f63e77b7563a: Download complete [2022-06-18T00:52:56.774Z] 205491f53016: Verifying Checksum [2022-06-18T00:52:56.774Z] 205491f53016: Download complete [2022-06-18T00:52:57.035Z] df18705c85c3: Verifying Checksum [2022-06-18T00:52:57.035Z] df18705c85c3: Download complete [2022-06-18T00:52:57.035Z] bdb3f477010e: Verifying Checksum [2022-06-18T00:52:57.035Z] bdb3f477010e: Download complete [2022-06-18T00:52:57.035Z] bd5fdadae976: Verifying Checksum [2022-06-18T00:52:57.035Z] bd5fdadae976: Download complete [2022-06-18T00:52:57.035Z] 2c6e9b1d212d: Verifying Checksum [2022-06-18T00:52:57.035Z] 2c6e9b1d212d: Download complete [2022-06-18T00:52:57.035Z] bdb8f0575790: Download complete [2022-06-18T00:52:57.035Z] 386e3cb2ff24: Download complete [2022-06-18T00:52:57.035Z] 2343380bae48: Verifying Checksum [2022-06-18T00:52:57.035Z] 2343380bae48: Download complete [2022-06-18T00:52:57.035Z] 42c077c10790: Verifying Checksum [2022-06-18T00:52:57.035Z] 42c077c10790: Download complete [2022-06-18T00:52:57.607Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-18T00:52:57.607Z] c8a8fc8e1c8f: Download complete [2022-06-18T00:52:58.550Z] 42c077c10790: Pull complete [2022-06-18T00:52:58.812Z] f63e77b7563a: Pull complete [2022-06-18T00:52:59.073Z] bd5fdadae976: Pull complete [2022-06-18T00:52:59.345Z] 205491f53016: Pull complete [2022-06-18T00:52:59.607Z] df18705c85c3: Pull complete [2022-06-18T00:52:59.607Z] bdb3f477010e: Pull complete [2022-06-18T00:53:01.522Z] c8a8fc8e1c8f: Pull complete [2022-06-18T00:53:01.522Z] 2c6e9b1d212d: Pull complete [2022-06-18T00:53:01.783Z] bdb8f0575790: Pull complete [2022-06-18T00:53:01.783Z] 386e3cb2ff24: Pull complete [2022-06-18T00:53:02.046Z] 2343380bae48: Pull complete [2022-06-18T00:53:02.046Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-18T00:53:02.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T00:53:02.046Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T00:53:02.310Z] prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container [2022-06-18T00:53:02.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-421 -v /w/workspace/edgexfoundry_device-sdk-c_PR-421:/w/workspace/edgexfoundry_device-sdk-c_PR-421:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-421@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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-18T00:53:03.604Z] $ docker top a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 -eo pid,comm [2022-06-18T00:53:03.683Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-18T00:53:03.683Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-18T00:53:03.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-18T00:53:03.805Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-18T00:53:03.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-18T00:53:03.937Z] $ docker exec a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent [2022-06-18T00:53:04.058Z] SSH_AUTH_SOCK=/tmp/ssh-U1fIwhtVJfxJ/agent.34 [2022-06-18T00:53:04.058Z] SSH_AGENT_PID=41 [2022-06-18T00:53:04.066Z] Running ssh-add (command line suppressed) [2022-06-18T00:53:04.181Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/private_key_1492474225780827809.key (/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/private_key_1492474225780827809.key) [2022-06-18T00:53:04.204Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-18T00:53:04.538Z] + git tag --points-at HEAD [Pipeline] } [2022-06-18T00:53:04.561Z] $ docker exec --env ******** --env ******** a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent -k [2022-06-18T00:53:04.655Z] unset SSH_AUTH_SOCK; [2022-06-18T00:53:04.656Z] unset SSH_AGENT_PID; [2022-06-18T00:53:04.656Z] echo Agent pid 41 killed; [2022-06-18T00:53:04.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-18T00:53:04.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-18T00:53:04.757Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-18T00:53:04.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-18T00:53:04.906Z] $ docker exec a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent [2022-06-18T00:53:05.031Z] SSH_AUTH_SOCK=/tmp/ssh-vDCYgM8BEp25/agent.76 [2022-06-18T00:53:05.031Z] SSH_AGENT_PID=82 [2022-06-18T00:53:05.038Z] Running ssh-add (command line suppressed) [2022-06-18T00:53:05.169Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/private_key_3332573227732322442.key (/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/private_key_3332573227732322442.key) [2022-06-18T00:53:05.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-18T00:53:05.516Z] + git semver init [2022-06-18T00:53:05.780Z] 2022-06-18 00:53:05,749 [run_init] DEBUG init version:0.0.0 force:False [2022-06-18T00:53:05.780Z] 2022-06-18 00:53:05,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver [2022-06-18T00:53:05.780Z] 2022-06-18 00:53:05,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver [2022-06-18T00:53:05.780Z] 2022-06-18 00:53:05,750 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-421, universal_newlines=False, shell=None, istream=None) [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,503 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.git/info/exclude [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,504 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver/PR-421 with force:False [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,504 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver/PR-421 [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,508 [execute] INFO git cat-file --batch-check [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,515 [execute] INFO git cat-file --batch [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver, universal_newlines=False, shell=None, istream=) [2022-06-18T00:53:06.727Z] 2022-06-18 00:53:06,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver/PR-421 [2022-06-18T00:53:06.727Z] 0.0.0 [Pipeline] } [2022-06-18T00:53:06.752Z] $ docker exec --env ******** --env ******** a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent -k [2022-06-18T00:53:06.874Z] unset SSH_AUTH_SOCK; [2022-06-18T00:53:06.875Z] unset SSH_AGENT_PID; [2022-06-18T00:53:06.875Z] echo Agent pid 82 killed; [2022-06-18T00:53:06.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-18T00:53:07.308Z] + git semver [Pipeline] } [2022-06-18T00:53:07.599Z] $ docker stop --time=1 a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 [2022-06-18T00:53:08.915Z] $ docker rm -f a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-18T00:53:09.332Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-18T00:53:09.645Z] Stashed 1 file(s) [Pipeline] echo [2022-06-18T00:53:09.665Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T00:53:10.164Z] provisioning config files... [2022-06-18T00:53:10.180Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config1668838154725768705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:53:10.521Z] ---> docker-login.sh [2022-06-18T00:53:10.521Z] nexus3.edgexfoundry.org:10001 [2022-06-18T00:53:10.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:53:10.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:53:10.521Z] Configure a credential helper to remove this warning. See [2022-06-18T00:53:10.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:53:10.521Z] [2022-06-18T00:53:10.521Z] Login Succeeded [2022-06-18T00:53:10.521Z] nexus3.edgexfoundry.org:10002 [2022-06-18T00:53:10.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:53:10.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:53:10.781Z] Configure a credential helper to remove this warning. See [2022-06-18T00:53:10.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:53:10.781Z] [2022-06-18T00:53:10.781Z] Login Succeeded [2022-06-18T00:53:10.781Z] nexus3.edgexfoundry.org:10003 [2022-06-18T00:53:10.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:53:10.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:53:10.781Z] Configure a credential helper to remove this warning. See [2022-06-18T00:53:10.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:53:10.781Z] [2022-06-18T00:53:10.781Z] Login Succeeded [2022-06-18T00:53:10.781Z] nexus3.edgexfoundry.org:10004 [2022-06-18T00:53:11.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:53:11.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:53:11.044Z] Configure a credential helper to remove this warning. See [2022-06-18T00:53:11.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:53:11.044Z] [2022-06-18T00:53:11.044Z] Login Succeeded [2022-06-18T00:53:11.044Z] docker.io [2022-06-18T00:53:11.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:53:11.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:53:11.306Z] Configure a credential helper to remove this warning. See [2022-06-18T00:53:11.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:53:11.306Z] [2022-06-18T00:53:11.306Z] Login Succeeded [2022-06-18T00:53:11.306Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T00:53:11.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-18T00:53:11.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T00:53:11.554Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-06-18T00:53:11.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T00:53:11.617Z] ========================================================= [2022-06-18T00:53:11.617Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-06-18T00:53:11.617Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:53:12.036Z] + 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 . [2022-06-18T00:53:12.036Z] Sending build context to Docker daemon 4.536MB [2022-06-18T00:53:12.036Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-18T00:53:12.036Z] Step 2/22 : FROM ${BASE} as builder [2022-06-18T00:53:12.036Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-06-18T00:53:12.036Z] df9b9388f04a: Pulling fs layer [2022-06-18T00:53:12.036Z] 37ea90d01205: Pulling fs layer [2022-06-18T00:53:12.036Z] c88372d24652: Pulling fs layer [2022-06-18T00:53:12.298Z] 37ea90d01205: Verifying Checksum [2022-06-18T00:53:12.298Z] 37ea90d01205: Download complete [2022-06-18T00:53:12.298Z] df9b9388f04a: Verifying Checksum [2022-06-18T00:53:12.298Z] df9b9388f04a: Download complete [2022-06-18T00:53:12.298Z] df9b9388f04a: Pull complete [2022-06-18T00:53:12.560Z] 37ea90d01205: Pull complete [2022-06-18T00:53:12.823Z] c88372d24652: Verifying Checksum [2022-06-18T00:53:12.823Z] c88372d24652: Download complete [2022-06-18T00:53:16.129Z] c88372d24652: Pull complete [2022-06-18T00:53:16.129Z] Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e [2022-06-18T00:53:16.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-06-18T00:53:16.129Z] ---> 95f6e8fcc511 [2022-06-18T00:53:16.129Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-06-18T00:53:16.704Z] ---> Running in f88924703cb4 [2022-06-18T00:53:16.965Z] Connecting to iotech.jfrog.io (3.248.164.40:443) [2022-06-18T00:53:17.540Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:53:17.540Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:53:17.540Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:53:17.801Z] Removing intermediate container f88924703cb4 [2022-06-18T00:53:17.801Z] ---> 5247ef64ab80 [2022-06-18T00:53:17.801Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:53:17.801Z] ---> Running in 32f06795002f [2022-06-18T00:53:18.374Z] Removing intermediate container 32f06795002f [2022-06-18T00:53:18.374Z] ---> da076ceb45c8 [2022-06-18T00:53:18.374Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-06-18T00:53:18.374Z] ---> Running in bc0dc5d8b27e [2022-06-18T00:53:18.635Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:19.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:19.843Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:20.106Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:53:20.106Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-18T00:53:20.366Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-18T00:53:20.367Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-18T00:53:20.367Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-18T00:53:20.627Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-18T00:53:20.627Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-18T00:53:21.571Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-18T00:53:21.571Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-18T00:53:21.834Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-18T00:53:21.834Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-18T00:53:21.834Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-18T00:53:22.095Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-18T00:53:22.096Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-18T00:53:22.358Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-18T00:53:22.620Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-18T00:53:22.620Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-18T00:53:22.620Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-18T00:53:22.881Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-18T00:53:22.881Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-18T00:53:22.881Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-18T00:53:23.143Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-18T00:53:23.143Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-18T00:53:23.143Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-18T00:53:23.143Z] (24/31) Installing flock (2.37.4-r0) [2022-06-18T00:53:23.403Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-18T00:53:23.403Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-18T00:53:23.403Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-18T00:53:23.664Z] (28/31) Installing logger (2.37.4-r0) [2022-06-18T00:53:23.664Z] (29/31) Installing partx (2.37.4-r0) [2022-06-18T00:53:23.664Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-18T00:53:23.925Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-18T00:53:23.925Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:53:23.925Z] OK: 293 MiB in 108 packages [2022-06-18T00:53:24.498Z] Removing intermediate container bc0dc5d8b27e [2022-06-18T00:53:24.498Z] ---> 4d6e2518d1ed [2022-06-18T00:53:24.498Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-18T00:53:24.498Z] ---> Running in 622811f625a3 [2022-06-18T00:53:24.998Z] Still waiting to schedule task [2022-06-18T00:53:24.998Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2616’ is offline [2022-06-18T00:53:25.069Z] Removing intermediate container 622811f625a3 [2022-06-18T00:53:25.069Z] ---> 23f0c955043a [2022-06-18T00:53:25.069Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-18T00:53:25.330Z] ---> 7b6c356801df [2022-06-18T00:53:25.330Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-18T00:53:25.592Z] ---> b6d49f409aac [2022-06-18T00:53:25.592Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-18T00:53:25.592Z] ---> 3e29609693ca [2022-06-18T00:53:25.592Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-18T00:53:25.856Z] ---> 611748949159 [2022-06-18T00:53:25.856Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-18T00:53:25.856Z] ---> 26ae191addeb [2022-06-18T00:53:25.856Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-18T00:53:26.119Z] ---> ab67790c2c45 [2022-06-18T00:53:26.119Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-18T00:53:26.119Z] ---> Running in 53f933a3356e [2022-06-18T00:53:26.380Z] + CPPCHECK=false [2022-06-18T00:53:26.380Z] + DOCGEN=false [2022-06-18T00:53:26.380Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-18T00:53:26.380Z] + TOMLVER=SDK-0.2 [2022-06-18T00:53:26.380Z] + CUTILVER=1.2.2 [2022-06-18T00:53:26.380Z] + '[' 0 -gt 0 ] [2022-06-18T00:53:26.380Z] + readlink -f ./scripts/build.sh [2022-06-18T00:53:26.380Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-18T00:53:26.380Z] + dirname /tmp/sdk/scripts [2022-06-18T00:53:26.380Z] + ROOT=/tmp/sdk [2022-06-18T00:53:26.380Z] + cd /tmp/sdk [2022-06-18T00:53:26.380Z] + '[' '!' -d deps ] [2022-06-18T00:53:26.380Z] + mkdir deps [2022-06-18T00:53:26.380Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-18T00:53:26.380Z] + tar -C deps -z -x -f - [2022-06-18T00:53:26.380Z] Connecting to github.com (140.82.114.4:443) [2022-06-18T00:53:26.642Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-06-18T00:53:26.642Z] writing to stdout [2022-06-18T00:53:26.642Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-18T00:53:26.642Z] written to stdout [2022-06-18T00:53:26.905Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-18T00:53:26.905Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-18T00:53:26.905Z] + tar -C deps -z -x -f - [2022-06-18T00:53:26.905Z] Connecting to github.com (140.82.114.4:443) [2022-06-18T00:53:26.905Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-06-18T00:53:27.168Z] writing to stdout [2022-06-18T00:53:27.168Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-18T00:53:27.168Z] written to stdout [2022-06-18T00:53:27.168Z] + mkdir -p src/c/iot [2022-06-18T00:53:27.168Z] + 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 [2022-06-18T00:53:27.168Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-18T00:53:27.168Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-18T00:53:27.168Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-18T00:53:27.168Z] + mkdir -p include/iot [2022-06-18T00:53:27.168Z] + 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 [2022-06-18T00:53:27.168Z] + mkdir -p include/iot/os [2022-06-18T00:53:27.168Z] + 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 [2022-06-18T00:53:27.168Z] + mkdir -p /tmp/sdk/build/release [2022-06-18T00:53:27.168Z] + cd /tmp/sdk/build/release [2022-06-18T00:53:27.168Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-18T00:53:27.168Z] -- The C compiler identification is GNU 10.3.1 [2022-06-18T00:53:27.168Z] -- Detecting C compiler ABI info [2022-06-18T00:53:27.429Z] -- Detecting C compiler ABI info - done [2022-06-18T00:53:27.429Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-18T00:53:27.429Z] -- Detecting C compile features [2022-06-18T00:53:27.429Z] -- Detecting C compile features - done [2022-06-18T00:53:27.429Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-18T00:53:27.429Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-18T00:53:27.429Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-18T00:53:27.429Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-18T00:53:27.429Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-18T00:53:27.429Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-18T00:53:27.429Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-18T00:53:27.429Z] -- C SDK 0.0.0 for Linux [2022-06-18T00:53:27.429Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-18T00:53:27.429Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-18T00:53:27.695Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-18T00:53:27.695Z] -- Configuring done [2022-06-18T00:53:27.695Z] -- Generating done [2022-06-18T00:53:27.695Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-18T00:53:27.695Z] + make all package [2022-06-18T00:53:27.695Z] + tee release.log [2022-06-18T00:53:27.695Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-18T00:53:27.956Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-18T00:53:27.956Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-18T00:53:28.528Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-18T00:53:28.528Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-18T00:53:28.528Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-18T00:53:28.789Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-18T00:53:28.789Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-18T00:53:29.050Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-18T00:53:29.050Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-18T00:53:29.623Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-18T00:53:29.623Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-18T00:53:29.884Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-18T00:53:29.884Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-18T00:53:29.884Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-18T00:53:30.147Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-18T00:53:30.147Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-18T00:53:30.721Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-18T00:53:30.721Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-18T00:53:30.721Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-18T00:53:30.983Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-18T00:53:30.983Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-18T00:53:30.983Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-18T00:53:30.983Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-18T00:53:30.983Z] 275 | const iot_component_factory_t * factory; [2022-06-18T00:53:30.983Z] | ^~~~~~~ [2022-06-18T00:53:31.243Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-18T00:53:32.184Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-18T00:53:32.184Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-18T00:53:32.184Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-18T00:53:32.184Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-18T00:53:32.445Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-18T00:53:32.445Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-18T00:53:32.706Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-18T00:53:32.706Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-18T00:53:32.967Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-18T00:53:32.967Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-18T00:53:32.967Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-18T00:53:33.541Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-18T00:53:33.541Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-18T00:53:33.804Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-18T00:53:33.804Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-18T00:53:34.750Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-18T00:53:34.750Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-18T00:53:34.750Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-18T00:53:35.011Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-18T00:53:35.011Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-18T00:53:35.011Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:35.011Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-18T00:53:35.011Z] | ^~~~~~~~~~~~~ [2022-06-18T00:53:35.011Z] | | [2022-06-18T00:53:35.011Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-18T00:53:35.011Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:35.011Z] /usr/include/microhttpd.h:2784: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 *)' [2022-06-18T00:53:35.011Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-18T00:53:35.011Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-18T00:53:35.011Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-18T00:53:35.011Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:35.011Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-18T00:53:35.011Z] | ^~~~~~~~~~~~ [2022-06-18T00:53:35.011Z] | | [2022-06-18T00:53:35.011Z] | 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 **)} [2022-06-18T00:53:35.011Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:35.011Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:53:35.011Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:53:35.011Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:53:35.011Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:35.011Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-18T00:53:35.011Z] | ^~~~~~~~~~~~ [2022-06-18T00:53:35.011Z] | | [2022-06-18T00:53:35.011Z] | 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 **)} [2022-06-18T00:53:35.011Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:35.011Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:53:35.011Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:53:35.011Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:53:35.273Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-18T00:53:35.548Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-18T00:53:35.809Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-18T00:53:35.809Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-18T00:53:35.809Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-18T00:53:36.382Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-18T00:53:36.954Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-18T00:53:37.215Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-18T00:53:37.215Z] [ 76%] Linking C shared library libcsdk.so [2022-06-18T00:53:37.478Z] [ 76%] Built target csdk [2022-06-18T00:53:37.478Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-18T00:53:37.478Z] [ 79%] Linking C executable template [2022-06-18T00:53:37.478Z] [ 79%] Built target template [2022-06-18T00:53:37.738Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-18T00:53:37.738Z] [ 82%] Linking C executable device-counter [2022-06-18T00:53:37.738Z] [ 82%] Built target device-counter [2022-06-18T00:53:37.738Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-18T00:53:37.999Z] [ 85%] Linking C executable device-random [2022-06-18T00:53:37.999Z] [ 85%] Built target device-random [2022-06-18T00:53:37.999Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-18T00:53:37.999Z] [ 88%] Linking C executable device-gyro [2022-06-18T00:53:38.260Z] [ 88%] Built target device-gyro [2022-06-18T00:53:38.260Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-18T00:53:38.260Z] [ 91%] Linking C executable device-bitfields [2022-06-18T00:53:38.260Z] [ 91%] Built target device-bitfields [2022-06-18T00:53:38.260Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-18T00:53:38.522Z] [ 94%] Linking C executable template-discovery [2022-06-18T00:53:38.522Z] [ 94%] Built target template-discovery [2022-06-18T00:53:38.522Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-18T00:53:38.784Z] [ 97%] Linking C executable device-file [2022-06-18T00:53:38.784Z] [ 97%] Built target device-file [2022-06-18T00:53:38.784Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-18T00:53:39.045Z] [100%] Linking C executable device-terminal [2022-06-18T00:53:39.045Z] [100%] Built target device-terminal [2022-06-18T00:53:39.045Z] Run CPack packaging tool... [2022-06-18T00:53:39.045Z] CPack: Create package using TGZ [2022-06-18T00:53:39.045Z] CPack: Install projects [2022-06-18T00:53:39.045Z] CPack: - Run preinstall target for: Csdk [2022-06-18T00:53:39.308Z] CPack: - Install project: Csdk [] [2022-06-18T00:53:39.308Z] CPack: Create package [2022-06-18T00:53:39.308Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-06-18T00:53:39.308Z] + '[' false '=' true ] [2022-06-18T00:53:39.308Z] + '[' false '=' true ] [2022-06-18T00:53:39.308Z] + mkdir -p /tmp/sdk/build/debug [2022-06-18T00:53:39.308Z] + cd /tmp/sdk/build/debug [2022-06-18T00:53:39.308Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-18T00:53:39.571Z] -- The C compiler identification is GNU 10.3.1 [2022-06-18T00:53:39.571Z] -- Detecting C compiler ABI info [2022-06-18T00:53:39.571Z] -- Detecting C compiler ABI info - done [2022-06-18T00:53:39.571Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-18T00:53:39.571Z] -- Detecting C compile features [2022-06-18T00:53:39.571Z] -- Detecting C compile features - done [2022-06-18T00:53:39.571Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-18T00:53:39.571Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-18T00:53:39.571Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-18T00:53:39.571Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-18T00:53:39.571Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-18T00:53:39.571Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-18T00:53:39.571Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-18T00:53:39.571Z] -- C SDK 0.0.0 for Linux [2022-06-18T00:53:39.571Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-18T00:53:39.832Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-18T00:53:39.832Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-18T00:53:39.832Z] -- Configuring done [2022-06-18T00:53:39.832Z] -- Generating done [2022-06-18T00:53:39.832Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-18T00:53:39.832Z] + make [2022-06-18T00:53:39.832Z] + tee debug.log [2022-06-18T00:53:39.832Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-18T00:53:39.832Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-18T00:53:40.093Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-18T00:53:40.093Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-18T00:53:40.365Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-18T00:53:40.365Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-18T00:53:40.365Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-18T00:53:40.365Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-18T00:53:40.637Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-18T00:53:40.637Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-18T00:53:40.637Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-18T00:53:40.913Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-18T00:53:40.913Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-18T00:53:40.913Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-18T00:53:41.208Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-18T00:53:41.208Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-18T00:53:41.208Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-18T00:53:41.208Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-18T00:53:41.478Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-18T00:53:41.478Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-18T00:53:41.478Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-18T00:53:41.478Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-18T00:53:41.478Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-18T00:53:41.478Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-18T00:53:41.478Z] 275 | const iot_component_factory_t * factory; [2022-06-18T00:53:41.478Z] | ^~~~~~~ [2022-06-18T00:53:41.748Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-18T00:53:42.011Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-18T00:53:42.011Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-18T00:53:42.011Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-18T00:53:42.011Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-18T00:53:42.011Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-18T00:53:42.273Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-18T00:53:42.273Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-18T00:53:42.273Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-18T00:53:42.273Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-18T00:53:42.546Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-18T00:53:42.546Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-18T00:53:42.546Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-18T00:53:42.546Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-18T00:53:42.806Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-18T00:53:42.806Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-18T00:53:43.066Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-18T00:53:43.066Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-18T00:53:43.066Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-18T00:53:43.326Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-18T00:53:43.326Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-18T00:53:43.326Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:43.326Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-18T00:53:43.326Z] | ^~~~~~~~~~~~~ [2022-06-18T00:53:43.326Z] | | [2022-06-18T00:53:43.326Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-18T00:53:43.326Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:43.326Z] /usr/include/microhttpd.h:2784: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 *)' [2022-06-18T00:53:43.326Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-18T00:53:43.326Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-18T00:53:43.326Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-18T00:53:43.326Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:43.326Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-18T00:53:43.326Z] | ^~~~~~~~~~~~ [2022-06-18T00:53:43.326Z] | | [2022-06-18T00:53:43.326Z] | 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 **)} [2022-06-18T00:53:43.326Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:43.326Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:53:43.326Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:53:43.326Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:53:43.326Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:53:43.326Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-18T00:53:43.326Z] | ^~~~~~~~~~~~ [2022-06-18T00:53:43.326Z] | | [2022-06-18T00:53:43.326Z] | 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 **)} [2022-06-18T00:53:43.326Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:53:43.326Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:53:43.326Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:53:43.326Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:53:43.326Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-18T00:53:43.588Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-18T00:53:43.588Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-18T00:53:43.588Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-18T00:53:43.849Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-18T00:53:43.849Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-18T00:53:44.115Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-18T00:53:44.115Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-18T00:53:44.115Z] [ 76%] Linking C shared library libcsdk.so [2022-06-18T00:53:44.375Z] [ 76%] Built target csdk [2022-06-18T00:53:44.375Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-18T00:53:44.375Z] [ 79%] Linking C executable template [2022-06-18T00:53:44.375Z] [ 79%] Built target template [2022-06-18T00:53:44.375Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-18T00:53:44.635Z] [ 82%] Linking C executable device-counter [2022-06-18T00:53:44.635Z] [ 82%] Built target device-counter [2022-06-18T00:53:44.635Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-18T00:53:44.635Z] [ 85%] Linking C executable device-random [2022-06-18T00:53:44.635Z] [ 85%] Built target device-random [2022-06-18T00:53:44.897Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-18T00:53:44.897Z] [ 88%] Linking C executable device-gyro [2022-06-18T00:53:44.897Z] [ 88%] Built target device-gyro [2022-06-18T00:53:44.897Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-18T00:53:44.897Z] [ 91%] Linking C executable device-bitfields [2022-06-18T00:53:45.159Z] [ 91%] Built target device-bitfields [2022-06-18T00:53:45.159Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-18T00:53:45.159Z] [ 94%] Linking C executable template-discovery [2022-06-18T00:53:45.159Z] [ 94%] Built target template-discovery [2022-06-18T00:53:45.159Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-18T00:53:45.420Z] [ 97%] Linking C executable device-file [2022-06-18T00:53:45.420Z] [ 97%] Built target device-file [2022-06-18T00:53:45.420Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-18T00:53:45.420Z] [100%] Linking C executable device-terminal [2022-06-18T00:53:45.420Z] [100%] Built target device-terminal [2022-06-18T00:53:45.420Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 76%] Built target csdk [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 79%] Built target template [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 82%] Built target device-counter [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 85%] Built target device-random [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 88%] Built target device-gyro [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 91%] Built target device-bitfields [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 94%] Built target template-discovery [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [ 97%] Built target device-file [2022-06-18T00:53:45.680Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] [100%] Built target device-terminal [2022-06-18T00:53:45.680Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:45.680Z] Install the project... [2022-06-18T00:53:45.680Z] -- Install configuration: "Release" [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/devsdk [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/config.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/os.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/container.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/component.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/os [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/time.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/data.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/include/iot/json.h [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-18T00:53:45.680Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-18T00:53:45.680Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:53:46.623Z] Removing intermediate container 53f933a3356e [2022-06-18T00:53:46.623Z] ---> d9a1cd17fe7a [2022-06-18T00:53:46.623Z] Step 14/22 : FROM ${BASE} [2022-06-18T00:53:46.623Z] ---> 95f6e8fcc511 [2022-06-18T00:53:46.623Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-18T00:53:46.623Z] ---> Running in 07de2290bd96 [2022-06-18T00:53:46.623Z] Removing intermediate container 07de2290bd96 [2022-06-18T00:53:46.623Z] ---> aac91b3394ef [2022-06-18T00:53:46.623Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-06-18T00:53:46.623Z] ---> Running in 391dce7e0f35 [2022-06-18T00:53:46.885Z] Connecting to iotech.jfrog.io (54.171.144.127:443) [2022-06-18T00:53:47.148Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:53:47.148Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:53:47.148Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:53:47.408Z] Removing intermediate container 391dce7e0f35 [2022-06-18T00:53:47.408Z] ---> c1f8cf3ded94 [2022-06-18T00:53:47.408Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:53:47.408Z] ---> Running in 3329a427c467 [2022-06-18T00:53:47.977Z] Removing intermediate container 3329a427c467 [2022-06-18T00:53:47.977Z] ---> 870f664570d9 [2022-06-18T00:53:47.977Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-06-18T00:53:47.977Z] ---> Running in a4f35cb2458b [2022-06-18T00:53:48.240Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:49.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:49.440Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:50.012Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:53:50.012Z] (1/6) Installing curl (7.80.0-r1) [2022-06-18T00:53:50.012Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-18T00:53:50.012Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-18T00:53:50.274Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-18T00:53:50.274Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-18T00:53:50.274Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-18T00:53:51.218Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:53:51.218Z] OK: 283 MiB in 83 packages [2022-06-18T00:53:51.479Z] Removing intermediate container a4f35cb2458b [2022-06-18T00:53:51.479Z] ---> ad862fdf75df [2022-06-18T00:53:51.479Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-18T00:53:51.746Z] ---> e52f45f86707 [2022-06-18T00:53:51.746Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-18T00:53:51.746Z] ---> 55be0d3b00ea [2022-06-18T00:53:51.746Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-18T00:53:52.008Z] ---> 0f538118623a [2022-06-18T00:53:52.008Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-18T00:53:52.008Z] ---> f82e977bc4de [2022-06-18T00:53:52.008Z] Successfully built f82e977bc4de [2022-06-18T00:53:52.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:53:52.658Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-18T00:53:52.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T00:53:52.824Z] prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container [2022-06-18T00:53:52.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-421 -v /w/workspace/edgexfoundry_device-sdk-c_PR-421:/w/workspace/edgexfoundry_device-sdk-c_PR-421:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-421@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 [2022-06-18T00:53:53.244Z] $ docker top 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T00:53:53.743Z] + make test [2022-06-18T00:53:53.743Z] echo "make test" [2022-06-18T00:53:53.743Z] make test [Pipeline] } [2022-06-18T00:53:53.786Z] $ docker stop --time=1 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 [2022-06-18T00:53:55.071Z] $ docker rm -f 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T00:53:55.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-18T00:53:56.253Z] + ls -al . [2022-06-18T00:53:56.253Z] total 208 [2022-06-18T00:53:56.253Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 18 00:53 . [2022-06-18T00:53:56.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 .. [2022-06-18T00:53:56.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:53 .git [2022-06-18T00:53:56.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 .github [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 00:52 .gitignore [2022-06-18T00:53:56.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 00:53 .semver [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 00:52 Attribution.txt [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 8321 Jun 18 00:52 CHANGES [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 00:52 Doxyfile [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 00:52 GOVERNANCE.md [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 00:52 Jenkinsfile [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 00:52 LICENSE [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 00:52 Makefile [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 18 00:52 OWNERS.md [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 18 00:52 README.md [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 18 00:52 README.v2.md [2022-06-18T00:53:56.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 00:53 VERSION [2022-06-18T00:53:56.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 docs [2022-06-18T00:53:56.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 include [2022-06-18T00:53:56.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 scripts [2022-06-18T00:53:56.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:53:56.637Z] + 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=942c8451240af7bf227f04daa983bc93c578c377 --label arch=amd64 --label version=0.0.0 . [2022-06-18T00:53:56.637Z] Sending build context to Docker daemon 4.536MB [2022-06-18T00:53:56.637Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-18T00:53:56.637Z] Step 2/17 : FROM ${BASE} [2022-06-18T00:53:56.637Z] ---> f82e977bc4de [2022-06-18T00:53:56.637Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-18T00:53:56.637Z] ---> Running in c0ba19147cd6 [2022-06-18T00:53:56.901Z] Removing intermediate container c0ba19147cd6 [2022-06-18T00:53:56.901Z] ---> 0f61d381e7fa [2022-06-18T00:53:56.901Z] 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 [2022-06-18T00:53:56.901Z] ---> Running in 06faa8a1f7ab [2022-06-18T00:53:57.163Z] Connecting to iotech.jfrog.io (54.171.144.127:443) [2022-06-18T00:53:57.422Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:53:57.422Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:53:57.422Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:53:57.683Z] Removing intermediate container 06faa8a1f7ab [2022-06-18T00:53:57.683Z] ---> 37a723b8b399 [2022-06-18T00:53:57.683Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:53:57.683Z] ---> Running in a73a9586f28d [2022-06-18T00:53:58.254Z] Removing intermediate container a73a9586f28d [2022-06-18T00:53:58.254Z] ---> c84f17f89400 [2022-06-18T00:53:58.254Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-06-18T00:53:58.514Z] ---> Running in b11d720e7da8 [2022-06-18T00:53:58.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:59.717Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-18T00:53:59.717Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T00:54:00.292Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:54:00.292Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-18T00:54:00.292Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-18T00:54:00.292Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-18T00:54:00.555Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-18T00:54:00.555Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-18T00:54:00.555Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-18T00:54:00.815Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-18T00:54:00.815Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-18T00:54:01.076Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-18T00:54:01.076Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-18T00:54:01.337Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-18T00:54:01.337Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-18T00:54:01.337Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-18T00:54:01.599Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-18T00:54:01.599Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-18T00:54:01.599Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-18T00:54:01.864Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-18T00:54:01.864Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-18T00:54:01.864Z] (19/26) Installing flock (2.37.4-r0) [2022-06-18T00:54:02.126Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-18T00:54:02.126Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-18T00:54:02.126Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-18T00:54:02.386Z] (23/26) Installing logger (2.37.4-r0) [2022-06-18T00:54:02.386Z] (24/26) Installing partx (2.37.4-r0) [2022-06-18T00:54:02.386Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-18T00:54:02.646Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-18T00:54:02.646Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:54:02.646Z] OK: 294 MiB in 109 packages [2022-06-18T00:54:03.216Z] Removing intermediate container b11d720e7da8 [2022-06-18T00:54:03.216Z] ---> 1d21adc4ac2c [2022-06-18T00:54:03.216Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-18T00:54:03.479Z] ---> d1824cfb77c5 [2022-06-18T00:54:03.479Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-18T00:54:03.479Z] ---> adab37575e6e [2022-06-18T00:54:03.479Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-18T00:54:03.742Z] ---> 72d1cc93bb68 [2022-06-18T00:54:03.742Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-18T00:54:04.003Z] ---> 7afb9b498324 [2022-06-18T00:54:04.003Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-18T00:54:04.003Z] ---> 116f373a1bcc [2022-06-18T00:54:04.003Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-18T00:54:04.266Z] ---> 6276c38cb9bb [2022-06-18T00:54:04.266Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-18T00:54:04.266Z] ---> Running in 8fd2fcf5fcaf [2022-06-18T00:54:04.266Z] Removing intermediate container 8fd2fcf5fcaf [2022-06-18T00:54:04.266Z] ---> 329e52dab306 [2022-06-18T00:54:04.266Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-18T00:54:04.266Z] ---> Running in 4d4758d42862 [2022-06-18T00:54:04.527Z] Removing intermediate container 4d4758d42862 [2022-06-18T00:54:04.527Z] ---> 6a61297b4d07 [2022-06-18T00:54:04.527Z] Step 15/17 : LABEL arch=amd64 [2022-06-18T00:54:04.527Z] ---> Running in d8faf1aa779c [2022-06-18T00:54:04.527Z] Removing intermediate container d8faf1aa779c [2022-06-18T00:54:04.527Z] ---> 648184386b6c [2022-06-18T00:54:04.527Z] Step 16/17 : LABEL git_sha=942c8451240af7bf227f04daa983bc93c578c377 [2022-06-18T00:54:04.527Z] ---> Running in 1fd44b7867f9 [2022-06-18T00:54:04.787Z] Removing intermediate container 1fd44b7867f9 [2022-06-18T00:54:04.787Z] ---> 2a29f6e8359b [2022-06-18T00:54:04.787Z] Step 17/17 : LABEL version=0.0.0 [2022-06-18T00:54:04.787Z] ---> Running in 081841e8a80d [2022-06-18T00:54:04.787Z] Removing intermediate container 081841e8a80d [2022-06-18T00:54:04.787Z] ---> bab6fc3bc1d9 [2022-06-18T00:54:04.787Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-06-18T00:54:04.787Z] Successfully built bab6fc3bc1d9 [2022-06-18T00:54:04.787Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:54:05.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T00:54:05.707Z] [2022-06-18T00:54:05.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:54:06.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T00:54:06.085Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-18T00:54:06.085Z] 5eb5b503b376: Pulling fs layer [2022-06-18T00:54:06.085Z] 5c69ac0246d0: Pulling fs layer [2022-06-18T00:54:06.085Z] ec43610c2a17: Pulling fs layer [2022-06-18T00:54:06.085Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-18T00:54:06.085Z] 33b1e0a273af: Pulling fs layer [2022-06-18T00:54:06.085Z] 5d3b04190fa2: Pulling fs layer [2022-06-18T00:54:06.085Z] 2f39f015ded8: Pulling fs layer [2022-06-18T00:54:06.085Z] 33b1e0a273af: Waiting [2022-06-18T00:54:06.085Z] 3a2ae6a8a46f: Waiting [2022-06-18T00:54:06.085Z] 2f39f015ded8: Waiting [2022-06-18T00:54:06.085Z] 5d3b04190fa2: Waiting [2022-06-18T00:54:06.085Z] 5c69ac0246d0: Verifying Checksum [2022-06-18T00:54:06.085Z] 5c69ac0246d0: Download complete [2022-06-18T00:54:06.085Z] 3a2ae6a8a46f: Download complete [2022-06-18T00:54:06.085Z] 33b1e0a273af: Verifying Checksum [2022-06-18T00:54:06.085Z] 33b1e0a273af: Download complete [2022-06-18T00:54:06.346Z] 5d3b04190fa2: Verifying Checksum [2022-06-18T00:54:06.346Z] 5d3b04190fa2: Download complete [2022-06-18T00:54:06.346Z] ec43610c2a17: Verifying Checksum [2022-06-18T00:54:06.346Z] ec43610c2a17: Download complete [2022-06-18T00:54:06.346Z] 5eb5b503b376: Verifying Checksum [2022-06-18T00:54:06.346Z] 5eb5b503b376: Download complete [2022-06-18T00:54:07.284Z] 2f39f015ded8: Verifying Checksum [2022-06-18T00:54:07.284Z] 2f39f015ded8: Download complete [2022-06-18T00:54:07.543Z] 5eb5b503b376: Pull complete [2022-06-18T00:54:07.802Z] 5c69ac0246d0: Pull complete [2022-06-18T00:54:08.061Z] ec43610c2a17: Pull complete [2022-06-18T00:54:08.061Z] 3a2ae6a8a46f: Pull complete [2022-06-18T00:54:08.322Z] 33b1e0a273af: Pull complete [2022-06-18T00:54:08.322Z] 5d3b04190fa2: Pull complete [2022-06-18T00:54:13.608Z] 2f39f015ded8: Pull complete [2022-06-18T00:54:13.608Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-18T00:54:13.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T00:54:13.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T00:54:13.824Z] prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container [2022-06-18T00:54:13.875Z] $ 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/edgexfoundry_device-sdk-c_PR-421 -v /w/workspace/edgexfoundry_device-sdk-c_PR-421:/w/workspace/edgexfoundry_device-sdk-c_PR-421:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-421@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 [2022-06-18T00:54:15.319Z] $ docker top 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:54:15.877Z] ---> job-cost.sh [2022-06-18T00:54:15.877Z] lf-activate-venv: SKIPPING [2022-06-18T00:54:15.877Z] INFO: No Stack... [2022-06-18T00:54:16.138Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-18T00:54:16.710Z] INFO: Archiving Costs [Pipeline] sh [2022-06-18T00:54:17.094Z] + + cat /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives/cost.csv [2022-06-18T00:54:17.095Z] cut -d, -f6 [Pipeline] lock [2022-06-18T00:54:17.137Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [2022-06-18T00:54:17.142Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] did not exist. Created. [2022-06-18T00:54:17.142Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-18T00:54:17.612Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-18T00:54:17.668Z] Stashed 1 file(s) [Pipeline] } [2022-06-18T00:54:17.685Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-18T00:54:17.774Z] $ docker stop --time=1 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 [2022-06-18T00:54:18.925Z] $ docker rm -f 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-18T00:55:43.302Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2617 in /w/workspace/edgexfoundry_device-sdk-c_PR-421 [Pipeline] { [Pipeline] ws [2022-06-18T00:55:43.338Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-06-18T00:55:43.404Z] Selected Git installation does not exist. Using Default [2022-06-18T00:55:43.404Z] The recommended git tool is: NONE [2022-06-18T00:55:50.282Z] using credential edgex-jenkins-ssh [2022-06-18T00:55:50.300Z] Cloning the remote Git repository [2022-06-18T00:55:50.362Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-06-18T00:55:50.442Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-06-18T00:55:50.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-06-18T00:55:50.538Z] > git --version # timeout=10 [2022-06-18T00:55:50.557Z] > git --version # 'git version 2.25.1' [2022-06-18T00:55:50.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T00:55:50.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-18T00:55:52.369Z] Merging remotes/origin/main commit 14bdc31d8719d1e6f8ec06114e1723900e8aedcd into PR head commit 942c8451240af7bf227f04daa983bc93c578c377 [2022-06-18T00:55:52.671Z] Merge succeeded, producing 942c8451240af7bf227f04daa983bc93c578c377 [2022-06-18T00:55:52.672Z] Checking out Revision 942c8451240af7bf227f04daa983bc93c578c377 (PR-421) [2022-06-18T00:55:51.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-06-18T00:55:51.771Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-18T00:55:51.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-06-18T00:55:51.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-06-18T00:55:51.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T00:55:51.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-18T00:55:52.397Z] > git config core.sparsecheckout # timeout=10 [2022-06-18T00:55:52.417Z] > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 [2022-06-18T00:55:52.557Z] > git remote # timeout=10 [2022-06-18T00:55:52.586Z] > git config --get remote.origin.url # timeout=10 [2022-06-18T00:55:52.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T00:55:52.628Z] > git merge 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [2022-06-18T00:55:52.655Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-18T00:55:52.683Z] > git config core.sparsecheckout # timeout=10 [2022-06-18T00:55:52.701Z] > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 [2022-06-18T00:55:56.999Z] Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420)" [2022-06-18T00:55:57.073Z] > git --version # timeout=10 [2022-06-18T00:55:57.085Z] > git --version # 'git version 2.25.1' [2022-06-18T00:55:57.098Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T00:55:58.119Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-18T00:55:58.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-18T00:55:58.119Z] Dload Upload Total Spent Left Speed [2022-06-18T00:55:58.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64151 0 --:--:-- --:--:-- --:--:-- 64151 [Pipeline] sh [2022-06-18T00:55:58.914Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-18T00:55:59.271Z] + sudo tee /etc/docker/daemon.new [2022-06-18T00:55:59.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-18T00:55:59.271Z] { [2022-06-18T00:55:59.271Z] "registry-mirrors": [ [2022-06-18T00:55:59.272Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-18T00:55:59.272Z] ], [2022-06-18T00:55:59.272Z] "bip": "10.250.0.254/24", [2022-06-18T00:55:59.272Z] "hosts": [ [2022-06-18T00:55:59.272Z] "tcp://0.0.0.0:5555", [2022-06-18T00:55:59.272Z] "unix:///var/run/docker.sock" [2022-06-18T00:55:59.272Z] ], [2022-06-18T00:55:59.272Z] "mtu": 1458, [2022-06-18T00:55:59.272Z] "selinux-enabled": true, [2022-06-18T00:55:59.272Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-18T00:55:59.272Z] } [Pipeline] sh [2022-06-18T00:55:59.631Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-18T00:55:59.991Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T00:56:18.581Z] provisioning config files... [2022-06-18T00:56:18.608Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1741730278256400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:56:19.015Z] ---> docker-login.sh [2022-06-18T00:56:19.015Z] nexus3.edgexfoundry.org:10001 [2022-06-18T00:56:19.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:56:19.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:56:19.888Z] Configure a credential helper to remove this warning. See [2022-06-18T00:56:19.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:56:19.888Z] [2022-06-18T00:56:19.888Z] Login Succeeded [2022-06-18T00:56:19.888Z] nexus3.edgexfoundry.org:10002 [2022-06-18T00:56:20.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:56:20.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:56:20.439Z] Configure a credential helper to remove this warning. See [2022-06-18T00:56:20.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:56:20.439Z] [2022-06-18T00:56:20.439Z] Login Succeeded [2022-06-18T00:56:20.439Z] nexus3.edgexfoundry.org:10003 [2022-06-18T00:56:20.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:56:20.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:56:20.719Z] Configure a credential helper to remove this warning. See [2022-06-18T00:56:20.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:56:20.719Z] [2022-06-18T00:56:20.719Z] Login Succeeded [2022-06-18T00:56:20.719Z] nexus3.edgexfoundry.org:10004 [2022-06-18T00:56:21.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:56:21.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:56:21.322Z] Configure a credential helper to remove this warning. See [2022-06-18T00:56:21.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:56:21.322Z] [2022-06-18T00:56:21.322Z] Login Succeeded [2022-06-18T00:56:21.322Z] docker.io [2022-06-18T00:56:21.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T00:56:22.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T00:56:22.198Z] Configure a credential helper to remove this warning. See [2022-06-18T00:56:22.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T00:56:22.198Z] [2022-06-18T00:56:22.198Z] Login Succeeded [2022-06-18T00:56:22.198Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T00:56:22.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-18T00:56:22.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T00:56:22.656Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-06-18T00:56:22.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T00:56:22.764Z] ========================================================= [2022-06-18T00:56:22.764Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-06-18T00:56:22.764Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:56:23.313Z] + 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 . [2022-06-18T00:56:23.924Z] Sending build context to Docker daemon 2.737MB [2022-06-18T00:56:23.924Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-06-18T00:56:23.924Z] Step 2/22 : FROM ${BASE} as builder [2022-06-18T00:56:23.924Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-06-18T00:56:23.924Z] 9981e73032c8: Pulling fs layer [2022-06-18T00:56:23.924Z] 2a34a092ebf8: Pulling fs layer [2022-06-18T00:56:23.924Z] 1928f2f5eed1: Pulling fs layer [2022-06-18T00:56:23.924Z] 2a34a092ebf8: Verifying Checksum [2022-06-18T00:56:23.924Z] 2a34a092ebf8: Download complete [2022-06-18T00:56:24.198Z] 9981e73032c8: Verifying Checksum [2022-06-18T00:56:24.198Z] 9981e73032c8: Download complete [2022-06-18T00:56:24.799Z] 9981e73032c8: Pull complete [2022-06-18T00:56:25.076Z] 2a34a092ebf8: Pull complete [2022-06-18T00:56:26.062Z] 1928f2f5eed1: Verifying Checksum [2022-06-18T00:56:26.062Z] 1928f2f5eed1: Download complete [2022-06-18T00:56:34.362Z] 1928f2f5eed1: Pull complete [2022-06-18T00:56:34.636Z] Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 [2022-06-18T00:56:34.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-06-18T00:56:34.636Z] ---> cad489bbaf40 [2022-06-18T00:56:34.636Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-06-18T00:56:35.242Z] ---> Running in 8a2ae3565267 [2022-06-18T00:56:36.686Z] Connecting to iotech.jfrog.io (34.248.37.48:443) [2022-06-18T00:56:36.959Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:56:36.959Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:56:36.959Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:56:37.571Z] Removing intermediate container 8a2ae3565267 [2022-06-18T00:56:37.571Z] ---> 922b7a2665b6 [2022-06-18T00:56:37.571Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:56:37.856Z] ---> Running in b4d0d33e2187 [2022-06-18T00:56:39.841Z] Removing intermediate container b4d0d33e2187 [2022-06-18T00:56:39.841Z] ---> 534bdb9cd011 [2022-06-18T00:56:39.841Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-06-18T00:56:39.841Z] ---> Running in 32a2a15313d7 [2022-06-18T00:56:40.439Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:56:41.415Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-18T00:56:42.010Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:56:42.603Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:56:42.874Z] (1/31) Installing hiredis (1.0.2-r0) [2022-06-18T00:56:42.874Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-06-18T00:56:43.146Z] (3/31) Installing libcbor (0.8.0-r0) [2022-06-18T00:56:43.146Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-06-18T00:56:43.146Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-18T00:56:43.418Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-18T00:56:44.393Z] (7/31) Installing util-linux (2.37.4-r0) [2022-06-18T00:56:44.393Z] (8/31) Installing libblkid (2.37.4-r0) [2022-06-18T00:56:44.669Z] (9/31) Installing libeconf (0.4.2-r0) [2022-06-18T00:56:44.669Z] (10/31) Installing libuuid (2.37.4-r0) [2022-06-18T00:56:44.945Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-06-18T00:56:44.945Z] (12/31) Installing libmount (2.37.4-r0) [2022-06-18T00:56:44.945Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-06-18T00:56:45.219Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-06-18T00:56:45.495Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-06-18T00:56:45.495Z] (16/31) Installing runuser (2.37.4-r0) [2022-06-18T00:56:45.768Z] (17/31) Installing hexdump (2.37.4-r0) [2022-06-18T00:56:45.768Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-06-18T00:56:45.768Z] (19/31) Installing blkid (2.37.4-r0) [2022-06-18T00:56:46.038Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-06-18T00:56:46.038Z] (21/31) Installing mcookie (2.37.4-r0) [2022-06-18T00:56:46.039Z] (22/31) Installing wipefs (2.37.4-r0) [2022-06-18T00:56:46.311Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-06-18T00:56:46.311Z] (24/31) Installing flock (2.37.4-r0) [2022-06-18T00:56:46.311Z] (25/31) Installing lsblk (2.37.4-r0) [2022-06-18T00:56:46.585Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-06-18T00:56:46.585Z] (27/31) Installing setpriv (2.37.4-r0) [2022-06-18T00:56:46.585Z] (28/31) Installing logger (2.37.4-r0) [2022-06-18T00:56:46.858Z] (29/31) Installing partx (2.37.4-r0) [2022-06-18T00:56:46.858Z] (30/31) Installing findmnt (2.37.4-r0) [2022-06-18T00:56:46.858Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-06-18T00:56:47.137Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:56:47.137Z] OK: 289 MiB in 108 packages [2022-06-18T00:56:49.116Z] Removing intermediate container 32a2a15313d7 [2022-06-18T00:56:49.116Z] ---> 863ba8e4d6cc [2022-06-18T00:56:49.116Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-06-18T00:56:49.116Z] ---> Running in da3268b4087a [2022-06-18T00:56:51.800Z] Removing intermediate container da3268b4087a [2022-06-18T00:56:51.800Z] ---> fe2294650a4a [2022-06-18T00:56:51.800Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-06-18T00:56:52.075Z] ---> dbdc4661beed [2022-06-18T00:56:52.075Z] Step 8/22 : COPY src /tmp/sdk/src [2022-06-18T00:56:53.064Z] ---> d3f284e94d92 [2022-06-18T00:56:53.064Z] Step 9/22 : COPY include /tmp/sdk/include [2022-06-18T00:56:53.669Z] ---> 8a07698bba63 [2022-06-18T00:56:53.669Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-06-18T00:56:54.269Z] ---> 5304ac40a704 [2022-06-18T00:56:54.269Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-06-18T00:56:54.871Z] ---> 4e4cf1e5fbc1 [2022-06-18T00:56:54.871Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-06-18T00:56:55.474Z] ---> 3ef561de185d [2022-06-18T00:56:55.474Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-06-18T00:56:55.474Z] ---> Running in 950cd6fa7336 [2022-06-18T00:56:56.460Z] + CPPCHECK=false [2022-06-18T00:56:56.460Z] + DOCGEN=false [2022-06-18T00:56:56.460Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-06-18T00:56:56.460Z] + TOMLVER=SDK-0.2 [2022-06-18T00:56:56.460Z] + CUTILVER=1.2.2 [2022-06-18T00:56:56.460Z] + '[' 0 -gt 0 ] [2022-06-18T00:56:56.460Z] + readlink -f ./scripts/build.sh [2022-06-18T00:56:56.460Z] + dirname /tmp/sdk/scripts/build.sh [2022-06-18T00:56:56.460Z] + dirname /tmp/sdk/scripts [2022-06-18T00:56:56.460Z] + ROOT=/tmp/sdk [2022-06-18T00:56:56.460Z] + cd /tmp/sdk [2022-06-18T00:56:56.460Z] + '[' '!' -d deps ] [2022-06-18T00:56:56.460Z] + mkdir deps [2022-06-18T00:56:56.460Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-06-18T00:56:56.460Z] + tar -C deps -z -x -f - [2022-06-18T00:56:56.460Z] Connecting to github.com (140.82.113.3:443) [2022-06-18T00:56:56.736Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-06-18T00:56:57.011Z] writing to stdout [2022-06-18T00:56:57.011Z] - 100% |********************************| 16451 0:00:00 ETA [2022-06-18T00:56:57.011Z] written to stdout [2022-06-18T00:56:57.011Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-06-18T00:56:57.011Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-06-18T00:56:57.011Z] + tar -C deps -z -x -f - [2022-06-18T00:56:57.011Z] Connecting to github.com (140.82.113.3:443) [2022-06-18T00:56:57.285Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-06-18T00:56:57.558Z] writing to stdout [2022-06-18T00:56:57.558Z] - 100% |********************************| 189k 0:00:00 ETA [2022-06-18T00:56:57.558Z] written to stdout [2022-06-18T00:56:57.558Z] + mkdir -p src/c/iot [2022-06-18T00:56:57.558Z] + 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 [2022-06-18T00:56:57.558Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-06-18T00:56:57.558Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-06-18T00:56:57.558Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-06-18T00:56:57.558Z] + mkdir -p include/iot [2022-06-18T00:56:57.558Z] + 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 [2022-06-18T00:56:57.558Z] + mkdir -p include/iot/os [2022-06-18T00:56:57.558Z] + 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 [2022-06-18T00:56:57.558Z] + mkdir -p /tmp/sdk/build/release [2022-06-18T00:56:57.558Z] + cd /tmp/sdk/build/release [2022-06-18T00:56:57.558Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-06-18T00:56:58.157Z] -- The C compiler identification is GNU 10.3.1 [2022-06-18T00:56:58.157Z] -- Detecting C compiler ABI info [2022-06-18T00:56:58.453Z] -- Detecting C compiler ABI info - done [2022-06-18T00:56:58.453Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-18T00:56:58.453Z] -- Detecting C compile features [2022-06-18T00:56:58.453Z] -- Detecting C compile features - done [2022-06-18T00:56:58.453Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-18T00:56:58.725Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-18T00:56:58.725Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-18T00:56:58.725Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-18T00:56:58.725Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-18T00:56:58.997Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-18T00:56:58.997Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-18T00:56:58.997Z] -- C SDK 0.0.0 for Linux [2022-06-18T00:56:58.997Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-18T00:56:59.271Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-18T00:56:59.271Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-18T00:56:59.543Z] -- Configuring done [2022-06-18T00:56:59.816Z] -- Generating done [2022-06-18T00:56:59.816Z] -- Build files have been written to: /tmp/sdk/build/release [2022-06-18T00:56:59.816Z] + + maketee all release.log package [2022-06-18T00:56:59.816Z] [2022-06-18T00:57:00.091Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-18T00:57:01.090Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-18T00:57:02.067Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-18T00:57:05.444Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-18T00:57:06.427Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-18T00:57:06.701Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-18T00:57:07.687Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-18T00:57:08.664Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-18T00:57:08.938Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-18T00:57:10.932Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-18T00:57:14.315Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-18T00:57:14.906Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-18T00:57:15.881Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-18T00:57:16.854Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-18T00:57:17.454Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-18T00:57:17.725Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-18T00:57:18.317Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-18T00:57:22.608Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-18T00:57:22.883Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-18T00:57:23.478Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-18T00:57:24.078Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-18T00:57:25.061Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-18T00:57:25.061Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-18T00:57:25.061Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-18T00:57:25.061Z] 275 | const iot_component_factory_t * factory; [2022-06-18T00:57:25.061Z] | ^~~~~~~ [2022-06-18T00:57:26.035Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-18T00:57:32.726Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-18T00:57:32.727Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-18T00:57:32.727Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-18T00:57:33.320Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-18T00:57:34.295Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-18T00:57:34.295Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-18T00:57:36.261Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-18T00:57:36.534Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-18T00:57:37.507Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-18T00:57:38.105Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-18T00:57:38.379Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-18T00:57:41.749Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-18T00:57:42.019Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-18T00:57:43.450Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-18T00:57:43.450Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-18T00:57:50.137Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-18T00:57:50.137Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-18T00:57:50.409Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-18T00:57:51.002Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-18T00:57:51.274Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-18T00:57:51.274Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:57:51.274Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-18T00:57:51.274Z] | ^~~~~~~~~~~~~ [2022-06-18T00:57:51.274Z] | | [2022-06-18T00:57:51.274Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-18T00:57:51.274Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:57:51.274Z] /usr/include/microhttpd.h:2784: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 *)' [2022-06-18T00:57:51.274Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-18T00:57:51.274Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-18T00:57:51.274Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-18T00:57:51.274Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:57:51.274Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-18T00:57:51.274Z] | ^~~~~~~~~~~~ [2022-06-18T00:57:51.274Z] | | [2022-06-18T00:57:51.274Z] | 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 **)} [2022-06-18T00:57:51.274Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:57:51.274Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:57:51.274Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:57:51.274Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:57:51.274Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:57:51.274Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-18T00:57:51.274Z] | ^~~~~~~~~~~~ [2022-06-18T00:57:51.274Z] | | [2022-06-18T00:57:51.274Z] | 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 **)} [2022-06-18T00:57:51.274Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:57:51.274Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:57:51.274Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:57:51.274Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:57:52.697Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-18T00:57:55.303Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-18T00:57:55.303Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-18T00:57:55.894Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-18T00:57:56.486Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-18T00:57:59.090Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-18T00:58:03.377Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-18T00:58:03.969Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-18T00:58:04.941Z] [ 76%] Linking C shared library libcsdk.so [2022-06-18T00:58:04.941Z] [ 76%] Built target csdk [2022-06-18T00:58:04.941Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-18T00:58:05.909Z] [ 79%] Linking C executable template [2022-06-18T00:58:06.181Z] [ 79%] Built target template [2022-06-18T00:58:06.181Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-18T00:58:06.771Z] [ 82%] Linking C executable device-counter [2022-06-18T00:58:07.045Z] [ 82%] Built target device-counter [2022-06-18T00:58:07.045Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-18T00:58:07.638Z] [ 85%] Linking C executable device-random [2022-06-18T00:58:07.638Z] [ 85%] Built target device-random [2022-06-18T00:58:07.909Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-18T00:58:08.180Z] [ 88%] Linking C executable device-gyro [2022-06-18T00:58:08.454Z] [ 88%] Built target device-gyro [2022-06-18T00:58:08.724Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-18T00:58:08.997Z] [ 91%] Linking C executable device-bitfields [2022-06-18T00:58:09.588Z] [ 91%] Built target device-bitfields [2022-06-18T00:58:09.588Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-18T00:58:10.179Z] [ 94%] Linking C executable template-discovery [2022-06-18T00:58:10.450Z] [ 94%] Built target template-discovery [2022-06-18T00:58:10.724Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-18T00:58:11.317Z] [ 97%] Linking C executable device-file [2022-06-18T00:58:11.591Z] [ 97%] Built target device-file [2022-06-18T00:58:11.591Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-18T00:58:12.561Z] [100%] Linking C executable device-terminal [2022-06-18T00:58:12.561Z] [100%] Built target device-terminal [2022-06-18T00:58:12.561Z] Run CPack packaging tool... [2022-06-18T00:58:12.832Z] CPack: Create package using TGZ [2022-06-18T00:58:12.832Z] CPack: Install projects [2022-06-18T00:58:12.832Z] CPack: - Run preinstall target for: Csdk [2022-06-18T00:58:13.430Z] CPack: - Install project: Csdk [] [2022-06-18T00:58:13.430Z] CPack: Create package [2022-06-18T00:58:13.701Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-06-18T00:58:13.701Z] + '[' false '=' true ] [2022-06-18T00:58:13.701Z] + '[' false '=' true ] [2022-06-18T00:58:13.701Z] + mkdir -p /tmp/sdk/build/debug [2022-06-18T00:58:13.701Z] + cd /tmp/sdk/build/debug [2022-06-18T00:58:13.701Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-06-18T00:58:13.975Z] -- The C compiler identification is GNU 10.3.1 [2022-06-18T00:58:13.975Z] -- Detecting C compiler ABI info [2022-06-18T00:58:14.248Z] -- Detecting C compiler ABI info - done [2022-06-18T00:58:14.248Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-06-18T00:58:14.248Z] -- Detecting C compile features [2022-06-18T00:58:14.248Z] -- Detecting C compile features - done [2022-06-18T00:58:14.248Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-06-18T00:58:14.522Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-06-18T00:58:14.522Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-06-18T00:58:14.522Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-06-18T00:58:14.522Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-06-18T00:58:14.522Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-06-18T00:58:14.522Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-06-18T00:58:14.522Z] -- C SDK 0.0.0 for Linux [2022-06-18T00:58:14.522Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-06-18T00:58:14.796Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-06-18T00:58:15.071Z] -- Found Curses: /usr/lib/libcurses.so [2022-06-18T00:58:15.343Z] -- Configuring done [2022-06-18T00:58:15.343Z] -- Generating done [2022-06-18T00:58:15.616Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-06-18T00:58:15.616Z] + make [2022-06-18T00:58:15.616Z] + tee debug.log [2022-06-18T00:58:15.616Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-06-18T00:58:15.890Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-06-18T00:58:16.485Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-06-18T00:58:17.087Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-06-18T00:58:17.362Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-06-18T00:58:17.636Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-06-18T00:58:18.230Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-06-18T00:58:18.504Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-06-18T00:58:18.776Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-06-18T00:58:19.372Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-06-18T00:58:19.969Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-06-18T00:58:20.240Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-06-18T00:58:20.512Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-06-18T00:58:21.105Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-06-18T00:58:21.377Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-06-18T00:58:21.377Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-06-18T00:58:21.647Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-06-18T00:58:22.620Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-06-18T00:58:22.893Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-06-18T00:58:23.165Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-06-18T00:58:23.438Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-06-18T00:58:23.711Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-06-18T00:58:23.711Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-06-18T00:58:23.711Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-06-18T00:58:23.711Z] 275 | const iot_component_factory_t * factory; [2022-06-18T00:58:23.711Z] | ^~~~~~~ [2022-06-18T00:58:23.984Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-06-18T00:58:25.426Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-06-18T00:58:25.426Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-06-18T00:58:25.704Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-06-18T00:58:25.979Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-06-18T00:58:26.253Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-06-18T00:58:26.528Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-06-18T00:58:26.800Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-06-18T00:58:27.075Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-06-18T00:58:27.673Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-06-18T00:58:27.673Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-06-18T00:58:27.948Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-06-18T00:58:28.543Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-06-18T00:58:28.818Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-06-18T00:58:29.417Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-06-18T00:58:29.689Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-06-18T00:58:31.127Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-06-18T00:58:31.401Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-06-18T00:58:31.675Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-06-18T00:58:32.277Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-06-18T00:58:32.277Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-06-18T00:58:32.277Z] /tmp/sdk/src/c/rest-server.c:394:67: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:58:32.277Z] 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-06-18T00:58:32.277Z] | ^~~~~~~~~~~~~ [2022-06-18T00:58:32.277Z] | | [2022-06-18T00:58:32.277Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-06-18T00:58:32.277Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:58:32.277Z] /usr/include/microhttpd.h:2784: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 *)' [2022-06-18T00:58:32.277Z] 2784 | MHD_KeyValueIterator iterator, [2022-06-18T00:58:32.277Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-06-18T00:58:32.277Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-06-18T00:58:32.277Z] /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:58:32.277Z] 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-06-18T00:58:32.277Z] | ^~~~~~~~~~~~ [2022-06-18T00:58:32.277Z] | | [2022-06-18T00:58:32.277Z] | 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 **)} [2022-06-18T00:58:32.277Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:58:32.277Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:58:32.277Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:58:32.277Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:58:32.277Z] /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-06-18T00:58:32.277Z] 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-06-18T00:58:32.277Z] | ^~~~~~~~~~~~ [2022-06-18T00:58:32.277Z] | | [2022-06-18T00:58:32.277Z] | 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 **)} [2022-06-18T00:58:32.277Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-06-18T00:58:32.277Z] /usr/include/microhttpd.h:2480: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 **)'} [2022-06-18T00:58:32.277Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-06-18T00:58:32.277Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-06-18T00:58:32.880Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-06-18T00:58:34.872Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-06-18T00:58:34.872Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-06-18T00:58:35.146Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-06-18T00:58:35.423Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-06-18T00:58:36.403Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-06-18T00:58:37.383Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-06-18T00:58:37.657Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-06-18T00:58:37.934Z] [ 76%] Linking C shared library libcsdk.so [2022-06-18T00:58:38.529Z] [ 76%] Built target csdk [2022-06-18T00:58:38.529Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-06-18T00:58:38.803Z] [ 79%] Linking C executable template [2022-06-18T00:58:39.079Z] [ 79%] Built target template [2022-06-18T00:58:39.079Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-06-18T00:58:39.679Z] [ 82%] Linking C executable device-counter [2022-06-18T00:58:39.679Z] [ 82%] Built target device-counter [2022-06-18T00:58:39.955Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-06-18T00:58:40.228Z] [ 85%] Linking C executable device-random [2022-06-18T00:58:40.500Z] [ 85%] Built target device-random [2022-06-18T00:58:40.500Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-06-18T00:58:40.775Z] [ 88%] Linking C executable device-gyro [2022-06-18T00:58:41.050Z] [ 88%] Built target device-gyro [2022-06-18T00:58:41.050Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-06-18T00:58:41.324Z] [ 91%] Linking C executable device-bitfields [2022-06-18T00:58:41.599Z] [ 91%] Built target device-bitfields [2022-06-18T00:58:41.599Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-06-18T00:58:42.197Z] [ 94%] Linking C executable template-discovery [2022-06-18T00:58:42.472Z] [ 94%] Built target template-discovery [2022-06-18T00:58:42.472Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-06-18T00:58:42.746Z] [ 97%] Linking C executable device-file [2022-06-18T00:58:43.021Z] [ 97%] Built target device-file [2022-06-18T00:58:43.021Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-06-18T00:58:43.620Z] [100%] Linking C executable device-terminal [2022-06-18T00:58:43.897Z] [100%] Built target device-terminal [2022-06-18T00:58:43.897Z] make: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:43.897Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:43.897Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:43.897Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:43.897Z] [ 76%] Built target csdk [2022-06-18T00:58:43.897Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:43.897Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 79%] Built target template [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 82%] Built target device-counter [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 85%] Built target device-random [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 88%] Built target device-gyro [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 91%] Built target device-bitfields [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.172Z] [ 94%] Built target template-discovery [2022-06-18T00:58:44.172Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.449Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.449Z] [ 97%] Built target device-file [2022-06-18T00:58:44.449Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.449Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.449Z] [100%] Built target device-terminal [2022-06-18T00:58:44.449Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:44.449Z] Install the project... [2022-06-18T00:58:44.449Z] -- Install configuration: "Release" [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/lib/libcsdk.so [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/devsdk [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/devices.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/defs.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/time.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/base64.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/component.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/config.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/container.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/uuid.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/os.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/thread.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/data.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/typecode.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/hash.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/logger.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/os [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-06-18T00:58:44.449Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-06-18T00:58:44.450Z] -- Installing: /usr/local/include/iot/json.h [2022-06-18T00:58:44.450Z] -- Installing: /usr/local/include/iot/iot.h [2022-06-18T00:58:44.450Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-06-18T00:58:44.450Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-06-18T00:58:44.450Z] make: Leaving directory '/tmp/sdk/build/release' [2022-06-18T00:58:46.437Z] Removing intermediate container 950cd6fa7336 [2022-06-18T00:58:46.437Z] ---> c66c1dffccff [2022-06-18T00:58:46.437Z] Step 14/22 : FROM ${BASE} [2022-06-18T00:58:46.437Z] ---> cad489bbaf40 [2022-06-18T00:58:46.437Z] Step 15/22 : LABEL maintainer="IOTech " [2022-06-18T00:58:46.437Z] ---> Running in 3ab117b0d5bf [2022-06-18T00:58:46.715Z] Removing intermediate container 3ab117b0d5bf [2022-06-18T00:58:46.715Z] ---> cbc1dda44eaa [2022-06-18T00:58:46.715Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-06-18T00:58:46.715Z] ---> Running in ef6c3fce04eb [2022-06-18T00:58:47.706Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-06-18T00:58:48.322Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:58:48.322Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:58:48.322Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:58:48.927Z] Removing intermediate container ef6c3fce04eb [2022-06-18T00:58:48.927Z] ---> 0c871c06ae49 [2022-06-18T00:58:48.927Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:58:48.927Z] ---> Running in 4074ce4e1ec4 [2022-06-18T00:58:50.912Z] Removing intermediate container 4074ce4e1ec4 [2022-06-18T00:58:50.912Z] ---> e506579b6a36 [2022-06-18T00:58:50.912Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-06-18T00:58:50.912Z] ---> Running in 5ec8c272457f [2022-06-18T00:58:51.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:58:52.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-18T00:58:53.105Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:58:54.090Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:58:54.090Z] (1/6) Installing curl (7.80.0-r1) [2022-06-18T00:58:54.090Z] (2/6) Installing hiredis (1.0.2-r0) [2022-06-18T00:58:54.090Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-06-18T00:58:54.090Z] (4/6) Installing libcbor (0.8.0-r0) [2022-06-18T00:58:54.364Z] (5/6) Installing libuuid (2.37.4-r0) [2022-06-18T00:58:54.364Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-06-18T00:58:55.344Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:58:55.344Z] OK: 278 MiB in 83 packages [2022-06-18T00:58:56.349Z] Removing intermediate container 5ec8c272457f [2022-06-18T00:58:56.349Z] ---> bd0415723b8e [2022-06-18T00:58:56.349Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-06-18T00:58:56.948Z] ---> 56c7b8b02172 [2022-06-18T00:58:56.948Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-06-18T00:58:57.560Z] ---> aa1bb3ecb7c5 [2022-06-18T00:58:57.560Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-06-18T00:58:58.173Z] ---> 96e393d0fa1c [2022-06-18T00:58:58.173Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-06-18T00:58:58.449Z] ---> 7fed90606bb6 [2022-06-18T00:58:58.723Z] Successfully built 7fed90606bb6 [2022-06-18T00:58:58.724Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:58:59.464Z] + docker inspect -f . ci-base-image-arm64 [2022-06-18T00:58:59.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T00:58:59.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-2617 does not seem to be running inside a container [2022-06-18T00:58:59.916Z] $ 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 [2022-06-18T00:59:01.245Z] $ docker top b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T00:59:02.232Z] + make test [2022-06-18T00:59:02.233Z] echo "make test" [2022-06-18T00:59:02.233Z] make test [Pipeline] } [2022-06-18T00:59:02.271Z] $ docker stop --time=1 b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c [2022-06-18T00:59:03.924Z] $ docker rm -f b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T00:59:04.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-18T00:59:05.191Z] + ls -al . [2022-06-18T00:59:05.191Z] total 204 [2022-06-18T00:59:05.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:55 . [2022-06-18T00:59:05.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 .. [2022-06-18T00:59:05.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:55 .git [2022-06-18T00:59:05.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 .github [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 00:55 .gitignore [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 00:55 Attribution.txt [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 8321 Jun 18 00:55 CHANGES [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 00:55 Doxyfile [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 00:55 GOVERNANCE.md [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 00:55 Jenkinsfile [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 00:55 LICENSE [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 00:55 Makefile [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 18 00:55 OWNERS.md [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jun 18 00:55 README.md [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jun 18 00:55 README.v2.md [2022-06-18T00:59:05.191Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 00:53 VERSION [2022-06-18T00:59:05.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 docs [2022-06-18T00:59:05.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 include [2022-06-18T00:59:05.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 scripts [2022-06-18T00:59:05.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:59:05.636Z] + 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=942c8451240af7bf227f04daa983bc93c578c377 --label arch=arm64 --label version=0.0.0 . [2022-06-18T00:59:05.913Z] Sending build context to Docker daemon 2.737MB [2022-06-18T00:59:06.192Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-06-18T00:59:06.192Z] Step 2/17 : FROM ${BASE} [2022-06-18T00:59:06.192Z] ---> 7fed90606bb6 [2022-06-18T00:59:06.192Z] Step 3/17 : LABEL maintainer="IOTech " [2022-06-18T00:59:06.192Z] ---> Running in bdf693eb34ef [2022-06-18T00:59:06.471Z] Removing intermediate container bdf693eb34ef [2022-06-18T00:59:06.471Z] ---> 5befc73d2bae [2022-06-18T00:59:06.471Z] 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 [2022-06-18T00:59:06.471Z] ---> Running in f3f8b1770ea7 [2022-06-18T00:59:07.459Z] Connecting to iotech.jfrog.io (52.18.78.255:443) [2022-06-18T00:59:08.061Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-06-18T00:59:08.061Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-06-18T00:59:08.061Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-06-18T00:59:08.663Z] Removing intermediate container f3f8b1770ea7 [2022-06-18T00:59:08.663Z] ---> a0b0f865c069 [2022-06-18T00:59:08.663Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-06-18T00:59:08.663Z] ---> Running in 00abd0a25ab1 [2022-06-18T00:59:10.643Z] Removing intermediate container 00abd0a25ab1 [2022-06-18T00:59:10.643Z] ---> 4f80aba27696 [2022-06-18T00:59:10.643Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-06-18T00:59:10.643Z] ---> Running in eb175c6426e0 [2022-06-18T00:59:11.627Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:59:12.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-18T00:59:12.827Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T00:59:13.805Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-06-18T00:59:13.805Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-06-18T00:59:13.805Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-06-18T00:59:13.805Z] (3/26) Installing util-linux (2.37.4-r0) [2022-06-18T00:59:14.077Z] (4/26) Installing libblkid (2.37.4-r0) [2022-06-18T00:59:14.077Z] (5/26) Installing libeconf (0.4.2-r0) [2022-06-18T00:59:14.349Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-06-18T00:59:14.349Z] (7/26) Installing libmount (2.37.4-r0) [2022-06-18T00:59:14.349Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-06-18T00:59:14.622Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-06-18T00:59:14.895Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-06-18T00:59:14.895Z] (11/26) Installing runuser (2.37.4-r0) [2022-06-18T00:59:15.171Z] (12/26) Installing hexdump (2.37.4-r0) [2022-06-18T00:59:15.171Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-06-18T00:59:15.171Z] (14/26) Installing blkid (2.37.4-r0) [2022-06-18T00:59:15.442Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-06-18T00:59:15.442Z] (16/26) Installing mcookie (2.37.4-r0) [2022-06-18T00:59:15.442Z] (17/26) Installing wipefs (2.37.4-r0) [2022-06-18T00:59:15.442Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-06-18T00:59:15.715Z] (19/26) Installing flock (2.37.4-r0) [2022-06-18T00:59:15.715Z] (20/26) Installing lsblk (2.37.4-r0) [2022-06-18T00:59:15.715Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-06-18T00:59:15.988Z] (22/26) Installing setpriv (2.37.4-r0) [2022-06-18T00:59:15.988Z] (23/26) Installing logger (2.37.4-r0) [2022-06-18T00:59:15.988Z] (24/26) Installing partx (2.37.4-r0) [2022-06-18T00:59:16.262Z] (25/26) Installing findmnt (2.37.4-r0) [2022-06-18T00:59:16.262Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-06-18T00:59:16.537Z] Executing busybox-1.34.1-r5.trigger [2022-06-18T00:59:16.537Z] OK: 290 MiB in 109 packages [2022-06-18T00:59:18.001Z] Removing intermediate container eb175c6426e0 [2022-06-18T00:59:18.001Z] ---> 917040cef061 [2022-06-18T00:59:18.001Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-06-18T00:59:18.600Z] ---> 5707940232fb [2022-06-18T00:59:18.600Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-06-18T00:59:19.591Z] ---> 79a03c1f1ea3 [2022-06-18T00:59:19.591Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-06-18T00:59:19.866Z] ---> 51200f407375 [2022-06-18T00:59:19.866Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-06-18T00:59:20.464Z] ---> 38e59977c9f7 [2022-06-18T00:59:20.464Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-06-18T00:59:21.064Z] ---> 4f617b346001 [2022-06-18T00:59:21.064Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-06-18T00:59:21.732Z] ---> 0343b50d131d [2022-06-18T00:59:21.732Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-06-18T00:59:21.732Z] ---> Running in f7de6fdad981 [2022-06-18T00:59:22.068Z] Removing intermediate container f7de6fdad981 [2022-06-18T00:59:22.068Z] ---> 0c3e651e525b [2022-06-18T00:59:22.068Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-06-18T00:59:22.068Z] ---> Running in a1e7a0569990 [2022-06-18T00:59:22.704Z] Removing intermediate container a1e7a0569990 [2022-06-18T00:59:22.704Z] ---> 028cc7ddf0d3 [2022-06-18T00:59:22.704Z] Step 15/17 : LABEL arch=arm64 [2022-06-18T00:59:22.704Z] ---> Running in 4bb44cacc885 [2022-06-18T00:59:22.980Z] Removing intermediate container 4bb44cacc885 [2022-06-18T00:59:22.981Z] ---> 379a2fb924b1 [2022-06-18T00:59:22.981Z] Step 16/17 : LABEL git_sha=942c8451240af7bf227f04daa983bc93c578c377 [2022-06-18T00:59:22.981Z] ---> Running in e810a13c7099 [2022-06-18T00:59:23.283Z] Removing intermediate container e810a13c7099 [2022-06-18T00:59:23.283Z] ---> 28325d3818eb [2022-06-18T00:59:23.283Z] Step 17/17 : LABEL version=0.0.0 [2022-06-18T00:59:23.586Z] ---> Running in 5f60e5f7cbd7 [2022-06-18T00:59:23.864Z] Removing intermediate container 5f60e5f7cbd7 [2022-06-18T00:59:23.864Z] ---> 85e598fed861 [2022-06-18T00:59:23.864Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-06-18T00:59:23.864Z] Successfully built 85e598fed861 [2022-06-18T00:59:23.864Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:59:24.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T00:59:24.675Z] [2022-06-18T00:59:24.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T00:59:25.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T00:59:25.422Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-18T00:59:25.422Z] 8998bd30e6a1: Pulling fs layer [2022-06-18T00:59:25.422Z] 04944245beec: Pulling fs layer [2022-06-18T00:59:25.422Z] 699f458cf7ca: Pulling fs layer [2022-06-18T00:59:25.422Z] 765212b225bb: Pulling fs layer [2022-06-18T00:59:25.422Z] f23df028b6ca: Pulling fs layer [2022-06-18T00:59:25.422Z] d65c8cfc05b1: Pulling fs layer [2022-06-18T00:59:25.422Z] 2437ff75d9bd: Pulling fs layer [2022-06-18T00:59:25.422Z] f23df028b6ca: Waiting [2022-06-18T00:59:25.422Z] 2437ff75d9bd: Waiting [2022-06-18T00:59:25.422Z] 765212b225bb: Waiting [2022-06-18T00:59:25.422Z] 04944245beec: Verifying Checksum [2022-06-18T00:59:25.422Z] 04944245beec: Download complete [2022-06-18T00:59:25.422Z] 765212b225bb: Verifying Checksum [2022-06-18T00:59:25.422Z] 765212b225bb: Download complete [2022-06-18T00:59:25.706Z] f23df028b6ca: Verifying Checksum [2022-06-18T00:59:25.706Z] f23df028b6ca: Download complete [2022-06-18T00:59:25.706Z] d65c8cfc05b1: Verifying Checksum [2022-06-18T00:59:25.706Z] d65c8cfc05b1: Download complete [2022-06-18T00:59:25.706Z] 699f458cf7ca: Verifying Checksum [2022-06-18T00:59:25.706Z] 699f458cf7ca: Download complete [2022-06-18T00:59:26.340Z] 8998bd30e6a1: Verifying Checksum [2022-06-18T00:59:26.340Z] 8998bd30e6a1: Download complete [2022-06-18T00:59:29.020Z] 2437ff75d9bd: Verifying Checksum [2022-06-18T00:59:29.020Z] 2437ff75d9bd: Download complete [2022-06-18T00:59:31.646Z] 8998bd30e6a1: Pull complete [2022-06-18T00:59:31.921Z] 04944245beec: Pull complete [2022-06-18T00:59:33.355Z] 699f458cf7ca: Pull complete [2022-06-18T00:59:33.628Z] 765212b225bb: Pull complete [2022-06-18T00:59:34.606Z] f23df028b6ca: Pull complete [2022-06-18T00:59:34.885Z] d65c8cfc05b1: Pull complete [2022-06-18T00:59:49.967Z] 2437ff75d9bd: Pull complete [2022-06-18T00:59:49.967Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-18T00:59:49.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T00:59:49.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T00:59:50.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-2617 does not seem to be running inside a container [2022-06-18T00:59:50.440Z] $ 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 [2022-06-18T00:59:52.989Z] $ docker top a49a0d79b8784e261bb006aafa9651f0b7f011690d28cb0ce892d18ee48d128d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T00:59:53.982Z] ---> job-cost.sh [2022-06-18T00:59:53.982Z] lf-activate-venv: SKIPPING [2022-06-18T00:59:53.982Z] INFO: No Stack... [2022-06-18T00:59:54.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-18T00:59:55.544Z] INFO: Archiving Costs [Pipeline] sh [2022-06-18T00:59:56.229Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-06-18T00:59:56.229Z] + cut -d, -f6 [Pipeline] lock [2022-06-18T00:59:56.314Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [2022-06-18T00:59:56.319Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] did not exist. Created. [2022-06-18T00:59:56.319Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-18T00:59:57.063Z] /w/workspace/device-sdk-c/1@tmp/durable-c82b18c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-18T00:59:57.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-18T00:59:57.802Z] Warning: overwriting stash ‘stack-cost’ [2022-06-18T00:59:58.284Z] Stashed 1 file(s) [Pipeline] } [2022-06-18T00:59:58.312Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-18T00:59:58.405Z] $ docker stop --time=1 a49a0d79b8784e261bb006aafa9651f0b7f011690d28cb0ce892d18ee48d128d [2022-06-18T00:59:59.923Z] $ docker rm -f a49a0d79b8784e261bb006aafa9651f0b7f011690d28cb0ce892d18ee48d128d [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 [2022-06-18T01:00:01.706Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives ] [2022-06-18T01:00:01.706Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives [2022-06-18T01:00:01.706Z] total 16 [2022-06-18T01:00:01.706Z] drwxr-xr-x 3 root root 4096 Jun 18 00:54 . [2022-06-18T01:00:01.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 00:54 .. [2022-06-18T01:00:01.706Z] drwxr-xr-x 2 root root 4096 Jun 18 00:54 cost [2022-06-18T01:00:01.706Z] -rw-r--r-- 1 root root 83 Jun 18 00:54 cost.csv [2022-06-18T01:00:01.706Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives [2022-06-18T01:00:01.706Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives [2022-06-18T01:00:01.706Z] total 16 [2022-06-18T01:00:01.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 00:54 . [2022-06-18T01:00:01.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 00:54 .. [2022-06-18T01:00:01.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 00:54 cost [2022-06-18T01:00:01.706Z] -rw-r--r-- 1 jenkins jenkins 83 Jun 18 00:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:02.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:02.943Z] ---> package-listing.sh [2022-06-18T01:00:02.943Z] ++ facter osfamily [2022-06-18T01:00:02.943Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-18T01:00:03.204Z] + OS_FAMILY=debian [2022-06-18T01:00:03.204Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-421 [2022-06-18T01:00:03.204Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-18T01:00:03.204Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-18T01:00:03.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-18T01:00:03.204Z] + PACKAGES=/tmp/packages_start.txt [2022-06-18T01:00:03.204Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-421 ']' [2022-06-18T01:00:03.204Z] + PACKAGES=/tmp/packages_end.txt [2022-06-18T01:00:03.204Z] + case "${OS_FAMILY}" in [2022-06-18T01:00:03.204Z] + dpkg -l [2022-06-18T01:00:03.204Z] + grep '^ii' [2022-06-18T01:00:03.204Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-18T01:00:03.204Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-18T01:00:03.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-18T01:00:03.204Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-421 ']' [2022-06-18T01:00:03.204Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives/ [2022-06-18T01:00:03.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives/ [Pipeline] echo [2022-06-18T01:00:03.235Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-18T01:00:03.530Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:00:04.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T01:00:04.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:00:04.426Z] prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container [2022-06-18T01:00:04.477Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-421/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-421 -v /w/workspace/edgexfoundry_device-sdk-c_PR-421:/w/workspace/edgexfoundry_device-sdk-c_PR-421:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-421@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 [2022-06-18T01:00:04.686Z] $ docker top 9f5b6d5402a7463ba5467206ca5411141d67ab926d3abf74f3b2253679150551 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T01:00:05.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-18T01:00:05.402Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-18T01:00:05.713Z] + ls /var/log/sa-host [2022-06-18T01:00:05.714Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T01:00:05.917Z] provisioning config files... [2022-06-18T01:00:05.928Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config2101146614167725272tmp [Pipeline] { [Pipeline] echo [2022-06-18T01:00:05.972Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:06.289Z] ---> create-netrc.sh [Pipeline] } [2022-06-18T01:00:06.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:06.720Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-18T01:00:06.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:07.076Z] ---> sudo-logs.sh [2022-06-18T01:00:07.076Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-18T01:00:07.157Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:07.472Z] ---> job-cost.sh [2022-06-18T01:00:07.472Z] lf-activate-venv: SKIPPING [2022-06-18T01:00:07.472Z] DEBUG: total: 0.2199999988079071 [2022-06-18T01:00:07.472Z] INFO: Retrieving Stack Cost... [2022-06-18T01:00:07.733Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-18T01:00:08.302Z] INFO: Archiving Costs [Pipeline] echo [2022-06-18T01:00:08.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:00:08.648Z] ---> logs-deploy.sh [2022-06-18T01:00:08.648Z] lf-activate-venv: SKIPPING [2022-06-18T01:00:08.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-421/1 [2022-06-18T01:00:08.648Z] INFO: archiving workspace using pattern(s): [2022-06-18T01:00:09.590Z] Archives upload complete. [2022-06-18T01:00:09.590Z] INFO: archiving logs to Nexus