Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 165bf1afc6928f684637a03d8c76ec8e2cf51e8a 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-ssh981227018903901807.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-ssh16917608405654803025.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13645498524735086241.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14250316016069028254.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 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-ssh14460175671327451701.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17730669751565494402.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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15221 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 165bf1afc6928f684637a03d8c76ec8e2cf51e8a (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420) (#421)" > git rev-list --no-walk 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:29 ========================================================= 10:27:29 EdgeX Global Pipelines Version Info 10:27:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:27:30 ------------------- 10:27:30 stable info: 10:27:30 ------------------- 10:27:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:27:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:27:30 Message: update stable to v1.0.234 10:27:30 ------------------- 10:27:30 experimental info: 10:27:30 ------------------- 10:27:30 Commited By: **** collab-it+edgex@linuxfoundation.org 10:27:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:27:30 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:27:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 165bf1a [Pipeline] echo 10:27:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:31 provisioning config files... 10:27:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1831212466776814701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:31 ---> docker-login.sh 10:27:31 nexus3.edgexfoundry.org:10001 10:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:31 Configure a credential helper to remove this warning. See 10:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:31 10:27:31 Login Succeeded 10:27:31 nexus3.edgexfoundry.org:10002 10:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:31 Configure a credential helper to remove this warning. See 10:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:31 10:27:31 Login Succeeded 10:27:31 nexus3.edgexfoundry.org:10003 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 nexus3.edgexfoundry.org:10004 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 docker.io 10:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 ---> docker-login.sh ends [Pipeline] } 10:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:27:33 + git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo 10:27:33 -----------> git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [false] [Pipeline] sh 10:27:33 + git log --format=format:%s -1 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo 10:27:33 ========================================================= 10:27:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:27:33 ========================================================= 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 10:27:33 + git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo 10:27:33 -----------> git rev-list -1 --merges 165bf1afc6928f684637a03d8c76ec8e2cf51e8a~1..165bf1afc6928f684637a03d8c76ec8e2cf51e8a 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [false] [Pipeline] sh 10:27:34 + git log --format=format:%s -1 165bf1afc6928f684637a03d8c76ec8e2cf51e8a [Pipeline] echo 10:27:34 ========================================================= 10:27:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:27:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:27:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:34 + grep -v github /etc/ssh/ssh_known_hosts 10:27:34 + [ -e /tmp/ssh_known_hosts ] 10:27:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:27:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:27:34 + sudo tee -a /etc/ssh/ssh_known_hosts 10:27:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:35 10:27:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:35 0.1.4: Pulling from edgex-devops/py-git-semver 10:27:35 42c077c10790: Pulling fs layer 10:27:35 f63e77b7563a: Pulling fs layer 10:27:35 bd5fdadae976: Pulling fs layer 10:27:35 205491f53016: Pulling fs layer 10:27:35 df18705c85c3: Pulling fs layer 10:27:35 bdb3f477010e: Pulling fs layer 10:27:35 c8a8fc8e1c8f: Pulling fs layer 10:27:35 2c6e9b1d212d: Pulling fs layer 10:27:35 bdb8f0575790: Pulling fs layer 10:27:35 386e3cb2ff24: Pulling fs layer 10:27:35 2343380bae48: Pulling fs layer 10:27:35 bdb3f477010e: Waiting 10:27:35 c8a8fc8e1c8f: Waiting 10:27:35 2c6e9b1d212d: Waiting 10:27:35 386e3cb2ff24: Waiting 10:27:35 bdb8f0575790: Waiting 10:27:35 df18705c85c3: Waiting 10:27:35 2343380bae48: Waiting 10:27:35 f63e77b7563a: Verifying Checksum 10:27:35 f63e77b7563a: Download complete 10:27:35 205491f53016: Verifying Checksum 10:27:35 205491f53016: Download complete 10:27:35 df18705c85c3: Verifying Checksum 10:27:35 df18705c85c3: Download complete 10:27:35 bdb3f477010e: Verifying Checksum 10:27:35 bdb3f477010e: Download complete 10:27:35 bd5fdadae976: Verifying Checksum 10:27:35 bd5fdadae976: Download complete 10:27:35 2c6e9b1d212d: Download complete 10:27:35 bdb8f0575790: Download complete 10:27:35 386e3cb2ff24: Verifying Checksum 10:27:35 386e3cb2ff24: Download complete 10:27:35 2343380bae48: Verifying Checksum 10:27:35 2343380bae48: Download complete 10:27:35 42c077c10790: Download complete 10:27:35 c8a8fc8e1c8f: Download complete 10:27:36 42c077c10790: Pull complete 10:27:36 f63e77b7563a: Pull complete 10:27:37 bd5fdadae976: Pull complete 10:27:37 205491f53016: Pull complete 10:27:37 df18705c85c3: Pull complete 10:27:37 bdb3f477010e: Pull complete 10:27:39 c8a8fc8e1c8f: Pull complete 10:27:39 2c6e9b1d212d: Pull complete 10:27:39 bdb8f0575790: Pull complete 10:27:39 386e3cb2ff24: Pull complete 10:27:39 2343380bae48: Pull complete 10:27:39 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:27:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:39 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:27:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:41 $ docker top c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 -eo pid,comm 10:27:41 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). 10:27:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:41 [ssh-agent] Looking for ssh-agent implementation... 10:27:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:41 $ docker exec c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent 10:27:41 SSH_AUTH_SOCK=/tmp/ssh-4OiVD23nxGG4/agent.34 10:27:41 SSH_AGENT_PID=40 10:27:41 Running ssh-add (command line suppressed) 10:27:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_744218801838355930.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_744218801838355930.key) 10:27:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:42 + git tag --points-at HEAD [Pipeline] } 10:27:42 $ docker exec --env ******** --env ******** c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent -k 10:27:42 unset SSH_AUTH_SOCK; 10:27:42 unset SSH_AGENT_PID; 10:27:42 echo Agent pid 40 killed; 10:27:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:27:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:42 [ssh-agent] Looking for ssh-agent implementation... 10:27:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:42 $ docker exec c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent 10:27:42 SSH_AUTH_SOCK=/tmp/ssh-MlIf2ZU1aI4o/agent.74 10:27:42 SSH_AGENT_PID=81 10:27:42 Running ssh-add (command line suppressed) 10:27:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4793383076780893875.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4793383076780893875.key) 10:27:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:42 + git semver init 10:27:43 2022-06-21 10:27:43,171 [run_init] DEBUG init version:0.0.0 force:False 10:27:43 2022-06-21 10:27:43,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:27:43 2022-06-21 10:27:43,172 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:27:43 2022-06-21 10:27:43,173 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:27:44 2022-06-21 10:27:43,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 10:27:44 2022-06-21 10:27:43,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 10:27:44 2022-06-21 10:27:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:27:44 2022-06-21 10:27:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:27:44 2.2.0-dev.10 [Pipeline] } 10:27:44 $ docker exec --env ******** --env ******** c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 ssh-agent -k 10:27:44 unset SSH_AUTH_SOCK; 10:27:44 unset SSH_AGENT_PID; 10:27:44 echo Agent pid 81 killed; 10:27:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:44 + git semver [Pipeline] } 10:27:44 $ docker stop --time=1 c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 10:27:46 $ docker rm -f c532a2a179b3fa386067301eca1d9beff2c86f515385cc60292dfacdbaf98976 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:27:46 Stashed 1 file(s) [Pipeline] echo 10:27:46 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 10:27:46 provisioning config files... 10:27:46 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2340327090180417658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:47 ---> docker-login.sh 10:27:47 nexus3.edgexfoundry.org:10001 10:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:47 Configure a credential helper to remove this warning. See 10:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:47 10:27:47 Login Succeeded 10:27:47 nexus3.edgexfoundry.org:10002 10:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:47 Configure a credential helper to remove this warning. See 10:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:47 10:27:47 Login Succeeded 10:27:47 nexus3.edgexfoundry.org:10003 10:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:47 Configure a credential helper to remove this warning. See 10:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:47 10:27:47 Login Succeeded 10:27:47 nexus3.edgexfoundry.org:10004 10:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:47 Configure a credential helper to remove this warning. See 10:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:47 10:27:47 Login Succeeded 10:27:47 docker.io 10:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:48 Configure a credential helper to remove this warning. See 10:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:48 10:27:48 Login Succeeded 10:27:48 ---> docker-login.sh ends [Pipeline] } 10:27:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:27:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:27:48 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:27:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:27:48 ========================================================= 10:27:48 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:27:48 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:48 + 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 . 10:27:48 Sending build context to Docker daemon 4.518MB 10:27:48 Step 1/22 : ARG BASE=alpine:3.15 10:27:48 Step 2/22 : FROM ${BASE} as builder 10:27:48 latest: Pulling from edgex-devops/edgex-gcc-base 10:27:48 df9b9388f04a: Pulling fs layer 10:27:48 37ea90d01205: Pulling fs layer 10:27:48 c88372d24652: Pulling fs layer 10:27:48 37ea90d01205: Verifying Checksum 10:27:48 37ea90d01205: Download complete 10:27:48 df9b9388f04a: Download complete 10:27:48 df9b9388f04a: Pull complete 10:27:48 37ea90d01205: Pull complete 10:27:49 c88372d24652: Download complete 10:27:51 c88372d24652: Pull complete 10:27:51 Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e 10:27:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:27:51 ---> 95f6e8fcc511 10:27:51 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 10:27:52 ---> Running in 43e73319d35a 10:27:53 Connecting to iotech.jfrog.io (52.18.78.255:443) 10:27:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:27:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:27:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:27:53 Removing intermediate container 43e73319d35a 10:27:53 ---> 1465c97f06bf 10:27:53 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:27:53 ---> Running in 6437bd4d0baa 10:27:54 Removing intermediate container 6437bd4d0baa 10:27:54 ---> 312b65ebdda8 10:27:54 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 10:27:54 ---> Running in 8bec8cb5a04c 10:27:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:27:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:27:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:27:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:27:56 (1/31) Installing hiredis (1.0.2-r0) 10:27:56 (2/31) Installing hiredis-dev (1.0.2-r0) 10:27:56 (3/31) Installing libcbor (0.8.0-r0) 10:27:56 (4/31) Installing libcbor-dev (0.8.0-r0) 10:27:56 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:27:56 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:27:57 (7/31) Installing util-linux (2.37.4-r0) 10:27:57 (8/31) Installing libblkid (2.37.4-r0) 10:27:57 (9/31) Installing libeconf (0.4.2-r0) 10:27:57 (10/31) Installing libuuid (2.37.4-r0) 10:27:57 (11/31) Installing libfdisk (2.37.4-r0) 10:27:57 (12/31) Installing libmount (2.37.4-r0) 10:27:57 (13/31) Installing libsmartcols (2.37.4-r0) 10:27:57 (14/31) Installing util-linux-misc (2.37.4-r0) 10:27:58 (15/31) Installing linux-pam (1.5.2-r0) 10:27:58 (16/31) Installing runuser (2.37.4-r0) 10:27:58 (17/31) Installing hexdump (2.37.4-r0) 10:27:58 (18/31) Installing uuidgen (2.37.4-r0) 10:27:58 (19/31) Installing blkid (2.37.4-r0) 10:27:58 (20/31) Installing sfdisk (2.37.4-r0) 10:27:58 (21/31) Installing mcookie (2.37.4-r0) 10:27:58 (22/31) Installing wipefs (2.37.4-r0) 10:27:58 (23/31) Installing cfdisk (2.37.4-r0) 10:27:58 (24/31) Installing flock (2.37.4-r0) 10:27:58 (25/31) Installing lsblk (2.37.4-r0) 10:27:59 (26/31) Installing libcap-ng (0.8.2-r1) 10:27:59 (27/31) Installing setpriv (2.37.4-r0) 10:27:59 (28/31) Installing logger (2.37.4-r0) 10:27:59 (29/31) Installing partx (2.37.4-r0) 10:27:59 (30/31) Installing findmnt (2.37.4-r0) 10:27:59 (31/31) Installing util-linux-dev (2.37.4-r0) 10:27:59 Executing busybox-1.34.1-r5.trigger 10:27:59 OK: 293 MiB in 108 packages 10:28:00 Removing intermediate container 8bec8cb5a04c 10:28:00 ---> 21e8e9c5555a 10:28:00 Step 6/22 : RUN mkdir /tmp/sdk 10:28:00 ---> Running in ec3c00847513 10:28:00 Removing intermediate container ec3c00847513 10:28:00 ---> 0275f1e2585d 10:28:00 Step 7/22 : COPY VERSION /tmp/sdk 10:28:00 ---> 9a8cdfb626da 10:28:00 Step 8/22 : COPY src /tmp/sdk/src 10:28:01 ---> 4311636c2091 10:28:01 Step 9/22 : COPY include /tmp/sdk/include 10:28:01 ---> 676b1afe3825 10:28:01 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:28:01 ---> 63c4bbbd7f36 10:28:01 Step 11/22 : COPY LICENSE /tmp/sdk 10:28:01 ---> aee76e775342 10:28:01 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:28:01 ---> 8110ffb2550b 10:28:01 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:28:01 Still waiting to schedule task 10:28:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:28:01 ---> Running in cc1665be5eaa 10:28:02 + CPPCHECK=false 10:28:02 + DOCGEN=false 10:28:02 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:28:02 + TOMLVER=SDK-0.2 10:28:02 + CUTILVER=1.2.2 10:28:02 + '[' 0 -gt 0 ] 10:28:02 + readlink -f ./scripts/build.sh 10:28:02 + dirname /tmp/sdk/scripts/build.sh 10:28:02 + dirname /tmp/sdk/scripts 10:28:02 + ROOT=/tmp/sdk 10:28:02 + cd /tmp/sdk 10:28:02 + '[' '!' -d deps ] 10:28:02 + mkdir deps 10:28:02 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:28:02 + tar -C deps -z -x -f - 10:28:02 Connecting to github.com (140.82.112.4:443) 10:28:02 Connecting to codeload.github.com (140.82.112.10:443) 10:28:02 writing to stdout 10:28:02 - 100% |********************************| 16451 0:00:00 ETA 10:28:02 written to stdout 10:28:02 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:28:02 + + wget -O -tar https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:28:02 -C deps -z -x -f - 10:28:02 Connecting to github.com (140.82.112.4:443) 10:28:02 Connecting to codeload.github.com (140.82.112.10:443) 10:28:02 writing to stdout 10:28:02 - 100% |********************************| 189k 0:00:00 ETA 10:28:02 written to stdout 10:28:02 + mkdir -p src/c/iot 10:28:02 + 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 10:28:02 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:28:02 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:28:02 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:28:02 + mkdir -p include/iot 10:28:02 + 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 10:28:02 + mkdir -p include/iot/os 10:28:02 + 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 10:28:02 + mkdir -p /tmp/sdk/build/release 10:28:02 + cd /tmp/sdk/build/release 10:28:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:28:02 -- The C compiler identification is GNU 10.3.1 10:28:02 -- Detecting C compiler ABI info 10:28:02 -- Detecting C compiler ABI info - done 10:28:03 -- Check for working C compiler: /usr/bin/cc - skipped 10:28:03 -- Detecting C compile features 10:28:03 -- Detecting C compile features - done 10:28:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:28:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:28:03 -- Found LIBYAML: /usr/lib/libyaml.so 10:28:03 -- Found LIBUUID: /usr/lib/libuuid.so 10:28:03 -- Found LIBCBOR: /usr/lib/libcbor.so 10:28:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:28:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:28:03 -- C SDK 2.2.0-dev.10 for Linux 10:28:03 -- Performing Test CSDK_HAVE_ATOMIC 10:28:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:28:03 -- Found Curses: /usr/lib/libcurses.so 10:28:03 -- Configuring done 10:28:03 -- Generating done 10:28:03 -- Build files have been written to: /tmp/sdk/build/release 10:28:03 + make all package 10:28:03 + tee release.log 10:28:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:28:03 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:28:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:28:04 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:28:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:28:04 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:28:04 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:28:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:28:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:28:04 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:28:05 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:28:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:28:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:28:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:28:05 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:28:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:28:05 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:28:06 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:28:06 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:28:06 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:28:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:28:06 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:28:06 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:28:06 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:28:06 275 | const iot_component_factory_t * factory; 10:28:06 | ^~~~~~~ 10:28:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:28:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:28:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:28:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:28:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:28:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:28:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:28:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:28:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:28:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:28:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:28:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:28:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:28:09 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:28:09 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:28:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:28:10 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:28:10 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:28:10 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:28:10 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:28:10 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:28:10 /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] 10:28:10 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:28:10 | ^~~~~~~~~~~~~ 10:28:10 | | 10:28:10 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:28:10 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:10 /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 *)' 10:28:10 2784 | MHD_KeyValueIterator iterator, 10:28:10 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:28:10 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:28:10 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:28:10 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:28:10 | ^~~~~~~~~~~~ 10:28:10 | | 10:28:10 | 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 **)} 10:28:10 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:10 /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 **)'} 10:28:10 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:28:10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:28:10 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:28:10 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:28:10 | ^~~~~~~~~~~~ 10:28:10 | | 10:28:10 | 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 **)} 10:28:10 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:10 /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 **)'} 10:28:10 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:28:10 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:28:10 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:28:11 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:28:11 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:28:11 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:28:11 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:28:12 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:28:12 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:28:12 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:28:12 [ 76%] Linking C shared library libcsdk.so 10:28:12 [ 76%] Built target csdk 10:28:12 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:28:13 [ 79%] Linking C executable template 10:28:13 [ 79%] Built target template 10:28:13 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:28:13 [ 82%] Linking C executable device-counter 10:28:13 [ 82%] Built target device-counter 10:28:13 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:28:13 [ 85%] Linking C executable device-random 10:28:13 [ 85%] Built target device-random 10:28:13 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:28:13 [ 88%] Linking C executable device-gyro 10:28:13 [ 88%] Built target device-gyro 10:28:13 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:28:13 [ 91%] Linking C executable device-bitfields 10:28:13 [ 91%] Built target device-bitfields 10:28:13 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:28:14 [ 94%] Linking C executable template-discovery 10:28:14 [ 94%] Built target template-discovery 10:28:14 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:28:14 [ 97%] Linking C executable device-file 10:28:14 [ 97%] Built target device-file 10:28:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:28:14 [100%] Linking C executable device-terminal 10:28:14 [100%] Built target device-terminal 10:28:14 Run CPack packaging tool... 10:28:14 CPack: Create package using TGZ 10:28:14 CPack: Install projects 10:28:14 CPack: - Run preinstall target for: Csdk 10:28:14 CPack: - Install project: Csdk [] 10:28:14 CPack: Create package 10:28:14 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.10.tar.gz generated. 10:28:14 + '[' false '=' true ] 10:28:14 + '[' false '=' true ] 10:28:14 + mkdir -p /tmp/sdk/build/debug 10:28:14 + cd /tmp/sdk/build/debug 10:28:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:28:14 -- The C compiler identification is GNU 10.3.1 10:28:14 -- Detecting C compiler ABI info 10:28:14 -- Detecting C compiler ABI info - done 10:28:14 -- Check for working C compiler: /usr/bin/cc - skipped 10:28:14 -- Detecting C compile features 10:28:14 -- Detecting C compile features - done 10:28:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:28:15 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:28:15 -- Found LIBYAML: /usr/lib/libyaml.so 10:28:15 -- Found LIBUUID: /usr/lib/libuuid.so 10:28:15 -- Found LIBCBOR: /usr/lib/libcbor.so 10:28:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:28:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:28:15 -- C SDK 2.2.0-dev.10 for Linux 10:28:15 -- Performing Test CSDK_HAVE_ATOMIC 10:28:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:28:15 -- Found Curses: /usr/lib/libcurses.so 10:28:15 -- Configuring done 10:28:15 -- Generating done 10:28:15 -- Build files have been written to: /tmp/sdk/build/debug 10:28:15 + make 10:28:15 + tee debug.log 10:28:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:28:15 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:28:15 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:28:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:28:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:28:15 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:28:16 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:28:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:28:16 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:28:16 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:28:16 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:28:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:28:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:28:16 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:28:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:28:16 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:28:16 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:28:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:28:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:28:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:28:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:28:17 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:28:17 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:28:17 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:28:17 275 | const iot_component_factory_t * factory; 10:28:17 | ^~~~~~~ 10:28:17 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:28:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:28:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:28:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:28:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:28:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:28:17 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:28:17 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:28:17 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:28:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:28:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:28:17 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:28:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:28:18 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:28:18 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:28:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:28:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:28:18 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:28:18 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:28:18 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:28:18 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:28:18 /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] 10:28:18 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:28:18 | ^~~~~~~~~~~~~ 10:28:18 | | 10:28:18 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:28:18 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:18 /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 *)' 10:28:18 2784 | MHD_KeyValueIterator iterator, 10:28:18 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:28:18 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:28:18 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:28:18 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:28:18 | ^~~~~~~~~~~~ 10:28:18 | | 10:28:18 | 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 **)} 10:28:18 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:18 /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 **)'} 10:28:18 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:28:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:28:18 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:28:18 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:28:18 | ^~~~~~~~~~~~ 10:28:18 | | 10:28:18 | 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 **)} 10:28:18 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:28:18 /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 **)'} 10:28:18 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:28:18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:28:19 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:28:19 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:28:19 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:28:19 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:28:19 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:28:19 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:28:19 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:28:19 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:28:19 [ 76%] Linking C shared library libcsdk.so 10:28:20 [ 76%] Built target csdk 10:28:20 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:28:20 [ 79%] Linking C executable template 10:28:20 [ 79%] Built target template 10:28:20 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:28:20 [ 82%] Linking C executable device-counter 10:28:20 [ 82%] Built target device-counter 10:28:20 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:28:20 [ 85%] Linking C executable device-random 10:28:20 [ 85%] Built target device-random 10:28:20 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:28:20 [ 88%] Linking C executable device-gyro 10:28:20 [ 88%] Built target device-gyro 10:28:20 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:28:20 [ 91%] Linking C executable device-bitfields 10:28:20 [ 91%] Built target device-bitfields 10:28:20 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:28:20 [ 94%] Linking C executable template-discovery 10:28:20 [ 94%] Built target template-discovery 10:28:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:28:21 [ 97%] Linking C executable device-file 10:28:21 [ 97%] Built target device-file 10:28:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:28:21 [100%] Linking C executable device-terminal 10:28:21 [100%] Built target device-terminal 10:28:21 make: Entering directory '/tmp/sdk/build/release' 10:28:21 make[1]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 76%] Built target csdk 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 79%] Built target template 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 82%] Built target device-counter 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 85%] Built target device-random 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 88%] Built target device-gyro 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 91%] Built target device-bitfields 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 94%] Built target template-discovery 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [ 97%] Built target device-file 10:28:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:21 [100%] Built target device-terminal 10:28:21 make[1]: Leaving directory '/tmp/sdk/build/release' 10:28:21 Install the project... 10:28:21 -- Install configuration: "Release" 10:28:21 -- Installing: /usr/local/lib/libcsdk.so 10:28:21 -- Installing: /usr/local/include 10:28:21 -- Installing: /usr/local/include/edgex 10:28:21 -- Installing: /usr/local/include/edgex/profiles.h 10:28:21 -- Installing: /usr/local/include/edgex/edgex.h 10:28:21 -- Installing: /usr/local/include/edgex/rest-server.h 10:28:21 -- Installing: /usr/local/include/edgex/edgex-base.h 10:28:21 -- Installing: /usr/local/include/edgex/devices.h 10:28:21 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:28:21 -- Installing: /usr/local/include/devsdk 10:28:21 -- Installing: /usr/local/include/devsdk/devsdk.h 10:28:21 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:28:21 -- Installing: /usr/local/include/iot 10:28:21 -- Installing: /usr/local/include/iot/thread.h 10:28:21 -- Installing: /usr/local/include/iot/hash.h 10:28:21 -- Installing: /usr/local/include/iot/typecode.h 10:28:21 -- Installing: /usr/local/include/iot/threadpool.h 10:28:21 -- Installing: /usr/local/include/iot/uuid.h 10:28:21 -- Installing: /usr/local/include/iot/logger.h 10:28:21 -- Installing: /usr/local/include/iot/config.h 10:28:21 -- Installing: /usr/local/include/iot/os.h 10:28:21 -- Installing: /usr/local/include/iot/container.h 10:28:21 -- Installing: /usr/local/include/iot/scheduler.h 10:28:21 -- Installing: /usr/local/include/iot/defs.h 10:28:21 -- Installing: /usr/local/include/iot/iot.h 10:28:21 -- Installing: /usr/local/include/iot/component.h 10:28:21 -- Installing: /usr/local/include/iot/os 10:28:21 -- Installing: /usr/local/include/iot/os/linux.h 10:28:21 -- Installing: /usr/local/include/iot/os/zephyr.h 10:28:21 -- Installing: /usr/local/include/iot/os/macos.h 10:28:21 -- Installing: /usr/local/include/iot/base64.h 10:28:21 -- Installing: /usr/local/include/iot/time.h 10:28:21 -- Installing: /usr/local/include/iot/data.h 10:28:21 -- Installing: /usr/local/include/iot/json.h 10:28:21 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:28:21 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:28:21 make: Leaving directory '/tmp/sdk/build/release' 10:28:22 Removing intermediate container cc1665be5eaa 10:28:22 ---> 203ee5ec4962 10:28:22 Step 14/22 : FROM ${BASE} 10:28:22 ---> 95f6e8fcc511 10:28:22 Step 15/22 : LABEL maintainer="IOTech " 10:28:22 ---> Running in db1f173a5343 10:28:22 Removing intermediate container db1f173a5343 10:28:22 ---> 387702848288 10:28:22 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 10:28:22 ---> Running in ecf21bff10c3 10:28:22 Connecting to iotech.jfrog.io (3.248.164.40:443) 10:28:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:23 Removing intermediate container ecf21bff10c3 10:28:23 ---> 7e69f9a34a99 10:28:23 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:23 ---> Running in 6f5991bed271 10:28:23 Removing intermediate container 6f5991bed271 10:28:23 ---> 765d183e971f 10:28:23 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 10:28:23 ---> Running in fed0b543ce68 10:28:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:26 (1/6) Installing curl (7.80.0-r1) 10:28:26 (2/6) Installing hiredis (1.0.2-r0) 10:28:26 (3/6) Installing hiredis-dev (1.0.2-r0) 10:28:26 (4/6) Installing libcbor (0.8.0-r0) 10:28:26 (5/6) Installing libuuid (2.37.4-r0) 10:28:26 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:28:27 Executing busybox-1.34.1-r5.trigger 10:28:27 OK: 283 MiB in 83 packages 10:28:27 Removing intermediate container fed0b543ce68 10:28:27 ---> 311731c02f02 10:28:27 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:28:27 ---> 126c57b7563e 10:28:27 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:28:27 ---> 725d9934ac5a 10:28:27 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:28:28 ---> e61b6f821857 10:28:28 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:28:28 ---> d4c786063b31 10:28:28 Successfully built d4c786063b31 10:28:28 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 10:28:28 + docker inspect -f . ci-base-image-x86_64 10:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:28 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:28:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 10:28:28 $ docker top 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:29 + make test 10:28:29 echo "make test" 10:28:29 make test [Pipeline] } 10:28:29 $ docker stop --time=1 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 10:28:30 $ docker rm -f 4c3c458d82078749fdfbae9f4d74f975c285a79051627998ac1ddaabb39af161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:28:31 + ls -al . 10:28:31 total 208 10:28:31 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 10:27 . 10:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 .. 10:28:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:27 .git 10:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 .github 10:28:31 -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 10:27 .gitignore 10:28:31 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 10:27 .semver 10:28:31 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 10:27 Attribution.txt 10:28:31 -rw-rw-r-- 1 jenkins jenkins 8321 Jun 21 10:27 CHANGES 10:28:31 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 10:27 Doxyfile 10:28:31 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 10:27 GOVERNANCE.md 10:28:31 -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 10:27 Jenkinsfile 10:28:31 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 10:27 LICENSE 10:28:31 -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 10:27 Makefile 10:28:31 -rw-rw-r-- 1 jenkins jenkins 618 Jun 21 10:27 OWNERS.md 10:28:31 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 21 10:27 README.md 10:28:31 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 21 10:27 README.v2.md 10:28:31 -rw-rw-r-- 1 jenkins jenkins 12 Jun 21 10:27 VERSION 10:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 docs 10:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 include 10:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:27 scripts 10:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:31 + 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=165bf1afc6928f684637a03d8c76ec8e2cf51e8a --label arch=amd64 --label version=2.2.0-dev.10 . 10:28:31 Sending build context to Docker daemon 4.518MB 10:28:31 Step 1/17 : ARG BASE=alpine:3.15 10:28:31 Step 2/17 : FROM ${BASE} 10:28:31 ---> d4c786063b31 10:28:31 Step 3/17 : LABEL maintainer="IOTech " 10:28:31 ---> Running in 90d70b3c8a42 10:28:32 Removing intermediate container 90d70b3c8a42 10:28:32 ---> 1a78fdda084f 10:28:32 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 10:28:32 ---> Running in 1291da9535d7 10:28:32 Connecting to iotech.jfrog.io (52.209.90.94:443) 10:28:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:32 Removing intermediate container 1291da9535d7 10:28:32 ---> 20077c3b9db1 10:28:32 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:33 ---> Running in 9f500f8b6fbb 10:28:33 Removing intermediate container 9f500f8b6fbb 10:28:33 ---> b5a503ef3a3e 10:28:33 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 10:28:33 ---> Running in a098b29bc0d8 10:28:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:38 (1/26) Installing libcbor-dev (0.8.0-r0) 10:28:38 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 10:28:39 (3/26) Installing util-linux (2.37.4-r0) 10:28:39 (4/26) Installing libblkid (2.37.4-r0) 10:28:39 (5/26) Installing libeconf (0.4.2-r0) 10:28:39 (6/26) Installing libfdisk (2.37.4-r0) 10:28:39 (7/26) Installing libmount (2.37.4-r0) 10:28:39 (8/26) Installing libsmartcols (2.37.4-r0) 10:28:40 (9/26) Installing util-linux-misc (2.37.4-r0) 10:28:42 (10/26) Installing linux-pam (1.5.2-r0) 10:28:42 (11/26) Installing runuser (2.37.4-r0) 10:28:42 (12/26) Installing hexdump (2.37.4-r0) 10:28:42 (13/26) Installing uuidgen (2.37.4-r0) 10:28:42 (14/26) Installing blkid (2.37.4-r0) 10:28:42 (15/26) Installing sfdisk (2.37.4-r0) 10:28:42 (16/26) Installing mcookie (2.37.4-r0) 10:28:42 (17/26) Installing wipefs (2.37.4-r0) 10:28:42 (18/26) Installing cfdisk (2.37.4-r0) 10:28:42 (19/26) Installing flock (2.37.4-r0) 10:28:42 (20/26) Installing lsblk (2.37.4-r0) 10:28:42 (21/26) Installing libcap-ng (0.8.2-r1) 10:28:42 (22/26) Installing setpriv (2.37.4-r0) 10:28:43 (23/26) Installing logger (2.37.4-r0) 10:28:43 (24/26) Installing partx (2.37.4-r0) 10:28:43 (25/26) Installing findmnt (2.37.4-r0) 10:28:43 (26/26) Installing util-linux-dev (2.37.4-r0) 10:28:44 Executing busybox-1.34.1-r5.trigger 10:28:44 OK: 294 MiB in 109 packages 10:28:44 Removing intermediate container a098b29bc0d8 10:28:44 ---> 3d45ff94df82 10:28:44 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:28:44 ---> 4e40f599d6c1 10:28:44 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:28:45 ---> ad4a3be17e98 10:28:45 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:28:45 ---> ee7cfe94844a 10:28:45 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:28:45 ---> c42fb3e1c446 10:28:45 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:28:45 ---> 89a45cbf82cb 10:28:45 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:28:45 ---> a64ec6adf0ad 10:28:45 Step 13/17 : WORKDIR /edgex-c-sdk 10:28:45 ---> Running in b64b323ee26b 10:28:45 Removing intermediate container b64b323ee26b 10:28:45 ---> 223dcb5797eb 10:28:45 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:28:45 ---> Running in be203b38cf4b 10:28:45 Removing intermediate container be203b38cf4b 10:28:45 ---> 47c8a281a0a2 10:28:45 Step 15/17 : LABEL arch=amd64 10:28:45 ---> Running in 095937977a29 10:28:45 Removing intermediate container 095937977a29 10:28:45 ---> 192b32d58772 10:28:45 Step 16/17 : LABEL git_sha=165bf1afc6928f684637a03d8c76ec8e2cf51e8a 10:28:45 ---> Running in 1548a57e904b 10:28:46 Removing intermediate container 1548a57e904b 10:28:46 ---> 5049ced97bb6 10:28:46 Step 17/17 : LABEL version=2.2.0-dev.10 10:28:46 ---> Running in 48811e22ecf5 10:28:46 Removing intermediate container 48811e22ecf5 10:28:46 ---> d37d6541f4d7 10:28:46 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:28:46 Successfully built d37d6541f4d7 10:28:46 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 10:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:46 10:28:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:46 latest: Pulling from edgex-lftools-log-publisher 10:28:46 5eb5b503b376: Pulling fs layer 10:28:46 5c69ac0246d0: Pulling fs layer 10:28:46 ec43610c2a17: Pulling fs layer 10:28:46 3a2ae6a8a46f: Pulling fs layer 10:28:46 33b1e0a273af: Pulling fs layer 10:28:46 5d3b04190fa2: Pulling fs layer 10:28:46 2f39f015ded8: Pulling fs layer 10:28:46 5d3b04190fa2: Waiting 10:28:46 3a2ae6a8a46f: Waiting 10:28:46 33b1e0a273af: Waiting 10:28:46 5c69ac0246d0: Verifying Checksum 10:28:46 5c69ac0246d0: Download complete 10:28:46 3a2ae6a8a46f: Download complete 10:28:46 33b1e0a273af: Verifying Checksum 10:28:46 33b1e0a273af: Download complete 10:28:46 5d3b04190fa2: Verifying Checksum 10:28:47 ec43610c2a17: Verifying Checksum 10:28:47 ec43610c2a17: Download complete 10:28:47 5eb5b503b376: Verifying Checksum 10:28:47 5eb5b503b376: Download complete 10:28:47 2f39f015ded8: Download complete 10:28:48 5eb5b503b376: Pull complete 10:28:48 5c69ac0246d0: Pull complete 10:28:49 ec43610c2a17: Pull complete 10:28:49 3a2ae6a8a46f: Pull complete 10:28:49 33b1e0a273af: Pull complete 10:28:49 5d3b04190fa2: Pull complete 10:28:55 2f39f015ded8: Pull complete 10:28:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:55 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:28:55 $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:28:57 $ docker top 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:57 ---> job-cost.sh 10:28:57 lf-activate-venv: SKIPPING 10:28:57 INFO: No Stack... 10:28:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:58 INFO: Archiving Costs [Pipeline] sh 10:28:58 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:28:58 + cut -d, -f6 [Pipeline] lock 10:28:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] 10:28:58 Resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] did not exist. Created. 10:28:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:58 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:58 Stashed 1 file(s) [Pipeline] } 10:28:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:58 $ docker stop --time=1 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 10:29:00 $ docker rm -f 289fe9f66011d872448ee1c62ab9039b126de2336a59de0a892fbd52ebcd6853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:29:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15222 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 10:29:41 Running in /w/workspace/device-sdk-c/26 [Pipeline] { [Pipeline] checkout 10:29:41 Selected Git installation does not exist. Using Default 10:29:41 The recommended git tool is: NONE 10:29:47 using credential edgex-jenkins-ssh 10:29:47 Cloning the remote Git repository 10:29:47 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:29:47 > git init /w/workspace/device-sdk-c/26 # timeout=10 10:29:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:29:47 > git --version # timeout=10 10:29:47 > git --version # 'git version 2.25.1' 10:29:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:29:48 Avoid second fetch 10:29:48 Checking out Revision 165bf1afc6928f684637a03d8c76ec8e2cf51e8a (main) 10:29:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:29:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:29:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:29:48 > git config core.sparsecheckout # timeout=10 10:29:48 > git checkout -f 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 10:29:52 Commit message: "fix: Update HTTP callback expectations and responses to v2 API. (#419) (#420) (#421)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:29:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:53 Dload Upload Total Spent Left Speed 10:29:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86900 0 --:--:-- --:--:-- --:--:-- 86900 [Pipeline] sh 10:29:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:29:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:29:54 + sudo tee /etc/docker/daemon.new 10:29:54 { 10:29:54 "registry-mirrors": [ 10:29:54 "https://nexus3.edgexfoundry.org:10001" 10:29:54 ], 10:29:54 "bip": "10.250.0.254/24", 10:29:54 "hosts": [ 10:29:54 "tcp://0.0.0.0:5555", 10:29:54 "unix:///var/run/docker.sock" 10:29:54 ], 10:29:54 "mtu": 1458, 10:29:54 "selinux-enabled": true, 10:29:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:29:54 } [Pipeline] sh 10:29:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:29:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:13 provisioning config files... 10:30:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/26@tmp/config3606543631704152512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:14 ---> docker-login.sh 10:30:14 nexus3.edgexfoundry.org:10001 10:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:15 Configure a credential helper to remove this warning. See 10:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:15 10:30:15 Login Succeeded 10:30:15 nexus3.edgexfoundry.org:10002 10:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:15 Configure a credential helper to remove this warning. See 10:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:15 10:30:15 Login Succeeded 10:30:15 nexus3.edgexfoundry.org:10003 10:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:15 Configure a credential helper to remove this warning. See 10:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:15 10:30:15 Login Succeeded 10:30:15 nexus3.edgexfoundry.org:10004 10:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:16 Configure a credential helper to remove this warning. See 10:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:16 10:30:16 Login Succeeded 10:30:16 docker.io 10:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:17 Configure a credential helper to remove this warning. See 10:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:17 10:30:17 Login Succeeded 10:30:17 ---> docker-login.sh ends [Pipeline] } 10:30:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:17 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:17 ========================================================= 10:30:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:30:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:18 + 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 . 10:30:18 Sending build context to Docker daemon 2.725MB 10:30:18 Step 1/22 : ARG BASE=alpine:3.15 10:30:18 Step 2/22 : FROM ${BASE} as builder 10:30:18 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:30:18 9981e73032c8: Pulling fs layer 10:30:18 2a34a092ebf8: Pulling fs layer 10:30:18 1928f2f5eed1: Pulling fs layer 10:30:18 2a34a092ebf8: Verifying Checksum 10:30:18 2a34a092ebf8: Download complete 10:30:18 9981e73032c8: Verifying Checksum 10:30:18 9981e73032c8: Download complete 10:30:19 9981e73032c8: Pull complete 10:30:19 2a34a092ebf8: Pull complete 10:30:20 1928f2f5eed1: Verifying Checksum 10:30:20 1928f2f5eed1: Download complete 10:30:29 1928f2f5eed1: Pull complete 10:30:29 Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 10:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:30:29 ---> cad489bbaf40 10:30:29 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 10:30:30 ---> Running in 8c79b3a5d1e4 10:30:31 Connecting to iotech.jfrog.io (52.18.78.255:443) 10:30:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:30:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:30:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:30:32 Removing intermediate container 8c79b3a5d1e4 10:30:32 ---> 413e8ba60de4 10:30:32 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:30:32 ---> Running in 43c1a72c6ec5 10:30:33 Removing intermediate container 43c1a72c6ec5 10:30:33 ---> 9766984c8ad4 10:30:33 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 10:30:34 ---> Running in 35f4ecf3b79d 10:30:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:30:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:30:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:30:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:30:37 (1/31) Installing hiredis (1.0.2-r0) 10:30:37 (2/31) Installing hiredis-dev (1.0.2-r0) 10:30:37 (3/31) Installing libcbor (0.8.0-r0) 10:30:37 (4/31) Installing libcbor-dev (0.8.0-r0) 10:30:37 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 10:30:37 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:30:38 (7/31) Installing util-linux (2.37.4-r0) 10:30:38 (8/31) Installing libblkid (2.37.4-r0) 10:30:38 (9/31) Installing libeconf (0.4.2-r0) 10:30:38 (10/31) Installing libuuid (2.37.4-r0) 10:30:38 (11/31) Installing libfdisk (2.37.4-r0) 10:30:38 (12/31) Installing libmount (2.37.4-r0) 10:30:39 (13/31) Installing libsmartcols (2.37.4-r0) 10:30:39 (14/31) Installing util-linux-misc (2.37.4-r0) 10:30:39 (15/31) Installing linux-pam (1.5.2-r0) 10:30:39 (16/31) Installing runuser (2.37.4-r0) 10:30:39 (17/31) Installing hexdump (2.37.4-r0) 10:30:39 (18/31) Installing uuidgen (2.37.4-r0) 10:30:39 (19/31) Installing blkid (2.37.4-r0) 10:30:39 (20/31) Installing sfdisk (2.37.4-r0) 10:30:39 (21/31) Installing mcookie (2.37.4-r0) 10:30:39 (22/31) Installing wipefs (2.37.4-r0) 10:30:40 (23/31) Installing cfdisk (2.37.4-r0) 10:30:40 (24/31) Installing flock (2.37.4-r0) 10:30:40 (25/31) Installing lsblk (2.37.4-r0) 10:30:40 (26/31) Installing libcap-ng (0.8.2-r1) 10:30:40 (27/31) Installing setpriv (2.37.4-r0) 10:30:40 (28/31) Installing logger (2.37.4-r0) 10:30:40 (29/31) Installing partx (2.37.4-r0) 10:30:40 (30/31) Installing findmnt (2.37.4-r0) 10:30:40 (31/31) Installing util-linux-dev (2.37.4-r0) 10:30:41 Executing busybox-1.34.1-r5.trigger 10:30:41 OK: 289 MiB in 108 packages 10:30:42 Removing intermediate container 35f4ecf3b79d 10:30:42 ---> bd0f68acc300 10:30:42 Step 6/22 : RUN mkdir /tmp/sdk 10:30:42 ---> Running in fd9ee3ce5be4 10:30:44 Removing intermediate container fd9ee3ce5be4 10:30:44 ---> 0b3a7c410a67 10:30:44 Step 7/22 : COPY VERSION /tmp/sdk 10:30:44 ---> 77168b939994 10:30:44 Step 8/22 : COPY src /tmp/sdk/src 10:30:45 ---> 0524c902640f 10:30:45 Step 9/22 : COPY include /tmp/sdk/include 10:30:47 ---> 198abcbe0d4c 10:30:47 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:30:47 ---> d9c650b75967 10:30:47 Step 11/22 : COPY LICENSE /tmp/sdk 10:30:48 ---> fa6401715b58 10:30:48 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:30:48 ---> 8bb94e0cabe8 10:30:48 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:30:48 ---> Running in 19a3bba0e80e 10:30:49 + CPPCHECK=false 10:30:49 + DOCGEN=false 10:30:49 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:30:49 + TOMLVER=SDK-0.2 10:30:49 + CUTILVER=1.2.2 10:30:49 + '[' 0 -gt 0 ] 10:30:49 + readlink -f ./scripts/build.sh 10:30:49 + dirname /tmp/sdk/scripts/build.sh 10:30:49 + dirname /tmp/sdk/scripts 10:30:49 + ROOT=/tmp/sdk 10:30:49 + cd /tmp/sdk 10:30:49 + '[' '!' -d deps ] 10:30:49 + mkdir deps 10:30:49 + tar -C deps -z -x -f - 10:30:49 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:30:49 Connecting to github.com (140.82.114.3:443) 10:30:49 Connecting to codeload.github.com (140.82.113.10:443) 10:30:50 writing to stdout 10:30:50 - 13036 --:--:-- ETA 10:30:50 - 100% |********************************| 16451 0:00:00 ETA 10:30:50 written to stdout 10:30:50 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:30:50 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:30:50 + tar -C deps -z -x -f - 10:30:50 Connecting to github.com (140.82.114.3:443) 10:30:50 Connecting to codeload.github.com (140.82.113.10:443) 10:30:50 writing to stdout 10:30:50 - 100% |********************************| 189k 0:00:00 ETA 10:30:50 written to stdout 10:30:50 + mkdir -p src/c/iot 10:30:50 + 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 10:30:50 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:30:50 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:30:50 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:30:50 + mkdir -p include/iot 10:30:50 + 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 10:30:50 + mkdir -p include/iot/os 10:30:50 + 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 10:30:50 + mkdir -p /tmp/sdk/build/release 10:30:50 + cd /tmp/sdk/build/release 10:30:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:30:51 -- The C compiler identification is GNU 10.3.1 10:30:51 -- Detecting C compiler ABI info 10:30:51 -- Detecting C compiler ABI info - done 10:30:51 -- Check for working C compiler: /usr/bin/cc - skipped 10:30:51 -- Detecting C compile features 10:30:51 -- Detecting C compile features - done 10:30:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:30:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:30:51 -- Found LIBYAML: /usr/lib/libyaml.so 10:30:51 -- Found LIBUUID: /usr/lib/libuuid.so 10:30:51 -- Found LIBCBOR: /usr/lib/libcbor.so 10:30:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:30:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:30:51 -- C SDK 2.2.0-dev.10 for Linux 10:30:51 -- Performing Test CSDK_HAVE_ATOMIC 10:30:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:30:52 -- Found Curses: /usr/lib/libcurses.so 10:30:52 -- Configuring done 10:30:52 -- Generating done 10:30:52 -- Build files have been written to: /tmp/sdk/build/release 10:30:52 + make all package 10:30:52 + tee release.log 10:30:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:30:53 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:30:54 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:30:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:30:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:30:57 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:30:58 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:30:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:30:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:31:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:31:03 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:31:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:31:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:31:05 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:31:06 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:31:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:31:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:31:09 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:31:09 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:31:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:31:10 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:31:11 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:31:11 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:31:11 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:31:11 275 | const iot_component_factory_t * factory; 10:31:11 | ^~~~~~~ 10:31:12 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:31:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:31:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:31:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:31:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:31:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:31:19 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:31:20 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:31:20 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:31:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:31:22 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:31:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:31:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:31:25 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:31:26 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:31:26 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:31:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:31:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:31:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:31:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:31:33 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:31:33 /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] 10:31:33 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:31:33 | ^~~~~~~~~~~~~ 10:31:33 | | 10:31:33 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:31:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:31:33 /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 *)' 10:31:33 2784 | MHD_KeyValueIterator iterator, 10:31:33 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:31:33 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:31:33 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:31:33 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:31:33 | ^~~~~~~~~~~~ 10:31:33 | | 10:31:33 | 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 **)} 10:31:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:31:33 /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 **)'} 10:31:33 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:31:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:31:33 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:31:33 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:31:33 | ^~~~~~~~~~~~ 10:31:33 | | 10:31:33 | 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 **)} 10:31:33 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:31:33 /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 **)'} 10:31:33 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:31:33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:31:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:31:37 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:31:37 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:31:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:31:38 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:31:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:31:45 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:31:46 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:31:46 [ 76%] Linking C shared library libcsdk.so 10:31:47 [ 76%] Built target csdk 10:31:47 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:31:47 [ 79%] Linking C executable template 10:31:47 [ 79%] Built target template 10:31:48 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:31:48 [ 82%] Linking C executable device-counter 10:31:48 [ 82%] Built target device-counter 10:31:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:31:49 [ 85%] Linking C executable device-random 10:31:49 [ 85%] Built target device-random 10:31:49 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:31:50 [ 88%] Linking C executable device-gyro 10:31:50 [ 88%] Built target device-gyro 10:31:50 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:31:51 [ 91%] Linking C executable device-bitfields 10:31:51 [ 91%] Built target device-bitfields 10:31:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:31:52 [ 94%] Linking C executable template-discovery 10:31:52 [ 94%] Built target template-discovery 10:31:52 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:31:53 [ 97%] Linking C executable device-file 10:31:53 [ 97%] Built target device-file 10:31:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:31:54 [100%] Linking C executable device-terminal 10:31:54 [100%] Built target device-terminal 10:31:54 Run CPack packaging tool... 10:31:54 CPack: Create package using TGZ 10:31:54 CPack: Install projects 10:31:54 CPack: - Run preinstall target for: Csdk 10:31:55 CPack: - Install project: Csdk [] 10:31:55 CPack: Create package 10:31:55 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.10.tar.gz generated. 10:31:55 + '[' false '=' true ] 10:31:55 + '[' false '=' true ] 10:31:55 + mkdir -p /tmp/sdk/build/debug 10:31:55 + cd /tmp/sdk/build/debug 10:31:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:31:55 -- The C compiler identification is GNU 10.3.1 10:31:55 -- Detecting C compiler ABI info 10:31:56 -- Detecting C compiler ABI info - done 10:31:56 -- Check for working C compiler: /usr/bin/cc - skipped 10:31:56 -- Detecting C compile features 10:31:56 -- Detecting C compile features - done 10:31:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:31:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:31:56 -- Found LIBYAML: /usr/lib/libyaml.so 10:31:56 -- Found LIBUUID: /usr/lib/libuuid.so 10:31:56 -- Found LIBCBOR: /usr/lib/libcbor.so 10:31:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:31:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:31:56 -- C SDK 2.2.0-dev.10 for Linux 10:31:56 -- Performing Test CSDK_HAVE_ATOMIC 10:31:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:31:56 -- Found Curses: /usr/lib/libcurses.so 10:31:57 -- Configuring done 10:31:57 -- Generating done 10:31:57 -- Build files have been written to: /tmp/sdk/build/debug 10:31:57 + make 10:31:57 + tee debug.log 10:31:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:31:57 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:31:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:31:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:31:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:31:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:32:00 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:32:00 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:32:00 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:32:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:32:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:32:01 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:32:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:32:02 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:32:02 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:32:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:32:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:32:04 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:32:04 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:32:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:32:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:32:05 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:32:05 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:32:05 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:32:05 275 | const iot_component_factory_t * factory; 10:32:05 | ^~~~~~~ 10:32:05 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:32:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:32:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:32:07 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:32:07 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:32:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:32:07 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:32:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:32:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:32:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:32:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:32:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:32:09 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:32:10 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:32:10 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:32:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:32:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:32:12 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:32:12 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:32:13 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:32:13 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 10:32:13 /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] 10:32:13 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 10:32:13 | ^~~~~~~~~~~~~ 10:32:13 | | 10:32:13 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 10:32:13 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:32:13 /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 *)' 10:32:13 2784 | MHD_KeyValueIterator iterator, 10:32:13 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 10:32:13 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 10:32:13 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:32:13 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 10:32:13 | ^~~~~~~~~~~~ 10:32:13 | | 10:32:13 | 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 **)} 10:32:13 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:32:13 /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 **)'} 10:32:13 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:32:13 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:32:13 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 10:32:13 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 10:32:13 | ^~~~~~~~~~~~ 10:32:13 | | 10:32:13 | 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 **)} 10:32:13 In file included from /tmp/sdk/src/c/rest-server.c:21: 10:32:13 /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 **)'} 10:32:13 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 10:32:13 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 10:32:13 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:32:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:32:15 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:32:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:32:15 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:32:16 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:32:17 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:32:17 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:32:18 [ 76%] Linking C shared library libcsdk.so 10:32:18 [ 76%] Built target csdk 10:32:18 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:32:18 [ 79%] Linking C executable template 10:32:19 [ 79%] Built target template 10:32:19 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:32:19 [ 82%] Linking C executable device-counter 10:32:19 [ 82%] Built target device-counter 10:32:19 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:32:20 [ 85%] Linking C executable device-random 10:32:20 [ 85%] Built target device-random 10:32:20 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:32:20 [ 88%] Linking C executable device-gyro 10:32:20 [ 88%] Built target device-gyro 10:32:21 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:32:21 [ 91%] Linking C executable device-bitfields 10:32:21 [ 91%] Built target device-bitfields 10:32:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:32:21 [ 94%] Linking C executable template-discovery 10:32:22 [ 94%] Built target template-discovery 10:32:22 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:32:22 [ 97%] Linking C executable device-file 10:32:22 [ 97%] Built target device-file 10:32:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:32:23 [100%] Linking C executable device-terminal 10:32:23 [100%] Built target device-terminal 10:32:23 make: Entering directory '/tmp/sdk/build/release' 10:32:23 make[1]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:23 [ 76%] Built target csdk 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:23 [ 79%] Built target template 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:23 [ 82%] Built target device-counter 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:23 [ 85%] Built target device-random 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:23 [ 88%] Built target device-gyro 10:32:23 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:23 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:24 [ 91%] Built target device-bitfields 10:32:24 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:24 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:24 [ 94%] Built target template-discovery 10:32:24 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:24 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:24 [ 97%] Built target device-file 10:32:24 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:24 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:24 [100%] Built target device-terminal 10:32:24 make[1]: Leaving directory '/tmp/sdk/build/release' 10:32:24 Install the project... 10:32:24 -- Install configuration: "Release" 10:32:24 -- Installing: /usr/local/lib/libcsdk.so 10:32:24 -- Installing: /usr/local/include 10:32:24 -- Installing: /usr/local/include/devsdk 10:32:24 -- Installing: /usr/local/include/devsdk/devsdk.h 10:32:24 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:32:24 -- Installing: /usr/local/include/edgex 10:32:24 -- Installing: /usr/local/include/edgex/rest-server.h 10:32:24 -- Installing: /usr/local/include/edgex/edgex.h 10:32:24 -- Installing: /usr/local/include/edgex/edgex-base.h 10:32:24 -- Installing: /usr/local/include/edgex/devices.h 10:32:24 -- Installing: /usr/local/include/edgex/profiles.h 10:32:24 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:32:24 -- Installing: /usr/local/include/iot 10:32:24 -- Installing: /usr/local/include/iot/threadpool.h 10:32:24 -- Installing: /usr/local/include/iot/defs.h 10:32:24 -- Installing: /usr/local/include/iot/time.h 10:32:24 -- Installing: /usr/local/include/iot/base64.h 10:32:24 -- Installing: /usr/local/include/iot/component.h 10:32:24 -- Installing: /usr/local/include/iot/scheduler.h 10:32:24 -- Installing: /usr/local/include/iot/config.h 10:32:24 -- Installing: /usr/local/include/iot/container.h 10:32:24 -- Installing: /usr/local/include/iot/uuid.h 10:32:24 -- Installing: /usr/local/include/iot/os.h 10:32:24 -- Installing: /usr/local/include/iot/thread.h 10:32:24 -- Installing: /usr/local/include/iot/data.h 10:32:24 -- Installing: /usr/local/include/iot/typecode.h 10:32:24 -- Installing: /usr/local/include/iot/hash.h 10:32:24 -- Installing: /usr/local/include/iot/logger.h 10:32:24 -- Installing: /usr/local/include/iot/os 10:32:24 -- Installing: /usr/local/include/iot/os/zephyr.h 10:32:24 -- Installing: /usr/local/include/iot/os/macos.h 10:32:24 -- Installing: /usr/local/include/iot/os/linux.h 10:32:24 -- Installing: /usr/local/include/iot/json.h 10:32:24 -- Installing: /usr/local/include/iot/iot.h 10:32:24 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:32:24 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:32:24 make: Leaving directory '/tmp/sdk/build/release' 10:32:26 Removing intermediate container 19a3bba0e80e 10:32:26 ---> ef363a67b4fb 10:32:26 Step 14/22 : FROM ${BASE} 10:32:26 ---> cad489bbaf40 10:32:26 Step 15/22 : LABEL maintainer="IOTech " 10:32:26 ---> Running in c73bc5340b71 10:32:26 Removing intermediate container c73bc5340b71 10:32:26 ---> b6c8ac0e1650 10:32:26 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 10:32:26 ---> Running in 3ec510928dc9 10:32:27 Connecting to iotech.jfrog.io (52.18.78.255:443) 10:32:28 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:32:28 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:32:28 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:32:28 Removing intermediate container 3ec510928dc9 10:32:28 ---> 0088eba78256 10:32:28 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:32:28 ---> Running in 4513de573785 10:32:30 Removing intermediate container 4513de573785 10:32:30 ---> b119819542eb 10:32:30 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 10:32:30 ---> Running in 9b24550fcedd 10:32:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:32:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:32:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:32:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:32:33 (1/6) Installing curl (7.80.0-r1) 10:32:33 (2/6) Installing hiredis (1.0.2-r0) 10:32:33 (3/6) Installing hiredis-dev (1.0.2-r0) 10:32:33 (4/6) Installing libcbor (0.8.0-r0) 10:32:33 (5/6) Installing libuuid (2.37.4-r0) 10:32:33 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:32:34 Executing busybox-1.34.1-r5.trigger 10:32:34 OK: 278 MiB in 83 packages 10:32:35 Removing intermediate container 9b24550fcedd 10:32:35 ---> 9567e1b9349a 10:32:35 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:32:36 ---> dfe388c98006 10:32:36 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:32:36 ---> 7386ce3e0cd2 10:32:36 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:32:37 ---> 63c9ff379dec 10:32:37 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:32:37 ---> 0025a2d341d4 10:32:37 Successfully built 0025a2d341d4 10:32:38 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 10:32:38 + docker inspect -f . ci-base-image-arm64 10:32:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:38 prd-ubuntu20.04-docker-arm64-4c-16g-15222 does not seem to be running inside a container 10:32:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/26 -v /w/workspace/device-sdk-c/26:/w/workspace/device-sdk-c/26:rw,z -v /w/workspace/device-sdk-c/26@tmp:/w/workspace/device-sdk-c/26@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 ******** ci-base-image-arm64 cat 10:32:40 $ docker top b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 -eo pid,comm [Pipeline] { [Pipeline] sh 10:32:41 + make test 10:32:41 echo "make test" 10:32:41 make test [Pipeline] } 10:32:41 $ docker stop --time=1 b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 10:32:42 $ docker rm -f b15e57df5b031be0c875716bf690f7530fdb4fe3c6316a77592fd6fefba73715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:32:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:32:43 + ls -al . 10:32:43 total 204 10:32:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:29 . 10:32:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 .. 10:32:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 10:29 .git 10:32:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 .github 10:32:43 -rw-rw-r-- 1 jenkins jenkins 176 Jun 21 10:29 .gitignore 10:32:43 -rw-rw-r-- 1 jenkins jenkins 3104 Jun 21 10:29 Attribution.txt 10:32:43 -rw-rw-r-- 1 jenkins jenkins 8321 Jun 21 10:29 CHANGES 10:32:43 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 21 10:29 Doxyfile 10:32:43 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 10:29 GOVERNANCE.md 10:32:43 -rw-rw-r-- 1 jenkins jenkins 784 Jun 21 10:29 Jenkinsfile 10:32:43 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 10:29 LICENSE 10:32:43 -rw-rw-r-- 1 jenkins jenkins 444 Jun 21 10:29 Makefile 10:32:43 -rw-rw-r-- 1 jenkins jenkins 618 Jun 21 10:29 OWNERS.md 10:32:43 -rw-rw-r-- 1 jenkins jenkins 4086 Jun 21 10:29 README.md 10:32:43 -rw-rw-r-- 1 jenkins jenkins 7422 Jun 21 10:29 README.v2.md 10:32:43 -rw-rw-r-- 1 jenkins jenkins 12 Jun 21 10:27 VERSION 10:32:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 docs 10:32:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 include 10:32:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 10:29 scripts 10:32:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 10:29 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:44 + 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=165bf1afc6928f684637a03d8c76ec8e2cf51e8a --label arch=arm64 --label version=2.2.0-dev.10 . 10:32:44 Sending build context to Docker daemon 2.725MB 10:32:44 Step 1/17 : ARG BASE=alpine:3.15 10:32:44 Step 2/17 : FROM ${BASE} 10:32:44 ---> 0025a2d341d4 10:32:44 Step 3/17 : LABEL maintainer="IOTech " 10:32:44 ---> Running in efe41959d8c3 10:32:44 Removing intermediate container efe41959d8c3 10:32:44 ---> 93a70125afad 10:32:44 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 10:32:44 ---> Running in eec1ef7ae583 10:32:45 Connecting to iotech.jfrog.io (52.209.90.94:443) 10:32:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:32:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:32:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:32:46 Removing intermediate container eec1ef7ae583 10:32:46 ---> 5fdb10829a9c 10:32:46 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:32:47 ---> Running in bb41b0b3df73 10:32:48 Removing intermediate container bb41b0b3df73 10:32:48 ---> 2063a5a5f865 10:32:48 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 10:32:48 ---> Running in 03afb98c4877 10:32:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:32:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:32:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:32:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:32:51 (1/26) Installing libcbor-dev (0.8.0-r0) 10:32:51 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 10:32:51 (3/26) Installing util-linux (2.37.4-r0) 10:32:51 (4/26) Installing libblkid (2.37.4-r0) 10:32:51 (5/26) Installing libeconf (0.4.2-r0) 10:32:52 (6/26) Installing libfdisk (2.37.4-r0) 10:32:52 (7/26) Installing libmount (2.37.4-r0) 10:32:52 (8/26) Installing libsmartcols (2.37.4-r0) 10:32:52 (9/26) Installing util-linux-misc (2.37.4-r0) 10:32:52 (10/26) Installing linux-pam (1.5.2-r0) 10:32:53 (11/26) Installing runuser (2.37.4-r0) 10:32:53 (12/26) Installing hexdump (2.37.4-r0) 10:32:53 (13/26) Installing uuidgen (2.37.4-r0) 10:32:53 (14/26) Installing blkid (2.37.4-r0) 10:32:53 (15/26) Installing sfdisk (2.37.4-r0) 10:32:53 (16/26) Installing mcookie (2.37.4-r0) 10:32:53 (17/26) Installing wipefs (2.37.4-r0) 10:32:53 (18/26) Installing cfdisk (2.37.4-r0) 10:32:53 (19/26) Installing flock (2.37.4-r0) 10:32:53 (20/26) Installing lsblk (2.37.4-r0) 10:32:53 (21/26) Installing libcap-ng (0.8.2-r1) 10:32:54 (22/26) Installing setpriv (2.37.4-r0) 10:32:54 (23/26) Installing logger (2.37.4-r0) 10:32:54 (24/26) Installing partx (2.37.4-r0) 10:32:54 (25/26) Installing findmnt (2.37.4-r0) 10:32:54 (26/26) Installing util-linux-dev (2.37.4-r0) 10:32:54 Executing busybox-1.34.1-r5.trigger 10:32:54 OK: 290 MiB in 109 packages 10:32:56 Removing intermediate container 03afb98c4877 10:32:56 ---> e2f2e148a817 10:32:56 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:32:56 ---> 289b3034a6eb 10:32:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:32:57 ---> 26fc1825d814 10:32:57 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:32:57 ---> 3266f2938878 10:32:57 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:32:58 ---> d8b50b65fe3f 10:32:58 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:32:58 ---> da6cacac64c8 10:32:58 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:32:59 ---> 8dee19d16593 10:32:59 Step 13/17 : WORKDIR /edgex-c-sdk 10:32:59 ---> Running in 4aca6e57cc2c 10:32:59 Removing intermediate container 4aca6e57cc2c 10:32:59 ---> b4d42063d26c 10:32:59 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:32:59 ---> Running in de5e4b073f6a 10:32:59 Removing intermediate container de5e4b073f6a 10:32:59 ---> 55f9a0c69dd4 10:32:59 Step 15/17 : LABEL arch=arm64 10:33:00 ---> Running in d7e085001ce5 10:33:00 Removing intermediate container d7e085001ce5 10:33:00 ---> b2b9e29f466c 10:33:00 Step 16/17 : LABEL git_sha=165bf1afc6928f684637a03d8c76ec8e2cf51e8a 10:33:00 ---> Running in bfefb49f24e8 10:33:00 Removing intermediate container bfefb49f24e8 10:33:00 ---> a56b39b4f062 10:33:00 Step 17/17 : LABEL version=2.2.0-dev.10 10:33:00 ---> Running in 50957474b638 10:33:01 Removing intermediate container 50957474b638 10:33:01 ---> 9ad73a90d061 10:33:01 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:33:01 Successfully built 9ad73a90d061 10:33:01 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 10:33:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:01 10:33:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:02 arm64: Pulling from edgex-lftools-log-publisher 10:33:02 8998bd30e6a1: Pulling fs layer 10:33:02 04944245beec: Pulling fs layer 10:33:02 699f458cf7ca: Pulling fs layer 10:33:02 765212b225bb: Pulling fs layer 10:33:02 f23df028b6ca: Pulling fs layer 10:33:02 d65c8cfc05b1: Pulling fs layer 10:33:02 2437ff75d9bd: Pulling fs layer 10:33:02 f23df028b6ca: Waiting 10:33:02 d65c8cfc05b1: Waiting 10:33:02 2437ff75d9bd: Waiting 10:33:02 765212b225bb: Waiting 10:33:02 04944245beec: Verifying Checksum 10:33:02 04944245beec: Download complete 10:33:02 765212b225bb: Verifying Checksum 10:33:02 765212b225bb: Download complete 10:33:02 f23df028b6ca: Verifying Checksum 10:33:02 f23df028b6ca: Download complete 10:33:02 d65c8cfc05b1: Verifying Checksum 10:33:02 d65c8cfc05b1: Download complete 10:33:02 699f458cf7ca: Verifying Checksum 10:33:02 699f458cf7ca: Download complete 10:33:03 8998bd30e6a1: Verifying Checksum 10:33:03 8998bd30e6a1: Download complete 10:33:05 2437ff75d9bd: Verifying Checksum 10:33:05 2437ff75d9bd: Download complete 10:33:07 8998bd30e6a1: Pull complete 10:33:07 04944245beec: Pull complete 10:33:09 699f458cf7ca: Pull complete 10:33:09 765212b225bb: Pull complete 10:33:10 f23df028b6ca: Pull complete 10:33:10 d65c8cfc05b1: Pull complete 10:33:25 2437ff75d9bd: Pull complete 10:33:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:25 prd-ubuntu20.04-docker-arm64-4c-16g-15222 does not seem to be running inside a container 10:33:25 $ 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/26 -v /w/workspace/device-sdk-c/26:/w/workspace/device-sdk-c/26:rw,z -v /w/workspace/device-sdk-c/26@tmp:/w/workspace/device-sdk-c/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:33:28 $ docker top 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:33:29 ---> job-cost.sh 10:33:29 lf-activate-venv: SKIPPING 10:33:29 INFO: No Stack... 10:33:29 INFO: Retrieving Pricing Info for: v3-standard-4 10:33:30 INFO: Archiving Costs [Pipeline] sh 10:33:31 + cat /w/workspace/device-sdk-c/26/archives/cost.csv 10:33:31 + cut -d, -f6 [Pipeline] lock 10:33:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] 10:33:31 Resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] did not exist. Created. 10:33:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:33:31 /w/workspace/device-sdk-c/26@tmp/durable-528cb0c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:33:32 + echo total: 0.10999999940395355 [Pipeline] stash 10:33:32 Warning: overwriting stash ‘stack-cost’ 10:33:33 Stashed 1 file(s) [Pipeline] } 10:33:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 10:33:33 $ docker stop --time=1 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 10:33:34 $ docker rm -f 7bfaf97485d72086d4e3c0a62cff692d7a674b35d0a5fb653a3fede6ae0de210 [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 10:33:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:33:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:33:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:35 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:33:36 $ docker top c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:33:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:33:36 [ssh-agent] Looking for ssh-agent implementation... 10:33:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:33:36 $ docker exec c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 ssh-agent 10:33:36 SSH_AUTH_SOCK=/tmp/ssh-IBNov66tJnhC/agent.33 10:33:36 SSH_AGENT_PID=39 10:33:36 Running ssh-add (command line suppressed) 10:33:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4953034246970170597.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4953034246970170597.key) 10:33:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:33:37 + git semver tag 10:33:37 2022-06-21 10:33:37,322 [run_tag] DEBUG tag force:False 10:33:37 2022-06-21 10:33:37,322 [check_head_tag] DEBUG check head tag 10:33:37 2022-06-21 10:33:37,322 [execute] INFO git cat-file --batch-check 10:33:37 2022-06-21 10:33:37,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:33:37 2022-06-21 10:33:37,326 [execute] INFO git cat-file --batch 10:33:37 2022-06-21 10:33:37,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:33:37 2022-06-21 10:33:37,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:37 2022-06-21 10:33:37,336 [execute] INFO git tag -a v2.2.0-dev.10 -m v2.2.0-dev.10 10:33:37 2022-06-21 10:33:37,337 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.10', '-m', 'v2.2.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:33:37 2022-06-21 10:33:37,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:37 2.2.0-dev.10 [Pipeline] } 10:33:37 $ docker exec --env ******** --env ******** c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 ssh-agent -k 10:33:37 unset SSH_AUTH_SOCK; 10:33:37 unset SSH_AGENT_PID; 10:33:37 echo Agent pid 39 killed; 10:33:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:33:37 + git semver [Pipeline] } 10:33:38 $ docker stop --time=1 c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 10:33:39 $ docker rm -f c7a6cfe9e6413de4f4330fc89025465e1a10e0d46901d51890f10f6a8cf6c2c7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:33:39 10:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:33:40 0.23.1-centos7: Pulling from edgex-lftools 10:33:40 ab5ef0e58194: Pulling fs layer 10:33:40 9712f1f96733: Pulling fs layer 10:33:40 63f879dbbcfc: Pulling fs layer 10:33:40 0d9ebad4ef96: Pulling fs layer 10:33:40 e9a5061849ea: Pulling fs layer 10:33:40 d747dcd14b5f: Pulling fs layer 10:33:40 2de7ff778b66: Pulling fs layer 10:33:40 0d9ebad4ef96: Waiting 10:33:40 e9a5061849ea: Waiting 10:33:40 d747dcd14b5f: Waiting 10:33:40 2de7ff778b66: Waiting 10:33:40 9712f1f96733: Verifying Checksum 10:33:40 9712f1f96733: Download complete 10:33:40 63f879dbbcfc: Verifying Checksum 10:33:40 63f879dbbcfc: Download complete 10:33:40 ab5ef0e58194: Verifying Checksum 10:33:40 ab5ef0e58194: Download complete 10:33:40 d747dcd14b5f: Download complete 10:33:40 e9a5061849ea: Verifying Checksum 10:33:40 e9a5061849ea: Download complete 10:33:40 0d9ebad4ef96: Verifying Checksum 10:33:40 0d9ebad4ef96: Download complete 10:33:40 2de7ff778b66: Verifying Checksum 10:33:40 2de7ff778b66: Download complete 10:33:43 ab5ef0e58194: Pull complete 10:33:43 9712f1f96733: Pull complete 10:33:43 63f879dbbcfc: Pull complete 10:33:48 0d9ebad4ef96: Pull complete 10:33:48 e9a5061849ea: Pull complete 10:33:48 d747dcd14b5f: Pull complete 10:33:49 2de7ff778b66: Pull complete 10:33:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:33:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:33:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:49 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:33:52 $ docker top 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:33:52 provisioning config files... 10:33:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4064711269032762278tmp 10:33:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config101378972544427342tmp 10:33:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config382298305420957695tmp [Pipeline] { [Pipeline] echo 10:33:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:33:52 ---> sigul-configuration.sh 10:33:52 gpg: directory `/root/.gnupg' created 10:33:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:33:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:33:52 gpg: keyring `/root/.gnupg/secring.gpg' created 10:33:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:33:52 gpg: CAST5 encrypted data 10:33:52 gpg: encrypted with 1 passphrase 10:33:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:33:52 + mkdir /home/jenkins 10:33:52 + mkdir /home/jenkins/sigul [Pipeline] sh 10:33:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:33:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:33:53 ---> sigul-install.sh 10:33:53 Sigul already installed; skipping installation. [Pipeline] sh 10:33:53 + git tag --list 10:33:53 0.7.0 10:33:53 0.7.1 10:33:53 1.0.0 10:33:53 v1.0.1 10:33:53 v1.0.2 10:33:53 v1.0.3 10:33:53 v1.1.0 10:33:53 v1.1.1 10:33:53 v1.2.0 10:33:53 v1.2.1 10:33:53 v1.2.2 10:33:53 v1.3.0 10:33:53 v1.3.1 10:33:53 v2.0.0 10:33:53 v2.1.0 10:33:53 v2.2.0-dev.1 10:33:53 v2.2.0-dev.10 10:33:53 v2.2.0-dev.2 10:33:53 v2.2.0-dev.3 10:33:53 v2.2.0-dev.4 10:33:53 v2.2.0-dev.5 10:33:53 v2.2.0-dev.6 10:33:53 v2.2.0-dev.7 10:33:53 v2.2.0-dev.8 10:33:53 v2.2.0-dev.9 [Pipeline] sh 10:33:54 + lftools sign git-tag v2.2.0-dev.10 10:33:54 Signing Git tag with Sigul... 10:33:54 Signing v2.2.0-dev.10 [Pipeline] echo 10:33:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:33:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:33:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:33:55 $ docker stop --time=1 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d 10:33:56 $ docker rm -f 28ccc60796bafd4aace6baa278147b1e31e279980944c8510b3b32e49574d03d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:33:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:33:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:33:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:57 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:33:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:33:57 $ docker top 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:33:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:33:57 [ssh-agent] Looking for ssh-agent implementation... 10:33:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:33:58 $ docker exec 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 ssh-agent 10:33:58 SSH_AUTH_SOCK=/tmp/ssh-jENXyUSO58gm/agent.34 10:33:58 SSH_AGENT_PID=40 10:33:58 Running ssh-add (command line suppressed) 10:33:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5615590332313534515.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5615590332313534515.key) 10:33:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:33:58 + git semver bump pre 10:33:58 2022-06-21 10:33:58,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:58 2022-06-21 10:33:58,762 [bump_version] DEBUG bumping version:2.2.0-dev.10 on axis:pre with prefix:dev 10:33:58 2022-06-21 10:33:58,762 [bump_version] DEBUG bumped version:2.2.0-dev.11 10:33:58 2022-06-21 10:33:58,762 [write_version] DEBUG write version:2.2.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 10:33:58 2022-06-21 10:33:58,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:58 2022-06-21 10:33:58,762 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:58 2022-06-21 10:33:58,764 [execute] INFO git cat-file --batch-check 10:33:58 2022-06-21 10:33:58,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:33:58 2022-06-21 10:33:58,769 [execute] INFO git cat-file --batch 10:33:58 2022-06-21 10:33:58,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:33:58 2022-06-21 10:33:58,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:33:58 2.2.0-dev.11 [Pipeline] } 10:33:58 $ docker exec --env ******** --env ******** 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 ssh-agent -k 10:33:58 unset SSH_AUTH_SOCK; 10:33:58 unset SSH_AGENT_PID; 10:33:58 echo Agent pid 40 killed; 10:33:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:33:59 + git semver [Pipeline] } 10:33:59 $ docker stop --time=1 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 10:34:00 $ docker rm -f 2a38aa4e0380b774718e9c0942dd510ceca7abb21ef98c7db00820eb39dc8624 [Pipeline] // withDockerContainer [Pipeline] sh 10:34:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:34:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:01 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:34:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:34:01 $ docker top 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:34:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:02 [ssh-agent] Looking for ssh-agent implementation... 10:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:02 $ docker exec 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a ssh-agent 10:34:02 SSH_AUTH_SOCK=/tmp/ssh-ErjuPRjEy0DR/agent.31 10:34:02 SSH_AGENT_PID=37 10:34:02 Running ssh-add (command line suppressed) 10:34:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1148699998852390371.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1148699998852390371.key) 10:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:02 + git semver push 10:34:03 2022-06-21 10:34:02,997 [run_push] DEBUG push 10:34:03 2022-06-21 10:34:02,997 [execute] INFO git cat-file --batch-check 10:34:03 2022-06-21 10:34:02,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:34:03 2022-06-21 10:34:03,002 [execute] INFO git rev-list d63f911e0f3a8138a4ef678ebf19260c5033cf28 -- 10:34:03 2022-06-21 10:34:03,002 [execute] DEBUG Popen(['git', 'rev-list', 'd63f911e0f3a8138a4ef678ebf19260c5033cf28', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:34:03 2022-06-21 10:34:03,010 [execute] INFO git fetch -v origin 10:34:03 2022-06-21 10:34:03,010 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 10:34:03 2022-06-21 10:34:03,498 [run_push] DEBUG no remote changes detected 10:34:03 2022-06-21 10:34:03,499 [execute] INFO git push origin semver 10:34:03 2022-06-21 10:34:03,499 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:34:04 2022-06-21 10:34:04,324 [run_push] DEBUG push all version tags 10:34:04 2022-06-21 10:34:04,325 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:34:04 2022-06-21 10:34:04,325 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:34:05 2022-06-21 10:34:05,018 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:05 2.2.0-dev.11 [Pipeline] } 10:34:05 $ docker exec --env ******** --env ******** 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a ssh-agent -k 10:34:05 unset SSH_AUTH_SOCK; 10:34:05 unset SSH_AGENT_PID; 10:34:05 echo Agent pid 37 killed; 10:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:34:05 + git semver [Pipeline] } 10:34:05 $ docker stop --time=1 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a 10:34:07 $ docker rm -f 205aecfd6790167332088880dfadf66e42a8e43dbe6fdcbfdd207f571435a44a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:34:07 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 10:34:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:07 total 16 10:34:07 drwxr-xr-x 3 root root 4096 Jun 21 10:28 . 10:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 10:33 .. 10:34:07 drwxr-xr-x 2 root root 4096 Jun 21 10:28 cost 10:34:07 -rw-r--r-- 1 root root 82 Jun 21 10:28 cost.csv 10:34:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:07 total 16 10:34:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 10:28 . 10:34:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 10:33 .. 10:34:07 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 10:28 cost 10:34:07 -rw-r--r-- 1 jenkins jenkins 82 Jun 21 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:34:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:34:08 ---> package-listing.sh 10:34:08 ++ facter osfamily 10:34:08 ++ tr '[:upper:]' '[:lower:]' 10:34:09 + OS_FAMILY=debian 10:34:09 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 10:34:09 + START_PACKAGES=/tmp/packages_start.txt 10:34:09 + END_PACKAGES=/tmp/packages_end.txt 10:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:34:09 + PACKAGES=/tmp/packages_start.txt 10:34:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:34:09 + PACKAGES=/tmp/packages_end.txt 10:34:09 + case "${OS_FAMILY}" in 10:34:09 + dpkg -l 10:34:09 + grep '^ii' 10:34:09 + '[' -f /tmp/packages_start.txt ']' 10:34:09 + '[' -f /tmp/packages_end.txt ']' 10:34:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:34:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:34:09 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 10:34:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 10:34:09 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:34:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:10 prd-ubuntu20.04-docker-8c-8g-15221 does not seem to be running inside a container 10:34:10 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:34:10 $ docker top 47d303046fa9dcc73e90aecb4b312ab020c25a31c549ba93029d90bf665fe461 -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:10 + touch /tmp/pre-build-complete [Pipeline] sh 10:34:10 + mkdir -p /var/log/sysstat [Pipeline] sh 10:34:11 + ls /var/log/sa-host 10:34:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:34:11 provisioning config files... 10:34:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6488011895295891234tmp [Pipeline] { [Pipeline] echo 10:34:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:34:11 ---> create-netrc.sh [Pipeline] } 10:34:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> python-tools-install.sh [Pipeline] echo 10:34:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> sudo-logs.sh 10:34:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:34:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> job-cost.sh 10:34:12 lf-activate-venv: SKIPPING 10:34:12 DEBUG: total: 0.2199999988079071 10:34:12 INFO: Retrieving Stack Cost... 10:34:12 INFO: Retrieving Pricing Info for: v3-standard-8 10:34:13 INFO: Archiving Costs [Pipeline] echo 10:34:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:34:13 ---> logs-deploy.sh 10:34:13 lf-activate-venv: SKIPPING 10:34:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/26 10:34:13 INFO: archiving workspace using pattern(s): 10:34:14 Archives upload complete. 10:34:14 INFO: archiving logs to Nexus