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 00:52:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:52:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:52:48 ========================================================= 00:52:48 EdgeX Global Pipelines Version Info 00:52:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:52:49 ------------------- 00:52:49 stable info: 00:52:49 ------------------- 00:52:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:52:49 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 00:52:49 Message: update stable to v1.0.234 00:52:50 ------------------- 00:52:50 experimental info: 00:52:50 ------------------- 00:52:50 Commited By: **** collab-it+edgex@linuxfoundation.org 00:52:50 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 00:52:50 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:52:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 942c845 [Pipeline] echo 00:52:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:52:51 provisioning config files... 00:52:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config7618519319386908701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:52:51 ---> docker-login.sh 00:52:51 nexus3.edgexfoundry.org:10001 00:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:52 Configure a credential helper to remove this warning. See 00:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:52 00:52:52 Login Succeeded 00:52:52 nexus3.edgexfoundry.org:10002 00:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:52 Configure a credential helper to remove this warning. See 00:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:52 00:52:52 Login Succeeded 00:52:52 nexus3.edgexfoundry.org:10003 00:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:52 Configure a credential helper to remove this warning. See 00:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:52 00:52:52 Login Succeeded 00:52:52 nexus3.edgexfoundry.org:10004 00:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:52 Configure a credential helper to remove this warning. See 00:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:52 00:52:52 Login Succeeded 00:52:52 docker.io 00:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:52:53 Configure a credential helper to remove this warning. See 00:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:52:53 00:52:53 Login Succeeded 00:52:53 ---> docker-login.sh ends [Pipeline] } 00:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 00:52:53 + git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo 00:52:53 -----------> git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 942c8451240af7bf227f04daa983bc93c578c377 [false] [Pipeline] sh 00:52:54 + git log --format=format:%s -1 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo 00:52:54 ========================================================= 00:52:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:52:54 ========================================================= 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 00:52:55 + git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo 00:52:55 -----------> git rev-list -1 --merges 942c8451240af7bf227f04daa983bc93c578c377~1..942c8451240af7bf227f04daa983bc93c578c377 942c8451240af7bf227f04daa983bc93c578c377 [false] [Pipeline] sh 00:52:55 + git log --format=format:%s -1 942c8451240af7bf227f04daa983bc93c578c377 [Pipeline] echo 00:52:55 ========================================================= 00:52:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:52:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 00:52:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:52:55 + grep -v github /etc/ssh/ssh_known_hosts 00:52:55 + [ -e /tmp/ssh_known_hosts ] 00:52:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:52:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:52:55 + sudo tee -a /etc/ssh/ssh_known_hosts 00:52:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:52:56 00:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:52:56 0.1.4: Pulling from edgex-devops/py-git-semver 00:52:56 42c077c10790: Pulling fs layer 00:52:56 f63e77b7563a: Pulling fs layer 00:52:56 bd5fdadae976: Pulling fs layer 00:52:56 205491f53016: Pulling fs layer 00:52:56 df18705c85c3: Pulling fs layer 00:52:56 bdb3f477010e: Pulling fs layer 00:52:56 c8a8fc8e1c8f: Pulling fs layer 00:52:56 2c6e9b1d212d: Pulling fs layer 00:52:56 bdb8f0575790: Pulling fs layer 00:52:56 386e3cb2ff24: Pulling fs layer 00:52:56 2343380bae48: Pulling fs layer 00:52:56 df18705c85c3: Waiting 00:52:56 bdb3f477010e: Waiting 00:52:56 bdb8f0575790: Waiting 00:52:56 205491f53016: Waiting 00:52:56 c8a8fc8e1c8f: Waiting 00:52:56 2c6e9b1d212d: Waiting 00:52:56 2343380bae48: Waiting 00:52:56 f63e77b7563a: Download complete 00:52:56 205491f53016: Verifying Checksum 00:52:56 205491f53016: Download complete 00:52:57 df18705c85c3: Verifying Checksum 00:52:57 df18705c85c3: Download complete 00:52:57 bdb3f477010e: Verifying Checksum 00:52:57 bdb3f477010e: Download complete 00:52:57 bd5fdadae976: Verifying Checksum 00:52:57 bd5fdadae976: Download complete 00:52:57 2c6e9b1d212d: Verifying Checksum 00:52:57 2c6e9b1d212d: Download complete 00:52:57 bdb8f0575790: Download complete 00:52:57 386e3cb2ff24: Download complete 00:52:57 2343380bae48: Verifying Checksum 00:52:57 2343380bae48: Download complete 00:52:57 42c077c10790: Verifying Checksum 00:52:57 42c077c10790: Download complete 00:52:57 c8a8fc8e1c8f: Verifying Checksum 00:52:57 c8a8fc8e1c8f: Download complete 00:52:58 42c077c10790: Pull complete 00:52:58 f63e77b7563a: Pull complete 00:52:59 bd5fdadae976: Pull complete 00:52:59 205491f53016: Pull complete 00:52:59 df18705c85c3: Pull complete 00:52:59 bdb3f477010e: Pull complete 00:53:01 c8a8fc8e1c8f: Pull complete 00:53:01 2c6e9b1d212d: Pull complete 00:53:01 bdb8f0575790: Pull complete 00:53:01 386e3cb2ff24: Pull complete 00:53:02 2343380bae48: Pull complete 00:53:02 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:53:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:02 prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container 00:53:02 $ 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 00:53:03 $ docker top a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 -eo pid,comm 00:53:03 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). 00:53:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:03 [ssh-agent] Looking for ssh-agent implementation... 00:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:03 $ docker exec a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent 00:53:04 SSH_AUTH_SOCK=/tmp/ssh-U1fIwhtVJfxJ/agent.34 00:53:04 SSH_AGENT_PID=41 00:53:04 Running ssh-add (command line suppressed) 00:53:04 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) 00:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:04 + git tag --points-at HEAD [Pipeline] } 00:53:04 $ docker exec --env ******** --env ******** a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent -k 00:53:04 unset SSH_AUTH_SOCK; 00:53:04 unset SSH_AGENT_PID; 00:53:04 echo Agent pid 41 killed; 00:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:53:04 [ssh-agent] Looking for ssh-agent implementation... 00:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:53:04 $ docker exec a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent 00:53:05 SSH_AUTH_SOCK=/tmp/ssh-vDCYgM8BEp25/agent.76 00:53:05 SSH_AGENT_PID=82 00:53:05 Running ssh-add (command line suppressed) 00:53:05 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) 00:53:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:53:05 + git semver init 00:53:05 2022-06-18 00:53:05,749 [run_init] DEBUG init version:0.0.0 force:False 00:53:05 2022-06-18 00:53:05,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver 00:53:05 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 00:53:05 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) 00:53:06 2022-06-18 00:53:06,503 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.git/info/exclude 00:53:06 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 00:53:06 2022-06-18 00:53:06,504 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver/PR-421 00:53:06 2022-06-18 00:53:06,508 [execute] INFO git cat-file --batch-check 00:53:06 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=) 00:53:06 2022-06-18 00:53:06,515 [execute] INFO git cat-file --batch 00:53:06 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=) 00:53:06 2022-06-18 00:53:06,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-421/.semver/PR-421 00:53:06 0.0.0 [Pipeline] } 00:53:06 $ docker exec --env ******** --env ******** a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 ssh-agent -k 00:53:06 unset SSH_AUTH_SOCK; 00:53:06 unset SSH_AGENT_PID; 00:53:06 echo Agent pid 82 killed; 00:53:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:53:07 + git semver [Pipeline] } 00:53:07 $ docker stop --time=1 a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 00:53:08 $ docker rm -f a6d5e6fbfec7da2af1c34f229a20ec62156f4b4b38411308ed98c9bc6b194d86 [Pipeline] // withDockerContainer [Pipeline] sh 00:53:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:53:09 Stashed 1 file(s) [Pipeline] echo 00:53:09 [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 00:53:10 provisioning config files... 00:53:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config1668838154725768705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:10 ---> docker-login.sh 00:53:10 nexus3.edgexfoundry.org:10001 00:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:10 Configure a credential helper to remove this warning. See 00:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:10 00:53:10 Login Succeeded 00:53:10 nexus3.edgexfoundry.org:10002 00:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:10 Configure a credential helper to remove this warning. See 00:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:10 00:53:10 Login Succeeded 00:53:10 nexus3.edgexfoundry.org:10003 00:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:10 Configure a credential helper to remove this warning. See 00:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:10 00:53:10 Login Succeeded 00:53:10 nexus3.edgexfoundry.org:10004 00:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:11 Configure a credential helper to remove this warning. See 00:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:11 00:53:11 Login Succeeded 00:53:11 docker.io 00:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:11 Configure a credential helper to remove this warning. See 00:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:11 00:53:11 Login Succeeded 00:53:11 ---> docker-login.sh ends [Pipeline] } 00:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:11 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 00:53:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:11 ========================================================= 00:53:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 00:53:11 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:12 + 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 . 00:53:12 Sending build context to Docker daemon 4.536MB 00:53:12 Step 1/22 : ARG BASE=alpine:3.15 00:53:12 Step 2/22 : FROM ${BASE} as builder 00:53:12 latest: Pulling from edgex-devops/edgex-gcc-base 00:53:12 df9b9388f04a: Pulling fs layer 00:53:12 37ea90d01205: Pulling fs layer 00:53:12 c88372d24652: Pulling fs layer 00:53:12 37ea90d01205: Verifying Checksum 00:53:12 37ea90d01205: Download complete 00:53:12 df9b9388f04a: Verifying Checksum 00:53:12 df9b9388f04a: Download complete 00:53:12 df9b9388f04a: Pull complete 00:53:12 37ea90d01205: Pull complete 00:53:12 c88372d24652: Verifying Checksum 00:53:12 c88372d24652: Download complete 00:53:16 c88372d24652: Pull complete 00:53:16 Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e 00:53:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 00:53:16 ---> 95f6e8fcc511 00:53:16 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 00:53:16 ---> Running in f88924703cb4 00:53:16 Connecting to iotech.jfrog.io (3.248.164.40:443) 00:53:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:53:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:53:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:53:17 Removing intermediate container f88924703cb4 00:53:17 ---> 5247ef64ab80 00:53:17 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:53:17 ---> Running in 32f06795002f 00:53:18 Removing intermediate container 32f06795002f 00:53:18 ---> da076ceb45c8 00:53:18 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 00:53:18 ---> Running in bc0dc5d8b27e 00:53:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:53:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:53:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 00:53:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:53:20 (1/31) Installing hiredis (1.0.2-r0) 00:53:20 (2/31) Installing hiredis-dev (1.0.2-r0) 00:53:20 (3/31) Installing libcbor (0.8.0-r0) 00:53:20 (4/31) Installing libcbor-dev (0.8.0-r0) 00:53:20 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 00:53:20 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 00:53:21 (7/31) Installing util-linux (2.37.4-r0) 00:53:21 (8/31) Installing libblkid (2.37.4-r0) 00:53:21 (9/31) Installing libeconf (0.4.2-r0) 00:53:21 (10/31) Installing libuuid (2.37.4-r0) 00:53:21 (11/31) Installing libfdisk (2.37.4-r0) 00:53:22 (12/31) Installing libmount (2.37.4-r0) 00:53:22 (13/31) Installing libsmartcols (2.37.4-r0) 00:53:22 (14/31) Installing util-linux-misc (2.37.4-r0) 00:53:22 (15/31) Installing linux-pam (1.5.2-r0) 00:53:22 (16/31) Installing runuser (2.37.4-r0) 00:53:22 (17/31) Installing hexdump (2.37.4-r0) 00:53:22 (18/31) Installing uuidgen (2.37.4-r0) 00:53:22 (19/31) Installing blkid (2.37.4-r0) 00:53:22 (20/31) Installing sfdisk (2.37.4-r0) 00:53:23 (21/31) Installing mcookie (2.37.4-r0) 00:53:23 (22/31) Installing wipefs (2.37.4-r0) 00:53:23 (23/31) Installing cfdisk (2.37.4-r0) 00:53:23 (24/31) Installing flock (2.37.4-r0) 00:53:23 (25/31) Installing lsblk (2.37.4-r0) 00:53:23 (26/31) Installing libcap-ng (0.8.2-r1) 00:53:23 (27/31) Installing setpriv (2.37.4-r0) 00:53:23 (28/31) Installing logger (2.37.4-r0) 00:53:23 (29/31) Installing partx (2.37.4-r0) 00:53:23 (30/31) Installing findmnt (2.37.4-r0) 00:53:23 (31/31) Installing util-linux-dev (2.37.4-r0) 00:53:23 Executing busybox-1.34.1-r5.trigger 00:53:23 OK: 293 MiB in 108 packages 00:53:24 Removing intermediate container bc0dc5d8b27e 00:53:24 ---> 4d6e2518d1ed 00:53:24 Step 6/22 : RUN mkdir /tmp/sdk 00:53:24 ---> Running in 622811f625a3 00:53:24 Still waiting to schedule task 00:53:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2616’ is offline 00:53:25 Removing intermediate container 622811f625a3 00:53:25 ---> 23f0c955043a 00:53:25 Step 7/22 : COPY VERSION /tmp/sdk 00:53:25 ---> 7b6c356801df 00:53:25 Step 8/22 : COPY src /tmp/sdk/src 00:53:25 ---> b6d49f409aac 00:53:25 Step 9/22 : COPY include /tmp/sdk/include 00:53:25 ---> 3e29609693ca 00:53:25 Step 10/22 : COPY scripts /tmp/sdk/scripts 00:53:25 ---> 611748949159 00:53:25 Step 11/22 : COPY LICENSE /tmp/sdk 00:53:25 ---> 26ae191addeb 00:53:25 Step 12/22 : COPY Attribution.txt /tmp/sdk 00:53:26 ---> ab67790c2c45 00:53:26 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 00:53:26 ---> Running in 53f933a3356e 00:53:26 + CPPCHECK=false 00:53:26 + DOCGEN=false 00:53:26 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 00:53:26 + TOMLVER=SDK-0.2 00:53:26 + CUTILVER=1.2.2 00:53:26 + '[' 0 -gt 0 ] 00:53:26 + readlink -f ./scripts/build.sh 00:53:26 + dirname /tmp/sdk/scripts/build.sh 00:53:26 + dirname /tmp/sdk/scripts 00:53:26 + ROOT=/tmp/sdk 00:53:26 + cd /tmp/sdk 00:53:26 + '[' '!' -d deps ] 00:53:26 + mkdir deps 00:53:26 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 00:53:26 + tar -C deps -z -x -f - 00:53:26 Connecting to github.com (140.82.114.4:443) 00:53:26 Connecting to codeload.github.com (140.82.112.9:443) 00:53:26 writing to stdout 00:53:26 - 100% |********************************| 16451 0:00:00 ETA 00:53:26 written to stdout 00:53:26 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 00:53:26 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 00:53:26 + tar -C deps -z -x -f - 00:53:26 Connecting to github.com (140.82.114.4:443) 00:53:26 Connecting to codeload.github.com (140.82.112.9:443) 00:53:27 writing to stdout 00:53:27 - 100% |********************************| 189k 0:00:00 ETA 00:53:27 written to stdout 00:53:27 + mkdir -p src/c/iot 00:53:27 + 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 00:53:27 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 00:53:27 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 00:53:27 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 00:53:27 + mkdir -p include/iot 00:53:27 + 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 00:53:27 + mkdir -p include/iot/os 00:53:27 + 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 00:53:27 + mkdir -p /tmp/sdk/build/release 00:53:27 + cd /tmp/sdk/build/release 00:53:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 00:53:27 -- The C compiler identification is GNU 10.3.1 00:53:27 -- Detecting C compiler ABI info 00:53:27 -- Detecting C compiler ABI info - done 00:53:27 -- Check for working C compiler: /usr/bin/cc - skipped 00:53:27 -- Detecting C compile features 00:53:27 -- Detecting C compile features - done 00:53:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:53:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 00:53:27 -- Found LIBYAML: /usr/lib/libyaml.so 00:53:27 -- Found LIBUUID: /usr/lib/libuuid.so 00:53:27 -- Found LIBCBOR: /usr/lib/libcbor.so 00:53:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:53:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:53:27 -- C SDK 0.0.0 for Linux 00:53:27 -- Performing Test CSDK_HAVE_ATOMIC 00:53:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:53:27 -- Found Curses: /usr/lib/libcurses.so 00:53:27 -- Configuring done 00:53:27 -- Generating done 00:53:27 -- Build files have been written to: /tmp/sdk/build/release 00:53:27 + make all package 00:53:27 + tee release.log 00:53:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:53:27 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:53:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:53:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:53:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:53:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:53:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:53:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:53:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:53:29 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:53:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:53:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:53:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:53:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:53:29 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:53:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:53:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:53:30 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:53:30 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:53:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:53:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:53:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:53:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:53:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:53:30 275 | const iot_component_factory_t * factory; 00:53:30 | ^~~~~~~ 00:53:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:53:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:53:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:53:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:53:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:53:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:53:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:53:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:53:32 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:53:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:53:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:53:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:53:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:53:33 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:53:33 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:53:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:53:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:53:34 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:53:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:53:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:53:35 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:53:35 /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] 00:53:35 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:53:35 | ^~~~~~~~~~~~~ 00:53:35 | | 00:53:35 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:53:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:35 /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 *)' 00:53:35 2784 | MHD_KeyValueIterator iterator, 00:53:35 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:53:35 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:53:35 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:53:35 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:53:35 | ^~~~~~~~~~~~ 00:53:35 | | 00:53:35 | 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 **)} 00:53:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:35 /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 **)'} 00:53:35 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:53:35 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:53:35 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:53:35 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:53:35 | ^~~~~~~~~~~~ 00:53:35 | | 00:53:35 | 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 **)} 00:53:35 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:35 /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 **)'} 00:53:35 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:53:35 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:53:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:53:35 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:53:35 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:53:35 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:53:35 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:53:36 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:53:36 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:53:37 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:53:37 [ 76%] Linking C shared library libcsdk.so 00:53:37 [ 76%] Built target csdk 00:53:37 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:53:37 [ 79%] Linking C executable template 00:53:37 [ 79%] Built target template 00:53:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:53:37 [ 82%] Linking C executable device-counter 00:53:37 [ 82%] Built target device-counter 00:53:37 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:53:37 [ 85%] Linking C executable device-random 00:53:37 [ 85%] Built target device-random 00:53:37 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:53:37 [ 88%] Linking C executable device-gyro 00:53:38 [ 88%] Built target device-gyro 00:53:38 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:53:38 [ 91%] Linking C executable device-bitfields 00:53:38 [ 91%] Built target device-bitfields 00:53:38 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:53:38 [ 94%] Linking C executable template-discovery 00:53:38 [ 94%] Built target template-discovery 00:53:38 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:53:38 [ 97%] Linking C executable device-file 00:53:38 [ 97%] Built target device-file 00:53:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:53:39 [100%] Linking C executable device-terminal 00:53:39 [100%] Built target device-terminal 00:53:39 Run CPack packaging tool... 00:53:39 CPack: Create package using TGZ 00:53:39 CPack: Install projects 00:53:39 CPack: - Run preinstall target for: Csdk 00:53:39 CPack: - Install project: Csdk [] 00:53:39 CPack: Create package 00:53:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 00:53:39 + '[' false '=' true ] 00:53:39 + '[' false '=' true ] 00:53:39 + mkdir -p /tmp/sdk/build/debug 00:53:39 + cd /tmp/sdk/build/debug 00:53:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 00:53:39 -- The C compiler identification is GNU 10.3.1 00:53:39 -- Detecting C compiler ABI info 00:53:39 -- Detecting C compiler ABI info - done 00:53:39 -- Check for working C compiler: /usr/bin/cc - skipped 00:53:39 -- Detecting C compile features 00:53:39 -- Detecting C compile features - done 00:53:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:53:39 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 00:53:39 -- Found LIBYAML: /usr/lib/libyaml.so 00:53:39 -- Found LIBUUID: /usr/lib/libuuid.so 00:53:39 -- Found LIBCBOR: /usr/lib/libcbor.so 00:53:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:53:39 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:53:39 -- C SDK 0.0.0 for Linux 00:53:39 -- Performing Test CSDK_HAVE_ATOMIC 00:53:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:53:39 -- Found Curses: /usr/lib/libcurses.so 00:53:39 -- Configuring done 00:53:39 -- Generating done 00:53:39 -- Build files have been written to: /tmp/sdk/build/debug 00:53:39 + make 00:53:39 + tee debug.log 00:53:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:53:39 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:53:40 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:53:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:53:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:53:40 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:53:40 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:53:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:53:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:53:40 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:53:40 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:53:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:53:40 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:53:40 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:53:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:53:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:53:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:53:41 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:53:41 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:53:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:53:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:53:41 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:53:41 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:53:41 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:53:41 275 | const iot_component_factory_t * factory; 00:53:41 | ^~~~~~~ 00:53:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:53:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:53:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:53:42 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:53:42 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:53:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:53:42 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:53:42 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:53:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:53:42 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:53:42 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:53:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:53:42 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:53:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:53:42 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:53:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:53:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:53:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:53:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:53:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:53:43 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:53:43 /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] 00:53:43 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:53:43 | ^~~~~~~~~~~~~ 00:53:43 | | 00:53:43 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:53:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:43 /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 *)' 00:53:43 2784 | MHD_KeyValueIterator iterator, 00:53:43 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:53:43 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:53:43 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:53:43 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:53:43 | ^~~~~~~~~~~~ 00:53:43 | | 00:53:43 | 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 **)} 00:53:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:43 /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 **)'} 00:53:43 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:53:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:53:43 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:53:43 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:53:43 | ^~~~~~~~~~~~ 00:53:43 | | 00:53:43 | 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 **)} 00:53:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:53:43 /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 **)'} 00:53:43 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:53:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:53:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:53:43 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:53:43 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:53:43 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:53:43 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:53:43 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:53:44 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:53:44 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:53:44 [ 76%] Linking C shared library libcsdk.so 00:53:44 [ 76%] Built target csdk 00:53:44 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:53:44 [ 79%] Linking C executable template 00:53:44 [ 79%] Built target template 00:53:44 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:53:44 [ 82%] Linking C executable device-counter 00:53:44 [ 82%] Built target device-counter 00:53:44 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:53:44 [ 85%] Linking C executable device-random 00:53:44 [ 85%] Built target device-random 00:53:44 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:53:44 [ 88%] Linking C executable device-gyro 00:53:44 [ 88%] Built target device-gyro 00:53:44 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:53:44 [ 91%] Linking C executable device-bitfields 00:53:45 [ 91%] Built target device-bitfields 00:53:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:53:45 [ 94%] Linking C executable template-discovery 00:53:45 [ 94%] Built target template-discovery 00:53:45 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:53:45 [ 97%] Linking C executable device-file 00:53:45 [ 97%] Built target device-file 00:53:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:53:45 [100%] Linking C executable device-terminal 00:53:45 [100%] Built target device-terminal 00:53:45 make: Entering directory '/tmp/sdk/build/release' 00:53:45 make[1]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 76%] Built target csdk 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 79%] Built target template 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 82%] Built target device-counter 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 85%] Built target device-random 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 88%] Built target device-gyro 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 91%] Built target device-bitfields 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 94%] Built target template-discovery 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [ 97%] Built target device-file 00:53:45 make[2]: Entering directory '/tmp/sdk/build/release' 00:53:45 make[2]: Leaving directory '/tmp/sdk/build/release' 00:53:45 [100%] Built target device-terminal 00:53:45 make[1]: Leaving directory '/tmp/sdk/build/release' 00:53:45 Install the project... 00:53:45 -- Install configuration: "Release" 00:53:45 -- Installing: /usr/local/lib/libcsdk.so 00:53:45 -- Installing: /usr/local/include 00:53:45 -- Installing: /usr/local/include/edgex 00:53:45 -- Installing: /usr/local/include/edgex/profiles.h 00:53:45 -- Installing: /usr/local/include/edgex/edgex.h 00:53:45 -- Installing: /usr/local/include/edgex/rest-server.h 00:53:45 -- Installing: /usr/local/include/edgex/edgex-base.h 00:53:45 -- Installing: /usr/local/include/edgex/devices.h 00:53:45 -- Installing: /usr/local/include/edgex/csdk-defs.h 00:53:45 -- Installing: /usr/local/include/devsdk 00:53:45 -- Installing: /usr/local/include/devsdk/devsdk.h 00:53:45 -- Installing: /usr/local/include/devsdk/devsdk-base.h 00:53:45 -- Installing: /usr/local/include/iot 00:53:45 -- Installing: /usr/local/include/iot/thread.h 00:53:45 -- Installing: /usr/local/include/iot/hash.h 00:53:45 -- Installing: /usr/local/include/iot/typecode.h 00:53:45 -- Installing: /usr/local/include/iot/threadpool.h 00:53:45 -- Installing: /usr/local/include/iot/uuid.h 00:53:45 -- Installing: /usr/local/include/iot/logger.h 00:53:45 -- Installing: /usr/local/include/iot/config.h 00:53:45 -- Installing: /usr/local/include/iot/os.h 00:53:45 -- Installing: /usr/local/include/iot/container.h 00:53:45 -- Installing: /usr/local/include/iot/scheduler.h 00:53:45 -- Installing: /usr/local/include/iot/defs.h 00:53:45 -- Installing: /usr/local/include/iot/iot.h 00:53:45 -- Installing: /usr/local/include/iot/component.h 00:53:45 -- Installing: /usr/local/include/iot/os 00:53:45 -- Installing: /usr/local/include/iot/os/linux.h 00:53:45 -- Installing: /usr/local/include/iot/os/zephyr.h 00:53:45 -- Installing: /usr/local/include/iot/os/macos.h 00:53:45 -- Installing: /usr/local/include/iot/base64.h 00:53:45 -- Installing: /usr/local/include/iot/time.h 00:53:45 -- Installing: /usr/local/include/iot/data.h 00:53:45 -- Installing: /usr/local/include/iot/json.h 00:53:45 -- Installing: /usr/local/share/device-sdk-c/LICENSE 00:53:45 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 00:53:45 make: Leaving directory '/tmp/sdk/build/release' 00:53:46 Removing intermediate container 53f933a3356e 00:53:46 ---> d9a1cd17fe7a 00:53:46 Step 14/22 : FROM ${BASE} 00:53:46 ---> 95f6e8fcc511 00:53:46 Step 15/22 : LABEL maintainer="IOTech " 00:53:46 ---> Running in 07de2290bd96 00:53:46 Removing intermediate container 07de2290bd96 00:53:46 ---> aac91b3394ef 00:53:46 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 00:53:46 ---> Running in 391dce7e0f35 00:53:46 Connecting to iotech.jfrog.io (54.171.144.127:443) 00:53:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:53:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:53:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:53:47 Removing intermediate container 391dce7e0f35 00:53:47 ---> c1f8cf3ded94 00:53:47 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:53:47 ---> Running in 3329a427c467 00:53:47 Removing intermediate container 3329a427c467 00:53:47 ---> 870f664570d9 00:53:47 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 00:53:47 ---> Running in a4f35cb2458b 00:53:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:53:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:53:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 00:53:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:53:50 (1/6) Installing curl (7.80.0-r1) 00:53:50 (2/6) Installing hiredis (1.0.2-r0) 00:53:50 (3/6) Installing hiredis-dev (1.0.2-r0) 00:53:50 (4/6) Installing libcbor (0.8.0-r0) 00:53:50 (5/6) Installing libuuid (2.37.4-r0) 00:53:50 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 00:53:51 Executing busybox-1.34.1-r5.trigger 00:53:51 OK: 283 MiB in 83 packages 00:53:51 Removing intermediate container a4f35cb2458b 00:53:51 ---> ad862fdf75df 00:53:51 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 00:53:51 ---> e52f45f86707 00:53:51 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 00:53:51 ---> 55be0d3b00ea 00:53:51 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 00:53:52 ---> 0f538118623a 00:53:52 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 00:53:52 ---> f82e977bc4de 00:53:52 Successfully built f82e977bc4de 00:53:52 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 00:53:52 + docker inspect -f . ci-base-image-x86_64 00:53:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:53:52 prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container 00:53:52 $ 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 00:53:53 $ docker top 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:53 + make test 00:53:53 echo "make test" 00:53:53 make test [Pipeline] } 00:53:53 $ docker stop --time=1 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 00:53:55 $ docker rm -f 8aab28e25e8277f195708fe26a9bafca1c442c4400992d4030287b276fc2cf59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:53:56 + ls -al . 00:53:56 total 208 00:53:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 18 00:53 . 00:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 .. 00:53:56 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:53 .git 00:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 .github 00:53:56 -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 00:52 .gitignore 00:53:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 00:53 .semver 00:53:56 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 00:52 Attribution.txt 00:53:56 -rw-rw-r-- 1 jenkins jenkins 8321 Jun 18 00:52 CHANGES 00:53:56 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 00:52 Doxyfile 00:53:56 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 00:52 GOVERNANCE.md 00:53:56 -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 00:52 Jenkinsfile 00:53:56 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 00:52 LICENSE 00:53:56 -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 00:52 Makefile 00:53:56 -rw-rw-r-- 1 jenkins jenkins 618 Jun 18 00:52 OWNERS.md 00:53:56 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 18 00:52 README.md 00:53:56 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 18 00:52 README.v2.md 00:53:56 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 00:53 VERSION 00:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 docs 00:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 include 00:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:52 scripts 00:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:52 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:56 + 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 . 00:53:56 Sending build context to Docker daemon 4.536MB 00:53:56 Step 1/17 : ARG BASE=alpine:3.15 00:53:56 Step 2/17 : FROM ${BASE} 00:53:56 ---> f82e977bc4de 00:53:56 Step 3/17 : LABEL maintainer="IOTech " 00:53:56 ---> Running in c0ba19147cd6 00:53:56 Removing intermediate container c0ba19147cd6 00:53:56 ---> 0f61d381e7fa 00:53:56 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 00:53:56 ---> Running in 06faa8a1f7ab 00:53:57 Connecting to iotech.jfrog.io (54.171.144.127:443) 00:53:57 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:53:57 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:53:57 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:53:57 Removing intermediate container 06faa8a1f7ab 00:53:57 ---> 37a723b8b399 00:53:57 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:53:57 ---> Running in a73a9586f28d 00:53:58 Removing intermediate container a73a9586f28d 00:53:58 ---> c84f17f89400 00:53:58 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 00:53:58 ---> Running in b11d720e7da8 00:53:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:53:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:53:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 00:54:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:54:00 (1/26) Installing libcbor-dev (0.8.0-r0) 00:54:00 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 00:54:00 (3/26) Installing util-linux (2.37.4-r0) 00:54:00 (4/26) Installing libblkid (2.37.4-r0) 00:54:00 (5/26) Installing libeconf (0.4.2-r0) 00:54:00 (6/26) Installing libfdisk (2.37.4-r0) 00:54:00 (7/26) Installing libmount (2.37.4-r0) 00:54:00 (8/26) Installing libsmartcols (2.37.4-r0) 00:54:01 (9/26) Installing util-linux-misc (2.37.4-r0) 00:54:01 (10/26) Installing linux-pam (1.5.2-r0) 00:54:01 (11/26) Installing runuser (2.37.4-r0) 00:54:01 (12/26) Installing hexdump (2.37.4-r0) 00:54:01 (13/26) Installing uuidgen (2.37.4-r0) 00:54:01 (14/26) Installing blkid (2.37.4-r0) 00:54:01 (15/26) Installing sfdisk (2.37.4-r0) 00:54:01 (16/26) Installing mcookie (2.37.4-r0) 00:54:01 (17/26) Installing wipefs (2.37.4-r0) 00:54:01 (18/26) Installing cfdisk (2.37.4-r0) 00:54:01 (19/26) Installing flock (2.37.4-r0) 00:54:02 (20/26) Installing lsblk (2.37.4-r0) 00:54:02 (21/26) Installing libcap-ng (0.8.2-r1) 00:54:02 (22/26) Installing setpriv (2.37.4-r0) 00:54:02 (23/26) Installing logger (2.37.4-r0) 00:54:02 (24/26) Installing partx (2.37.4-r0) 00:54:02 (25/26) Installing findmnt (2.37.4-r0) 00:54:02 (26/26) Installing util-linux-dev (2.37.4-r0) 00:54:02 Executing busybox-1.34.1-r5.trigger 00:54:02 OK: 294 MiB in 109 packages 00:54:03 Removing intermediate container b11d720e7da8 00:54:03 ---> 1d21adc4ac2c 00:54:03 Step 7/17 : COPY VERSION /edgex-c-sdk/ 00:54:03 ---> d1824cfb77c5 00:54:03 Step 8/17 : COPY src /edgex-c-sdk/src/ 00:54:03 ---> adab37575e6e 00:54:03 Step 9/17 : COPY include /edgex-c-sdk/include/ 00:54:03 ---> 72d1cc93bb68 00:54:03 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 00:54:04 ---> 7afb9b498324 00:54:04 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 00:54:04 ---> 116f373a1bcc 00:54:04 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 00:54:04 ---> 6276c38cb9bb 00:54:04 Step 13/17 : WORKDIR /edgex-c-sdk 00:54:04 ---> Running in 8fd2fcf5fcaf 00:54:04 Removing intermediate container 8fd2fcf5fcaf 00:54:04 ---> 329e52dab306 00:54:04 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 00:54:04 ---> Running in 4d4758d42862 00:54:04 Removing intermediate container 4d4758d42862 00:54:04 ---> 6a61297b4d07 00:54:04 Step 15/17 : LABEL arch=amd64 00:54:04 ---> Running in d8faf1aa779c 00:54:04 Removing intermediate container d8faf1aa779c 00:54:04 ---> 648184386b6c 00:54:04 Step 16/17 : LABEL git_sha=942c8451240af7bf227f04daa983bc93c578c377 00:54:04 ---> Running in 1fd44b7867f9 00:54:04 Removing intermediate container 1fd44b7867f9 00:54:04 ---> 2a29f6e8359b 00:54:04 Step 17/17 : LABEL version=0.0.0 00:54:04 ---> Running in 081841e8a80d 00:54:04 Removing intermediate container 081841e8a80d 00:54:04 ---> bab6fc3bc1d9 00:54:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:54:04 Successfully built bab6fc3bc1d9 00:54:04 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 00:54:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:05 00:54:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:06 latest: Pulling from edgex-lftools-log-publisher 00:54:06 5eb5b503b376: Pulling fs layer 00:54:06 5c69ac0246d0: Pulling fs layer 00:54:06 ec43610c2a17: Pulling fs layer 00:54:06 3a2ae6a8a46f: Pulling fs layer 00:54:06 33b1e0a273af: Pulling fs layer 00:54:06 5d3b04190fa2: Pulling fs layer 00:54:06 2f39f015ded8: Pulling fs layer 00:54:06 33b1e0a273af: Waiting 00:54:06 3a2ae6a8a46f: Waiting 00:54:06 2f39f015ded8: Waiting 00:54:06 5d3b04190fa2: Waiting 00:54:06 5c69ac0246d0: Verifying Checksum 00:54:06 5c69ac0246d0: Download complete 00:54:06 3a2ae6a8a46f: Download complete 00:54:06 33b1e0a273af: Verifying Checksum 00:54:06 33b1e0a273af: Download complete 00:54:06 5d3b04190fa2: Verifying Checksum 00:54:06 5d3b04190fa2: Download complete 00:54:06 ec43610c2a17: Verifying Checksum 00:54:06 ec43610c2a17: Download complete 00:54:06 5eb5b503b376: Verifying Checksum 00:54:06 5eb5b503b376: Download complete 00:54:07 2f39f015ded8: Verifying Checksum 00:54:07 2f39f015ded8: Download complete 00:54:07 5eb5b503b376: Pull complete 00:54:07 5c69ac0246d0: Pull complete 00:54:08 ec43610c2a17: Pull complete 00:54:08 3a2ae6a8a46f: Pull complete 00:54:08 33b1e0a273af: Pull complete 00:54:08 5d3b04190fa2: Pull complete 00:54:13 2f39f015ded8: Pull complete 00:54:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:54:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:13 prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container 00:54:13 $ 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 00:54:15 $ docker top 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:15 ---> job-cost.sh 00:54:15 lf-activate-venv: SKIPPING 00:54:15 INFO: No Stack... 00:54:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:16 INFO: Archiving Costs [Pipeline] sh 00:54:17 + + cat /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives/cost.csv 00:54:17 cut -d, -f6 [Pipeline] lock 00:54:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] 00:54:17 Resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] did not exist. Created. 00:54:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:54:17 + echo total: 0.2199999988079071 [Pipeline] stash 00:54:17 Stashed 1 file(s) [Pipeline] } 00:54:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:54:17 $ docker stop --time=1 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 00:54:18 $ docker rm -f 7eba214daa5ea31e1449c429eac595918306155d09e2b135590e8e1c5966f6d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:55:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2617 in /w/workspace/edgexfoundry_device-sdk-c_PR-421 [Pipeline] { [Pipeline] ws 00:55:43 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 00:55:43 Selected Git installation does not exist. Using Default 00:55:43 The recommended git tool is: NONE 00:55:50 using credential edgex-jenkins-ssh 00:55:50 Cloning the remote Git repository 00:55:50 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 00:55:50 > git init /w/workspace/device-sdk-c/1 # timeout=10 00:55:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 00:55:50 > git --version # timeout=10 00:55:50 > git --version # 'git version 2.25.1' 00:55:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:55:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:55:52 Merging remotes/origin/main commit 14bdc31d8719d1e6f8ec06114e1723900e8aedcd into PR head commit 942c8451240af7bf227f04daa983bc93c578c377 00:55:52 Merge succeeded, producing 942c8451240af7bf227f04daa983bc93c578c377 00:55:52 Checking out Revision 942c8451240af7bf227f04daa983bc93c578c377 (PR-421) 00:55:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 00:55:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:55:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 00:55:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 00:55:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:55:51 > 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 00:55:52 > git config core.sparsecheckout # timeout=10 00:55:52 > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 00:55:52 > git remote # timeout=10 00:55:52 > git config --get remote.origin.url # timeout=10 00:55:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:55:52 > git merge 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 00:55:52 > git rev-parse HEAD^{commit} # timeout=10 00:55:52 > git config core.sparsecheckout # timeout=10 00:55:52 > git checkout -f 942c8451240af7bf227f04daa983bc93c578c377 # timeout=10 00:55:56 Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420)" 00:55:57 > git --version # timeout=10 00:55:57 > git --version # 'git version 2.25.1' 00:55:57 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:55:58 % Total % Received % Xferd Average Speed Time Time Time Current 00:55:58 Dload Upload Total Spent Left Speed 00:55:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64151 0 --:--:-- --:--:-- --:--:-- 64151 [Pipeline] sh 00:55:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:55:59 + sudo tee /etc/docker/daemon.new 00:55:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:55:59 { 00:55:59 "registry-mirrors": [ 00:55:59 "https://nexus3.edgexfoundry.org:10001" 00:55:59 ], 00:55:59 "bip": "10.250.0.254/24", 00:55:59 "hosts": [ 00:55:59 "tcp://0.0.0.0:5555", 00:55:59 "unix:///var/run/docker.sock" 00:55:59 ], 00:55:59 "mtu": 1458, 00:55:59 "selinux-enabled": true, 00:55:59 "seccomp-profile": "/etc/docker/seccomp.json" 00:55:59 } [Pipeline] sh 00:55:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:55:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:18 provisioning config files... 00:56:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1741730278256400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:19 ---> docker-login.sh 00:56:19 nexus3.edgexfoundry.org:10001 00:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:19 Configure a credential helper to remove this warning. See 00:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:19 00:56:19 Login Succeeded 00:56:19 nexus3.edgexfoundry.org:10002 00:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:20 Configure a credential helper to remove this warning. See 00:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:20 00:56:20 Login Succeeded 00:56:20 nexus3.edgexfoundry.org:10003 00:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:20 Configure a credential helper to remove this warning. See 00:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:20 00:56:20 Login Succeeded 00:56:20 nexus3.edgexfoundry.org:10004 00:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:21 Configure a credential helper to remove this warning. See 00:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:21 00:56:21 Login Succeeded 00:56:21 docker.io 00:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:22 Configure a credential helper to remove this warning. See 00:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:22 00:56:22 Login Succeeded 00:56:22 ---> docker-login.sh ends [Pipeline] } 00:56:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:56:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:22 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 00:56:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:22 ========================================================= 00:56:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 00:56:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:23 + 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 . 00:56:23 Sending build context to Docker daemon 2.737MB 00:56:23 Step 1/22 : ARG BASE=alpine:3.15 00:56:23 Step 2/22 : FROM ${BASE} as builder 00:56:23 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 00:56:23 9981e73032c8: Pulling fs layer 00:56:23 2a34a092ebf8: Pulling fs layer 00:56:23 1928f2f5eed1: Pulling fs layer 00:56:23 2a34a092ebf8: Verifying Checksum 00:56:23 2a34a092ebf8: Download complete 00:56:24 9981e73032c8: Verifying Checksum 00:56:24 9981e73032c8: Download complete 00:56:24 9981e73032c8: Pull complete 00:56:25 2a34a092ebf8: Pull complete 00:56:26 1928f2f5eed1: Verifying Checksum 00:56:26 1928f2f5eed1: Download complete 00:56:34 1928f2f5eed1: Pull complete 00:56:34 Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 00:56:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 00:56:34 ---> cad489bbaf40 00:56:34 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 00:56:35 ---> Running in 8a2ae3565267 00:56:36 Connecting to iotech.jfrog.io (34.248.37.48:443) 00:56:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:56:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:56:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:56:37 Removing intermediate container 8a2ae3565267 00:56:37 ---> 922b7a2665b6 00:56:37 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:56:37 ---> Running in b4d0d33e2187 00:56:39 Removing intermediate container b4d0d33e2187 00:56:39 ---> 534bdb9cd011 00:56:39 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 00:56:39 ---> Running in 32a2a15313d7 00:56:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:56:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:56:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 00:56:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:56:42 (1/31) Installing hiredis (1.0.2-r0) 00:56:42 (2/31) Installing hiredis-dev (1.0.2-r0) 00:56:43 (3/31) Installing libcbor (0.8.0-r0) 00:56:43 (4/31) Installing libcbor-dev (0.8.0-r0) 00:56:43 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 00:56:43 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 00:56:44 (7/31) Installing util-linux (2.37.4-r0) 00:56:44 (8/31) Installing libblkid (2.37.4-r0) 00:56:44 (9/31) Installing libeconf (0.4.2-r0) 00:56:44 (10/31) Installing libuuid (2.37.4-r0) 00:56:44 (11/31) Installing libfdisk (2.37.4-r0) 00:56:44 (12/31) Installing libmount (2.37.4-r0) 00:56:44 (13/31) Installing libsmartcols (2.37.4-r0) 00:56:45 (14/31) Installing util-linux-misc (2.37.4-r0) 00:56:45 (15/31) Installing linux-pam (1.5.2-r0) 00:56:45 (16/31) Installing runuser (2.37.4-r0) 00:56:45 (17/31) Installing hexdump (2.37.4-r0) 00:56:45 (18/31) Installing uuidgen (2.37.4-r0) 00:56:45 (19/31) Installing blkid (2.37.4-r0) 00:56:46 (20/31) Installing sfdisk (2.37.4-r0) 00:56:46 (21/31) Installing mcookie (2.37.4-r0) 00:56:46 (22/31) Installing wipefs (2.37.4-r0) 00:56:46 (23/31) Installing cfdisk (2.37.4-r0) 00:56:46 (24/31) Installing flock (2.37.4-r0) 00:56:46 (25/31) Installing lsblk (2.37.4-r0) 00:56:46 (26/31) Installing libcap-ng (0.8.2-r1) 00:56:46 (27/31) Installing setpriv (2.37.4-r0) 00:56:46 (28/31) Installing logger (2.37.4-r0) 00:56:46 (29/31) Installing partx (2.37.4-r0) 00:56:46 (30/31) Installing findmnt (2.37.4-r0) 00:56:46 (31/31) Installing util-linux-dev (2.37.4-r0) 00:56:47 Executing busybox-1.34.1-r5.trigger 00:56:47 OK: 289 MiB in 108 packages 00:56:49 Removing intermediate container 32a2a15313d7 00:56:49 ---> 863ba8e4d6cc 00:56:49 Step 6/22 : RUN mkdir /tmp/sdk 00:56:49 ---> Running in da3268b4087a 00:56:51 Removing intermediate container da3268b4087a 00:56:51 ---> fe2294650a4a 00:56:51 Step 7/22 : COPY VERSION /tmp/sdk 00:56:52 ---> dbdc4661beed 00:56:52 Step 8/22 : COPY src /tmp/sdk/src 00:56:53 ---> d3f284e94d92 00:56:53 Step 9/22 : COPY include /tmp/sdk/include 00:56:53 ---> 8a07698bba63 00:56:53 Step 10/22 : COPY scripts /tmp/sdk/scripts 00:56:54 ---> 5304ac40a704 00:56:54 Step 11/22 : COPY LICENSE /tmp/sdk 00:56:54 ---> 4e4cf1e5fbc1 00:56:54 Step 12/22 : COPY Attribution.txt /tmp/sdk 00:56:55 ---> 3ef561de185d 00:56:55 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 00:56:55 ---> Running in 950cd6fa7336 00:56:56 + CPPCHECK=false 00:56:56 + DOCGEN=false 00:56:56 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 00:56:56 + TOMLVER=SDK-0.2 00:56:56 + CUTILVER=1.2.2 00:56:56 + '[' 0 -gt 0 ] 00:56:56 + readlink -f ./scripts/build.sh 00:56:56 + dirname /tmp/sdk/scripts/build.sh 00:56:56 + dirname /tmp/sdk/scripts 00:56:56 + ROOT=/tmp/sdk 00:56:56 + cd /tmp/sdk 00:56:56 + '[' '!' -d deps ] 00:56:56 + mkdir deps 00:56:56 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 00:56:56 + tar -C deps -z -x -f - 00:56:56 Connecting to github.com (140.82.113.3:443) 00:56:56 Connecting to codeload.github.com (140.82.114.10:443) 00:56:57 writing to stdout 00:56:57 - 100% |********************************| 16451 0:00:00 ETA 00:56:57 written to stdout 00:56:57 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 00:56:57 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 00:56:57 + tar -C deps -z -x -f - 00:56:57 Connecting to github.com (140.82.113.3:443) 00:56:57 Connecting to codeload.github.com (140.82.114.10:443) 00:56:57 writing to stdout 00:56:57 - 100% |********************************| 189k 0:00:00 ETA 00:56:57 written to stdout 00:56:57 + mkdir -p src/c/iot 00:56:57 + 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 00:56:57 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 00:56:57 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 00:56:57 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 00:56:57 + mkdir -p include/iot 00:56:57 + 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 00:56:57 + mkdir -p include/iot/os 00:56:57 + 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 00:56:57 + mkdir -p /tmp/sdk/build/release 00:56:57 + cd /tmp/sdk/build/release 00:56:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 00:56:58 -- The C compiler identification is GNU 10.3.1 00:56:58 -- Detecting C compiler ABI info 00:56:58 -- Detecting C compiler ABI info - done 00:56:58 -- Check for working C compiler: /usr/bin/cc - skipped 00:56:58 -- Detecting C compile features 00:56:58 -- Detecting C compile features - done 00:56:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:56:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 00:56:58 -- Found LIBYAML: /usr/lib/libyaml.so 00:56:58 -- Found LIBUUID: /usr/lib/libuuid.so 00:56:58 -- Found LIBCBOR: /usr/lib/libcbor.so 00:56:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:56:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:56:58 -- C SDK 0.0.0 for Linux 00:56:58 -- Performing Test CSDK_HAVE_ATOMIC 00:56:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:56:59 -- Found Curses: /usr/lib/libcurses.so 00:56:59 -- Configuring done 00:56:59 -- Generating done 00:56:59 -- Build files have been written to: /tmp/sdk/build/release 00:56:59 + + maketee all release.log package 00:56:59 00:57:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:57:01 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:57:02 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:57:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:57:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:57:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:57:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:57:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:57:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:57:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:57:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:57:14 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:57:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:57:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:57:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:57:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:57:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:57:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:57:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:57:23 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:57:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:57:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:57:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:57:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:57:25 275 | const iot_component_factory_t * factory; 00:57:25 | ^~~~~~~ 00:57:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:57:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:57:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:57:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:57:33 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:57:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:57:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:57:36 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:57:36 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:57:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:57:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:57:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:57:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:57:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:57:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:57:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:57:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:57:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:57:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:57:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:57:51 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:57:51 /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] 00:57:51 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:57:51 | ^~~~~~~~~~~~~ 00:57:51 | | 00:57:51 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:57:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:57:51 /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 *)' 00:57:51 2784 | MHD_KeyValueIterator iterator, 00:57:51 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:57:51 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:57:51 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:57:51 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:57:51 | ^~~~~~~~~~~~ 00:57:51 | | 00:57:51 | 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 **)} 00:57:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:57:51 /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 **)'} 00:57:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:57:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:57:51 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:57:51 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:57:51 | ^~~~~~~~~~~~ 00:57:51 | | 00:57:51 | 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 **)} 00:57:51 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:57:51 /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 **)'} 00:57:51 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:57:51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:57:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:57:55 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:57:55 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:57:55 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:57:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:57:59 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:58:03 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:58:03 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:58:04 [ 76%] Linking C shared library libcsdk.so 00:58:04 [ 76%] Built target csdk 00:58:04 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:58:05 [ 79%] Linking C executable template 00:58:06 [ 79%] Built target template 00:58:06 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:58:06 [ 82%] Linking C executable device-counter 00:58:07 [ 82%] Built target device-counter 00:58:07 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:58:07 [ 85%] Linking C executable device-random 00:58:07 [ 85%] Built target device-random 00:58:07 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:58:08 [ 88%] Linking C executable device-gyro 00:58:08 [ 88%] Built target device-gyro 00:58:08 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:58:08 [ 91%] Linking C executable device-bitfields 00:58:09 [ 91%] Built target device-bitfields 00:58:09 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:58:10 [ 94%] Linking C executable template-discovery 00:58:10 [ 94%] Built target template-discovery 00:58:10 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:58:11 [ 97%] Linking C executable device-file 00:58:11 [ 97%] Built target device-file 00:58:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:58:12 [100%] Linking C executable device-terminal 00:58:12 [100%] Built target device-terminal 00:58:12 Run CPack packaging tool... 00:58:12 CPack: Create package using TGZ 00:58:12 CPack: Install projects 00:58:12 CPack: - Run preinstall target for: Csdk 00:58:13 CPack: - Install project: Csdk [] 00:58:13 CPack: Create package 00:58:13 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 00:58:13 + '[' false '=' true ] 00:58:13 + '[' false '=' true ] 00:58:13 + mkdir -p /tmp/sdk/build/debug 00:58:13 + cd /tmp/sdk/build/debug 00:58:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 00:58:13 -- The C compiler identification is GNU 10.3.1 00:58:13 -- Detecting C compiler ABI info 00:58:14 -- Detecting C compiler ABI info - done 00:58:14 -- Check for working C compiler: /usr/bin/cc - skipped 00:58:14 -- Detecting C compile features 00:58:14 -- Detecting C compile features - done 00:58:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:58:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 00:58:14 -- Found LIBYAML: /usr/lib/libyaml.so 00:58:14 -- Found LIBUUID: /usr/lib/libuuid.so 00:58:14 -- Found LIBCBOR: /usr/lib/libcbor.so 00:58:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:58:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:58:14 -- C SDK 0.0.0 for Linux 00:58:14 -- Performing Test CSDK_HAVE_ATOMIC 00:58:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:58:15 -- Found Curses: /usr/lib/libcurses.so 00:58:15 -- Configuring done 00:58:15 -- Generating done 00:58:15 -- Build files have been written to: /tmp/sdk/build/debug 00:58:15 + make 00:58:15 + tee debug.log 00:58:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:58:15 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:58:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:58:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:58:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:58:17 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:58:18 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:58:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:58:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:58:19 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:58:19 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:58:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:58:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:58:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:58:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:58:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:58:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:58:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:58:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:58:23 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:58:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:58:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:58:23 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:58:23 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:58:23 275 | const iot_component_factory_t * factory; 00:58:23 | ^~~~~~~ 00:58:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:58:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:58:25 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:58:25 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:58:25 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:58:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:58:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:58:26 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:58:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:58:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:58:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:58:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:58:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:58:28 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:58:29 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:58:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:58:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:58:31 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:58:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:58:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:58:32 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:58:32 /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] 00:58:32 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:58:32 | ^~~~~~~~~~~~~ 00:58:32 | | 00:58:32 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:58:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:58:32 /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 *)' 00:58:32 2784 | MHD_KeyValueIterator iterator, 00:58:32 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:58:32 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:58:32 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:58:32 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:58:32 | ^~~~~~~~~~~~ 00:58:32 | | 00:58:32 | 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 **)} 00:58:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:58:32 /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 **)'} 00:58:32 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:58:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:58:32 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 00:58:32 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:58:32 | ^~~~~~~~~~~~ 00:58:32 | | 00:58:32 | 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 **)} 00:58:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:58:32 /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 **)'} 00:58:32 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:58:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:58:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:58:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:58:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:58:35 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:58:35 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:58:36 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:58:37 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:58:37 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:58:37 [ 76%] Linking C shared library libcsdk.so 00:58:38 [ 76%] Built target csdk 00:58:38 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:58:38 [ 79%] Linking C executable template 00:58:39 [ 79%] Built target template 00:58:39 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:58:39 [ 82%] Linking C executable device-counter 00:58:39 [ 82%] Built target device-counter 00:58:39 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:58:40 [ 85%] Linking C executable device-random 00:58:40 [ 85%] Built target device-random 00:58:40 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:58:40 [ 88%] Linking C executable device-gyro 00:58:41 [ 88%] Built target device-gyro 00:58:41 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:58:41 [ 91%] Linking C executable device-bitfields 00:58:41 [ 91%] Built target device-bitfields 00:58:41 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:58:42 [ 94%] Linking C executable template-discovery 00:58:42 [ 94%] Built target template-discovery 00:58:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:58:42 [ 97%] Linking C executable device-file 00:58:43 [ 97%] Built target device-file 00:58:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:58:43 [100%] Linking C executable device-terminal 00:58:43 [100%] Built target device-terminal 00:58:43 make: Entering directory '/tmp/sdk/build/release' 00:58:43 make[1]: Entering directory '/tmp/sdk/build/release' 00:58:43 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:43 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:43 [ 76%] Built target csdk 00:58:43 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:43 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 79%] Built target template 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 82%] Built target device-counter 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 85%] Built target device-random 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 88%] Built target device-gyro 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 91%] Built target device-bitfields 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 94%] Built target template-discovery 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [ 97%] Built target device-file 00:58:44 make[2]: Entering directory '/tmp/sdk/build/release' 00:58:44 make[2]: Leaving directory '/tmp/sdk/build/release' 00:58:44 [100%] Built target device-terminal 00:58:44 make[1]: Leaving directory '/tmp/sdk/build/release' 00:58:44 Install the project... 00:58:44 -- Install configuration: "Release" 00:58:44 -- Installing: /usr/local/lib/libcsdk.so 00:58:44 -- Installing: /usr/local/include 00:58:44 -- Installing: /usr/local/include/devsdk 00:58:44 -- Installing: /usr/local/include/devsdk/devsdk.h 00:58:44 -- Installing: /usr/local/include/devsdk/devsdk-base.h 00:58:44 -- Installing: /usr/local/include/edgex 00:58:44 -- Installing: /usr/local/include/edgex/rest-server.h 00:58:44 -- Installing: /usr/local/include/edgex/edgex.h 00:58:44 -- Installing: /usr/local/include/edgex/edgex-base.h 00:58:44 -- Installing: /usr/local/include/edgex/devices.h 00:58:44 -- Installing: /usr/local/include/edgex/profiles.h 00:58:44 -- Installing: /usr/local/include/edgex/csdk-defs.h 00:58:44 -- Installing: /usr/local/include/iot 00:58:44 -- Installing: /usr/local/include/iot/threadpool.h 00:58:44 -- Installing: /usr/local/include/iot/defs.h 00:58:44 -- Installing: /usr/local/include/iot/time.h 00:58:44 -- Installing: /usr/local/include/iot/base64.h 00:58:44 -- Installing: /usr/local/include/iot/component.h 00:58:44 -- Installing: /usr/local/include/iot/scheduler.h 00:58:44 -- Installing: /usr/local/include/iot/config.h 00:58:44 -- Installing: /usr/local/include/iot/container.h 00:58:44 -- Installing: /usr/local/include/iot/uuid.h 00:58:44 -- Installing: /usr/local/include/iot/os.h 00:58:44 -- Installing: /usr/local/include/iot/thread.h 00:58:44 -- Installing: /usr/local/include/iot/data.h 00:58:44 -- Installing: /usr/local/include/iot/typecode.h 00:58:44 -- Installing: /usr/local/include/iot/hash.h 00:58:44 -- Installing: /usr/local/include/iot/logger.h 00:58:44 -- Installing: /usr/local/include/iot/os 00:58:44 -- Installing: /usr/local/include/iot/os/zephyr.h 00:58:44 -- Installing: /usr/local/include/iot/os/macos.h 00:58:44 -- Installing: /usr/local/include/iot/os/linux.h 00:58:44 -- Installing: /usr/local/include/iot/json.h 00:58:44 -- Installing: /usr/local/include/iot/iot.h 00:58:44 -- Installing: /usr/local/share/device-sdk-c/LICENSE 00:58:44 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 00:58:44 make: Leaving directory '/tmp/sdk/build/release' 00:58:46 Removing intermediate container 950cd6fa7336 00:58:46 ---> c66c1dffccff 00:58:46 Step 14/22 : FROM ${BASE} 00:58:46 ---> cad489bbaf40 00:58:46 Step 15/22 : LABEL maintainer="IOTech " 00:58:46 ---> Running in 3ab117b0d5bf 00:58:46 Removing intermediate container 3ab117b0d5bf 00:58:46 ---> cbc1dda44eaa 00:58:46 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 00:58:46 ---> Running in ef6c3fce04eb 00:58:47 Connecting to iotech.jfrog.io (52.209.90.94:443) 00:58:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:58:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:58:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:58:48 Removing intermediate container ef6c3fce04eb 00:58:48 ---> 0c871c06ae49 00:58:48 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:58:48 ---> Running in 4074ce4e1ec4 00:58:50 Removing intermediate container 4074ce4e1ec4 00:58:50 ---> e506579b6a36 00:58:50 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 00:58:50 ---> Running in 5ec8c272457f 00:58:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:58:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:58:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 00:58:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:58:54 (1/6) Installing curl (7.80.0-r1) 00:58:54 (2/6) Installing hiredis (1.0.2-r0) 00:58:54 (3/6) Installing hiredis-dev (1.0.2-r0) 00:58:54 (4/6) Installing libcbor (0.8.0-r0) 00:58:54 (5/6) Installing libuuid (2.37.4-r0) 00:58:54 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 00:58:55 Executing busybox-1.34.1-r5.trigger 00:58:55 OK: 278 MiB in 83 packages 00:58:56 Removing intermediate container 5ec8c272457f 00:58:56 ---> bd0415723b8e 00:58:56 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 00:58:56 ---> 56c7b8b02172 00:58:56 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 00:58:57 ---> aa1bb3ecb7c5 00:58:57 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 00:58:58 ---> 96e393d0fa1c 00:58:58 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 00:58:58 ---> 7fed90606bb6 00:58:58 Successfully built 7fed90606bb6 00:58:58 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 00:58:59 + docker inspect -f . ci-base-image-arm64 00:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:59 prd-ubuntu20.04-docker-arm64-4c-16g-2617 does not seem to be running inside a container 00:58:59 $ 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 00:59:01 $ docker top b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:02 + make test 00:59:02 echo "make test" 00:59:02 make test [Pipeline] } 00:59:02 $ docker stop --time=1 b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c 00:59:03 $ docker rm -f b66fc5a6b542056cbf438d6071e8fb8a6519f97bacd3275d86be29decdfc7c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:59:05 + ls -al . 00:59:05 total 204 00:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:55 . 00:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 .. 00:59:05 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 00:55 .git 00:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 .github 00:59:05 -rw-rw-r-- 1 jenkins jenkins 176 Jun 18 00:55 .gitignore 00:59:05 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 18 00:55 Attribution.txt 00:59:05 -rw-rw-r-- 1 jenkins jenkins 8321 Jun 18 00:55 CHANGES 00:59:05 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 18 00:55 Doxyfile 00:59:05 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 00:55 GOVERNANCE.md 00:59:05 -rw-rw-r-- 1 jenkins jenkins 784 Jun 18 00:55 Jenkinsfile 00:59:05 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 18 00:55 LICENSE 00:59:05 -rw-rw-r-- 1 jenkins jenkins 444 Jun 18 00:55 Makefile 00:59:05 -rw-rw-r-- 1 jenkins jenkins 618 Jun 18 00:55 OWNERS.md 00:59:05 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 18 00:55 README.md 00:59:05 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 18 00:55 README.v2.md 00:59:05 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 00:53 VERSION 00:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 docs 00:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 include 00:59:05 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 00:55 scripts 00:59:05 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 00:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:05 + 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 . 00:59:05 Sending build context to Docker daemon 2.737MB 00:59:06 Step 1/17 : ARG BASE=alpine:3.15 00:59:06 Step 2/17 : FROM ${BASE} 00:59:06 ---> 7fed90606bb6 00:59:06 Step 3/17 : LABEL maintainer="IOTech " 00:59:06 ---> Running in bdf693eb34ef 00:59:06 Removing intermediate container bdf693eb34ef 00:59:06 ---> 5befc73d2bae 00:59:06 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 00:59:06 ---> Running in f3f8b1770ea7 00:59:07 Connecting to iotech.jfrog.io (52.18.78.255:443) 00:59:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:59:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:59:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:59:08 Removing intermediate container f3f8b1770ea7 00:59:08 ---> a0b0f865c069 00:59:08 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 00:59:08 ---> Running in 00abd0a25ab1 00:59:10 Removing intermediate container 00abd0a25ab1 00:59:10 ---> 4f80aba27696 00:59:10 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 00:59:10 ---> Running in eb175c6426e0 00:59:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:59:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:59:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 00:59:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:59:13 (1/26) Installing libcbor-dev (0.8.0-r0) 00:59:13 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 00:59:13 (3/26) Installing util-linux (2.37.4-r0) 00:59:14 (4/26) Installing libblkid (2.37.4-r0) 00:59:14 (5/26) Installing libeconf (0.4.2-r0) 00:59:14 (6/26) Installing libfdisk (2.37.4-r0) 00:59:14 (7/26) Installing libmount (2.37.4-r0) 00:59:14 (8/26) Installing libsmartcols (2.37.4-r0) 00:59:14 (9/26) Installing util-linux-misc (2.37.4-r0) 00:59:14 (10/26) Installing linux-pam (1.5.2-r0) 00:59:14 (11/26) Installing runuser (2.37.4-r0) 00:59:15 (12/26) Installing hexdump (2.37.4-r0) 00:59:15 (13/26) Installing uuidgen (2.37.4-r0) 00:59:15 (14/26) Installing blkid (2.37.4-r0) 00:59:15 (15/26) Installing sfdisk (2.37.4-r0) 00:59:15 (16/26) Installing mcookie (2.37.4-r0) 00:59:15 (17/26) Installing wipefs (2.37.4-r0) 00:59:15 (18/26) Installing cfdisk (2.37.4-r0) 00:59:15 (19/26) Installing flock (2.37.4-r0) 00:59:15 (20/26) Installing lsblk (2.37.4-r0) 00:59:15 (21/26) Installing libcap-ng (0.8.2-r1) 00:59:15 (22/26) Installing setpriv (2.37.4-r0) 00:59:15 (23/26) Installing logger (2.37.4-r0) 00:59:15 (24/26) Installing partx (2.37.4-r0) 00:59:16 (25/26) Installing findmnt (2.37.4-r0) 00:59:16 (26/26) Installing util-linux-dev (2.37.4-r0) 00:59:16 Executing busybox-1.34.1-r5.trigger 00:59:16 OK: 290 MiB in 109 packages 00:59:18 Removing intermediate container eb175c6426e0 00:59:18 ---> 917040cef061 00:59:18 Step 7/17 : COPY VERSION /edgex-c-sdk/ 00:59:18 ---> 5707940232fb 00:59:18 Step 8/17 : COPY src /edgex-c-sdk/src/ 00:59:19 ---> 79a03c1f1ea3 00:59:19 Step 9/17 : COPY include /edgex-c-sdk/include/ 00:59:19 ---> 51200f407375 00:59:19 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 00:59:20 ---> 38e59977c9f7 00:59:20 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 00:59:21 ---> 4f617b346001 00:59:21 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 00:59:21 ---> 0343b50d131d 00:59:21 Step 13/17 : WORKDIR /edgex-c-sdk 00:59:21 ---> Running in f7de6fdad981 00:59:22 Removing intermediate container f7de6fdad981 00:59:22 ---> 0c3e651e525b 00:59:22 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 00:59:22 ---> Running in a1e7a0569990 00:59:22 Removing intermediate container a1e7a0569990 00:59:22 ---> 028cc7ddf0d3 00:59:22 Step 15/17 : LABEL arch=arm64 00:59:22 ---> Running in 4bb44cacc885 00:59:22 Removing intermediate container 4bb44cacc885 00:59:22 ---> 379a2fb924b1 00:59:22 Step 16/17 : LABEL git_sha=942c8451240af7bf227f04daa983bc93c578c377 00:59:22 ---> Running in e810a13c7099 00:59:23 Removing intermediate container e810a13c7099 00:59:23 ---> 28325d3818eb 00:59:23 Step 17/17 : LABEL version=0.0.0 00:59:23 ---> Running in 5f60e5f7cbd7 00:59:23 Removing intermediate container 5f60e5f7cbd7 00:59:23 ---> 85e598fed861 00:59:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:59:23 Successfully built 85e598fed861 00:59:23 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 00:59:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:24 00:59:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:25 arm64: Pulling from edgex-lftools-log-publisher 00:59:25 8998bd30e6a1: Pulling fs layer 00:59:25 04944245beec: Pulling fs layer 00:59:25 699f458cf7ca: Pulling fs layer 00:59:25 765212b225bb: Pulling fs layer 00:59:25 f23df028b6ca: Pulling fs layer 00:59:25 d65c8cfc05b1: Pulling fs layer 00:59:25 2437ff75d9bd: Pulling fs layer 00:59:25 f23df028b6ca: Waiting 00:59:25 2437ff75d9bd: Waiting 00:59:25 765212b225bb: Waiting 00:59:25 04944245beec: Verifying Checksum 00:59:25 04944245beec: Download complete 00:59:25 765212b225bb: Verifying Checksum 00:59:25 765212b225bb: Download complete 00:59:25 f23df028b6ca: Verifying Checksum 00:59:25 f23df028b6ca: Download complete 00:59:25 d65c8cfc05b1: Verifying Checksum 00:59:25 d65c8cfc05b1: Download complete 00:59:25 699f458cf7ca: Verifying Checksum 00:59:25 699f458cf7ca: Download complete 00:59:26 8998bd30e6a1: Verifying Checksum 00:59:26 8998bd30e6a1: Download complete 00:59:29 2437ff75d9bd: Verifying Checksum 00:59:29 2437ff75d9bd: Download complete 00:59:31 8998bd30e6a1: Pull complete 00:59:31 04944245beec: Pull complete 00:59:33 699f458cf7ca: Pull complete 00:59:33 765212b225bb: Pull complete 00:59:34 f23df028b6ca: Pull complete 00:59:34 d65c8cfc05b1: Pull complete 00:59:49 2437ff75d9bd: Pull complete 00:59:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-2617 does not seem to be running inside a container 00:59:50 $ 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 00:59:52 $ docker top a49a0d79b8784e261bb006aafa9651f0b7f011690d28cb0ce892d18ee48d128d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:53 ---> job-cost.sh 00:59:53 lf-activate-venv: SKIPPING 00:59:53 INFO: No Stack... 00:59:54 INFO: Retrieving Pricing Info for: v3-standard-4 00:59:55 INFO: Archiving Costs [Pipeline] sh 00:59:56 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 00:59:56 + cut -d, -f6 [Pipeline] lock 00:59:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] 00:59:56 Resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] did not exist. Created. 00:59:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:59:57 /w/workspace/device-sdk-c/1@tmp/durable-c82b18c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:59:57 + echo total: 0.10999999940395355 [Pipeline] stash 00:59:57 Warning: overwriting stash ‘stack-cost’ 00:59:58 Stashed 1 file(s) [Pipeline] } 00:59:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:59:58 $ docker stop --time=1 a49a0d79b8784e261bb006aafa9651f0b7f011690d28cb0ce892d18ee48d128d 00:59:59 $ 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 01:00:01 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives ] 01:00:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives 01:00:01 total 16 01:00:01 drwxr-xr-x 3 root root 4096 Jun 18 00:54 . 01:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 00:54 .. 01:00:01 drwxr-xr-x 2 root root 4096 Jun 18 00:54 cost 01:00:01 -rw-r--r-- 1 root root 83 Jun 18 00:54 cost.csv 01:00:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives 01:00:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives 01:00:01 total 16 01:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 00:54 . 01:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 00:54 .. 01:00:01 drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 00:54 cost 01:00:01 -rw-r--r-- 1 jenkins jenkins 83 Jun 18 00:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:00:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:00:02 ---> package-listing.sh 01:00:02 ++ facter osfamily 01:00:02 ++ tr '[:upper:]' '[:lower:]' 01:00:03 + OS_FAMILY=debian 01:00:03 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-421 01:00:03 + START_PACKAGES=/tmp/packages_start.txt 01:00:03 + END_PACKAGES=/tmp/packages_end.txt 01:00:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:00:03 + PACKAGES=/tmp/packages_start.txt 01:00:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-421 ']' 01:00:03 + PACKAGES=/tmp/packages_end.txt 01:00:03 + case "${OS_FAMILY}" in 01:00:03 + dpkg -l 01:00:03 + grep '^ii' 01:00:03 + '[' -f /tmp/packages_start.txt ']' 01:00:03 + '[' -f /tmp/packages_end.txt ']' 01:00:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:00:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-421 ']' 01:00:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-421/archives/ 01:00:03 + 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 01:00:03 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 01:00:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:04 prd-ubuntu20.04-docker-8c-8g-2615 does not seem to be running inside a container 01:00:04 $ 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 01:00:04 $ docker top 9f5b6d5402a7463ba5467206ca5411141d67ab926d3abf74f3b2253679150551 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:05 + touch /tmp/pre-build-complete [Pipeline] sh 01:00:05 + mkdir -p /var/log/sysstat [Pipeline] sh 01:00:05 + ls /var/log/sa-host 01:00:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:05 provisioning config files... 01:00:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-421@tmp/config2101146614167725272tmp [Pipeline] { [Pipeline] echo 01:00:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:00:06 ---> create-netrc.sh [Pipeline] } 01:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:00:06 ---> python-tools-install.sh [Pipeline] echo 01:00:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:00:07 ---> sudo-logs.sh 01:00:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:00:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:00:07 ---> job-cost.sh 01:00:07 lf-activate-venv: SKIPPING 01:00:07 DEBUG: total: 0.2199999988079071 01:00:07 INFO: Retrieving Stack Cost... 01:00:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:08 INFO: Archiving Costs [Pipeline] echo 01:00:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:00:08 ---> logs-deploy.sh 01:00:08 lf-activate-venv: SKIPPING 01:00:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-421/1 01:00:08 INFO: archiving workspace using pattern(s): 01:00:09 Archives upload complete. 01:00:09 INFO: archiving logs to Nexus