Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14bdc31d8719d1e6f8ec06114e1723900e8aedcd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11787700905292966872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh10943571523461188274.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9728553345782102137.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4486012829931208105.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/lf-pipelines@tmp/jenkins-gitclient-ssh4313189798790332051.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47803 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 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (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 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" > git rev-list --no-walk 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:31 ========================================================= 17:29:31 EdgeX Global Pipelines Version Info 17:29:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:32 ------------------- 17:29:32 stable info: 17:29:32 ------------------- 17:29:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:32 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:29:32 Message: update stable to v1.0.227 17:29:33 ------------------- 17:29:33 experimental info: 17:29:33 ------------------- 17:29:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:33 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:29:33 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14bdc31 [Pipeline] echo 17:29:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:33 provisioning config files... 17:29:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7310287999561513350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:33 ---> docker-login.sh 17:29:33 nexus3.edgexfoundry.org:10001 17:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:34 Configure a credential helper to remove this warning. See 17:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:34 17:29:34 Login Succeeded 17:29:34 nexus3.edgexfoundry.org:10002 17:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:34 Configure a credential helper to remove this warning. See 17:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:34 17:29:34 Login Succeeded 17:29:34 nexus3.edgexfoundry.org:10003 17:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:34 Configure a credential helper to remove this warning. See 17:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:34 17:29:34 Login Succeeded 17:29:34 nexus3.edgexfoundry.org:10004 17:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:34 Configure a credential helper to remove this warning. See 17:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:34 17:29:34 Login Succeeded 17:29:34 docker.io 17:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:35 Configure a credential helper to remove this warning. See 17:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:35 17:29:35 Login Succeeded 17:29:35 ---> docker-login.sh ends [Pipeline] } 17:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:29:35 + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo 17:29:35 -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh 17:29:35 + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo 17:29:35 ========================================================= 17:29:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:35 ========================================================= 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 17:29:36 + git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo 17:29:36 -----------> git rev-list -1 --merges 14bdc31d8719d1e6f8ec06114e1723900e8aedcd~1..14bdc31d8719d1e6f8ec06114e1723900e8aedcd 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [false] [Pipeline] sh 17:29:36 + git log --format=format:%s -1 14bdc31d8719d1e6f8ec06114e1723900e8aedcd [Pipeline] echo 17:29:36 ========================================================= 17:29:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:29:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:37 + grep -v github /etc/ssh/ssh_known_hosts 17:29:37 + [ -e /tmp/ssh_known_hosts ] 17:29:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:37 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:37 17:29:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:29:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:38 latest: Pulling from edgex-devops/py-git-semver 17:29:38 1fe172e4850f: Pulling fs layer 17:29:38 caf521ccaac6: Pulling fs layer 17:29:38 3ead6fa29328: Pulling fs layer 17:29:38 5c2a1cbceb83: Pulling fs layer 17:29:38 a8d5f1318db7: Pulling fs layer 17:29:38 c427282e49a2: Pulling fs layer 17:29:38 1827001aaf11: Pulling fs layer 17:29:38 0714d37db230: Pulling fs layer 17:29:38 ac28cf19c067: Pulling fs layer 17:29:38 ca983d60f3e2: Pulling fs layer 17:29:38 9f894cec8388: Pulling fs layer 17:29:38 5c2a1cbceb83: Waiting 17:29:38 ac28cf19c067: Waiting 17:29:38 ca983d60f3e2: Waiting 17:29:38 a8d5f1318db7: Waiting 17:29:38 c427282e49a2: Waiting 17:29:38 1827001aaf11: Waiting 17:29:38 0714d37db230: Waiting 17:29:38 9f894cec8388: Waiting 17:29:38 caf521ccaac6: Verifying Checksum 17:29:38 caf521ccaac6: Download complete 17:29:38 5c2a1cbceb83: Verifying Checksum 17:29:38 5c2a1cbceb83: Download complete 17:29:38 a8d5f1318db7: Verifying Checksum 17:29:38 a8d5f1318db7: Download complete 17:29:38 3ead6fa29328: Verifying Checksum 17:29:38 3ead6fa29328: Download complete 17:29:38 c427282e49a2: Verifying Checksum 17:29:38 c427282e49a2: Download complete 17:29:38 0714d37db230: Download complete 17:29:38 ac28cf19c067: Verifying Checksum 17:29:38 ac28cf19c067: Download complete 17:29:38 ca983d60f3e2: Verifying Checksum 17:29:38 ca983d60f3e2: Download complete 17:29:38 9f894cec8388: Download complete 17:29:38 1fe172e4850f: Verifying Checksum 17:29:38 1fe172e4850f: Download complete 17:29:38 1827001aaf11: Verifying Checksum 17:29:38 1827001aaf11: Download complete 17:29:39 1fe172e4850f: Pull complete 17:29:39 caf521ccaac6: Pull complete 17:29:40 3ead6fa29328: Pull complete 17:29:40 5c2a1cbceb83: Pull complete 17:29:40 a8d5f1318db7: Pull complete 17:29:41 c427282e49a2: Pull complete 17:29:42 1827001aaf11: Pull complete 17:29:42 0714d37db230: Pull complete 17:29:43 ac28cf19c067: Pull complete 17:29:43 ca983d60f3e2: Pull complete 17:29:43 9f894cec8388: Pull complete 17:29:43 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:29:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:29:43 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:29:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:29:45 $ docker top 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 -eo pid,comm 17:29:45 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). 17:29:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:45 [ssh-agent] Looking for ssh-agent implementation... 17:29:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:45 $ docker exec 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent 17:29:45 SSH_AUTH_SOCK=/tmp/ssh-9LOk5SQO6rEM/agent.32 17:29:45 SSH_AGENT_PID=38 17:29:45 Running ssh-add (command line suppressed) 17:29:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1427211916406049761.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1427211916406049761.key) 17:29:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:46 + git tag --points-at HEAD [Pipeline] } 17:29:46 $ docker exec --env ******** --env ******** 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent -k 17:29:46 unset SSH_AUTH_SOCK; 17:29:46 unset SSH_AGENT_PID; 17:29:46 echo Agent pid 38 killed; 17:29:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:46 [ssh-agent] Looking for ssh-agent implementation... 17:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:46 $ docker exec 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent 17:29:46 SSH_AUTH_SOCK=/tmp/ssh-onlpk8vU7SHR/agent.72 17:29:46 SSH_AGENT_PID=78 17:29:46 Running ssh-add (command line suppressed) 17:29:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8256733756609659010.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8256733756609659010.key) 17:29:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:47 + git semver init 17:29:47 2022-05-10 17:29:47,438 [run_init] DEBUG init version:0.0.0 force:False 17:29:47 2022-05-10 17:29:47,439 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 17:29:47 2022-05-10 17:29:47,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 17:29:47 2022-05-10 17:29:47,439 [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) 17:29:48 2022-05-10 17:29:48,248 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 17:29:48 2022-05-10 17:29:48,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 17:29:48 2022-05-10 17:29:48,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:29:48 2022-05-10 17:29:48,249 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:29:48 2.2.0-dev.9 [Pipeline] } 17:29:48 $ docker exec --env ******** --env ******** 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 ssh-agent -k 17:29:48 unset SSH_AUTH_SOCK; 17:29:48 unset SSH_AGENT_PID; 17:29:48 echo Agent pid 78 killed; 17:29:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:48 + git semver [Pipeline] } 17:29:49 $ docker stop --time=1 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 17:29:50 $ docker rm -f 43d463eab402e3ec7642fd2994f89fe98199276a3c6fa882ba472c0ec85ebb72 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:51 Stashed 1 file(s) [Pipeline] echo 17:29:51 [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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 17:29:51 provisioning config files... 17:29:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6247068617082982505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:51 ---> docker-login.sh 17:29:51 nexus3.edgexfoundry.org:10001 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10002 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10003 17:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:51 Configure a credential helper to remove this warning. See 17:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:51 17:29:51 Login Succeeded 17:29:51 nexus3.edgexfoundry.org:10004 17:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:52 Configure a credential helper to remove this warning. See 17:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:52 17:29:52 Login Succeeded 17:29:52 docker.io 17:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:52 Configure a credential helper to remove this warning. See 17:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:52 17:29:52 Login Succeeded 17:29:52 ---> docker-login.sh ends [Pipeline] } 17:29:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:52 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:52 ========================================================= 17:29:52 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:29:52 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:29:52 + 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 . 17:29:52 Sending build context to Docker daemon 4.543MB 17:29:52 Step 1/22 : ARG BASE=alpine:3.15 17:29:52 Step 2/22 : FROM ${BASE} as builder 17:29:52 latest: Pulling from edgex-devops/edgex-gcc-base 17:29:52 df9b9388f04a: Pulling fs layer 17:29:52 37ea90d01205: Pulling fs layer 17:29:52 c88372d24652: Pulling fs layer 17:29:53 37ea90d01205: Download complete 17:29:53 df9b9388f04a: Verifying Checksum 17:29:53 df9b9388f04a: Download complete 17:29:53 df9b9388f04a: Pull complete 17:29:53 37ea90d01205: Pull complete 17:29:53 c88372d24652: Verifying Checksum 17:29:53 c88372d24652: Download complete 17:29:56 c88372d24652: Pull complete 17:29:56 Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e 17:29:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:29:56 ---> 95f6e8fcc511 17:29:56 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 17:29:57 ---> Running in 61d6ad5c367b 17:29:58 Connecting to iotech.jfrog.io (52.50.143.190:443) 17:29:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:29:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:29:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:29:58 Removing intermediate container 61d6ad5c367b 17:29:58 ---> 49b4ba57059f 17:29:58 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:29:58 ---> Running in a007dea6a718 17:29:59 Removing intermediate container a007dea6a718 17:29:59 ---> 796ae0df9aa6 17:29:59 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 17:29:59 ---> Running in 9402e7b75f4c 17:29:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:30:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:30:01 (1/31) Installing hiredis (1.0.2-r0) 17:30:01 (2/31) Installing hiredis-dev (1.0.2-r0) 17:30:01 (3/31) Installing libcbor (0.8.0-r0) 17:30:01 (4/31) Installing libcbor-dev (0.8.0-r0) 17:30:01 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 17:30:01 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:30:02 (7/31) Installing util-linux (2.37.4-r0) 17:30:03 (8/31) Installing libblkid (2.37.4-r0) 17:30:03 (9/31) Installing libeconf (0.4.2-r0) 17:30:03 (10/31) Installing libuuid (2.37.4-r0) 17:30:03 (11/31) Installing libfdisk (2.37.4-r0) 17:30:03 (12/31) Installing libmount (2.37.4-r0) 17:30:03 (13/31) Installing libsmartcols (2.37.4-r0) 17:30:03 (14/31) Installing util-linux-misc (2.37.4-r0) 17:30:03 (15/31) Installing linux-pam (1.5.2-r0) 17:30:03 (16/31) Installing runuser (2.37.4-r0) 17:30:04 (17/31) Installing hexdump (2.37.4-r0) 17:30:04 (18/31) Installing uuidgen (2.37.4-r0) 17:30:04 (19/31) Installing blkid (2.37.4-r0) 17:30:04 (20/31) Installing sfdisk (2.37.4-r0) 17:30:04 (21/31) Installing mcookie (2.37.4-r0) 17:30:04 (22/31) Installing wipefs (2.37.4-r0) 17:30:04 (23/31) Installing cfdisk (2.37.4-r0) 17:30:04 (24/31) Installing flock (2.37.4-r0) 17:30:04 (25/31) Installing lsblk (2.37.4-r0) 17:30:04 (26/31) Installing libcap-ng (0.8.2-r1) 17:30:04 (27/31) Installing setpriv (2.37.4-r0) 17:30:04 (28/31) Installing logger (2.37.4-r0) 17:30:05 (29/31) Installing partx (2.37.4-r0) 17:30:05 (30/31) Installing findmnt (2.37.4-r0) 17:30:05 (31/31) Installing util-linux-dev (2.37.4-r0) 17:30:05 Executing busybox-1.34.1-r5.trigger 17:30:05 OK: 293 MiB in 108 packages 17:30:05 Removing intermediate container 9402e7b75f4c 17:30:05 ---> 2f0f83b2c979 17:30:05 Step 6/22 : RUN mkdir /tmp/sdk 17:30:06 ---> Running in 82fb27b61c1b 17:30:06 Still waiting to schedule task 17:30:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:30:06 Removing intermediate container 82fb27b61c1b 17:30:06 ---> 62d9c8f752a6 17:30:06 Step 7/22 : COPY VERSION /tmp/sdk 17:30:06 ---> 95abd2b1097e 17:30:06 Step 8/22 : COPY src /tmp/sdk/src 17:30:07 ---> 415eba77dcd7 17:30:07 Step 9/22 : COPY include /tmp/sdk/include 17:30:07 ---> 83023ae1c7b2 17:30:07 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:30:07 ---> a0a24fb550b6 17:30:07 Step 11/22 : COPY LICENSE /tmp/sdk 17:30:07 ---> a8640867ae14 17:30:07 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:30:07 ---> a8236153fbed 17:30:07 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:30:07 ---> Running in 66dd2bb0ba19 17:30:07 + CPPCHECK=false 17:30:07 + DOCGEN=false 17:30:07 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:30:07 + TOMLVER=SDK-0.2 17:30:07 + CUTILVER=1.2.2 17:30:07 + '[' 0 -gt 0 ] 17:30:07 + readlink -f ./scripts/build.sh 17:30:07 + dirname /tmp/sdk/scripts/build.sh 17:30:07 + dirname /tmp/sdk/scripts 17:30:07 + ROOT=/tmp/sdk 17:30:07 + cd /tmp/sdk 17:30:07 + '[' '!' -d deps ] 17:30:07 + mkdir deps 17:30:07 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:30:07 + tar -C deps -z -x -f - 17:30:08 Connecting to github.com (140.82.112.4:443) 17:30:08 Connecting to codeload.github.com (140.82.112.9:443) 17:30:08 writing to stdout 17:30:08 - 100% |********************************| 16451 0:00:00 ETA 17:30:08 written to stdout 17:30:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:30:08 + + tar -C depswget -z -O -x -f - - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:30:08 17:30:08 Connecting to github.com (140.82.112.4:443) 17:30:08 Connecting to codeload.github.com (140.82.112.9:443) 17:30:08 writing to stdout 17:30:08 - 100% |********************************| 189k 0:00:00 ETA 17:30:08 written to stdout 17:30:08 + mkdir -p src/c/iot 17:30:08 + 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 17:30:08 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:30:08 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:30:08 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:30:08 + mkdir -p include/iot 17:30:08 + 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 17:30:08 + mkdir -p include/iot/os 17:30:08 + 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 17:30:08 + mkdir -p /tmp/sdk/build/release 17:30:08 + cd /tmp/sdk/build/release 17:30:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:30:08 -- The C compiler identification is GNU 10.3.1 17:30:08 -- Detecting C compiler ABI info 17:30:08 -- Detecting C compiler ABI info - done 17:30:09 -- Check for working C compiler: /usr/bin/cc - skipped 17:30:09 -- Detecting C compile features 17:30:09 -- Detecting C compile features - done 17:30:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:30:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:30:09 -- Found LIBYAML: /usr/lib/libyaml.so 17:30:09 -- Found LIBUUID: /usr/lib/libuuid.so 17:30:09 -- Found LIBCBOR: /usr/lib/libcbor.so 17:30:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:30:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:30:09 -- C SDK 2.2.0-dev.9 for Linux 17:30:09 -- Performing Test CSDK_HAVE_ATOMIC 17:30:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:30:09 -- Found Curses: /usr/lib/libcurses.so 17:30:09 -- Configuring done 17:30:09 -- Generating done 17:30:09 -- Build files have been written to: /tmp/sdk/build/release 17:30:09 + make all package 17:30:09 + tee release.log 17:30:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:30:09 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:30:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:30:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:30:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:30:10 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:30:10 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:30:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:30:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:30:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:30:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:30:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:30:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:30:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:30:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:30:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:30:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:30:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:30:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:30:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:30:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:30:12 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:30:12 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:30:12 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:30:12 275 | const iot_component_factory_t * factory; 17:30:12 | ^~~~~~~ 17:30:12 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:30:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:30:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:30:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:30:13 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:30:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:30:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:30:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:30:14 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:30:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:30:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:30:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:30:15 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:30:15 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:30:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:30:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:30:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:30:16 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:30:16 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:30:16 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:30:16 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:30:16 /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] 17:30:16 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:30:16 | ^~~~~~~~~~~~~ 17:30:16 | | 17:30:16 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:30:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:16 /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 *)' 17:30:16 2784 | MHD_KeyValueIterator iterator, 17:30:16 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:30:16 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:30:16 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:30:16 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:30:16 | ^~~~~~~~~~~~ 17:30:16 | | 17:30:16 | 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 **)} 17:30:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:16 /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 **)'} 17:30:16 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:30:16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:30:16 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:30:16 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:30:16 | ^~~~~~~~~~~~ 17:30:16 | | 17:30:16 | 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 **)} 17:30:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:16 /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 **)'} 17:30:16 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:30:16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:30:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:30:17 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:30:17 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:30:17 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:30:17 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:30:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:30:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:30:18 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:30:18 [ 76%] Linking C shared library libcsdk.so 17:30:19 [ 76%] Built target csdk 17:30:19 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:30:19 [ 79%] Linking C executable template 17:30:19 [ 79%] Built target template 17:30:19 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:30:19 [ 82%] Linking C executable device-counter 17:30:19 [ 82%] Built target device-counter 17:30:19 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:30:19 [ 85%] Linking C executable device-random 17:30:19 [ 85%] Built target device-random 17:30:19 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:30:19 [ 88%] Linking C executable device-gyro 17:30:19 [ 88%] Built target device-gyro 17:30:19 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:30:19 [ 91%] Linking C executable device-bitfields 17:30:19 [ 91%] Built target device-bitfields 17:30:19 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:30:20 [ 94%] Linking C executable template-discovery 17:30:20 [ 94%] Built target template-discovery 17:30:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:30:20 [ 97%] Linking C executable device-file 17:30:20 [ 97%] Built target device-file 17:30:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:30:20 [100%] Linking C executable device-terminal 17:30:20 [100%] Built target device-terminal 17:30:20 Run CPack packaging tool... 17:30:20 CPack: Create package using TGZ 17:30:20 CPack: Install projects 17:30:20 CPack: - Run preinstall target for: Csdk 17:30:20 CPack: - Install project: Csdk [] 17:30:20 CPack: Create package 17:30:20 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.9.tar.gz generated. 17:30:20 + '[' false '=' true ] 17:30:20 + '[' false '=' true ] 17:30:20 + mkdir -p /tmp/sdk/build/debug 17:30:20 + cd /tmp/sdk/build/debug 17:30:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:30:21 -- The C compiler identification is GNU 10.3.1 17:30:21 -- Detecting C compiler ABI info 17:30:21 -- Detecting C compiler ABI info - done 17:30:21 -- Check for working C compiler: /usr/bin/cc - skipped 17:30:21 -- Detecting C compile features 17:30:21 -- Detecting C compile features - done 17:30:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:30:21 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:30:21 -- Found LIBYAML: /usr/lib/libyaml.so 17:30:21 -- Found LIBUUID: /usr/lib/libuuid.so 17:30:21 -- Found LIBCBOR: /usr/lib/libcbor.so 17:30:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:30:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:30:21 -- C SDK 2.2.0-dev.9 for Linux 17:30:21 -- Performing Test CSDK_HAVE_ATOMIC 17:30:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:30:21 -- Found Curses: /usr/lib/libcurses.so 17:30:21 -- Configuring done 17:30:21 -- Generating done 17:30:21 -- Build files have been written to: /tmp/sdk/build/debug 17:30:21 + + tee debug.log 17:30:21 make 17:30:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:30:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:30:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:30:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:30:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:30:22 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:30:22 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:30:22 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:30:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:30:22 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:30:22 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:30:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:30:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:30:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:30:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:30:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:30:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:30:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:30:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:30:23 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:30:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:30:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:30:23 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:30:23 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:30:23 275 | const iot_component_factory_t * factory; 17:30:23 | ^~~~~~~ 17:30:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:30:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:30:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:30:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:30:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:30:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:30:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:30:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:30:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:30:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:30:24 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:30:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:30:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:30:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:30:24 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:30:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:30:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:30:25 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:30:25 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:30:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:30:25 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:30:25 /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] 17:30:25 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:30:25 | ^~~~~~~~~~~~~ 17:30:25 | | 17:30:25 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:30:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:25 /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 *)' 17:30:25 2784 | MHD_KeyValueIterator iterator, 17:30:25 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:30:25 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:30:25 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:30:25 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:30:25 | ^~~~~~~~~~~~ 17:30:25 | | 17:30:25 | 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 **)} 17:30:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:25 /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 **)'} 17:30:25 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:30:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:30:25 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:30:25 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:30:25 | ^~~~~~~~~~~~ 17:30:25 | | 17:30:25 | 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 **)} 17:30:25 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:30:25 /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 **)'} 17:30:25 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:30:25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:30:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:30:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:30:25 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:30:25 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:30:25 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:30:25 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:30:25 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:30:26 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:30:26 [ 76%] Linking C shared library libcsdk.so 17:30:26 [ 76%] Built target csdk 17:30:26 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:30:26 [ 79%] Linking C executable template 17:30:26 [ 79%] Built target template 17:30:26 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:30:26 [ 82%] Linking C executable device-counter 17:30:26 [ 82%] Built target device-counter 17:30:26 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:30:26 [ 85%] Linking C executable device-random 17:30:26 [ 85%] Built target device-random 17:30:26 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:30:26 [ 88%] Linking C executable device-gyro 17:30:26 [ 88%] Built target device-gyro 17:30:26 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:30:26 [ 91%] Linking C executable device-bitfields 17:30:26 [ 91%] Built target device-bitfields 17:30:26 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:30:27 [ 94%] Linking C executable template-discovery 17:30:27 [ 94%] Built target template-discovery 17:30:27 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:30:27 [ 97%] Linking C executable device-file 17:30:27 [ 97%] Built target device-file 17:30:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:30:27 [100%] Linking C executable device-terminal 17:30:27 [100%] Built target device-terminal 17:30:27 make: Entering directory '/tmp/sdk/build/release' 17:30:27 make[1]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 76%] Built target csdk 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 79%] Built target template 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 82%] Built target device-counter 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 85%] Built target device-random 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 88%] Built target device-gyro 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 91%] Built target device-bitfields 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 94%] Built target template-discovery 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [ 97%] Built target device-file 17:30:27 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:27 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:27 [100%] Built target device-terminal 17:30:27 make[1]: Leaving directory '/tmp/sdk/build/release' 17:30:27 Install the project... 17:30:27 -- Install configuration: "Release" 17:30:27 -- Installing: /usr/local/lib/libcsdk.so 17:30:27 -- Installing: /usr/local/include 17:30:27 -- Installing: /usr/local/include/edgex 17:30:27 -- Installing: /usr/local/include/edgex/profiles.h 17:30:27 -- Installing: /usr/local/include/edgex/edgex.h 17:30:27 -- Installing: /usr/local/include/edgex/rest-server.h 17:30:27 -- Installing: /usr/local/include/edgex/edgex-base.h 17:30:27 -- Installing: /usr/local/include/edgex/devices.h 17:30:27 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:30:27 -- Installing: /usr/local/include/devsdk 17:30:27 -- Installing: /usr/local/include/devsdk/devsdk.h 17:30:27 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:30:27 -- Installing: /usr/local/include/iot 17:30:27 -- Installing: /usr/local/include/iot/thread.h 17:30:27 -- Installing: /usr/local/include/iot/hash.h 17:30:27 -- Installing: /usr/local/include/iot/typecode.h 17:30:27 -- Installing: /usr/local/include/iot/threadpool.h 17:30:27 -- Installing: /usr/local/include/iot/uuid.h 17:30:27 -- Installing: /usr/local/include/iot/logger.h 17:30:27 -- Installing: /usr/local/include/iot/config.h 17:30:27 -- Installing: /usr/local/include/iot/os.h 17:30:27 -- Installing: /usr/local/include/iot/container.h 17:30:27 -- Installing: /usr/local/include/iot/scheduler.h 17:30:27 -- Installing: /usr/local/include/iot/defs.h 17:30:27 -- Installing: /usr/local/include/iot/iot.h 17:30:27 -- Installing: /usr/local/include/iot/component.h 17:30:27 -- Installing: /usr/local/include/iot/os 17:30:27 -- Installing: /usr/local/include/iot/os/linux.h 17:30:27 -- Installing: /usr/local/include/iot/os/zephyr.h 17:30:27 -- Installing: /usr/local/include/iot/os/macos.h 17:30:27 -- Installing: /usr/local/include/iot/base64.h 17:30:27 -- Installing: /usr/local/include/iot/time.h 17:30:27 -- Installing: /usr/local/include/iot/data.h 17:30:27 -- Installing: /usr/local/include/iot/json.h 17:30:27 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:30:27 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:30:27 make: Leaving directory '/tmp/sdk/build/release' 17:30:28 Removing intermediate container 66dd2bb0ba19 17:30:28 ---> 780e7a18f7d8 17:30:28 Step 14/22 : FROM ${BASE} 17:30:28 ---> 95f6e8fcc511 17:30:28 Step 15/22 : LABEL maintainer="IOTech " 17:30:28 ---> Running in 47a1c4c57d2c 17:30:28 Removing intermediate container 47a1c4c57d2c 17:30:28 ---> 0d8aca7897ed 17:30:28 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 17:30:28 ---> Running in 1982d4cade26 17:30:28 Connecting to iotech.jfrog.io (54.75.147.88:443) 17:30:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:30:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:30:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:30:29 Removing intermediate container 1982d4cade26 17:30:29 ---> c955a96233fe 17:30:29 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:30:29 ---> Running in a965e605f3e4 17:30:30 Removing intermediate container a965e605f3e4 17:30:30 ---> 1d1f9aca0d84 17:30: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 17:30:30 ---> Running in 02adf0a51012 17:30:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:30:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:30:32 (1/6) Installing curl (7.80.0-r1) 17:30:32 (2/6) Installing hiredis (1.0.2-r0) 17:30:32 (3/6) Installing hiredis-dev (1.0.2-r0) 17:30:32 (4/6) Installing libcbor (0.8.0-r0) 17:30:32 (5/6) Installing libuuid (2.37.4-r0) 17:30:32 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:30:33 Executing busybox-1.34.1-r5.trigger 17:30:33 OK: 283 MiB in 83 packages 17:30:33 Removing intermediate container 02adf0a51012 17:30:33 ---> f2aa2fc87c89 17:30:33 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:30:34 ---> e45ffcd46a18 17:30:34 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:30:34 ---> aa11d6316198 17:30:34 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:30:34 ---> 3af380959d9f 17:30:34 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:30:34 ---> 286433e3557b 17:30:34 Successfully built 286433e3557b 17:30:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:30:34 + docker inspect -f . ci-base-image-x86_64 17:30:34 . [Pipeline] withDockerContainer 17:30:34 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:30:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:30:35 $ docker top a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:35 + make test 17:30:35 echo "make test" 17:30:35 make test [Pipeline] } 17:30:35 $ docker stop --time=1 a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 17:30:37 $ docker rm -f a4cc308f2625fb219597c33a5d435da8cf2d55824f3bd4742d117ecf94c8cef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:38 + ls -al . 17:30:38 total 208 17:30:38 drwxrwxr-x 9 jenkins jenkins 4096 May 10 17:29 . 17:30:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 .. 17:30:38 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:29 .git 17:30:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 .github 17:30:38 -rw-rw-r-- 1 jenkins jenkins 176 May 10 17:29 .gitignore 17:30:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:29 .semver 17:30:38 -rw-rw-r-- 1 jenkins jenkins 3104 May 10 17:29 Attribution.txt 17:30:38 -rw-rw-r-- 1 jenkins jenkins 8321 May 10 17:29 CHANGES 17:30:38 -rw-rw-r-- 1 jenkins jenkins 108574 May 10 17:29 Doxyfile 17:30:38 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:29 GOVERNANCE.md 17:30:38 -rw-rw-r-- 1 jenkins jenkins 784 May 10 17:29 Jenkinsfile 17:30:38 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:29 LICENSE 17:30:38 -rw-rw-r-- 1 jenkins jenkins 444 May 10 17:29 Makefile 17:30:38 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:29 OWNERS.md 17:30:38 -rw-rw-r-- 1 jenkins jenkins 4086 May 10 17:29 README.md 17:30:38 -rw-rw-r-- 1 jenkins jenkins 7422 May 10 17:29 README.v2.md 17:30:38 -rw-rw-r-- 1 jenkins jenkins 11 May 10 17:29 VERSION 17:30:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 docs 17:30:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 include 17:30:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:29 scripts 17:30:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:29 src [Pipeline] isUnix [Pipeline] sh 17:30:38 + 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=14bdc31d8719d1e6f8ec06114e1723900e8aedcd --label arch=amd64 --label version=2.2.0-dev.9 . 17:30:38 Sending build context to Docker daemon 4.543MB 17:30:38 Step 1/17 : ARG BASE=alpine:3.15 17:30:38 Step 2/17 : FROM ${BASE} 17:30:38 ---> 286433e3557b 17:30:38 Step 3/17 : LABEL maintainer="IOTech " 17:30:38 ---> Running in 088945f11b8c 17:30:38 Removing intermediate container 088945f11b8c 17:30:38 ---> ed916aba1015 17:30:38 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 17:30:38 ---> Running in 65e3cb027f36 17:30:38 Connecting to iotech.jfrog.io (54.75.147.88:443) 17:30:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:30:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:30:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:30:39 Removing intermediate container 65e3cb027f36 17:30:39 ---> ac2908290db7 17:30:39 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:30:39 ---> Running in c7b71abe3548 17:30:40 Removing intermediate container c7b71abe3548 17:30:40 ---> 965d87a5d82a 17:30:40 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 17:30:40 ---> Running in a1b4e8bb4f82 17:30:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:30:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 17:30:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:30:42 (1/26) Installing libcbor-dev (0.8.0-r0) 17:30:42 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 17:30:42 (3/26) Installing util-linux (2.37.4-r0) 17:30:42 (4/26) Installing libblkid (2.37.4-r0) 17:30:42 (5/26) Installing libeconf (0.4.2-r0) 17:30:42 (6/26) Installing libfdisk (2.37.4-r0) 17:30:42 (7/26) Installing libmount (2.37.4-r0) 17:30:42 (8/26) Installing libsmartcols (2.37.4-r0) 17:30:42 (9/26) Installing util-linux-misc (2.37.4-r0) 17:30:43 (10/26) Installing linux-pam (1.5.2-r0) 17:30:43 (11/26) Installing runuser (2.37.4-r0) 17:30:43 (12/26) Installing hexdump (2.37.4-r0) 17:30:43 (13/26) Installing uuidgen (2.37.4-r0) 17:30:43 (14/26) Installing blkid (2.37.4-r0) 17:30:43 (15/26) Installing sfdisk (2.37.4-r0) 17:30:43 (16/26) Installing mcookie (2.37.4-r0) 17:30:43 (17/26) Installing wipefs (2.37.4-r0) 17:30:43 (18/26) Installing cfdisk (2.37.4-r0) 17:30:43 (19/26) Installing flock (2.37.4-r0) 17:30:44 (20/26) Installing lsblk (2.37.4-r0) 17:30:44 (21/26) Installing libcap-ng (0.8.2-r1) 17:30:44 (22/26) Installing setpriv (2.37.4-r0) 17:30:44 (23/26) Installing logger (2.37.4-r0) 17:30:44 (24/26) Installing partx (2.37.4-r0) 17:30:44 (25/26) Installing findmnt (2.37.4-r0) 17:30:44 (26/26) Installing util-linux-dev (2.37.4-r0) 17:30:44 Executing busybox-1.34.1-r5.trigger 17:30:44 OK: 294 MiB in 109 packages 17:30:45 Removing intermediate container a1b4e8bb4f82 17:30:45 ---> 3f642839d8ef 17:30:45 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:30:45 ---> 1b9a9f6cff43 17:30:45 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:30:45 ---> 2fbeedd5500d 17:30:45 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:30:45 ---> 41302c83b4ac 17:30:45 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:30:45 ---> 030ef5fb99e4 17:30:45 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:30:46 ---> d7e679c48aa4 17:30:46 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:30:46 ---> 840b4a8a9e63 17:30:46 Step 13/17 : WORKDIR /edgex-c-sdk 17:30:46 ---> Running in 3eb2fe7dbc83 17:30:46 Removing intermediate container 3eb2fe7dbc83 17:30:46 ---> 2566c326ba07 17:30:46 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:30:46 ---> Running in 595069c26c1d 17:30:46 Removing intermediate container 595069c26c1d 17:30:46 ---> 15e1e4e586c4 17:30:46 Step 15/17 : LABEL arch=amd64 17:30:46 ---> Running in a0d248f3aed9 17:30:46 Removing intermediate container a0d248f3aed9 17:30:46 ---> 4951a2c1da83 17:30:46 Step 16/17 : LABEL git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd 17:30:46 ---> Running in 832df308c737 17:30:46 Removing intermediate container 832df308c737 17:30:46 ---> 67f7b7ad63bf 17:30:46 Step 17/17 : LABEL version=2.2.0-dev.9 17:30:46 ---> Running in f4558de7a39e 17:30:47 Removing intermediate container f4558de7a39e 17:30:47 ---> 48a6db67b555 17:30:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:30:47 Successfully built 48a6db67b555 17:30:47 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:30:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:47 17:30:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:30:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:47 latest: Pulling from edgex-lftools-log-publisher 17:30:47 5eb5b503b376: Pulling fs layer 17:30:47 5c69ac0246d0: Pulling fs layer 17:30:47 ec43610c2a17: Pulling fs layer 17:30:47 3a2ae6a8a46f: Pulling fs layer 17:30:47 33b1e0a273af: Pulling fs layer 17:30:47 5d3b04190fa2: Pulling fs layer 17:30:47 2f39f015ded8: Pulling fs layer 17:30:47 2f39f015ded8: Waiting 17:30:47 33b1e0a273af: Waiting 17:30:47 5d3b04190fa2: Waiting 17:30:47 3a2ae6a8a46f: Waiting 17:30:47 5c69ac0246d0: Download complete 17:30:47 3a2ae6a8a46f: Verifying Checksum 17:30:47 3a2ae6a8a46f: Download complete 17:30:47 ec43610c2a17: Verifying Checksum 17:30:47 ec43610c2a17: Download complete 17:30:48 33b1e0a273af: Verifying Checksum 17:30:48 33b1e0a273af: Download complete 17:30:48 5d3b04190fa2: Download complete 17:30:48 5eb5b503b376: Verifying Checksum 17:30:48 5eb5b503b376: Download complete 17:30:48 2f39f015ded8: Verifying Checksum 17:30:48 2f39f015ded8: Download complete 17:30:49 5eb5b503b376: Pull complete 17:30:49 5c69ac0246d0: Pull complete 17:30:50 ec43610c2a17: Pull complete 17:30:50 3a2ae6a8a46f: Pull complete 17:30:50 33b1e0a273af: Pull complete 17:30:50 5d3b04190fa2: Pull complete 17:30:55 2f39f015ded8: Pull complete 17:30:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:30:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:30:55 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:30:56 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:58 $ docker top ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:58 ---> job-cost.sh 17:30:58 lf-activate-venv: SKIPPING 17:30:58 INFO: No Stack... 17:30:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:59 INFO: Archiving Costs [Pipeline] sh 17:30:59 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 17:30:59 + cut -d, -f6 [Pipeline] lock 17:30:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] 17:30:59 Resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] did not exist. Created. 17:30:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:30:59 Stashed 1 file(s) [Pipeline] } 17:30:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:59 $ docker stop --time=1 ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 17:31:01 $ docker rm -f ece08c86b5958976b7cfbdca4efce1ec1e12ff8c61b0ced159c67d6b1190c661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:33:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47806 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 17:33:08 Running in /w/workspace/device-sdk-c/25 [Pipeline] { [Pipeline] checkout 17:33:08 Selected Git installation does not exist. Using Default 17:33:08 The recommended git tool is: NONE 17:33:15 using credential edgex-jenkins-ssh 17:33:15 Cloning the remote Git repository 17:33:15 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:33:15 > git init /w/workspace/device-sdk-c/25 # timeout=10 17:33:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:33:15 > git --version # timeout=10 17:33:15 > git --version # 'git version 2.25.1' 17:33:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:33:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:33:17 Avoid second fetch 17:33:17 Checking out Revision 14bdc31d8719d1e6f8ec06114e1723900e8aedcd (main) 17:33:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:33:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:33:17 > git config core.sparsecheckout # timeout=10 17:33:17 > git checkout -f 14bdc31d8719d1e6f8ec06114e1723900e8aedcd # timeout=10 17:33:21 Commit message: "fix: don't ignore ds-pushevent and ds-returnevent (#410)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:33:22 % Total % Received % Xferd Average Speed Time Time Time Current 17:33:22 Dload Upload Total Spent Left Speed 17:33:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 17:33:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:33:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:33:23 + sudo tee /etc/docker/daemon.new 17:33:23 { 17:33:23 "registry-mirrors": [ 17:33:23 "https://nexus3.edgexfoundry.org:10001" 17:33:23 ], 17:33:23 "bip": "10.250.0.254/24", 17:33:23 "hosts": [ 17:33:23 "tcp://0.0.0.0:5555", 17:33:23 "unix:///var/run/docker.sock" 17:33:23 ], 17:33:23 "mtu": 1458, 17:33:23 "selinux-enabled": true, 17:33:23 "seccomp-profile": "/etc/docker/seccomp.json" 17:33:23 } [Pipeline] sh 17:33:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:33:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:42 provisioning config files... 17:33:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/25@tmp/config3452322780224971502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:42 ---> docker-login.sh 17:33:42 nexus3.edgexfoundry.org:10001 17:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:43 Configure a credential helper to remove this warning. See 17:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:43 17:33:43 Login Succeeded 17:33:43 nexus3.edgexfoundry.org:10002 17:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:44 Configure a credential helper to remove this warning. See 17:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:44 17:33:44 Login Succeeded 17:33:44 nexus3.edgexfoundry.org:10003 17:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:44 Configure a credential helper to remove this warning. See 17:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:44 17:33:44 Login Succeeded 17:33:44 nexus3.edgexfoundry.org:10004 17:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:45 Configure a credential helper to remove this warning. See 17:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:45 17:33:45 Login Succeeded 17:33:45 docker.io 17:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:46 Configure a credential helper to remove this warning. See 17:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:46 17:33:46 Login Succeeded 17:33:46 ---> docker-login.sh ends [Pipeline] } 17:33:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:46 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:46 ========================================================= 17:33:46 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:33:46 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:33:46 + 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 . 17:33:47 Sending build context to Docker daemon 2.743MB 17:33:47 Step 1/22 : ARG BASE=alpine:3.15 17:33:47 Step 2/22 : FROM ${BASE} as builder 17:33:47 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:33:47 9981e73032c8: Pulling fs layer 17:33:47 2a34a092ebf8: Pulling fs layer 17:33:47 1928f2f5eed1: Pulling fs layer 17:33:47 2a34a092ebf8: Verifying Checksum 17:33:47 2a34a092ebf8: Download complete 17:33:47 9981e73032c8: Verifying Checksum 17:33:47 9981e73032c8: Download complete 17:33:48 9981e73032c8: Pull complete 17:33:48 2a34a092ebf8: Pull complete 17:33:49 1928f2f5eed1: Verifying Checksum 17:33:49 1928f2f5eed1: Download complete 17:33:57 1928f2f5eed1: Pull complete 17:33:57 Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 17:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:33:57 ---> cad489bbaf40 17:33:57 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 17:33:57 ---> Running in b41bddfa609d 17:33:58 Connecting to iotech.jfrog.io (54.75.147.88:443) 17:33:59 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:33:59 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:33:59 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:34:00 Removing intermediate container b41bddfa609d 17:34:00 ---> 0690935efd17 17:34:00 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:34:00 ---> Running in 54af067f74df 17:34:02 Removing intermediate container 54af067f74df 17:34:02 ---> 58e33cbf7ffd 17:34:02 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 17:34:02 ---> Running in 36c21889c7a0 17:34:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:34:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:34:04 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:34:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:34:04 (1/31) Installing hiredis (1.0.2-r0) 17:34:05 (2/31) Installing hiredis-dev (1.0.2-r0) 17:34:05 (3/31) Installing libcbor (0.8.0-r0) 17:34:05 (4/31) Installing libcbor-dev (0.8.0-r0) 17:34:05 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 17:34:05 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:34:06 (7/31) Installing util-linux (2.37.4-r0) 17:34:06 (8/31) Installing libblkid (2.37.4-r0) 17:34:06 (9/31) Installing libeconf (0.4.2-r0) 17:34:06 (10/31) Installing libuuid (2.37.4-r0) 17:34:06 (11/31) Installing libfdisk (2.37.4-r0) 17:34:06 (12/31) Installing libmount (2.37.4-r0) 17:34:06 (13/31) Installing libsmartcols (2.37.4-r0) 17:34:07 (14/31) Installing util-linux-misc (2.37.4-r0) 17:34:07 (15/31) Installing linux-pam (1.5.2-r0) 17:34:07 (16/31) Installing runuser (2.37.4-r0) 17:34:07 (17/31) Installing hexdump (2.37.4-r0) 17:34:07 (18/31) Installing uuidgen (2.37.4-r0) 17:34:07 (19/31) Installing blkid (2.37.4-r0) 17:34:08 (20/31) Installing sfdisk (2.37.4-r0) 17:34:08 (21/31) Installing mcookie (2.37.4-r0) 17:34:08 (22/31) Installing wipefs (2.37.4-r0) 17:34:08 (23/31) Installing cfdisk (2.37.4-r0) 17:34:08 (24/31) Installing flock (2.37.4-r0) 17:34:08 (25/31) Installing lsblk (2.37.4-r0) 17:34:08 (26/31) Installing libcap-ng (0.8.2-r1) 17:34:08 (27/31) Installing setpriv (2.37.4-r0) 17:34:08 (28/31) Installing logger (2.37.4-r0) 17:34:08 (29/31) Installing partx (2.37.4-r0) 17:34:08 (30/31) Installing findmnt (2.37.4-r0) 17:34:08 (31/31) Installing util-linux-dev (2.37.4-r0) 17:34:09 Executing busybox-1.34.1-r5.trigger 17:34:09 OK: 289 MiB in 108 packages 17:34:10 Removing intermediate container 36c21889c7a0 17:34:10 ---> e32428b4460a 17:34:10 Step 6/22 : RUN mkdir /tmp/sdk 17:34:10 ---> Running in 94d5d58d1868 17:34:11 Removing intermediate container 94d5d58d1868 17:34:11 ---> 31a3405e7ab0 17:34:11 Step 7/22 : COPY VERSION /tmp/sdk 17:34:12 ---> 9683e21ae4f1 17:34:12 Step 8/22 : COPY src /tmp/sdk/src 17:34:13 ---> 34f3ea541da6 17:34:13 Step 9/22 : COPY include /tmp/sdk/include 17:34:13 ---> 637d71e8bcb3 17:34:13 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:34:14 ---> d9b19add0331 17:34:14 Step 11/22 : COPY LICENSE /tmp/sdk 17:34:15 ---> 6137f4acf2ec 17:34:15 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:34:15 ---> d68af52baa82 17:34:15 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:34:15 ---> Running in ac52480a067c 17:34:16 + CPPCHECK=false 17:34:16 + DOCGEN=false 17:34:16 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:34:16 + TOMLVER=SDK-0.2 17:34:16 + CUTILVER=1.2.2 17:34:16 + '[' 0 -gt 0 ] 17:34:16 + readlink -f ./scripts/build.sh 17:34:16 + dirname /tmp/sdk/scripts/build.sh 17:34:16 + dirname /tmp/sdk/scripts 17:34:16 + ROOT=/tmp/sdk 17:34:16 + cd /tmp/sdk 17:34:16 + '[' '!' -d deps ] 17:34:16 + mkdir deps 17:34:16 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 17:34:16 + tar -C deps -z -x -f - 17:34:16 Connecting to github.com (140.82.113.4:443) 17:34:16 Connecting to codeload.github.com (140.82.113.10:443) 17:34:17 writing to stdout 17:34:17 - 100% |********************************| 16451 0:00:00 ETA 17:34:17 written to stdout 17:34:17 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 17:34:17 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 17:34:17 + tar -C deps -z -x -f - 17:34:17 Connecting to github.com (140.82.113.4:443) 17:34:17 Connecting to codeload.github.com (140.82.113.10:443) 17:34:17 writing to stdout 17:34:17 - 100% |********************************| 189k 0:00:00 ETA 17:34:17 written to stdout 17:34:17 + mkdir -p src/c/iot 17:34:17 + 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 17:34:17 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 17:34:17 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 17:34:17 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 17:34:17 + mkdir -p include/iot 17:34:17 + 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 17:34:17 + mkdir -p include/iot/os 17:34:17 + 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 17:34:17 + mkdir -p /tmp/sdk/build/release 17:34:17 + cd /tmp/sdk/build/release 17:34:17 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:34:17 -- The C compiler identification is GNU 10.3.1 17:34:18 -- Detecting C compiler ABI info 17:34:18 -- Detecting C compiler ABI info - done 17:34:18 -- Check for working C compiler: /usr/bin/cc - skipped 17:34:18 -- Detecting C compile features 17:34:18 -- Detecting C compile features - done 17:34:18 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:34:18 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:34:19 -- Found LIBYAML: /usr/lib/libyaml.so 17:34:19 -- Found LIBUUID: /usr/lib/libuuid.so 17:34:19 -- Found LIBCBOR: /usr/lib/libcbor.so 17:34:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:34:19 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:34:19 -- C SDK 2.2.0-dev.9 for Linux 17:34:19 -- Performing Test CSDK_HAVE_ATOMIC 17:34:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:34:19 -- Found Curses: /usr/lib/libcurses.so 17:34:19 -- Configuring done 17:34:19 -- Generating done 17:34:19 -- Build files have been written to: /tmp/sdk/build/release 17:34:20 + make all package 17:34:20 + tee release.log 17:34:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:34:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:34:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:34:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:34:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:34:26 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:34:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:34:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:34:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:34:30 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:34:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:34:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:34:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:34:35 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:34:35 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:34:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:34:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:34:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:34:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:34:40 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:34:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:34:42 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:34:42 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:34:42 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:34:42 275 | const iot_component_factory_t * factory; 17:34:42 | ^~~~~~~ 17:34:43 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:34:48 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:34:48 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:34:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:34:49 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:34:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:34:50 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:34:52 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:34:52 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:34:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:34:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:34:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:34:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:34:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:34:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:35:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:35:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:35:06 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:35:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:35:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:35:07 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:35:07 /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] 17:35:07 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:35:07 | ^~~~~~~~~~~~~ 17:35:07 | | 17:35:07 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:35:07 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:07 /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 *)' 17:35:07 2784 | MHD_KeyValueIterator iterator, 17:35:07 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:35:07 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:35:07 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:35:07 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:35:07 | ^~~~~~~~~~~~ 17:35:07 | | 17:35:07 | 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 **)} 17:35:07 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:07 /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 **)'} 17:35:07 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:35:07 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:35:07 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:35:07 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:35:07 | ^~~~~~~~~~~~ 17:35:07 | | 17:35:07 | 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 **)} 17:35:07 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:07 /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 **)'} 17:35:07 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:35:07 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:35:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:35:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:35:12 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:35:13 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:35:14 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:35:17 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:35:22 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:35:23 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:35:23 [ 76%] Linking C shared library libcsdk.so 17:35:24 [ 76%] Built target csdk 17:35:24 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:35:25 [ 79%] Linking C executable template 17:35:25 [ 79%] Built target template 17:35:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:35:26 [ 82%] Linking C executable device-counter 17:35:26 [ 82%] Built target device-counter 17:35:26 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:35:27 [ 85%] Linking C executable device-random 17:35:27 [ 85%] Built target device-random 17:35:27 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:35:28 [ 88%] Linking C executable device-gyro 17:35:28 [ 88%] Built target device-gyro 17:35:28 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:35:29 [ 91%] Linking C executable device-bitfields 17:35:29 [ 91%] Built target device-bitfields 17:35:29 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:35:30 [ 94%] Linking C executable template-discovery 17:35:30 [ 94%] Built target template-discovery 17:35:30 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:35:31 [ 97%] Linking C executable device-file 17:35:32 [ 97%] Built target device-file 17:35:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:35:32 [100%] Linking C executable device-terminal 17:35:32 [100%] Built target device-terminal 17:35:32 Run CPack packaging tool... 17:35:33 CPack: Create package using TGZ 17:35:33 CPack: Install projects 17:35:33 CPack: - Run preinstall target for: Csdk 17:35:33 CPack: - Install project: Csdk [] 17:35:33 CPack: Create package 17:35:34 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.9.tar.gz generated. 17:35:34 + '[' false '=' true ] 17:35:34 + '[' false '=' true ] 17:35:34 + mkdir -p /tmp/sdk/build/debug 17:35:34 + cd /tmp/sdk/build/debug 17:35:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:35:34 -- The C compiler identification is GNU 10.3.1 17:35:34 -- Detecting C compiler ABI info 17:35:34 -- Detecting C compiler ABI info - done 17:35:34 -- Check for working C compiler: /usr/bin/cc - skipped 17:35:34 -- Detecting C compile features 17:35:34 -- Detecting C compile features - done 17:35:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:35:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 17:35:34 -- Found LIBYAML: /usr/lib/libyaml.so 17:35:34 -- Found LIBUUID: /usr/lib/libuuid.so 17:35:34 -- Found LIBCBOR: /usr/lib/libcbor.so 17:35:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:35:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:35:35 -- C SDK 2.2.0-dev.9 for Linux 17:35:35 -- Performing Test CSDK_HAVE_ATOMIC 17:35:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:35:35 -- Found Curses: /usr/lib/libcurses.so 17:35:35 -- Configuring done 17:35:35 -- Generating done 17:35:35 -- Build files have been written to: /tmp/sdk/build/debug 17:35:35 + make 17:35:35 + tee debug.log 17:35:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:35:36 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 17:35:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:35:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:35:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:35:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 17:35:39 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 17:35:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 17:35:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:35:40 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:35:41 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:35:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:35:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:35:42 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:35:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 17:35:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:35:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:35:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:35:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 17:35:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 17:35:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 17:35:45 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 17:35:45 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 17:35:45 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 17:35:45 275 | const iot_component_factory_t * factory; 17:35:45 | ^~~~~~~ 17:35:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 17:35:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 17:35:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 17:35:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 17:35:48 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 17:35:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 17:35:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 17:35:49 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 17:35:49 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 17:35:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 17:35:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 17:35:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 17:35:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:35:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:35:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 17:35:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:35:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:35:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:35:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:35:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:35:54 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 17:35:54 /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] 17:35:54 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 17:35:54 | ^~~~~~~~~~~~~ 17:35:54 | | 17:35:54 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 17:35:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:54 /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 *)' 17:35:54 2784 | MHD_KeyValueIterator iterator, 17:35:54 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 17:35:54 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 17:35:54 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:35:54 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 17:35:54 | ^~~~~~~~~~~~ 17:35:54 | | 17:35:54 | 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 **)} 17:35:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:54 /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 **)'} 17:35:54 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:35:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:35:54 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 17:35:54 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 17:35:54 | ^~~~~~~~~~~~ 17:35:54 | | 17:35:54 | 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 **)} 17:35:54 In file included from /tmp/sdk/src/c/rest-server.c:21: 17:35:54 /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 **)'} 17:35:54 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 17:35:54 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 17:35:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:35:57 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:35:57 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:35:57 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:35:58 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:35:59 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 17:35:59 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:35:59 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:36:00 [ 76%] Linking C shared library libcsdk.so 17:36:00 [ 76%] Built target csdk 17:36:00 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:36:01 [ 79%] Linking C executable template 17:36:01 [ 79%] Built target template 17:36:01 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:36:01 [ 82%] Linking C executable device-counter 17:36:01 [ 82%] Built target device-counter 17:36:02 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:36:02 [ 85%] Linking C executable device-random 17:36:02 [ 85%] Built target device-random 17:36:02 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:36:03 [ 88%] Linking C executable device-gyro 17:36:03 [ 88%] Built target device-gyro 17:36:03 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:36:03 [ 91%] Linking C executable device-bitfields 17:36:03 [ 91%] Built target device-bitfields 17:36:03 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:36:04 [ 94%] Linking C executable template-discovery 17:36:04 [ 94%] Built target template-discovery 17:36:04 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:36:04 [ 97%] Linking C executable device-file 17:36:05 [ 97%] Built target device-file 17:36:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:36:05 [100%] Linking C executable device-terminal 17:36:06 [100%] Built target device-terminal 17:36:06 make: Entering directory '/tmp/sdk/build/release' 17:36:06 make[1]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 76%] Built target csdk 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 79%] Built target template 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 82%] Built target device-counter 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 85%] Built target device-random 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 88%] Built target device-gyro 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 91%] Built target device-bitfields 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 94%] Built target template-discovery 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [ 97%] Built target device-file 17:36:06 make[2]: Entering directory '/tmp/sdk/build/release' 17:36:06 make[2]: Leaving directory '/tmp/sdk/build/release' 17:36:06 [100%] Built target device-terminal 17:36:06 make[1]: Leaving directory '/tmp/sdk/build/release' 17:36:06 Install the project... 17:36:06 -- Install configuration: "Release" 17:36:06 -- Installing: /usr/local/lib/libcsdk.so 17:36:06 -- Installing: /usr/local/include 17:36:06 -- Installing: /usr/local/include/devsdk 17:36:06 -- Installing: /usr/local/include/devsdk/devsdk.h 17:36:06 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:36:06 -- Installing: /usr/local/include/edgex 17:36:06 -- Installing: /usr/local/include/edgex/rest-server.h 17:36:06 -- Installing: /usr/local/include/edgex/edgex.h 17:36:06 -- Installing: /usr/local/include/edgex/edgex-base.h 17:36:06 -- Installing: /usr/local/include/edgex/devices.h 17:36:06 -- Installing: /usr/local/include/edgex/profiles.h 17:36:06 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:36:06 -- Installing: /usr/local/include/iot 17:36:06 -- Installing: /usr/local/include/iot/threadpool.h 17:36:06 -- Installing: /usr/local/include/iot/defs.h 17:36:06 -- Installing: /usr/local/include/iot/time.h 17:36:06 -- Installing: /usr/local/include/iot/base64.h 17:36:06 -- Installing: /usr/local/include/iot/component.h 17:36:06 -- Installing: /usr/local/include/iot/scheduler.h 17:36:06 -- Installing: /usr/local/include/iot/config.h 17:36:06 -- Installing: /usr/local/include/iot/container.h 17:36:06 -- Installing: /usr/local/include/iot/uuid.h 17:36:06 -- Installing: /usr/local/include/iot/os.h 17:36:06 -- Installing: /usr/local/include/iot/thread.h 17:36:06 -- Installing: /usr/local/include/iot/data.h 17:36:06 -- Installing: /usr/local/include/iot/typecode.h 17:36:06 -- Installing: /usr/local/include/iot/hash.h 17:36:06 -- Installing: /usr/local/include/iot/logger.h 17:36:06 -- Installing: /usr/local/include/iot/os 17:36:06 -- Installing: /usr/local/include/iot/os/zephyr.h 17:36:06 -- Installing: /usr/local/include/iot/os/macos.h 17:36:06 -- Installing: /usr/local/include/iot/os/linux.h 17:36:06 -- Installing: /usr/local/include/iot/json.h 17:36:06 -- Installing: /usr/local/include/iot/iot.h 17:36:06 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:36:06 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:36:06 make: Leaving directory '/tmp/sdk/build/release' 17:36:08 Removing intermediate container ac52480a067c 17:36:08 ---> 9c57ff250c72 17:36:08 Step 14/22 : FROM ${BASE} 17:36:08 ---> cad489bbaf40 17:36:08 Step 15/22 : LABEL maintainer="IOTech " 17:36:08 ---> Running in 38b368adb5f6 17:36:09 Removing intermediate container 38b368adb5f6 17:36:09 ---> f1ec00179df0 17:36:09 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 17:36:09 ---> Running in 035cfa439e9d 17:36:10 Connecting to iotech.jfrog.io (54.75.147.88:443) 17:36:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:36:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:36:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:36:11 Removing intermediate container 035cfa439e9d 17:36:11 ---> f1b4ed38428d 17:36:11 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:36:11 ---> Running in a0ce0046869d 17:36:13 Removing intermediate container a0ce0046869d 17:36:13 ---> 76f91956860e 17:36:13 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 17:36:13 ---> Running in d58d766c8b62 17:36:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:36:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:36:16 (1/6) Installing curl (7.80.0-r1) 17:36:16 (2/6) Installing hiredis (1.0.2-r0) 17:36:16 (3/6) Installing hiredis-dev (1.0.2-r0) 17:36:16 (4/6) Installing libcbor (0.8.0-r0) 17:36:16 (5/6) Installing libuuid (2.37.4-r0) 17:36:16 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 17:36:17 Executing busybox-1.34.1-r5.trigger 17:36:17 OK: 278 MiB in 83 packages 17:36:18 Removing intermediate container d58d766c8b62 17:36:18 ---> 8cee727adf3b 17:36:18 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 17:36:19 ---> 7fb4f99f161c 17:36:19 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:36:20 ---> 25f6e47c6dd4 17:36:20 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:36:20 ---> 4e0419016325 17:36:20 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:36:21 ---> c72cc9038905 17:36:21 Successfully built c72cc9038905 17:36:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:36:21 + docker inspect -f . ci-base-image-arm64 17:36:21 . [Pipeline] withDockerContainer 17:36:21 prd-ubuntu20.04-docker-arm64-4c-16g-47806 does not seem to be running inside a container 17:36:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/25 -v /w/workspace/device-sdk-c/25:/w/workspace/device-sdk-c/25:rw,z -v /w/workspace/device-sdk-c/25@tmp:/w/workspace/device-sdk-c/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:36:23 $ docker top 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 -eo pid,comm [Pipeline] { [Pipeline] sh 17:36:24 + make test 17:36:24 echo "make test" 17:36:24 make test [Pipeline] } 17:36:24 $ docker stop --time=1 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 17:36:25 $ docker rm -f 28f8666044167fb05b08d82aa3a677eaae5fbe553c9e7e0b7c05d4ac2c23b725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:26 + ls -al . 17:36:26 total 204 17:36:26 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:33 . 17:36:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 .. 17:36:26 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:33 .git 17:36:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 .github 17:36:26 -rw-rw-r-- 1 jenkins jenkins 176 May 10 17:33 .gitignore 17:36:26 -rw-rw-r-- 1 jenkins jenkins 3104 May 10 17:33 Attribution.txt 17:36:26 -rw-rw-r-- 1 jenkins jenkins 8321 May 10 17:33 CHANGES 17:36:26 -rw-rw-r-- 1 jenkins jenkins 108574 May 10 17:33 Doxyfile 17:36:26 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:33 GOVERNANCE.md 17:36:26 -rw-rw-r-- 1 jenkins jenkins 784 May 10 17:33 Jenkinsfile 17:36:26 -rw-rw-r-- 1 jenkins jenkins 10174 May 10 17:33 LICENSE 17:36:26 -rw-rw-r-- 1 jenkins jenkins 444 May 10 17:33 Makefile 17:36:26 -rw-rw-r-- 1 jenkins jenkins 618 May 10 17:33 OWNERS.md 17:36:26 -rw-rw-r-- 1 jenkins jenkins 4086 May 10 17:33 README.md 17:36:26 -rw-rw-r-- 1 jenkins jenkins 7422 May 10 17:33 README.v2.md 17:36:26 -rw-rw-r-- 1 jenkins jenkins 11 May 10 17:29 VERSION 17:36:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 docs 17:36:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 include 17:36:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:33 scripts 17:36:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:33 src [Pipeline] isUnix [Pipeline] sh 17:36:27 + 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=14bdc31d8719d1e6f8ec06114e1723900e8aedcd --label arch=arm64 --label version=2.2.0-dev.9 . 17:36:27 Sending build context to Docker daemon 2.743MB 17:36:27 Step 1/17 : ARG BASE=alpine:3.15 17:36:27 Step 2/17 : FROM ${BASE} 17:36:27 ---> c72cc9038905 17:36:27 Step 3/17 : LABEL maintainer="IOTech " 17:36:27 ---> Running in 7dfb7b0640f7 17:36:28 Removing intermediate container 7dfb7b0640f7 17:36:28 ---> fdd9efab038e 17:36:28 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 17:36:28 ---> Running in 0c167ee56721 17:36:29 Connecting to iotech.jfrog.io (34.250.90.209:443) 17:36:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:36:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:36:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:36:30 Removing intermediate container 0c167ee56721 17:36:30 ---> 37f7a1b378c4 17:36:30 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 17:36:30 ---> Running in 21f90062684a 17:36:32 Removing intermediate container 21f90062684a 17:36:32 ---> 3c320cf43c31 17:36:32 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 17:36:32 ---> Running in edaf23f908f9 17:36:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:36:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 17:36:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:36:35 (1/26) Installing libcbor-dev (0.8.0-r0) 17:36:35 (2/26) Installing ncurses-dev (6.3_p20211120-r0) 17:36:35 (3/26) Installing util-linux (2.37.4-r0) 17:36:35 (4/26) Installing libblkid (2.37.4-r0) 17:36:35 (5/26) Installing libeconf (0.4.2-r0) 17:36:35 (6/26) Installing libfdisk (2.37.4-r0) 17:36:35 (7/26) Installing libmount (2.37.4-r0) 17:36:35 (8/26) Installing libsmartcols (2.37.4-r0) 17:36:36 (9/26) Installing util-linux-misc (2.37.4-r0) 17:36:36 (10/26) Installing linux-pam (1.5.2-r0) 17:36:36 (11/26) Installing runuser (2.37.4-r0) 17:36:36 (12/26) Installing hexdump (2.37.4-r0) 17:36:36 (13/26) Installing uuidgen (2.37.4-r0) 17:36:36 (14/26) Installing blkid (2.37.4-r0) 17:36:36 (15/26) Installing sfdisk (2.37.4-r0) 17:36:36 (16/26) Installing mcookie (2.37.4-r0) 17:36:36 (17/26) Installing wipefs (2.37.4-r0) 17:36:37 (18/26) Installing cfdisk (2.37.4-r0) 17:36:37 (19/26) Installing flock (2.37.4-r0) 17:36:37 (20/26) Installing lsblk (2.37.4-r0) 17:36:37 (21/26) Installing libcap-ng (0.8.2-r1) 17:36:37 (22/26) Installing setpriv (2.37.4-r0) 17:36:37 (23/26) Installing logger (2.37.4-r0) 17:36:37 (24/26) Installing partx (2.37.4-r0) 17:36:37 (25/26) Installing findmnt (2.37.4-r0) 17:36:37 (26/26) Installing util-linux-dev (2.37.4-r0) 17:36:38 Executing busybox-1.34.1-r5.trigger 17:36:38 OK: 290 MiB in 109 packages 17:36:39 Removing intermediate container edaf23f908f9 17:36:39 ---> 6ff5a141f50c 17:36:39 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:36:40 ---> 659f42900ab6 17:36:40 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:36:41 ---> 83b34e04eb86 17:36:41 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:36:41 ---> 564637e90be2 17:36:41 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:36:41 ---> 3fb84706e09d 17:36:41 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:36:42 ---> abfc1b0093ae 17:36:42 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:36:43 ---> 2b150587474d 17:36:43 Step 13/17 : WORKDIR /edgex-c-sdk 17:36:43 ---> Running in b80a11f98a30 17:36:43 Removing intermediate container b80a11f98a30 17:36:43 ---> 003ffe0a98e4 17:36:43 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:36:43 ---> Running in 708e58ad92d9 17:36:43 Removing intermediate container 708e58ad92d9 17:36:43 ---> 9522b8ec3c56 17:36:43 Step 15/17 : LABEL arch=arm64 17:36:43 ---> Running in 26239617bae8 17:36:44 Removing intermediate container 26239617bae8 17:36:44 ---> 347c5c5fd913 17:36:44 Step 16/17 : LABEL git_sha=14bdc31d8719d1e6f8ec06114e1723900e8aedcd 17:36:44 ---> Running in cd5be983d40b 17:36:44 Removing intermediate container cd5be983d40b 17:36:44 ---> 042f5ceacf8d 17:36:44 Step 17/17 : LABEL version=2.2.0-dev.9 17:36:44 ---> Running in 4bf2910839b4 17:36:45 Removing intermediate container 4bf2910839b4 17:36:45 ---> 336f304ef65f 17:36:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:36:45 Successfully built 336f304ef65f 17:36:45 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:45 17:36:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:36:46 arm64: Pulling from edgex-lftools-log-publisher 17:36:46 8998bd30e6a1: Pulling fs layer 17:36:46 04944245beec: Pulling fs layer 17:36:46 699f458cf7ca: Pulling fs layer 17:36:46 765212b225bb: Pulling fs layer 17:36:46 f23df028b6ca: Pulling fs layer 17:36:46 d65c8cfc05b1: Pulling fs layer 17:36:46 2437ff75d9bd: Pulling fs layer 17:36:46 765212b225bb: Waiting 17:36:46 f23df028b6ca: Waiting 17:36:46 d65c8cfc05b1: Waiting 17:36:46 2437ff75d9bd: Waiting 17:36:46 04944245beec: Verifying Checksum 17:36:46 04944245beec: Download complete 17:36:46 765212b225bb: Verifying Checksum 17:36:46 765212b225bb: Download complete 17:36:46 f23df028b6ca: Download complete 17:36:46 d65c8cfc05b1: Verifying Checksum 17:36:46 d65c8cfc05b1: Download complete 17:36:46 699f458cf7ca: Verifying Checksum 17:36:46 699f458cf7ca: Download complete 17:36:46 8998bd30e6a1: Verifying Checksum 17:36:46 8998bd30e6a1: Download complete 17:36:49 2437ff75d9bd: Verifying Checksum 17:36:49 2437ff75d9bd: Download complete 17:36:51 8998bd30e6a1: Pull complete 17:36:51 04944245beec: Pull complete 17:36:53 699f458cf7ca: Pull complete 17:36:53 765212b225bb: Pull complete 17:36:54 f23df028b6ca: Pull complete 17:36:54 d65c8cfc05b1: Pull complete 17:37:13 2437ff75d9bd: Pull complete 17:37:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:37:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:37:13 prd-ubuntu20.04-docker-arm64-4c-16g-47806 does not seem to be running inside a container 17:37:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/25 -v /w/workspace/device-sdk-c/25:/w/workspace/device-sdk-c/25:rw,z -v /w/workspace/device-sdk-c/25@tmp:/w/workspace/device-sdk-c/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:37:16 $ docker top 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:17 ---> job-cost.sh 17:37:17 lf-activate-venv: SKIPPING 17:37:17 INFO: No Stack... 17:37:17 INFO: Retrieving Pricing Info for: v3-standard-4 17:37:18 INFO: Archiving Costs [Pipeline] sh 17:37:19 + cat /w/workspace/device-sdk-c/25/archives/cost.csv 17:37:19 + cut -d, -f6 [Pipeline] lock 17:37:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] 17:37:19 Resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] did not exist. Created. 17:37:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:37:20 /w/workspace/device-sdk-c/25@tmp/durable-fba51bde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:37:20 + echo total: 0.10999999940395355 [Pipeline] stash 17:37:20 Warning: overwriting stash ‘stack-cost’ 17:37:21 Stashed 1 file(s) [Pipeline] } 17:37:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 17:37:21 $ docker stop --time=1 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 17:37:22 $ docker rm -f 6fcc3f30ca1fdfe050c420d87461ee0ea5e19234b4cb3221196162b7251d3b72 [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 17:37:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:37:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:37:23 . [Pipeline] withDockerContainer 17:37:23 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:37:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:37:24 $ docker top 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:24 [ssh-agent] Looking for ssh-agent implementation... 17:37:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:24 $ docker exec 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd ssh-agent 17:37:24 SSH_AUTH_SOCK=/tmp/ssh-0roGPQ99RNzx/agent.33 17:37:24 SSH_AGENT_PID=39 17:37:24 Running ssh-add (command line suppressed) 17:37:24 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6296994752751047680.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6296994752751047680.key) 17:37:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:25 + git semver tag 17:37:25 2022-05-10 17:37:25,406 [run_tag] DEBUG tag force:False 17:37:25 2022-05-10 17:37:25,406 [check_head_tag] DEBUG check head tag 17:37:25 2022-05-10 17:37:25,407 [execute] INFO git cat-file --batch-check 17:37:25 2022-05-10 17:37:25,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 17:37:25 2022-05-10 17:37:25,411 [execute] INFO git cat-file --batch 17:37:25 2022-05-10 17:37:25,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 17:37:25 2022-05-10 17:37:25,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:25 2022-05-10 17:37:25,424 [execute] INFO git tag -a v2.2.0-dev.9 -m v2.2.0-dev.9 17:37:25 2022-05-10 17:37:25,424 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.9', '-m', 'v2.2.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 17:37:25 2022-05-10 17:37:25,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:25 2.2.0-dev.9 [Pipeline] } 17:37:25 $ docker exec --env ******** --env ******** 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd ssh-agent -k 17:37:25 unset SSH_AUTH_SOCK; 17:37:25 unset SSH_AGENT_PID; 17:37:25 echo Agent pid 39 killed; 17:37:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:25 + git semver [Pipeline] } 17:37:26 $ docker stop --time=1 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd 17:37:27 $ docker rm -f 1569e7a71b2504180e8f7ea5698a247e6491638980405afa0579a1ae098a4bbd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:27 17:37:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:37:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:28 0.23.1-centos7: Pulling from edgex-lftools 17:37:28 ab5ef0e58194: Pulling fs layer 17:37:28 9712f1f96733: Pulling fs layer 17:37:28 63f879dbbcfc: Pulling fs layer 17:37:28 0d9ebad4ef96: Pulling fs layer 17:37:28 e9a5061849ea: Pulling fs layer 17:37:28 d747dcd14b5f: Pulling fs layer 17:37:28 2de7ff778b66: Pulling fs layer 17:37:28 e9a5061849ea: Waiting 17:37:28 d747dcd14b5f: Waiting 17:37:28 0d9ebad4ef96: Waiting 17:37:28 2de7ff778b66: Waiting 17:37:28 9712f1f96733: Verifying Checksum 17:37:28 9712f1f96733: Download complete 17:37:28 63f879dbbcfc: Verifying Checksum 17:37:28 63f879dbbcfc: Download complete 17:37:28 e9a5061849ea: Verifying Checksum 17:37:28 e9a5061849ea: Download complete 17:37:28 d747dcd14b5f: Verifying Checksum 17:37:28 d747dcd14b5f: Download complete 17:37:28 0d9ebad4ef96: Verifying Checksum 17:37:28 0d9ebad4ef96: Download complete 17:37:28 ab5ef0e58194: Verifying Checksum 17:37:28 ab5ef0e58194: Download complete 17:37:28 2de7ff778b66: Verifying Checksum 17:37:28 2de7ff778b66: Download complete 17:37:32 ab5ef0e58194: Pull complete 17:37:32 9712f1f96733: Pull complete 17:37:32 63f879dbbcfc: Pull complete 17:37:36 0d9ebad4ef96: Pull complete 17:37:36 e9a5061849ea: Pull complete 17:37:36 d747dcd14b5f: Pull complete 17:37:38 2de7ff778b66: Pull complete 17:37:38 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:37:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:37:38 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:37:38 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:37:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:37:40 $ docker top d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:37:40 provisioning config files... 17:37:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7305781647168934079tmp 17:37:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3350234187025244661tmp 17:37:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4824702944352203314tmp [Pipeline] { [Pipeline] echo 17:37:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:37:40 ---> sigul-configuration.sh 17:37:40 gpg: directory `/root/.gnupg' created 17:37:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:37:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:37:40 gpg: keyring `/root/.gnupg/secring.gpg' created 17:37:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:37:40 gpg: CAST5 encrypted data 17:37:40 gpg: encrypted with 1 passphrase 17:37:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:37:40 + mkdir /home/jenkins 17:37:40 + mkdir /home/jenkins/sigul [Pipeline] sh 17:37:41 + 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 17:37:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:37:41 ---> sigul-install.sh 17:37:41 Sigul already installed; skipping installation. [Pipeline] sh 17:37:41 + git tag --list 17:37:41 0.7.0 17:37:41 0.7.1 17:37:41 1.0.0 17:37:41 v1.0.1 17:37:41 v1.0.2 17:37:41 v1.0.3 17:37:41 v1.1.0 17:37:41 v1.1.1 17:37:41 v1.2.0 17:37:41 v1.2.1 17:37:41 v1.2.2 17:37:41 v1.3.0 17:37:41 v1.3.1 17:37:41 v2.0.0 17:37:41 v2.0.1-dev.1 17:37:41 v2.0.1-dev.10 17:37:41 v2.0.1-dev.11 17:37:41 v2.0.1-dev.12 17:37:41 v2.0.1-dev.13 17:37:41 v2.0.1-dev.2 17:37:41 v2.0.1-dev.3 17:37:41 v2.0.1-dev.4 17:37:41 v2.0.1-dev.5 17:37:41 v2.0.1-dev.6 17:37:41 v2.0.1-dev.7 17:37:41 v2.0.1-dev.8 17:37:41 v2.0.1-dev.9 17:37:41 v2.1.0 17:37:41 v2.2.0-dev.1 17:37:41 v2.2.0-dev.2 17:37:41 v2.2.0-dev.3 17:37:41 v2.2.0-dev.4 17:37:41 v2.2.0-dev.5 17:37:41 v2.2.0-dev.6 17:37:41 v2.2.0-dev.7 17:37:41 v2.2.0-dev.8 17:37:41 v2.2.0-dev.9 [Pipeline] sh 17:37:42 + lftools sign git-tag v2.2.0-dev.9 17:37:42 Signing Git tag with Sigul... 17:37:42 Signing v2.2.0-dev.9 [Pipeline] echo 17:37:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:37:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:37:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:37:43 $ docker stop --time=1 d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 17:37:45 $ docker rm -f d49be2a41b1a4435ab481da74a1459507109046d2c2ef5ec153096daf3943338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:37:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:37:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:37:45 . [Pipeline] withDockerContainer 17:37:45 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:37:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:37:46 $ docker top 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:46 [ssh-agent] Looking for ssh-agent implementation... 17:37:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:46 $ docker exec 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 ssh-agent 17:37:46 SSH_AUTH_SOCK=/tmp/ssh-EMXs9tJ7084k/agent.34 17:37:46 SSH_AGENT_PID=40 17:37:46 Running ssh-add (command line suppressed) 17:37:46 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5423177429421540683.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5423177429421540683.key) 17:37:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:47 + git semver bump pre 17:37:47 2022-05-10 17:37:47,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:47 2022-05-10 17:37:47,388 [bump_version] DEBUG bumping version:2.2.0-dev.9 on axis:pre with prefix:dev 17:37:47 2022-05-10 17:37:47,388 [bump_version] DEBUG bumped version:2.2.0-dev.10 17:37:47 2022-05-10 17:37:47,388 [write_version] DEBUG write version:2.2.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 17:37:47 2022-05-10 17:37:47,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:47 2022-05-10 17:37:47,388 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:47 2022-05-10 17:37:47,390 [execute] INFO git cat-file --batch-check 17:37:47 2022-05-10 17:37:47,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 17:37:47 2022-05-10 17:37:47,397 [execute] INFO git cat-file --batch 17:37:47 2022-05-10 17:37:47,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 17:37:47 2022-05-10 17:37:47,404 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:47 2.2.0-dev.10 [Pipeline] } 17:37:47 $ docker exec --env ******** --env ******** 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 ssh-agent -k 17:37:47 unset SSH_AUTH_SOCK; 17:37:47 unset SSH_AGENT_PID; 17:37:47 echo Agent pid 40 killed; 17:37:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:47 + git semver [Pipeline] } 17:37:48 $ docker stop --time=1 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 17:37:49 $ docker rm -f 10b4232af22290d5961c2dca0c453abfd65ba1cb81edbe7affe0d912bdb4f2f4 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:37:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:37:50 . [Pipeline] withDockerContainer 17:37:50 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:37:50 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:37:50 $ docker top 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:50 [ssh-agent] Looking for ssh-agent implementation... 17:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:50 $ docker exec 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 ssh-agent 17:37:51 SSH_AUTH_SOCK=/tmp/ssh-DjZg46h7KIGR/agent.33 17:37:51 SSH_AGENT_PID=39 17:37:51 Running ssh-add (command line suppressed) 17:37:51 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8950152364561083615.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8950152364561083615.key) 17:37:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:51 + git semver push 17:37:51 2022-05-10 17:37:51,668 [run_push] DEBUG push 17:37:51 2022-05-10 17:37:51,669 [execute] INFO git push origin semver 17:37:51 2022-05-10 17:37:51,669 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 17:37:52 2022-05-10 17:37:52,483 [run_push] DEBUG push all version tags 17:37:52 2022-05-10 17:37:52,484 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:37:52 2022-05-10 17:37:52,484 [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) 17:37:53 2022-05-10 17:37:53,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:37:53 2.2.0-dev.10 [Pipeline] } 17:37:53 $ docker exec --env ******** --env ******** 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 ssh-agent -k 17:37:53 unset SSH_AUTH_SOCK; 17:37:53 unset SSH_AGENT_PID; 17:37:53 echo Agent pid 39 killed; 17:37:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:54 + git semver [Pipeline] } 17:37:54 $ docker stop --time=1 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 17:37:55 $ docker rm -f 5c82ccaa7bc72b2690072ea6423c2b579811fd175160db1051bbe209e4965b36 [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 17:37:56 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 17:37:56 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:37:56 total 16 17:37:56 drwxr-xr-x 3 root root 4096 May 10 17:30 . 17:37:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:37 .. 17:37:56 drwxr-xr-x 2 root root 4096 May 10 17:30 cost 17:37:56 -rw-r--r-- 1 root root 82 May 10 17:30 cost.csv 17:37:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:37:56 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:37:56 total 16 17:37:56 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:30 . 17:37:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:37 .. 17:37:56 drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:30 cost 17:37:56 -rw-r--r-- 1 jenkins jenkins 82 May 10 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:37:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:37:57 ---> package-listing.sh 17:37:57 ++ facter osfamily 17:37:57 ++ tr '[:upper:]' '[:lower:]' 17:37:57 + OS_FAMILY=debian 17:37:57 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 17:37:57 + START_PACKAGES=/tmp/packages_start.txt 17:37:57 + END_PACKAGES=/tmp/packages_end.txt 17:37:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:37:57 + PACKAGES=/tmp/packages_start.txt 17:37:57 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:37:57 + PACKAGES=/tmp/packages_end.txt 17:37:57 + case "${OS_FAMILY}" in 17:37:57 + dpkg -l 17:37:57 + grep '^ii' 17:37:57 + '[' -f /tmp/packages_start.txt ']' 17:37:57 + '[' -f /tmp/packages_end.txt ']' 17:37:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:37:57 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:37:57 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 17:37:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 17:37:57 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 17:37:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:37:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:37:58 . [Pipeline] withDockerContainer 17:37:58 prd-ubuntu20.04-docker-8c-8g-47803 does not seem to be running inside a container 17:37:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:37:58 $ docker top a6c09a9587ccdcfbef10851cec596dd245df53c4b97dedd053cd2cb1641e5879 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:59 + touch /tmp/pre-build-complete [Pipeline] sh 17:37:59 + mkdir -p /var/log/sysstat [Pipeline] sh 17:37:59 + ls /var/log/sa-host 17:37:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:59 provisioning config files... 17:37:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4823395834542401249tmp [Pipeline] { [Pipeline] echo 17:37:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:38:00 ---> create-netrc.sh [Pipeline] } 17:38:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:38:00 ---> python-tools-install.sh [Pipeline] echo 17:38:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:38:00 ---> sudo-logs.sh 17:38:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:38:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:38:00 ---> job-cost.sh 17:38:00 lf-activate-venv: SKIPPING 17:38:00 DEBUG: total: 0.2199999988079071 17:38:00 INFO: Retrieving Stack Cost... 17:38:01 INFO: Retrieving Pricing Info for: v3-standard-8 17:38:01 INFO: Archiving Costs [Pipeline] echo 17:38:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:38:02 ---> logs-deploy.sh 17:38:02 lf-activate-venv: SKIPPING 17:38:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/25 17:38:02 INFO: archiving workspace using pattern(s): 17:38:03 Archives upload complete. 17:38:03 INFO: archiving logs to Nexus