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 781a83bb215fc71b9bcc05bb52c52acb39bd2040+60c720530b7232d7be6f88f4d69bf42c6efbb654 (e758cdb7292ffb49b6bd527a110dce77196af99c) 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-ssh442796732723492967.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-ssh10370713373387694581.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-ssh17696680006122097706.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-ssh9381298926562182042.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-ssh122348710134915848.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-4872 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 781a83bb215fc71b9bcc05bb52c52acb39bd2040 Merge succeeded, producing 781a83bb215fc71b9bcc05bb52c52acb39bd2040 Checking out Revision 781a83bb215fc71b9bcc05bb52c52acb39bd2040 (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # 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 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # 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 10:35:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:35:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:35:17 ========================================================= 10:35:17 EdgeX Global Pipelines Version Info 10:35:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:35:18 ------------------- 10:35:18 stable info: 10:35:18 ------------------- 10:35:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:35:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:35:18 Message: update stable to v1.0.244 > git rev-list --no-walk 108588c73691ee989f0f8932648463ec137b2098 # timeout=10 10:35:18 ------------------- 10:35:18 experimental info: 10:35:18 ------------------- 10:35:18 Commited By: **** collab-it+edgex@linuxfoundation.org 10:35:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:35:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 781a83bb215fc71b9bcc05bb52c52acb39bd2040 [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 781a83b [Pipeline] echo 10:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:35:19 provisioning config files... 10:35:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config4825440207786932123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:19 ---> docker-login.sh 10:35:19 nexus3.edgexfoundry.org:10001 10:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:20 Configure a credential helper to remove this warning. See 10:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:20 10:35:20 Login Succeeded 10:35:20 nexus3.edgexfoundry.org:10002 10:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:20 Configure a credential helper to remove this warning. See 10:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:20 10:35:20 Login Succeeded 10:35:20 nexus3.edgexfoundry.org:10003 10:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:20 Configure a credential helper to remove this warning. See 10:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:20 10:35:20 Login Succeeded 10:35:20 nexus3.edgexfoundry.org:10004 10:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:20 Configure a credential helper to remove this warning. See 10:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:20 10:35:20 Login Succeeded 10:35:20 docker.io 10:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:20 Configure a credential helper to remove this warning. See 10:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:20 10:35:20 Login Succeeded 10:35:20 ---> docker-login.sh ends [Pipeline] } 10:35:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:35:21 + git rev-list -1 --merges 781a83bb215fc71b9bcc05bb52c52acb39bd2040~1..781a83bb215fc71b9bcc05bb52c52acb39bd2040 [Pipeline] echo 10:35:21 -----------> git rev-list -1 --merges 781a83bb215fc71b9bcc05bb52c52acb39bd2040~1..781a83bb215fc71b9bcc05bb52c52acb39bd2040 781a83bb215fc71b9bcc05bb52c52acb39bd2040 [false] [Pipeline] sh 10:35:21 + git log --format=format:%s -1 781a83bb215fc71b9bcc05bb52c52acb39bd2040 [Pipeline] echo 10:35:21 ========================================================= 10:35:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:35:21 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:35:22 + git rev-list -1 --merges 781a83bb215fc71b9bcc05bb52c52acb39bd2040~1..781a83bb215fc71b9bcc05bb52c52acb39bd2040 [Pipeline] echo 10:35:22 -----------> git rev-list -1 --merges 781a83bb215fc71b9bcc05bb52c52acb39bd2040~1..781a83bb215fc71b9bcc05bb52c52acb39bd2040 781a83bb215fc71b9bcc05bb52c52acb39bd2040 [false] [Pipeline] sh 10:35:22 + git log --format=format:%s -1 781a83bb215fc71b9bcc05bb52c52acb39bd2040 [Pipeline] echo 10:35:22 ========================================================= 10:35:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:35:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:35:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:35:22 + grep -v github /etc/ssh/ssh_known_hosts 10:35:22 + [ -e /tmp/ssh_known_hosts ] 10:35:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:35:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:35:22 + sudo tee -a /etc/ssh/ssh_known_hosts 10:35:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:35:23 10:35:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:35:23 0.1.4: Pulling from edgex-devops/py-git-semver 10:35:23 b85a868b505f: Pulling fs layer 10:35:23 e2be974225ed: Pulling fs layer 10:35:23 339a4e72a1f5: Pulling fs layer 10:35:23 988bab9f4d93: Pulling fs layer 10:35:23 1469e6f7b9e6: Pulling fs layer 10:35:23 eaf3925da568: Pulling fs layer 10:35:23 bab4dde63d76: Pulling fs layer 10:35:23 bde34c3a00c8: Pulling fs layer 10:35:23 b352a97aabf1: Pulling fs layer 10:35:23 4872d77fe225: Pulling fs layer 10:35:23 5851b861e8e6: Pulling fs layer 10:35:23 988bab9f4d93: Waiting 10:35:23 1469e6f7b9e6: Waiting 10:35:23 bab4dde63d76: Waiting 10:35:23 5851b861e8e6: Waiting 10:35:23 b352a97aabf1: Waiting 10:35:23 4872d77fe225: Waiting 10:35:23 bde34c3a00c8: Waiting 10:35:23 e2be974225ed: Verifying Checksum 10:35:23 e2be974225ed: Download complete 10:35:23 988bab9f4d93: Verifying Checksum 10:35:23 988bab9f4d93: Download complete 10:35:23 1469e6f7b9e6: Verifying Checksum 10:35:23 1469e6f7b9e6: Download complete 10:35:23 eaf3925da568: Verifying Checksum 10:35:23 eaf3925da568: Download complete 10:35:23 339a4e72a1f5: Verifying Checksum 10:35:23 339a4e72a1f5: Download complete 10:35:23 bde34c3a00c8: Verifying Checksum 10:35:23 bde34c3a00c8: Download complete 10:35:24 b352a97aabf1: Verifying Checksum 10:35:24 b352a97aabf1: Download complete 10:35:24 4872d77fe225: Verifying Checksum 10:35:24 4872d77fe225: Download complete 10:35:24 5851b861e8e6: Verifying Checksum 10:35:24 5851b861e8e6: Download complete 10:35:24 b85a868b505f: Download complete 10:35:24 bab4dde63d76: Verifying Checksum 10:35:24 bab4dde63d76: Download complete 10:35:25 b85a868b505f: Pull complete 10:35:25 e2be974225ed: Pull complete 10:35:26 339a4e72a1f5: Pull complete 10:35:26 988bab9f4d93: Pull complete 10:35:26 1469e6f7b9e6: Pull complete 10:35:26 eaf3925da568: Pull complete 10:35:28 bab4dde63d76: Pull complete 10:35:28 bde34c3a00c8: Pull complete 10:35:28 b352a97aabf1: Pull complete 10:35:28 4872d77fe225: Pull complete 10:35:28 5851b861e8e6: Pull complete 10:35:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:35:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:35:28 prd-ubuntu20.04-docker-8c-8g-4872 does not seem to be running inside a container 10:35:28 $ 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 10:35:30 $ docker top a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 -eo pid,comm 10:35:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:35:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:35:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:30 [ssh-agent] Looking for ssh-agent implementation... 10:35:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:30 $ docker exec a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 ssh-agent 10:35:30 SSH_AUTH_SOCK=/tmp/ssh-oKBmO8dkxMei/agent.31 10:35:30 SSH_AGENT_PID=37 10:35:30 Running ssh-add (command line suppressed) 10:35:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_4472283629736105112.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_4472283629736105112.key) 10:35:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:30 + git tag --points-at HEAD [Pipeline] } 10:35:30 $ docker exec --env ******** --env ******** a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 ssh-agent -k 10:35:30 unset SSH_AUTH_SOCK; 10:35:30 unset SSH_AGENT_PID; 10:35:30 echo Agent pid 37 killed; 10:35:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:35:31 [ssh-agent] Looking for ssh-agent implementation... 10:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:35:31 $ docker exec a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 ssh-agent 10:35:31 SSH_AUTH_SOCK=/tmp/ssh-R3JNLn3xcnFk/agent.70 10:35:31 SSH_AGENT_PID=76 10:35:31 Running ssh-add (command line suppressed) 10:35:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_1759866476145510707.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_1759866476145510707.key) 10:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:35:31 + git semver init 10:35:31 2023-02-07 10:35:31,864 [run_init] DEBUG init version:0.0.0 force:False 10:35:31 2023-02-07 10:35:31,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver 10:35:31 2023-02-07 10:35:31,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver 10:35:31 2023-02-07 10:35:31,865 [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) 10:35:32 2023-02-07 10:35:32,755 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.git/info/exclude 10:35:32 2023-02-07 10:35:32,756 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 with force:False 10:35:32 2023-02-07 10:35:32,756 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 10:35:32 2023-02-07 10:35:32,761 [execute] INFO git cat-file --batch-check 10:35:32 2023-02-07 10:35:32,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) 10:35:32 2023-02-07 10:35:32,768 [execute] INFO git cat-file --batch 10:35:32 2023-02-07 10:35:32,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) 10:35:32 2023-02-07 10:35:32,774 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 10:35:32 0.0.0 [Pipeline] } 10:35:32 $ docker exec --env ******** --env ******** a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 ssh-agent -k 10:35:32 unset SSH_AUTH_SOCK; 10:35:32 unset SSH_AGENT_PID; 10:35:32 echo Agent pid 76 killed; 10:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:35:33 + git semver [Pipeline] } 10:35:33 $ docker stop --time=1 a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 10:35:34 $ docker rm -f --volumes a02543b54857c69f92acf3a09bd6da096714454e7bb1c38499d5e94e56fec7e2 [Pipeline] // withDockerContainer [Pipeline] sh 10:35:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:35:35 Stashed 1 file(s) [Pipeline] echo 10:35:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:35:35 provisioning config files... 10:35:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config13746708719499443829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:35 ---> docker-login.sh 10:35:35 nexus3.edgexfoundry.org:10001 10:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:35 Configure a credential helper to remove this warning. See 10:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:35 10:35:35 Login Succeeded 10:35:35 nexus3.edgexfoundry.org:10002 10:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:35 Configure a credential helper to remove this warning. See 10:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:35 10:35:35 Login Succeeded 10:35:35 nexus3.edgexfoundry.org:10003 10:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:36 Configure a credential helper to remove this warning. See 10:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:36 10:35:36 Login Succeeded 10:35:36 nexus3.edgexfoundry.org:10004 10:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:36 Configure a credential helper to remove this warning. See 10:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:36 10:35:36 Login Succeeded 10:35:36 docker.io 10:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:36 Configure a credential helper to remove this warning. See 10:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:36 10:35:36 Login Succeeded 10:35:36 ---> docker-login.sh ends [Pipeline] } 10:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:35:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:35:36 ========================================================= 10:35:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:35:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:37 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 10:35:37 Sending build context to Docker daemon 4.762MB 10:35:37 Step 1/21 : ARG BASE=alpine:3.16 10:35:37 Step 2/21 : FROM ${BASE} as builder 10:35:37 latest: Pulling from edgex-devops/edgex-gcc-base 10:35:37 213ec9aee27d: Pulling fs layer 10:35:37 0f09ad1b1b37: Pulling fs layer 10:35:37 213ec9aee27d: Verifying Checksum 10:35:37 213ec9aee27d: Download complete 10:35:37 213ec9aee27d: Pull complete 10:35:37 0f09ad1b1b37: Verifying Checksum 10:35:37 0f09ad1b1b37: Download complete 10:35:41 0f09ad1b1b37: Pull complete 10:35:41 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 10:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:35:41 ---> b2bbfebb3566 10:35:41 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:35:41 ---> Running in 8a83af1d149c 10:35:41 Connecting to iotech.jfrog.io (52.17.124.35:443) 10:35:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:35:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:35:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:35:42 Removing intermediate container 8a83af1d149c 10:35:42 ---> ce118feeec64 10:35:42 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:35:42 ---> Running in fa1f25f3de45 10:35:43 Removing intermediate container fa1f25f3de45 10:35:43 ---> 1802ca2b3cb2 10:35:43 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 10:35:43 ---> Running in 0a1b01b9cb16 10:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:35:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:35:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:35:44 (1/14) Installing hiredis (1.0.2-r0) 10:35:44 (2/14) Installing hiredis-dev (1.0.2-r0) 10:35:44 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 10:35:45 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 10:35:45 (5/14) Installing libcbor (0.9.0-r1) 10:35:45 (6/14) Installing libcbor-dev (0.9.0-r1) 10:35:45 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:35:45 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:35:45 (9/14) Installing libblkid (2.38-r1) 10:35:45 (10/14) Installing libuuid (2.38-r1) 10:35:45 (11/14) Installing libfdisk (2.38-r1) 10:35:45 (12/14) Installing libmount (2.38-r1) 10:35:45 (13/14) Installing libsmartcols (2.38-r1) 10:35:45 (14/14) Installing util-linux-dev (2.38-r1) 10:35:45 Executing busybox-1.35.0-r17.trigger 10:35:45 OK: 280 MiB in 90 packages 10:35:46 Removing intermediate container 0a1b01b9cb16 10:35:46 ---> b60a31496906 10:35:46 Step 6/21 : RUN mkdir /tmp/sdk 10:35:46 ---> Running in 768dfa458578 10:35:47 Removing intermediate container 768dfa458578 10:35:47 ---> 3f84f9f3d94a 10:35:47 Step 7/21 : COPY VERSION /tmp/sdk 10:35:47 ---> 757e69519772 10:35:47 Step 8/21 : COPY src /tmp/sdk/src 10:35:47 ---> bf2c9786f7f6 10:35:47 Step 9/21 : COPY include /tmp/sdk/include 10:35:47 ---> 6dbd68c4c0ec 10:35:47 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:35:47 ---> 66474f4652ac 10:35:47 Step 11/21 : COPY LICENSE /tmp/sdk 10:35:47 ---> 6a48a3a548fe 10:35:47 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:35:47 ---> 0b72bf7396b6 10:35:47 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:35:47 ---> Running in bdd62760d4cd 10:35:48 + CPPCHECK=false 10:35:48 + DOCGEN=false 10:35:48 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:35:48 + TOMLVER=SDK-0.2 10:35:48 + CUTILVER=1.4 10:35:48 + '[' 0 -gt 0 ] 10:35:48 + readlink -f ./scripts/build.sh 10:35:48 + dirname /tmp/sdk/scripts/build.sh 10:35:48 + dirname /tmp/sdk/scripts 10:35:48 + ROOT=/tmp/sdk 10:35:48 + cd /tmp/sdk 10:35:48 + '[' '!' -d deps ] 10:35:48 + mkdir deps 10:35:48 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:35:48 + tar -C deps -z -x -f - 10:35:48 Connecting to github.com (140.82.114.4:443) 10:35:48 Connecting to codeload.github.com (140.82.112.10:443) 10:35:48 writing to stdout 10:35:48 - 100% |********************************| 16451 0:00:00 ETA 10:35:48 written to stdout 10:35:48 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:35:48 + mkdir -p /tmp/sdk/build/release 10:35:48 + cd /tmp/sdk/build/release 10:35:48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:35:48 -- The C compiler identification is GNU 11.2.1 10:35:48 -- Detecting C compiler ABI info 10:35:48 -- Detecting C compiler ABI info - done 10:35:48 -- Check for working C compiler: /usr/bin/cc - skipped 10:35:48 -- Detecting C compile features 10:35:48 -- Detecting C compile features - done 10:35:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:35:48 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:35:48 -- Found LIBYAML: /usr/lib/libyaml.so 10:35:48 -- Found LIBUUID: /usr/lib/libuuid.so 10:35:48 -- Found LIBCBOR: /usr/lib/libcbor.so 10:35:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:35:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:35:48 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 10:35:48 -- /opt/iotech/iot/1.4/include 10:35:48 -- C SDK 0.0.0 for Linux 10:35:49 -- Performing Test CSDK_HAVE_ATOMIC 10:35:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:35:49 -- Found Curses: /usr/lib/libcurses.so 10:35:49 -- Configuring done 10:35:49 -- Generating done 10:35:49 -- Build files have been written to: /tmp/sdk/build/release 10:35:49 + make all package 10:35:49 + tee release.log 10:35:49 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:35:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:35:49 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:35:50 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:35:50 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:35:50 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:35:50 Still waiting to schedule task 10:35:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:35:50 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:35:50 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:35:51 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:35:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:35:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:35:51 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:35:51 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:35:51 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:35:51 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:35:52 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:35:52 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:35:52 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:35:52 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:35:53 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:35:53 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:35:53 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:35:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:35:54 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:35:54 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:35:54 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:35:54 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:35:54 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:35:55 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:35:56 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:35:56 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:35:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:35:56 [ 67%] Linking C shared library libcsdk.so 10:35:56 [ 67%] Built target csdk 10:35:56 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:35:56 [ 71%] Linking C executable template 10:35:56 [ 71%] Built target template 10:35:56 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:35:56 [ 75%] Linking C executable device-counter 10:35:57 [ 75%] Built target device-counter 10:35:57 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:35:57 [ 79%] Linking C executable device-random 10:35:57 [ 79%] Built target device-random 10:35:57 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:35:57 [ 83%] Linking C executable device-gyro 10:35:57 [ 83%] Built target device-gyro 10:35:57 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:35:57 [ 87%] Linking C executable device-bitfields 10:35:57 [ 87%] Built target device-bitfields 10:35:57 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:35:57 [ 91%] Linking C executable template-discovery 10:35:57 [ 91%] Built target template-discovery 10:35:57 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:35:58 [ 95%] Linking C executable device-file 10:35:58 [ 95%] Built target device-file 10:35:58 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:35:58 [100%] Linking C executable device-terminal 10:35:58 [100%] Built target device-terminal 10:35:58 Run CPack packaging tool... 10:35:58 CPack: Create package using TGZ 10:35:58 CPack: Install projects 10:35:58 CPack: - Run preinstall target for: Csdk 10:35:58 CPack: - Install project: Csdk [] 10:35:58 CPack: Create package 10:35:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:35:58 + '[' false '=' true ] 10:35:58 + '[' false '=' true ] 10:35:58 + mkdir -p /tmp/sdk/build/debug 10:35:58 + cd /tmp/sdk/build/debug 10:35:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:35:58 -- The C compiler identification is GNU 11.2.1 10:35:58 -- Detecting C compiler ABI info 10:35:58 -- Detecting C compiler ABI info - done 10:35:58 -- Check for working C compiler: /usr/bin/cc - skipped 10:35:58 -- Detecting C compile features 10:35:58 -- Detecting C compile features - done 10:35:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:35:58 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:35:58 -- Found LIBYAML: /usr/lib/libyaml.so 10:35:58 -- Found LIBUUID: /usr/lib/libuuid.so 10:35:58 -- Found LIBCBOR: /usr/lib/libcbor.so 10:35:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:35:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:35:58 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 10:35:58 -- /opt/iotech/iot/1.4/include 10:35:58 -- C SDK 0.0.0 for Linux 10:35:58 -- Performing Test CSDK_HAVE_ATOMIC 10:35:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:35:58 -- Found Curses: /usr/lib/libcurses.so 10:35:58 -- Configuring done 10:35:59 -- Generating done 10:35:59 -- Build files have been written to: /tmp/sdk/build/debug 10:35:59 + make 10:35:59 + tee debug.log 10:35:59 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:35:59 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:35:59 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:35:59 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:35:59 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:35:59 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:35:59 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:35:59 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:35:59 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:35:59 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:36:00 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:36:00 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:36:00 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:36:00 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:36:00 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:36:00 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:36:00 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:36:00 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:36:00 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:36:01 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:36:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:36:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:36:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:36:01 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:36:01 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:36:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:36:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:36:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:36:02 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:36:02 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:36:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:36:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:36:02 [ 67%] Linking C shared library libcsdk.so 10:36:02 [ 67%] Built target csdk 10:36:02 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:36:02 [ 71%] Linking C executable template 10:36:02 [ 71%] Built target template 10:36:02 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:36:02 [ 75%] Linking C executable device-counter 10:36:02 [ 75%] Built target device-counter 10:36:02 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:36:02 [ 79%] Linking C executable device-random 10:36:03 [ 79%] Built target device-random 10:36:03 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:36:03 [ 83%] Linking C executable device-gyro 10:36:03 [ 83%] Built target device-gyro 10:36:03 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:36:03 [ 87%] Linking C executable device-bitfields 10:36:03 [ 87%] Built target device-bitfields 10:36:03 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:36:03 [ 91%] Linking C executable template-discovery 10:36:03 [ 91%] Built target template-discovery 10:36:03 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:36:03 [ 95%] Linking C executable device-file 10:36:03 [ 95%] Built target device-file 10:36:03 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:36:03 [100%] Linking C executable device-terminal 10:36:03 [100%] Built target device-terminal 10:36:03 make: Entering directory '/tmp/sdk/build/release' 10:36:03 make[1]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 67%] Built target csdk 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 71%] Built target template 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 75%] Built target device-counter 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 79%] Built target device-random 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 83%] Built target device-gyro 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 87%] Built target device-bitfields 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 91%] Built target template-discovery 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:03 [ 95%] Built target device-file 10:36:03 make[2]: Entering directory '/tmp/sdk/build/release' 10:36:03 make[2]: Leaving directory '/tmp/sdk/build/release' 10:36:04 [100%] Built target device-terminal 10:36:04 make[1]: Leaving directory '/tmp/sdk/build/release' 10:36:04 Install the project... 10:36:04 -- Install configuration: "Release" 10:36:04 -- Installing: /usr/local/lib/libcsdk.so 10:36:04 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:36:04 -- Installing: /usr/local/include 10:36:04 -- Installing: /usr/local/include/devsdk 10:36:04 -- Installing: /usr/local/include/devsdk/devsdk.h 10:36:04 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:36:04 -- Installing: /usr/local/include/edgex 10:36:04 -- Installing: /usr/local/include/edgex/edgex.h 10:36:04 -- Installing: /usr/local/include/edgex/devices.h 10:36:04 -- Installing: /usr/local/include/edgex/profiles.h 10:36:04 -- Installing: /usr/local/include/edgex/edgex-base.h 10:36:04 -- Installing: /usr/local/include/edgex/rest-server.h 10:36:04 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:36:04 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:36:04 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:36:04 make: Leaving directory '/tmp/sdk/build/release' 10:36:04 Removing intermediate container bdd62760d4cd 10:36:04 ---> 345106e7c8f5 10:36:04 Step 14/21 : FROM ${BASE} 10:36:04 ---> b2bbfebb3566 10:36:04 Step 15/21 : LABEL maintainer="IOTech " 10:36:04 ---> Running in da4ed4acd8e5 10:36:04 Removing intermediate container da4ed4acd8e5 10:36:04 ---> 2c6c398bd60b 10:36:04 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:36:04 ---> Running in 2c8af9495578 10:36:05 Connecting to iotech.jfrog.io (3.251.51.216:443) 10:36:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:36:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:36:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:36:05 Removing intermediate container 2c8af9495578 10:36:05 ---> 0bd4c1e655ca 10:36:05 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:36:05 ---> Running in 53726200ea09 10:36:06 Removing intermediate container 53726200ea09 10:36:06 ---> 7d7f87d7cf70 10:36: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 10:36:06 ---> Running in 7599a9598944 10:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:36:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:36:07 (1/7) Installing curl (7.83.1-r5) 10:36:07 (2/7) Installing hiredis (1.0.2-r0) 10:36:07 (3/7) Installing hiredis-dev (1.0.2-r0) 10:36:07 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 10:36:08 (5/7) Installing libcbor (0.9.0-r1) 10:36:08 (6/7) Installing libuuid (2.38-r1) 10:36:08 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:36:11 Executing busybox-1.35.0-r17.trigger 10:36:11 OK: 275 MiB in 83 packages 10:36:11 Removing intermediate container 7599a9598944 10:36:11 ---> 48b9d0192af4 10:36:11 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:36:11 ---> 315c8de471bd 10:36:11 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:36:11 ---> 30dfabda05b0 10:36:11 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:36:11 ---> 9920b8269e4d 10:36:11 Successfully built 9920b8269e4d 10:36:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:11 + docker inspect -f . ci-base-image-x86_64 10:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:12 prd-ubuntu20.04-docker-8c-8g-4872 does not seem to be running inside a container 10:36:12 $ 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 10:36:12 $ docker top cd0cca829b5cfe7094b65bedaef8ab6f18665cdd18d020b83a04108a1a3a7185 -eo pid,comm [Pipeline] { [Pipeline] sh 10:36:12 + make test 10:36:12 echo "make test" 10:36:12 make test [Pipeline] } 10:36:12 $ docker stop --time=1 cd0cca829b5cfe7094b65bedaef8ab6f18665cdd18d020b83a04108a1a3a7185 10:36:14 $ docker rm -f --volumes cd0cca829b5cfe7094b65bedaef8ab6f18665cdd18d020b83a04108a1a3a7185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:36:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:36:14 + ls -al . 10:36:14 total 204 10:36:14 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 10:35 . 10:36:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:35 .. 10:36:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 10:35 .git 10:36:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:35 .github 10:36:14 -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 10:35 .gitignore 10:36:14 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 10:35 .semver 10:36:14 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 10:35 Attribution.txt 10:36:14 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 10:35 CHANGES 10:36:14 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 10:35 Doxyfile 10:36:14 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 10:35 GOVERNANCE.md 10:36:14 -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 10:35 Jenkinsfile 10:36:14 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 10:35 LICENSE 10:36:14 -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 10:35 Makefile 10:36:14 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 10:35 OWNERS.md 10:36:14 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 10:35 README.md 10:36:14 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 10:35 README.v3.md 10:36:14 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 10:35 VERSION 10:36:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:35 docs 10:36:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:35 include 10:36:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:35 scripts 10:36:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:35 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:15 + 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=781a83bb215fc71b9bcc05bb52c52acb39bd2040 --label arch=amd64 --label version=0.0.0 . 10:36:15 Sending build context to Docker daemon 4.762MB 10:36:15 Step 1/17 : ARG BASE=alpine:3.16 10:36:15 Step 2/17 : FROM ${BASE} 10:36:15 ---> 9920b8269e4d 10:36:15 Step 3/17 : LABEL maintainer="IOTech " 10:36:15 ---> Running in e40147f3593e 10:36:15 Removing intermediate container e40147f3593e 10:36:15 ---> e59db4296ef0 10:36:15 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:36:15 ---> Running in 382407f92d49 10:36:15 Connecting to iotech.jfrog.io (52.49.66.18:443) 10:36:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:36:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:36:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:36:16 Removing intermediate container 382407f92d49 10:36:16 ---> c0ce68520357 10:36:16 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:36:16 ---> Running in e5518f09ffcc 10:36:16 Removing intermediate container e5518f09ffcc 10:36:16 ---> f8236ccbf719 10:36:16 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build 10:36:16 ---> Running in 93f68d8ec0cb 10:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:36:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:36:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:36:18 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 10:36:18 (2/8) Installing libcbor-dev (0.9.0-r1) 10:36:18 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 10:36:18 (4/8) Installing libblkid (2.38-r1) 10:36:18 (5/8) Installing libfdisk (2.38-r1) 10:36:18 (6/8) Installing libmount (2.38-r1) 10:36:18 (7/8) Installing libsmartcols (2.38-r1) 10:36:18 (8/8) Installing util-linux-dev (2.38-r1) 10:36:18 Executing busybox-1.35.0-r17.trigger 10:36:18 OK: 280 MiB in 91 packages 10:36:18 Removing intermediate container 93f68d8ec0cb 10:36:18 ---> a1e4ace18b2c 10:36:18 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:36:19 ---> bf5cbcb56c2e 10:36:19 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:36:19 ---> cbe9574381cc 10:36:19 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:36:19 ---> 749e51b8306b 10:36:19 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:36:19 ---> cc76cb5243f2 10:36:19 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:36:19 ---> 75a7a2b71c47 10:36:19 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:36:20 ---> dd2e956134a4 10:36:20 Step 13/17 : WORKDIR /edgex-c-sdk 10:36:20 ---> Running in 4aff59ce35da 10:36:20 Removing intermediate container 4aff59ce35da 10:36:20 ---> 09ef54790901 10:36:20 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:36:20 ---> Running in c19d1b088393 10:36:20 Removing intermediate container c19d1b088393 10:36:20 ---> bb920056cf55 10:36:20 Step 15/17 : LABEL arch=amd64 10:36:20 ---> Running in 49da2ba9e094 10:36:20 Removing intermediate container 49da2ba9e094 10:36:20 ---> 1c749add4d5a 10:36:20 Step 16/17 : LABEL git_sha=781a83bb215fc71b9bcc05bb52c52acb39bd2040 10:36:20 ---> Running in 3eebac281b21 10:36:20 Removing intermediate container 3eebac281b21 10:36:20 ---> f583f43c118a 10:36:20 Step 17/17 : LABEL version=0.0.0 10:36:20 ---> Running in 768c61229f65 10:36:20 Removing intermediate container 768c61229f65 10:36:20 ---> 2e12fbdc4922 10:36:20 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:36:20 Successfully built 2e12fbdc4922 10:36:20 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:20 10:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:21 latest: Pulling from edgex-lftools-log-publisher 10:36:21 5eb5b503b376: Pulling fs layer 10:36:21 5c69ac0246d0: Pulling fs layer 10:36:21 ec43610c2a17: Pulling fs layer 10:36:21 3a2ae6a8a46f: Pulling fs layer 10:36:21 33b1e0a273af: Pulling fs layer 10:36:21 5d3b04190fa2: Pulling fs layer 10:36:21 2f39f015ded8: Pulling fs layer 10:36:21 3a2ae6a8a46f: Waiting 10:36:21 33b1e0a273af: Waiting 10:36:21 5d3b04190fa2: Waiting 10:36:21 2f39f015ded8: Waiting 10:36:21 5c69ac0246d0: Verifying Checksum 10:36:21 5c69ac0246d0: Download complete 10:36:21 3a2ae6a8a46f: Verifying Checksum 10:36:21 3a2ae6a8a46f: Download complete 10:36:21 33b1e0a273af: Verifying Checksum 10:36:21 33b1e0a273af: Download complete 10:36:21 5d3b04190fa2: Download complete 10:36:21 ec43610c2a17: Verifying Checksum 10:36:21 ec43610c2a17: Download complete 10:36:21 5eb5b503b376: Download complete 10:36:22 2f39f015ded8: Verifying Checksum 10:36:22 2f39f015ded8: Download complete 10:36:22 5eb5b503b376: Pull complete 10:36:23 5c69ac0246d0: Pull complete 10:36:23 ec43610c2a17: Pull complete 10:36:23 3a2ae6a8a46f: Pull complete 10:36:23 33b1e0a273af: Pull complete 10:36:23 5d3b04190fa2: Pull complete 10:36:28 2f39f015ded8: Pull complete 10:36:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:28 prd-ubuntu20.04-docker-8c-8g-4872 does not seem to be running inside a container 10:36:28 $ 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 10:36:29 $ docker top bf53e1b2537fcf7aa4f04f7966c189234a829edb262a7b4157b128515cce6a38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:29 ---> job-cost.sh 10:36:29 lf-activate-venv: SKIPPING 10:36:29 INFO: No Stack... 10:36:30 INFO: Retrieving Pricing Info for: v3-standard-8 10:36:30 INFO: Archiving Costs [Pipeline] sh 10:36:31 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/cost.csv 10:36:31 + cut -d, -f6 [Pipeline] lock 10:36:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] 10:36:31 Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] did not exist. Created. 10:36:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:36:31 + echo total: 0.2199999988079071 [Pipeline] stash 10:36:31 Stashed 1 file(s) [Pipeline] } 10:36:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:36:31 $ docker stop --time=1 bf53e1b2537fcf7aa4f04f7966c189234a829edb262a7b4157b128515cce6a38 10:36:32 $ docker rm -f --volumes bf53e1b2537fcf7aa4f04f7966c189234a829edb262a7b4157b128515cce6a38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:37:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4873 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [Pipeline] { [Pipeline] ws 10:37:35 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 10:37:35 Selected Git installation does not exist. Using Default 10:37:35 The recommended git tool is: NONE 10:37:43 using credential edgex-jenkins-ssh 10:37:43 Cloning the remote Git repository 10:37:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:37:44 > git init /w/workspace/device-sdk-c/2 # timeout=10 10:37:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:37:44 > git --version # timeout=10 10:37:44 > git --version # 'git version 2.25.1' 10:37:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:37:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:47 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 781a83bb215fc71b9bcc05bb52c52acb39bd2040 10:37:47 Merge succeeded, producing 781a83bb215fc71b9bcc05bb52c52acb39bd2040 10:37:47 Checking out Revision 781a83bb215fc71b9bcc05bb52c52acb39bd2040 (PR-440) 10:37:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:37:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:37:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:46 > 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 10:37:47 > git config core.sparsecheckout # timeout=10 10:37:47 > git checkout -f 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # timeout=10 10:37:47 > git remote # timeout=10 10:37:47 > git config --get remote.origin.url # timeout=10 10:37:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:47 > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 10:37:47 > git rev-parse HEAD^{commit} # timeout=10 10:37:47 > git config core.sparsecheckout # timeout=10 10:37:47 > git checkout -f 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # timeout=10 10:37:51 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 10:37:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:37:52 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:52 Dload Upload Total Spent Left Speed 10:37:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61009 0 --:--:-- --:--:-- --:--:-- 61009 [Pipeline] sh 10:37:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:37:53 + sudo tee /etc/docker/daemon.new 10:37:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:37:53 { 10:37:53 "registry-mirrors": [ 10:37:53 "https://nexus3.edgexfoundry.org:10001" 10:37:53 ], 10:37:53 "bip": "10.250.0.254/24", 10:37:53 "hosts": [ 10:37:53 "tcp://0.0.0.0:5555", 10:37:53 "unix:///var/run/docker.sock" 10:37:53 ], 10:37:53 "mtu": 1458, 10:37:53 "selinux-enabled": true, 10:37:53 "seccomp-profile": "/etc/docker/seccomp.json" 10:37:53 } [Pipeline] sh 10:37:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:37:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:38:12 provisioning config files... 10:38:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config14322719146536318577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:12 ---> docker-login.sh 10:38:12 nexus3.edgexfoundry.org:10001 10:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:13 Configure a credential helper to remove this warning. See 10:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:13 10:38:13 Login Succeeded 10:38:13 nexus3.edgexfoundry.org:10002 10:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:13 Configure a credential helper to remove this warning. See 10:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:13 10:38:13 Login Succeeded 10:38:13 nexus3.edgexfoundry.org:10003 10:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:13 Configure a credential helper to remove this warning. See 10:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:13 10:38:13 Login Succeeded 10:38:13 nexus3.edgexfoundry.org:10004 10:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:14 Configure a credential helper to remove this warning. See 10:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:14 10:38:14 Login Succeeded 10:38:14 docker.io 10:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:14 Configure a credential helper to remove this warning. See 10:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:14 10:38:14 Login Succeeded 10:38:14 ---> docker-login.sh ends [Pipeline] } 10:38:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:14 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:38:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:14 ========================================================= 10:38:14 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:38:14 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:15 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:38:15 Sending build context to Docker daemon 2.891MB 10:38:15 Step 1/21 : ARG BASE=alpine:3.16 10:38:15 Step 2/21 : FROM ${BASE} as builder 10:38:16 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:38:16 9b18e9b68314: Pulling fs layer 10:38:16 1def92ead452: Pulling fs layer 10:38:17 9b18e9b68314: Download complete 10:38:17 9b18e9b68314: Pull complete 10:38:19 1def92ead452: Verifying Checksum 10:38:19 1def92ead452: Download complete 10:38:27 1def92ead452: Pull complete 10:38:27 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 10:38:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:38:27 ---> 9a9802766715 10:38:27 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:38:28 ---> Running in a19427a5911b 10:38:29 Connecting to iotech.jfrog.io (52.210.99.226:443) 10:38:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:38:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:38:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:38:31 Removing intermediate container a19427a5911b 10:38:31 ---> 80e7a7ab34c8 10:38:31 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:38:31 ---> Running in 2347c27d0cb5 10:38:32 Removing intermediate container 2347c27d0cb5 10:38:32 ---> c1c5edce081c 10:38:32 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 10:38:32 ---> Running in 723eff814add 10:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:38:34 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:38:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:38:35 (1/14) Installing hiredis (1.0.2-r0) 10:38:35 (2/14) Installing hiredis-dev (1.0.2-r0) 10:38:35 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 10:38:35 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 10:38:36 (5/14) Installing libcbor (0.9.0-r1) 10:38:36 (6/14) Installing libcbor-dev (0.9.0-r1) 10:38:36 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:38:36 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:38:37 (9/14) Installing libblkid (2.38-r1) 10:38:37 (10/14) Installing libuuid (2.38-r1) 10:38:37 (11/14) Installing libfdisk (2.38-r1) 10:38:37 (12/14) Installing libmount (2.38-r1) 10:38:37 (13/14) Installing libsmartcols (2.38-r1) 10:38:37 (14/14) Installing util-linux-dev (2.38-r1) 10:38:37 Executing busybox-1.35.0-r17.trigger 10:38:37 OK: 286 MiB in 90 packages 10:38:38 Removing intermediate container 723eff814add 10:38:38 ---> aaa642cd07f4 10:38:38 Step 6/21 : RUN mkdir /tmp/sdk 10:38:38 ---> Running in 7c922de4897e 10:38:39 Removing intermediate container 7c922de4897e 10:38:39 ---> b7d9e4ab2b6f 10:38:39 Step 7/21 : COPY VERSION /tmp/sdk 10:38:40 ---> 257e8c93fc18 10:38:40 Step 8/21 : COPY src /tmp/sdk/src 10:38:42 ---> 37cf733a1b3a 10:38:42 Step 9/21 : COPY include /tmp/sdk/include 10:38:43 ---> 7d60b845416e 10:38:43 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:38:43 ---> fab1803ed55a 10:38:43 Step 11/21 : COPY LICENSE /tmp/sdk 10:38:43 ---> 4a42f183c7d3 10:38:43 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:38:44 ---> 8a346f13ae50 10:38:44 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:38:44 ---> Running in 931635d2288f 10:38:45 + CPPCHECK=false 10:38:45 + DOCGEN=false 10:38:45 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:38:45 + TOMLVER=SDK-0.2 10:38:45 + CUTILVER=1.4 10:38:45 + '[' 0 -gt 0 ] 10:38:45 + readlink -f ./scripts/build.sh 10:38:45 + dirname /tmp/sdk/scripts/build.sh 10:38:45 + dirname /tmp/sdk/scripts 10:38:45 + ROOT=/tmp/sdk 10:38:45 + cd /tmp/sdk 10:38:45 + '[' '!' -d deps ] 10:38:45 + mkdir deps 10:38:45 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:38:45 + tar -C deps -z -x -f - 10:38:45 Connecting to github.com (140.82.114.3:443) 10:38:45 Connecting to codeload.github.com (140.82.113.10:443) 10:38:46 writing to stdout 10:38:46 - 100% |********************************| 16451 0:00:00 ETA 10:38:46 written to stdout 10:38:46 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:38:46 + mkdir -p /tmp/sdk/build/release 10:38:46 + cd /tmp/sdk/build/release 10:38:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:38:46 -- The C compiler identification is GNU 11.2.1 10:38:46 -- Detecting C compiler ABI info 10:38:46 -- Detecting C compiler ABI info - done 10:38:46 -- Check for working C compiler: /usr/bin/cc - skipped 10:38:46 -- Detecting C compile features 10:38:46 -- Detecting C compile features - done 10:38:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:38:46 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:38:46 -- Found LIBYAML: /usr/lib/libyaml.so 10:38:47 -- Found LIBUUID: /usr/lib/libuuid.so 10:38:47 -- Found LIBCBOR: /usr/lib/libcbor.so 10:38:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:38:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:38:47 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 10:38:47 -- /opt/iotech/iot/1.4/include 10:38:47 -- C SDK 0.0.0 for Linux 10:38:47 -- Performing Test CSDK_HAVE_ATOMIC 10:38:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:38:47 -- Found Curses: /usr/lib/libcurses.so 10:38:47 -- Configuring done 10:38:48 -- Generating done 10:38:48 -- Build files have been written to: /tmp/sdk/build/release 10:38:48 + make all package 10:38:48 + tee release.log 10:38:48 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:38:49 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:38:50 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:38:53 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:38:54 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:38:54 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:38:55 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:38:57 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:38:59 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:39:00 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:39:01 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:39:02 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:39:03 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:39:03 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:39:04 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:39:08 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:39:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:39:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:39:10 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:39:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:39:17 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:39:17 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:39:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:39:19 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:39:22 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:39:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:39:23 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:39:24 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:39:27 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:39:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:39:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:39:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:39:34 [ 67%] Linking C shared library libcsdk.so 10:39:34 [ 67%] Built target csdk 10:39:34 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:39:35 [ 71%] Linking C executable template 10:39:36 [ 71%] Built target template 10:39:36 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:39:36 [ 75%] Linking C executable device-counter 10:39:37 [ 75%] Built target device-counter 10:39:37 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:39:37 [ 79%] Linking C executable device-random 10:39:38 [ 79%] Built target device-random 10:39:38 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:39:38 [ 83%] Linking C executable device-gyro 10:39:38 [ 83%] Built target device-gyro 10:39:38 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:39:39 [ 87%] Linking C executable device-bitfields 10:39:39 [ 87%] Built target device-bitfields 10:39:40 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:39:41 [ 91%] Linking C executable template-discovery 10:39:41 [ 91%] Built target template-discovery 10:39:41 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:39:42 [ 95%] Linking C executable device-file 10:39:42 [ 95%] Built target device-file 10:39:42 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:39:43 [100%] Linking C executable device-terminal 10:39:43 [100%] Built target device-terminal 10:39:43 Run CPack packaging tool... 10:39:43 CPack: Create package using TGZ 10:39:43 CPack: Install projects 10:39:43 CPack: - Run preinstall target for: Csdk 10:39:44 CPack: - Install project: Csdk [] 10:39:44 CPack: Create package 10:39:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:39:44 + '[' false '=' true ] 10:39:44 + '[' false '=' true ] 10:39:44 + mkdir -p /tmp/sdk/build/debug 10:39:44 + cd /tmp/sdk/build/debug 10:39:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:39:45 -- The C compiler identification is GNU 11.2.1 10:39:45 -- Detecting C compiler ABI info 10:39:45 -- Detecting C compiler ABI info - done 10:39:45 -- Check for working C compiler: /usr/bin/cc - skipped 10:39:45 -- Detecting C compile features 10:39:45 -- Detecting C compile features - done 10:39:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:39:45 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:39:45 -- Found LIBYAML: /usr/lib/libyaml.so 10:39:45 -- Found LIBUUID: /usr/lib/libuuid.so 10:39:45 -- Found LIBCBOR: /usr/lib/libcbor.so 10:39:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:39:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:39:45 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 10:39:45 -- /opt/iotech/iot/1.4/include 10:39:45 -- C SDK 0.0.0 for Linux 10:39:45 -- Performing Test CSDK_HAVE_ATOMIC 10:39:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:39:46 -- Found Curses: /usr/lib/libcurses.so 10:39:46 -- Configuring done 10:39:46 -- Generating done 10:39:46 -- Build files have been written to: /tmp/sdk/build/debug 10:39:46 + make 10:39:46 + tee debug.log 10:39:46 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:39:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:39:47 [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:39:48 [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:39:48 [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:39:49 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:39:49 [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:39:50 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:39:50 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:39:51 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:39:52 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:39:52 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:39:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:39:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:39:53 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:39:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:39:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:39:55 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:39:56 [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:39:57 [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:39:57 [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:39:58 [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:39:58 [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:39:58 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:40:00 [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:40:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:40:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:40:02 [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:40:03 [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:40:03 [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:40:04 [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:40:04 [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:40:05 [ 67%] Linking C shared library libcsdk.so 10:40:05 [ 67%] Built target csdk 10:40:05 [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:40:05 [ 71%] Linking C executable template 10:40:06 [ 71%] Built target template 10:40:06 [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:40:06 [ 75%] Linking C executable device-counter 10:40:06 [ 75%] Built target device-counter 10:40:06 [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:40:07 [ 79%] Linking C executable device-random 10:40:07 [ 79%] Built target device-random 10:40:07 [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:40:07 [ 83%] Linking C executable device-gyro 10:40:08 [ 83%] Built target device-gyro 10:40:08 [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:40:08 [ 87%] Linking C executable device-bitfields 10:40:08 [ 87%] Built target device-bitfields 10:40:08 [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:40:09 [ 91%] Linking C executable template-discovery 10:40:09 [ 91%] Built target template-discovery 10:40:09 [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:40:10 [ 95%] Linking C executable device-file 10:40:10 [ 95%] Built target device-file 10:40:10 [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:40:10 [100%] Linking C executable device-terminal 10:40:11 [100%] Built target device-terminal 10:40:11 make: Entering directory '/tmp/sdk/build/release' 10:40:11 make[1]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 67%] Built target csdk 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 71%] Built target template 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 75%] Built target device-counter 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 79%] Built target device-random 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 83%] Built target device-gyro 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 87%] Built target device-bitfields 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 91%] Built target template-discovery 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [ 95%] Built target device-file 10:40:11 make[2]: Entering directory '/tmp/sdk/build/release' 10:40:11 make[2]: Leaving directory '/tmp/sdk/build/release' 10:40:11 [100%] Built target device-terminal 10:40:11 make[1]: Leaving directory '/tmp/sdk/build/release' 10:40:11 Install the project... 10:40:11 -- Install configuration: "Release" 10:40:11 -- Installing: /usr/local/lib/libcsdk.so 10:40:11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:40:11 -- Installing: /usr/local/include 10:40:11 -- Installing: /usr/local/include/devsdk 10:40:11 -- Installing: /usr/local/include/devsdk/devsdk.h 10:40:11 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:40:11 -- Installing: /usr/local/include/edgex 10:40:11 -- Installing: /usr/local/include/edgex/rest-server.h 10:40:11 -- Installing: /usr/local/include/edgex/edgex.h 10:40:11 -- Installing: /usr/local/include/edgex/edgex-base.h 10:40:11 -- Installing: /usr/local/include/edgex/devices.h 10:40:11 -- Installing: /usr/local/include/edgex/profiles.h 10:40:11 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:40:11 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:40:11 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:40:11 make: Leaving directory '/tmp/sdk/build/release' 10:40:13 Removing intermediate container 931635d2288f 10:40:13 ---> 8a43a7422aa8 10:40:13 Step 14/21 : FROM ${BASE} 10:40:13 ---> 9a9802766715 10:40:13 Step 15/21 : LABEL maintainer="IOTech " 10:40:13 ---> Running in 54713257fcbb 10:40:13 Removing intermediate container 54713257fcbb 10:40:13 ---> 8a5872503ad8 10:40:13 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:40:13 ---> Running in 91c1a2b3bce4 10:40:14 Connecting to iotech.jfrog.io (34.240.65.14:443) 10:40:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:40:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:40:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:40:15 Removing intermediate container 91c1a2b3bce4 10:40:15 ---> 7c122b7a5655 10:40:15 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:40:16 ---> Running in d35986466133 10:40:17 Removing intermediate container d35986466133 10:40:17 ---> 40faba227221 10:40:17 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 10:40:17 ---> Running in 750650b904a6 10:40:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:40:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:40:20 (1/7) Installing curl (7.83.1-r5) 10:40:20 (2/7) Installing hiredis (1.0.2-r0) 10:40:20 (3/7) Installing hiredis-dev (1.0.2-r0) 10:40:20 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 10:40:20 (5/7) Installing libcbor (0.9.0-r1) 10:40:20 (6/7) Installing libuuid (2.38-r1) 10:40:20 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:40:21 Executing busybox-1.35.0-r17.trigger 10:40:21 OK: 281 MiB in 83 packages 10:40:22 Removing intermediate container 750650b904a6 10:40:22 ---> 072c506f1d31 10:40:22 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:40:23 ---> 0e6a57327f29 10:40:23 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:40:24 ---> 7fdaecfc4bc8 10:40:24 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:40:24 ---> 298896ac77d3 10:40:24 Successfully built 298896ac77d3 10:40:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:25 + docker inspect -f . ci-base-image-arm64 10:40:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:25 prd-ubuntu20.04-docker-arm64-4c-16g-4873 does not seem to be running inside a container 10:40:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:40:26 $ docker top 4d3dd4c00bae773376f32f7a6ff012ebf79f120cc544bca190a2686b93ff95a6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:27 + make test 10:40:27 echo "make test" 10:40:27 make test [Pipeline] } 10:40:27 $ docker stop --time=1 4d3dd4c00bae773376f32f7a6ff012ebf79f120cc544bca190a2686b93ff95a6 10:40:28 $ docker rm -f --volumes 4d3dd4c00bae773376f32f7a6ff012ebf79f120cc544bca190a2686b93ff95a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:40:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:29 + ls -al . 10:40:29 total 200 10:40:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 10:37 . 10:40:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:37 .. 10:40:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 10:37 .git 10:40:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:37 .github 10:40:29 -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 10:37 .gitignore 10:40:29 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 10:37 Attribution.txt 10:40:29 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 10:37 CHANGES 10:40:29 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 10:37 Doxyfile 10:40:29 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 10:37 GOVERNANCE.md 10:40:29 -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 10:37 Jenkinsfile 10:40:29 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 10:37 LICENSE 10:40:29 -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 10:37 Makefile 10:40:29 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 10:37 OWNERS.md 10:40:29 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 10:37 README.md 10:40:29 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 10:37 README.v3.md 10:40:29 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 10:35 VERSION 10:40:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:37 docs 10:40:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:37 include 10:40:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 10:37 scripts 10:40:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 10:37 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:30 + 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=781a83bb215fc71b9bcc05bb52c52acb39bd2040 --label arch=arm64 --label version=0.0.0 . 10:40:30 Sending build context to Docker daemon 2.891MB 10:40:30 Step 1/17 : ARG BASE=alpine:3.16 10:40:30 Step 2/17 : FROM ${BASE} 10:40:30 ---> 298896ac77d3 10:40:30 Step 3/17 : LABEL maintainer="IOTech " 10:40:30 ---> Running in 12996213f20d 10:40:30 Removing intermediate container 12996213f20d 10:40:30 ---> dc6ebac71fda 10:40:30 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:40:30 ---> Running in e57d2627d88c 10:40:31 Connecting to iotech.jfrog.io (3.248.100.191:443) 10:40:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:40:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:40:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:40:33 Removing intermediate container e57d2627d88c 10:40:33 ---> b393306eb16a 10:40:33 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:40:33 ---> Running in 36eb9e38f2c5 10:40:35 Removing intermediate container 36eb9e38f2c5 10:40:35 ---> a8143e908671 10:40:35 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 10:40:35 ---> Running in 2b4ab8ddec30 10:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:40:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:40:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:40:38 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 10:40:38 (2/8) Installing libcbor-dev (0.9.0-r1) 10:40:38 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 10:40:38 (4/8) Installing libblkid (2.38-r1) 10:40:38 (5/8) Installing libfdisk (2.38-r1) 10:40:38 (6/8) Installing libmount (2.38-r1) 10:40:38 (7/8) Installing libsmartcols (2.38-r1) 10:40:38 (8/8) Installing util-linux-dev (2.38-r1) 10:40:38 Executing busybox-1.35.0-r17.trigger 10:40:38 OK: 286 MiB in 91 packages 10:40:39 Removing intermediate container 2b4ab8ddec30 10:40:39 ---> 800a0420e2eb 10:40:39 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:40:39 ---> a15a1b381a87 10:40:39 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:40:40 ---> cf0173645110 10:40:40 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:40:41 ---> bc08d434024f 10:40:41 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:40:41 ---> 74a6b0bc3c27 10:40:41 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:40:42 ---> b75012932d94 10:40:42 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:40:42 ---> 6b25027f460c 10:40:42 Step 13/17 : WORKDIR /edgex-c-sdk 10:40:42 ---> Running in 712392fed044 10:40:42 Removing intermediate container 712392fed044 10:40:42 ---> 6d324d43dfb4 10:40:42 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:40:43 ---> Running in 285bd9e40010 10:40:43 Removing intermediate container 285bd9e40010 10:40:43 ---> 2c054474defd 10:40:43 Step 15/17 : LABEL arch=arm64 10:40:43 ---> Running in 8f34846a60b1 10:40:43 Removing intermediate container 8f34846a60b1 10:40:43 ---> 93e702438f58 10:40:43 Step 16/17 : LABEL git_sha=781a83bb215fc71b9bcc05bb52c52acb39bd2040 10:40:43 ---> Running in 3515131121ec 10:40:43 Removing intermediate container 3515131121ec 10:40:43 ---> 67cc11a8b117 10:40:43 Step 17/17 : LABEL version=0.0.0 10:40:44 ---> Running in b301f04899e8 10:40:44 Removing intermediate container b301f04899e8 10:40:44 ---> 83bcce6ce1bc 10:40:44 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:40:44 Successfully built 83bcce6ce1bc 10:40:44 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:44 10:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:45 arm64: Pulling from edgex-lftools-log-publisher 10:40:45 8998bd30e6a1: Pulling fs layer 10:40:45 04944245beec: Pulling fs layer 10:40:45 699f458cf7ca: Pulling fs layer 10:40:45 765212b225bb: Pulling fs layer 10:40:45 f23df028b6ca: Pulling fs layer 10:40:45 d65c8cfc05b1: Pulling fs layer 10:40:45 2437ff75d9bd: Pulling fs layer 10:40:45 f23df028b6ca: Waiting 10:40:45 d65c8cfc05b1: Waiting 10:40:45 2437ff75d9bd: Waiting 10:40:45 765212b225bb: Waiting 10:40:45 04944245beec: Verifying Checksum 10:40:45 04944245beec: Download complete 10:40:45 765212b225bb: Verifying Checksum 10:40:45 765212b225bb: Download complete 10:40:45 f23df028b6ca: Verifying Checksum 10:40:45 f23df028b6ca: Download complete 10:40:45 d65c8cfc05b1: Verifying Checksum 10:40:45 d65c8cfc05b1: Download complete 10:40:45 699f458cf7ca: Verifying Checksum 10:40:45 699f458cf7ca: Download complete 10:40:46 8998bd30e6a1: Download complete 10:40:48 2437ff75d9bd: Download complete 10:40:50 8998bd30e6a1: Pull complete 10:40:50 04944245beec: Pull complete 10:40:51 699f458cf7ca: Pull complete 10:40:51 765212b225bb: Pull complete 10:40:52 f23df028b6ca: Pull complete 10:40:52 d65c8cfc05b1: Pull complete 10:41:07 2437ff75d9bd: Pull complete 10:41:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:41:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:08 prd-ubuntu20.04-docker-arm64-4c-16g-4873 does not seem to be running inside a container 10:41: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/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:41:10 $ docker top 7188f8a36f00be7cbf27379197d2dfe0f5a35be16608fd33db8235cfe1e42add -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:11 ---> job-cost.sh 10:41:11 lf-activate-venv: SKIPPING 10:41:11 INFO: No Stack... 10:41:11 INFO: Retrieving Pricing Info for: v3-standard-4 10:41:12 INFO: Archiving Costs [Pipeline] sh 10:41:12 + cut -d, -f6 10:41:12 + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock 10:41:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] 10:41:12 Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] did not exist. Created. 10:41:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:13 /w/workspace/device-sdk-c/2@tmp/durable-a5439edc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:41:13 + echo total: 0.10999999940395355 [Pipeline] stash 10:41:13 Warning: overwriting stash ‘stack-cost’ 10:41:14 Stashed 1 file(s) [Pipeline] } 10:41:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:14 $ docker stop --time=1 7188f8a36f00be7cbf27379197d2dfe0f5a35be16608fd33db8235cfe1e42add 10:41:15 $ docker rm -f --volumes 7188f8a36f00be7cbf27379197d2dfe0f5a35be16608fd33db8235cfe1e42add [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:41:16 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives ] 10:41:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 10:41:16 total 16 10:41:16 drwxr-xr-x 3 root root 4096 Feb 7 10:36 . 10:41:16 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 10:36 .. 10:41:16 drwxr-xr-x 2 root root 4096 Feb 7 10:36 cost 10:41:16 -rw-r--r-- 1 root root 84 Feb 7 10:36 cost.csv 10:41:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 10:41:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives 10:41:16 total 16 10:41:16 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 10:36 . 10:41:16 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 10:36 .. 10:41:16 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 10:36 cost 10:41:16 -rw-r--r-- 1 jenkins jenkins 84 Feb 7 10:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:41:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:41:17 ---> package-listing.sh 10:41:17 ++ facter osfamily 10:41:17 ++ tr '[:upper:]' '[:lower:]' 10:41:18 + OS_FAMILY=debian 10:41:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-440 10:41:18 + START_PACKAGES=/tmp/packages_start.txt 10:41:18 + END_PACKAGES=/tmp/packages_end.txt 10:41:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:41:18 + PACKAGES=/tmp/packages_start.txt 10:41:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' 10:41:18 + PACKAGES=/tmp/packages_end.txt 10:41:18 + case "${OS_FAMILY}" in 10:41:18 + grep '^ii' 10:41:18 + dpkg -l 10:41:18 + '[' -f /tmp/packages_start.txt ']' 10:41:18 + '[' -f /tmp/packages_end.txt ']' 10:41:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:41:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' 10:41:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ 10:41:18 + 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 10:41:18 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 10:41:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:19 prd-ubuntu20.04-docker-8c-8g-4872 does not seem to be running inside a container 10:41:19 $ 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 10:41:19 $ docker top be9450abc1b480cb0994e07d1f988a1bd7e0e0267327ac46b9ec70502d5b7e1d -eo pid,comm [Pipeline] { [Pipeline] sh 10:41:19 + touch /tmp/pre-build-complete [Pipeline] sh 10:41:19 + mkdir -p /var/log/sysstat [Pipeline] sh 10:41:20 + ls /var/log/sa-host 10:41:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:41:20 provisioning config files... 10:41:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config4855602600146866521tmp [Pipeline] { [Pipeline] echo 10:41:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:41:20 ---> create-netrc.sh [Pipeline] } 10:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:41:21 ---> python-tools-install.sh [Pipeline] echo 10:41:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:41:21 ---> sudo-logs.sh 10:41:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:41:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:41:21 ---> job-cost.sh 10:41:21 lf-activate-venv: SKIPPING 10:41:21 DEBUG: total: 0.2199999988079071 10:41:21 INFO: Retrieving Stack Cost... 10:41:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:23 INFO: Archiving Costs [Pipeline] echo 10:41:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:41:23 ---> logs-deploy.sh 10:41:23 lf-activate-venv: SKIPPING 10:41:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-440/2 10:41:23 INFO: archiving workspace using pattern(s): 10:41:24 Archives upload complete. 10:41:24 INFO: archiving logs to Nexus 10:41:25 ---> uname -a: 10:41:25 Linux prd-ubuntu20-04-docker-8c-8g-4872 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 10:41:25 10:41:25 10:41:25 ---> lscpu: 10:41:25 Architecture: x86_64 10:41:25 CPU op-mode(s): 32-bit, 64-bit 10:41:25 Byte Order: Little Endian 10:41:25 Address sizes: 40 bits physical, 48 bits virtual 10:41:25 CPU(s): 8 10:41:25 On-line CPU(s) list: 0-7 10:41:25 Thread(s) per core: 1 10:41:25 Core(s) per socket: 1 10:41:25 Socket(s): 8 10:41:25 NUMA node(s): 1 10:41:25 Vendor ID: AuthenticAMD 10:41:25 CPU family: 23 10:41:25 Model: 49 10:41:25 Model name: AMD EPYC-Rome Processor 10:41:25 Stepping: 0 10:41:25 CPU MHz: 2799.998 10:41:25 BogoMIPS: 5599.99 10:41:25 Virtualization: AMD-V 10:41:25 Hypervisor vendor: KVM 10:41:25 Virtualization type: full 10:41:25 L1d cache: 256 KiB 10:41:25 L1i cache: 256 KiB 10:41:25 L2 cache: 4 MiB 10:41:25 L3 cache: 128 MiB 10:41:25 NUMA node0 CPU(s): 0-7 10:41:25 Vulnerability Itlb multihit: Not affected 10:41:25 Vulnerability L1tf: Not affected 10:41:25 Vulnerability Mds: Not affected 10:41:25 Vulnerability Meltdown: Not affected 10:41:25 Vulnerability Mmio stale data: Not affected 10:41:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:41:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:41:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:41:25 Vulnerability Srbds: Not affected 10:41:25 Vulnerability Tsx async abort: Not affected 10:41:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:41:25 10:41:25 10:41:25 ---> nproc: 10:41:25 8 10:41:25 10:41:25 10:41:25 ---> df -h: 10:41:25 Filesystem Size Used Avail Use% Mounted on 10:41:25 overlay 155G 11G 145G 7% / 10:41:25 tmpfs 64M 0 64M 0% /dev 10:41:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:41:25 shm 64M 0 64M 0% /dev/shm 10:41:25 /dev/vda1 155G 11G 145G 7% /facter-os 10:41:25 10:41:25 10:41:25 ---> sar -b -r -n DEV: 10:41:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4872) 02/07/23 _x86_64_ (8 CPU) 10:41:25 10:41:25 10:34:40 LINUX RESTART (8 CPU) 10:41:25 10:41:25 10:35:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 10:41:25 10:36:01 326.00 39.08 286.92 0.00 4365.90 156761.90 0.00 10:41:25 10:37:01 155.63 0.28 155.35 0.00 12.53 20113.56 0.00 10:41:25 10:38:01 1.83 0.00 1.83 0.00 0.00 22.15 0.00 10:41:25 10:39:01 0.87 0.00 0.87 0.00 0.00 10.66 0.00 10:41:25 10:40:01 41.74 11.41 30.33 0.00 5174.87 5073.95 0.00 10:41:25 10:41:01 16.56 0.18 16.38 0.00 1.87 3738.62 0.00 10:41:25 Average: 89.78 8.41 81.37 0.00 1584.72 30602.05 0.00 10:41:25 10:41:25 10:35:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:41:25 10:36:01 29613840 31582980 742132 2.26 66700 2195220 1980800 5.84 1049004 1886780 5772 10:41:25 10:37:01 29106784 31588460 713604 2.17 89756 2654564 1762016 5.19 1059516 2330044 480 10:41:25 10:38:01 29106844 31588584 713208 2.17 89780 2654568 1762016 5.19 1059584 2330048 28 10:41:25 10:39:01 29116148 31597788 704088 2.14 89804 2654568 1762016 5.19 1050004 2330048 180 10:41:25 10:40:01 28562632 31578064 714512 2.17 108644 3150164 1778060 5.24 1222012 2680984 175960 10:41:25 10:41:01 28585704 31576624 713252 2.17 123380 3110088 1795064 5.29 1372952 2502340 44 10:41:25 Average: 29015325 31585417 716799 2.18 94677 2736529 1806662 5.32 1135512 2343374 30411 10:41:25 10:41:25 10:35:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:41:25 10:36:01 vetha56b3a2 0.61 0.73 0.06 0.49 0.00 0.00 0.00 0.00 10:41:25 10:36:01 lo 6.37 6.37 0.62 0.62 0.00 0.00 0.00 0.00 10:41:25 10:36:01 docker0 7.88 10.02 0.67 107.40 0.00 0.00 0.00 0.00 10:41:25 10:36:01 ens3 677.00 459.84 4287.82 134.42 0.00 0.00 0.00 0.00 10:41:25 10:37:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 10:41:25 10:37:01 docker0 9.03 14.10 0.60 120.89 0.00 0.00 0.00 0.00 10:41:25 10:37:01 ens3 149.17 103.92 2667.50 23.78 0.00 0.00 0.00 0.00 10:41:25 10:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:25 10:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:25 10:38:01 ens3 1.50 1.25 0.40 0.35 0.00 0.00 0.00 0.00 10:41:25 10:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 10:41:25 10:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:25 10:39:01 ens3 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 10:41:25 10:40:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 10:41:25 10:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:25 10:40:01 ens3 141.99 72.40 2752.15 5.12 0.00 0.00 0.00 0.00 10:41:25 10:41:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 10:41:25 10:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:41:25 10:41:01 ens3 9.21 4.97 11.70 0.50 0.00 0.00 0.00 0.00 10:41:25 Average: lo 1.44 1.44 0.14 0.14 0.00 0.00 0.00 0.00 10:41:25 Average: docker0 2.80 4.00 0.21 37.86 0.00 0.00 0.00 0.00 10:41:25 Average: ens3 161.74 106.11 1612.49 27.07 0.00 0.00 0.00 0.00 10:41:25 10:41:25 10:41:25 ---> sar -P ALL: 10:41:25 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4872) 02/07/23 _x86_64_ (8 CPU) 10:41:25 10:41:25 10:34:40 LINUX RESTART (8 CPU) 10:41:25 10:41:25 10:35:02 CPU %user %nice %system %iowait %steal %idle 10:41:25 10:36:01 all 10.93 0.00 3.65 1.64 0.07 83.71 10:41:25 10:36:01 0 7.24 0.00 3.80 4.64 0.07 84.26 10:41:25 10:36:01 1 10.13 0.00 2.75 0.29 0.07 86.76 10:41:25 10:36:01 2 9.16 0.00 3.81 0.14 0.05 86.84 10:41:25 10:36:01 3 14.48 0.00 4.03 0.94 0.09 80.46 10:41:25 10:36:01 4 13.85 0.00 3.73 1.10 0.07 81.26 10:41:25 10:36:01 5 11.88 0.00 3.44 1.02 0.07 83.58 10:41:25 10:36:01 6 9.30 0.00 3.75 1.70 0.05 85.20 10:41:25 10:36:01 7 11.42 0.00 3.89 3.29 0.09 81.32 10:41:25 10:37:01 all 4.71 0.00 2.35 0.47 0.04 92.43 10:41:25 10:37:01 0 4.63 0.00 2.17 1.10 0.05 92.04 10:41:25 10:37:01 1 5.58 0.00 2.06 0.05 0.02 92.29 10:41:25 10:37:01 2 4.52 0.00 2.49 1.78 0.05 91.17 10:41:25 10:37:01 3 4.02 0.00 2.25 0.20 0.03 93.49 10:41:25 10:37:01 4 5.52 0.00 2.32 0.34 0.03 91.80 10:41:25 10:37:01 5 4.14 0.00 2.60 0.05 0.03 93.18 10:41:25 10:37:01 6 4.88 0.00 2.73 0.12 0.03 92.24 10:41:25 10:37:01 7 4.39 0.00 2.17 0.12 0.07 93.25 10:41:25 10:38:01 all 0.03 0.00 0.01 0.01 0.01 99.95 10:41:25 10:38:01 0 0.02 0.00 0.02 0.03 0.00 99.93 10:41:25 10:38:01 1 0.02 0.00 0.00 0.00 0.00 99.98 10:41:25 10:38:01 2 0.02 0.00 0.00 0.00 0.00 99.98 10:41:25 10:38:01 3 0.03 0.00 0.00 0.00 0.00 99.97 10:41:25 10:38:01 4 0.00 0.00 0.00 0.00 0.00 100.00 10:41:25 10:38:01 5 0.03 0.00 0.03 0.00 0.03 99.90 10:41:25 10:38:01 6 0.05 0.00 0.03 0.02 0.02 99.88 10:41:25 10:38:01 7 0.05 0.00 0.00 0.00 0.00 99.95 10:41:25 10:39:01 all 0.03 0.00 0.03 0.00 0.01 99.92 10:41:25 10:39:01 0 0.05 0.00 0.02 0.02 0.02 99.90 10:41:25 10:39:01 1 0.00 0.00 0.03 0.00 0.02 99.95 10:41:25 10:39:01 2 0.03 0.00 0.05 0.00 0.02 99.90 10:41:25 10:39:01 3 0.05 0.00 0.03 0.00 0.02 99.90 10:41:25 10:39:01 4 0.02 0.00 0.02 0.00 0.00 99.97 10:41:25 10:39:01 5 0.03 0.00 0.05 0.00 0.02 99.90 10:41:25 10:39:01 6 0.05 0.00 0.03 0.02 0.00 99.90 10:41:25 10:39:01 7 0.03 0.00 0.03 0.00 0.02 99.92 10:41:25 10:40:01 all 1.58 0.00 1.00 0.77 0.02 96.64 10:41:25 10:40:01 0 0.50 0.00 0.80 3.86 0.02 94.82 10:41:25 10:40:01 1 2.10 0.00 1.29 1.05 0.02 95.54 10:41:25 10:40:01 2 1.45 0.00 0.50 0.12 0.00 97.94 10:41:25 10:40:01 3 2.34 0.00 0.90 0.12 0.02 96.63 10:41:25 10:40:01 4 1.74 0.00 2.02 0.13 0.02 96.10 10:41:25 10:40:01 5 2.04 0.00 0.70 0.28 0.03 96.94 10:41:25 10:40:01 6 1.10 0.00 1.08 0.30 0.02 97.50 10:41:25 10:40:01 7 1.37 0.00 0.67 0.27 0.02 97.67 10:41:25 10:41:01 all 1.11 0.00 0.59 0.30 0.02 97.99 10:41:25 10:41:01 0 0.78 0.00 0.37 1.28 0.02 97.55 10:41:25 10:41:01 1 0.53 0.00 0.38 0.02 0.03 99.03 10:41:25 10:41:01 2 2.53 0.00 0.30 0.05 0.02 97.11 10:41:25 10:41:01 3 1.25 0.00 0.90 0.02 0.00 97.83 10:41:25 10:41:01 4 0.55 0.00 0.37 0.02 0.02 99.05 10:41:25 10:41:01 5 1.72 0.00 0.42 0.35 0.02 97.50 10:41:25 10:41:01 6 0.52 0.00 1.68 0.07 0.02 97.72 10:41:25 10:41:01 7 0.95 0.00 0.28 0.58 0.02 98.16 10:41:25 Average: all 3.03 0.00 1.26 0.53 0.03 95.16 10:41:25 Average: 0 2.18 0.00 1.19 1.81 0.03 94.79 10:41:25 Average: 1 3.03 0.00 1.08 0.23 0.03 95.63 10:41:25 Average: 2 2.92 0.00 1.18 0.35 0.02 95.54 10:41:25 Average: 3 3.65 0.00 1.34 0.21 0.03 94.77 10:41:25 Average: 4 3.56 0.00 1.40 0.26 0.02 94.76 10:41:25 Average: 5 3.28 0.00 1.20 0.28 0.03 95.21 10:41:25 Average: 6 2.62 0.00 1.54 0.36 0.02 95.46 10:41:25 Average: 7 3.00 0.00 1.16 0.70 0.03 95.11 10:41:25 10:41:25 10:41:25