Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1086c909c01125341e32c6ebb8870b6cabe987d5 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-ssh16298720227432652617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13335095056914450839.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6918096176553968838.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2561808801508365748.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3456293938595400020.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17417 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 1086c909c01125341e32c6ebb8870b6cabe987d5 (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 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 Commit message: "feat: Use Vault access token for Consul (#422)" > git rev-list --no-walk 165bf1afc6928f684637a03d8c76ec8e2cf51e8a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:08:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:08:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:08:35 ========================================================= 14:08:35 EdgeX Global Pipelines Version Info 14:08:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:08:35 ------------------- 14:08:35 stable info: 14:08:35 ------------------- 14:08:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:08:35 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 14:08:35 Message: update stable to v1.0.234 14:08:36 ------------------- 14:08:36 experimental info: 14:08:36 ------------------- 14:08:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:08:36 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 14:08:36 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1086c909c01125341e32c6ebb8870b6cabe987d5 [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1086c90 [Pipeline] echo 14:08:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:36 provisioning config files... 14:08:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6156365061233832565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:37 ---> docker-login.sh 14:08:37 nexus3.edgexfoundry.org:10001 14:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:37 Configure a credential helper to remove this warning. See 14:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:37 14:08:37 Login Succeeded 14:08:37 nexus3.edgexfoundry.org:10002 14:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:37 Configure a credential helper to remove this warning. See 14:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:37 14:08:37 Login Succeeded 14:08:37 nexus3.edgexfoundry.org:10003 14:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:37 Configure a credential helper to remove this warning. See 14:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:37 14:08:37 Login Succeeded 14:08:37 nexus3.edgexfoundry.org:10004 14:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:37 Configure a credential helper to remove this warning. See 14:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:37 14:08:37 Login Succeeded 14:08:37 docker.io 14:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:38 Configure a credential helper to remove this warning. See 14:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:38 14:08:38 Login Succeeded 14:08:38 ---> docker-login.sh ends [Pipeline] } 14:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:08:38 + git rev-list -1 --merges 1086c909c01125341e32c6ebb8870b6cabe987d5~1..1086c909c01125341e32c6ebb8870b6cabe987d5 [Pipeline] echo 14:08:38 -----------> git rev-list -1 --merges 1086c909c01125341e32c6ebb8870b6cabe987d5~1..1086c909c01125341e32c6ebb8870b6cabe987d5 1086c909c01125341e32c6ebb8870b6cabe987d5 [false] [Pipeline] sh 14:08:39 + git log --format=format:%s -1 1086c909c01125341e32c6ebb8870b6cabe987d5 [Pipeline] echo 14:08:39 ========================================================= 14:08:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:08:39 ========================================================= 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 14:08:39 + git rev-list -1 --merges 1086c909c01125341e32c6ebb8870b6cabe987d5~1..1086c909c01125341e32c6ebb8870b6cabe987d5 [Pipeline] echo 14:08:39 -----------> git rev-list -1 --merges 1086c909c01125341e32c6ebb8870b6cabe987d5~1..1086c909c01125341e32c6ebb8870b6cabe987d5 1086c909c01125341e32c6ebb8870b6cabe987d5 [false] [Pipeline] sh 14:08:39 + git log --format=format:%s -1 1086c909c01125341e32c6ebb8870b6cabe987d5 [Pipeline] echo 14:08:39 ========================================================= 14:08:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:08:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:08:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:08:40 + grep -v github /etc/ssh/ssh_known_hosts 14:08:40 + [ -e /tmp/ssh_known_hosts ] 14:08:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:08:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:08:40 + sudo tee -a /etc/ssh/ssh_known_hosts 14:08:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:08:40 14:08:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:08:41 0.1.4: Pulling from edgex-devops/py-git-semver 14:08:41 b85a868b505f: Pulling fs layer 14:08:41 e2be974225ed: Pulling fs layer 14:08:41 339a4e72a1f5: Pulling fs layer 14:08:41 988bab9f4d93: Pulling fs layer 14:08:41 1469e6f7b9e6: Pulling fs layer 14:08:41 988bab9f4d93: Waiting 14:08:41 eaf3925da568: Pulling fs layer 14:08:41 bab4dde63d76: Pulling fs layer 14:08:41 1469e6f7b9e6: Waiting 14:08:41 eaf3925da568: Waiting 14:08:41 bde34c3a00c8: Pulling fs layer 14:08:41 b352a97aabf1: Pulling fs layer 14:08:41 4872d77fe225: Pulling fs layer 14:08:41 b352a97aabf1: Waiting 14:08:41 bab4dde63d76: Waiting 14:08:41 bde34c3a00c8: Waiting 14:08:41 5851b861e8e6: Pulling fs layer 14:08:41 4872d77fe225: Waiting 14:08:41 5851b861e8e6: Waiting 14:08:41 e2be974225ed: Verifying Checksum 14:08:41 e2be974225ed: Download complete 14:08:41 988bab9f4d93: Verifying Checksum 14:08:41 988bab9f4d93: Download complete 14:08:41 339a4e72a1f5: Verifying Checksum 14:08:41 339a4e72a1f5: Download complete 14:08:41 eaf3925da568: Download complete 14:08:41 1469e6f7b9e6: Verifying Checksum 14:08:41 1469e6f7b9e6: Download complete 14:08:41 bde34c3a00c8: Verifying Checksum 14:08:41 bde34c3a00c8: Download complete 14:08:41 b352a97aabf1: Download complete 14:08:41 4872d77fe225: Verifying Checksum 14:08:41 4872d77fe225: Download complete 14:08:41 5851b861e8e6: Verifying Checksum 14:08:41 5851b861e8e6: Download complete 14:08:41 b85a868b505f: Verifying Checksum 14:08:41 b85a868b505f: Download complete 14:08:41 bab4dde63d76: Verifying Checksum 14:08:41 bab4dde63d76: Download complete 14:08:42 b85a868b505f: Pull complete 14:08:42 e2be974225ed: Pull complete 14:08:43 339a4e72a1f5: Pull complete 14:08:43 988bab9f4d93: Pull complete 14:08:43 1469e6f7b9e6: Pull complete 14:08:43 eaf3925da568: Pull complete 14:08:45 bab4dde63d76: Pull complete 14:08:45 bde34c3a00c8: Pull complete 14:08:45 b352a97aabf1: Pull complete 14:08:45 4872d77fe225: Pull complete 14:08:45 5851b861e8e6: Pull complete 14:08:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:08:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:08:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:08:46 prd-ubuntu20.04-docker-8c-8g-17417 does not seem to be running inside a container 14:08:46 $ 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:0.1.4 cat 14:08:47 $ docker top fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 -eo pid,comm 14:08:47 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). 14:08:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:08:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:08:47 [ssh-agent] Looking for ssh-agent implementation... 14:08:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:08:47 $ docker exec fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 ssh-agent 14:08:47 SSH_AUTH_SOCK=/tmp/ssh-4fGDwRJKwohD/agent.32 14:08:47 SSH_AGENT_PID=38 14:08:47 Running ssh-add (command line suppressed) 14:08:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4120550633499763170.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4120550633499763170.key) 14:08:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:08:48 + git tag --points-at HEAD [Pipeline] } 14:08:48 $ docker exec --env ******** --env ******** fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 ssh-agent -k 14:08:48 unset SSH_AUTH_SOCK; 14:08:48 unset SSH_AGENT_PID; 14:08:48 echo Agent pid 38 killed; 14:08:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:08:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:08:48 [ssh-agent] Looking for ssh-agent implementation... 14:08:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:08:48 $ docker exec fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 ssh-agent 14:08:48 SSH_AUTH_SOCK=/tmp/ssh-siXLFIFt8ZCI/agent.71 14:08:48 SSH_AGENT_PID=77 14:08:48 Running ssh-add (command line suppressed) 14:08:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3185364741171127969.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3185364741171127969.key) 14:08:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:08:48 + git semver init 14:08:49 2022-07-11 14:08:49,165 [run_init] DEBUG init version:0.0.0 force:False 14:08:49 2022-07-11 14:08:49,166 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:08:49 2022-07-11 14:08:49,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:08:49 2022-07-11 14:08:49,166 [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) 14:08:50 2022-07-11 14:08:49,882 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 14:08:50 2022-07-11 14:08:49,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 14:08:50 2022-07-11 14:08:49,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:08:50 2022-07-11 14:08:49,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:08:50 2.2.0-dev.11 [Pipeline] } 14:08:50 $ docker exec --env ******** --env ******** fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 ssh-agent -k 14:08:50 unset SSH_AUTH_SOCK; 14:08:50 unset SSH_AGENT_PID; 14:08:50 echo Agent pid 77 killed; 14:08:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:08:50 + git semver [Pipeline] } 14:08:50 $ docker stop --time=1 fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 14:08:52 $ docker rm -f fdae1f97a8c687f34533842a1aad33f84a62831280dc54a632ac6518adc858a7 [Pipeline] // withDockerContainer [Pipeline] sh 14:08:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:08:52 Stashed 1 file(s) [Pipeline] echo 14:08:52 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 14:08:52 provisioning config files... 14:08:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3542433211246541778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:53 ---> docker-login.sh 14:08:53 nexus3.edgexfoundry.org:10001 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10002 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10003 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 nexus3.edgexfoundry.org:10004 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:53 Configure a credential helper to remove this warning. See 14:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:53 14:08:53 Login Succeeded 14:08:53 docker.io 14:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:08:54 Configure a credential helper to remove this warning. See 14:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:08:54 14:08:54 Login Succeeded 14:08:54 ---> docker-login.sh ends [Pipeline] } 14:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:08:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:08:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:08:54 ========================================================= 14:08:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:08:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:54 + 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 . 14:08:54 Sending build context to Docker daemon 4.539MB 14:08:54 Step 1/22 : ARG BASE=alpine:3.15 14:08:54 Step 2/22 : FROM ${BASE} as builder 14:08:54 latest: Pulling from edgex-devops/edgex-gcc-base 14:08:54 df9b9388f04a: Pulling fs layer 14:08:54 37ea90d01205: Pulling fs layer 14:08:54 c88372d24652: Pulling fs layer 14:08:54 37ea90d01205: Download complete 14:08:54 df9b9388f04a: Download complete 14:08:54 df9b9388f04a: Pull complete 14:08:55 37ea90d01205: Pull complete 14:08:55 c88372d24652: Verifying Checksum 14:08:55 c88372d24652: Download complete 14:08:57 c88372d24652: Pull complete 14:08:57 Digest: sha256:7838dbf83682cb41b3dca2bf01f77fb67835a209a78790cfccd94cf2d79d2d2e 14:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:08:57 ---> 95f6e8fcc511 14:08: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 14:08:58 ---> Running in 9450b6d51f66 14:08:59 Connecting to iotech.jfrog.io (34.248.37.48:443) 14:08:59 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:08:59 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:08:59 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:08:59 Removing intermediate container 9450b6d51f66 14:08:59 ---> cacd6523cd2b 14:08:59 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:08:59 ---> Running in 891c7e13c616 14:09:00 Removing intermediate container 891c7e13c616 14:09:00 ---> b4adc683112d 14:09:00 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 14:09:00 ---> Running in 647226405c1a 14:09:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:09:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:09:01 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 14:09:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:09:02 (1/31) Installing hiredis (1.0.2-r0) 14:09:02 (2/31) Installing hiredis-dev (1.0.2-r0) 14:09:02 (3/31) Installing libcbor (0.8.0-r0) 14:09:02 (4/31) Installing libcbor-dev (0.8.0-r0) 14:09:02 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 14:09:02 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 14:09:03 (7/31) Installing util-linux (2.37.4-r0) 14:09:03 (8/31) Installing libblkid (2.37.4-r0) 14:09:03 (9/31) Installing libeconf (0.4.2-r0) 14:09:03 (10/31) Installing libuuid (2.37.4-r0) 14:09:03 (11/31) Installing libfdisk (2.37.4-r0) 14:09:03 (12/31) Installing libmount (2.37.4-r0) 14:09:03 (13/31) Installing libsmartcols (2.37.4-r0) 14:09:03 (14/31) Installing util-linux-misc (2.37.4-r0) 14:09:04 (15/31) Installing linux-pam (1.5.2-r0) 14:09:04 (16/31) Installing runuser (2.37.4-r0) 14:09:04 (17/31) Installing hexdump (2.37.4-r0) 14:09:04 (18/31) Installing uuidgen (2.37.4-r0) 14:09:04 (19/31) Installing blkid (2.37.4-r0) 14:09:04 (20/31) Installing sfdisk (2.37.4-r0) 14:09:04 (21/31) Installing mcookie (2.37.4-r0) 14:09:04 (22/31) Installing wipefs (2.37.4-r0) 14:09:04 (23/31) Installing cfdisk (2.37.4-r0) 14:09:04 (24/31) Installing flock (2.37.4-r0) 14:09:04 (25/31) Installing lsblk (2.37.4-r0) 14:09:05 (26/31) Installing libcap-ng (0.8.2-r1) 14:09:05 (27/31) Installing setpriv (2.37.4-r0) 14:09:05 (28/31) Installing logger (2.37.4-r0) 14:09:05 (29/31) Installing partx (2.37.4-r0) 14:09:05 (30/31) Installing findmnt (2.37.4-r0) 14:09:05 (31/31) Installing util-linux-dev (2.37.4-r0) 14:09:05 Executing busybox-1.34.1-r5.trigger 14:09:05 OK: 293 MiB in 108 packages 14:09:06 Removing intermediate container 647226405c1a 14:09:06 ---> 4de3e4daaa23 14:09:06 Step 6/22 : RUN mkdir /tmp/sdk 14:09:06 ---> Running in 00c4353e3b02 14:09:06 Removing intermediate container 00c4353e3b02 14:09:06 ---> b117d06eaa71 14:09:06 Step 7/22 : COPY VERSION /tmp/sdk 14:09:07 ---> 0bd6f97b3453 14:09:07 Step 8/22 : COPY src /tmp/sdk/src 14:09:07 ---> 98ebce4a2b94 14:09:07 Step 9/22 : COPY include /tmp/sdk/include 14:09:07 ---> 619dda72b842 14:09:07 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:09:07 ---> 5399a1ee121c 14:09:07 Step 11/22 : COPY LICENSE /tmp/sdk 14:09:07 ---> 2e34f1a19304 14:09:07 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:09:07 ---> 7dcd65792678 14:09:07 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:09:07 ---> Running in 4e7b1b26b5c0 14:09:07 Still waiting to schedule task 14:09:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:09:08 + CPPCHECK=false 14:09:08 + DOCGEN=false 14:09:08 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:09:08 + TOMLVER=SDK-0.2 14:09:08 + CUTILVER=1.2.2 14:09:08 + '[' 0 -gt 0 ] 14:09:08 + readlink -f ./scripts/build.sh 14:09:08 + dirname /tmp/sdk/scripts/build.sh 14:09:08 + dirname /tmp/sdk/scripts 14:09:08 + ROOT=/tmp/sdk 14:09:08 + cd /tmp/sdk 14:09:08 + '[' '!' -d deps ] 14:09:08 + mkdir deps 14:09:08 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:09:08 + tar -C deps -z -x -f - 14:09:08 Connecting to github.com (140.82.114.4:443) 14:09:08 Connecting to codeload.github.com (140.82.113.10:443) 14:09:08 writing to stdout 14:09:08 - 100% |********************************| 16451 0:00:00 ETA 14:09:08 written to stdout 14:09:08 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:09:08 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:09:08 + tar -C deps -z -x -f - 14:09:08 Connecting to github.com (140.82.114.4:443) 14:09:08 Connecting to codeload.github.com (140.82.113.10:443) 14:09:08 writing to stdout 14:09:08 - 100% |********************************| 189k 0:00:00 ETA 14:09:08 written to stdout 14:09:08 + mkdir -p src/c/iot 14:09: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 14:09:08 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:09:08 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:09:08 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:09:08 + mkdir -p include/iot 14:09: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 14:09:08 + mkdir -p include/iot/os 14:09: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 14:09:08 + mkdir -p /tmp/sdk/build/release 14:09:08 + cd /tmp/sdk/build/release 14:09:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:09:08 -- The C compiler identification is GNU 10.3.1 14:09:08 -- Detecting C compiler ABI info 14:09:09 -- Detecting C compiler ABI info - done 14:09:09 -- Check for working C compiler: /usr/bin/cc - skipped 14:09:09 -- Detecting C compile features 14:09:09 -- Detecting C compile features - done 14:09:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:09:09 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:09 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:09 -- Found LIBCBOR: /usr/lib/libcbor.so 14:09:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:09 -- C SDK 2.2.0-dev.11 for Linux 14:09:09 -- Performing Test CSDK_HAVE_ATOMIC 14:09:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:09 -- Found Curses: /usr/lib/libcurses.so 14:09:09 -- Configuring done 14:09:09 -- Generating done 14:09:09 -- Build files have been written to: /tmp/sdk/build/release 14:09:09 + make all package 14:09:09 + tee release.log 14:09:09 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:09 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:09:09 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:09 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:10 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:09:10 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:09:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:09:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:11 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:11 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:11 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:09:11 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:12 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:12 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:09:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:09:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:09:12 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:09:12 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:09:12 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:09:12 275 | const iot_component_factory_t * factory; 14:09:12 | ^~~~~~~ 14:09:12 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:09:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:09:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:09:13 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:09:13 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:09:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:09:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:09:14 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:09:14 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:09:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:09:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:09:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:09:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:14 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:09:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:16 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:16 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:16 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:16 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:09: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] 14:09:16 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:09:16 | ^~~~~~~~~~~~~ 14:09:16 | | 14:09:16 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:09:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09: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 *)' 14:09:16 2784 | MHD_KeyValueIterator iterator, 14:09:16 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:09:16 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:09: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] 14:09:16 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:09:16 | ^~~~~~~~~~~~ 14:09:16 | | 14:09: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 **)} 14:09:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09: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 **)'} 14:09:16 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:09:16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:09: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] 14:09:16 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:09:16 | ^~~~~~~~~~~~ 14:09:16 | | 14:09: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 **)} 14:09:16 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09: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 **)'} 14:09:16 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:09:16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:09:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:16 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:09:17 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:09:17 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:09:17 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:17 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:09:18 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:18 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:18 [ 76%] Linking C shared library libcsdk.so 14:09:18 [ 76%] Built target csdk 14:09:18 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:18 [ 79%] Linking C executable template 14:09:18 [ 79%] Built target template 14:09:18 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:19 [ 82%] Linking C executable device-counter 14:09:19 [ 82%] Built target device-counter 14:09:19 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:19 [ 85%] Linking C executable device-random 14:09:19 [ 85%] Built target device-random 14:09:19 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:19 [ 88%] Linking C executable device-gyro 14:09:19 [ 88%] Built target device-gyro 14:09:19 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:19 [ 91%] Linking C executable device-bitfields 14:09:19 [ 91%] Built target device-bitfields 14:09:19 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:19 [ 94%] Linking C executable template-discovery 14:09:19 [ 94%] Built target template-discovery 14:09:19 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:19 [ 97%] Linking C executable device-file 14:09:20 [ 97%] Built target device-file 14:09:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:20 [100%] Linking C executable device-terminal 14:09:20 [100%] Built target device-terminal 14:09:20 Run CPack packaging tool... 14:09:20 CPack: Create package using TGZ 14:09:20 CPack: Install projects 14:09:20 CPack: - Run preinstall target for: Csdk 14:09:20 CPack: - Install project: Csdk [] 14:09:20 CPack: Create package 14:09:20 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.11.tar.gz generated. 14:09:20 + '[' false '=' true ] 14:09:20 + '[' false '=' true ] 14:09:20 + mkdir -p /tmp/sdk/build/debug 14:09:20 + cd /tmp/sdk/build/debug 14:09:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:09:20 -- The C compiler identification is GNU 10.3.1 14:09:20 -- Detecting C compiler ABI info 14:09:20 -- Detecting C compiler ABI info - done 14:09:20 -- Check for working C compiler: /usr/bin/cc - skipped 14:09:20 -- Detecting C compile features 14:09:20 -- Detecting C compile features - done 14:09:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:09:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:09:20 -- Found LIBYAML: /usr/lib/libyaml.so 14:09:20 -- Found LIBUUID: /usr/lib/libuuid.so 14:09:20 -- Found LIBCBOR: /usr/lib/libcbor.so 14:09:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:09:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:09:20 -- C SDK 2.2.0-dev.11 for Linux 14:09:20 -- Performing Test CSDK_HAVE_ATOMIC 14:09:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:09:20 -- Found Curses: /usr/lib/libcurses.so 14:09:20 -- Configuring done 14:09:20 -- Generating done 14:09:20 -- Build files have been written to: /tmp/sdk/build/debug 14:09:20 + make 14:09:20 + tee debug.log 14:09:20 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:09:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:09:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:09:21 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:09:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:09:21 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:09:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:09:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:09:21 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:09:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:09:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:09:21 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:09:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:09:21 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:09:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:09:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:09:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:09:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:09:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:09:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:09:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:09:22 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:09:22 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:09:22 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:09:22 275 | const iot_component_factory_t * factory; 14:09:22 | ^~~~~~~ 14:09:22 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:09:22 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:09:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:09:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:09:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:09:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:09:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:09:23 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:09:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:09:23 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:09:23 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:09:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:09:23 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:09:23 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:09:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:09:23 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:09:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:09:24 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:09:24 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:09:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:09:24 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:09:24 /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] 14:09:24 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:09:24 | ^~~~~~~~~~~~~ 14:09:24 | | 14:09:24 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:09:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09:24 /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 *)' 14:09:24 2784 | MHD_KeyValueIterator iterator, 14:09:24 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:09:24 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:09:24 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:09:24 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:09:24 | ^~~~~~~~~~~~ 14:09:24 | | 14:09:24 | 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 **)} 14:09:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09:24 /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 **)'} 14:09:24 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:09:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:09:24 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:09:24 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:09:24 | ^~~~~~~~~~~~ 14:09:24 | | 14:09:24 | 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 **)} 14:09:24 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:09:24 /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 **)'} 14:09:24 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:09:24 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:09:24 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:09:24 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:09:24 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:09:24 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:09:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:09:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:09:25 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:09:25 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:09:25 [ 76%] Linking C shared library libcsdk.so 14:09:25 [ 76%] Built target csdk 14:09:25 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:09:25 [ 79%] Linking C executable template 14:09:25 [ 79%] Built target template 14:09:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:09:25 [ 82%] Linking C executable device-counter 14:09:25 [ 82%] Built target device-counter 14:09:25 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:09:25 [ 85%] Linking C executable device-random 14:09:25 [ 85%] Built target device-random 14:09:25 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:09:25 [ 88%] Linking C executable device-gyro 14:09:25 [ 88%] Built target device-gyro 14:09:25 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:09:25 [ 91%] Linking C executable device-bitfields 14:09:25 [ 91%] Built target device-bitfields 14:09:25 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:09:25 [ 94%] Linking C executable template-discovery 14:09:26 [ 94%] Built target template-discovery 14:09:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:09:26 [ 97%] Linking C executable device-file 14:09:26 [ 97%] Built target device-file 14:09:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:09:26 [100%] Linking C executable device-terminal 14:09:26 [100%] Built target device-terminal 14:09:26 make: Entering directory '/tmp/sdk/build/release' 14:09:26 make[1]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 76%] Built target csdk 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 79%] Built target template 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 82%] Built target device-counter 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 85%] Built target device-random 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 88%] Built target device-gyro 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 91%] Built target device-bitfields 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 94%] Built target template-discovery 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [ 97%] Built target device-file 14:09:26 make[2]: Entering directory '/tmp/sdk/build/release' 14:09:26 make[2]: Leaving directory '/tmp/sdk/build/release' 14:09:26 [100%] Built target device-terminal 14:09:26 make[1]: Leaving directory '/tmp/sdk/build/release' 14:09:26 Install the project... 14:09:26 -- Install configuration: "Release" 14:09:26 -- Installing: /usr/local/lib/libcsdk.so 14:09:26 -- Installing: /usr/local/include 14:09:26 -- Installing: /usr/local/include/edgex 14:09:26 -- Installing: /usr/local/include/edgex/profiles.h 14:09:26 -- Installing: /usr/local/include/edgex/edgex.h 14:09:26 -- Installing: /usr/local/include/edgex/rest-server.h 14:09:26 -- Installing: /usr/local/include/edgex/edgex-base.h 14:09:26 -- Installing: /usr/local/include/edgex/devices.h 14:09:26 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:09:26 -- Installing: /usr/local/include/devsdk 14:09:26 -- Installing: /usr/local/include/devsdk/devsdk.h 14:09:26 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:09:26 -- Installing: /usr/local/include/iot 14:09:26 -- Installing: /usr/local/include/iot/thread.h 14:09:26 -- Installing: /usr/local/include/iot/hash.h 14:09:26 -- Installing: /usr/local/include/iot/typecode.h 14:09:26 -- Installing: /usr/local/include/iot/threadpool.h 14:09:26 -- Installing: /usr/local/include/iot/uuid.h 14:09:26 -- Installing: /usr/local/include/iot/logger.h 14:09:26 -- Installing: /usr/local/include/iot/config.h 14:09:26 -- Installing: /usr/local/include/iot/os.h 14:09:26 -- Installing: /usr/local/include/iot/container.h 14:09:26 -- Installing: /usr/local/include/iot/scheduler.h 14:09:26 -- Installing: /usr/local/include/iot/defs.h 14:09:26 -- Installing: /usr/local/include/iot/iot.h 14:09:26 -- Installing: /usr/local/include/iot/component.h 14:09:26 -- Installing: /usr/local/include/iot/os 14:09:26 -- Installing: /usr/local/include/iot/os/linux.h 14:09:26 -- Installing: /usr/local/include/iot/os/zephyr.h 14:09:26 -- Installing: /usr/local/include/iot/os/macos.h 14:09:26 -- Installing: /usr/local/include/iot/base64.h 14:09:26 -- Installing: /usr/local/include/iot/time.h 14:09:26 -- Installing: /usr/local/include/iot/data.h 14:09:26 -- Installing: /usr/local/include/iot/json.h 14:09:26 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:09:26 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:09:26 make: Leaving directory '/tmp/sdk/build/release' 14:09:27 Removing intermediate container 4e7b1b26b5c0 14:09:27 ---> 84dc2a5d3704 14:09:27 Step 14/22 : FROM ${BASE} 14:09:27 ---> 95f6e8fcc511 14:09:27 Step 15/22 : LABEL maintainer="IOTech " 14:09:27 ---> Running in 80d33f580865 14:09:27 Removing intermediate container 80d33f580865 14:09:27 ---> b0c7731697f4 14:09:27 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 14:09:27 ---> Running in d1cbfef66da5 14:09:27 Connecting to iotech.jfrog.io (63.32.116.203:443) 14:09:28 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:09:28 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:09:28 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:09:28 Removing intermediate container d1cbfef66da5 14:09:28 ---> 64c4f32ac257 14:09:28 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:09:28 ---> Running in d4314e8b87d7 14:09:28 Removing intermediate container d4314e8b87d7 14:09:28 ---> 35d6a54b6cb9 14:09:28 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 14:09:28 ---> Running in c6577f05210a 14:09:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:09:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:09:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 14:09:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:09:31 (1/6) Installing curl (7.80.0-r1) 14:09:31 ERROR: curl-7.80.0-r1: package mentioned in index not found (try 'apk update') 14:09:31 (2/6) Installing hiredis (1.0.2-r0) 14:09:31 (3/6) Installing hiredis-dev (1.0.2-r0) 14:09:31 (4/6) Installing libcbor (0.8.0-r0) 14:09:31 (5/6) Installing libuuid (2.37.4-r0) 14:09:32 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 14:09:32 1 error; 283 MiB in 82 packages 14:09:32 The command '/bin/sh -c 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' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:33 14:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:33 latest: Pulling from edgex-lftools-log-publisher 14:09:33 5eb5b503b376: Pulling fs layer 14:09:33 5c69ac0246d0: Pulling fs layer 14:09:33 ec43610c2a17: Pulling fs layer 14:09:33 3a2ae6a8a46f: Pulling fs layer 14:09:33 33b1e0a273af: Pulling fs layer 14:09:33 5d3b04190fa2: Pulling fs layer 14:09:33 2f39f015ded8: Pulling fs layer 14:09:33 5d3b04190fa2: Waiting 14:09:33 3a2ae6a8a46f: Waiting 14:09:33 33b1e0a273af: Waiting 14:09:33 2f39f015ded8: Waiting 14:09:33 5c69ac0246d0: Download complete 14:09:33 3a2ae6a8a46f: Verifying Checksum 14:09:33 3a2ae6a8a46f: Download complete 14:09:33 33b1e0a273af: Verifying Checksum 14:09:33 33b1e0a273af: Download complete 14:09:33 ec43610c2a17: Verifying Checksum 14:09:33 ec43610c2a17: Download complete 14:09:33 5d3b04190fa2: Verifying Checksum 14:09:33 5d3b04190fa2: Download complete 14:09:33 5eb5b503b376: Verifying Checksum 14:09:33 5eb5b503b376: Download complete 14:09:34 2f39f015ded8: Verifying Checksum 14:09:34 2f39f015ded8: Download complete 14:09:35 5eb5b503b376: Pull complete 14:09:35 5c69ac0246d0: Pull complete 14:09:35 ec43610c2a17: Pull complete 14:09:35 3a2ae6a8a46f: Pull complete 14:09:35 33b1e0a273af: Pull complete 14:09:36 5d3b04190fa2: Pull complete 14:09:40 2f39f015ded8: Pull complete 14:09:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:40 prd-ubuntu20.04-docker-8c-8g-17417 does not seem to be running inside a container 14:09:40 $ 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 14:09:41 $ docker top 4f1252fe939d490a8a4c3535ac5b39af4cc1debba362cf2f9f29222dc037c8e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:42 ---> job-cost.sh 14:09:42 lf-activate-venv: SKIPPING 14:09:42 INFO: No Stack... 14:09:42 INFO: Retrieving Pricing Info for: v3-standard-8 14:09:43 INFO: Archiving Costs [Pipeline] sh 14:09:43 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 14:09:43 + cut -d, -f6 [Pipeline] lock 14:09:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] 14:09:43 Resource [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] did not exist. Created. 14:09:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:09:43 + echo total: 0.2199999988079071 [Pipeline] stash 14:09:43 Stashed 1 file(s) [Pipeline] } 14:09:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 14:09:43 $ docker stop --time=1 4f1252fe939d490a8a4c3535ac5b39af4cc1debba362cf2f9f29222dc037c8e1 14:09:45 $ docker rm -f 4f1252fe939d490a8a4c3535ac5b39af4cc1debba362cf2f9f29222dc037c8e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:09:45 Failed in branch amd64 14:10:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17418 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 14:10:49 Running in /w/workspace/device-sdk-c/27 [Pipeline] { [Pipeline] checkout 14:10:49 Selected Git installation does not exist. Using Default 14:10:49 The recommended git tool is: NONE 14:10:55 using credential edgex-jenkins-ssh 14:10:55 Cloning the remote Git repository 14:10:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:10:55 > git init /w/workspace/device-sdk-c/27 # timeout=10 14:10:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:10:55 > git --version # timeout=10 14:10:55 > git --version # 'git version 2.25.1' 14:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 14:10:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:10:57 Avoid second fetch 14:10:57 Checking out Revision 1086c909c01125341e32c6ebb8870b6cabe987d5 (main) 14:10:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:10:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:10:57 > git config core.sparsecheckout # timeout=10 14:10:57 > git checkout -f 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 14:11:01 Commit message: "feat: Use Vault access token for Consul (#422)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:11:02 % Total % Received % Xferd Average Speed Time Time Time Current 14:11:02 Dload Upload Total Spent Left Speed 14:11:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 71372 0 --:--:-- --:--:-- --:--:-- 71372 [Pipeline] sh 14:11:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:11:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 14:11:03 sudo tee /etc/docker/daemon.new 14:11:03 { 14:11:03 "registry-mirrors": [ 14:11:03 "https://nexus3.edgexfoundry.org:10001" 14:11:03 ], 14:11:03 "bip": "10.250.0.254/24", 14:11:03 "hosts": [ 14:11:03 "tcp://0.0.0.0:5555", 14:11:03 "unix:///var/run/docker.sock" 14:11:03 ], 14:11:03 "mtu": 1458, 14:11:03 "selinux-enabled": true, 14:11:03 "seccomp-profile": "/etc/docker/seccomp.json" 14:11:03 } [Pipeline] sh 14:11:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:11:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:11:22 provisioning config files... 14:11:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/27@tmp/config9133021866151194856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:11:22 ---> docker-login.sh 14:11:22 nexus3.edgexfoundry.org:10001 14:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:23 Configure a credential helper to remove this warning. See 14:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:23 14:11:23 Login Succeeded 14:11:23 nexus3.edgexfoundry.org:10002 14:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:24 Configure a credential helper to remove this warning. See 14:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:24 14:11:24 Login Succeeded 14:11:24 nexus3.edgexfoundry.org:10003 14:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:25 Configure a credential helper to remove this warning. See 14:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:25 14:11:25 Login Succeeded 14:11:25 nexus3.edgexfoundry.org:10004 14:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:25 Configure a credential helper to remove this warning. See 14:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:25 14:11:25 Login Succeeded 14:11:25 docker.io 14:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:11:26 Configure a credential helper to remove this warning. See 14:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:11:26 14:11:26 Login Succeeded 14:11:26 ---> docker-login.sh ends [Pipeline] } 14:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:26 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:11:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:11:26 ========================================================= 14:11:26 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:11:26 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:26 + 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 . 14:11:27 Sending build context to Docker daemon 2.733MB 14:11:27 Step 1/22 : ARG BASE=alpine:3.15 14:11:27 Step 2/22 : FROM ${BASE} as builder 14:11:27 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:11:27 9981e73032c8: Pulling fs layer 14:11:27 2a34a092ebf8: Pulling fs layer 14:11:27 1928f2f5eed1: Pulling fs layer 14:11:27 2a34a092ebf8: Verifying Checksum 14:11:27 2a34a092ebf8: Download complete 14:11:27 9981e73032c8: Download complete 14:11:27 9981e73032c8: Pull complete 14:11:28 2a34a092ebf8: Pull complete 14:11:29 1928f2f5eed1: Verifying Checksum 14:11:29 1928f2f5eed1: Download complete 14:11:37 1928f2f5eed1: Pull complete 14:11:37 Digest: sha256:a37ac18e3346f1207f128df2ed5908582a11844daa8098035d7eb30aeded1086 14:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:11:37 ---> cad489bbaf40 14:11:37 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 14:11:38 ---> Running in b33e5713dbec 14:11:39 Connecting to iotech.jfrog.io (52.209.16.248:443) 14:11:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:11:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:11:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:11:40 Removing intermediate container b33e5713dbec 14:11:40 ---> 40733d82014d 14:11:40 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:11:40 ---> Running in 4e15679fe837 14:11:42 Removing intermediate container 4e15679fe837 14:11:42 ---> 952d4fdf567d 14:11:42 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 14:11:42 ---> Running in 7508d6d91426 14:11:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:11:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:11:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 14:11:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:11:46 (1/31) Installing hiredis (1.0.2-r0) 14:11:46 (2/31) Installing hiredis-dev (1.0.2-r0) 14:11:46 (3/31) Installing libcbor (0.8.0-r0) 14:11:46 (4/31) Installing libcbor-dev (0.8.0-r0) 14:11:46 (5/31) Installing ncurses-dev (6.3_p20211120-r0) 14:11:46 (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 14:11:47 (7/31) Installing util-linux (2.37.4-r0) 14:11:47 (8/31) Installing libblkid (2.37.4-r0) 14:11:48 (9/31) Installing libeconf (0.4.2-r0) 14:11:48 (10/31) Installing libuuid (2.37.4-r0) 14:11:48 (11/31) Installing libfdisk (2.37.4-r0) 14:11:48 (12/31) Installing libmount (2.37.4-r0) 14:11:48 (13/31) Installing libsmartcols (2.37.4-r0) 14:11:48 (14/31) Installing util-linux-misc (2.37.4-r0) 14:11:48 (15/31) Installing linux-pam (1.5.2-r0) 14:11:48 (16/31) Installing runuser (2.37.4-r0) 14:11:48 (17/31) Installing hexdump (2.37.4-r0) 14:11:49 (18/31) Installing uuidgen (2.37.4-r0) 14:11:49 (19/31) Installing blkid (2.37.4-r0) 14:11:49 (20/31) Installing sfdisk (2.37.4-r0) 14:11:49 (21/31) Installing mcookie (2.37.4-r0) 14:11:49 (22/31) Installing wipefs (2.37.4-r0) 14:11:49 (23/31) Installing cfdisk (2.37.4-r0) 14:11:49 (24/31) Installing flock (2.37.4-r0) 14:11:49 (25/31) Installing lsblk (2.37.4-r0) 14:11:49 (26/31) Installing libcap-ng (0.8.2-r1) 14:11:49 (27/31) Installing setpriv (2.37.4-r0) 14:11:49 (28/31) Installing logger (2.37.4-r0) 14:11:49 (29/31) Installing partx (2.37.4-r0) 14:11:49 (30/31) Installing findmnt (2.37.4-r0) 14:11:50 (31/31) Installing util-linux-dev (2.37.4-r0) 14:11:50 Executing busybox-1.34.1-r5.trigger 14:11:50 OK: 289 MiB in 108 packages 14:11:51 Removing intermediate container 7508d6d91426 14:11:51 ---> 414651535067 14:11:51 Step 6/22 : RUN mkdir /tmp/sdk 14:11:51 ---> Running in 88204638df52 14:11:53 Removing intermediate container 88204638df52 14:11:53 ---> ce26c628cf26 14:11:53 Step 7/22 : COPY VERSION /tmp/sdk 14:11:53 ---> a55ae4301799 14:11:53 Step 8/22 : COPY src /tmp/sdk/src 14:11:54 ---> fc48bd46c22a 14:11:54 Step 9/22 : COPY include /tmp/sdk/include 14:11:56 ---> a594b7bb0312 14:11:56 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:11:56 ---> aa65f9fe38e3 14:11:56 Step 11/22 : COPY LICENSE /tmp/sdk 14:11:57 ---> 6c4157db6ab5 14:11:57 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:11:57 ---> 50b4add141db 14:11:57 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:11:57 ---> Running in 00606960e7cc 14:11:58 + CPPCHECK=false 14:11:58 + DOCGEN=false 14:11:58 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:11:58 + TOMLVER=SDK-0.2 14:11:58 + CUTILVER=1.2.2 14:11:58 + '[' 0 -gt 0 ] 14:11:58 + readlink -f ./scripts/build.sh 14:11:58 + dirname /tmp/sdk/scripts/build.sh 14:11:58 + dirname /tmp/sdk/scripts 14:11:58 + ROOT=/tmp/sdk 14:11:58 + cd /tmp/sdk 14:11:58 + '[' '!' -d deps ] 14:11:58 + mkdir deps 14:11:58 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:11:58 + tar -C deps -z -x -f - 14:11:58 Connecting to github.com (140.82.113.4:443) 14:11:59 Connecting to codeload.github.com (140.82.113.10:443) 14:11:59 writing to stdout 14:11:59 - 100% |********************************| 16451 0:00:00 ETA 14:11:59 written to stdout 14:11:59 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:11:59 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 14:11:59 + tar -C deps -z -x -f - 14:11:59 Connecting to github.com (140.82.113.4:443) 14:11:59 Connecting to codeload.github.com (140.82.113.10:443) 14:11:59 writing to stdout 14:11:59 - 100% |********************************| 189k 0:00:00 ETA 14:11:59 written to stdout 14:11:59 + mkdir -p src/c/iot 14:11:59 + 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 14:11:59 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 14:11:59 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 14:11:59 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 14:11:59 + mkdir -p include/iot 14:11:59 + 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 14:11:59 + mkdir -p include/iot/os 14:11:59 + 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 14:11:59 + mkdir -p /tmp/sdk/build/release 14:11:59 + cd /tmp/sdk/build/release 14:11:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:12:00 -- The C compiler identification is GNU 10.3.1 14:12:00 -- Detecting C compiler ABI info 14:12:00 -- Detecting C compiler ABI info - done 14:12:00 -- Check for working C compiler: /usr/bin/cc - skipped 14:12:00 -- Detecting C compile features 14:12:00 -- Detecting C compile features - done 14:12:00 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:12:01 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:12:01 -- Found LIBYAML: /usr/lib/libyaml.so 14:12:01 -- Found LIBUUID: /usr/lib/libuuid.so 14:12:01 -- Found LIBCBOR: /usr/lib/libcbor.so 14:12:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:12:01 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:12:01 -- C SDK 2.2.0-dev.11 for Linux 14:12:01 -- Performing Test CSDK_HAVE_ATOMIC 14:12:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:12:01 -- Found Curses: /usr/lib/libcurses.so 14:12:01 -- Configuring done 14:12:01 -- Generating done 14:12:01 -- Build files have been written to: /tmp/sdk/build/release 14:12:01 + make all package 14:12:01 + tee release.log 14:12:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:12:02 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:12:03 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:12:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:12:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:12:06 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:12:07 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:12:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:12:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:12:10 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:12:12 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:12:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:12:14 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:12:14 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:12:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:12:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:12:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:12:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:12:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:12:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:12:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:12:20 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:12:20 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:12:20 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:12:20 275 | const iot_component_factory_t * factory; 14:12:20 | ^~~~~~~ 14:12:21 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:12:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:12:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:12:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:12:27 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:12:28 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:12:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:12:30 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:12:30 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:12:31 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:12:31 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:12:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:12:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:12:34 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:12:36 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:12:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:12:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:12:41 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:12:42 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:12:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:12:42 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:12:42 /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] 14:12:42 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:12:42 | ^~~~~~~~~~~~~ 14:12:42 | | 14:12:42 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:12:42 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:12:42 /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 *)' 14:12:42 2784 | MHD_KeyValueIterator iterator, 14:12:42 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:12:42 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:12:42 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:12:42 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:12:42 | ^~~~~~~~~~~~ 14:12:42 | | 14:12:42 | 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 **)} 14:12:42 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:12:42 /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 **)'} 14:12:42 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:12:42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:12:42 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:12:42 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:12:42 | ^~~~~~~~~~~~ 14:12:42 | | 14:12:42 | 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 **)} 14:12:42 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:12:42 /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 **)'} 14:12:42 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:12:42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:12:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:12:46 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:12:46 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:12:47 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:12:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:12:50 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:12:55 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:12:55 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:12:56 [ 76%] Linking C shared library libcsdk.so 14:12:56 [ 76%] Built target csdk 14:12:56 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:12:57 [ 79%] Linking C executable template 14:12:57 [ 79%] Built target template 14:12:57 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:12:58 [ 82%] Linking C executable device-counter 14:12:58 [ 82%] Built target device-counter 14:12:58 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:12:59 [ 85%] Linking C executable device-random 14:12:59 [ 85%] Built target device-random 14:12:59 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:13:00 [ 88%] Linking C executable device-gyro 14:13:00 [ 88%] Built target device-gyro 14:13:00 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:13:00 [ 91%] Linking C executable device-bitfields 14:13:01 [ 91%] Built target device-bitfields 14:13:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:13:02 [ 94%] Linking C executable template-discovery 14:13:02 [ 94%] Built target template-discovery 14:13:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:13:03 [ 97%] Linking C executable device-file 14:13:03 [ 97%] Built target device-file 14:13:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:13:04 [100%] Linking C executable device-terminal 14:13:04 [100%] Built target device-terminal 14:13:04 Run CPack packaging tool... 14:13:04 CPack: Create package using TGZ 14:13:04 CPack: Install projects 14:13:04 CPack: - Run preinstall target for: Csdk 14:13:05 CPack: - Install project: Csdk [] 14:13:05 CPack: Create package 14:13:05 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.11.tar.gz generated. 14:13:05 + '[' false '=' true ] 14:13:05 + '[' false '=' true ] 14:13:05 + mkdir -p /tmp/sdk/build/debug 14:13:05 + cd /tmp/sdk/build/debug 14:13:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:13:05 -- The C compiler identification is GNU 10.3.1 14:13:05 -- Detecting C compiler ABI info 14:13:06 -- Detecting C compiler ABI info - done 14:13:06 -- Check for working C compiler: /usr/bin/cc - skipped 14:13:06 -- Detecting C compile features 14:13:06 -- Detecting C compile features - done 14:13:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:13:06 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 14:13:06 -- Found LIBYAML: /usr/lib/libyaml.so 14:13:06 -- Found LIBUUID: /usr/lib/libuuid.so 14:13:06 -- Found LIBCBOR: /usr/lib/libcbor.so 14:13:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:13:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:13:06 -- C SDK 2.2.0-dev.11 for Linux 14:13:06 -- Performing Test CSDK_HAVE_ATOMIC 14:13:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:13:06 -- Found Curses: /usr/lib/libcurses.so 14:13:07 -- Configuring done 14:13:07 -- Generating done 14:13:07 -- Build files have been written to: /tmp/sdk/build/debug 14:13:07 + make 14:13:07 + tee debug.log 14:13:07 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:13:08 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:13:08 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:13:08 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:13:09 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:13:09 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:13:10 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:13:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:13:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:13:11 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:13:11 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:13:12 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:13:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:13:12 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:13:13 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:13:13 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:13:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:13:14 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:13:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:13:14 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:13:15 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:13:15 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:13:15 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 14:13:15 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 14:13:15 275 | const iot_component_factory_t * factory; 14:13:15 | ^~~~~~~ 14:13:15 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:13:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:13:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:13:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:13:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:13:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:13:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:13:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:13:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:13:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:13:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 14:13:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:13:20 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:13:20 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:13:21 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:13:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:13:22 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:13:22 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:13:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:13:23 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:13:23 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 14:13:23 /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] 14:13:23 394 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 14:13:23 | ^~~~~~~~~~~~~ 14:13:23 | | 14:13:23 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 14:13:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:13:23 /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 *)' 14:13:23 2784 | MHD_KeyValueIterator iterator, 14:13:23 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 14:13:23 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 14:13:23 /tmp/sdk/src/c/rest-server.c:501:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:13:23 501 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 14:13:23 | ^~~~~~~~~~~~ 14:13:23 | | 14:13:23 | 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 **)} 14:13:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:13:23 /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 **)'} 14:13:23 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:13:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:13:23 /tmp/sdk/src/c/rest-server.c:512:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 14:13:23 512 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 14:13:23 | ^~~~~~~~~~~~ 14:13:23 | | 14:13:23 | 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 **)} 14:13:23 In file included from /tmp/sdk/src/c/rest-server.c:21: 14:13:23 /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 **)'} 14:13:23 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, 14:13:23 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 14:13:23 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:13:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:13:25 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:13:25 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:13:26 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:13:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:13:28 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:13:28 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:13:28 [ 76%] Linking C shared library libcsdk.so 14:13:28 [ 76%] Built target csdk 14:13:28 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:13:29 [ 79%] Linking C executable template 14:13:29 [ 79%] Built target template 14:13:29 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:13:30 [ 82%] Linking C executable device-counter 14:13:30 [ 82%] Built target device-counter 14:13:30 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:13:30 [ 85%] Linking C executable device-random 14:13:30 [ 85%] Built target device-random 14:13:30 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:13:31 [ 88%] Linking C executable device-gyro 14:13:31 [ 88%] Built target device-gyro 14:13:31 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:13:31 [ 91%] Linking C executable device-bitfields 14:13:31 [ 91%] Built target device-bitfields 14:13:31 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:13:32 [ 94%] Linking C executable template-discovery 14:13:32 [ 94%] Built target template-discovery 14:13:32 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:13:33 [ 97%] Linking C executable device-file 14:13:33 [ 97%] Built target device-file 14:13:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:13:33 [100%] Linking C executable device-terminal 14:13:34 [100%] Built target device-terminal 14:13:34 make: Entering directory '/tmp/sdk/build/release' 14:13:34 make[1]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 76%] Built target csdk 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 79%] Built target template 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 82%] Built target device-counter 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 85%] Built target device-random 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 88%] Built target device-gyro 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 91%] Built target device-bitfields 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 94%] Built target template-discovery 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [ 97%] Built target device-file 14:13:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:13:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:13:34 [100%] Built target device-terminal 14:13:34 make[1]: Leaving directory '/tmp/sdk/build/release' 14:13:34 Install the project... 14:13:34 -- Install configuration: "Release" 14:13:34 -- Installing: /usr/local/lib/libcsdk.so 14:13:34 -- Installing: /usr/local/include 14:13:34 -- Installing: /usr/local/include/devsdk 14:13:34 -- Installing: /usr/local/include/devsdk/devsdk.h 14:13:34 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:13:34 -- Installing: /usr/local/include/edgex 14:13:34 -- Installing: /usr/local/include/edgex/rest-server.h 14:13:34 -- Installing: /usr/local/include/edgex/edgex.h 14:13:34 -- Installing: /usr/local/include/edgex/edgex-base.h 14:13:34 -- Installing: /usr/local/include/edgex/devices.h 14:13:34 -- Installing: /usr/local/include/edgex/profiles.h 14:13:34 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:13:34 -- Installing: /usr/local/include/iot 14:13:34 -- Installing: /usr/local/include/iot/threadpool.h 14:13:34 -- Installing: /usr/local/include/iot/defs.h 14:13:34 -- Installing: /usr/local/include/iot/time.h 14:13:34 -- Installing: /usr/local/include/iot/base64.h 14:13:34 -- Installing: /usr/local/include/iot/component.h 14:13:34 -- Installing: /usr/local/include/iot/scheduler.h 14:13:34 -- Installing: /usr/local/include/iot/config.h 14:13:34 -- Installing: /usr/local/include/iot/container.h 14:13:34 -- Installing: /usr/local/include/iot/uuid.h 14:13:34 -- Installing: /usr/local/include/iot/os.h 14:13:34 -- Installing: /usr/local/include/iot/thread.h 14:13:34 -- Installing: /usr/local/include/iot/data.h 14:13:34 -- Installing: /usr/local/include/iot/typecode.h 14:13:34 -- Installing: /usr/local/include/iot/hash.h 14:13:34 -- Installing: /usr/local/include/iot/logger.h 14:13:34 -- Installing: /usr/local/include/iot/os 14:13:34 -- Installing: /usr/local/include/iot/os/zephyr.h 14:13:34 -- Installing: /usr/local/include/iot/os/macos.h 14:13:34 -- Installing: /usr/local/include/iot/os/linux.h 14:13:34 -- Installing: /usr/local/include/iot/json.h 14:13:34 -- Installing: /usr/local/include/iot/iot.h 14:13:34 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:13:34 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:13:34 make: Leaving directory '/tmp/sdk/build/release' 14:13:36 Removing intermediate container 00606960e7cc 14:13:36 ---> 8e6195cb44a8 14:13:36 Step 14/22 : FROM ${BASE} 14:13:36 ---> cad489bbaf40 14:13:36 Step 15/22 : LABEL maintainer="IOTech " 14:13:36 ---> Running in 02c579a7febe 14:13:36 Removing intermediate container 02c579a7febe 14:13:36 ---> bb0393f98f47 14:13:36 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 14:13:37 ---> Running in a7903a65ff82 14:13:38 Connecting to iotech.jfrog.io (52.212.118.195:443) 14:13:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:13:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:13:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:13:38 Removing intermediate container a7903a65ff82 14:13:38 ---> 8da1d3307739 14:13:38 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 14:13:38 ---> Running in 5f2c61c9fa8c 14:13:40 Removing intermediate container 5f2c61c9fa8c 14:13:40 ---> 4afff836ae9c 14:13:40 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 14:13:40 ---> Running in 37ee58490876 14:13:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:13:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:13:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 14:13:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:13:43 (1/6) Installing curl (7.80.0-r1) 14:13:43 ERROR: curl-7.80.0-r1: package mentioned in index not found (try 'apk update') 14:13:43 (2/6) Installing hiredis (1.0.2-r0) 14:13:44 (3/6) Installing hiredis-dev (1.0.2-r0) 14:13:44 (4/6) Installing libcbor (0.8.0-r0) 14:13:44 (5/6) Installing libuuid (2.37.4-r0) 14:13:44 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 14:13:45 1 error; 278 MiB in 82 packages 14:13:46 The command '/bin/sh -c 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' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:13:46 14:13:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:13:47 arm64: Pulling from edgex-lftools-log-publisher 14:13:47 8998bd30e6a1: Pulling fs layer 14:13:47 04944245beec: Pulling fs layer 14:13:47 699f458cf7ca: Pulling fs layer 14:13:47 765212b225bb: Pulling fs layer 14:13:47 f23df028b6ca: Pulling fs layer 14:13:47 d65c8cfc05b1: Pulling fs layer 14:13:47 2437ff75d9bd: Pulling fs layer 14:13:47 f23df028b6ca: Waiting 14:13:47 d65c8cfc05b1: Waiting 14:13:47 765212b225bb: Waiting 14:13:47 2437ff75d9bd: Waiting 14:13:47 04944245beec: Verifying Checksum 14:13:47 04944245beec: Download complete 14:13:47 765212b225bb: Verifying Checksum 14:13:47 765212b225bb: Download complete 14:13:47 f23df028b6ca: Verifying Checksum 14:13:47 f23df028b6ca: Download complete 14:13:47 d65c8cfc05b1: Download complete 14:13:47 699f458cf7ca: Verifying Checksum 14:13:47 699f458cf7ca: Download complete 14:13:47 8998bd30e6a1: Verifying Checksum 14:13:47 8998bd30e6a1: Download complete 14:13:50 2437ff75d9bd: Verifying Checksum 14:13:50 2437ff75d9bd: Download complete 14:13:52 8998bd30e6a1: Pull complete 14:13:52 04944245beec: Pull complete 14:13:54 699f458cf7ca: Pull complete 14:13:54 765212b225bb: Pull complete 14:13:55 f23df028b6ca: Pull complete 14:13:55 d65c8cfc05b1: Pull complete 14:14:10 2437ff75d9bd: Pull complete 14:14:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-17418 does not seem to be running inside a container 14:14:10 $ 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/27 -v /w/workspace/device-sdk-c/27:/w/workspace/device-sdk-c/27:rw,z -v /w/workspace/device-sdk-c/27@tmp:/w/workspace/device-sdk-c/27@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 14:14:13 $ docker top 36ac962cdb4e8637e05e1a4ce4d63da6226b94dbfbe7f32e5ea0e6fa1a4ffdd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:14:14 ---> job-cost.sh 14:14:14 lf-activate-venv: SKIPPING 14:14:14 INFO: No Stack... 14:14:14 INFO: Retrieving Pricing Info for: v3-standard-4 14:14:15 INFO: Archiving Costs [Pipeline] sh 14:14:15 + cat /w/workspace/device-sdk-c/27/archives/cost.csv 14:14:15 + cut -d, -f6 [Pipeline] lock 14:14:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] 14:14:15 Resource [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] did not exist. Created. 14:14:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:14:16 /w/workspace/device-sdk-c/27@tmp/durable-8fb0f250/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:14:17 + echo total: 0.10999999940395355 [Pipeline] stash 14:14:17 Warning: overwriting stash ‘stack-cost’ 14:14:17 Stashed 1 file(s) [Pipeline] } 14:14:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 14:14:17 $ docker stop --time=1 36ac962cdb4e8637e05e1a4ce4d63da6226b94dbfbe7f32e5ea0e6fa1a4ffdd2 14:14:19 $ docker rm -f 36ac962cdb4e8637e05e1a4ce4d63da6226b94dbfbe7f32e5ea0e6fa1a4ffdd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:14:19 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:14:20 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 14:14:20 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:14:20 total 16 14:14:20 drwxr-xr-x 3 root root 4096 Jul 11 14:09 . 14:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 14:09 .. 14:14:20 drwxr-xr-x 2 root root 4096 Jul 11 14:09 cost 14:14:20 -rw-r--r-- 1 root root 82 Jul 11 14:09 cost.csv 14:14:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:14:20 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:14:20 total 16 14:14:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 14:09 . 14:14:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 14:09 .. 14:14:20 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 14:09 cost 14:14:20 -rw-r--r-- 1 jenkins jenkins 82 Jul 11 14:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:14:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:14:21 ---> package-listing.sh 14:14:21 ++ facter osfamily 14:14:21 ++ tr '[:upper:]' '[:lower:]' 14:14:21 + OS_FAMILY=debian 14:14:21 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 14:14:21 + START_PACKAGES=/tmp/packages_start.txt 14:14:21 + END_PACKAGES=/tmp/packages_end.txt 14:14:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:14:21 + PACKAGES=/tmp/packages_start.txt 14:14:21 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:14:21 + PACKAGES=/tmp/packages_end.txt 14:14:21 + case "${OS_FAMILY}" in 14:14:21 + dpkg -l 14:14:21 + grep '^ii' 14:14:21 + '[' -f /tmp/packages_start.txt ']' 14:14:21 + '[' -f /tmp/packages_end.txt ']' 14:14:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:14:21 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:14:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 14:14:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 14:14:21 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 14:14:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:14:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:14:22 prd-ubuntu20.04-docker-8c-8g-17417 does not seem to be running inside a container 14:14:22 $ 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 14:14:22 $ docker top 61c7002c25d1ca7716269d6bf23c20e5875b9956fdc910fb4d970473492a0beb -eo pid,comm [Pipeline] { [Pipeline] sh 14:14:23 + touch /tmp/pre-build-complete [Pipeline] sh 14:14:23 + mkdir -p /var/log/sysstat [Pipeline] sh 14:14:23 + ls /var/log/sa-host 14:14:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:14:23 provisioning config files... 14:14:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8394516794169550817tmp [Pipeline] { [Pipeline] echo 14:14:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:14:24 ---> create-netrc.sh [Pipeline] } 14:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:14:24 ---> python-tools-install.sh [Pipeline] echo 14:14:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:14:24 ---> sudo-logs.sh 14:14:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:14:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:14:25 ---> job-cost.sh 14:14:25 lf-activate-venv: SKIPPING 14:14:25 DEBUG: total: 0.2199999988079071 14:14:25 INFO: Retrieving Stack Cost... 14:14:25 INFO: Retrieving Pricing Info for: v3-standard-8 14:14:25 INFO: Archiving Costs [Pipeline] echo 14:14:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:14:26 ---> logs-deploy.sh 14:14:26 lf-activate-venv: SKIPPING 14:14:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/27 14:14:26 INFO: archiving workspace using pattern(s): 14:14:27 Archives upload complete. 14:14:27 INFO: archiving logs to Nexus