Pull request #447 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e50c99d81587ca2b716fa892c8dc5fb1747e4762+21f79343dd353c602474ef88d38fd1373f48e545 (a69ddd6ab354ea59904a85bd33be192a9d7944df) 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-ssh10084180443973226629.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2072396247193881882.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/PR-447/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/PR-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11702858210385013785.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5017076829462157538.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/PR-447/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/PR-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10005871568908824229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9612 in /w/workspace/edgexfoundry_device-sdk-c_PR-447 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-447 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit e50c99d81587ca2b716fa892c8dc5fb1747e4762 Merge succeeded, producing e50c99d81587ca2b716fa892c8dc5fb1747e4762 Checking out Revision e50c99d81587ca2b716fa892c8dc5fb1747e4762 (PR-447) > git config core.sparsecheckout # timeout=10 > git checkout -f e50c99d81587ca2b716fa892c8dc5fb1747e4762 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e50c99d81587ca2b716fa892c8dc5fb1747e4762 # timeout=10 Commit message: "refactor: abstraction for MessageBus" First time build. Skipping changelog. > git rev-list --no-walk 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:35:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:35:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:35:50 ========================================================= 10:35:50 EdgeX Global Pipelines Version Info 10:35:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:35:51 ------------------- 10:35:51 stable info: 10:35:51 ------------------- 10:35:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:35:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:35:51 Message: update stable to v1.0.244 10:35:52 ------------------- 10:35:52 experimental info: 10:35:52 ------------------- 10:35:52 Commited By: **** collab-it+edgex@linuxfoundation.org 10:35:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:35:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-447 [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-447 [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-447 [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e50c99d81587ca2b716fa892c8dc5fb1747e4762 [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e50c99d [Pipeline] echo 10:35:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:35:52 provisioning config files... 10:35:52 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config11645812444982608279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:52 ---> docker-login.sh 10:35:52 nexus3.edgexfoundry.org:10001 10:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:53 Configure a credential helper to remove this warning. See 10:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:53 10:35:53 Login Succeeded 10:35:53 nexus3.edgexfoundry.org:10002 10:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:53 Configure a credential helper to remove this warning. See 10:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:53 10:35:53 Login Succeeded 10:35:53 nexus3.edgexfoundry.org:10003 10:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:53 Configure a credential helper to remove this warning. See 10:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:53 10:35:53 Login Succeeded 10:35:53 nexus3.edgexfoundry.org:10004 10:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:53 Configure a credential helper to remove this warning. See 10:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:53 10:35:53 Login Succeeded 10:35:53 docker.io 10:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:53 Configure a credential helper to remove this warning. See 10:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:53 10:35:53 Login Succeeded 10:35:53 ---> docker-login.sh ends [Pipeline] } 10:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:35:54 + git rev-list -1 --merges e50c99d81587ca2b716fa892c8dc5fb1747e4762~1..e50c99d81587ca2b716fa892c8dc5fb1747e4762 [Pipeline] echo 10:35:54 -----------> git rev-list -1 --merges e50c99d81587ca2b716fa892c8dc5fb1747e4762~1..e50c99d81587ca2b716fa892c8dc5fb1747e4762 e50c99d81587ca2b716fa892c8dc5fb1747e4762 [false] [Pipeline] sh 10:35:54 + git log --format=format:%s -1 e50c99d81587ca2b716fa892c8dc5fb1747e4762 [Pipeline] echo 10:35:54 ========================================================= 10:35:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:35:54 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:35:54 + git rev-list -1 --merges e50c99d81587ca2b716fa892c8dc5fb1747e4762~1..e50c99d81587ca2b716fa892c8dc5fb1747e4762 [Pipeline] echo 10:35:54 -----------> git rev-list -1 --merges e50c99d81587ca2b716fa892c8dc5fb1747e4762~1..e50c99d81587ca2b716fa892c8dc5fb1747e4762 e50c99d81587ca2b716fa892c8dc5fb1747e4762 [false] [Pipeline] sh 10:35:55 + git log --format=format:%s -1 e50c99d81587ca2b716fa892c8dc5fb1747e4762 [Pipeline] echo 10:35:55 ========================================================= 10:35:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:35:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:35:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:35:55 + grep -v github /etc/ssh/ssh_known_hosts 10:35:55 + [ -e /tmp/ssh_known_hosts ] 10:35:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:35:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:35:55 + sudo tee -a /etc/ssh/ssh_known_hosts 10:35:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:35:56 10:35:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:35:56 0.1.4: Pulling from edgex-devops/py-git-semver 10:35:56 b85a868b505f: Pulling fs layer 10:35:56 e2be974225ed: Pulling fs layer 10:35:56 339a4e72a1f5: Pulling fs layer 10:35:56 988bab9f4d93: Pulling fs layer 10:35:56 1469e6f7b9e6: Pulling fs layer 10:35:56 eaf3925da568: Pulling fs layer 10:35:56 bab4dde63d76: Pulling fs layer 10:35:56 bde34c3a00c8: Pulling fs layer 10:35:56 b352a97aabf1: Pulling fs layer 10:35:56 4872d77fe225: Pulling fs layer 10:35:56 988bab9f4d93: Waiting 10:35:56 5851b861e8e6: Pulling fs layer 10:35:56 1469e6f7b9e6: Waiting 10:35:56 eaf3925da568: Waiting 10:35:56 bde34c3a00c8: Waiting 10:35:56 b352a97aabf1: Waiting 10:35:56 4872d77fe225: Waiting 10:35:56 5851b861e8e6: Waiting 10:35:56 e2be974225ed: Download complete 10:35:56 988bab9f4d93: Verifying Checksum 10:35:56 988bab9f4d93: Download complete 10:35:56 1469e6f7b9e6: Verifying Checksum 10:35:56 1469e6f7b9e6: Download complete 10:35:56 eaf3925da568: Verifying Checksum 10:35:56 eaf3925da568: Download complete 10:35:56 339a4e72a1f5: Verifying Checksum 10:35:56 339a4e72a1f5: Download complete 10:35:56 bde34c3a00c8: Verifying Checksum 10:35:56 bde34c3a00c8: Download complete 10:35:56 b352a97aabf1: Verifying Checksum 10:35:56 b352a97aabf1: Download complete 10:35:56 4872d77fe225: Download complete 10:35:56 b85a868b505f: Verifying Checksum 10:35:56 b85a868b505f: Download complete 10:35:56 5851b861e8e6: Verifying Checksum 10:35:56 5851b861e8e6: Download complete 10:35:57 bab4dde63d76: Verifying Checksum 10:35:57 bab4dde63d76: Download complete 10:35:57 b85a868b505f: Pull complete 10:35:57 e2be974225ed: Pull complete 10:35:58 339a4e72a1f5: Pull complete 10:35:58 988bab9f4d93: Pull complete 10:35:58 1469e6f7b9e6: Pull complete 10:35:58 eaf3925da568: Pull complete 10:36:00 bab4dde63d76: Pull complete 10:36:00 bde34c3a00c8: Pull complete 10:36:00 b352a97aabf1: Pull complete 10:36:00 4872d77fe225: Pull complete 10:36:00 5851b861e8e6: Pull complete 10:36:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:36:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:00 prd-ubuntu20.04-docker-8c-8g-9612 does not seem to be running inside a container 10:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:36:03 $ docker top 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 -eo pid,comm 10:36:04 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:36:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:36:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:36:04 [ssh-agent] Looking for ssh-agent implementation... 10:36:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:36:04 $ docker exec 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 ssh-agent 10:36:04 SSH_AUTH_SOCK=/tmp/ssh-HcxnLXcGae2e/agent.33 10:36:04 SSH_AGENT_PID=40 10:36:04 Running ssh-add (command line suppressed) 10:36:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_15659298571005225821.key (/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_15659298571005225821.key) 10:36:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:36:04 + git tag --points-at HEAD [Pipeline] } 10:36:04 $ docker exec --env ******** --env ******** 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 ssh-agent -k 10:36:04 unset SSH_AUTH_SOCK; 10:36:04 unset SSH_AGENT_PID; 10:36:04 echo Agent pid 40 killed; 10:36:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:36:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:36:04 [ssh-agent] Looking for ssh-agent implementation... 10:36:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:36:04 $ docker exec 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 ssh-agent 10:36:05 SSH_AUTH_SOCK=/tmp/ssh-NCrsbYBdfBs6/agent.72 10:36:05 SSH_AGENT_PID=78 10:36:05 Running ssh-add (command line suppressed) 10:36:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_3037949881079200355.key (/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_3037949881079200355.key) 10:36:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:36:05 + git semver init 10:36:05 2023-03-10 10:36:05,668 [run_init] DEBUG init version:0.0.0 force:False 10:36:05 2023-03-10 10:36:05,668 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver 10:36:05 2023-03-10 10:36:05,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver 10:36:05 2023-03-10 10:36:05,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447, universal_newlines=False, shell=None, istream=None) 10:36:06 2023-03-10 10:36:06,529 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.git/info/exclude 10:36:06 2023-03-10 10:36:06,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 with force:False 10:36:06 2023-03-10 10:36:06,529 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 10:36:06 2023-03-10 10:36:06,532 [execute] INFO git cat-file --batch-check 10:36:06 2023-03-10 10:36:06,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver, universal_newlines=False, shell=None, istream=) 10:36:06 2023-03-10 10:36:06,538 [execute] INFO git cat-file --batch 10:36:06 2023-03-10 10:36:06,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver, universal_newlines=False, shell=None, istream=) 10:36:06 2023-03-10 10:36:06,543 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 10:36:06 0.0.0 [Pipeline] } 10:36:06 $ docker exec --env ******** --env ******** 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 ssh-agent -k 10:36:06 unset SSH_AUTH_SOCK; 10:36:06 unset SSH_AGENT_PID; 10:36:06 echo Agent pid 78 killed; 10:36:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:36:07 + git semver [Pipeline] } 10:36:07 $ docker stop --time=1 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 10:36:08 $ docker rm -f --volumes 200537fb65596b80a431c2ede3650dbb1695b6f11258b61e785820b2d1bfd609 [Pipeline] // withDockerContainer [Pipeline] sh 10:36:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:36:09 Stashed 1 file(s) [Pipeline] echo 10:36:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:36:09 provisioning config files... 10:36:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config16062841656591700330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:09 ---> docker-login.sh 10:36:09 nexus3.edgexfoundry.org:10001 10:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:09 Configure a credential helper to remove this warning. See 10:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:09 10:36:09 Login Succeeded 10:36:09 nexus3.edgexfoundry.org:10002 10:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:09 Configure a credential helper to remove this warning. See 10:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:09 10:36:09 Login Succeeded 10:36:09 nexus3.edgexfoundry.org:10003 10:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:09 Configure a credential helper to remove this warning. See 10:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:09 10:36:09 Login Succeeded 10:36:09 nexus3.edgexfoundry.org:10004 10:36:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:09 Configure a credential helper to remove this warning. See 10:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:09 10:36:09 Login Succeeded 10:36:09 docker.io 10:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:36:10 Configure a credential helper to remove this warning. See 10:36:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:36:10 10:36:10 Login Succeeded 10:36:10 ---> docker-login.sh ends [Pipeline] } 10:36:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:36:10 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:36:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:36:10 ========================================================= 10:36:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:36:10 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:10 + 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:36:10 Sending build context to Docker daemon 4.812MB 10:36:10 Step 1/21 : ARG BASE=alpine:3.16 10:36:10 Step 2/21 : FROM ${BASE} as builder 10:36:10 latest: Pulling from edgex-devops/edgex-gcc-base 10:36:10 213ec9aee27d: Pulling fs layer 10:36:10 0f09ad1b1b37: Pulling fs layer 10:36:10 213ec9aee27d: Verifying Checksum 10:36:10 213ec9aee27d: Download complete 10:36:10 213ec9aee27d: Pull complete 10:36:11 0f09ad1b1b37: Verifying Checksum 10:36:11 0f09ad1b1b37: Download complete 10:36:14 0f09ad1b1b37: Pull complete 10:36:14 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 10:36:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:36:14 ---> b2bbfebb3566 10:36:14 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:36:16 ---> Running in aaea02ae4b6c 10:36:16 Connecting to iotech.jfrog.io (176.34.135.205:443) 10:36:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:36:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:36:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:36:16 Removing intermediate container aaea02ae4b6c 10:36:16 ---> 884b042c54ef 10:36:16 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:36:16 ---> Running in ba07e6ceacb8 10:36:17 Removing intermediate container ba07e6ceacb8 10:36:17 ---> c13332abdfbf 10:36:17 Step 5/21 : 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 iotech-iot-1.5-dev hiredis-dev 10:36:17 ---> Running in 3ab84202aa2a 10:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:36:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:36:18 (1/14) Installing hiredis (1.0.2-r0) 10:36:18 (2/14) Installing hiredis-dev (1.0.2-r0) 10:36:18 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 10:36:19 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:36:19 (5/14) Installing libcbor (0.9.0-r1) 10:36:19 (6/14) Installing libcbor-dev (0.9.0-r1) 10:36:19 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:36:19 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:36:19 (9/14) Installing libblkid (2.38-r1) 10:36:19 (10/14) Installing libuuid (2.38-r1) 10:36:19 (11/14) Installing libfdisk (2.38-r1) 10:36:19 (12/14) Installing libmount (2.38-r1) 10:36:19 (13/14) Installing libsmartcols (2.38-r1) 10:36:19 (14/14) Installing util-linux-dev (2.38-r1) 10:36:19 Executing busybox-1.35.0-r17.trigger 10:36:20 OK: 280 MiB in 90 packages 10:36:20 Removing intermediate container 3ab84202aa2a 10:36:20 ---> 0c48893e9fa8 10:36:20 Step 6/21 : RUN mkdir /tmp/sdk 10:36:20 ---> Running in 9e98ded514ec 10:36:21 Removing intermediate container 9e98ded514ec 10:36:21 ---> 83c835019b08 10:36:21 Step 7/21 : COPY VERSION /tmp/sdk 10:36:21 ---> 075d3a8567ee 10:36:21 Step 8/21 : COPY src /tmp/sdk/src 10:36:21 ---> f2ecaad992f2 10:36:21 Step 9/21 : COPY include /tmp/sdk/include 10:36:21 ---> a1d40111db2f 10:36:21 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:36:21 ---> 4ee32e02ca27 10:36:21 Step 11/21 : COPY LICENSE /tmp/sdk 10:36:21 ---> 06a27652ac18 10:36:21 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:36:22 ---> 72d31585dd8c 10:36:22 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:36:22 ---> Running in 36c632dfa6bd 10:36:22 + CPPCHECK=false 10:36:22 + DOCGEN=false 10:36:22 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:36:22 + TOMLVER=SDK-0.2 10:36:22 + CUTILVER=1.4 10:36:22 + '[' 0 -gt 0 ] 10:36:22 + readlink -f ./scripts/build.sh 10:36:22 + dirname /tmp/sdk/scripts/build.sh 10:36:22 + dirname /tmp/sdk/scripts 10:36:22 + ROOT=/tmp/sdk 10:36:22 + cd /tmp/sdk 10:36:22 + '[' '!' -d deps ] 10:36:22 + mkdir deps 10:36:22 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:36:22 + tar -C deps -z -x -f - 10:36:22 Connecting to github.com (140.82.113.4:443) 10:36:22 Connecting to codeload.github.com (140.82.113.9:443) 10:36:22 writing to stdout 10:36:22 - 100% |********************************| 16451 0:00:00 ETA 10:36:22 written to stdout 10:36:22 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:36:22 + mkdir -p /tmp/sdk/build/release 10:36:22 + cd /tmp/sdk/build/release 10:36:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:36:22 -- The C compiler identification is GNU 11.2.1 10:36:22 -- Detecting C compiler ABI info 10:36:22 -- Detecting C compiler ABI info - done 10:36:22 -- Check for working C compiler: /usr/bin/cc - skipped 10:36:22 -- Detecting C compile features 10:36:22 -- Detecting C compile features - done 10:36:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:36:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:36:22 -- Found LIBYAML: /usr/lib/libyaml.so 10:36:22 -- Found LIBUUID: /usr/lib/libuuid.so 10:36:22 -- Found LIBCBOR: /usr/lib/libcbor.so 10:36:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:36:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:36:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:36:22 -- /opt/iotech/iot/1.5/include 10:36:22 -- C SDK 0.0.0 for Linux 10:36:22 -- Performing Test CSDK_HAVE_ATOMIC 10:36:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:36:23 -- Found Curses: /usr/lib/libcurses.so 10:36:23 -- Configuring done 10:36:23 -- Generating done 10:36:23 -- Build files have been written to: /tmp/sdk/build/release 10:36:23 + tee release.log 10:36:23 + make all package 10:36:23 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:36:23 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:36:23 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:36:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:36:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:36:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:36:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:36:24 Still waiting to schedule task 10:36:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:36:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:36:24 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:36:24 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:36:24 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:36:25 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:36:25 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:36:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:36:25 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:36:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:36:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:36:26 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:36:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:36:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:36:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:36:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:36:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:36:27 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:36:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:36:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:36:28 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:36:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:36:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:36:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:36:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:36:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:36:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:36:30 [ 68%] Linking C shared library libcsdk.so 10:36:30 [ 68%] Built target csdk 10:36:30 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:36:30 [ 72%] Linking C executable template 10:36:30 [ 72%] Built target template 10:36:30 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:36:30 [ 76%] Linking C executable device-counter 10:36:30 [ 76%] Built target device-counter 10:36:30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:36:30 [ 80%] Linking C executable device-random 10:36:31 [ 80%] Built target device-random 10:36:31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:36:31 [ 84%] Linking C executable device-gyro 10:36:31 [ 84%] Built target device-gyro 10:36:31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:36:31 [ 88%] Linking C executable device-bitfields 10:36:31 [ 88%] Built target device-bitfields 10:36:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:36:31 [ 92%] Linking C executable template-discovery 10:36:31 [ 92%] Built target template-discovery 10:36:31 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:36:31 [ 96%] Linking C executable device-file 10:36:31 [ 96%] Built target device-file 10:36:31 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:36:31 [100%] Linking C executable device-terminal 10:36:32 [100%] Built target device-terminal 10:36:32 Run CPack packaging tool... 10:36:32 CPack: Create package using TGZ 10:36:32 CPack: Install projects 10:36:32 CPack: - Run preinstall target for: Csdk 10:36:32 CPack: - Install project: Csdk [] 10:36:32 CPack: Create package 10:36:32 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:36:32 + '[' false '=' true ] 10:36:32 + '[' false '=' true ] 10:36:32 + mkdir -p /tmp/sdk/build/debug 10:36:32 + cd /tmp/sdk/build/debug 10:36:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:36:32 -- The C compiler identification is GNU 11.2.1 10:36:32 -- Detecting C compiler ABI info 10:36:32 -- Detecting C compiler ABI info - done 10:36:32 -- Check for working C compiler: /usr/bin/cc - skipped 10:36:32 -- Detecting C compile features 10:36:32 -- Detecting C compile features - done 10:36:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:36:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:36:32 -- Found LIBYAML: /usr/lib/libyaml.so 10:36:32 -- Found LIBUUID: /usr/lib/libuuid.so 10:36:32 -- Found LIBCBOR: /usr/lib/libcbor.so 10:36:32 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:36:32 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:36:32 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:36:32 -- /opt/iotech/iot/1.5/include 10:36:32 -- C SDK 0.0.0 for Linux 10:36:32 -- Performing Test CSDK_HAVE_ATOMIC 10:36:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:36:32 -- Found Curses: /usr/lib/libcurses.so 10:36:32 -- Configuring done 10:36:32 -- Generating done 10:36:32 -- Build files have been written to: /tmp/sdk/build/debug 10:36:32 + make 10:36:32 + tee debug.log 10:36:32 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:36:32 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:36:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:36:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:36:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:36:33 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:36:33 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:36:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:36:33 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:36:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:36:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:36:33 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:36:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:36:33 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:36:33 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:36:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:36:34 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:36:34 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:36:34 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:36:34 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:36:34 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:36:34 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:36:34 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:36:34 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:36:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:36:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:36:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:36:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:36:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:36:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:36:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:36:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:36:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:36:35 [ 68%] Linking C shared library libcsdk.so 10:36:35 [ 68%] Built target csdk 10:36:35 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:36:36 [ 72%] Linking C executable template 10:36:36 [ 72%] Built target template 10:36:36 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:36:36 [ 76%] Linking C executable device-counter 10:36:36 [ 76%] Built target device-counter 10:36:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:36:36 [ 80%] Linking C executable device-random 10:36:36 [ 80%] Built target device-random 10:36:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:36:36 [ 84%] Linking C executable device-gyro 10:36:36 [ 84%] Built target device-gyro 10:36:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:36:36 [ 88%] Linking C executable device-bitfields 10:36:36 [ 88%] Built target device-bitfields 10:36:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:36:37 [ 92%] Linking C executable template-discovery 10:36:37 [ 92%] Built target template-discovery 10:36:37 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:36:37 [ 96%] Linking C executable device-file 10:36:37 [ 96%] Built target device-file 10:36:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:36:37 [100%] Linking C executable device-terminal 10:36:37 [100%] Built target device-terminal 10:36:37 make: Entering directory '/tmp/sdk/build/release' 10:36:37 make[1]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 68%] Built target csdk 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 72%] Built target template 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 76%] Built target device-counter 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 80%] Built target device-random 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 84%] Built target device-gyro 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 88%] Built target device-bitfields 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 92%] Built target template-discovery 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [ 96%] Built target device-file 10:36:37 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:37 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:37 [100%] Built target device-terminal 10:36:37 make[1]: Leaving directory '/tmp/sdk/build/release' 10:36:37 Install the project... 10:36:37 -- Install configuration: "Release" 10:36:37 -- Installing: /usr/local/lib/libcsdk.so 10:36:37 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:36:37 -- Installing: /usr/local/include 10:36:37 -- Installing: /usr/local/include/devsdk 10:36:37 -- Installing: /usr/local/include/devsdk/devsdk.h 10:36:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:36:37 -- Installing: /usr/local/include/edgex 10:36:37 -- Installing: /usr/local/include/edgex/edgex.h 10:36:37 -- Installing: /usr/local/include/edgex/devices.h 10:36:37 -- Installing: /usr/local/include/edgex/profiles.h 10:36:37 -- Installing: /usr/local/include/edgex/edgex-base.h 10:36:37 -- Installing: /usr/local/include/edgex/rest-server.h 10:36:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:36:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:36:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:36:37 make: Leaving directory '/tmp/sdk/build/release' 10:36:38 Removing intermediate container 36c632dfa6bd 10:36:38 ---> 7245da74aa2e 10:36:38 Step 14/21 : FROM ${BASE} 10:36:38 ---> b2bbfebb3566 10:36:38 Step 15/21 : LABEL maintainer="IOTech " 10:36:38 ---> Running in 80f81c6131db 10:36:38 Removing intermediate container 80f81c6131db 10:36:38 ---> ba45937b1421 10:36:38 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:36:38 ---> Running in a3332901ca68 10:36:38 Connecting to iotech.jfrog.io (34.242.55.152:443) 10:36:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:36:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:36:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:36:39 Removing intermediate container a3332901ca68 10:36:39 ---> 34be6d0ba222 10:36:39 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:36:39 ---> Running in 831220d00fbd 10:36:39 Removing intermediate container 831220d00fbd 10:36:39 ---> 3379ea7fd033 10:36:39 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 10:36:39 ---> Running in 897911eb6e48 10:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:36:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:36:40 (1/7) Installing curl (7.83.1-r6) 10:36:40 (2/7) Installing hiredis (1.0.2-r0) 10:36:40 (3/7) Installing hiredis-dev (1.0.2-r0) 10:36:40 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 10:36:41 (5/7) Installing libcbor (0.9.0-r1) 10:36:41 (6/7) Installing libuuid (2.38-r1) 10:36:41 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:36:41 Executing busybox-1.35.0-r17.trigger 10:36:41 OK: 275 MiB in 83 packages 10:36:42 Removing intermediate container 897911eb6e48 10:36:42 ---> 1aee5ee2f78c 10:36:42 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:36:42 ---> 2e82a7fc025b 10:36:42 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:36:42 ---> 728e945a20c3 10:36:42 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:36:42 ---> 4211b3d54f2e 10:36:42 Successfully built 4211b3d54f2e 10:36:42 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:36:43 + docker inspect -f . ci-base-image-x86_64 10:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:43 prd-ubuntu20.04-docker-8c-8g-9612 does not seem to be running inside a container 10:36:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:36:43 $ docker top f25a3888efd70c12388275847b9f5d7d3f71176038ed1b0c9d00a9b1d5a1bf93 -eo pid,comm [Pipeline] { [Pipeline] sh 10:36:43 + make test 10:36:43 echo "make test" 10:36:43 make test [Pipeline] } 10:36:43 $ docker stop --time=1 f25a3888efd70c12388275847b9f5d7d3f71176038ed1b0c9d00a9b1d5a1bf93 10:36:45 $ docker rm -f --volumes f25a3888efd70c12388275847b9f5d7d3f71176038ed1b0c9d00a9b1d5a1bf93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:36:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:36:46 + ls -al . 10:36:46 total 204 10:36:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 10:36 . 10:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:35 .. 10:36:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 10:36 .git 10:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:35 .github 10:36:46 -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 10:35 .gitignore 10:36:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 10:36 .semver 10:36:46 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 10:35 Attribution.txt 10:36:46 -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 10:35 CHANGES 10:36:46 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 10:35 Doxyfile 10:36:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 10:35 GOVERNANCE.md 10:36:46 -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 10:35 Jenkinsfile 10:36:46 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 10:35 LICENSE 10:36:46 -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 10:35 Makefile 10:36:46 -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 10:35 OWNERS.md 10:36:46 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 10:35 README.md 10:36:46 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 10:35 README.v3.md 10:36:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 10:36 VERSION 10:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:35 docs 10:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:35 include 10:36:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:35 scripts 10:36:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:35 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:46 + 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=e50c99d81587ca2b716fa892c8dc5fb1747e4762 --label arch=amd64 --label version=0.0.0 . 10:36:46 Sending build context to Docker daemon 4.812MB 10:36:46 Step 1/17 : ARG BASE=alpine:3.16 10:36:46 Step 2/17 : FROM ${BASE} 10:36:46 ---> 4211b3d54f2e 10:36:46 Step 3/17 : LABEL maintainer="IOTech " 10:36:46 ---> Running in 7a67e8e1e3cf 10:36:46 Removing intermediate container 7a67e8e1e3cf 10:36:46 ---> cbbd2f64e8ad 10:36:46 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:36:46 ---> Running in 0d2add3f223c 10:36:46 Connecting to iotech.jfrog.io (34.242.58.36:443) 10:36:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:36:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:36:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:36:47 Removing intermediate container 0d2add3f223c 10:36:47 ---> 13de7e281de2 10:36:47 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:36:47 ---> Running in 3faa0440f974 10:36:47 Removing intermediate container 3faa0440f974 10:36:47 ---> a57b49d6aed6 10:36:47 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 iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:36:48 ---> Running in 9dac387057ab 10:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:36:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:36:49 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 10:36:49 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:36:49 (3/9) Installing libcbor-dev (0.9.0-r1) 10:36:49 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 10:36:49 (5/9) Installing libblkid (2.38-r1) 10:36:49 (6/9) Installing libfdisk (2.38-r1) 10:36:49 (7/9) Installing libmount (2.38-r1) 10:36:49 (8/9) Installing libsmartcols (2.38-r1) 10:36:49 (9/9) Installing util-linux-dev (2.38-r1) 10:36:49 Executing busybox-1.35.0-r17.trigger 10:36:49 OK: 281 MiB in 92 packages 10:36:50 Removing intermediate container 9dac387057ab 10:36:50 ---> 13a81911a482 10:36:50 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:36:50 ---> 164e397c225a 10:36:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:36:50 ---> e22a653a6dce 10:36:50 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:36:50 ---> 514232e7067c 10:36:50 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:36:50 ---> 6894a830da09 10:36:50 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:36:50 ---> 69fdf2d56d05 10:36:50 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:36:50 ---> 4ab60792442b 10:36:50 Step 13/17 : WORKDIR /edgex-c-sdk 10:36:50 ---> Running in 69dc8472d04c 10:36:50 Removing intermediate container 69dc8472d04c 10:36:50 ---> 0d1eb63fe8f0 10:36:50 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:36:50 ---> Running in 77f3d6fe5c26 10:36:51 Removing intermediate container 77f3d6fe5c26 10:36:51 ---> db20ff4b8d03 10:36:51 Step 15/17 : LABEL arch=amd64 10:36:51 ---> Running in d73d6abd2a3c 10:36:51 Removing intermediate container d73d6abd2a3c 10:36:51 ---> 9b4278227e48 10:36:51 Step 16/17 : LABEL git_sha=e50c99d81587ca2b716fa892c8dc5fb1747e4762 10:36:51 ---> Running in 9dac6669d945 10:36:51 Removing intermediate container 9dac6669d945 10:36:51 ---> ebf361ae5290 10:36:51 Step 17/17 : LABEL version=0.0.0 10:36:51 ---> Running in a741edc10736 10:36:51 Removing intermediate container a741edc10736 10:36:51 ---> 5d69021d4409 10:36:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:36:51 Successfully built 5d69021d4409 10:36:51 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:36:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:51 10:36:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:52 latest: Pulling from edgex-lftools-log-publisher 10:36:52 5eb5b503b376: Pulling fs layer 10:36:52 5c69ac0246d0: Pulling fs layer 10:36:52 ec43610c2a17: Pulling fs layer 10:36:52 3a2ae6a8a46f: Pulling fs layer 10:36:52 33b1e0a273af: Pulling fs layer 10:36:52 5d3b04190fa2: Pulling fs layer 10:36:52 2f39f015ded8: Pulling fs layer 10:36:52 3a2ae6a8a46f: Waiting 10:36:52 33b1e0a273af: Waiting 10:36:52 2f39f015ded8: Waiting 10:36:52 5d3b04190fa2: Waiting 10:36:52 5c69ac0246d0: Download complete 10:36:52 3a2ae6a8a46f: Verifying Checksum 10:36:52 3a2ae6a8a46f: Download complete 10:36:52 33b1e0a273af: Verifying Checksum 10:36:52 33b1e0a273af: Download complete 10:36:52 ec43610c2a17: Verifying Checksum 10:36:52 ec43610c2a17: Download complete 10:36:52 5d3b04190fa2: Download complete 10:36:52 5eb5b503b376: Verifying Checksum 10:36:52 5eb5b503b376: Download complete 10:36:52 2f39f015ded8: Download complete 10:36:53 5eb5b503b376: Pull complete 10:36:53 5c69ac0246d0: Pull complete 10:36:54 ec43610c2a17: Pull complete 10:36:54 3a2ae6a8a46f: Pull complete 10:36:54 33b1e0a273af: Pull complete 10:36:54 5d3b04190fa2: Pull complete 10:36:58 2f39f015ded8: Pull complete 10:36:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:36:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:58 prd-ubuntu20.04-docker-8c-8g-9612 does not seem to be running inside a container 10:36:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:37:02 $ docker top 9d960040fc7d2ea3c4ceccab8c34eab2b87738a93b9a75523079a1c21186e8b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:02 ---> job-cost.sh 10:37:02 lf-activate-venv: SKIPPING 10:37:02 INFO: No Stack... 10:37:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:37:03 INFO: Archiving Costs [Pipeline] sh 10:37:03 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/cost.csv 10:37:03 + cut -d, -f6 [Pipeline] lock 10:37:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] 10:37:03 Resource [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] did not exist. Created. 10:37:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:37:04 + echo total: 0.2199999988079071 [Pipeline] stash 10:37:04 Stashed 1 file(s) [Pipeline] } 10:37:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:37:04 $ docker stop --time=1 9d960040fc7d2ea3c4ceccab8c34eab2b87738a93b9a75523079a1c21186e8b8 10:37:05 $ docker rm -f --volumes 9d960040fc7d2ea3c4ceccab8c34eab2b87738a93b9a75523079a1c21186e8b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:37:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9613 in /w/workspace/edgexfoundry_device-sdk-c_PR-447 [Pipeline] { [Pipeline] ws 10:37:53 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 10:37:53 Selected Git installation does not exist. Using Default 10:37:53 The recommended git tool is: NONE 10:37:58 using credential edgex-jenkins-ssh 10:37:58 Cloning the remote Git repository 10:37:58 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:37:58 > git init /w/workspace/device-sdk-c/2 # timeout=10 10:37:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:37:58 > git --version # timeout=10 10:37:58 > git --version # 'git version 2.25.1' 10:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:38:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:38:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:38:01 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit e50c99d81587ca2b716fa892c8dc5fb1747e4762 10:38:01 Merge succeeded, producing e50c99d81587ca2b716fa892c8dc5fb1747e4762 10:38:01 Checking out Revision e50c99d81587ca2b716fa892c8dc5fb1747e4762 (PR-447) 10:38:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:38:00 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:38:01 > git config core.sparsecheckout # timeout=10 10:38:01 > git checkout -f e50c99d81587ca2b716fa892c8dc5fb1747e4762 # timeout=10 10:38:01 > git remote # timeout=10 10:38:01 > git config --get remote.origin.url # timeout=10 10:38:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:38:01 > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 10:38:01 > git rev-parse HEAD^{commit} # timeout=10 10:38:01 > git config core.sparsecheckout # timeout=10 10:38:01 > git checkout -f e50c99d81587ca2b716fa892c8dc5fb1747e4762 # timeout=10 10:38:05 Commit message: "refactor: abstraction for MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:38:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:38:06 Dload Upload Total Spent Left Speed 10:38:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 11116 0 0:00:01 0:00:01 --:--:-- 11126 100 12751 100 12751 0 0 11107 0 0:00:01 0:00:01 --:--:-- 11107 [Pipeline] sh 10:38:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:38:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:38:08 + sudo tee /etc/docker/daemon.new 10:38:08 { 10:38:08 "registry-mirrors": [ 10:38:08 "https://nexus3.edgexfoundry.org:10001" 10:38:08 ], 10:38:08 "bip": "10.250.0.254/24", 10:38:08 "hosts": [ 10:38:08 "tcp://0.0.0.0:5555", 10:38:08 "unix:///var/run/docker.sock" 10:38:08 ], 10:38:08 "mtu": 1458, 10:38:08 "selinux-enabled": true, 10:38:08 "seccomp-profile": "/etc/docker/seccomp.json" 10:38:08 } [Pipeline] sh 10:38:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:38:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:38:27 provisioning config files... 10:38:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5037557700661791864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:27 ---> docker-login.sh 10:38:27 nexus3.edgexfoundry.org:10001 10:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:28 Configure a credential helper to remove this warning. See 10:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:28 10:38:28 Login Succeeded 10:38:28 nexus3.edgexfoundry.org:10002 10:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:28 Configure a credential helper to remove this warning. See 10:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:28 10:38:28 Login Succeeded 10:38:28 nexus3.edgexfoundry.org:10003 10:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:28 Configure a credential helper to remove this warning. See 10:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:28 10:38:28 Login Succeeded 10:38:28 nexus3.edgexfoundry.org:10004 10:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:29 Configure a credential helper to remove this warning. See 10:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:29 10:38:29 Login Succeeded 10:38:29 docker.io 10:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:29 Configure a credential helper to remove this warning. See 10:38:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:29 10:38:29 Login Succeeded 10:38:29 ---> docker-login.sh ends [Pipeline] } 10:38:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:30 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:30 ========================================================= 10:38:30 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:38:30 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:30 + 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:38:30 Sending build context to Docker daemon 2.935MB 10:38:30 Step 1/21 : ARG BASE=alpine:3.16 10:38:30 Step 2/21 : FROM ${BASE} as builder 10:38:30 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:38:30 9b18e9b68314: Pulling fs layer 10:38:30 1def92ead452: Pulling fs layer 10:38:30 9b18e9b68314: Verifying Checksum 10:38:30 9b18e9b68314: Download complete 10:38:31 9b18e9b68314: Pull complete 10:38:33 1def92ead452: Verifying Checksum 10:38:33 1def92ead452: Download complete 10:38:41 1def92ead452: Pull complete 10:38:41 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 10:38:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:38:41 ---> 9a9802766715 10:38:41 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:38:42 ---> Running in ef074a226bd1 10:38:43 Connecting to iotech.jfrog.io (52.212.181.93:443) 10:38:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:38:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:38:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:38:44 Removing intermediate container ef074a226bd1 10:38:44 ---> 12b768659a0c 10:38:44 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:38:44 ---> Running in 3fa8616168fa 10:38:46 Removing intermediate container 3fa8616168fa 10:38:46 ---> c3fdfde33880 10:38:46 Step 5/21 : 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 iotech-iot-1.5-dev hiredis-dev 10:38:46 ---> Running in f6505e35e216 10:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:38:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:38:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:38:49 (1/14) Installing hiredis (1.0.2-r0) 10:38:49 (2/14) Installing hiredis-dev (1.0.2-r0) 10:38:49 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 10:38:49 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:38:49 (5/14) Installing libcbor (0.9.0-r1) 10:38:50 (6/14) Installing libcbor-dev (0.9.0-r1) 10:38:50 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:38:50 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:38:51 (9/14) Installing libblkid (2.38-r1) 10:38:51 (10/14) Installing libuuid (2.38-r1) 10:38:51 (11/14) Installing libfdisk (2.38-r1) 10:38:51 (12/14) Installing libmount (2.38-r1) 10:38:51 (13/14) Installing libsmartcols (2.38-r1) 10:38:51 (14/14) Installing util-linux-dev (2.38-r1) 10:38:51 Executing busybox-1.35.0-r17.trigger 10:38:51 OK: 286 MiB in 90 packages 10:38:52 Removing intermediate container f6505e35e216 10:38:52 ---> 27864ce6bd6a 10:38:52 Step 6/21 : RUN mkdir /tmp/sdk 10:38:52 ---> Running in f08ffde38942 10:38:53 Removing intermediate container f08ffde38942 10:38:53 ---> 0334c4ae901d 10:38:53 Step 7/21 : COPY VERSION /tmp/sdk 10:38:54 ---> 85cce7a42c90 10:38:54 Step 8/21 : COPY src /tmp/sdk/src 10:38:55 ---> f1d69a960bf0 10:38:55 Step 9/21 : COPY include /tmp/sdk/include 10:38:55 ---> a0a20834b5e7 10:38:55 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:38:56 ---> bae52469da61 10:38:56 Step 11/21 : COPY LICENSE /tmp/sdk 10:38:56 ---> c0ccfef050b9 10:38:56 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:38:57 ---> 4f1370c9edd7 10:38:57 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:38:57 ---> Running in 098f5b92f3a4 10:38:58 + CPPCHECK=false 10:38:58 + DOCGEN=false 10:38:58 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:38:58 + TOMLVER=SDK-0.2 10:38:58 + CUTILVER=1.4 10:38:58 + '[' 0 -gt 0 ] 10:38:58 + readlink -f ./scripts/build.sh 10:38:58 + dirname /tmp/sdk/scripts/build.sh 10:38:58 + dirname /tmp/sdk/scripts 10:38:58 + ROOT=/tmp/sdk 10:38:58 + cd /tmp/sdk 10:38:58 + '[' '!' -d deps ] 10:38:58 + mkdir deps 10:38:58 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:38:58 + tar -C deps -z -x -f - 10:38:58 Connecting to github.com (140.82.113.3:443) 10:38:58 Connecting to codeload.github.com (140.82.112.10:443) 10:38:58 writing to stdout 10:38:58 - 100% |********************************| 16451 0:00:00 ETA 10:38:58 written to stdout 10:38:58 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:38:58 + mkdir -p /tmp/sdk/build/release 10:38:58 + cd /tmp/sdk/build/release 10:38:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:38:58 -- The C compiler identification is GNU 11.2.1 10:38:58 -- Detecting C compiler ABI info 10:38:59 -- Detecting C compiler ABI info - done 10:38:59 -- Check for working C compiler: /usr/bin/cc - skipped 10:38:59 -- Detecting C compile features 10:38:59 -- Detecting C compile features - done 10:38:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:38:59 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:38:59 -- Found LIBYAML: /usr/lib/libyaml.so 10:38:59 -- Found LIBUUID: /usr/lib/libuuid.so 10:38:59 -- Found LIBCBOR: /usr/lib/libcbor.so 10:38:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:38:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:38:59 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:38:59 -- /opt/iotech/iot/1.5/include 10:38:59 -- C SDK 0.0.0 for Linux 10:38:59 -- Performing Test CSDK_HAVE_ATOMIC 10:38:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:38:59 -- Found Curses: /usr/lib/libcurses.so 10:38:59 -- Configuring done 10:39:00 -- Generating done 10:39:00 -- Build files have been written to: /tmp/sdk/build/release 10:39:00 + + maketee all release.log 10:39:00 package 10:39:00 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:39:01 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:39:02 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:39:03 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:39:04 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:39:04 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:39:08 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:39:08 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:39:09 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:39:10 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:39:12 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:39:12 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:39:14 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:39:14 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:39:15 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:39:15 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:39:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:39:20 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:39:21 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:39:22 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:39:27 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:39:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:39:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:39:29 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:39:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:39:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:39:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:39:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:39:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:39:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:39:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:39:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:39:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:39:45 [ 68%] Linking C shared library libcsdk.so 10:39:45 [ 68%] Built target csdk 10:39:46 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:39:47 [ 72%] Linking C executable template 10:39:47 [ 72%] Built target template 10:39:47 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:39:48 [ 76%] Linking C executable device-counter 10:39:48 [ 76%] Built target device-counter 10:39:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:39:48 [ 80%] Linking C executable device-random 10:39:49 [ 80%] Built target device-random 10:39:49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:39:49 [ 84%] Linking C executable device-gyro 10:39:50 [ 84%] Built target device-gyro 10:39:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:39:50 [ 88%] Linking C executable device-bitfields 10:39:50 [ 88%] Built target device-bitfields 10:39:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:39:52 [ 92%] Linking C executable template-discovery 10:39:52 [ 92%] Built target template-discovery 10:39:52 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:39:53 [ 96%] Linking C executable device-file 10:39:53 [ 96%] Built target device-file 10:39:53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:39:54 [100%] Linking C executable device-terminal 10:39:54 [100%] Built target device-terminal 10:39:54 Run CPack packaging tool... 10:39:54 CPack: Create package using TGZ 10:39:54 CPack: Install projects 10:39:54 CPack: - Run preinstall target for: Csdk 10:39:55 CPack: - Install project: Csdk [] 10:39:55 CPack: Create package 10:39:55 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:39:55 + '[' false '=' true ] 10:39:55 + '[' false '=' true ] 10:39:55 + mkdir -p /tmp/sdk/build/debug 10:39:55 + cd /tmp/sdk/build/debug 10:39:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:39:55 -- The C compiler identification is GNU 11.2.1 10:39:55 -- Detecting C compiler ABI info 10:39:56 -- Detecting C compiler ABI info - done 10:39:56 -- Check for working C compiler: /usr/bin/cc - skipped 10:39:56 -- Detecting C compile features 10:39:56 -- Detecting C compile features - done 10:39:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:39:56 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:39:56 -- Found LIBYAML: /usr/lib/libyaml.so 10:39:56 -- Found LIBUUID: /usr/lib/libuuid.so 10:39:56 -- Found LIBCBOR: /usr/lib/libcbor.so 10:39:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:39:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:39:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:39:56 -- /opt/iotech/iot/1.5/include 10:39:56 -- C SDK 0.0.0 for Linux 10:39:56 -- Performing Test CSDK_HAVE_ATOMIC 10:39:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:39:57 -- Found Curses: /usr/lib/libcurses.so 10:39:57 -- Configuring done 10:39:57 -- Generating done 10:39:57 -- Build files have been written to: /tmp/sdk/build/debug 10:39:57 + make 10:39:57 + tee debug.log 10:39:57 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:39:58 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:39:58 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:39:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:39:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:40:00 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:40:00 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:40:01 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:40:01 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:40:01 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:40:02 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:40:03 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:40:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:40:03 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:40:04 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:40:04 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:40:05 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:40:05 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:40:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:40:06 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:40:08 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:40:08 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:40:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:40:09 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:40:09 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:40:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:40:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:40:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:40:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:40:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:40:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:40:15 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:40:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:40:15 [ 68%] Linking C shared library libcsdk.so 10:40:15 [ 68%] Built target csdk 10:40:16 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:40:16 [ 72%] Linking C executable template 10:40:16 [ 72%] Built target template 10:40:16 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:40:17 [ 76%] Linking C executable device-counter 10:40:17 [ 76%] Built target device-counter 10:40:17 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:40:17 [ 80%] Linking C executable device-random 10:40:18 [ 80%] Built target device-random 10:40:18 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:40:18 [ 84%] Linking C executable device-gyro 10:40:18 [ 84%] Built target device-gyro 10:40:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:40:19 [ 88%] Linking C executable device-bitfields 10:40:19 [ 88%] Built target device-bitfields 10:40:19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:40:19 [ 92%] Linking C executable template-discovery 10:40:20 [ 92%] Built target template-discovery 10:40:20 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:40:20 [ 96%] Linking C executable device-file 10:40:20 [ 96%] Built target device-file 10:40:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:40:21 [100%] Linking C executable device-terminal 10:40:21 [100%] Built target device-terminal 10:40:21 make: Entering directory '/tmp/sdk/build/release' 10:40:21 make[1]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 68%] Built target csdk 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 72%] Built target template 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 76%] Built target device-counter 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 80%] Built target device-random 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 84%] Built target device-gyro 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:21 [ 88%] Built target device-bitfields 10:40:21 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:21 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:22 [ 92%] Built target template-discovery 10:40:22 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:22 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:22 [ 96%] Built target device-file 10:40:22 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:22 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:22 [100%] Built target device-terminal 10:40:22 make[1]: Leaving directory '/tmp/sdk/build/release' 10:40:22 Install the project... 10:40:22 -- Install configuration: "Release" 10:40:22 -- Installing: /usr/local/lib/libcsdk.so 10:40:22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:40:22 -- Installing: /usr/local/include 10:40:22 -- Installing: /usr/local/include/devsdk 10:40:22 -- Installing: /usr/local/include/devsdk/devsdk.h 10:40:22 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:40:22 -- Installing: /usr/local/include/edgex 10:40:22 -- Installing: /usr/local/include/edgex/rest-server.h 10:40:22 -- Installing: /usr/local/include/edgex/edgex.h 10:40:22 -- Installing: /usr/local/include/edgex/edgex-base.h 10:40:22 -- Installing: /usr/local/include/edgex/devices.h 10:40:22 -- Installing: /usr/local/include/edgex/profiles.h 10:40:22 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:40:22 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:40:22 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:40:22 make: Leaving directory '/tmp/sdk/build/release' 10:40:23 Removing intermediate container 098f5b92f3a4 10:40:23 ---> 05590acf6d6b 10:40:23 Step 14/21 : FROM ${BASE} 10:40:23 ---> 9a9802766715 10:40:23 Step 15/21 : LABEL maintainer="IOTech " 10:40:23 ---> Running in 63584e349149 10:40:24 Removing intermediate container 63584e349149 10:40:24 ---> 23ac3362aa7c 10:40:24 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:40:24 ---> Running in 947f56b22758 10:40:25 Connecting to iotech.jfrog.io (52.212.183.138:443) 10:40:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:40:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:40:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:40:26 Removing intermediate container 947f56b22758 10:40:26 ---> 85fa21e37abd 10:40:26 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:40:26 ---> Running in 55294376b5e8 10:40:27 Removing intermediate container 55294376b5e8 10:40:27 ---> 3a345e676cc2 10:40:27 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 10:40:27 ---> Running in 3f7062eb6e8f 10:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:40:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:40:30 (1/7) Installing curl (7.83.1-r6) 10:40:30 (2/7) Installing hiredis (1.0.2-r0) 10:40:30 (3/7) Installing hiredis-dev (1.0.2-r0) 10:40:30 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 10:40:31 (5/7) Installing libcbor (0.9.0-r1) 10:40:31 (6/7) Installing libuuid (2.38-r1) 10:40:31 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:40:32 Executing busybox-1.35.0-r17.trigger 10:40:32 OK: 281 MiB in 83 packages 10:40:33 Removing intermediate container 3f7062eb6e8f 10:40:33 ---> f3007aca7288 10:40:33 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:40:33 ---> 2e76f10a70f4 10:40:33 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:40:34 ---> 2a8af6bd1ac3 10:40:34 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:40:34 ---> 6a3422819fe9 10:40:34 Successfully built 6a3422819fe9 10:40:34 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:40:35 + docker inspect -f . ci-base-image-arm64 10:40:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:35 prd-ubuntu20.04-docker-arm64-4c-16g-9613 does not seem to be running inside a container 10:40:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:40:36 $ docker top d0f800d34bf0d00f9a34d801813108fd8cd82cf64c4dba584127b5d7ab66a6f8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:37 + make test 10:40:37 echo "make test" 10:40:37 make test [Pipeline] } 10:40:37 $ docker stop --time=1 d0f800d34bf0d00f9a34d801813108fd8cd82cf64c4dba584127b5d7ab66a6f8 10:40:39 $ docker rm -f --volumes d0f800d34bf0d00f9a34d801813108fd8cd82cf64c4dba584127b5d7ab66a6f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:40:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:40 + ls -al . 10:40:40 total 200 10:40:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 10:38 . 10:40:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:37 .. 10:40:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 10:38 .git 10:40:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:38 .github 10:40:40 -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 10:38 .gitignore 10:40:40 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 10:38 Attribution.txt 10:40:40 -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 10:38 CHANGES 10:40:40 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 10:38 Doxyfile 10:40:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 10:38 GOVERNANCE.md 10:40:40 -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 10:38 Jenkinsfile 10:40:40 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 10:38 LICENSE 10:40:40 -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 10:38 Makefile 10:40:40 -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 10:38 OWNERS.md 10:40:40 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 10:38 README.md 10:40:40 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 10:38 README.v3.md 10:40:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 10:36 VERSION 10:40:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:38 docs 10:40:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:38 include 10:40:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 10:38 scripts 10:40:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 10:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:40 + 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=e50c99d81587ca2b716fa892c8dc5fb1747e4762 --label arch=arm64 --label version=0.0.0 . 10:40:40 Sending build context to Docker daemon 2.935MB 10:40:40 Step 1/17 : ARG BASE=alpine:3.16 10:40:40 Step 2/17 : FROM ${BASE} 10:40:40 ---> 6a3422819fe9 10:40:40 Step 3/17 : LABEL maintainer="IOTech " 10:40:40 ---> Running in cdb2689a1ddc 10:40:41 Removing intermediate container cdb2689a1ddc 10:40:41 ---> 28efd9df3aa5 10:40:41 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:40:41 ---> Running in e451ba3b2fee 10:40:42 Connecting to iotech.jfrog.io (34.240.134.226:443) 10:40:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:40:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:40:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:40:43 Removing intermediate container e451ba3b2fee 10:40:43 ---> 378d31d927ae 10:40:43 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:40:43 ---> Running in 2954b7e9e820 10:40:44 Removing intermediate container 2954b7e9e820 10:40:44 ---> ef0fcf9475d8 10:40:44 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 iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:40:44 ---> Running in c5fb4664a4e3 10:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:40:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:40:47 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 10:40:47 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:40:47 (3/9) Installing libcbor-dev (0.9.0-r1) 10:40:47 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 10:40:47 (5/9) Installing libblkid (2.38-r1) 10:40:47 (6/9) Installing libfdisk (2.38-r1) 10:40:47 (7/9) Installing libmount (2.38-r1) 10:40:47 (8/9) Installing libsmartcols (2.38-r1) 10:40:47 (9/9) Installing util-linux-dev (2.38-r1) 10:40:47 Executing busybox-1.35.0-r17.trigger 10:40:47 OK: 287 MiB in 92 packages 10:40:49 Removing intermediate container c5fb4664a4e3 10:40:49 ---> 3f0fbbdd0505 10:40:49 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:40:49 ---> 87bbf96a5afd 10:40:49 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:40:50 ---> b17af62be087 10:40:50 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:40:50 ---> 792ace83a4e3 10:40:50 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:40:51 ---> f1239671afdc 10:40:51 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:40:51 ---> 894894f582a4 10:40:51 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:40:52 ---> eff1eb67bb80 10:40:52 Step 13/17 : WORKDIR /edgex-c-sdk 10:40:52 ---> Running in 69c6be493dee 10:40:52 Removing intermediate container 69c6be493dee 10:40:52 ---> af18c0f0a920 10:40:52 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:40:52 ---> Running in 885ca1118cb3 10:40:53 Removing intermediate container 885ca1118cb3 10:40:53 ---> 696200628536 10:40:53 Step 15/17 : LABEL arch=arm64 10:40:53 ---> Running in fa316f247c40 10:40:53 Removing intermediate container fa316f247c40 10:40:53 ---> 6e27feebe1ee 10:40:53 Step 16/17 : LABEL git_sha=e50c99d81587ca2b716fa892c8dc5fb1747e4762 10:40:53 ---> Running in 08460c7a48ca 10:40:53 Removing intermediate container 08460c7a48ca 10:40:53 ---> 13ebfa01f0bf 10:40:53 Step 17/17 : LABEL version=0.0.0 10:40:53 ---> Running in 145c2c9d072c 10:40:54 Removing intermediate container 145c2c9d072c 10:40:54 ---> b2ba02513845 10:40:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:40:54 Successfully built b2ba02513845 10:40:54 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:40:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:54 10:40:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:55 arm64: Pulling from edgex-lftools-log-publisher 10:40:55 8998bd30e6a1: Pulling fs layer 10:40:55 04944245beec: Pulling fs layer 10:40:55 699f458cf7ca: Pulling fs layer 10:40:55 765212b225bb: Pulling fs layer 10:40:55 f23df028b6ca: Pulling fs layer 10:40:55 d65c8cfc05b1: Pulling fs layer 10:40:55 2437ff75d9bd: Pulling fs layer 10:40:55 f23df028b6ca: Waiting 10:40:55 d65c8cfc05b1: Waiting 10:40:55 2437ff75d9bd: Waiting 10:40:55 765212b225bb: Waiting 10:40:55 04944245beec: Verifying Checksum 10:40:55 04944245beec: Download complete 10:40:55 765212b225bb: Verifying Checksum 10:40:55 765212b225bb: Download complete 10:40:55 f23df028b6ca: Verifying Checksum 10:40:55 f23df028b6ca: Download complete 10:40:55 d65c8cfc05b1: Verifying Checksum 10:40:55 d65c8cfc05b1: Download complete 10:40:55 699f458cf7ca: Verifying Checksum 10:40:55 699f458cf7ca: Download complete 10:40:55 8998bd30e6a1: Verifying Checksum 10:40:55 8998bd30e6a1: Download complete 10:40:58 2437ff75d9bd: Verifying Checksum 10:40:58 2437ff75d9bd: Download complete 10:40:59 8998bd30e6a1: Pull complete 10:41:00 04944245beec: Pull complete 10:41:01 699f458cf7ca: Pull complete 10:41:01 765212b225bb: Pull complete 10:41:02 f23df028b6ca: Pull complete 10:41:02 d65c8cfc05b1: Pull complete 10:41:17 2437ff75d9bd: Pull complete 10:41:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:17 prd-ubuntu20.04-docker-arm64-4c-16g-9613 does not seem to be running inside a container 10:41:17 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:41:19 $ docker top 28e9477b98e98c3af97f187567b192daee5ab353d4b90747f2a1205f23fc63ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:20 ---> job-cost.sh 10:41:20 lf-activate-venv: SKIPPING 10:41:20 INFO: No Stack... 10:41:20 INFO: Retrieving Pricing Info for: v3-standard-4 10:41:21 INFO: Archiving Costs [Pipeline] sh 10:41:22 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 10:41:22 + cut -d, -f6 [Pipeline] lock 10:41:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] 10:41:22 Resource [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] did not exist. Created. 10:41:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:22 /w/workspace/device-sdk-c/2@tmp/durable-0212fa24/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:41:22 + echo total: 0.10999999940395355 [Pipeline] stash 10:41:22 Warning: overwriting stash ‘stack-cost’ 10:41:23 Stashed 1 file(s) [Pipeline] } 10:41:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-447-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:23 $ docker stop --time=1 28e9477b98e98c3af97f187567b192daee5ab353d4b90747f2a1205f23fc63ff 10:41:26 $ docker rm -f --volumes 28e9477b98e98c3af97f187567b192daee5ab353d4b90747f2a1205f23fc63ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:41:27 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives ] 10:41:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:41:27 total 16 10:41:27 drwxr-xr-x 3 root root 4096 Mar 10 10:37 . 10:41:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 10:37 .. 10:41:27 drwxr-xr-x 2 root root 4096 Mar 10 10:37 cost 10:41:27 -rw-r--r-- 1 root root 84 Mar 10 10:37 cost.csv 10:41:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:41:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:41:27 total 16 10:41:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 10:37 . 10:41:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 10:37 .. 10:41:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 10:37 cost 10:41:27 -rw-r--r-- 1 jenkins jenkins 84 Mar 10 10:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:41:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:41:28 ---> package-listing.sh 10:41:28 ++ facter osfamily 10:41:28 ++ tr '[:upper:]' '[:lower:]' 10:41:28 + OS_FAMILY=debian 10:41:28 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-447 10:41:28 + START_PACKAGES=/tmp/packages_start.txt 10:41:28 + END_PACKAGES=/tmp/packages_end.txt 10:41:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:41:28 + PACKAGES=/tmp/packages_start.txt 10:41:28 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-447 ']' 10:41:28 + PACKAGES=/tmp/packages_end.txt 10:41:28 + case "${OS_FAMILY}" in 10:41:28 + dpkg -l 10:41:28 + grep '^ii' 10:41:28 + '[' -f /tmp/packages_start.txt ']' 10:41:28 + '[' -f /tmp/packages_end.txt ']' 10:41:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:41:28 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-447 ']' 10:41:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/ 10:41:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/ [Pipeline] echo 10:41:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:41:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:29 prd-ubuntu20.04-docker-8c-8g-9612 does not seem to be running inside a container 10:41:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:41:30 $ docker top a0b740a2d43bbbb470ddd4d4fe28a0ba7a18caa6e7e61b43be45455a24634233 -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:30 + touch /tmp/pre-build-complete [Pipeline] sh 10:41:30 + mkdir -p /var/log/sysstat [Pipeline] sh 10:41:31 + ls /var/log/sa-host 10:41:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:31 provisioning config files... 10:41:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config151532545880502192tmp [Pipeline] { [Pipeline] echo 10:41:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:41:31 ---> create-netrc.sh [Pipeline] } 10:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:41:31 ---> python-tools-install.sh [Pipeline] echo 10:41:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:41:32 ---> sudo-logs.sh 10:41:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:41:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:41:32 ---> job-cost.sh 10:41:32 lf-activate-venv: SKIPPING 10:41:32 DEBUG: total: 0.2199999988079071 10:41:32 INFO: Retrieving Stack Cost... 10:41:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:33 INFO: Archiving Costs [Pipeline] echo 10:41:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:41:33 ---> logs-deploy.sh 10:41:33 lf-activate-venv: SKIPPING 10:41:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-447/2 10:41:33 INFO: archiving workspace using pattern(s): 10:41:34 Archives upload complete. 10:41:34 INFO: archiving logs to Nexus 10:41:35 ---> uname -a: 10:41:35 Linux prd-ubuntu20-04-docker-8c-8g-9612 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:41:35 10:41:35 10:41:35 ---> lscpu: 10:41:35 Architecture: x86_64 10:41:35 CPU op-mode(s): 32-bit, 64-bit 10:41:35 Byte Order: Little Endian 10:41:35 Address sizes: 40 bits physical, 48 bits virtual 10:41:35 CPU(s): 8 10:41:35 On-line CPU(s) list: 0-7 10:41:35 Thread(s) per core: 1 10:41:35 Core(s) per socket: 1 10:41:35 Socket(s): 8 10:41:35 NUMA node(s): 1 10:41:35 Vendor ID: AuthenticAMD 10:41:35 CPU family: 23 10:41:35 Model: 49 10:41:35 Model name: AMD EPYC-Rome Processor 10:41:35 Stepping: 0 10:41:35 CPU MHz: 2799.864 10:41:35 BogoMIPS: 5599.72 10:41:35 Virtualization: AMD-V 10:41:35 Hypervisor vendor: KVM 10:41:35 Virtualization type: full 10:41:35 L1d cache: 256 KiB 10:41:35 L1i cache: 256 KiB 10:41:35 L2 cache: 4 MiB 10:41:35 L3 cache: 128 MiB 10:41:35 NUMA node0 CPU(s): 0-7 10:41:35 Vulnerability Itlb multihit: Not affected 10:41:35 Vulnerability L1tf: Not affected 10:41:35 Vulnerability Mds: Not affected 10:41:35 Vulnerability Meltdown: Not affected 10:41:35 Vulnerability Mmio stale data: Not affected 10:41:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:41:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:41:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:41:35 Vulnerability Srbds: Not affected 10:41:35 Vulnerability Tsx async abort: Not affected 10:41:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:41:35 10:41:35 10:41:35 ---> nproc: 10:41:35 8 10:41:35 10:41:35 10:41:35 ---> df -h: 10:41:35 Filesystem Size Used Avail Use% Mounted on 10:41:35 overlay 155G 11G 145G 7% / 10:41:35 tmpfs 64M 0 64M 0% /dev 10:41:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:41:35 shm 64M 0 64M 0% /dev/shm 10:41:35 /dev/vda1 155G 11G 145G 7% /facter-os 10:41:35 10:41:35 10:41:35 ---> sar -b -r -n DEV: 10:41:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9612) 03/10/23 _x86_64_ (8 CPU) 10:41:35 10:41:35 10:35:10 LINUX RESTART (8 CPU) 10:41:35 10:41:35 10:36:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:41:35 10:37:01 226.95 3.05 223.90 0.00 404.53 36949.20 0.00 10:41:35 10:38:01 10.73 0.12 10.61 0.00 2.13 2162.88 0.00 10:41:35 10:39:01 1.47 0.00 1.47 0.00 0.00 15.35 0.00 10:41:35 10:40:01 1.32 0.00 1.32 0.00 0.00 15.60 0.00 10:41:35 10:41:01 52.59 10.60 41.99 0.00 5158.74 8773.20 0.00 10:41:35 Average: 58.60 2.75 55.85 0.00 1113.07 9582.09 0.00 10:41:35 10:41:35 10:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:41:35 10:37:01 29088768 31570688 719260 2.19 89448 2654408 1819424 5.36 1054168 2341576 30780 10:41:35 10:38:01 29101480 31583868 711304 2.16 89756 2654632 1729364 5.10 1057784 2329208 172 10:41:35 10:39:01 29101204 31583576 711536 2.16 89788 2654632 1729364 5.10 1057464 2329208 12 10:41:35 10:40:01 29110464 31592764 702560 2.14 89812 2654636 1729364 5.10 1049072 2329212 8 10:41:35 10:41:01 28580596 31571688 712560 2.17 123372 3109836 1806272 5.32 1374492 2500096 1044 10:41:35 Average: 28996502 31580517 711444 2.16 96435 2745629 1762758 5.20 1118596 2365860 6403 10:41:35 10:41:35 10:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:41:35 10:37:01 docker0 17.68 26.10 1.31 229.65 0.00 0.00 0.00 0.00 10:41:35 10:37:01 lo 3.33 3.33 0.33 0.33 0.00 0.00 0.00 0.00 10:41:35 10:37:01 ens3 243.10 156.65 4515.71 42.17 0.00 0.00 0.00 0.00 10:41:35 10:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:35 10:38:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 10:41:35 10:38:01 ens3 8.63 5.98 8.35 3.20 0.00 0.00 0.00 0.00 10:41:35 10:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:35 10:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:35 10:39:01 ens3 0.38 0.40 0.02 0.04 0.00 0.00 0.00 0.00 10:41:35 10:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:35 10:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:41:35 10:40:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 10:41:35 10:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:35 10:41:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 10:41:35 10:41:01 ens3 197.93 102.57 2804.47 7.24 0.00 0.00 0.00 0.00 10:41:35 Average: docker0 3.54 5.22 0.26 45.92 0.00 0.00 0.00 0.00 10:41:35 Average: lo 0.89 0.89 0.08 0.08 0.00 0.00 0.00 0.00 10:41:35 Average: ens3 90.02 53.14 1465.56 10.53 0.00 0.00 0.00 0.00 10:41:35 10:41:35 10:41:35 ---> sar -P ALL: 10:41:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9612) 03/10/23 _x86_64_ (8 CPU) 10:41:35 10:41:35 10:35:10 LINUX RESTART (8 CPU) 10:41:35 10:41:35 10:36:01 CPU %user %nice %system %iowait %steal %idle 10:41:35 10:37:01 all 8.70 0.00 3.65 2.09 0.05 85.51 10:41:35 10:37:01 0 9.54 0.00 3.93 0.12 0.07 86.34 10:41:35 10:37:01 1 6.86 0.00 3.76 1.07 0.03 88.27 10:41:35 10:37:01 2 8.08 0.00 3.45 0.66 0.05 87.76 10:41:35 10:37:01 3 6.45 0.00 3.45 6.04 0.05 84.01 10:41:35 10:37:01 4 8.37 0.00 3.92 6.59 0.05 81.07 10:41:35 10:37:01 5 13.44 0.00 3.70 0.44 0.05 82.37 10:41:35 10:37:01 6 10.53 0.00 3.63 0.22 0.05 85.57 10:41:35 10:37:01 7 6.32 0.00 3.36 1.56 0.05 88.71 10:41:35 10:38:01 all 0.23 0.00 0.13 0.16 0.01 99.49 10:41:35 10:38:01 0 0.40 0.00 0.15 0.02 0.00 99.43 10:41:35 10:38:01 1 0.18 0.00 0.12 0.05 0.02 99.63 10:41:35 10:38:01 2 0.17 0.00 0.15 0.00 0.00 99.68 10:41:35 10:38:01 3 0.25 0.00 0.12 0.00 0.00 99.63 10:41:35 10:38:01 4 0.20 0.00 0.13 0.63 0.02 99.02 10:41:35 10:38:01 5 0.18 0.00 0.13 0.00 0.00 99.68 10:41:35 10:38:01 6 0.22 0.00 0.10 0.10 0.00 99.58 10:41:35 10:38:01 7 0.20 0.00 0.10 0.45 0.02 99.23 10:41:35 10:39:01 all 0.03 0.00 0.02 0.00 0.00 99.95 10:41:35 10:39:01 0 0.03 0.00 0.02 0.00 0.00 99.95 10:41:35 10:39:01 1 0.02 0.00 0.03 0.02 0.00 99.93 10:41:35 10:39:01 2 0.02 0.00 0.02 0.00 0.00 99.97 10:41:35 10:39:01 3 0.05 0.00 0.05 0.00 0.02 99.88 10:41:35 10:39:01 4 0.03 0.00 0.03 0.00 0.00 99.93 10:41:35 10:39:01 5 0.02 0.00 0.00 0.00 0.00 99.98 10:41:35 10:39:01 6 0.05 0.00 0.00 0.00 0.00 99.95 10:41:35 10:39:01 7 0.02 0.00 0.02 0.00 0.00 99.97 10:41:35 10:40:01 all 0.04 0.00 0.01 0.02 0.00 99.93 10:41:35 10:40:01 0 0.08 0.00 0.02 0.00 0.00 99.90 10:41:35 10:40:01 1 0.02 0.00 0.00 0.02 0.00 99.97 10:41:35 10:40:01 2 0.02 0.00 0.03 0.15 0.00 99.80 10:41:35 10:40:01 3 0.08 0.00 0.02 0.00 0.00 99.90 10:41:35 10:40:01 4 0.02 0.00 0.02 0.00 0.00 99.97 10:41:35 10:40:01 5 0.02 0.00 0.02 0.00 0.02 99.95 10:41:35 10:40:01 6 0.03 0.00 0.02 0.00 0.00 99.95 10:41:35 10:40:01 7 0.02 0.00 0.00 0.00 0.00 99.98 10:41:35 10:41:01 all 2.22 0.00 1.36 0.56 0.03 95.84 10:41:35 10:41:01 0 1.74 0.00 0.70 1.12 0.02 96.42 10:41:35 10:41:01 1 2.47 0.00 2.42 0.28 0.02 94.81 10:41:35 10:41:01 2 2.56 0.00 0.96 1.43 0.02 95.03 10:41:35 10:41:01 3 1.80 0.00 2.27 0.05 0.02 95.86 10:41:35 10:41:01 4 3.28 0.00 1.19 0.05 0.02 95.47 10:41:35 10:41:01 5 2.17 0.00 1.05 1.12 0.02 95.64 10:41:35 10:41:01 6 1.81 0.00 1.12 0.03 0.02 97.02 10:41:35 10:41:01 7 1.91 0.00 1.14 0.39 0.12 96.45 10:41:35 Average: all 2.23 0.00 1.03 0.56 0.02 96.16 10:41:35 Average: 0 2.35 0.00 0.96 0.25 0.02 96.43 10:41:35 Average: 1 1.90 0.00 1.26 0.29 0.01 96.53 10:41:35 Average: 2 2.16 0.00 0.92 0.45 0.01 96.46 10:41:35 Average: 3 1.72 0.00 1.18 1.21 0.02 95.88 10:41:35 Average: 4 2.37 0.00 1.05 1.45 0.02 95.11 10:41:35 Average: 5 3.15 0.00 0.98 0.31 0.02 95.55 10:41:35 Average: 6 2.52 0.00 0.97 0.07 0.01 96.42 10:41:35 Average: 7 1.68 0.00 0.92 0.48 0.04 96.89 10:41:35 10:41:35 10:41:35