Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3414d0279792f3e48f3ae73a80499089b78126ca 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-ssh5685531056607114340.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh430987082641923683.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3932047951556230034.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2753798351773025821.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-ssh14980168005787862228.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20393 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 3414d0279792f3e48f3ae73a80499089b78126ca (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 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 Commit message: "feat: add ProtocolProperties validation (#402) (#426)" > git rev-list --no-walk 03b32cf45bc5b3e412caddeb5d4d63e048da2cad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:27:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:27:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:27:52 ========================================================= 10:27:52 EdgeX Global Pipelines Version Info 10:27:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:27:52 ------------------- 10:27:52 stable info: 10:27:52 ------------------- 10:27:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:27:52 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:27:52 Message: update stable to v1.0.238 10:27:53 ------------------- 10:27:53 experimental info: 10:27:53 ------------------- 10:27:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:27:53 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:27:53 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3414d0279792f3e48f3ae73a80499089b78126ca [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3414d02 [Pipeline] echo 10:27:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:53 provisioning config files... 10:27:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4069328859867248104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:54 ---> docker-login.sh 10:27:54 nexus3.edgexfoundry.org:10001 10:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:54 Configure a credential helper to remove this warning. See 10:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:54 10:27:54 Login Succeeded 10:27:54 nexus3.edgexfoundry.org:10002 10:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:54 Configure a credential helper to remove this warning. See 10:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:54 10:27:54 Login Succeeded 10:27:54 nexus3.edgexfoundry.org:10003 10:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:55 Configure a credential helper to remove this warning. See 10:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:55 10:27:55 Login Succeeded 10:27:55 nexus3.edgexfoundry.org:10004 10:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:55 Configure a credential helper to remove this warning. See 10:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:55 10:27:55 Login Succeeded 10:27:55 docker.io 10:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:55 Configure a credential helper to remove this warning. See 10:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:55 10:27:55 Login Succeeded 10:27:55 ---> docker-login.sh ends [Pipeline] } 10:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:27:55 + git rev-list -1 --merges 3414d0279792f3e48f3ae73a80499089b78126ca~1..3414d0279792f3e48f3ae73a80499089b78126ca [Pipeline] echo 10:27:55 -----------> git rev-list -1 --merges 3414d0279792f3e48f3ae73a80499089b78126ca~1..3414d0279792f3e48f3ae73a80499089b78126ca 3414d0279792f3e48f3ae73a80499089b78126ca [false] [Pipeline] sh 10:27:56 + git log --format=format:%s -1 3414d0279792f3e48f3ae73a80499089b78126ca [Pipeline] echo 10:27:56 ========================================================= 10:27:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:27:56 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:27:56 + git rev-list -1 --merges 3414d0279792f3e48f3ae73a80499089b78126ca~1..3414d0279792f3e48f3ae73a80499089b78126ca [Pipeline] echo 10:27:56 -----------> git rev-list -1 --merges 3414d0279792f3e48f3ae73a80499089b78126ca~1..3414d0279792f3e48f3ae73a80499089b78126ca 3414d0279792f3e48f3ae73a80499089b78126ca [false] [Pipeline] sh 10:27:56 + git log --format=format:%s -1 3414d0279792f3e48f3ae73a80499089b78126ca [Pipeline] echo 10:27:56 ========================================================= 10:27:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:27:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:27:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:57 + grep -v github /etc/ssh/ssh_known_hosts 10:27:57 + [ -e /tmp/ssh_known_hosts ] 10:27:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:27:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:27:57 + sudo tee -a /etc/ssh/ssh_known_hosts 10:27:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:57 10:27:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:58 0.1.4: Pulling from edgex-devops/py-git-semver 10:27:58 b85a868b505f: Pulling fs layer 10:27:58 e2be974225ed: Pulling fs layer 10:27:58 339a4e72a1f5: Pulling fs layer 10:27:58 988bab9f4d93: Pulling fs layer 10:27:58 1469e6f7b9e6: Pulling fs layer 10:27:58 eaf3925da568: Pulling fs layer 10:27:58 bab4dde63d76: Pulling fs layer 10:27:58 bde34c3a00c8: Pulling fs layer 10:27:58 b352a97aabf1: Pulling fs layer 10:27:58 4872d77fe225: Pulling fs layer 10:27:58 5851b861e8e6: Pulling fs layer 10:27:58 bab4dde63d76: Waiting 10:27:58 4872d77fe225: Waiting 10:27:58 bde34c3a00c8: Waiting 10:27:58 b352a97aabf1: Waiting 10:27:58 5851b861e8e6: Waiting 10:27:58 988bab9f4d93: Waiting 10:27:58 1469e6f7b9e6: Waiting 10:27:58 eaf3925da568: Waiting 10:27:58 e2be974225ed: Download complete 10:27:58 988bab9f4d93: Verifying Checksum 10:27:58 988bab9f4d93: Download complete 10:27:58 1469e6f7b9e6: Verifying Checksum 10:27:58 1469e6f7b9e6: Download complete 10:27:58 339a4e72a1f5: Verifying Checksum 10:27:58 339a4e72a1f5: Download complete 10:27:58 eaf3925da568: Download complete 10:27:58 bde34c3a00c8: Verifying Checksum 10:27:58 bde34c3a00c8: Download complete 10:27:58 b352a97aabf1: Verifying Checksum 10:27:58 b352a97aabf1: Download complete 10:27:58 4872d77fe225: Verifying Checksum 10:27:58 4872d77fe225: Download complete 10:27:58 5851b861e8e6: Verifying Checksum 10:27:58 5851b861e8e6: Download complete 10:27:58 b85a868b505f: Verifying Checksum 10:27:58 b85a868b505f: Download complete 10:27:58 bab4dde63d76: Verifying Checksum 10:27:58 bab4dde63d76: Download complete 10:28:00 b85a868b505f: Pull complete 10:28:00 e2be974225ed: Pull complete 10:28:00 339a4e72a1f5: Pull complete 10:28:00 988bab9f4d93: Pull complete 10:28:00 1469e6f7b9e6: Pull complete 10:28:01 eaf3925da568: Pull complete 10:28:03 bab4dde63d76: Pull complete 10:28:03 bde34c3a00c8: Pull complete 10:28:03 b352a97aabf1: Pull complete 10:28:03 4872d77fe225: Pull complete 10:28:03 5851b861e8e6: Pull complete 10:28:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:28:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:28:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:03 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:28:05 $ docker top b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 -eo pid,comm 10:28:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:28:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:05 [ssh-agent] Looking for ssh-agent implementation... 10:28:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:05 $ docker exec b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 ssh-agent 10:28:05 SSH_AUTH_SOCK=/tmp/ssh-W54iYReMQj5E/agent.32 10:28:05 SSH_AGENT_PID=39 10:28:05 Running ssh-add (command line suppressed) 10:28:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2492563649605840378.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2492563649605840378.key) 10:28:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:06 + git tag --points-at HEAD [Pipeline] } 10:28:06 $ docker exec --env ******** --env ******** b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 ssh-agent -k 10:28:06 unset SSH_AUTH_SOCK; 10:28:06 unset SSH_AGENT_PID; 10:28:06 echo Agent pid 39 killed; 10:28:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:28:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:06 [ssh-agent] Looking for ssh-agent implementation... 10:28:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:06 $ docker exec b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 ssh-agent 10:28:06 SSH_AUTH_SOCK=/tmp/ssh-GRGqwxDJYBZN/agent.72 10:28:06 SSH_AGENT_PID=78 10:28:06 Running ssh-add (command line suppressed) 10:28:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8473906713367259344.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8473906713367259344.key) 10:28:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:06 + git semver init 10:28:07 2022-07-18 10:28:07,116 [run_init] DEBUG init version:0.0.0 force:False 10:28:07 2022-07-18 10:28:07,117 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:28:07 2022-07-18 10:28:07,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:28:07 2022-07-18 10:28:07,118 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:28:08 2022-07-18 10:28:07,811 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 10:28:08 2022-07-18 10:28:07,811 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 10:28:08 2022-07-18 10:28:07,811 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:28:08 2022-07-18 10:28:07,812 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:28:08 2.2.0-dev.12 [Pipeline] } 10:28:08 $ docker exec --env ******** --env ******** b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 ssh-agent -k 10:28:08 unset SSH_AUTH_SOCK; 10:28:08 unset SSH_AGENT_PID; 10:28:08 echo Agent pid 78 killed; 10:28:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:08 + git semver [Pipeline] } 10:28:08 $ docker stop --time=1 b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 10:28:10 $ docker rm -f b2b7fc94524a21234b7ae235498e4f2c46a41064fe88741ca0992ab65686c863 [Pipeline] // withDockerContainer [Pipeline] sh 10:28:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:28:10 Stashed 1 file(s) [Pipeline] echo 10:28:10 [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:11 provisioning config files... 10:28:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5836558034656990028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:11 ---> docker-login.sh 10:28:11 nexus3.edgexfoundry.org:10001 10:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:11 Configure a credential helper to remove this warning. See 10:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:11 10:28:11 Login Succeeded 10:28:11 nexus3.edgexfoundry.org:10002 10:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:11 Configure a credential helper to remove this warning. See 10:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:11 10:28:11 Login Succeeded 10:28:11 nexus3.edgexfoundry.org:10003 10:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:11 Configure a credential helper to remove this warning. See 10:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:11 10:28:11 Login Succeeded 10:28:11 nexus3.edgexfoundry.org:10004 10:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:11 Configure a credential helper to remove this warning. See 10:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:11 10:28:11 Login Succeeded 10:28:11 docker.io 10:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:12 Configure a credential helper to remove this warning. See 10:28:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:12 10:28:12 Login Succeeded 10:28:12 ---> docker-login.sh ends [Pipeline] } 10:28:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:28:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:12 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:28:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:12 ========================================================= 10:28:12 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:28:12 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:12 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 10:28:12 Sending build context to Docker daemon 4.556MB 10:28:12 Step 1/22 : ARG BASE=alpine:3.15 10:28:12 Step 2/22 : FROM ${BASE} as builder 10:28:12 latest: Pulling from edgex-devops/edgex-gcc-base 10:28:12 df9b9388f04a: Pulling fs layer 10:28:12 62381f5d8449: Pulling fs layer 10:28:12 df9b9388f04a: Verifying Checksum 10:28:12 df9b9388f04a: Pull complete 10:28:13 62381f5d8449: Verifying Checksum 10:28:13 62381f5d8449: Download complete 10:28:16 62381f5d8449: Pull complete 10:28:16 Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 10:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:28:16 ---> 547c565c9e89 10:28:16 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:28:17 ---> Running in 165b000b6e8f 10:28:17 Connecting to iotech.jfrog.io (54.155.90.35:443) 10:28:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:18 Removing intermediate container 165b000b6e8f 10:28:18 ---> 038b3b2243e8 10:28:18 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:18 ---> Running in f4724a68c2f4 10:28:18 Removing intermediate container f4724a68c2f4 10:28:18 ---> 51b9b1cb889d 10:28:18 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:28:18 ---> Running in fb6078e1c8b4 10:28:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:19 (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:28:19 (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:28:19 (3/33) Installing hiredis (1.0.2-r0) 10:28:19 (4/33) Installing hiredis-dev (1.0.2-r0) 10:28:19 (5/33) Installing libcbor (0.8.0-r0) 10:28:19 (6/33) Installing libcbor-dev (0.8.0-r0) 10:28:19 (7/33) Installing ncurses-dev (6.3_p20211120-r1) 10:28:19 (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:28:20 (9/33) Installing util-linux (2.37.4-r0) 10:28:20 (10/33) Installing libblkid (2.37.4-r0) 10:28:20 (11/33) Installing libeconf (0.4.2-r0) 10:28:20 (12/33) Installing libuuid (2.37.4-r0) 10:28:20 (13/33) Installing libfdisk (2.37.4-r0) 10:28:20 (14/33) Installing libmount (2.37.4-r0) 10:28:20 (15/33) Installing libsmartcols (2.37.4-r0) 10:28:20 (16/33) Installing util-linux-misc (2.37.4-r0) 10:28:20 (17/33) Installing linux-pam (1.5.2-r0) 10:28:20 (18/33) Installing runuser (2.37.4-r0) 10:28:20 (19/33) Installing hexdump (2.37.4-r0) 10:28:20 (20/33) Installing uuidgen (2.37.4-r0) 10:28:20 (21/33) Installing blkid (2.37.4-r0) 10:28:20 (22/33) Installing sfdisk (2.37.4-r0) 10:28:20 (23/33) Installing mcookie (2.37.4-r0) 10:28:20 (24/33) Installing wipefs (2.37.4-r0) 10:28:20 (25/33) Installing cfdisk (2.37.4-r0) 10:28:20 (26/33) Installing flock (2.37.4-r0) 10:28:20 (27/33) Installing lsblk (2.37.4-r0) 10:28:20 (28/33) Installing libcap-ng (0.8.2-r1) 10:28:20 (29/33) Installing setpriv (2.37.4-r0) 10:28:20 (30/33) Installing logger (2.37.4-r0) 10:28:20 (31/33) Installing partx (2.37.4-r0) 10:28:20 (32/33) Installing findmnt (2.37.4-r0) 10:28:20 (33/33) Installing util-linux-dev (2.37.4-r0) 10:28:20 Executing busybox-1.34.1-r5.trigger 10:28:20 OK: 293 MiB in 108 packages 10:28:21 Removing intermediate container fb6078e1c8b4 10:28:21 ---> 73a496f3d011 10:28:21 Step 6/22 : RUN mkdir /tmp/sdk 10:28:21 ---> Running in 9c797313de36 10:28:22 Removing intermediate container 9c797313de36 10:28:22 ---> af64566a1240 10:28:22 Step 7/22 : COPY VERSION /tmp/sdk 10:28:22 ---> 42526674dd66 10:28:22 Step 8/22 : COPY src /tmp/sdk/src 10:28:22 ---> 9939e229a6d4 10:28:22 Step 9/22 : COPY include /tmp/sdk/include 10:28:22 ---> 54b6367dbaed 10:28:22 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:28:22 ---> c8ba7f65c6e3 10:28:22 Step 11/22 : COPY LICENSE /tmp/sdk 10:28:23 ---> 6fd39087a7d7 10:28:23 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:28:23 ---> fd1f0f527446 10:28:23 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:28:23 ---> Running in fec230d29f87 10:28:23 + CPPCHECK=false 10:28:23 + DOCGEN=false 10:28:23 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:28:23 + TOMLVER=SDK-0.2 10:28:23 + CUTILVER=1.2.2 10:28:23 + '[' 0 -gt 0 ] 10:28:23 + readlink -f ./scripts/build.sh 10:28:23 + dirname /tmp/sdk/scripts/build.sh 10:28:23 + dirname /tmp/sdk/scripts 10:28:23 + ROOT=/tmp/sdk 10:28:23 + cd /tmp/sdk 10:28:23 + '[' '!' -d deps ] 10:28:23 + mkdir deps 10:28:23 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:28:23 + tar -C deps -z -x -f - 10:28:23 Connecting to github.com (140.82.112.4:443) 10:28:23 Connecting to codeload.github.com (140.82.113.9:443) 10:28:23 writing to stdout 10:28:23 - 100% |********************************| 16451 0:00:00 ETA 10:28:23 written to stdout 10:28:23 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:28:23 + + tarwget -C deps -z -x -O -f - - 10:28:23 https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:28:23 Connecting to github.com (140.82.112.4:443) 10:28:24 Connecting to codeload.github.com (140.82.113.9:443) 10:28:24 writing to stdout 10:28:24 - 100% |********************************| 189k 0:00:00 ETA 10:28:24 written to stdout 10:28:24 + mkdir -p src/c/iot 10:28:24 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 10:28:24 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:28:24 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:28:24 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:28:24 + mkdir -p include/iot 10:28:24 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 10:28:24 + mkdir -p include/iot/os 10:28:24 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 10:28:24 + mkdir -p /tmp/sdk/build/release 10:28:24 + cd /tmp/sdk/build/release 10:28:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:28:24 -- The C compiler identification is GNU 10.3.1 10:28:24 -- Detecting C compiler ABI info 10:28:24 -- Detecting C compiler ABI info - done 10:28:24 -- Check for working C compiler: /usr/bin/cc - skipped 10:28:24 -- Detecting C compile features 10:28:24 -- Detecting C compile features - done 10:28:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:28:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:28:24 -- Found LIBYAML: /usr/lib/libyaml.so 10:28:24 -- Found LIBUUID: /usr/lib/libuuid.so 10:28:24 -- Found LIBCBOR: /usr/lib/libcbor.so 10:28:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:28:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:28:24 -- C SDK 2.2.0-dev.12 for Linux 10:28:24 -- Performing Test CSDK_HAVE_ATOMIC 10:28:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:28:24 -- Found Curses: /usr/lib/libcurses.so 10:28:24 -- Configuring done 10:28:24 -- Generating done 10:28:24 -- Build files have been written to: /tmp/sdk/build/release 10:28:24 + make all package 10:28:24 + tee release.log 10:28:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:28:24 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:28:24 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:28:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:28:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:28:25 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:28:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:28:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:28:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:28:26 Still waiting to schedule task 10:28:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:28:26 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:28:26 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:28:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:28:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:28:26 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:28:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:28:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:28:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:28:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:28:27 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:28:27 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:28:27 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:28:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:28:28 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:28:28 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:28:28 275 | const iot_component_factory_t * factory; 10:28:28 | ^~~~~~~ 10:28:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:28:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:28:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:28:29 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:28:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:28:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:28:29 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:28:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:28:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:28:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:28:29 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:28:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:28:30 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:28:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:28:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:28:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:28:31 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:28:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:28:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:28:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:28:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:28:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:28:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:28:32 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:28:32 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:28:33 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:28:34 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:28:34 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:28:34 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:28:34 [ 76%] Linking C shared library libcsdk.so 10:28:34 [ 76%] Built target csdk 10:28:34 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:28:34 [ 79%] Linking C executable template 10:28:34 [ 79%] Built target template 10:28:34 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:28:34 [ 82%] Linking C executable device-counter 10:28:34 [ 82%] Built target device-counter 10:28:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:28:34 [ 85%] Linking C executable device-random 10:28:34 [ 85%] Built target device-random 10:28:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:28:34 [ 88%] Linking C executable device-gyro 10:28:34 [ 88%] Built target device-gyro 10:28:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:28:35 [ 91%] Linking C executable device-bitfields 10:28:35 [ 91%] Built target device-bitfields 10:28:35 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:28:35 [ 94%] Linking C executable template-discovery 10:28:35 [ 94%] Built target template-discovery 10:28:35 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:28:35 [ 97%] Linking C executable device-file 10:28:35 [ 97%] Built target device-file 10:28:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:28:35 [100%] Linking C executable device-terminal 10:28:35 [100%] Built target device-terminal 10:28:35 Run CPack packaging tool... 10:28:35 CPack: Create package using TGZ 10:28:35 CPack: Install projects 10:28:35 CPack: - Run preinstall target for: Csdk 10:28:36 CPack: - Install project: Csdk [] 10:28:36 CPack: Create package 10:28:36 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.12.tar.gz generated. 10:28:36 + '[' false '=' true ] 10:28:36 + '[' false '=' true ] 10:28:36 + mkdir -p /tmp/sdk/build/debug 10:28:36 + cd /tmp/sdk/build/debug 10:28:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:28:36 -- The C compiler identification is GNU 10.3.1 10:28:36 -- Detecting C compiler ABI info 10:28:36 -- Detecting C compiler ABI info - done 10:28:36 -- Check for working C compiler: /usr/bin/cc - skipped 10:28:36 -- Detecting C compile features 10:28:36 -- Detecting C compile features - done 10:28:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:28:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:28:36 -- Found LIBYAML: /usr/lib/libyaml.so 10:28:36 -- Found LIBUUID: /usr/lib/libuuid.so 10:28:36 -- Found LIBCBOR: /usr/lib/libcbor.so 10:28:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:28:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:28:36 -- C SDK 2.2.0-dev.12 for Linux 10:28:36 -- Performing Test CSDK_HAVE_ATOMIC 10:28:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:28:36 -- Found Curses: /usr/lib/libcurses.so 10:28:36 -- Configuring done 10:28:36 -- Generating done 10:28:36 -- Build files have been written to: /tmp/sdk/build/debug 10:28:36 + make 10:28:36 + tee debug.log 10:28:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:28:36 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:28:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:28:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:28:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:28:37 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:28:37 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:28:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:28:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:28:37 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:28:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:28:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:28:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:28:37 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:28:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:28:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:28:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:28:38 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:28:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:28:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:28:38 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:28:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:28:38 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:28:38 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:28:38 275 | const iot_component_factory_t * factory; 10:28:38 | ^~~~~~~ 10:28:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:28:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:28:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:28:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:28:38 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:28:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:28:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:28:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:28:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:28:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:28:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:28:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:28:39 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:28:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:28:39 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:28:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:28:39 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:28:39 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:28:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:28:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:28:40 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:28:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:28:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:28:40 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:28:40 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:28:40 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:28:41 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:28:41 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:28:41 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:28:41 [ 76%] Linking C shared library libcsdk.so 10:28:41 [ 76%] Built target csdk 10:28:41 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:28:41 [ 79%] Linking C executable template 10:28:41 [ 79%] Built target template 10:28:41 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:28:41 [ 82%] Linking C executable device-counter 10:28:41 [ 82%] Built target device-counter 10:28:41 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:28:41 [ 85%] Linking C executable device-random 10:28:41 [ 85%] Built target device-random 10:28:41 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:28:41 [ 88%] Linking C executable device-gyro 10:28:41 [ 88%] Built target device-gyro 10:28:41 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:28:42 [ 91%] Linking C executable device-bitfields 10:28:42 [ 91%] Built target device-bitfields 10:28:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:28:42 [ 94%] Linking C executable template-discovery 10:28:42 [ 94%] Built target template-discovery 10:28:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:28:42 [ 97%] Linking C executable device-file 10:28:42 [ 97%] Built target device-file 10:28:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:28:42 [100%] Linking C executable device-terminal 10:28:42 [100%] Built target device-terminal 10:28:42 make: Entering directory '/tmp/sdk/build/release' 10:28:42 make[1]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 76%] Built target csdk 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 79%] Built target template 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 82%] Built target device-counter 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 85%] Built target device-random 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 88%] Built target device-gyro 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 91%] Built target device-bitfields 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 94%] Built target template-discovery 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [ 97%] Built target device-file 10:28:42 make[2]: Entering directory '/tmp/sdk/build/release' 10:28:42 make[2]: Leaving directory '/tmp/sdk/build/release' 10:28:42 [100%] Built target device-terminal 10:28:42 make[1]: Leaving directory '/tmp/sdk/build/release' 10:28:42 Install the project... 10:28:42 -- Install configuration: "Release" 10:28:42 -- Installing: /usr/local/lib/libcsdk.so 10:28:42 -- Installing: /usr/local/include 10:28:42 -- Installing: /usr/local/include/edgex 10:28:42 -- Installing: /usr/local/include/edgex/profiles.h 10:28:42 -- Installing: /usr/local/include/edgex/edgex.h 10:28:42 -- Installing: /usr/local/include/edgex/rest-server.h 10:28:42 -- Installing: /usr/local/include/edgex/edgex-base.h 10:28:42 -- Installing: /usr/local/include/edgex/devices.h 10:28:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:28:42 -- Installing: /usr/local/include/devsdk 10:28:42 -- Installing: /usr/local/include/devsdk/devsdk.h 10:28:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:28:42 -- Installing: /usr/local/include/iot 10:28:42 -- Installing: /usr/local/include/iot/thread.h 10:28:42 -- Installing: /usr/local/include/iot/hash.h 10:28:42 -- Installing: /usr/local/include/iot/typecode.h 10:28:42 -- Installing: /usr/local/include/iot/threadpool.h 10:28:42 -- Installing: /usr/local/include/iot/uuid.h 10:28:42 -- Installing: /usr/local/include/iot/logger.h 10:28:42 -- Installing: /usr/local/include/iot/config.h 10:28:42 -- Installing: /usr/local/include/iot/os.h 10:28:42 -- Installing: /usr/local/include/iot/container.h 10:28:42 -- Installing: /usr/local/include/iot/scheduler.h 10:28:42 -- Installing: /usr/local/include/iot/defs.h 10:28:42 -- Installing: /usr/local/include/iot/iot.h 10:28:42 -- Installing: /usr/local/include/iot/component.h 10:28:42 -- Installing: /usr/local/include/iot/os 10:28:42 -- Installing: /usr/local/include/iot/os/linux.h 10:28:42 -- Installing: /usr/local/include/iot/os/zephyr.h 10:28:42 -- Installing: /usr/local/include/iot/os/macos.h 10:28:42 -- Installing: /usr/local/include/iot/base64.h 10:28:42 -- Installing: /usr/local/include/iot/time.h 10:28:42 -- Installing: /usr/local/include/iot/data.h 10:28:42 -- Installing: /usr/local/include/iot/json.h 10:28:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:28:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:28:42 make: Leaving directory '/tmp/sdk/build/release' 10:28:43 Removing intermediate container fec230d29f87 10:28:43 ---> f6fdda5127bf 10:28:43 Step 14/22 : FROM ${BASE} 10:28:43 ---> 547c565c9e89 10:28:43 Step 15/22 : LABEL maintainer="IOTech " 10:28:43 ---> Running in d50469605f7c 10:28:43 Removing intermediate container d50469605f7c 10:28:43 ---> f854190cdc81 10:28:43 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:28:43 ---> Running in 3717dbf5e92f 10:28:43 Connecting to iotech.jfrog.io (3.248.164.40:443) 10:28:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:44 Removing intermediate container 3717dbf5e92f 10:28:44 ---> 392dc2c86e8d 10:28:44 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:44 ---> Running in c3b714eff0f0 10:28:45 Removing intermediate container c3b714eff0f0 10:28:45 ---> 90d0265eae83 10:28:45 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 10:28:45 ---> Running in 6a3c64356274 10:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:46 (1/6) Installing curl (7.80.0-r2) 10:28:46 (2/6) Installing hiredis (1.0.2-r0) 10:28:46 (3/6) Installing hiredis-dev (1.0.2-r0) 10:28:46 (4/6) Installing libcbor (0.8.0-r0) 10:28:46 (5/6) Installing libuuid (2.37.4-r0) 10:28:46 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:28:47 Executing busybox-1.34.1-r5.trigger 10:28:47 OK: 283 MiB in 83 packages 10:28:47 Removing intermediate container 6a3c64356274 10:28:47 ---> 9cf2a0eca266 10:28:47 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:28:47 ---> 3d16bfa7e2db 10:28:47 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:28:47 ---> c4118317f50d 10:28:47 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:28:48 ---> 26e012bd2080 10:28:48 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:28:48 ---> 746abc92efe4 10:28:48 Successfully built 746abc92efe4 10:28:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:48 + docker inspect -f . ci-base-image-x86_64 10:28:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:48 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:28:49 $ docker top 8adc7c3d355a6ef165608325fafcd1b434538b0f5bbcee3438d5510b5c6b0c05 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:49 + make test 10:28:49 echo "make test" 10:28:49 make test [Pipeline] } 10:28:49 $ docker stop --time=1 8adc7c3d355a6ef165608325fafcd1b434538b0f5bbcee3438d5510b5c6b0c05 10:28:51 $ docker rm -f 8adc7c3d355a6ef165608325fafcd1b434538b0f5bbcee3438d5510b5c6b0c05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:28:52 + ls -al . 10:28:52 total 208 10:28:52 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 10:28 . 10:28:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:27 .. 10:28:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:28 .git 10:28:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:27 .github 10:28:52 -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 10:27 .gitignore 10:28:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 10:28 .semver 10:28:52 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 18 10:27 Attribution.txt 10:28:52 -rw-rw-r-- 1 jenkins jenkins 8420 Jul 18 10:27 CHANGES 10:28:52 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 10:27 Doxyfile 10:28:52 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 10:27 GOVERNANCE.md 10:28:52 -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 10:27 Jenkinsfile 10:28:52 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 10:27 LICENSE 10:28:52 -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 10:27 Makefile 10:28:52 -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 10:27 OWNERS.md 10:28:52 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 18 10:27 README.md 10:28:52 -rw-rw-r-- 1 jenkins jenkins 7422 Jul 18 10:27 README.v2.md 10:28:52 -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 10:28 VERSION 10:28:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:27 docs 10:28:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:27 include 10:28:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:27 scripts 10:28:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:52 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3414d0279792f3e48f3ae73a80499089b78126ca --label arch=amd64 --label version=2.2.0-dev.12 . 10:28:52 Sending build context to Docker daemon 4.556MB 10:28:52 Step 1/17 : ARG BASE=alpine:3.15 10:28:52 Step 2/17 : FROM ${BASE} 10:28:52 ---> 746abc92efe4 10:28:52 Step 3/17 : LABEL maintainer="IOTech " 10:28:52 ---> Running in 4aeb8e070542 10:28:52 Removing intermediate container 4aeb8e070542 10:28:52 ---> cea26a9b5561 10:28:52 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:28:52 ---> Running in e1a8f0aad0e8 10:28:52 Connecting to iotech.jfrog.io (52.17.55.65:443) 10:28:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:28:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:28:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:28:53 Removing intermediate container e1a8f0aad0e8 10:28:53 ---> 219e8d681e36 10:28:53 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:28:53 ---> Running in 8241431e4194 10:28:54 Removing intermediate container 8241431e4194 10:28:54 ---> 37c8e8a2d702 10:28:54 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 10:28:54 ---> Running in 4dc5d98ef0f6 10:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:28:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz 10:28:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:28:55 (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:28:55 (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:28:55 (3/28) Installing libcbor-dev (0.8.0-r0) 10:28:55 (4/28) Installing ncurses-dev (6.3_p20211120-r1) 10:28:55 (5/28) Installing util-linux (2.37.4-r0) 10:28:55 (6/28) Installing libblkid (2.37.4-r0) 10:28:55 (7/28) Installing libeconf (0.4.2-r0) 10:28:55 (8/28) Installing libfdisk (2.37.4-r0) 10:28:55 (9/28) Installing libmount (2.37.4-r0) 10:28:55 (10/28) Installing libsmartcols (2.37.4-r0) 10:28:55 (11/28) Installing util-linux-misc (2.37.4-r0) 10:28:55 (12/28) Installing linux-pam (1.5.2-r0) 10:28:55 (13/28) Installing runuser (2.37.4-r0) 10:28:55 (14/28) Installing hexdump (2.37.4-r0) 10:28:55 (15/28) Installing uuidgen (2.37.4-r0) 10:28:55 (16/28) Installing blkid (2.37.4-r0) 10:28:55 (17/28) Installing sfdisk (2.37.4-r0) 10:28:55 (18/28) Installing mcookie (2.37.4-r0) 10:28:55 (19/28) Installing wipefs (2.37.4-r0) 10:28:55 (20/28) Installing cfdisk (2.37.4-r0) 10:28:55 (21/28) Installing flock (2.37.4-r0) 10:28:55 (22/28) Installing lsblk (2.37.4-r0) 10:28:55 (23/28) Installing libcap-ng (0.8.2-r1) 10:28:55 (24/28) Installing setpriv (2.37.4-r0) 10:28:55 (25/28) Installing logger (2.37.4-r0) 10:28:55 (26/28) Installing partx (2.37.4-r0) 10:28:55 (27/28) Installing findmnt (2.37.4-r0) 10:28:55 (28/28) Installing util-linux-dev (2.37.4-r0) 10:28:55 Executing busybox-1.34.1-r5.trigger 10:28:55 OK: 294 MiB in 109 packages 10:28:55 Removing intermediate container 4dc5d98ef0f6 10:28:55 ---> 6c377b8edc57 10:28:55 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:28:56 ---> e36a94ac9d5a 10:28:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:28:56 ---> a6d55586de73 10:28:56 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:28:56 ---> 309d2cb95236 10:28:56 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:28:56 ---> 5d5a94052c36 10:28:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:28:56 ---> 6d6b528b80a5 10:28:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:28:56 ---> 0d806087528c 10:28:56 Step 13/17 : WORKDIR /edgex-c-sdk 10:28:56 ---> Running in 28e73c5b8ffb 10:28:57 Removing intermediate container 28e73c5b8ffb 10:28:57 ---> df393627e3f2 10:28:57 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:28:57 ---> Running in a89edced2f67 10:28:57 Removing intermediate container a89edced2f67 10:28:57 ---> fd5205aac594 10:28:57 Step 15/17 : LABEL arch=amd64 10:28:57 ---> Running in 67e336f09962 10:28:57 Removing intermediate container 67e336f09962 10:28:57 ---> 44bd1032fc6a 10:28:57 Step 16/17 : LABEL git_sha=3414d0279792f3e48f3ae73a80499089b78126ca 10:28:57 ---> Running in 04dc1001a42f 10:28:57 Removing intermediate container 04dc1001a42f 10:28:57 ---> 9a465206a41d 10:28:57 Step 17/17 : LABEL version=2.2.0-dev.12 10:28:57 ---> Running in 72834000b9d6 10:28:57 Removing intermediate container 72834000b9d6 10:28:57 ---> 2cac7babfac8 10:28:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:28:57 Successfully built 2cac7babfac8 10:28:57 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:58 10:28:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:58 latest: Pulling from edgex-lftools-log-publisher 10:28:58 5eb5b503b376: Pulling fs layer 10:28:58 5c69ac0246d0: Pulling fs layer 10:28:58 ec43610c2a17: Pulling fs layer 10:28:58 3a2ae6a8a46f: Pulling fs layer 10:28:58 33b1e0a273af: Pulling fs layer 10:28:58 5d3b04190fa2: Pulling fs layer 10:28:58 2f39f015ded8: Pulling fs layer 10:28:58 33b1e0a273af: Waiting 10:28:58 2f39f015ded8: Waiting 10:28:58 5d3b04190fa2: Waiting 10:28:58 3a2ae6a8a46f: Waiting 10:28:58 5c69ac0246d0: Download complete 10:28:58 3a2ae6a8a46f: Verifying Checksum 10:28:58 3a2ae6a8a46f: Download complete 10:28:58 33b1e0a273af: Verifying Checksum 10:28:58 33b1e0a273af: Download complete 10:28:58 5d3b04190fa2: Download complete 10:28:58 ec43610c2a17: Verifying Checksum 10:28:58 ec43610c2a17: Download complete 10:28:58 5eb5b503b376: Verifying Checksum 10:28:58 5eb5b503b376: Download complete 10:28:59 2f39f015ded8: Download complete 10:29:00 5eb5b503b376: Pull complete 10:29:00 5c69ac0246d0: Pull complete 10:29:00 ec43610c2a17: Pull complete 10:29:00 3a2ae6a8a46f: Pull complete 10:29:01 33b1e0a273af: Pull complete 10:29:01 5d3b04190fa2: Pull complete 10:29:06 2f39f015ded8: Pull complete 10:29:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:29:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:06 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:29:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:29:08 $ docker top 65e93496722e159de43282d105654cd06b1c0d9e6600e6c233114eb9780e8762 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:08 ---> job-cost.sh 10:29:08 lf-activate-venv: SKIPPING 10:29:08 INFO: No Stack... 10:29:08 INFO: Retrieving Pricing Info for: v3-standard-8 10:29:09 INFO: Archiving Costs [Pipeline] sh 10:29:09 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:29:09 + cut -d, -f6 [Pipeline] lock 10:29:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] 10:29:09 Resource [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] did not exist. Created. 10:29:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:29:09 + echo total: 0.2199999988079071 [Pipeline] stash 10:29:10 Stashed 1 file(s) [Pipeline] } 10:29:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 10:29:10 $ docker stop --time=1 65e93496722e159de43282d105654cd06b1c0d9e6600e6c233114eb9780e8762 10:29:11 $ docker rm -f 65e93496722e159de43282d105654cd06b1c0d9e6600e6c233114eb9780e8762 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20394 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 10:30:09 Running in /w/workspace/device-sdk-c/29 [Pipeline] { [Pipeline] checkout 10:30:09 Selected Git installation does not exist. Using Default 10:30:09 The recommended git tool is: NONE 10:30:16 using credential edgex-jenkins-ssh 10:30:16 Cloning the remote Git repository 10:30:16 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:30:16 > git init /w/workspace/device-sdk-c/29 # timeout=10 10:30:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:30:16 > git --version # timeout=10 10:30:17 > git --version # 'git version 2.25.1' 10:30:17 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:18 Avoid second fetch 10:30:18 Checking out Revision 3414d0279792f3e48f3ae73a80499089b78126ca (main) 10:30:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:30:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:30:18 > git config core.sparsecheckout # timeout=10 10:30:18 > git checkout -f 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 10:30:22 Commit message: "feat: add ProtocolProperties validation (#402) (#426)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:30:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:30:23 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:23 Dload Upload Total Spent Left Speed 10:30:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 91348 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh 10:30:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:30:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:30:24 + sudo tee /etc/docker/daemon.new 10:30:24 { 10:30:24 "registry-mirrors": [ 10:30:24 "https://nexus3.edgexfoundry.org:10001" 10:30:24 ], 10:30:24 "bip": "10.250.0.254/24", 10:30:24 "hosts": [ 10:30:24 "tcp://0.0.0.0:5555", 10:30:24 "unix:///var/run/docker.sock" 10:30:24 ], 10:30:24 "mtu": 1458, 10:30:24 "selinux-enabled": true, 10:30:24 "seccomp-profile": "/etc/docker/seccomp.json" 10:30:24 } [Pipeline] sh 10:30:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:30:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:43 provisioning config files... 10:30:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/29@tmp/config165091450410474908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:44 ---> docker-login.sh 10:30:44 nexus3.edgexfoundry.org:10001 10:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:45 Configure a credential helper to remove this warning. See 10:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:45 10:30:45 Login Succeeded 10:30:45 nexus3.edgexfoundry.org:10002 10:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:45 Configure a credential helper to remove this warning. See 10:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:45 10:30:45 Login Succeeded 10:30:45 nexus3.edgexfoundry.org:10003 10:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:45 Configure a credential helper to remove this warning. See 10:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:45 10:30:45 Login Succeeded 10:30:45 nexus3.edgexfoundry.org:10004 10:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:46 Configure a credential helper to remove this warning. See 10:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:46 10:30:46 Login Succeeded 10:30:46 docker.io 10:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:30:46 Configure a credential helper to remove this warning. See 10:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:30:46 10:30:46 Login Succeeded 10:30:46 ---> docker-login.sh ends [Pipeline] } 10:30:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:47 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:30:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:30:47 ========================================================= 10:30:47 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:30:47 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:47 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:30:48 Sending build context to Docker daemon 2.745MB 10:30:48 Step 1/22 : ARG BASE=alpine:3.15 10:30:48 Step 2/22 : FROM ${BASE} as builder 10:30:48 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:30:48 9981e73032c8: Pulling fs layer 10:30:48 735ca4d71f2f: Pulling fs layer 10:30:48 9981e73032c8: Download complete 10:30:49 9981e73032c8: Pull complete 10:30:50 735ca4d71f2f: Verifying Checksum 10:30:50 735ca4d71f2f: Download complete 10:31:00 735ca4d71f2f: Pull complete 10:31:00 Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 10:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:31:00 ---> aede2dddcadd 10:31:00 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:31:00 ---> Running in 35e1f4fe9749 10:31:00 Connecting to iotech.jfrog.io (34.255.222.93:443) 10:31:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:31:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:31:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:31:02 Removing intermediate container 35e1f4fe9749 10:31:02 ---> db13f0799085 10:31:02 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:31:02 ---> Running in 0372c6b17d7d 10:31:04 Removing intermediate container 0372c6b17d7d 10:31:04 ---> 9b82843b21b3 10:31:04 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev 10:31:04 ---> Running in 5d069a0d8ac5 10:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:31:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:31:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:31:06 (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:31:06 (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:31:06 (3/33) Installing hiredis (1.0.2-r0) 10:31:06 (4/33) Installing hiredis-dev (1.0.2-r0) 10:31:06 (5/33) Installing libcbor (0.8.0-r0) 10:31:06 (6/33) Installing libcbor-dev (0.8.0-r0) 10:31:06 (7/33) Installing ncurses-dev (6.3_p20211120-r1) 10:31:06 (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:31:07 (9/33) Installing util-linux (2.37.4-r0) 10:31:07 (10/33) Installing libblkid (2.37.4-r0) 10:31:07 (11/33) Installing libeconf (0.4.2-r0) 10:31:07 (12/33) Installing libuuid (2.37.4-r0) 10:31:07 (13/33) Installing libfdisk (2.37.4-r0) 10:31:07 (14/33) Installing libmount (2.37.4-r0) 10:31:07 (15/33) Installing libsmartcols (2.37.4-r0) 10:31:07 (16/33) Installing util-linux-misc (2.37.4-r0) 10:31:07 (17/33) Installing linux-pam (1.5.2-r0) 10:31:07 (18/33) Installing runuser (2.37.4-r0) 10:31:07 (19/33) Installing hexdump (2.37.4-r0) 10:31:07 (20/33) Installing uuidgen (2.37.4-r0) 10:31:07 (21/33) Installing blkid (2.37.4-r0) 10:31:07 (22/33) Installing sfdisk (2.37.4-r0) 10:31:07 (23/33) Installing mcookie (2.37.4-r0) 10:31:07 (24/33) Installing wipefs (2.37.4-r0) 10:31:07 (25/33) Installing cfdisk (2.37.4-r0) 10:31:07 (26/33) Installing flock (2.37.4-r0) 10:31:07 (27/33) Installing lsblk (2.37.4-r0) 10:31:07 (28/33) Installing libcap-ng (0.8.2-r1) 10:31:07 (29/33) Installing setpriv (2.37.4-r0) 10:31:07 (30/33) Installing logger (2.37.4-r0) 10:31:07 (31/33) Installing partx (2.37.4-r0) 10:31:07 (32/33) Installing findmnt (2.37.4-r0) 10:31:07 (33/33) Installing util-linux-dev (2.37.4-r0) 10:31:07 Executing busybox-1.34.1-r5.trigger 10:31:07 OK: 290 MiB in 108 packages 10:31:08 Removing intermediate container 5d069a0d8ac5 10:31:08 ---> 3aba2edb76c4 10:31:08 Step 6/22 : RUN mkdir /tmp/sdk 10:31:08 ---> Running in 5816945eb2fb 10:31:10 Removing intermediate container 5816945eb2fb 10:31:10 ---> 06fccb9cf95b 10:31:10 Step 7/22 : COPY VERSION /tmp/sdk 10:31:11 ---> 3fe3e041cb55 10:31:11 Step 8/22 : COPY src /tmp/sdk/src 10:31:12 ---> bbece89bd7a7 10:31:12 Step 9/22 : COPY include /tmp/sdk/include 10:31:12 ---> 195cdb5ac5de 10:31:12 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:31:13 ---> 69a48559ffa1 10:31:13 Step 11/22 : COPY LICENSE /tmp/sdk 10:31:13 ---> df392336871e 10:31:13 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:31:14 ---> 76fd3eff45c9 10:31:14 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:31:14 ---> Running in a136ec67ed37 10:31:15 + CPPCHECK=false 10:31:15 + DOCGEN=false 10:31:15 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:31:15 + TOMLVER=SDK-0.2 10:31:15 + CUTILVER=1.2.2 10:31:15 + '[' 0 -gt 0 ] 10:31:15 + readlink -f ./scripts/build.sh 10:31:15 + dirname /tmp/sdk/scripts/build.sh 10:31:15 + dirname /tmp/sdk/scripts 10:31:15 + ROOT=/tmp/sdk 10:31:15 + cd /tmp/sdk 10:31:15 + '[' '!' -d deps ] 10:31:15 + mkdir deps 10:31:15 + tar -C deps -z -x -f - 10:31:15 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:31:15 Connecting to github.com (140.82.113.3:443) 10:31:15 Connecting to codeload.github.com (140.82.113.10:443) 10:31:15 writing to stdout 10:31:15 - 100% |********************************| 16451 0:00:00 ETA 10:31:15 written to stdout 10:31:15 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:31:15 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 10:31:15 -x -f - 10:31:15 Connecting to github.com (140.82.113.3:443) 10:31:15 Connecting to codeload.github.com (140.82.113.10:443) 10:31:16 writing to stdout 10:31:16 - 100% |********************************| 189k 0:00:00 ETA 10:31:16 written to stdout 10:31:16 + mkdir -p src/c/iot 10:31:16 + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot 10:31:16 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:31:16 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:31:16 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:31:16 + mkdir -p include/iot 10:31:16 + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot 10:31:16 + mkdir -p include/iot/os 10:31:16 + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os 10:31:16 + mkdir -p /tmp/sdk/build/release 10:31:16 + cd /tmp/sdk/build/release 10:31:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:31:16 -- The C compiler identification is GNU 10.3.1 10:31:16 -- Detecting C compiler ABI info 10:31:16 -- Detecting C compiler ABI info - done 10:31:16 -- Check for working C compiler: /usr/bin/cc - skipped 10:31:16 -- Detecting C compile features 10:31:16 -- Detecting C compile features - done 10:31:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:31:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:31:17 -- Found LIBYAML: /usr/lib/libyaml.so 10:31:17 -- Found LIBUUID: /usr/lib/libuuid.so 10:31:17 -- Found LIBCBOR: /usr/lib/libcbor.so 10:31:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:31:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:31:17 -- C SDK 2.2.0-dev.12 for Linux 10:31:17 -- Performing Test CSDK_HAVE_ATOMIC 10:31:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:31:17 -- Found Curses: /usr/lib/libcurses.so 10:31:17 -- Configuring done 10:31:17 -- Generating done 10:31:18 -- Build files have been written to: /tmp/sdk/build/release 10:31:18 + make all package 10:31:18 + tee release.log 10:31:18 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:31:19 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:31:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:31:22 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:31:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:31:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:31:24 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:31:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:31:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:31:27 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:31:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:31:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:31:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:31:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:31:32 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:31:32 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:31:32 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:31:36 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:31:36 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:31:36 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:31:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:31:37 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:31:37 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:31:37 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:31:37 275 | const iot_component_factory_t * factory; 10:31:37 | ^~~~~~~ 10:31:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:31:44 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:31:44 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:31:44 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:31:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:31:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:31:45 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:31:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:31:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:31:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:31:48 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:31:49 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:31:51 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:31:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:31:53 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:31:53 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:31:58 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:31:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:31:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:32:00 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:32:01 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:32:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:32:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:32:04 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:32:05 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:32:07 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:32:12 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:32:12 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:32:13 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:32:14 [ 76%] Linking C shared library libcsdk.so 10:32:14 [ 76%] Built target csdk 10:32:14 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:32:14 [ 79%] Linking C executable template 10:32:15 [ 79%] Built target template 10:32:15 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:32:15 [ 82%] Linking C executable device-counter 10:32:16 [ 82%] Built target device-counter 10:32:16 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:32:16 [ 85%] Linking C executable device-random 10:32:17 [ 85%] Built target device-random 10:32:17 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:32:17 [ 88%] Linking C executable device-gyro 10:32:17 [ 88%] Built target device-gyro 10:32:17 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:32:18 [ 91%] Linking C executable device-bitfields 10:32:18 [ 91%] Built target device-bitfields 10:32:18 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:32:19 [ 94%] Linking C executable template-discovery 10:32:19 [ 94%] Built target template-discovery 10:32:20 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:32:20 [ 97%] Linking C executable device-file 10:32:20 [ 97%] Built target device-file 10:32:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:32:21 [100%] Linking C executable device-terminal 10:32:22 [100%] Built target device-terminal 10:32:22 Run CPack packaging tool... 10:32:22 CPack: Create package using TGZ 10:32:22 CPack: Install projects 10:32:22 CPack: - Run preinstall target for: Csdk 10:32:23 CPack: - Install project: Csdk [] 10:32:23 CPack: Create package 10:32:23 CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.12.tar.gz generated. 10:32:23 + '[' false '=' true ] 10:32:23 + '[' false '=' true ] 10:32:23 + mkdir -p /tmp/sdk/build/debug 10:32:23 + cd /tmp/sdk/build/debug 10:32:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:32:23 -- The C compiler identification is GNU 10.3.1 10:32:23 -- Detecting C compiler ABI info 10:32:23 -- Detecting C compiler ABI info - done 10:32:23 -- Check for working C compiler: /usr/bin/cc - skipped 10:32:23 -- Detecting C compile features 10:32:23 -- Detecting C compile features - done 10:32:23 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:32:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") 10:32:24 -- Found LIBYAML: /usr/lib/libyaml.so 10:32:24 -- Found LIBUUID: /usr/lib/libuuid.so 10:32:24 -- Found LIBCBOR: /usr/lib/libcbor.so 10:32:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:32:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:32:24 -- C SDK 2.2.0-dev.12 for Linux 10:32:24 -- Performing Test CSDK_HAVE_ATOMIC 10:32:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:32:24 -- Found Curses: /usr/lib/libcurses.so 10:32:24 -- Configuring done 10:32:25 -- Generating done 10:32:25 -- Build files have been written to: /tmp/sdk/build/debug 10:32:25 + + make 10:32:25 tee debug.log 10:32:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:32:25 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:32:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:32:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:32:27 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:32:27 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:32:27 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:32:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:32:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:32:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:32:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:32:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:32:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:32:30 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:32:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:32:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:32:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:32:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:32:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:32:33 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:32:33 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:32:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:32:33 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:32:33 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:32:33 275 | const iot_component_factory_t * factory; 10:32:33 | ^~~~~~~ 10:32:33 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:32:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:32:35 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:32:35 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:32:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:32:36 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:32:36 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:32:36 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:32:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:32:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:32:37 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:32:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:32:38 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:32:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:32:39 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:32:39 [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:32:40 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:32:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:32:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:32:41 [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:32:41 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:32:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:32:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:32:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:32:44 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:32:45 [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:32:45 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:32:46 [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:32:46 [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:32:46 [ 76%] Linking C shared library libcsdk.so 10:32:47 [ 76%] Built target csdk 10:32:47 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:32:47 [ 79%] Linking C executable template 10:32:47 [ 79%] Built target template 10:32:47 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:32:48 [ 82%] Linking C executable device-counter 10:32:48 [ 82%] Built target device-counter 10:32:48 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:32:48 [ 85%] Linking C executable device-random 10:32:49 [ 85%] Built target device-random 10:32:49 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:32:49 [ 88%] Linking C executable device-gyro 10:32:49 [ 88%] Built target device-gyro 10:32:49 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:32:50 [ 91%] Linking C executable device-bitfields 10:32:50 [ 91%] Built target device-bitfields 10:32:50 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:32:50 [ 94%] Linking C executable template-discovery 10:32:50 [ 94%] Built target template-discovery 10:32:50 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:32:51 [ 97%] Linking C executable device-file 10:32:51 [ 97%] Built target device-file 10:32:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:32:52 [100%] Linking C executable device-terminal 10:32:52 [100%] Built target device-terminal 10:32:52 make: Entering directory '/tmp/sdk/build/release' 10:32:52 make[1]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 76%] Built target csdk 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 79%] Built target template 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 82%] Built target device-counter 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 85%] Built target device-random 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 88%] Built target device-gyro 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 91%] Built target device-bitfields 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 94%] Built target template-discovery 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [ 97%] Built target device-file 10:32:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:32:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:32:52 [100%] Built target device-terminal 10:32:52 make[1]: Leaving directory '/tmp/sdk/build/release' 10:32:53 Install the project... 10:32:53 -- Install configuration: "Release" 10:32:53 -- Installing: /usr/local/lib/libcsdk.so 10:32:53 -- Installing: /usr/local/include 10:32:53 -- Installing: /usr/local/include/devsdk 10:32:53 -- Installing: /usr/local/include/devsdk/devsdk.h 10:32:53 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:32:53 -- Installing: /usr/local/include/edgex 10:32:53 -- Installing: /usr/local/include/edgex/rest-server.h 10:32:53 -- Installing: /usr/local/include/edgex/edgex.h 10:32:53 -- Installing: /usr/local/include/edgex/edgex-base.h 10:32:53 -- Installing: /usr/local/include/edgex/devices.h 10:32:53 -- Installing: /usr/local/include/edgex/profiles.h 10:32:53 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:32:53 -- Installing: /usr/local/include/iot 10:32:53 -- Installing: /usr/local/include/iot/threadpool.h 10:32:53 -- Installing: /usr/local/include/iot/defs.h 10:32:53 -- Installing: /usr/local/include/iot/time.h 10:32:53 -- Installing: /usr/local/include/iot/base64.h 10:32:53 -- Installing: /usr/local/include/iot/component.h 10:32:53 -- Installing: /usr/local/include/iot/scheduler.h 10:32:53 -- Installing: /usr/local/include/iot/config.h 10:32:53 -- Installing: /usr/local/include/iot/container.h 10:32:53 -- Installing: /usr/local/include/iot/uuid.h 10:32:53 -- Installing: /usr/local/include/iot/os.h 10:32:53 -- Installing: /usr/local/include/iot/thread.h 10:32:53 -- Installing: /usr/local/include/iot/data.h 10:32:53 -- Installing: /usr/local/include/iot/typecode.h 10:32:53 -- Installing: /usr/local/include/iot/hash.h 10:32:53 -- Installing: /usr/local/include/iot/logger.h 10:32:53 -- Installing: /usr/local/include/iot/os 10:32:53 -- Installing: /usr/local/include/iot/os/zephyr.h 10:32:53 -- Installing: /usr/local/include/iot/os/macos.h 10:32:53 -- Installing: /usr/local/include/iot/os/linux.h 10:32:53 -- Installing: /usr/local/include/iot/json.h 10:32:53 -- Installing: /usr/local/include/iot/iot.h 10:32:53 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:32:53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:32:53 make: Leaving directory '/tmp/sdk/build/release' 10:32:55 Removing intermediate container a136ec67ed37 10:32:55 ---> 5d3448952772 10:32:55 Step 14/22 : FROM ${BASE} 10:32:55 ---> aede2dddcadd 10:32:55 Step 15/22 : LABEL maintainer="IOTech " 10:32:55 ---> Running in 90439caf6e8c 10:32:55 Removing intermediate container 90439caf6e8c 10:32:55 ---> 5a007f169794 10:32:55 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:32:55 ---> Running in 96c29c06e9cf 10:32:56 Connecting to iotech.jfrog.io (52.51.149.127:443) 10:32:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:32:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:32:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:32:57 Removing intermediate container 96c29c06e9cf 10:32:57 ---> 20b538140b17 10:32:57 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:32:57 ---> Running in e8ef888c3220 10:32:58 Removing intermediate container e8ef888c3220 10:32:58 ---> b6a6c04761e2 10:32:58 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev 10:32:59 ---> Running in a8dc61fa1acb 10:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:33:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:33:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:33:01 (1/6) Installing curl (7.80.0-r2) 10:33:01 (2/6) Installing hiredis (1.0.2-r0) 10:33:01 (3/6) Installing hiredis-dev (1.0.2-r0) 10:33:01 (4/6) Installing libcbor (0.8.0-r0) 10:33:01 (5/6) Installing libuuid (2.37.4-r0) 10:33:01 (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) 10:33:02 Executing busybox-1.34.1-r5.trigger 10:33:02 OK: 278 MiB in 83 packages 10:33:03 Removing intermediate container a8dc61fa1acb 10:33:03 ---> 972b32c98979 10:33:03 Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:33:03 ---> 6eac8fa88350 10:33:03 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:33:04 ---> 6b2ec06a5a05 10:33:04 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:33:04 ---> 2e2cc46b2880 10:33:04 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:33:05 ---> dcd78316ef9a 10:33:05 Successfully built dcd78316ef9a 10:33:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:05 + docker inspect -f . ci-base-image-arm64 10:33:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:06 prd-ubuntu20.04-docker-arm64-4c-16g-20394 does not seem to be running inside a container 10:33:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/29 -v /w/workspace/device-sdk-c/29:/w/workspace/device-sdk-c/29:rw,z -v /w/workspace/device-sdk-c/29@tmp:/w/workspace/device-sdk-c/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:33:07 $ docker top 9c2dae4646dcdbf58199cf8cef3c91e2e4948a67f6b617fc285b01fffadc4422 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:08 + make test 10:33:08 echo "make test" 10:33:08 make test [Pipeline] } 10:33:08 $ docker stop --time=1 9c2dae4646dcdbf58199cf8cef3c91e2e4948a67f6b617fc285b01fffadc4422 10:33:10 $ docker rm -f 9c2dae4646dcdbf58199cf8cef3c91e2e4948a67f6b617fc285b01fffadc4422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:33:10 + ls -al . 10:33:10 total 204 10:33:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:30 . 10:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:30 .. 10:33:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:30 .git 10:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:30 .github 10:33:10 -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 10:30 .gitignore 10:33:10 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 18 10:30 Attribution.txt 10:33:10 -rw-rw-r-- 1 jenkins jenkins 8420 Jul 18 10:30 CHANGES 10:33:10 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 10:30 Doxyfile 10:33:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 10:30 GOVERNANCE.md 10:33:10 -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 10:30 Jenkinsfile 10:33:10 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 10:30 LICENSE 10:33:10 -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 10:30 Makefile 10:33:10 -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 10:30 OWNERS.md 10:33:10 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 18 10:30 README.md 10:33:10 -rw-rw-r-- 1 jenkins jenkins 7422 Jul 18 10:30 README.v2.md 10:33:10 -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 10:28 VERSION 10:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:30 docs 10:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:30 include 10:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:30 scripts 10:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:11 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3414d0279792f3e48f3ae73a80499089b78126ca --label arch=arm64 --label version=2.2.0-dev.12 . 10:33:11 Sending build context to Docker daemon 2.745MB 10:33:11 Step 1/17 : ARG BASE=alpine:3.15 10:33:11 Step 2/17 : FROM ${BASE} 10:33:11 ---> dcd78316ef9a 10:33:11 Step 3/17 : LABEL maintainer="IOTech " 10:33:11 ---> Running in 93ca816f8eba 10:33:12 Removing intermediate container 93ca816f8eba 10:33:12 ---> e597c483aa1d 10:33:12 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:33:12 ---> Running in 6ff8c81b98d3 10:33:13 Connecting to iotech.jfrog.io (34.248.37.48:443) 10:33:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:33:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:33:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:33:14 Removing intermediate container 6ff8c81b98d3 10:33:14 ---> ba624e7417c1 10:33:14 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories 10:33:14 ---> Running in 0b02ec243c8a 10:33:16 Removing intermediate container 0b02ec243c8a 10:33:16 ---> 9d386e2af21d 10:33:16 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 10:33:16 ---> Running in 5daf4a2cef80 10:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:33:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz 10:33:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:33:18 (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:33:18 (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) 10:33:18 (3/28) Installing libcbor-dev (0.8.0-r0) 10:33:18 (4/28) Installing ncurses-dev (6.3_p20211120-r1) 10:33:18 (5/28) Installing util-linux (2.37.4-r0) 10:33:18 (6/28) Installing libblkid (2.37.4-r0) 10:33:18 (7/28) Installing libeconf (0.4.2-r0) 10:33:18 (8/28) Installing libfdisk (2.37.4-r0) 10:33:18 (9/28) Installing libmount (2.37.4-r0) 10:33:18 (10/28) Installing libsmartcols (2.37.4-r0) 10:33:18 (11/28) Installing util-linux-misc (2.37.4-r0) 10:33:18 (12/28) Installing linux-pam (1.5.2-r0) 10:33:19 (13/28) Installing runuser (2.37.4-r0) 10:33:19 (14/28) Installing hexdump (2.37.4-r0) 10:33:19 (15/28) Installing uuidgen (2.37.4-r0) 10:33:19 (16/28) Installing blkid (2.37.4-r0) 10:33:19 (17/28) Installing sfdisk (2.37.4-r0) 10:33:19 (18/28) Installing mcookie (2.37.4-r0) 10:33:19 (19/28) Installing wipefs (2.37.4-r0) 10:33:19 (20/28) Installing cfdisk (2.37.4-r0) 10:33:19 (21/28) Installing flock (2.37.4-r0) 10:33:19 (22/28) Installing lsblk (2.37.4-r0) 10:33:19 (23/28) Installing libcap-ng (0.8.2-r1) 10:33:19 (24/28) Installing setpriv (2.37.4-r0) 10:33:19 (25/28) Installing logger (2.37.4-r0) 10:33:19 (26/28) Installing partx (2.37.4-r0) 10:33:19 (27/28) Installing findmnt (2.37.4-r0) 10:33:19 (28/28) Installing util-linux-dev (2.37.4-r0) 10:33:19 Executing busybox-1.34.1-r5.trigger 10:33:19 OK: 290 MiB in 109 packages 10:33:20 Removing intermediate container 5daf4a2cef80 10:33:20 ---> 2d03fb880200 10:33:20 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:33:21 ---> 26209cd4c950 10:33:21 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:33:22 ---> 2ee907de057a 10:33:22 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:33:22 ---> 5fbf1c79c829 10:33:22 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:33:23 ---> 5e5e793c63cf 10:33:23 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:33:23 ---> bf37e0e7dd83 10:33:23 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:33:24 ---> b65df5750e47 10:33:24 Step 13/17 : WORKDIR /edgex-c-sdk 10:33:24 ---> Running in 14569bd4236a 10:33:24 Removing intermediate container 14569bd4236a 10:33:24 ---> a3091623ca51 10:33:24 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:33:24 ---> Running in 96fd1953b454 10:33:24 Removing intermediate container 96fd1953b454 10:33:24 ---> b5d56bcffa49 10:33:24 Step 15/17 : LABEL arch=arm64 10:33:24 ---> Running in 54c980d84ca9 10:33:25 Removing intermediate container 54c980d84ca9 10:33:25 ---> 234b439869fb 10:33:25 Step 16/17 : LABEL git_sha=3414d0279792f3e48f3ae73a80499089b78126ca 10:33:25 ---> Running in 53fc8cb95514 10:33:25 Removing intermediate container 53fc8cb95514 10:33:25 ---> 153e59f4d4f2 10:33:25 Step 17/17 : LABEL version=2.2.0-dev.12 10:33:25 ---> Running in 2a3e735becc3 10:33:25 Removing intermediate container 2a3e735becc3 10:33:25 ---> 77daf2bfe2a9 10:33:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:33:25 Successfully built 77daf2bfe2a9 10:33:25 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:26 10:33:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:27 arm64: Pulling from edgex-lftools-log-publisher 10:33:27 8998bd30e6a1: Pulling fs layer 10:33:27 04944245beec: Pulling fs layer 10:33:27 699f458cf7ca: Pulling fs layer 10:33:27 765212b225bb: Pulling fs layer 10:33:27 f23df028b6ca: Pulling fs layer 10:33:27 d65c8cfc05b1: Pulling fs layer 10:33:27 2437ff75d9bd: Pulling fs layer 10:33:27 765212b225bb: Waiting 10:33:27 f23df028b6ca: Waiting 10:33:27 d65c8cfc05b1: Waiting 10:33:27 2437ff75d9bd: Waiting 10:33:27 04944245beec: Verifying Checksum 10:33:27 04944245beec: Download complete 10:33:27 765212b225bb: Verifying Checksum 10:33:27 765212b225bb: Download complete 10:33:27 f23df028b6ca: Verifying Checksum 10:33:27 f23df028b6ca: Download complete 10:33:27 d65c8cfc05b1: Verifying Checksum 10:33:27 d65c8cfc05b1: Download complete 10:33:27 699f458cf7ca: Verifying Checksum 10:33:27 699f458cf7ca: Download complete 10:33:27 8998bd30e6a1: Verifying Checksum 10:33:27 8998bd30e6a1: Download complete 10:33:29 2437ff75d9bd: Verifying Checksum 10:33:29 2437ff75d9bd: Download complete 10:33:32 8998bd30e6a1: Pull complete 10:33:32 04944245beec: Pull complete 10:33:33 699f458cf7ca: Pull complete 10:33:34 765212b225bb: Pull complete 10:33:35 f23df028b6ca: Pull complete 10:33:35 d65c8cfc05b1: Pull complete 10:33:50 2437ff75d9bd: Pull complete 10:33:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:50 prd-ubuntu20.04-docker-arm64-4c-16g-20394 does not seem to be running inside a container 10:33:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/29 -v /w/workspace/device-sdk-c/29:/w/workspace/device-sdk-c/29:rw,z -v /w/workspace/device-sdk-c/29@tmp:/w/workspace/device-sdk-c/29@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 10:33:53 $ docker top f1ead2c147e369a4fe9d7eacb98325c4ec9105a782111011ca8f9bbf3da3bfc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:33:54 ---> job-cost.sh 10:33:54 lf-activate-venv: SKIPPING 10:33:54 INFO: No Stack... 10:33:54 INFO: Retrieving Pricing Info for: v3-standard-4 10:33:55 INFO: Archiving Costs [Pipeline] sh 10:33:56 + cat /w/workspace/device-sdk-c/29/archives/cost.csv 10:33:56 + cut -d, -f6 [Pipeline] lock 10:33:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] 10:33:56 Resource [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] did not exist. Created. 10:33:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:33:56 /w/workspace/device-sdk-c/29@tmp/durable-92eb9f0d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:33:57 + echo total: 0.10999999940395355 [Pipeline] stash 10:33:57 Warning: overwriting stash ‘stack-cost’ 10:33:58 Stashed 1 file(s) [Pipeline] } 10:33:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 10:33:58 $ docker stop --time=1 f1ead2c147e369a4fe9d7eacb98325c4ec9105a782111011ca8f9bbf3da3bfc0 10:33:59 $ docker rm -f f1ead2c147e369a4fe9d7eacb98325c4ec9105a782111011ca8f9bbf3da3bfc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 10:34:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:34:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:00 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:34:01 $ docker top 22d41f4824c7f6d0890e71e78b83ad2c0a04173d90058f6dbc6ebf06aa7e1d6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:34:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:01 [ssh-agent] Looking for ssh-agent implementation... 10:34:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:01 $ docker exec 22d41f4824c7f6d0890e71e78b83ad2c0a04173d90058f6dbc6ebf06aa7e1d6f ssh-agent 10:34:01 SSH_AUTH_SOCK=/tmp/ssh-utVew4DGs6aw/agent.34 10:34:01 SSH_AGENT_PID=41 10:34:01 Running ssh-add (command line suppressed) 10:34:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1310375689338243911.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1310375689338243911.key) 10:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:01 + git semver tag 10:34:02 2022-07-18 10:34:02,084 [run_tag] DEBUG tag force:False 10:34:02 2022-07-18 10:34:02,084 [check_head_tag] DEBUG check head tag 10:34:02 2022-07-18 10:34:02,085 [execute] INFO git cat-file --batch-check 10:34:02 2022-07-18 10:34:02,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:34:02 2022-07-18 10:34:02,090 [execute] INFO git cat-file --batch 10:34:02 2022-07-18 10:34:02,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:34:02 2022-07-18 10:34:02,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:02 2022-07-18 10:34:02,102 [execute] INFO git tag -a v2.2.0-dev.12 -m v2.2.0-dev.12 10:34:02 2022-07-18 10:34:02,102 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.12', '-m', 'v2.2.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:34:02 2022-07-18 10:34:02,108 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:02 2.2.0-dev.12 [Pipeline] } 10:34:02 $ docker exec --env ******** --env ******** 22d41f4824c7f6d0890e71e78b83ad2c0a04173d90058f6dbc6ebf06aa7e1d6f ssh-agent -k 10:34:02 unset SSH_AUTH_SOCK; 10:34:02 unset SSH_AGENT_PID; 10:34:02 echo Agent pid 41 killed; 10:34:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:34:02 + git semver [Pipeline] } 10:34:02 $ docker stop --time=1 22d41f4824c7f6d0890e71e78b83ad2c0a04173d90058f6dbc6ebf06aa7e1d6f 10:34:04 $ docker rm -f 22d41f4824c7f6d0890e71e78b83ad2c0a04173d90058f6dbc6ebf06aa7e1d6f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:34:04 10:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:34:04 0.23.1-centos7: Pulling from edgex-lftools 10:34:04 ab5ef0e58194: Pulling fs layer 10:34:04 9712f1f96733: Pulling fs layer 10:34:04 63f879dbbcfc: Pulling fs layer 10:34:04 0d9ebad4ef96: Pulling fs layer 10:34:04 e9a5061849ea: Pulling fs layer 10:34:04 d747dcd14b5f: Pulling fs layer 10:34:04 2de7ff778b66: Pulling fs layer 10:34:04 e9a5061849ea: Waiting 10:34:04 0d9ebad4ef96: Waiting 10:34:04 2de7ff778b66: Waiting 10:34:04 9712f1f96733: Verifying Checksum 10:34:04 9712f1f96733: Download complete 10:34:05 63f879dbbcfc: Verifying Checksum 10:34:05 63f879dbbcfc: Download complete 10:34:05 e9a5061849ea: Verifying Checksum 10:34:05 e9a5061849ea: Download complete 10:34:05 d747dcd14b5f: Verifying Checksum 10:34:05 d747dcd14b5f: Download complete 10:34:05 0d9ebad4ef96: Verifying Checksum 10:34:05 0d9ebad4ef96: Download complete 10:34:05 ab5ef0e58194: Verifying Checksum 10:34:05 ab5ef0e58194: Download complete 10:34:05 2de7ff778b66: Verifying Checksum 10:34:05 2de7ff778b66: Download complete 10:34:08 ab5ef0e58194: Pull complete 10:34:08 9712f1f96733: Pull complete 10:34:09 63f879dbbcfc: Pull complete 10:34:13 0d9ebad4ef96: Pull complete 10:34:13 e9a5061849ea: Pull complete 10:34:13 d747dcd14b5f: Pull complete 10:34:14 2de7ff778b66: Pull complete 10:34:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:34:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:14 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:34:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:34:16 $ docker top 27dc8e9a4c9ea0a7c057b21c557c58409edaa1cd08824b372d48e34b97dcd1c5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:34:17 provisioning config files... 10:34:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2271711472219151132tmp 10:34:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7275286465416839475tmp 10:34:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5797948937880837297tmp [Pipeline] { [Pipeline] echo 10:34:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:34:17 ---> sigul-configuration.sh 10:34:17 gpg: directory `/root/.gnupg' created 10:34:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:34:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:34:17 gpg: keyring `/root/.gnupg/secring.gpg' created 10:34:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:34:17 gpg: CAST5 encrypted data 10:34:17 gpg: encrypted with 1 passphrase 10:34:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:34:17 + mkdir /home/jenkins 10:34:17 + mkdir /home/jenkins/sigul [Pipeline] sh 10:34:17 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:34:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:34:18 ---> sigul-install.sh 10:34:18 Sigul already installed; skipping installation. [Pipeline] sh 10:34:18 + git tag --list 10:34:18 0.7.0 10:34:18 0.7.1 10:34:18 1.0.0 10:34:18 v1.0.1 10:34:18 v1.0.2 10:34:18 v1.0.3 10:34:18 v1.1.0 10:34:18 v1.1.1 10:34:18 v1.2.0 10:34:18 v1.2.1 10:34:18 v1.2.2 10:34:18 v1.3.0 10:34:18 v1.3.1 10:34:18 v2.0.0 10:34:18 v2.1.0 10:34:18 v2.2.0-dev.1 10:34:18 v2.2.0-dev.10 10:34:18 v2.2.0-dev.11 10:34:18 v2.2.0-dev.12 10:34:18 v2.2.0-dev.2 10:34:18 v2.2.0-dev.3 10:34:18 v2.2.0-dev.4 10:34:18 v2.2.0-dev.5 10:34:18 v2.2.0-dev.6 10:34:18 v2.2.0-dev.7 10:34:18 v2.2.0-dev.8 10:34:18 v2.2.0-dev.9 [Pipeline] sh 10:34:18 + lftools sign git-tag v2.2.0-dev.12 10:34:19 Signing Git tag with Sigul... 10:34:19 Signing v2.2.0-dev.12 [Pipeline] echo 10:34:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:34:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:34:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:34:19 $ docker stop --time=1 27dc8e9a4c9ea0a7c057b21c557c58409edaa1cd08824b372d48e34b97dcd1c5 10:34:21 $ docker rm -f 27dc8e9a4c9ea0a7c057b21c557c58409edaa1cd08824b372d48e34b97dcd1c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:34:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:34:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:22 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:34:22 $ docker top 54756e281f9d78cb6756e850378c279e1d935b09632b7c1efd6ea095d7e5336f -eo pid,comm 10:34:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:34:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:34:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:22 [ssh-agent] Looking for ssh-agent implementation... 10:34:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:22 $ docker exec 54756e281f9d78cb6756e850378c279e1d935b09632b7c1efd6ea095d7e5336f ssh-agent 10:34:22 SSH_AUTH_SOCK=/tmp/ssh-wbtLB1pWRlKO/agent.33 10:34:22 SSH_AGENT_PID=39 10:34:22 Running ssh-add (command line suppressed) 10:34:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2552723496687296259.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2552723496687296259.key) 10:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:23 + git semver bump pre 10:34:23 2022-07-18 10:34:23,537 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:23 2022-07-18 10:34:23,537 [bump_version] DEBUG bumping version:2.2.0-dev.12 on axis:pre with prefix:dev 10:34:23 2022-07-18 10:34:23,537 [bump_version] DEBUG bumped version:2.2.0-dev.13 10:34:23 2022-07-18 10:34:23,537 [write_version] DEBUG write version:2.2.0-dev.13 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 10:34:23 2022-07-18 10:34:23,538 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:23 2022-07-18 10:34:23,538 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:23 2022-07-18 10:34:23,539 [execute] INFO git cat-file --batch-check 10:34:23 2022-07-18 10:34:23,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:34:23 2022-07-18 10:34:23,545 [execute] INFO git cat-file --batch 10:34:23 2022-07-18 10:34:23,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:34:23 2022-07-18 10:34:23,550 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:23 2.2.0-dev.13 [Pipeline] } 10:34:23 $ docker exec --env ******** --env ******** 54756e281f9d78cb6756e850378c279e1d935b09632b7c1efd6ea095d7e5336f ssh-agent -k 10:34:23 unset SSH_AUTH_SOCK; 10:34:23 unset SSH_AGENT_PID; 10:34:23 echo Agent pid 39 killed; 10:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:34:24 + git semver [Pipeline] } 10:34:24 $ docker stop --time=1 54756e281f9d78cb6756e850378c279e1d935b09632b7c1efd6ea095d7e5336f 10:34:25 $ docker rm -f 54756e281f9d78cb6756e850378c279e1d935b09632b7c1efd6ea095d7e5336f [Pipeline] // withDockerContainer [Pipeline] sh 10:34:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:34:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:26 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:34:26 $ docker top 1dfb26ac6c0d50cb6b3379cc6fd9fee1c4e1213993b45b7de6bd062399ce9fbe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:34:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:27 [ssh-agent] Looking for ssh-agent implementation... 10:34:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:27 $ docker exec 1dfb26ac6c0d50cb6b3379cc6fd9fee1c4e1213993b45b7de6bd062399ce9fbe ssh-agent 10:34:27 SSH_AUTH_SOCK=/tmp/ssh-zE6fypvU7zym/agent.34 10:34:27 SSH_AGENT_PID=40 10:34:27 Running ssh-add (command line suppressed) 10:34:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7092717260345910058.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7092717260345910058.key) 10:34:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:27 + git semver push 10:34:28 2022-07-18 10:34:28,020 [run_push] DEBUG push 10:34:28 2022-07-18 10:34:28,021 [execute] INFO git cat-file --batch-check 10:34:28 2022-07-18 10:34:28,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:34:28 2022-07-18 10:34:28,025 [execute] INFO git rev-list 2c0e99a7ae895b29f5ec998492cd27389d8b6278 -- 10:34:28 2022-07-18 10:34:28,025 [execute] DEBUG Popen(['git', 'rev-list', '2c0e99a7ae895b29f5ec998492cd27389d8b6278', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:34:28 2022-07-18 10:34:28,033 [execute] INFO git fetch -v origin 10:34:28 2022-07-18 10:34:28,034 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 10:34:28 2022-07-18 10:34:28,530 [run_push] DEBUG no remote changes detected 10:34:28 2022-07-18 10:34:28,531 [execute] INFO git push origin semver 10:34:28 2022-07-18 10:34:28,531 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:34:29 2022-07-18 10:34:29,327 [run_push] DEBUG push all version tags 10:34:29 2022-07-18 10:34:29,328 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:34:29 2022-07-18 10:34:29,329 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:34:30 2022-07-18 10:34:30,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:34:30 2.2.0-dev.13 [Pipeline] } 10:34:30 $ docker exec --env ******** --env ******** 1dfb26ac6c0d50cb6b3379cc6fd9fee1c4e1213993b45b7de6bd062399ce9fbe ssh-agent -k 10:34:30 unset SSH_AUTH_SOCK; 10:34:30 unset SSH_AGENT_PID; 10:34:30 echo Agent pid 40 killed; 10:34:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:34:30 + git semver [Pipeline] } 10:34:30 $ docker stop --time=1 1dfb26ac6c0d50cb6b3379cc6fd9fee1c4e1213993b45b7de6bd062399ce9fbe 10:34:32 $ docker rm -f 1dfb26ac6c0d50cb6b3379cc6fd9fee1c4e1213993b45b7de6bd062399ce9fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:34:32 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 10:34:32 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:32 total 16 10:34:32 drwxr-xr-x 3 root root 4096 Jul 18 10:29 . 10:34:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 10:34 .. 10:34:32 drwxr-xr-x 2 root root 4096 Jul 18 10:29 cost 10:34:32 -rw-r--r-- 1 root root 82 Jul 18 10:29 cost.csv 10:34:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:32 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:34:32 total 16 10:34:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 10:29 . 10:34:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 10:34 .. 10:34:32 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 10:29 cost 10:34:32 -rw-r--r-- 1 jenkins jenkins 82 Jul 18 10:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:34:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:34:33 ---> package-listing.sh 10:34:33 ++ facter osfamily 10:34:33 ++ tr '[:upper:]' '[:lower:]' 10:34:34 + OS_FAMILY=debian 10:34:34 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 10:34:34 + START_PACKAGES=/tmp/packages_start.txt 10:34:34 + END_PACKAGES=/tmp/packages_end.txt 10:34:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:34:34 + PACKAGES=/tmp/packages_start.txt 10:34:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:34:34 + PACKAGES=/tmp/packages_end.txt 10:34:34 + case "${OS_FAMILY}" in 10:34:34 + dpkg -l 10:34:34 + grep '^ii' 10:34:34 + '[' -f /tmp/packages_start.txt ']' 10:34:34 + '[' -f /tmp/packages_end.txt ']' 10:34:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:34:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:34:34 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 10:34:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 10:34:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:34:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:35 prd-ubuntu20.04-docker-8c-8g-20393 does not seem to be running inside a container 10:34:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:34:35 $ docker top 4b711f88038bcc3b5c84773f07481efa6826668964a63163bc587a765e1f02e0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:34:36 + mkdir -p /var/log/sysstat [Pipeline] sh 10:34:36 + ls /var/log/sa-host 10:34:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:34:36 provisioning config files... 10:34:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3675504998319022792tmp [Pipeline] { [Pipeline] echo 10:34:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:34:36 ---> create-netrc.sh [Pipeline] } 10:34:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:34:37 ---> python-tools-install.sh [Pipeline] echo 10:34:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:34:37 ---> sudo-logs.sh 10:34:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:34:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:34:37 ---> job-cost.sh 10:34:37 lf-activate-venv: SKIPPING 10:34:37 DEBUG: total: 0.2199999988079071 10:34:37 INFO: Retrieving Stack Cost... 10:34:38 INFO: Retrieving Pricing Info for: v3-standard-8 10:34:38 INFO: Archiving Costs [Pipeline] echo 10:34:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:34:39 ---> logs-deploy.sh 10:34:39 lf-activate-venv: SKIPPING 10:34:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/29 10:34:39 INFO: archiving workspace using pattern(s): 10:34:40 Archives upload complete. 10:34:40 INFO: archiving logs to Nexus