Pull request #440 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 eafbf3d9695056fdb220afb931551b369a5eea4e+60c720530b7232d7be6f88f4d69bf42c6efbb654 (35cb257e3246a15cabdbc2e2ba9da1f33213c4ee) 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-ssh1140964129851169035.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-ssh6651485126693500476.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-440/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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17308634552646199815.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-ssh16895145634867773727.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-440/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-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7145472677327796368.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4876 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [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-440 # 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit eafbf3d9695056fdb220afb931551b369a5eea4e Merge succeeded, producing eafbf3d9695056fdb220afb931551b369a5eea4e Checking out Revision eafbf3d9695056fdb220afb931551b369a5eea4e (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # 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 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config and the code for sending event via core-data REST client (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:15:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:15:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:15:23 ========================================================= 11:15:23 EdgeX Global Pipelines Version Info 11:15:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # timeout=10 11:15:24 ------------------- 11:15:24 stable info: 11:15:24 ------------------- 11:15:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:15:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:15:24 Message: update stable to v1.0.244 11:15:25 ------------------- 11:15:25 experimental info: 11:15:25 ------------------- 11:15:25 Commited By: **** collab-it+edgex@linuxfoundation.org 11:15:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:15:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eafbf3d [Pipeline] echo 11:15:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:25 provisioning config files... 11:15:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config14648790052049241956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:26 ---> docker-login.sh 11:15:26 nexus3.edgexfoundry.org:10001 11:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:26 Configure a credential helper to remove this warning. See 11:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:26 11:15:26 Login Succeeded 11:15:26 nexus3.edgexfoundry.org:10002 11:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:27 Configure a credential helper to remove this warning. See 11:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:27 11:15:27 Login Succeeded 11:15:27 nexus3.edgexfoundry.org:10003 11:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:27 Configure a credential helper to remove this warning. See 11:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:27 11:15:27 Login Succeeded 11:15:27 nexus3.edgexfoundry.org:10004 11:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:27 Configure a credential helper to remove this warning. See 11:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:27 11:15:27 Login Succeeded 11:15:27 docker.io 11:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:27 Configure a credential helper to remove this warning. See 11:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:27 11:15:27 Login Succeeded 11:15:27 ---> docker-login.sh ends [Pipeline] } 11:15:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 11:15:27 + git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo 11:15:27 -----------> git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e eafbf3d9695056fdb220afb931551b369a5eea4e [false] [Pipeline] sh 11:15:28 + git log --format=format:%s -1 eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo 11:15:28 ========================================================= 11:15:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:15:28 ========================================================= 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 11:15:28 + git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo 11:15:28 -----------> git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e eafbf3d9695056fdb220afb931551b369a5eea4e [false] [Pipeline] sh 11:15:28 + git log --format=format:%s -1 eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo 11:15:29 ========================================================= 11:15:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:15:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 11:15:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:29 + grep -v github /etc/ssh/ssh_known_hosts 11:15:29 + [ -e /tmp/ssh_known_hosts ] 11:15:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:15:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:15:29 + sudo tee -a /etc/ssh/ssh_known_hosts 11:15:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:29 11:15:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:30 0.1.4: Pulling from edgex-devops/py-git-semver 11:15:30 b85a868b505f: Pulling fs layer 11:15:30 e2be974225ed: Pulling fs layer 11:15:30 339a4e72a1f5: Pulling fs layer 11:15:30 988bab9f4d93: Pulling fs layer 11:15:30 1469e6f7b9e6: Pulling fs layer 11:15:30 eaf3925da568: Pulling fs layer 11:15:30 bab4dde63d76: Pulling fs layer 11:15:30 bde34c3a00c8: Pulling fs layer 11:15:30 b352a97aabf1: Pulling fs layer 11:15:30 4872d77fe225: Pulling fs layer 11:15:30 5851b861e8e6: Pulling fs layer 11:15:30 4872d77fe225: Waiting 11:15:30 b352a97aabf1: Waiting 11:15:30 bde34c3a00c8: Waiting 11:15:30 1469e6f7b9e6: Waiting 11:15:30 bab4dde63d76: Waiting 11:15:30 5851b861e8e6: Waiting 11:15:30 eaf3925da568: Waiting 11:15:30 988bab9f4d93: Waiting 11:15:30 e2be974225ed: Download complete 11:15:30 988bab9f4d93: Verifying Checksum 11:15:30 988bab9f4d93: Download complete 11:15:30 1469e6f7b9e6: Verifying Checksum 11:15:30 1469e6f7b9e6: Download complete 11:15:30 eaf3925da568: Verifying Checksum 11:15:30 eaf3925da568: Download complete 11:15:30 339a4e72a1f5: Verifying Checksum 11:15:30 339a4e72a1f5: Download complete 11:15:30 bde34c3a00c8: Download complete 11:15:30 b352a97aabf1: Download complete 11:15:30 4872d77fe225: Download complete 11:15:30 5851b861e8e6: Verifying Checksum 11:15:30 5851b861e8e6: Download complete 11:15:30 b85a868b505f: Download complete 11:15:31 bab4dde63d76: Verifying Checksum 11:15:31 bab4dde63d76: Download complete 11:15:32 b85a868b505f: Pull complete 11:15:32 e2be974225ed: Pull complete 11:15:32 339a4e72a1f5: Pull complete 11:15:32 988bab9f4d93: Pull complete 11:15:33 1469e6f7b9e6: Pull complete 11:15:33 eaf3925da568: Pull complete 11:15:35 bab4dde63d76: Pull complete 11:15:35 bde34c3a00c8: Pull complete 11:15:35 b352a97aabf1: Pull complete 11:15:35 4872d77fe225: Pull complete 11:15:35 5851b861e8e6: Pull complete 11:15:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:35 prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container 11:15:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@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-devops/py-git-semver:0.1.4 cat 11:15:41 $ docker top d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e -eo pid,comm 11:15:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:15:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:41 [ssh-agent] Looking for ssh-agent implementation... 11:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:41 $ docker exec d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent 11:15:41 SSH_AUTH_SOCK=/tmp/ssh-fpAyZJz8iIh9/agent.33 11:15:41 SSH_AGENT_PID=39 11:15:41 Running ssh-add (command line suppressed) 11:15:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_15309469616035878815.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_15309469616035878815.key) 11:15:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:41 + git tag --points-at HEAD [Pipeline] } 11:15:41 $ docker exec --env ******** --env ******** d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent -k 11:15:41 unset SSH_AUTH_SOCK; 11:15:41 unset SSH_AGENT_PID; 11:15:41 echo Agent pid 39 killed; 11:15:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:15:41 [ssh-agent] Looking for ssh-agent implementation... 11:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:15:42 $ docker exec d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent 11:15:42 SSH_AUTH_SOCK=/tmp/ssh-W8A1WWL5jtNB/agent.71 11:15:42 SSH_AGENT_PID=77 11:15:42 Running ssh-add (command line suppressed) 11:15:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_8578553739483646997.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_8578553739483646997.key) 11:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:15:42 + git semver init 11:15:42 2023-02-07 11:15:42,816 [run_init] DEBUG init version:0.0.0 force:False 11:15:42 2023-02-07 11:15:42,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver 11:15:42 2023-02-07 11:15:42,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver 11:15:42 2023-02-07 11:15:42,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440, universal_newlines=False, shell=None, istream=None) 11:15:44 2023-02-07 11:15:43,924 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.git/info/exclude 11:15:44 2023-02-07 11:15:43,925 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 with force:False 11:15:44 2023-02-07 11:15:43,925 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 11:15:44 2023-02-07 11:15:43,929 [execute] INFO git cat-file --batch-check 11:15:44 2023-02-07 11:15:43,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) 11:15:44 2023-02-07 11:15:43,937 [execute] INFO git cat-file --batch 11:15:44 2023-02-07 11:15:43,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) 11:15:44 2023-02-07 11:15:43,941 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 11:15:44 0.0.0 [Pipeline] } 11:15:44 $ docker exec --env ******** --env ******** d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent -k 11:15:44 unset SSH_AUTH_SOCK; 11:15:44 unset SSH_AGENT_PID; 11:15:44 echo Agent pid 77 killed; 11:15:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:15:44 + git semver [Pipeline] } 11:15:44 $ docker stop --time=1 d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e 11:15:46 $ docker rm -f --volumes d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e [Pipeline] // withDockerContainer [Pipeline] sh 11:15:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:15:47 Stashed 1 file(s) [Pipeline] echo 11:15:47 [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 11:15:47 provisioning config files... 11:15:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config5148136867695575763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:47 ---> docker-login.sh 11:15:47 nexus3.edgexfoundry.org:10001 11:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:47 Configure a credential helper to remove this warning. See 11:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:47 11:15:47 Login Succeeded 11:15:47 nexus3.edgexfoundry.org:10002 11:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:48 Configure a credential helper to remove this warning. See 11:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:48 11:15:48 Login Succeeded 11:15:48 nexus3.edgexfoundry.org:10003 11:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:48 Configure a credential helper to remove this warning. See 11:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:48 11:15:48 Login Succeeded 11:15:48 nexus3.edgexfoundry.org:10004 11:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:48 Configure a credential helper to remove this warning. See 11:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:48 11:15:48 Login Succeeded 11:15:48 docker.io 11:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:48 Configure a credential helper to remove this warning. See 11:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:48 11:15:48 Login Succeeded 11:15:48 ---> docker-login.sh ends [Pipeline] } 11:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:48 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 11:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:15:48 ========================================================= 11:15:48 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:15:48 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:49 + 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 . 11:15:49 Sending build context to Docker daemon 4.763MB 11:15:49 Step 1/21 : ARG BASE=alpine:3.16 11:15:49 Step 2/21 : FROM ${BASE} as builder 11:15:49 latest: Pulling from edgex-devops/edgex-gcc-base 11:15:49 213ec9aee27d: Pulling fs layer 11:15:49 0f09ad1b1b37: Pulling fs layer 11:15:49 213ec9aee27d: Download complete 11:15:49 213ec9aee27d: Pull complete 11:15:50 0f09ad1b1b37: Verifying Checksum 11:15:50 0f09ad1b1b37: Download complete 11:15:53 0f09ad1b1b37: Pull complete 11:15:54 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 11:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:15:54 ---> b2bbfebb3566 11:15:54 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 11:15:59 ---> Running in e5c4064f26a0 11:15:59 Connecting to iotech.jfrog.io (52.49.66.18:443) 11:16:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:16:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:16:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:16:00 Removing intermediate container e5c4064f26a0 11:16:00 ---> 730498e94603 11:16:00 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:16:00 ---> Running in b09396d83e7e 11:16:02 Removing intermediate container b09396d83e7e 11:16:02 ---> 5d2e5fa3b083 11:16:02 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.4-dev hiredis-dev 11:16:02 Still waiting to schedule task 11:16:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:16:02 ---> Running in 5b4c867710f7 11:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:16:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:16:03 (1/14) Installing hiredis (1.0.2-r0) 11:16:03 (2/14) Installing hiredis-dev (1.0.2-r0) 11:16:03 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 11:16:04 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 11:16:04 (5/14) Installing libcbor (0.9.0-r1) 11:16:04 (6/14) Installing libcbor-dev (0.9.0-r1) 11:16:04 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 11:16:04 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:16:05 (9/14) Installing libblkid (2.38-r1) 11:16:05 (10/14) Installing libuuid (2.38-r1) 11:16:05 (11/14) Installing libfdisk (2.38-r1) 11:16:05 (12/14) Installing libmount (2.38-r1) 11:16:05 (13/14) Installing libsmartcols (2.38-r1) 11:16:05 (14/14) Installing util-linux-dev (2.38-r1) 11:16:05 Executing busybox-1.35.0-r17.trigger 11:16:05 OK: 280 MiB in 90 packages 11:16:08 Removing intermediate container 5b4c867710f7 11:16:08 ---> 29a3719a66e4 11:16:08 Step 6/21 : RUN mkdir /tmp/sdk 11:16:09 ---> Running in c1eddd7cea69 11:16:11 Removing intermediate container c1eddd7cea69 11:16:11 ---> b2a28d361dc4 11:16:11 Step 7/21 : COPY VERSION /tmp/sdk 11:16:11 ---> a4833ca40cd8 11:16:11 Step 8/21 : COPY src /tmp/sdk/src 11:16:13 ---> af2ff4600622 11:16:13 Step 9/21 : COPY include /tmp/sdk/include 11:16:14 ---> 09abae5b52b9 11:16:14 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:16:16 ---> 2714865241ae 11:16:16 Step 11/21 : COPY LICENSE /tmp/sdk 11:16:17 ---> 6adb62ea0d80 11:16:17 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:16:18 ---> 3a9593cf1d92 11:16:18 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:16:19 ---> Running in 487acfcd56a3 11:16:19 + CPPCHECK=false 11:16:19 + DOCGEN=false 11:16:19 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:16:19 + TOMLVER=SDK-0.2 11:16:19 + CUTILVER=1.4 11:16:19 + '[' 0 -gt 0 ] 11:16:19 + readlink -f ./scripts/build.sh 11:16:19 + dirname /tmp/sdk/scripts/build.sh 11:16:19 + dirname /tmp/sdk/scripts 11:16:19 + ROOT=/tmp/sdk 11:16:19 + cd /tmp/sdk 11:16:19 + '[' '!' -d deps ] 11:16:19 + mkdir deps 11:16:19 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:16:19 + tar -C deps -z -x -f - 11:16:19 Connecting to github.com (140.82.113.4:443) 11:16:19 Connecting to codeload.github.com (140.82.113.10:443) 11:16:20 writing to stdout 11:16:20 - 100% |********************************| 16451 0:00:00 ETA 11:16:20 written to stdout 11:16:20 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:16:20 + mkdir -p /tmp/sdk/build/release 11:16:20 + cd /tmp/sdk/build/release 11:16:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:16:20 -- The C compiler identification is GNU 11.2.1 11:16:20 -- Detecting C compiler ABI info 11:16:20 -- Detecting C compiler ABI info - done 11:16:20 -- Check for working C compiler: /usr/bin/cc - skipped 11:16:20 -- Detecting C compile features 11:16:20 -- Detecting C compile features - done 11:16:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:16:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:16:20 -- Found LIBYAML: /usr/lib/libyaml.so 11:16:20 -- Found LIBUUID: /usr/lib/libuuid.so 11:16:20 -- Found LIBCBOR: /usr/lib/libcbor.so 11:16:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:16:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:16:20 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 11:16:20 -- /opt/iotech/iot/1.4/include 11:16:20 -- C SDK 0.0.0 for Linux 11:16:20 -- Performing Test CSDK_HAVE_ATOMIC 11:16:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:16:20 -- Found Curses: /usr/lib/libcurses.so 11:16:20 -- Configuring done 11:16:20 -- Generating done 11:16:20 -- Build files have been written to: /tmp/sdk/build/release 11:16:20 + make all package 11:16:20 + tee release.log 11:16:20 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:16:20 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:16:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:16:21 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:16:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:16:21 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:16:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:16:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:16:22 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:16:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:16:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:16:22 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:16:22 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:16:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:16:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:16:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:16:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:16:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:16:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:16:24 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:16:24 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:16:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:16:25 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:16:25 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:16:25 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:16:26 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:16:26 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:16:26 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:16:26 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:16:27 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:16:27 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:16:27 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:16:27 [ 67%] Linking C shared library libcsdk.so 11:16:27 [ 67%] Built target csdk 11:16:27 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:16:28 [ 71%] Linking C executable template 11:16:28 [ 71%] Built target template 11:16:28 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:16:28 [ 75%] Linking C executable device-counter 11:16:28 [ 75%] Built target device-counter 11:16:28 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:16:28 [ 79%] Linking C executable device-random 11:16:28 [ 79%] Built target device-random 11:16:28 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:16:28 [ 83%] Linking C executable device-gyro 11:16:28 [ 83%] Built target device-gyro 11:16:28 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:16:29 [ 87%] Linking C executable device-bitfields 11:16:29 [ 87%] Built target device-bitfields 11:16:29 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:16:29 [ 91%] Linking C executable template-discovery 11:16:29 [ 91%] Built target template-discovery 11:16:29 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:16:29 [ 95%] Linking C executable device-file 11:16:29 [ 95%] Built target device-file 11:16:29 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:16:29 [100%] Linking C executable device-terminal 11:16:30 [100%] Built target device-terminal 11:16:30 Run CPack packaging tool... 11:16:30 CPack: Create package using TGZ 11:16:30 CPack: Install projects 11:16:30 CPack: - Run preinstall target for: Csdk 11:16:30 CPack: - Install project: Csdk [] 11:16:30 CPack: Create package 11:16:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:16:30 + '[' false '=' true ] 11:16:30 + '[' false '=' true ] 11:16:30 + mkdir -p /tmp/sdk/build/debug 11:16:30 + cd /tmp/sdk/build/debug 11:16:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:16:30 -- The C compiler identification is GNU 11.2.1 11:16:30 -- Detecting C compiler ABI info 11:16:30 -- Detecting C compiler ABI info - done 11:16:30 -- Check for working C compiler: /usr/bin/cc - skipped 11:16:30 -- Detecting C compile features 11:16:30 -- Detecting C compile features - done 11:16:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:16:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:16:30 -- Found LIBYAML: /usr/lib/libyaml.so 11:16:30 -- Found LIBUUID: /usr/lib/libuuid.so 11:16:30 -- Found LIBCBOR: /usr/lib/libcbor.so 11:16:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:16:30 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:16:30 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 11:16:30 -- /opt/iotech/iot/1.4/include 11:16:30 -- C SDK 0.0.0 for Linux 11:16:30 -- Performing Test CSDK_HAVE_ATOMIC 11:16:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:16:30 -- Found Curses: /usr/lib/libcurses.so 11:16:30 -- Configuring done 11:16:30 -- Generating done 11:16:30 -- Build files have been written to: /tmp/sdk/build/debug 11:16:30 + make 11:16:30 + tee debug.log 11:16:31 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:16:31 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:16:31 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:16:31 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:16:31 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:16:31 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:16:31 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:16:31 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:16:31 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:16:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:16:31 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:16:32 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:16:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:16:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:16:32 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:16:32 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:16:32 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:16:32 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:16:32 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:16:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:16:32 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:16:33 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:16:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:16:33 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:16:33 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:16:33 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:16:33 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:16:33 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:16:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:16:34 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:16:34 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:16:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:16:34 [ 67%] Linking C shared library libcsdk.so 11:16:34 [ 67%] Built target csdk 11:16:34 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:16:34 [ 71%] Linking C executable template 11:16:34 [ 71%] Built target template 11:16:34 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:16:34 [ 75%] Linking C executable device-counter 11:16:34 [ 75%] Built target device-counter 11:16:34 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:16:34 [ 79%] Linking C executable device-random 11:16:34 [ 79%] Built target device-random 11:16:34 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:16:34 [ 83%] Linking C executable device-gyro 11:16:34 [ 83%] Built target device-gyro 11:16:34 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:16:35 [ 87%] Linking C executable device-bitfields 11:16:35 [ 87%] Built target device-bitfields 11:16:35 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:16:35 [ 91%] Linking C executable template-discovery 11:16:35 [ 91%] Built target template-discovery 11:16:35 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:16:35 [ 95%] Linking C executable device-file 11:16:35 [ 95%] Built target device-file 11:16:35 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:16:35 [100%] Linking C executable device-terminal 11:16:35 [100%] Built target device-terminal 11:16:35 make: Entering directory '/tmp/sdk/build/release' 11:16:35 make[1]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 67%] Built target csdk 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 71%] Built target template 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 75%] Built target device-counter 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 79%] Built target device-random 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 83%] Built target device-gyro 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 87%] Built target device-bitfields 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 91%] Built target template-discovery 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [ 95%] Built target device-file 11:16:35 make[2]: Entering directory '/tmp/sdk/build/release' 11:16:35 make[2]: Leaving directory '/tmp/sdk/build/release' 11:16:35 [100%] Built target device-terminal 11:16:35 make[1]: Leaving directory '/tmp/sdk/build/release' 11:16:36 Install the project... 11:16:36 -- Install configuration: "Release" 11:16:36 -- Installing: /usr/local/lib/libcsdk.so 11:16:36 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:16:36 -- Installing: /usr/local/include 11:16:36 -- Installing: /usr/local/include/devsdk 11:16:36 -- Installing: /usr/local/include/devsdk/devsdk.h 11:16:36 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:16:36 -- Installing: /usr/local/include/edgex 11:16:36 -- Installing: /usr/local/include/edgex/edgex.h 11:16:36 -- Installing: /usr/local/include/edgex/devices.h 11:16:36 -- Installing: /usr/local/include/edgex/profiles.h 11:16:36 -- Installing: /usr/local/include/edgex/edgex-base.h 11:16:36 -- Installing: /usr/local/include/edgex/rest-server.h 11:16:36 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:16:36 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:16:36 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:16:36 make: Leaving directory '/tmp/sdk/build/release' 11:16:36 Removing intermediate container 487acfcd56a3 11:16:36 ---> c7d7fe76c883 11:16:36 Step 14/21 : FROM ${BASE} 11:16:36 ---> b2bbfebb3566 11:16:36 Step 15/21 : LABEL maintainer="IOTech " 11:16:36 ---> Running in 737a59a408ef 11:16:36 Removing intermediate container 737a59a408ef 11:16:36 ---> 9d652f04fbbc 11:16:36 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 11:16:36 ---> Running in e555d866658a 11:16:37 Connecting to iotech.jfrog.io (3.248.100.191:443) 11:16:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:16:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:16:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:16:38 Removing intermediate container e555d866658a 11:16:38 ---> eabf4f6320a0 11:16:38 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:16:38 ---> Running in a356fccf1551 11:16:39 Removing intermediate container a356fccf1551 11:16:39 ---> a6347fa8c9ce 11:16: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 11:16:39 ---> Running in 8d8cb7390b40 11:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:16:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:16:40 (1/7) Installing curl (7.83.1-r5) 11:16:40 (2/7) Installing hiredis (1.0.2-r0) 11:16:40 (3/7) Installing hiredis-dev (1.0.2-r0) 11:16:40 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 11:16:41 (5/7) Installing libcbor (0.9.0-r1) 11:16:41 (6/7) Installing libuuid (2.38-r1) 11:16:41 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:16:42 Executing busybox-1.35.0-r17.trigger 11:16:42 OK: 275 MiB in 83 packages 11:16:42 Removing intermediate container 8d8cb7390b40 11:16:42 ---> 17c7d96f6092 11:16:42 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:16:42 ---> 1b38a1b543ab 11:16:42 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:16:43 ---> 5e3ffb7c3dd9 11:16:43 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:16:43 ---> 23f0ac3f6bea 11:16:43 Successfully built 23f0ac3f6bea 11:16:43 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 11:16:43 + docker inspect -f . ci-base-image-x86_64 11:16:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:43 prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container 11:16:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:16:44 $ docker top e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:44 + make test 11:16:44 echo "make test" 11:16:44 make test [Pipeline] } 11:16:44 $ docker stop --time=1 e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac 11:16:45 $ docker rm -f --volumes e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:16:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:46 + ls -al . 11:16:46 total 204 11:16:46 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 11:15 . 11:16:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 .. 11:16:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:15 .git 11:16:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 .github 11:16:46 -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 11:15 .gitignore 11:16:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 11:15 .semver 11:16:46 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 11:15 Attribution.txt 11:16:46 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 11:15 CHANGES 11:16:46 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 11:15 Doxyfile 11:16:46 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 11:15 GOVERNANCE.md 11:16:46 -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 11:15 Jenkinsfile 11:16:46 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 11:15 LICENSE 11:16:46 -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 11:15 Makefile 11:16:46 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 11:15 OWNERS.md 11:16:46 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 11:15 README.md 11:16:46 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 11:15 README.v3.md 11:16:46 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 11:15 VERSION 11:16:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 docs 11:16:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 include 11:16:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 scripts 11:16:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:47 + 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=eafbf3d9695056fdb220afb931551b369a5eea4e --label arch=amd64 --label version=0.0.0 . 11:16:47 Sending build context to Docker daemon 4.763MB 11:16:47 Step 1/17 : ARG BASE=alpine:3.16 11:16:47 Step 2/17 : FROM ${BASE} 11:16:47 ---> 23f0ac3f6bea 11:16:47 Step 3/17 : LABEL maintainer="IOTech " 11:16:47 ---> Running in ffcfc07b0aa9 11:16:47 Removing intermediate container ffcfc07b0aa9 11:16:47 ---> 095f29cfd98e 11:16:47 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 11:16:47 ---> Running in cf6c98c17b43 11:16:47 Connecting to iotech.jfrog.io (52.212.211.236:443) 11:16:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:16:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:16:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:16:48 Removing intermediate container cf6c98c17b43 11:16:48 ---> 73c810e65354 11:16:48 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:16:48 ---> Running in e3c4b9f80321 11:16:49 Removing intermediate container e3c4b9f80321 11:16:49 ---> e7ab7f826343 11:16:49 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.4-dev && mkdir -p /edgex-c-sdk/build 11:16:49 ---> Running in 9bb2a9188514 11:16:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:16:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:16:51 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 11:16:51 (2/8) Installing libcbor-dev (0.9.0-r1) 11:16:51 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 11:16:51 (4/8) Installing libblkid (2.38-r1) 11:16:51 (5/8) Installing libfdisk (2.38-r1) 11:16:51 (6/8) Installing libmount (2.38-r1) 11:16:51 (7/8) Installing libsmartcols (2.38-r1) 11:16:51 (8/8) Installing util-linux-dev (2.38-r1) 11:16:51 Executing busybox-1.35.0-r17.trigger 11:16:51 OK: 280 MiB in 91 packages 11:16:52 Removing intermediate container 9bb2a9188514 11:16:52 ---> d4d58dc80d0d 11:16:52 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:16:52 ---> 51bc1aef5e38 11:16:52 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:16:53 ---> 62f709846b68 11:16:53 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:16:53 ---> e952d1181dee 11:16:53 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:16:54 ---> 0b1ba279c2fa 11:16:54 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:16:54 ---> 957f607534cf 11:16:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:16:54 ---> b11ac36d5e93 11:16:54 Step 13/17 : WORKDIR /edgex-c-sdk 11:16:55 ---> Running in 4414854f7c45 11:16:55 Removing intermediate container 4414854f7c45 11:16:55 ---> d26b0e8e8cff 11:16:55 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:16:55 ---> Running in ce5dcf4e92b5 11:16:55 Removing intermediate container ce5dcf4e92b5 11:16:55 ---> b5f973dd9027 11:16:55 Step 15/17 : LABEL arch=amd64 11:16:56 ---> Running in fac210beac87 11:16:56 Removing intermediate container fac210beac87 11:16:56 ---> 9c50ec52f15e 11:16:56 Step 16/17 : LABEL git_sha=eafbf3d9695056fdb220afb931551b369a5eea4e 11:16:56 ---> Running in 7dd43db3a1f5 11:16:57 Removing intermediate container 7dd43db3a1f5 11:16:57 ---> 394dab5dea45 11:16:57 Step 17/17 : LABEL version=0.0.0 11:16:57 ---> Running in cda93fa76666 11:16:58 Removing intermediate container cda93fa76666 11:16:58 ---> d8ab3a8ac26d 11:16:58 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:16:58 Successfully built d8ab3a8ac26d 11:16:58 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 11:16:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:58 11:16:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:59 latest: Pulling from edgex-lftools-log-publisher 11:16:59 5eb5b503b376: Pulling fs layer 11:16:59 5c69ac0246d0: Pulling fs layer 11:16:59 ec43610c2a17: Pulling fs layer 11:16:59 3a2ae6a8a46f: Pulling fs layer 11:16:59 33b1e0a273af: Pulling fs layer 11:16:59 5d3b04190fa2: Pulling fs layer 11:16:59 2f39f015ded8: Pulling fs layer 11:16:59 3a2ae6a8a46f: Waiting 11:16:59 2f39f015ded8: Waiting 11:16:59 33b1e0a273af: Waiting 11:16:59 5d3b04190fa2: Waiting 11:16:59 5c69ac0246d0: Download complete 11:16:59 3a2ae6a8a46f: Verifying Checksum 11:16:59 3a2ae6a8a46f: Download complete 11:16:59 33b1e0a273af: Verifying Checksum 11:16:59 33b1e0a273af: Download complete 11:16:59 5d3b04190fa2: Verifying Checksum 11:16:59 5d3b04190fa2: Download complete 11:16:59 ec43610c2a17: Download complete 11:16:59 5eb5b503b376: Verifying Checksum 11:16:59 5eb5b503b376: Download complete 11:17:00 2f39f015ded8: Verifying Checksum 11:17:00 2f39f015ded8: Download complete 11:17:01 5eb5b503b376: Pull complete 11:17:01 5c69ac0246d0: Pull complete 11:17:02 ec43610c2a17: Pull complete 11:17:02 3a2ae6a8a46f: Pull complete 11:17:02 33b1e0a273af: Pull complete 11:17:03 5d3b04190fa2: Pull complete 11:17:08 2f39f015ded8: Pull complete 11:17:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:08 prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container 11:17:08 $ 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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:17:17 $ docker top 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:17 ---> job-cost.sh 11:17:17 lf-activate-venv: SKIPPING 11:17:17 INFO: No Stack... 11:17:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:18 INFO: Archiving Costs [Pipeline] sh 11:17:18 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/cost.csv 11:17:18 + cut -d, -f6 [Pipeline] lock 11:17:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] 11:17:18 Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] did not exist. Created. 11:17:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:19 + echo total: 0.2199999988079071 [Pipeline] stash 11:17:19 Stashed 1 file(s) [Pipeline] } 11:17:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:19 $ docker stop --time=1 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f 11:17:20 $ docker rm -f --volumes 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:17:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4877 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [Pipeline] { [Pipeline] ws 11:17:36 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 11:17:36 Selected Git installation does not exist. Using Default 11:17:36 The recommended git tool is: NONE 11:17:40 using credential edgex-jenkins-ssh 11:17:40 Cloning the remote Git repository 11:17:40 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:17:40 > git init /w/workspace/device-sdk-c/3 # timeout=10 11:17:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:17:41 > git --version # timeout=10 11:17:41 > git --version # 'git version 2.25.1' 11:17:41 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:17:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:17:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:17:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:17:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:17:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:17:43 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit eafbf3d9695056fdb220afb931551b369a5eea4e 11:17:43 Merge succeeded, producing eafbf3d9695056fdb220afb931551b369a5eea4e 11:17:43 Checking out Revision eafbf3d9695056fdb220afb931551b369a5eea4e (PR-440) 11:17:43 > git config core.sparsecheckout # timeout=10 11:17:43 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 11:17:43 > git remote # timeout=10 11:17:43 > git config --get remote.origin.url # timeout=10 11:17:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:17:43 > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 11:17:43 > git rev-parse HEAD^{commit} # timeout=10 11:17:43 > git config core.sparsecheckout # timeout=10 11:17:44 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 11:17:47 Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config and the code for sending event via core-data REST client (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:17:48 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:48 Dload Upload Total Spent Left Speed 11:17:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 11:17:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:17:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:17:49 + sudo tee /etc/docker/daemon.new 11:17:49 { 11:17:49 "registry-mirrors": [ 11:17:49 "https://nexus3.edgexfoundry.org:10001" 11:17:49 ], 11:17:49 "bip": "10.250.0.254/24", 11:17:49 "hosts": [ 11:17:49 "tcp://0.0.0.0:5555", 11:17:49 "unix:///var/run/docker.sock" 11:17:49 ], 11:17:49 "mtu": 1458, 11:17:49 "selinux-enabled": true, 11:17:49 "seccomp-profile": "/etc/docker/seccomp.json" 11:17:49 } [Pipeline] sh 11:17:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:17:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:08 provisioning config files... 11:18:08 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config15671171988391315730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:08 ---> docker-login.sh 11:18:08 nexus3.edgexfoundry.org:10001 11:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:09 Configure a credential helper to remove this warning. See 11:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:09 11:18:09 Login Succeeded 11:18:09 nexus3.edgexfoundry.org:10002 11:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:09 Configure a credential helper to remove this warning. See 11:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:09 11:18:09 Login Succeeded 11:18:09 nexus3.edgexfoundry.org:10003 11:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:09 Configure a credential helper to remove this warning. See 11:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:09 11:18:09 Login Succeeded 11:18:09 nexus3.edgexfoundry.org:10004 11:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:10 Configure a credential helper to remove this warning. See 11:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:10 11:18:10 Login Succeeded 11:18:10 docker.io 11:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:10 Configure a credential helper to remove this warning. See 11:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:10 11:18:10 Login Succeeded 11:18:10 ---> docker-login.sh ends [Pipeline] } 11:18:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:18:11 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 11:18:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:18:11 ========================================================= 11:18:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:18:11 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:11 + 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 . 11:18:11 Sending build context to Docker daemon 2.893MB 11:18:11 Step 1/21 : ARG BASE=alpine:3.16 11:18:11 Step 2/21 : FROM ${BASE} as builder 11:18:11 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:18:11 9b18e9b68314: Pulling fs layer 11:18:11 1def92ead452: Pulling fs layer 11:18:11 9b18e9b68314: Verifying Checksum 11:18:11 9b18e9b68314: Download complete 11:18:12 9b18e9b68314: Pull complete 11:18:13 1def92ead452: Download complete 11:18:22 1def92ead452: Pull complete 11:18:22 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 11:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:18:22 ---> 9a9802766715 11:18:22 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 11:18:22 ---> Running in 129c85a0fd7c 11:18:22 Connecting to iotech.jfrog.io (34.240.65.14:443) 11:18:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:18:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:18:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:18:23 Removing intermediate container 129c85a0fd7c 11:18:23 ---> b1fa27cdfca0 11:18:23 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:18:23 ---> Running in 97f920774dd9 11:18:25 Removing intermediate container 97f920774dd9 11:18:25 ---> 2c505f0e39eb 11:18:25 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.4-dev hiredis-dev 11:18:25 ---> Running in 57bcb5c13c14 11:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:18:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:18:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:18:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:18:28 (1/14) Installing hiredis (1.0.2-r0) 11:18:28 (2/14) Installing hiredis-dev (1.0.2-r0) 11:18:28 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 11:18:28 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 11:18:28 (5/14) Installing libcbor (0.9.0-r1) 11:18:28 (6/14) Installing libcbor-dev (0.9.0-r1) 11:18:28 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 11:18:28 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:18:29 (9/14) Installing libblkid (2.38-r1) 11:18:29 (10/14) Installing libuuid (2.38-r1) 11:18:29 (11/14) Installing libfdisk (2.38-r1) 11:18:29 (12/14) Installing libmount (2.38-r1) 11:18:29 (13/14) Installing libsmartcols (2.38-r1) 11:18:29 (14/14) Installing util-linux-dev (2.38-r1) 11:18:29 Executing busybox-1.35.0-r17.trigger 11:18:29 OK: 286 MiB in 90 packages 11:18:31 Removing intermediate container 57bcb5c13c14 11:18:31 ---> f289a7204b92 11:18:31 Step 6/21 : RUN mkdir /tmp/sdk 11:18:31 ---> Running in bfe680fd8b3e 11:18:33 Removing intermediate container bfe680fd8b3e 11:18:33 ---> ddb5f460eb68 11:18:33 Step 7/21 : COPY VERSION /tmp/sdk 11:18:33 ---> a7af019a7642 11:18:33 Step 8/21 : COPY src /tmp/sdk/src 11:18:34 ---> 8613463e6a18 11:18:34 Step 9/21 : COPY include /tmp/sdk/include 11:18:34 ---> e3d44a7a352c 11:18:34 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:18:34 ---> ffcd434bb183 11:18:34 Step 11/21 : COPY LICENSE /tmp/sdk 11:18:35 ---> 95d07a8e0b7b 11:18:35 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:18:36 ---> 751c0483e72d 11:18:36 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:18:36 ---> Running in 79fa6bfd2392 11:18:37 + CPPCHECK=false 11:18:37 + DOCGEN=false 11:18:37 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:18:37 + TOMLVER=SDK-0.2 11:18:37 + CUTILVER=1.4 11:18:37 + '[' 0 -gt 0 ] 11:18:37 + readlink -f ./scripts/build.sh 11:18:37 + dirname /tmp/sdk/scripts/build.sh 11:18:37 + dirname /tmp/sdk/scripts 11:18:37 + ROOT=/tmp/sdk 11:18:37 + cd /tmp/sdk 11:18:37 + '[' '!' -d deps ] 11:18:37 + mkdir deps 11:18:37 + + wgettar -O -C - deps https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -z 11:18:37 -x -f - 11:18:37 Connecting to github.com (140.82.112.3:443) 11:18:37 Connecting to codeload.github.com (140.82.114.10:443) 11:18:37 writing to stdout 11:18:37 - 100% |********************************| 16451 0:00:00 ETA 11:18:37 written to stdout 11:18:37 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:18:37 + mkdir -p /tmp/sdk/build/release 11:18:37 + cd /tmp/sdk/build/release 11:18:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:18:37 -- The C compiler identification is GNU 11.2.1 11:18:37 -- Detecting C compiler ABI info 11:18:38 -- Detecting C compiler ABI info - done 11:18:38 -- Check for working C compiler: /usr/bin/cc - skipped 11:18:38 -- Detecting C compile features 11:18:38 -- Detecting C compile features - done 11:18:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:18:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:18:38 -- Found LIBYAML: /usr/lib/libyaml.so 11:18:38 -- Found LIBUUID: /usr/lib/libuuid.so 11:18:38 -- Found LIBCBOR: /usr/lib/libcbor.so 11:18:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:18:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:18:38 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 11:18:38 -- /opt/iotech/iot/1.4/include 11:18:38 -- C SDK 0.0.0 for Linux 11:18:38 -- Performing Test CSDK_HAVE_ATOMIC 11:18:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:18:38 -- Found Curses: /usr/lib/libcurses.so 11:18:39 -- Configuring done 11:18:39 -- Generating done 11:18:39 -- Build files have been written to: /tmp/sdk/build/release 11:18:39 + make all package 11:18:39 + tee release.log 11:18:39 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:18:40 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:18:41 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:18:44 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:18:45 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:18:45 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:18:46 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:18:48 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:18:49 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:18:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:18:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:18:53 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:18:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:18:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:18:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:18:59 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:18:59 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:18:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:19:01 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:19:06 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:19:07 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:19:07 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:19:08 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:19:10 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:19:13 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:19:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:19:14 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:19:14 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:19:18 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:19:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:19:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:19:24 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:19:24 [ 67%] Linking C shared library libcsdk.so 11:19:24 [ 67%] Built target csdk 11:19:24 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:19:25 [ 71%] Linking C executable template 11:19:26 [ 71%] Built target template 11:19:26 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:19:26 [ 75%] Linking C executable device-counter 11:19:26 [ 75%] Built target device-counter 11:19:26 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:19:27 [ 79%] Linking C executable device-random 11:19:27 [ 79%] Built target device-random 11:19:28 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:19:28 [ 83%] Linking C executable device-gyro 11:19:28 [ 83%] Built target device-gyro 11:19:28 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:19:29 [ 87%] Linking C executable device-bitfields 11:19:29 [ 87%] Built target device-bitfields 11:19:29 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:19:30 [ 91%] Linking C executable template-discovery 11:19:31 [ 91%] Built target template-discovery 11:19:31 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:19:31 [ 95%] Linking C executable device-file 11:19:32 [ 95%] Built target device-file 11:19:32 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:19:33 [100%] Linking C executable device-terminal 11:19:33 [100%] Built target device-terminal 11:19:34 Run CPack packaging tool... 11:19:34 CPack: Create package using TGZ 11:19:34 CPack: Install projects 11:19:34 CPack: - Run preinstall target for: Csdk 11:19:35 CPack: - Install project: Csdk [] 11:19:35 CPack: Create package 11:19:35 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:19:35 + '[' false '=' true ] 11:19:35 + '[' false '=' true ] 11:19:35 + mkdir -p /tmp/sdk/build/debug 11:19:35 + cd /tmp/sdk/build/debug 11:19:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:19:35 -- The C compiler identification is GNU 11.2.1 11:19:35 -- Detecting C compiler ABI info 11:19:35 -- Detecting C compiler ABI info - done 11:19:35 -- Check for working C compiler: /usr/bin/cc - skipped 11:19:35 -- Detecting C compile features 11:19:35 -- Detecting C compile features - done 11:19:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:19:36 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:19:36 -- Found LIBYAML: /usr/lib/libyaml.so 11:19:36 -- Found LIBUUID: /usr/lib/libuuid.so 11:19:36 -- Found LIBCBOR: /usr/lib/libcbor.so 11:19:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:19:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:19:36 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 11:19:36 -- /opt/iotech/iot/1.4/include 11:19:36 -- C SDK 0.0.0 for Linux 11:19:36 -- Performing Test CSDK_HAVE_ATOMIC 11:19:36 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:19:36 -- Found Curses: /usr/lib/libcurses.so 11:19:36 -- Configuring done 11:19:37 -- Generating done 11:19:37 -- Build files have been written to: /tmp/sdk/build/debug 11:19:37 + make 11:19:37 + tee debug.log 11:19:37 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:19:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:19:38 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:19:39 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:19:39 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:19:39 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 11:19:40 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 11:19:40 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:19:41 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:19:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:19:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:19:42 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:19:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:19:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:19:43 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:19:45 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:19:45 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:19:45 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:19:46 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:19:47 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:19:47 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:19:48 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:19:48 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:19:49 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:19:51 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:19:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:19:51 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:19:52 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:19:52 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:19:53 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:19:54 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:19:54 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:19:55 [ 67%] Linking C shared library libcsdk.so 11:19:55 [ 67%] Built target csdk 11:19:55 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:19:55 [ 71%] Linking C executable template 11:19:56 [ 71%] Built target template 11:19:56 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:19:56 [ 75%] Linking C executable device-counter 11:19:56 [ 75%] Built target device-counter 11:19:56 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:19:56 [ 79%] Linking C executable device-random 11:19:57 [ 79%] Built target device-random 11:19:57 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:19:57 [ 83%] Linking C executable device-gyro 11:19:57 [ 83%] Built target device-gyro 11:19:58 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:19:58 [ 87%] Linking C executable device-bitfields 11:19:58 [ 87%] Built target device-bitfields 11:19:58 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:19:58 [ 91%] Linking C executable template-discovery 11:19:59 [ 91%] Built target template-discovery 11:19:59 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:19:59 [ 95%] Linking C executable device-file 11:20:00 [ 95%] Built target device-file 11:20:00 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:20:00 [100%] Linking C executable device-terminal 11:20:00 [100%] Built target device-terminal 11:20:00 make: Entering directory '/tmp/sdk/build/release' 11:20:00 make[1]: Entering directory '/tmp/sdk/build/release' 11:20:00 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:00 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 67%] Built target csdk 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 71%] Built target template 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 75%] Built target device-counter 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 79%] Built target device-random 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 83%] Built target device-gyro 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 87%] Built target device-bitfields 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 91%] Built target template-discovery 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [ 95%] Built target device-file 11:20:01 make[2]: Entering directory '/tmp/sdk/build/release' 11:20:01 make[2]: Leaving directory '/tmp/sdk/build/release' 11:20:01 [100%] Built target device-terminal 11:20:01 make[1]: Leaving directory '/tmp/sdk/build/release' 11:20:01 Install the project... 11:20:01 -- Install configuration: "Release" 11:20:01 -- Installing: /usr/local/lib/libcsdk.so 11:20:01 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:20:01 -- Installing: /usr/local/include 11:20:01 -- Installing: /usr/local/include/devsdk 11:20:01 -- Installing: /usr/local/include/devsdk/devsdk.h 11:20:01 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:20:01 -- Installing: /usr/local/include/edgex 11:20:01 -- Installing: /usr/local/include/edgex/rest-server.h 11:20:01 -- Installing: /usr/local/include/edgex/edgex.h 11:20:01 -- Installing: /usr/local/include/edgex/edgex-base.h 11:20:01 -- Installing: /usr/local/include/edgex/devices.h 11:20:01 -- Installing: /usr/local/include/edgex/profiles.h 11:20:01 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:20:01 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:20:01 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:20:01 make: Leaving directory '/tmp/sdk/build/release' 11:20:02 Removing intermediate container 79fa6bfd2392 11:20:02 ---> fe2706effe6d 11:20:02 Step 14/21 : FROM ${BASE} 11:20:02 ---> 9a9802766715 11:20:02 Step 15/21 : LABEL maintainer="IOTech " 11:20:02 ---> Running in a60ae61dbb11 11:20:03 Removing intermediate container a60ae61dbb11 11:20:03 ---> c451dbcb2a21 11:20:03 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 11:20:03 ---> Running in 7ac2faf05f59 11:20:04 Connecting to iotech.jfrog.io (52.210.99.226:443) 11:20:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:20:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:20:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:20:05 Removing intermediate container 7ac2faf05f59 11:20:05 ---> ff14088eae36 11:20:05 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:20:05 ---> Running in 4f4fd8b62dde 11:20:06 Removing intermediate container 4f4fd8b62dde 11:20:06 ---> 14a19ef29699 11:20:06 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 11:20:06 ---> Running in 1e3b5a402aa9 11:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:20:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:20:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:20:09 (1/7) Installing curl (7.83.1-r5) 11:20:09 (2/7) Installing hiredis (1.0.2-r0) 11:20:09 (3/7) Installing hiredis-dev (1.0.2-r0) 11:20:09 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 11:20:10 (5/7) Installing libcbor (0.9.0-r1) 11:20:10 (6/7) Installing libuuid (2.38-r1) 11:20:10 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:20:13 Executing busybox-1.35.0-r17.trigger 11:20:13 OK: 281 MiB in 83 packages 11:20:14 Removing intermediate container 1e3b5a402aa9 11:20:14 ---> 8246cad7a859 11:20:14 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:20:15 ---> 26ecd61beab9 11:20:15 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:20:15 ---> 4a905cafbcc9 11:20:15 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:20:16 ---> 6226dd243f7a 11:20:16 Successfully built 6226dd243f7a 11:20:16 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 11:20:16 + docker inspect -f . ci-base-image-arm64 11:20:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:16 prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container 11:20:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** ci-base-image-arm64 cat 11:20:18 $ docker top e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:18 + make test 11:20:18 echo "make test" 11:20:18 make test [Pipeline] } 11:20:19 $ docker stop --time=1 e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 11:20:20 $ docker rm -f --volumes e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:20:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:20:21 + ls -al . 11:20:21 total 200 11:20:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:17 . 11:20:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 .. 11:20:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:17 .git 11:20:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 .github 11:20:21 -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 11:17 .gitignore 11:20:21 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 11:17 Attribution.txt 11:20:21 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 11:17 CHANGES 11:20:21 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 11:17 Doxyfile 11:20:21 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 11:17 GOVERNANCE.md 11:20:21 -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 11:17 Jenkinsfile 11:20:21 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 11:17 LICENSE 11:20:21 -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 11:17 Makefile 11:20:21 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 11:17 OWNERS.md 11:20:21 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 11:17 README.md 11:20:21 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 11:17 README.v3.md 11:20:21 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 11:15 VERSION 11:20:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 docs 11:20:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 include 11:20:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 scripts 11:20:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:21 + 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=eafbf3d9695056fdb220afb931551b369a5eea4e --label arch=arm64 --label version=0.0.0 . 11:20:22 Sending build context to Docker daemon 2.893MB 11:20:22 Step 1/17 : ARG BASE=alpine:3.16 11:20:22 Step 2/17 : FROM ${BASE} 11:20:22 ---> 6226dd243f7a 11:20:22 Step 3/17 : LABEL maintainer="IOTech " 11:20:22 ---> Running in c621b4612930 11:20:22 Removing intermediate container c621b4612930 11:20:22 ---> 51c1656b67a4 11:20:22 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 11:20:22 ---> Running in 5863d86a6eeb 11:20:23 Connecting to iotech.jfrog.io (34.249.42.153:443) 11:20:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:20:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:20:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:20:24 Removing intermediate container 5863d86a6eeb 11:20:24 ---> a612916666cc 11:20:24 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:20:24 ---> Running in c8fa1963511c 11:20:27 Removing intermediate container c8fa1963511c 11:20:27 ---> 9d22723ea37e 11:20:27 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.4-dev && mkdir -p /edgex-c-sdk/build 11:20:27 ---> Running in c165951e4173 11:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:20:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:20:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:20:30 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 11:20:30 (2/8) Installing libcbor-dev (0.9.0-r1) 11:20:30 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 11:20:30 (4/8) Installing libblkid (2.38-r1) 11:20:30 (5/8) Installing libfdisk (2.38-r1) 11:20:30 (6/8) Installing libmount (2.38-r1) 11:20:30 (7/8) Installing libsmartcols (2.38-r1) 11:20:30 (8/8) Installing util-linux-dev (2.38-r1) 11:20:30 Executing busybox-1.35.0-r17.trigger 11:20:30 OK: 286 MiB in 91 packages 11:20:31 Removing intermediate container c165951e4173 11:20:31 ---> 33c4c50816ba 11:20:31 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:20:32 ---> 0aa0200f2eb8 11:20:32 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:20:33 ---> bc1f1e6db2b5 11:20:33 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:20:33 ---> d34d2f9ae595 11:20:33 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:20:33 ---> a5905de9b694 11:20:33 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:20:34 ---> 70509d02546d 11:20:34 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:20:34 ---> 467142c3f908 11:20:34 Step 13/17 : WORKDIR /edgex-c-sdk 11:20:34 ---> Running in f8183512f760 11:20:35 Removing intermediate container f8183512f760 11:20:35 ---> 5f348be387fe 11:20:35 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:20:35 ---> Running in 355a3dddcdca 11:20:35 Removing intermediate container 355a3dddcdca 11:20:35 ---> 6eeeabc6b64c 11:20:35 Step 15/17 : LABEL arch=arm64 11:20:35 ---> Running in ec1bdb694ee0 11:20:35 Removing intermediate container ec1bdb694ee0 11:20:35 ---> 41a52a0bf54b 11:20:35 Step 16/17 : LABEL git_sha=eafbf3d9695056fdb220afb931551b369a5eea4e 11:20:35 ---> Running in 4850221c5e63 11:20:36 Removing intermediate container 4850221c5e63 11:20:36 ---> 548092c03940 11:20:36 Step 17/17 : LABEL version=0.0.0 11:20:36 ---> Running in 433b293e6949 11:20:36 Removing intermediate container 433b293e6949 11:20:36 ---> 294fcc2f3fb6 11:20:36 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:20:36 Successfully built 294fcc2f3fb6 11:20:36 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 11:20:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:37 11:20:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:39 arm64: Pulling from edgex-lftools-log-publisher 11:20:39 8998bd30e6a1: Pulling fs layer 11:20:39 04944245beec: Pulling fs layer 11:20:39 699f458cf7ca: Pulling fs layer 11:20:39 765212b225bb: Pulling fs layer 11:20:39 f23df028b6ca: Pulling fs layer 11:20:39 d65c8cfc05b1: Pulling fs layer 11:20:39 2437ff75d9bd: Pulling fs layer 11:20:39 765212b225bb: Waiting 11:20:39 d65c8cfc05b1: Waiting 11:20:39 f23df028b6ca: Waiting 11:20:39 2437ff75d9bd: Waiting 11:20:39 04944245beec: Download complete 11:20:39 765212b225bb: Verifying Checksum 11:20:39 765212b225bb: Download complete 11:20:39 f23df028b6ca: Verifying Checksum 11:20:39 f23df028b6ca: Download complete 11:20:39 d65c8cfc05b1: Verifying Checksum 11:20:39 d65c8cfc05b1: Download complete 11:20:39 699f458cf7ca: Verifying Checksum 11:20:39 699f458cf7ca: Download complete 11:20:39 8998bd30e6a1: Verifying Checksum 11:20:39 8998bd30e6a1: Download complete 11:20:42 2437ff75d9bd: Verifying Checksum 11:20:42 2437ff75d9bd: Download complete 11:20:43 8998bd30e6a1: Pull complete 11:20:44 04944245beec: Pull complete 11:20:45 699f458cf7ca: Pull complete 11:20:45 765212b225bb: Pull complete 11:20:46 f23df028b6ca: Pull complete 11:20:46 d65c8cfc05b1: Pull complete 11:21:01 2437ff75d9bd: Pull complete 11:21:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:21:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:01 prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container 11:21:01 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:21:04 $ docker top 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:21:04 ---> job-cost.sh 11:21:04 lf-activate-venv: SKIPPING 11:21:04 INFO: No Stack... 11:21:05 INFO: Retrieving Pricing Info for: v3-standard-4 11:21:06 INFO: Archiving Costs [Pipeline] sh 11:21:06 + cat /w/workspace/device-sdk-c/3/archives/cost.csv 11:21:06 + cut -d, -f6 [Pipeline] lock 11:21:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] 11:21:06 Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] did not exist. Created. 11:21:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:21:07 /w/workspace/device-sdk-c/3@tmp/durable-ca839f73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:21:07 + echo total: 0.10999999940395355 [Pipeline] stash 11:21:07 Warning: overwriting stash ‘stack-cost’ 11:21:08 Stashed 1 file(s) [Pipeline] } 11:21:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:21:08 $ docker stop --time=1 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 11:21:09 $ docker rm -f --volumes 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 [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 11:21:10 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives ] 11:21:10 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 11:21:10 total 16 11:21:10 drwxr-xr-x 3 root root 4096 Feb 7 11:17 . 11:21:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 11:17 .. 11:21:10 drwxr-xr-x 2 root root 4096 Feb 7 11:17 cost 11:21:10 -rw-r--r-- 1 root root 84 Feb 7 11:17 cost.csv 11:21:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 11:21:10 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 11:21:10 total 16 11:21:10 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 11:17 . 11:21:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 11:17 .. 11:21:10 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 11:17 cost 11:21:10 -rw-r--r-- 1 jenkins jenkins 84 Feb 7 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:21:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:21:11 ---> package-listing.sh 11:21:11 ++ facter osfamily 11:21:11 ++ tr '[:upper:]' '[:lower:]' 11:21:11 + OS_FAMILY=debian 11:21:11 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-440 11:21:11 + START_PACKAGES=/tmp/packages_start.txt 11:21:11 + END_PACKAGES=/tmp/packages_end.txt 11:21:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:21:11 + PACKAGES=/tmp/packages_start.txt 11:21:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' 11:21:11 + PACKAGES=/tmp/packages_end.txt 11:21:11 + case "${OS_FAMILY}" in 11:21:11 + dpkg -l 11:21:11 + grep '^ii' 11:21:11 + '[' -f /tmp/packages_start.txt ']' 11:21:11 + '[' -f /tmp/packages_end.txt ']' 11:21:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:21:11 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' 11:21:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ 11:21:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ [Pipeline] echo 11:21:11 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:21:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:21:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:12 prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container 11:21:12 $ 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-440/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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:21:13 $ docker top 1ea5c357f67f591f6100dd466a4160452cd252c85c03312ea6dbd5ccef96e048 -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:13 + touch /tmp/pre-build-complete [Pipeline] sh 11:21:13 + mkdir -p /var/log/sysstat [Pipeline] sh 11:21:14 + ls /var/log/sa-host 11:21:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:14 provisioning config files... 11:21:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config14498251760400729697tmp [Pipeline] { [Pipeline] echo 11:21:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:21:14 ---> create-netrc.sh [Pipeline] } 11:21:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:21:14 ---> python-tools-install.sh [Pipeline] echo 11:21:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:21:15 ---> sudo-logs.sh 11:21:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:21:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:21:15 ---> job-cost.sh 11:21:15 lf-activate-venv: SKIPPING 11:21:15 DEBUG: total: 0.2199999988079071 11:21:15 INFO: Retrieving Stack Cost... 11:21:15 INFO: Retrieving Pricing Info for: v3-standard-8 11:21:16 INFO: Archiving Costs [Pipeline] echo 11:21:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:21:16 ---> logs-deploy.sh 11:21:16 lf-activate-venv: SKIPPING 11:21:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-440/3 11:21:16 INFO: archiving workspace using pattern(s): 11:21:17 Archives upload complete. 11:21:17 INFO: archiving logs to Nexus 11:21:18 ---> uname -a: 11:21:18 Linux prd-ubuntu20-04-docker-8c-8g-4876 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:21:18 11:21:18 11:21:18 ---> lscpu: 11:21:18 Architecture: x86_64 11:21:18 CPU op-mode(s): 32-bit, 64-bit 11:21:18 Byte Order: Little Endian 11:21:18 Address sizes: 40 bits physical, 48 bits virtual 11:21:18 CPU(s): 8 11:21:18 On-line CPU(s) list: 0-7 11:21:18 Thread(s) per core: 1 11:21:18 Core(s) per socket: 1 11:21:18 Socket(s): 8 11:21:18 NUMA node(s): 1 11:21:18 Vendor ID: AuthenticAMD 11:21:18 CPU family: 23 11:21:18 Model: 49 11:21:18 Model name: AMD EPYC-Rome Processor 11:21:18 Stepping: 0 11:21:18 CPU MHz: 2799.996 11:21:18 BogoMIPS: 5599.99 11:21:18 Virtualization: AMD-V 11:21:18 Hypervisor vendor: KVM 11:21:18 Virtualization type: full 11:21:18 L1d cache: 256 KiB 11:21:18 L1i cache: 256 KiB 11:21:18 L2 cache: 4 MiB 11:21:18 L3 cache: 128 MiB 11:21:18 NUMA node0 CPU(s): 0-7 11:21:18 Vulnerability Itlb multihit: Not affected 11:21:18 Vulnerability L1tf: Not affected 11:21:18 Vulnerability Mds: Not affected 11:21:18 Vulnerability Meltdown: Not affected 11:21:18 Vulnerability Mmio stale data: Not affected 11:21:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:21:18 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:21:18 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:21:18 Vulnerability Srbds: Not affected 11:21:18 Vulnerability Tsx async abort: Not affected 11:21:18 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 11:21:18 11:21:18 11:21:18 ---> nproc: 11:21:18 8 11:21:18 11:21:18 11:21:18 ---> df -h: 11:21:18 Filesystem Size Used Avail Use% Mounted on 11:21:18 overlay 155G 11G 145G 7% / 11:21:18 tmpfs 64M 0 64M 0% /dev 11:21:18 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:21:18 shm 64M 0 64M 0% /dev/shm 11:21:18 /dev/vda1 155G 11G 145G 7% /facter-os 11:21:18 11:21:18 11:21:18 ---> sar -b -r -n DEV: 11:21:18 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4876) 02/07/23 _x86_64_ (8 CPU) 11:21:18 11:21:18 11:14:23 LINUX RESTART (8 CPU) 11:21:18 11:21:18 11:15:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:21:18 11:16:01 266.07 38.87 227.20 0.00 4346.79 38491.65 0.00 11:21:18 11:17:01 159.00 0.22 158.79 0.00 19.59 4791.07 0.00 11:21:18 11:18:01 31.54 0.12 31.42 0.00 2.13 16544.50 0.00 11:21:18 11:19:01 1.83 0.00 1.83 0.00 0.00 20.40 0.00 11:21:18 11:20:01 55.26 11.61 43.64 0.00 5177.67 8852.12 0.00 11:21:18 11:21:01 5.68 0.02 5.67 0.00 0.13 118.25 0.00 11:21:18 Average: 86.07 8.39 77.68 0.00 1583.25 11394.18 0.00 11:21:18 11:21:18 11:15:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:21:18 11:16:01 29615072 31566488 765820 2.33 64596 2181332 1903004 5.61 1027776 1917296 296 11:21:18 11:17:01 29332008 31538992 774768 2.36 74808 2416908 2027024 5.97 1088740 2105900 217764 11:21:18 11:18:01 29071464 31554924 743588 2.26 89988 2654472 1755700 5.17 1086608 2331052 24 11:21:18 11:19:01 29071768 31555248 742916 2.26 90048 2654476 1755700 5.17 1086280 2331056 8 11:21:18 11:20:01 28541196 31533888 752036 2.29 123692 3109900 1800292 5.31 1410276 2502224 984 11:21:18 11:21:01 28547112 31535112 750460 2.28 122272 3106640 1777412 5.24 1407724 2498976 360 11:21:18 Average: 29029770 31547442 754931 2.30 94234 2687288 1836522 5.41 1184567 2281084 36573 11:21:18 11:21:18 11:15:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:21:18 11:16:01 ens3 548.11 354.38 4192.00 122.18 0.00 0.00 0.00 0.00 11:21:18 11:16:01 docker0 2.63 2.98 0.25 28.15 0.00 0.00 0.00 0.00 11:21:18 11:16:01 lo 6.37 6.37 0.62 0.62 0.00 0.00 0.00 0.00 11:21:18 11:17:01 ens3 163.83 111.68 2759.25 34.42 0.00 0.00 0.00 0.00 11:21:18 11:17:01 docker0 13.14 20.27 0.92 198.76 0.00 0.00 0.00 0.00 11:21:18 11:17:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 11:21:18 11:18:01 ens3 17.39 11.88 26.00 6.30 0.00 0.00 0.00 0.00 11:21:18 11:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:18 11:18:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 11:21:18 11:19:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 11:21:18 11:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:18 11:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:21:18 11:20:01 ens3 149.39 94.90 2753.08 6.94 0.00 0.00 0.00 0.00 11:21:18 11:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:18 11:20:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 11:21:18 11:21:01 ens3 0.53 0.40 0.10 0.09 0.00 0.00 0.00 0.00 11:21:18 11:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:21:18 11:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:21:18 Average: ens3 145.45 94.84 1614.60 28.06 0.00 0.00 0.00 0.00 11:21:18 Average: docker0 2.63 3.88 0.20 37.85 0.00 0.00 0.00 0.00 11:21:18 Average: lo 1.45 1.45 0.14 0.14 0.00 0.00 0.00 0.00 11:21:18 11:21:18 11:21:18 ---> sar -P ALL: 11:21:18 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4876) 02/07/23 _x86_64_ (8 CPU) 11:21:18 11:21:18 11:14:23 LINUX RESTART (8 CPU) 11:21:18 11:21:18 11:15:02 CPU %user %nice %system %iowait %steal %idle 11:21:18 11:16:01 all 8.02 0.00 2.56 6.24 0.11 83.06 11:21:18 11:16:01 0 6.20 0.00 2.28 10.30 0.07 81.15 11:21:18 11:16:01 1 10.53 0.00 2.31 5.40 0.05 81.71 11:21:18 11:16:01 2 5.92 0.00 2.01 1.88 0.19 90.01 11:21:18 11:16:01 3 6.16 0.00 2.28 1.03 0.12 90.41 11:21:18 11:16:01 4 9.96 0.00 3.28 15.86 0.20 70.70 11:21:18 11:16:01 5 11.25 0.00 2.38 7.92 0.05 78.40 11:21:18 11:16:01 6 7.12 0.00 2.18 3.46 0.09 87.16 11:21:18 11:16:01 7 7.05 0.00 3.81 4.03 0.12 84.99 11:21:18 11:17:01 all 5.62 0.00 2.25 5.35 0.10 86.68 11:21:18 11:17:01 0 6.73 0.00 3.05 0.62 0.07 89.53 11:21:18 11:17:01 1 4.66 0.00 1.79 1.39 0.12 92.04 11:21:18 11:17:01 2 6.17 0.00 1.87 16.38 0.10 75.48 11:21:18 11:17:01 3 7.60 0.00 2.38 4.76 0.22 85.04 11:21:18 11:17:01 4 3.94 0.00 1.78 6.41 0.07 87.80 11:21:18 11:17:01 5 6.12 0.00 2.37 2.05 0.07 89.40 11:21:18 11:17:01 6 5.20 0.00 2.55 2.03 0.08 90.15 11:21:18 11:17:01 7 4.53 0.00 2.22 9.22 0.08 83.95 11:21:18 11:18:01 all 1.92 0.00 0.92 2.31 0.05 94.80 11:21:18 11:18:01 0 1.88 0.00 1.01 0.12 0.03 96.97 11:21:18 11:18:01 1 2.21 0.00 0.50 0.02 0.03 97.24 11:21:18 11:18:01 2 1.50 0.00 0.77 0.00 0.02 97.71 11:21:18 11:18:01 3 1.92 0.00 0.70 0.07 0.07 97.24 11:21:18 11:18:01 4 1.47 0.00 0.90 4.61 0.07 92.94 11:21:18 11:18:01 5 1.56 0.00 0.79 12.64 0.05 84.96 11:21:18 11:18:01 6 2.02 0.00 2.06 1.05 0.12 94.75 11:21:18 11:18:01 7 2.81 0.00 0.62 0.00 0.03 96.54 11:21:18 11:19:01 all 0.02 0.00 0.01 0.10 0.01 99.85 11:21:18 11:19:01 0 0.02 0.00 0.03 0.00 0.00 99.95 11:21:18 11:19:01 1 0.03 0.00 0.02 0.00 0.02 99.93 11:21:18 11:19:01 2 0.03 0.00 0.00 0.49 0.02 99.46 11:21:18 11:19:01 3 0.00 0.00 0.00 0.00 0.02 99.98 11:21:18 11:19:01 4 0.03 0.00 0.02 0.35 0.02 99.58 11:21:18 11:19:01 5 0.02 0.00 0.02 0.00 0.00 99.97 11:21:18 11:19:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:21:18 11:19:01 7 0.03 0.00 0.00 0.00 0.02 99.95 11:21:18 11:20:01 all 2.40 0.00 1.56 2.16 0.04 93.85 11:21:18 11:20:01 0 2.01 0.00 1.10 3.21 0.02 93.66 11:21:18 11:20:01 1 2.27 0.00 2.04 1.34 0.02 94.34 11:21:18 11:20:01 2 3.66 0.00 1.07 0.22 0.03 95.02 11:21:18 11:20:01 3 3.13 0.00 2.73 0.28 0.03 93.83 11:21:18 11:20:01 4 2.57 0.00 1.77 5.08 0.07 90.51 11:21:18 11:20:01 5 1.45 0.00 1.12 4.59 0.02 92.82 11:21:18 11:20:01 6 1.92 0.00 1.35 1.80 0.03 94.89 11:21:18 11:20:01 7 2.18 0.00 1.29 0.75 0.07 95.71 11:21:18 11:21:01 all 0.16 0.00 0.06 0.04 0.01 99.74 11:21:18 11:21:01 0 0.10 0.00 0.12 0.00 0.00 99.78 11:21:18 11:21:01 1 0.20 0.00 0.12 0.10 0.00 99.58 11:21:18 11:21:01 2 0.68 0.00 0.05 0.03 0.03 99.20 11:21:18 11:21:01 3 0.02 0.00 0.03 0.00 0.02 99.93 11:21:18 11:21:01 4 0.12 0.00 0.05 0.17 0.02 99.65 11:21:18 11:21:01 5 0.00 0.00 0.02 0.00 0.02 99.97 11:21:18 11:21:01 6 0.10 0.00 0.03 0.00 0.00 99.87 11:21:18 11:21:01 7 0.03 0.00 0.03 0.00 0.00 99.93 11:21:18 Average: all 3.00 0.00 1.22 2.68 0.05 93.04 11:21:18 Average: 0 2.81 0.00 1.26 2.35 0.03 93.55 11:21:18 Average: 1 3.29 0.00 1.12 1.36 0.04 94.19 11:21:18 Average: 2 2.98 0.00 0.96 3.16 0.06 92.84 11:21:18 Average: 3 3.12 0.00 1.35 1.02 0.08 94.43 11:21:18 Average: 4 2.99 0.00 1.29 5.37 0.07 90.27 11:21:18 Average: 5 3.37 0.00 1.11 4.52 0.03 90.98 11:21:18 Average: 6 2.71 0.00 1.36 1.38 0.05 94.50 11:21:18 Average: 7 2.75 0.00 1.32 2.32 0.05 93.56 11:21:18 11:21:18 11:21:18