Pull request #442 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 bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 60c720530b7232d7be6f88f4d69bf42c6efbb654 rather than 70c057b114cbece4c2681df163c1a751cc056696 Obtained Jenkinsfile from 60c720530b7232d7be6f88f4d69bf42c6efbb654 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-ssh2139574187392179762.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-ssh7410174193827130747.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-442/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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10887471959672661258.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-ssh2664216051143725907.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-442/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-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16649736650450099319.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5345 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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-442 # 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 70c057b114cbece4c2681df163c1a751cc056696 Merge succeeded, producing 87ce6075efe4ada96669ae6f5c8d3cff206241df Checking out Revision 87ce6075efe4ada96669ae6f5c8d3cff206241df (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f 70c057b114cbece4c2681df163c1a751cc056696 # 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 87ce6075efe4ada96669ae6f5c8d3cff206241df # timeout=10 Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:51:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:51:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:51:39 ========================================================= 18:51:39 EdgeX Global Pipelines Version Info 18:51:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1f9c425ee13e881123afba9fd27e9e2fdb8473ae # timeout=10 18:51:40 ------------------- 18:51:40 stable info: 18:51:40 ------------------- 18:51:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:51:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:51:40 Message: update stable to v1.0.244 18:51:41 ------------------- 18:51:41 experimental info: 18:51:41 ------------------- 18:51:41 Commited By: **** collab-it+edgex@linuxfoundation.org 18:51:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:51:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87ce6075efe4ada96669ae6f5c8d3cff206241df [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87ce607 [Pipeline] echo 18:51:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:41 provisioning config files... 18:51:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config18189741834394650201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:42 ---> docker-login.sh 18:51:42 nexus3.edgexfoundry.org:10001 18:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:42 Configure a credential helper to remove this warning. See 18:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:42 18:51:42 Login Succeeded 18:51:42 nexus3.edgexfoundry.org:10002 18:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:42 Configure a credential helper to remove this warning. See 18:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:42 18:51:42 Login Succeeded 18:51:42 nexus3.edgexfoundry.org:10003 18:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:42 Configure a credential helper to remove this warning. See 18:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:42 18:51:42 Login Succeeded 18:51:42 nexus3.edgexfoundry.org:10004 18:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:42 Configure a credential helper to remove this warning. See 18:51:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:42 18:51:42 Login Succeeded 18:51:42 docker.io 18:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:43 Configure a credential helper to remove this warning. See 18:51:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:43 18:51:43 Login Succeeded 18:51:43 ---> docker-login.sh ends [Pipeline] } 18:51:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:51:44 + git rev-list -1 --merges 87ce6075efe4ada96669ae6f5c8d3cff206241df~1..87ce6075efe4ada96669ae6f5c8d3cff206241df [Pipeline] echo 18:51:44 -----------> git rev-list -1 --merges 87ce6075efe4ada96669ae6f5c8d3cff206241df~1..87ce6075efe4ada96669ae6f5c8d3cff206241df 87ce6075efe4ada96669ae6f5c8d3cff206241df 18:51:44 87ce6075efe4ada96669ae6f5c8d3cff206241df [false] [Pipeline] sh 18:51:44 + git log --format=format:%s -1 87ce6075efe4ada96669ae6f5c8d3cff206241df [Pipeline] echo 18:51:44 ========================================================= 18:51:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:51:44 ========================================================= 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 18:51:44 + git rev-list -1 --merges 87ce6075efe4ada96669ae6f5c8d3cff206241df~1..87ce6075efe4ada96669ae6f5c8d3cff206241df [Pipeline] echo 18:51:44 -----------> git rev-list -1 --merges 87ce6075efe4ada96669ae6f5c8d3cff206241df~1..87ce6075efe4ada96669ae6f5c8d3cff206241df 87ce6075efe4ada96669ae6f5c8d3cff206241df 18:51:44 87ce6075efe4ada96669ae6f5c8d3cff206241df [false] [Pipeline] sh 18:51:45 + git log --format=format:%s -1 87ce6075efe4ada96669ae6f5c8d3cff206241df [Pipeline] echo 18:51:45 ========================================================= 18:51:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:51:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:51:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:51:45 + grep -v github /etc/ssh/ssh_known_hosts 18:51:45 + [ -e /tmp/ssh_known_hosts ] 18:51:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:51:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:51:45 + sudo tee -a /etc/ssh/ssh_known_hosts 18:51:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:46 18:51:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:46 0.1.4: Pulling from edgex-devops/py-git-semver 18:51:46 b85a868b505f: Pulling fs layer 18:51:46 e2be974225ed: Pulling fs layer 18:51:46 339a4e72a1f5: Pulling fs layer 18:51:46 988bab9f4d93: Pulling fs layer 18:51:46 1469e6f7b9e6: Pulling fs layer 18:51:46 eaf3925da568: Pulling fs layer 18:51:46 bab4dde63d76: Pulling fs layer 18:51:46 bde34c3a00c8: Pulling fs layer 18:51:46 b352a97aabf1: Pulling fs layer 18:51:46 4872d77fe225: Pulling fs layer 18:51:46 5851b861e8e6: Pulling fs layer 18:51:46 988bab9f4d93: Waiting 18:51:46 1469e6f7b9e6: Waiting 18:51:46 eaf3925da568: Waiting 18:51:46 bab4dde63d76: Waiting 18:51:46 bde34c3a00c8: Waiting 18:51:46 b352a97aabf1: Waiting 18:51:46 4872d77fe225: Waiting 18:51:46 5851b861e8e6: Waiting 18:51:46 e2be974225ed: Download complete 18:51:46 988bab9f4d93: Verifying Checksum 18:51:46 988bab9f4d93: Download complete 18:51:46 1469e6f7b9e6: Verifying Checksum 18:51:46 1469e6f7b9e6: Download complete 18:51:46 eaf3925da568: Verifying Checksum 18:51:46 eaf3925da568: Download complete 18:51:46 339a4e72a1f5: Verifying Checksum 18:51:46 339a4e72a1f5: Download complete 18:51:46 bde34c3a00c8: Verifying Checksum 18:51:46 bde34c3a00c8: Download complete 18:51:46 b352a97aabf1: Download complete 18:51:46 b85a868b505f: Verifying Checksum 18:51:46 b85a868b505f: Download complete 18:51:46 4872d77fe225: Download complete 18:51:46 5851b861e8e6: Verifying Checksum 18:51:46 5851b861e8e6: Download complete 18:51:47 bab4dde63d76: Verifying Checksum 18:51:47 bab4dde63d76: Download complete 18:51:48 b85a868b505f: Pull complete 18:51:48 e2be974225ed: Pull complete 18:51:48 339a4e72a1f5: Pull complete 18:51:48 988bab9f4d93: Pull complete 18:51:49 1469e6f7b9e6: Pull complete 18:51:49 eaf3925da568: Pull complete 18:51:51 bab4dde63d76: Pull complete 18:51:51 bde34c3a00c8: Pull complete 18:51:51 b352a97aabf1: Pull complete 18:51:51 4872d77fe225: Pull complete 18:51:51 5851b861e8e6: Pull complete 18:51:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:51 prd-ubuntu20.04-docker-8c-8g-5345 does not seem to be running inside a container 18:51:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:51:53 $ docker top a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 -eo pid,comm 18:51:53 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). 18:51:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:53 [ssh-agent] Looking for ssh-agent implementation... 18:51:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:53 $ docker exec a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 ssh-agent 18:51:54 SSH_AUTH_SOCK=/tmp/ssh-VSJdwYvUXOTW/agent.32 18:51:54 SSH_AGENT_PID=38 18:51:54 Running ssh-add (command line suppressed) 18:51:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_11126722184038104099.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_11126722184038104099.key) 18:51:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:54 + git tag --points-at HEAD [Pipeline] } 18:51:54 $ docker exec --env ******** --env ******** a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 ssh-agent -k 18:51:54 unset SSH_AUTH_SOCK; 18:51:54 unset SSH_AGENT_PID; 18:51:54 echo Agent pid 38 killed; 18:51:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:51:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:54 [ssh-agent] Looking for ssh-agent implementation... 18:51:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:54 $ docker exec a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 ssh-agent 18:51:54 SSH_AUTH_SOCK=/tmp/ssh-TKIK6oPUZXwo/agent.69 18:51:54 SSH_AGENT_PID=75 18:51:54 Running ssh-add (command line suppressed) 18:51:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_13042991987161184536.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_13042991987161184536.key) 18:51:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:55 + git semver init 18:51:55 2023-02-10 18:51:55,451 [run_init] DEBUG init version:0.0.0 force:False 18:51:55 2023-02-10 18:51:55,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 18:51:55 2023-02-10 18:51:55,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver 18:51:55 2023-02-10 18:51:55,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) 18:52:00 2023-02-10 18:52:00,262 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude 18:52:00 2023-02-10 18:52:00,263 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False 18:52:00 2023-02-10 18:52:00,263 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 18:52:00 2023-02-10 18:52:00,269 [execute] INFO git cat-file --batch-check 18:52:00 2023-02-10 18:52:00,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 18:52:00 2023-02-10 18:52:00,277 [execute] INFO git cat-file --batch 18:52:00 2023-02-10 18:52:00,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) 18:52:00 2023-02-10 18:52:00,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 18:52:00 0.0.0 [Pipeline] } 18:52:00 $ docker exec --env ******** --env ******** a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 ssh-agent -k 18:52:00 unset SSH_AUTH_SOCK; 18:52:00 unset SSH_AGENT_PID; 18:52:00 echo Agent pid 75 killed; 18:52:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:01 + git semver [Pipeline] } 18:52:01 $ docker stop --time=1 a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 18:52:02 $ docker rm -f --volumes a591034c9cdfe3a43597926f14f776307049af9c337a499dd47033945d6a9487 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:03 Stashed 1 file(s) [Pipeline] echo 18:52:03 [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) 18:52:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5339 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws 18:52:03 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { 18:52:03 Selected Git installation does not exist. Using Default 18:52:03 The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:03 provisioning config files... 18:52:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config12253416888821800596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:03 ---> docker-login.sh 18:52:03 nexus3.edgexfoundry.org:10001 18:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:03 Configure a credential helper to remove this warning. See 18:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:03 18:52:03 Login Succeeded 18:52:03 nexus3.edgexfoundry.org:10002 18:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:03 Configure a credential helper to remove this warning. See 18:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:03 18:52:03 Login Succeeded 18:52:04 nexus3.edgexfoundry.org:10003 18:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:04 Configure a credential helper to remove this warning. See 18:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:04 18:52:04 Login Succeeded 18:52:04 nexus3.edgexfoundry.org:10004 18:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:04 Configure a credential helper to remove this warning. See 18:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:04 18:52:04 Login Succeeded 18:52:04 docker.io 18:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:05 Configure a credential helper to remove this warning. See 18:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:05 18:52:05 Login Succeeded 18:52:05 ---> docker-login.sh ends [Pipeline] } 18:52:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:05 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:52:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:05 ========================================================= 18:52:05 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:52:05 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:05 + 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 . 18:52:05 Sending build context to Docker daemon 4.86MB 18:52:05 Step 1/21 : ARG BASE=alpine:3.16 18:52:05 Step 2/21 : FROM ${BASE} as builder 18:52:05 latest: Pulling from edgex-devops/edgex-gcc-base 18:52:05 213ec9aee27d: Pulling fs layer 18:52:05 0f09ad1b1b37: Pulling fs layer 18:52:05 213ec9aee27d: Verifying Checksum 18:52:05 213ec9aee27d: Download complete 18:52:05 213ec9aee27d: Pull complete 18:52:06 0f09ad1b1b37: Verifying Checksum 18:52:06 0f09ad1b1b37: Download complete 18:52:07 using credential edgex-jenkins-ssh 18:52:08 Cloning the remote Git repository 18:52:07 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 18:52:08 > git init /w/workspace/device-sdk-c/3 # timeout=10 18:52:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:52:08 > git --version # timeout=10 18:52:08 > git --version # 'git version 2.25.1' 18:52:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:09 0f09ad1b1b37: Pull complete 18:52:09 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 18:52:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:52:09 ---> b2bbfebb3566 18:52:09 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 18:52:10 ---> Running in 92ef5ab08dff 18:52:10 Connecting to iotech.jfrog.io (52.17.124.35:443) 18:52:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:52:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 18:52:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 18:52:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:52:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:52:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:52:11 Removing intermediate container 92ef5ab08dff 18:52:11 ---> 3c5bfa7f7be1 18:52:11 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:52:11 ---> Running in cf1861dc8660 18:52:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:52:12 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 70c057b114cbece4c2681df163c1a751cc056696 18:52:12 Removing intermediate container cf1861dc8660 18:52:12 ---> 25e8b7b9996c 18:52:12 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 18:52:12 ---> Running in 63955a4e494c 18:52:12 Merge succeeded, producing 5d272dbbf682475fed725fa83ce983946a8db6c5 18:52:12 Checking out Revision 5d272dbbf682475fed725fa83ce983946a8db6c5 (PR-442) 18:52:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:12 > git config core.sparsecheckout # timeout=10 18:52:12 > git checkout -f 70c057b114cbece4c2681df163c1a751cc056696 # timeout=10 18:52:12 > git remote # timeout=10 18:52:12 > git config --get remote.origin.url # timeout=10 18:52:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:12 > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 18:52:12 > git rev-parse HEAD^{commit} # timeout=10 18:52:12 > git config core.sparsecheckout # timeout=10 18:52:12 > git checkout -f 5d272dbbf682475fed725fa83ce983946a8db6c5 # timeout=10 18:52:16 Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" 18:52:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 18:52:16 > git rev-list --no-walk 1f9c425ee13e881123afba9fd27e9e2fdb8473ae # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:52:17 (1/14) Installing hiredis (1.0.2-r0) 18:52:17 (2/14) Installing hiredis-dev (1.0.2-r0) 18:52:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:52:17 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:17 Dload Upload Total Spent Left Speed 18:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78709 18:52:17 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [Pipeline] sh 18:52:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:52:18 + sudo tee /etc/docker/daemon.new 18:52:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:52:18 { 18:52:18 "registry-mirrors": [ 18:52:18 "https://nexus3.edgexfoundry.org:10001" 18:52:18 ], 18:52:18 "bip": "10.250.0.254/24", 18:52:18 "hosts": [ 18:52:18 "tcp://0.0.0.0:5555", 18:52:18 "unix:///var/run/docker.sock" 18:52:18 ], 18:52:18 "mtu": 1458, 18:52:18 "selinux-enabled": true, 18:52:18 "seccomp-profile": "/etc/docker/seccomp.json" 18:52:18 } [Pipeline] sh 18:52:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:52:18 + sudo service docker restart 18:52:19 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 18:52:19 (5/14) Installing libcbor (0.9.0-r1) 18:52:19 (6/14) Installing libcbor-dev (0.9.0-r1) 18:52:19 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 18:52:20 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:52:26 (9/14) Installing libblkid (2.38-r1) 18:52:27 (10/14) Installing libuuid (2.38-r1) 18:52:27 (11/14) Installing libfdisk (2.38-r1) 18:52:28 (12/14) Installing libmount (2.38-r1) 18:52:28 (13/14) Installing libsmartcols (2.38-r1) 18:52:28 (14/14) Installing util-linux-dev (2.38-r1) 18:52:31 Executing busybox-1.35.0-r17.trigger 18:52:31 OK: 280 MiB in 90 packages 18:52:31 Removing intermediate container 63955a4e494c 18:52:31 ---> ebf053d9018b 18:52:31 Step 6/21 : RUN mkdir /tmp/sdk 18:52:31 ---> Running in 25a3977369fc 18:52:32 Removing intermediate container 25a3977369fc 18:52:32 ---> 318a247ad285 18:52:32 Step 7/21 : COPY VERSION /tmp/sdk 18:52:32 ---> 01a9e37f6aa2 18:52:32 Step 8/21 : COPY src /tmp/sdk/src 18:52:32 ---> 6c9e7bb84876 18:52:32 Step 9/21 : COPY include /tmp/sdk/include 18:52:32 ---> 9f0cc2ae0182 18:52:32 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:52:32 ---> 3dcbfc8383b4 18:52:32 Step 11/21 : COPY LICENSE /tmp/sdk 18:52:32 ---> d8d49fd163a2 18:52:32 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:52:33 ---> e65e461f20c2 18:52:33 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:52:33 ---> Running in 412f5fab5757 18:52:33 + CPPCHECK=false 18:52:33 + DOCGEN=false 18:52:33 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:52:33 + TOMLVER=SDK-0.2 18:52:33 + CUTILVER=1.4 18:52:33 + '[' 0 -gt 0 ] 18:52:33 + readlink -f ./scripts/build.sh 18:52:33 + dirname /tmp/sdk/scripts/build.sh 18:52:33 + dirname /tmp/sdk/scripts 18:52:33 + ROOT=/tmp/sdk 18:52:33 + cd /tmp/sdk 18:52:33 + '[' '!' -d deps ] 18:52:33 + mkdir deps 18:52:33 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:52:33 + tar -C deps -z -x -f - 18:52:33 Connecting to github.com (140.82.113.4:443) 18:52:33 Connecting to codeload.github.com (140.82.114.9:443) 18:52:34 writing to stdout 18:52:34 - 100% |********************************| 16451 0:00:00 ETA 18:52:34 written to stdout 18:52:34 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:52:34 + mkdir -p /tmp/sdk/build/release 18:52:34 + cd /tmp/sdk/build/release 18:52:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:52:34 -- The C compiler identification is GNU 11.2.1 18:52:34 -- Detecting C compiler ABI info 18:52:34 -- Detecting C compiler ABI info - done 18:52:34 -- Check for working C compiler: /usr/bin/cc - skipped 18:52:34 -- Detecting C compile features 18:52:34 -- Detecting C compile features - done 18:52:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:52:34 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:52:34 -- Found LIBYAML: /usr/lib/libyaml.so 18:52:34 -- Found LIBUUID: /usr/lib/libuuid.so 18:52:34 -- Found LIBCBOR: /usr/lib/libcbor.so 18:52:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:52:34 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:52:34 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 18:52:34 -- /opt/iotech/iot/1.4/include 18:52:34 -- C SDK 0.0.0 for Linux 18:52:34 -- Performing Test CSDK_HAVE_ATOMIC 18:52:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:52:34 -- Found Curses: /usr/lib/libcurses.so 18:52:34 -- Configuring done 18:52:34 -- Generating done 18:52:34 -- Build files have been written to: /tmp/sdk/build/release 18:52:34 + make all package 18:52:34 + tee release.log 18:52:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:52:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:52:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:52:35 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:52:35 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:52:36 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 18:52:36 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 18:52:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 18:52:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:52:36 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:52:36 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:36 provisioning config files... 18:52:37 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config14847811637899367006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:52:37 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:52:37 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:52:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:52:37 ---> docker-login.sh 18:52:37 nexus3.edgexfoundry.org:10001 18:52:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:37 Configure a credential helper to remove this warning. See 18:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:37 18:52:37 Login Succeeded 18:52:37 nexus3.edgexfoundry.org:10002 18:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:38 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:52:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:38 Configure a credential helper to remove this warning. See 18:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:38 18:52:38 Login Succeeded 18:52:38 nexus3.edgexfoundry.org:10003 18:52:38 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:52:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:38 Configure a credential helper to remove this warning. See 18:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:38 18:52:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:52:39 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:52:39 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:52:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:52:39 Login Succeeded 18:52:39 nexus3.edgexfoundry.org:10004 18:52:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:52:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 docker.io 18:52:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:52:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:52:40 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:52:40 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:52:40 [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:41 Configure a credential helper to remove this warning. See 18:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:41 18:52:41 Login Succeeded 18:52:41 ---> docker-login.sh ends [Pipeline] } 18:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 18:52:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:41 ========================================================= 18:52:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 18:52:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:41 [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:52:41 + 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 . 18:52:41 Sending build context to Docker daemon 2.99MB 18:52:41 Step 1/21 : ARG BASE=alpine:3.16 18:52:41 Step 2/21 : FROM ${BASE} as builder 18:52:42 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:52:42 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 18:52:42 9b18e9b68314: Pulling fs layer 18:52:42 1def92ead452: Pulling fs layer 18:52:42 9b18e9b68314: Verifying Checksum 18:52:42 9b18e9b68314: Download complete 18:52:42 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:52:42 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:52:42 [ 69%] Linking C shared library libcsdk.so 18:52:42 [ 69%] Built target csdk 18:52:42 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:52:42 [ 73%] Linking C executable template 18:52:42 9b18e9b68314: Pull complete 18:52:42 [ 73%] Built target template 18:52:42 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:52:42 [ 76%] Linking C executable device-counter 18:52:42 [ 76%] Built target device-counter 18:52:43 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:52:43 [ 80%] Linking C executable device-random 18:52:43 [ 80%] Built target device-random 18:52:43 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:52:43 [ 84%] Linking C executable device-gyro 18:52:43 [ 84%] Built target device-gyro 18:52:43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:52:43 [ 88%] Linking C executable device-bitfields 18:52:43 [ 88%] Built target device-bitfields 18:52:43 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:52:43 [ 92%] Linking C executable template-discovery 18:52:43 [ 92%] Built target template-discovery 18:52:43 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:52:43 [ 96%] Linking C executable device-file 18:52:43 [ 96%] Built target device-file 18:52:44 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:52:44 [100%] Linking C executable device-terminal 18:52:44 [100%] Built target device-terminal 18:52:44 Run CPack packaging tool... 18:52:44 CPack: Create package using TGZ 18:52:44 CPack: Install projects 18:52:44 CPack: - Run preinstall target for: Csdk 18:52:44 CPack: - Install project: Csdk [] 18:52:44 CPack: Create package 18:52:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:52:44 + '[' false '=' true ] 18:52:44 + '[' false '=' true ] 18:52:44 + mkdir -p /tmp/sdk/build/debug 18:52:44 + cd /tmp/sdk/build/debug 18:52:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:52:44 -- The C compiler identification is GNU 11.2.1 18:52:44 -- Detecting C compiler ABI info 18:52:44 -- Detecting C compiler ABI info - done 18:52:44 -- Check for working C compiler: /usr/bin/cc - skipped 18:52:44 -- Detecting C compile features 18:52:44 -- Detecting C compile features - done 18:52:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:52:44 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:52:44 -- Found LIBYAML: /usr/lib/libyaml.so 18:52:44 -- Found LIBUUID: /usr/lib/libuuid.so 18:52:44 -- Found LIBCBOR: /usr/lib/libcbor.so 18:52:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:52:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:52:44 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 18:52:44 -- /opt/iotech/iot/1.4/include 18:52:44 -- C SDK 0.0.0 for Linux 18:52:44 -- Performing Test CSDK_HAVE_ATOMIC 18:52:44 1def92ead452: Verifying Checksum 18:52:44 1def92ead452: Download complete 18:52:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:52:44 -- Found Curses: /usr/lib/libcurses.so 18:52:44 -- Configuring done 18:52:44 -- Generating done 18:52:44 -- Build files have been written to: /tmp/sdk/build/debug 18:52:44 + make 18:52:44 + tee debug.log 18:52:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:52:45 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:52:45 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:52:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:52:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:52:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 18:52:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 18:52:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 18:52:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:52:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:52:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:52:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:52:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:52:46 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:52:46 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:52:46 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:52:46 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:52:46 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:52:46 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:52:46 [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:52:46 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:52:46 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:52:46 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:52:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:52:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:52:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:52:47 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:52:47 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:52:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:52:47 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:52:47 [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:52:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:52:48 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:52:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:52:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:52:48 [ 69%] Linking C shared library libcsdk.so 18:52:48 [ 69%] Built target csdk 18:52:48 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:52:48 [ 73%] Linking C executable template 18:52:48 [ 73%] Built target template 18:52:48 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:52:48 [ 76%] Linking C executable device-counter 18:52:48 [ 76%] Built target device-counter 18:52:48 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:52:48 [ 80%] Linking C executable device-random 18:52:49 [ 80%] Built target device-random 18:52:49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:52:49 [ 84%] Linking C executable device-gyro 18:52:49 [ 84%] Built target device-gyro 18:52:49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:52:49 [ 88%] Linking C executable device-bitfields 18:52:49 [ 88%] Built target device-bitfields 18:52:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:52:49 [ 92%] Linking C executable template-discovery 18:52:49 [ 92%] Built target template-discovery 18:52:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:52:49 [ 96%] Linking C executable device-file 18:52:49 [ 96%] Built target device-file 18:52:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:52:49 [100%] Linking C executable device-terminal 18:52:49 [100%] Built target device-terminal 18:52:49 make: Entering directory '/tmp/sdk/build/release' 18:52:49 make[1]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 69%] Built target csdk 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 73%] Built target template 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 76%] Built target device-counter 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 80%] Built target device-random 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 84%] Built target device-gyro 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 88%] Built target device-bitfields 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 92%] Built target template-discovery 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [ 96%] Built target device-file 18:52:49 make[2]: Entering directory '/tmp/sdk/build/release' 18:52:49 make[2]: Leaving directory '/tmp/sdk/build/release' 18:52:49 [100%] Built target device-terminal 18:52:49 make[1]: Leaving directory '/tmp/sdk/build/release' 18:52:49 Install the project... 18:52:49 -- Install configuration: "Release" 18:52:49 -- Installing: /usr/local/lib/libcsdk.so 18:52:49 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:52:49 -- Installing: /usr/local/include 18:52:49 -- Installing: /usr/local/include/devsdk 18:52:49 -- Installing: /usr/local/include/devsdk/devsdk.h 18:52:49 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:52:49 -- Installing: /usr/local/include/edgex 18:52:49 -- Installing: /usr/local/include/edgex/edgex.h 18:52:49 -- Installing: /usr/local/include/edgex/devices.h 18:52:49 -- Installing: /usr/local/include/edgex/profiles.h 18:52:49 -- Installing: /usr/local/include/edgex/edgex-base.h 18:52:49 -- Installing: /usr/local/include/edgex/rest-server.h 18:52:49 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:52:49 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:52:49 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:52:49 make: Leaving directory '/tmp/sdk/build/release' 18:52:50 Removing intermediate container 412f5fab5757 18:52:50 ---> fd79e1c7df64 18:52:50 Step 14/21 : FROM ${BASE} 18:52:50 ---> b2bbfebb3566 18:52:50 Step 15/21 : LABEL maintainer="IOTech " 18:52:50 ---> Running in 382289de5cfa 18:52:50 Removing intermediate container 382289de5cfa 18:52:50 ---> e616cbf24040 18:52:50 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 18:52:50 ---> Running in 678132393cde 18:52:51 Connecting to iotech.jfrog.io (52.210.99.226:443) 18:52:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:52:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:52:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:52:52 Removing intermediate container 678132393cde 18:52:52 ---> 6221d5a1a511 18:52:52 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:52:52 ---> Running in 74afd09441db 18:52:52 1def92ead452: Pull complete 18:52:52 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 18:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 18:52:53 Removing intermediate container 74afd09441db 18:52:53 ---> bdb25e655d6a 18:52:53 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 18:52:53 ---> Running in 36319b57f8d7 18:52:53 ---> 9a9802766715 18:52:53 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 18:52:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:53 ---> Running in d69d4401864c 18:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:54 Connecting to iotech.jfrog.io (52.49.66.18:443) 18:52:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:52:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:52:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:52:56 Removing intermediate container d69d4401864c 18:52:56 ---> 0749b470277e 18:52:56 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:52:56 ---> Running in 109094350f0b 18:52:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:52:57 (1/7) Installing curl (7.83.1-r5) 18:52:57 Removing intermediate container 109094350f0b 18:52:57 ---> d43a2c574425 18:52:57 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 18:52:57 ---> Running in 4be98006c0fa 18:52:57 (2/7) Installing hiredis (1.0.2-r0) 18:52:57 (3/7) Installing hiredis-dev (1.0.2-r0) 18:52:58 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 18:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:58 (5/7) Installing libcbor (0.9.0-r1) 18:52:59 (6/7) Installing libuuid (2.38-r1) 18:52:59 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:53:01 Executing busybox-1.35.0-r17.trigger 18:53:01 OK: 275 MiB in 83 packages 18:53:01 Removing intermediate container 36319b57f8d7 18:53:01 ---> 9fda4342fcd0 18:53:01 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:53:01 ---> abf2bbba2d1f 18:53:01 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:53:01 ---> 3d9bb48511df 18:53:01 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:53:01 ---> 3e08c8e4d2ea 18:53:01 Successfully built 3e08c8e4d2ea 18:53:01 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 18:53:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 18:53:02 + docker inspect -f . ci-base-image-x86_64 18:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:02 prd-ubuntu20.04-docker-8c-8g-5345 does not seem to be running inside a container 18:53:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** ci-base-image-x86_64 cat 18:53:02 $ docker top 61ed7a1aacd3735569aaab0d50e075e716433bd09ba1382e9f64047b9c1923b8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:53:03 (1/14) Installing hiredis (1.0.2-r0) 18:53:03 + make test 18:53:03 echo "make test" 18:53:03 make test [Pipeline] } 18:53:03 $ docker stop --time=1 61ed7a1aacd3735569aaab0d50e075e716433bd09ba1382e9f64047b9c1923b8 18:53:03 (2/14) Installing hiredis-dev (1.0.2-r0) 18:53:03 (3/14) Installing iotech-iot-1.4 (1.4.0-r0) 18:53:04 (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) 18:53:04 $ docker rm -f --volumes 61ed7a1aacd3735569aaab0d50e075e716433bd09ba1382e9f64047b9c1923b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 18:53:04 (5/14) Installing libcbor (0.9.0-r1) 18:53:04 (6/14) Installing libcbor-dev (0.9.0-r1) [Pipeline] sh 18:53:04 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 18:53:04 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:53:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:05 + ls -al . 18:53:05 total 204 18:53:05 drwxrwxr-x 9 jenkins jenkins 4096 Feb 10 18:51 . 18:53:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:51 .. 18:53:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 18:52 .git 18:53:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:51 .github 18:53:05 -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 18:51 .gitignore 18:53:05 drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 18:52 .semver 18:53:05 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 18:51 Attribution.txt 18:53:05 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 10 18:51 CHANGES 18:53:05 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 18:51 Doxyfile 18:53:05 -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 18:51 GOVERNANCE.md 18:53:05 -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 18:51 Jenkinsfile 18:53:05 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 18:51 LICENSE 18:53:05 -rw-rw-r-- 1 jenkins jenkins 444 Feb 10 18:51 Makefile 18:53:05 -rw-rw-r-- 1 jenkins jenkins 618 Feb 10 18:51 OWNERS.md 18:53:05 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 10 18:51 README.md 18:53:05 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 10 18:51 README.v3.md 18:53:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 18:52 VERSION 18:53:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:51 docs 18:53:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:51 include 18:53:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:51 scripts 18:53:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:05 + 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=87ce6075efe4ada96669ae6f5c8d3cff206241df --label arch=amd64 --label version=0.0.0 . 18:53:05 Sending build context to Docker daemon 4.86MB 18:53:05 Step 1/17 : ARG BASE=alpine:3.16 18:53:05 Step 2/17 : FROM ${BASE} 18:53:05 ---> 3e08c8e4d2ea 18:53:05 Step 3/17 : LABEL maintainer="IOTech " 18:53:05 ---> Running in 1acb7ca5303f 18:53:05 Removing intermediate container 1acb7ca5303f 18:53:05 ---> f9726c4e1ecc 18:53:05 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 18:53:05 ---> Running in 87b84296d04b 18:53:06 Connecting to iotech.jfrog.io (52.210.99.226:443) 18:53:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:53:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:53:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:53:06 (9/14) Installing libblkid (2.38-r1) 18:53:06 Removing intermediate container 87b84296d04b 18:53:06 ---> 22ff49a93fda 18:53:06 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:53:06 ---> Running in 5ec465f2900f 18:53:06 (10/14) Installing libuuid (2.38-r1) 18:53:06 (11/14) Installing libfdisk (2.38-r1) 18:53:07 (12/14) Installing libmount (2.38-r1) 18:53:07 (13/14) Installing libsmartcols (2.38-r1) 18:53:07 (14/14) Installing util-linux-dev (2.38-r1) 18:53:07 Removing intermediate container 5ec465f2900f 18:53:07 ---> 8bb54fb8609d 18:53:07 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 18:53:07 ---> Running in e104aed2ddb6 18:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:53:08 Executing busybox-1.35.0-r17.trigger 18:53:08 OK: 286 MiB in 90 packages 18:53:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:53:09 Removing intermediate container 4be98006c0fa 18:53:09 ---> c1b4f20031dd 18:53:09 Step 6/21 : RUN mkdir /tmp/sdk 18:53:09 ---> Running in 73c178983b49 18:53:10 Removing intermediate container 73c178983b49 18:53:10 ---> d625007689bd 18:53:10 Step 7/21 : COPY VERSION /tmp/sdk 18:53:11 ---> 4d61a1b793c9 18:53:11 Step 8/21 : COPY src /tmp/sdk/src 18:53:12 ---> c0d48364ecfd 18:53:12 Step 9/21 : COPY include /tmp/sdk/include 18:53:12 ---> 93cae215cc0a 18:53:12 Step 10/21 : COPY scripts /tmp/sdk/scripts 18:53:12 ---> 23e0ca703dd4 18:53:12 Step 11/21 : COPY LICENSE /tmp/sdk 18:53:13 ---> 2a9106c2e93e 18:53:13 Step 12/21 : COPY Attribution.txt /tmp/sdk 18:53:13 ---> 1dd9fc2b7319 18:53:13 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:53:13 ---> Running in 2d007c3e71f3 18:53:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 18:53:14 + CPPCHECK=false 18:53:14 + DOCGEN=false 18:53:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:53:14 + TOMLVER=SDK-0.2 18:53:14 + CUTILVER=1.4 18:53:14 + '[' 0 -gt 0 ] 18:53:14 + readlink -f ./scripts/build.sh 18:53:14 + dirname /tmp/sdk/scripts/build.sh 18:53:14 + dirname /tmp/sdk/scripts 18:53:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:53:14 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 18:53:14 + ROOT=/tmp/sdk 18:53:14 + cd /tmp/sdk 18:53:14 + '[' '!' -d deps ] 18:53:14 + mkdir deps 18:53:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 18:53:14 + tar -C deps -z -x -f - 18:53:14 Connecting to github.com (140.82.113.4:443) 18:53:14 (2/8) Installing libcbor-dev (0.9.0-r1) 18:53:14 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 18:53:14 (4/8) Installing libblkid (2.38-r1) 18:53:15 Connecting to codeload.github.com (140.82.114.9:443) 18:53:15 writing to stdout 18:53:15 - 100% |********************************| 16451 0:00:00 ETA 18:53:15 written to stdout 18:53:15 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 18:53:15 + mkdir -p /tmp/sdk/build/release 18:53:15 + cd /tmp/sdk/build/release 18:53:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:53:15 (5/8) Installing libfdisk (2.38-r1) 18:53:15 -- The C compiler identification is GNU 11.2.1 18:53:15 -- Detecting C compiler ABI info 18:53:15 (6/8) Installing libmount (2.38-r1) 18:53:16 -- Detecting C compiler ABI info - done 18:53:16 -- Check for working C compiler: /usr/bin/cc - skipped 18:53:16 -- Detecting C compile features 18:53:16 -- Detecting C compile features - done 18:53:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:53:16 (7/8) Installing libsmartcols (2.38-r1) 18:53:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:53:16 -- Found LIBYAML: /usr/lib/libyaml.so 18:53:16 -- Found LIBUUID: /usr/lib/libuuid.so 18:53:16 -- Found LIBCBOR: /usr/lib/libcbor.so 18:53:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:53:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:53:16 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 18:53:16 -- /opt/iotech/iot/1.4/include 18:53:16 -- C SDK 0.0.0 for Linux 18:53:16 -- Performing Test CSDK_HAVE_ATOMIC 18:53:16 (8/8) Installing util-linux-dev (2.38-r1) 18:53:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:53:17 -- Found Curses: /usr/lib/libcurses.so 18:53:17 -- Configuring done 18:53:17 -- Generating done 18:53:17 -- Build files have been written to: /tmp/sdk/build/release 18:53:17 + make all package 18:53:17 + tee release.log 18:53:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:53:17 Executing busybox-1.35.0-r17.trigger 18:53:17 OK: 280 MiB in 91 packages 18:53:18 Removing intermediate container e104aed2ddb6 18:53:18 ---> 22400e136579 18:53:18 Step 7/17 : COPY VERSION /edgex-c-sdk/ 18:53:18 ---> dabb3beb167f 18:53:18 Step 8/17 : COPY src /edgex-c-sdk/src/ 18:53:18 ---> 88b4b19b6164 18:53:18 Step 9/17 : COPY include /edgex-c-sdk/include/ 18:53:18 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:53:18 ---> 04f465a04026 18:53:18 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 18:53:18 ---> e29064cfd22a 18:53:18 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 18:53:18 ---> eac9207baf1d 18:53:18 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 18:53:18 ---> ca1079f7802d 18:53:18 Step 13/17 : WORKDIR /edgex-c-sdk 18:53:18 ---> Running in cc8afb5f0e5c 18:53:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:53:19 Removing intermediate container cc8afb5f0e5c 18:53:19 ---> b13af9e409ac 18:53:19 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:53:19 ---> Running in e93acde6fc52 18:53:19 Removing intermediate container e93acde6fc52 18:53:19 ---> 647519ff18a9 18:53:19 Step 15/17 : LABEL arch=amd64 18:53:19 ---> Running in 0ff8c420c165 18:53:19 Removing intermediate container 0ff8c420c165 18:53:19 ---> 804e89c61e37 18:53:19 Step 16/17 : LABEL git_sha=87ce6075efe4ada96669ae6f5c8d3cff206241df 18:53:19 ---> Running in 168be0e21901 18:53:19 Removing intermediate container 168be0e21901 18:53:19 ---> 55dcd9b74628 18:53:19 Step 17/17 : LABEL version=0.0.0 18:53:19 ---> Running in e3519810d06e 18:53:19 Removing intermediate container e3519810d06e 18:53:19 ---> 799afc08bf64 18:53:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:53:19 Successfully built 799afc08bf64 18:53:19 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 18:53:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:19 18:53:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:20 latest: Pulling from edgex-lftools-log-publisher 18:53:20 5eb5b503b376: Pulling fs layer 18:53:20 5c69ac0246d0: Pulling fs layer 18:53:20 ec43610c2a17: Pulling fs layer 18:53:20 3a2ae6a8a46f: Pulling fs layer 18:53:20 33b1e0a273af: Pulling fs layer 18:53:20 5d3b04190fa2: Pulling fs layer 18:53:20 2f39f015ded8: Pulling fs layer 18:53:20 5d3b04190fa2: Waiting 18:53:20 3a2ae6a8a46f: Waiting 18:53:20 5c69ac0246d0: Verifying Checksum 18:53:20 5c69ac0246d0: Download complete 18:53:20 3a2ae6a8a46f: Verifying Checksum 18:53:20 3a2ae6a8a46f: Download complete 18:53:20 33b1e0a273af: Verifying Checksum 18:53:20 33b1e0a273af: Download complete 18:53:20 5d3b04190fa2: Download complete 18:53:21 ec43610c2a17: Verifying Checksum 18:53:21 ec43610c2a17: Download complete 18:53:21 5eb5b503b376: Verifying Checksum 18:53:21 5eb5b503b376: Download complete 18:53:22 5eb5b503b376: Pull complete 18:53:22 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:53:22 2f39f015ded8: Download complete 18:53:22 5c69ac0246d0: Pull complete 18:53:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:53:23 ec43610c2a17: Pull complete 18:53:23 3a2ae6a8a46f: Pull complete 18:53:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 18:53:23 33b1e0a273af: Pull complete 18:53:23 5d3b04190fa2: Pull complete 18:53:24 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 18:53:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 18:53:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:53:27 2f39f015ded8: Pull complete 18:53:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:53:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:27 prd-ubuntu20.04-docker-8c-8g-5345 does not seem to be running inside a container 18:53:27 $ 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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:53:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:53:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:53:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:53:30 $ docker top 76ab3706251e90e19d9f3fcba29649d17daa3128d6f2242f19f577a8c0242451 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:30 ---> job-cost.sh 18:53:30 lf-activate-venv: SKIPPING 18:53:30 INFO: No Stack... 18:53:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:53:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:31 INFO: Archiving Costs [Pipeline] sh 18:53:32 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv 18:53:32 + cut -d, -f6 [Pipeline] lock 18:53:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] 18:53:32 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] did not exist. Created. 18:53:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:32 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:53:32 + echo total: 0.2199999988079071 [Pipeline] stash 18:53:32 Stashed 1 file(s) [Pipeline] } 18:53:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:32 $ docker stop --time=1 76ab3706251e90e19d9f3fcba29649d17daa3128d6f2242f19f577a8c0242451 18:53:32 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:53:33 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:53:33 $ docker rm -f --volumes 76ab3706251e90e19d9f3fcba29649d17daa3128d6f2242f19f577a8c0242451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:53:37 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:53:37 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:53:37 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:53:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:53:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:53:46 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:53:46 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:53:46 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:53:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:53:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:53:49 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:53:51 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:53:52 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:53:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:53:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:53:57 [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:54:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:54:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:54:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:54:03 [ 69%] Linking C shared library libcsdk.so 18:54:03 [ 69%] Built target csdk 18:54:03 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:54:04 [ 73%] Linking C executable template 18:54:05 [ 73%] Built target template 18:54:05 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:54:05 [ 76%] Linking C executable device-counter 18:54:06 [ 76%] Built target device-counter 18:54:06 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:54:06 [ 80%] Linking C executable device-random 18:54:06 [ 80%] Built target device-random 18:54:06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:54:07 [ 84%] Linking C executable device-gyro 18:54:08 [ 84%] Built target device-gyro 18:54:08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:54:08 [ 88%] Linking C executable device-bitfields 18:54:08 [ 88%] Built target device-bitfields 18:54:08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:54:09 [ 92%] Linking C executable template-discovery 18:54:10 [ 92%] Built target template-discovery 18:54:10 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:54:11 [ 96%] Linking C executable device-file 18:54:11 [ 96%] Built target device-file 18:54:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:54:12 [100%] Linking C executable device-terminal 18:54:12 [100%] Built target device-terminal 18:54:12 Run CPack packaging tool... 18:54:12 CPack: Create package using TGZ 18:54:12 CPack: Install projects 18:54:12 CPack: - Run preinstall target for: Csdk 18:54:13 CPack: - Install project: Csdk [] 18:54:13 CPack: Create package 18:54:13 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:54:13 + '[' false '=' true ] 18:54:13 + '[' false '=' true ] 18:54:13 + mkdir -p /tmp/sdk/build/debug 18:54:13 + cd /tmp/sdk/build/debug 18:54:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:54:13 -- The C compiler identification is GNU 11.2.1 18:54:13 -- Detecting C compiler ABI info 18:54:14 -- Detecting C compiler ABI info - done 18:54:14 -- Check for working C compiler: /usr/bin/cc - skipped 18:54:14 -- Detecting C compile features 18:54:14 -- Detecting C compile features - done 18:54:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:54:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 18:54:14 -- Found LIBYAML: /usr/lib/libyaml.so 18:54:14 -- Found LIBUUID: /usr/lib/libuuid.so 18:54:14 -- Found LIBCBOR: /usr/lib/libcbor.so 18:54:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:54:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:54:14 -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so 18:54:14 -- /opt/iotech/iot/1.4/include 18:54:14 -- C SDK 0.0.0 for Linux 18:54:14 -- Performing Test CSDK_HAVE_ATOMIC 18:54:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:54:14 -- Found Curses: /usr/lib/libcurses.so 18:54:14 -- Configuring done 18:54:15 -- Generating done 18:54:15 -- Build files have been written to: /tmp/sdk/build/debug 18:54:15 + + maketee 18:54:15 debug.log 18:54:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:54:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 18:54:16 [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:54:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:54:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:54:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 18:54:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 18:54:18 [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 18:54:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:54:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:54:20 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:54:20 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:54:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:54:21 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:54:21 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:54:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:54:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:54:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:54:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:54:24 [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 18:54:25 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:54:26 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:54:26 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:54:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:54:27 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:54:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:54:28 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:54:30 [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:54:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:54:30 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:54:31 [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:54:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 18:54:33 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:54:33 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:54:33 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:54:34 [ 69%] Linking C shared library libcsdk.so 18:54:34 [ 69%] Built target csdk 18:54:34 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:54:35 [ 73%] Linking C executable template 18:54:35 [ 73%] Built target template 18:54:35 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:54:35 [ 76%] Linking C executable device-counter 18:54:35 [ 76%] Built target device-counter 18:54:35 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:54:36 [ 80%] Linking C executable device-random 18:54:36 [ 80%] Built target device-random 18:54:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:54:36 [ 84%] Linking C executable device-gyro 18:54:37 [ 84%] Built target device-gyro 18:54:37 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:54:37 [ 88%] Linking C executable device-bitfields 18:54:37 [ 88%] Built target device-bitfields 18:54:37 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:54:38 [ 92%] Linking C executable template-discovery 18:54:38 [ 92%] Built target template-discovery 18:54:38 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:54:39 [ 96%] Linking C executable device-file 18:54:39 [ 96%] Built target device-file 18:54:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:54:39 [100%] Linking C executable device-terminal 18:54:39 [100%] Built target device-terminal 18:54:40 make: Entering directory '/tmp/sdk/build/release' 18:54:40 make[1]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 69%] Built target csdk 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 73%] Built target template 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 76%] Built target device-counter 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 80%] Built target device-random 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 84%] Built target device-gyro 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 88%] Built target device-bitfields 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 92%] Built target template-discovery 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [ 96%] Built target device-file 18:54:40 make[2]: Entering directory '/tmp/sdk/build/release' 18:54:40 make[2]: Leaving directory '/tmp/sdk/build/release' 18:54:40 [100%] Built target device-terminal 18:54:40 make[1]: Leaving directory '/tmp/sdk/build/release' 18:54:40 Install the project... 18:54:40 -- Install configuration: "Release" 18:54:40 -- Installing: /usr/local/lib/libcsdk.so 18:54:40 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:54:40 -- Installing: /usr/local/include 18:54:40 -- Installing: /usr/local/include/devsdk 18:54:40 -- Installing: /usr/local/include/devsdk/devsdk.h 18:54:40 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:54:40 -- Installing: /usr/local/include/edgex 18:54:40 -- Installing: /usr/local/include/edgex/rest-server.h 18:54:40 -- Installing: /usr/local/include/edgex/edgex.h 18:54:40 -- Installing: /usr/local/include/edgex/edgex-base.h 18:54:40 -- Installing: /usr/local/include/edgex/devices.h 18:54:40 -- Installing: /usr/local/include/edgex/profiles.h 18:54:40 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:54:40 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:54:40 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:54:40 make: Leaving directory '/tmp/sdk/build/release' 18:54:42 Removing intermediate container 2d007c3e71f3 18:54:42 ---> 8e015b8fc0fc 18:54:42 Step 14/21 : FROM ${BASE} 18:54:42 ---> 9a9802766715 18:54:42 Step 15/21 : LABEL maintainer="IOTech " 18:54:42 ---> Running in e6451f2c0935 18:54:42 Removing intermediate container e6451f2c0935 18:54:42 ---> bd3d97815868 18:54:42 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 18:54:42 ---> Running in 252e409a25b8 18:54:42 Connecting to iotech.jfrog.io (3.248.100.191:443) 18:54:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:54:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:54:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:54:44 Removing intermediate container 252e409a25b8 18:54:44 ---> fa3fd01a7790 18:54:44 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:54:44 ---> Running in b6616f0b9926 18:54:47 Removing intermediate container b6616f0b9926 18:54:47 ---> 7384801b03aa 18:54:47 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 18:54:48 ---> Running in d8870f962385 18:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:54:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:54:52 (1/7) Installing curl (7.83.1-r5) 18:54:52 (2/7) Installing hiredis (1.0.2-r0) 18:54:52 (3/7) Installing hiredis-dev (1.0.2-r0) 18:54:52 (4/7) Installing iotech-iot-1.4 (1.4.0-r0) 18:54:53 (5/7) Installing libcbor (0.9.0-r1) 18:54:53 (6/7) Installing libuuid (2.38-r1) 18:54:53 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 18:54:55 Executing busybox-1.35.0-r17.trigger 18:54:55 OK: 281 MiB in 83 packages 18:54:55 Removing intermediate container d8870f962385 18:54:55 ---> 2a2fe928b303 18:54:55 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:54:56 ---> 3ee55ab93573 18:54:56 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 18:54:56 ---> e4a310560255 18:54:56 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:54:57 ---> df23970381a1 18:54:57 Successfully built df23970381a1 18:54:57 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 18:54:57 + docker inspect -f . ci-base-image-arm64 18:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:57 prd-ubuntu20.04-docker-arm64-4c-16g-5339 does not seem to be running inside a container 18:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:54:58 $ docker top 5fcaf51caf96fd19179e7aa28972d8471dd9837b7d0ccfd29976343843afe87c -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:59 + make test 18:54:59 echo "make test" 18:54:59 make test [Pipeline] } 18:54:59 $ docker stop --time=1 5fcaf51caf96fd19179e7aa28972d8471dd9837b7d0ccfd29976343843afe87c 18:55:01 $ docker rm -f --volumes 5fcaf51caf96fd19179e7aa28972d8471dd9837b7d0ccfd29976343843afe87c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:02 + ls -al . 18:55:02 total 200 18:55:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 18:52 . 18:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:52 .. 18:55:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 18:52 .git 18:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:52 .github 18:55:02 -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 18:52 .gitignore 18:55:02 -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 18:52 Attribution.txt 18:55:02 -rw-rw-r-- 1 jenkins jenkins 8583 Feb 10 18:52 CHANGES 18:55:02 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 18:52 Doxyfile 18:55:02 -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 18:52 GOVERNANCE.md 18:55:02 -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 18:52 Jenkinsfile 18:55:02 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 18:52 LICENSE 18:55:02 -rw-rw-r-- 1 jenkins jenkins 444 Feb 10 18:52 Makefile 18:55:02 -rw-rw-r-- 1 jenkins jenkins 618 Feb 10 18:52 OWNERS.md 18:55:02 -rw-rw-r-- 1 jenkins jenkins 4086 Feb 10 18:52 README.md 18:55:02 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 10 18:52 README.v3.md 18:55:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 18:52 VERSION 18:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:52 docs 18:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:52 include 18:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 18:52 scripts 18:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 18:52 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:02 + 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=5d272dbbf682475fed725fa83ce983946a8db6c5 --label arch=arm64 --label version=0.0.0 . 18:55:02 Sending build context to Docker daemon 2.99MB 18:55:02 Step 1/17 : ARG BASE=alpine:3.16 18:55:02 Step 2/17 : FROM ${BASE} 18:55:02 ---> df23970381a1 18:55:02 Step 3/17 : LABEL maintainer="IOTech " 18:55:02 ---> Running in 5a5d848f6ee2 18:55:03 Removing intermediate container 5a5d848f6ee2 18:55:03 ---> daf380940fae 18:55:03 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 18:55:03 ---> Running in 389357e1f432 18:55:04 Connecting to iotech.jfrog.io (34.249.42.153:443) 18:55:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:55:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:55:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:55:05 Removing intermediate container 389357e1f432 18:55:05 ---> 9e57c212130e 18:55:05 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 18:55:05 ---> Running in 85a03fe41127 18:55:06 Removing intermediate container 85a03fe41127 18:55:06 ---> 78a0080c0842 18:55:06 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 18:55:06 ---> Running in af894cb2d981 18:55:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:55:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 18:55:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:55:11 (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) 18:55:12 (2/8) Installing libcbor-dev (0.9.0-r1) 18:55:12 (3/8) Installing ncurses-dev (6.3_p20220521-r0) 18:55:12 (4/8) Installing libblkid (2.38-r1) 18:55:13 (5/8) Installing libfdisk (2.38-r1) 18:55:13 (6/8) Installing libmount (2.38-r1) 18:55:13 (7/8) Installing libsmartcols (2.38-r1) 18:55:14 (8/8) Installing util-linux-dev (2.38-r1) 18:55:17 Executing busybox-1.35.0-r17.trigger 18:55:17 OK: 286 MiB in 91 packages 18:55:18 Removing intermediate container af894cb2d981 18:55:18 ---> 66c816e12129 18:55:18 Step 7/17 : COPY VERSION /edgex-c-sdk/ 18:55:18 ---> 4530b9ef8712 18:55:18 Step 8/17 : COPY src /edgex-c-sdk/src/ 18:55:19 ---> f9790759f32f 18:55:19 Step 9/17 : COPY include /edgex-c-sdk/include/ 18:55:19 ---> f1a09f52daf4 18:55:19 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 18:55:20 ---> f8cce6e6875f 18:55:20 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 18:55:20 ---> aaae0fd8a41f 18:55:20 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 18:55:21 ---> e2b24ab5ea03 18:55:21 Step 13/17 : WORKDIR /edgex-c-sdk 18:55:21 ---> Running in 58d7471daa54 18:55:21 Removing intermediate container 58d7471daa54 18:55:21 ---> e111fb2cd939 18:55:21 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:55:21 ---> Running in 4d1be31e447e 18:55:21 Removing intermediate container 4d1be31e447e 18:55:21 ---> 2c14d995f7aa 18:55:21 Step 15/17 : LABEL arch=arm64 18:55:22 ---> Running in 57fc4fef1c05 18:55:22 Removing intermediate container 57fc4fef1c05 18:55:22 ---> 23d8053b2e8a 18:55:22 Step 16/17 : LABEL git_sha=5d272dbbf682475fed725fa83ce983946a8db6c5 18:55:22 ---> Running in acb65c823247 18:55:22 Removing intermediate container acb65c823247 18:55:22 ---> dc89511e5f03 18:55:22 Step 17/17 : LABEL version=0.0.0 18:55:22 ---> Running in 72e3a0cc74fc 18:55:23 Removing intermediate container 72e3a0cc74fc 18:55:23 ---> 5b56ae21ff6e 18:55:23 [Warning] One or more build-args [MAKE ARCH] were not consumed 18:55:23 Successfully built 5b56ae21ff6e 18:55:23 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 18:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:23 18:55:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:23 arm64: Pulling from edgex-lftools-log-publisher 18:55:23 8998bd30e6a1: Pulling fs layer 18:55:23 04944245beec: Pulling fs layer 18:55:23 699f458cf7ca: Pulling fs layer 18:55:23 765212b225bb: Pulling fs layer 18:55:23 f23df028b6ca: Pulling fs layer 18:55:23 d65c8cfc05b1: Pulling fs layer 18:55:23 2437ff75d9bd: Pulling fs layer 18:55:23 d65c8cfc05b1: Waiting 18:55:23 765212b225bb: Waiting 18:55:23 f23df028b6ca: Waiting 18:55:23 2437ff75d9bd: Waiting 18:55:24 04944245beec: Verifying Checksum 18:55:24 04944245beec: Download complete 18:55:24 765212b225bb: Verifying Checksum 18:55:24 765212b225bb: Download complete 18:55:24 f23df028b6ca: Verifying Checksum 18:55:24 f23df028b6ca: Download complete 18:55:24 d65c8cfc05b1: Verifying Checksum 18:55:24 d65c8cfc05b1: Download complete 18:55:24 699f458cf7ca: Verifying Checksum 18:55:24 699f458cf7ca: Download complete 18:55:24 8998bd30e6a1: Verifying Checksum 18:55:24 8998bd30e6a1: Download complete 18:55:27 2437ff75d9bd: Verifying Checksum 18:55:27 2437ff75d9bd: Download complete 18:55:28 8998bd30e6a1: Pull complete 18:55:28 04944245beec: Pull complete 18:55:30 699f458cf7ca: Pull complete 18:55:30 765212b225bb: Pull complete 18:55:30 f23df028b6ca: Pull complete 18:55:31 d65c8cfc05b1: Pull complete 18:55:46 2437ff75d9bd: Pull complete 18:55:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:46 prd-ubuntu20.04-docker-arm64-4c-16g-5339 does not seem to be running inside a container 18:55:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:55:48 $ docker top 41bd28ad2d472104b4e4b28981e9caea6b6789c6896f78658b5d0fbe817d518e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:49 ---> job-cost.sh 18:55:49 lf-activate-venv: SKIPPING 18:55:49 INFO: No Stack... 18:55:51 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:52 INFO: Archiving Costs [Pipeline] sh 18:55:53 + cat /w/workspace/device-sdk-c/3/archives/cost.csv 18:55:53 + cut -d, -f6 [Pipeline] lock 18:55:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] 18:55:53 Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] did not exist. Created. 18:55:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:53 /w/workspace/device-sdk-c/3@tmp/durable-9643b12a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:54 + echo total: 0.6600000262260437 [Pipeline] stash 18:55:54 Warning: overwriting stash ‘stack-cost’ 18:55:55 Stashed 1 file(s) [Pipeline] } 18:55:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:55 $ docker stop --time=1 41bd28ad2d472104b4e4b28981e9caea6b6789c6896f78658b5d0fbe817d518e 18:55:56 $ docker rm -f --volumes 41bd28ad2d472104b4e4b28981e9caea6b6789c6896f78658b5d0fbe817d518e [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 18:55:57 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] 18:55:57 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 18:55:57 total 16 18:55:57 drwxr-xr-x 3 root root 4096 Feb 10 18:53 . 18:55:57 drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 18:53 .. 18:55:57 drwxr-xr-x 2 root root 4096 Feb 10 18:53 cost 18:55:57 -rw-r--r-- 1 root root 84 Feb 10 18:53 cost.csv 18:55:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 18:55:57 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives 18:55:57 total 16 18:55:57 drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 18:53 . 18:55:57 drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 18:53 .. 18:55:57 drwxr-xr-x 2 jenkins jenkins 4096 Feb 10 18:53 cost 18:55:57 -rw-r--r-- 1 jenkins jenkins 84 Feb 10 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:55:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:58 ---> package-listing.sh 18:55:58 ++ facter osfamily 18:55:58 ++ tr '[:upper:]' '[:lower:]' 18:55:58 + OS_FAMILY=debian 18:55:58 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 18:55:58 + START_PACKAGES=/tmp/packages_start.txt 18:55:58 + END_PACKAGES=/tmp/packages_end.txt 18:55:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:58 + PACKAGES=/tmp/packages_start.txt 18:55:58 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 18:55:58 + PACKAGES=/tmp/packages_end.txt 18:55:58 + case "${OS_FAMILY}" in 18:55:58 + dpkg -l 18:55:58 + grep '^ii' 18:55:58 + '[' -f /tmp/packages_start.txt ']' 18:55:58 + '[' -f /tmp/packages_end.txt ']' 18:55:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:58 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' 18:55:58 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ 18:55:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo 18:55:58 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:55:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:59 prd-ubuntu20.04-docker-8c-8g-5345 does not seem to be running inside a container 18:55:59 $ 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-442/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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 18:55:59 $ docker top ec669c7fc5d8882bae4fa9034cf2ac7ef4ae070423419fdc627e49464fc35d9a -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:00 + ls /var/log/sa-host 18:56:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:00 provisioning config files... 18:56:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config15481700787020449570tmp [Pipeline] { [Pipeline] echo 18:56:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> create-netrc.sh [Pipeline] } 18:56:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> python-tools-install.sh [Pipeline] echo 18:56:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> sudo-logs.sh 18:56:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:56:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:02 ---> job-cost.sh 18:56:02 lf-activate-venv: SKIPPING 18:56:02 DEBUG: total: 0.2199999988079071 18:56:02 INFO: Retrieving Stack Cost... 18:56:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:56:02 INFO: Archiving Costs [Pipeline] echo 18:56:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:03 ---> logs-deploy.sh 18:56:03 lf-activate-venv: SKIPPING 18:56:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/3 18:56:03 INFO: archiving workspace using pattern(s): 18:56:03 Archives upload complete. 18:56:04 INFO: archiving logs to Nexus 18:56:04 ---> uname -a: 18:56:04 Linux prd-ubuntu20-04-docker-8c-8g-5345 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:56:04 18:56:04 18:56:04 ---> lscpu: 18:56:04 Architecture: x86_64 18:56:04 CPU op-mode(s): 32-bit, 64-bit 18:56:04 Byte Order: Little Endian 18:56:04 Address sizes: 40 bits physical, 48 bits virtual 18:56:04 CPU(s): 8 18:56:04 On-line CPU(s) list: 0-7 18:56:04 Thread(s) per core: 1 18:56:04 Core(s) per socket: 1 18:56:04 Socket(s): 8 18:56:04 NUMA node(s): 1 18:56:04 Vendor ID: AuthenticAMD 18:56:04 CPU family: 23 18:56:04 Model: 49 18:56:04 Model name: AMD EPYC-Rome Processor 18:56:04 Stepping: 0 18:56:04 CPU MHz: 2799.940 18:56:04 BogoMIPS: 5599.88 18:56:04 Virtualization: AMD-V 18:56:04 Hypervisor vendor: KVM 18:56:04 Virtualization type: full 18:56:04 L1d cache: 256 KiB 18:56:04 L1i cache: 256 KiB 18:56:04 L2 cache: 4 MiB 18:56:04 L3 cache: 128 MiB 18:56:04 NUMA node0 CPU(s): 0-7 18:56:04 Vulnerability Itlb multihit: Not affected 18:56:04 Vulnerability L1tf: Not affected 18:56:04 Vulnerability Mds: Not affected 18:56:04 Vulnerability Meltdown: Not affected 18:56:04 Vulnerability Mmio stale data: Not affected 18:56:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:56:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:56:04 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:56:04 Vulnerability Srbds: Not affected 18:56:04 Vulnerability Tsx async abort: Not affected 18:56:04 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 18:56:04 18:56:04 18:56:04 ---> nproc: 18:56:04 8 18:56:04 18:56:04 18:56:04 ---> df -h: 18:56:04 Filesystem Size Used Avail Use% Mounted on 18:56:04 overlay 155G 11G 145G 7% / 18:56:04 tmpfs 64M 0 64M 0% /dev 18:56:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:56:04 shm 64M 0 64M 0% /dev/shm 18:56:04 /dev/vda1 155G 11G 145G 7% /facter-os 18:56:04 18:56:04 18:56:04 ---> sar -b -r -n DEV: 18:56:04 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5345) 02/10/23 _x86_64_ (8 CPU) 18:56:04 18:56:04 18:50:48 LINUX RESTART (8 CPU) 18:56:04 18:56:04 18:51:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:56:04 18:52:01 311.40 47.43 263.96 0.00 5393.00 56530.76 0.00 18:56:04 18:53:01 110.63 0.50 110.13 0.00 24.00 13008.63 0.00 18:56:04 18:54:01 109.88 0.18 109.70 0.00 5.20 18694.35 0.00 18:56:04 18:55:01 1.67 0.00 1.67 0.00 0.00 19.88 0.00 18:56:04 18:56:01 22.93 5.37 17.56 0.00 578.97 2250.56 0.00 18:56:04 Average: 111.31 10.70 100.61 0.00 1200.37 18102.12 0.00 18:56:04 18:56:04 18:51:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:56:04 18:52:01 29927956 31581048 765432 2.33 59948 1893072 1894216 5.58 1006104 1645960 896 18:56:04 18:53:01 29570308 31556008 772696 2.35 68808 2204128 1908508 5.62 1077260 1900644 220 18:56:04 18:54:01 29057476 31550180 753208 2.29 89904 2657692 1785804 5.26 1091928 2339320 324 18:56:04 18:55:01 29057804 31550472 752572 2.29 89928 2657700 1785804 5.26 1092364 2339324 168 18:56:04 18:56:01 28918364 31500164 792660 2.41 94540 2733908 1870980 5.51 1142628 2405468 688 18:56:04 Average: 29306382 31547574 767314 2.33 80626 2429300 1849062 5.45 1082057 2126143 459 18:56:04 18:56:04 18:51:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:56:04 18:52:01 docker0 4.67 5.73 0.35 27.75 0.00 0.00 0.00 0.00 18:56:04 18:52:01 ens3 543.67 353.18 2457.49 106.29 0.00 0.00 0.00 0.00 18:56:04 18:52:01 lo 4.27 4.27 0.41 0.41 0.00 0.00 0.00 0.00 18:56:04 18:52:01 vetha7d6592 4.67 5.85 0.41 27.76 0.00 0.00 0.00 0.00 18:56:04 18:53:01 docker0 36.16 40.78 2.11 135.17 0.00 0.00 0.00 0.00 18:56:04 18:53:01 ens3 156.07 113.81 1889.73 31.46 0.00 0.00 0.00 0.00 18:56:04 18:53:01 lo 2.53 2.53 0.24 0.24 0.00 0.00 0.00 0.00 18:56:04 18:54:01 docker0 23.73 25.95 1.31 66.71 0.00 0.00 0.00 0.00 18:56:04 18:54:01 ens3 168.27 118.35 2611.81 23.16 0.00 0.00 0.00 0.00 18:56:04 18:54:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 18:56:04 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:04 18:55:01 ens3 0.77 0.80 0.05 0.07 0.00 0.00 0.00 0.00 18:56:04 18:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:56:04 18:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:04 18:56:01 ens3 75.22 39.54 877.43 9.52 0.00 0.00 0.00 0.00 18:56:04 18:56:01 lo 0.67 0.67 0.07 0.07 0.00 0.00 0.00 0.00 18:56:04 Average: docker0 12.91 14.49 0.75 45.93 0.00 0.00 0.00 0.00 18:56:04 Average: ens3 188.81 125.14 1567.33 34.10 0.00 0.00 0.00 0.00 18:56:04 Average: lo 1.75 1.75 0.17 0.17 0.00 0.00 0.00 0.00 18:56:04 18:56:04 18:56:04 ---> sar -P ALL: 18:56:04 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5345) 02/10/23 _x86_64_ (8 CPU) 18:56:04 18:56:04 18:50:48 LINUX RESTART (8 CPU) 18:56:04 18:56:04 18:51:01 CPU %user %nice %system %iowait %steal %idle 18:56:04 18:52:01 all 6.96 0.00 2.13 1.85 0.04 89.01 18:56:04 18:52:01 0 8.10 0.00 1.73 0.68 0.03 89.45 18:56:04 18:52:01 1 9.16 0.00 3.44 3.78 0.05 83.56 18:56:04 18:52:01 2 5.39 0.00 1.98 1.54 0.03 91.06 18:56:04 18:52:01 3 7.48 0.00 1.46 0.54 0.05 90.48 18:56:04 18:52:01 4 6.83 0.00 1.27 1.49 0.05 90.36 18:56:04 18:52:01 5 9.10 0.00 3.18 2.51 0.03 85.18 18:56:04 18:52:01 6 4.84 0.00 1.46 0.17 0.05 93.49 18:56:04 18:52:01 7 4.80 0.00 2.52 4.11 0.05 88.52 18:56:04 18:53:01 all 5.73 0.00 2.08 0.62 0.11 91.46 18:56:04 18:53:01 0 6.07 0.00 1.43 0.03 0.08 92.39 18:56:04 18:53:01 1 4.42 0.00 2.78 1.69 0.13 90.98 18:56:04 18:53:01 2 7.02 0.00 2.21 0.45 0.12 90.19 18:56:04 18:53:01 3 6.23 0.00 1.76 0.25 0.10 91.66 18:56:04 18:53:01 4 2.86 0.00 1.44 0.12 0.12 95.46 18:56:04 18:53:01 5 6.31 0.00 2.55 1.91 0.10 89.13 18:56:04 18:53:01 6 8.08 0.00 2.64 0.15 0.12 89.00 18:56:04 18:53:01 7 4.81 0.00 1.83 0.37 0.12 92.87 18:56:04 18:54:01 all 3.76 0.00 1.74 0.81 0.03 93.66 18:56:04 18:54:01 0 3.30 0.00 1.88 0.05 0.03 94.74 18:56:04 18:54:01 1 3.56 0.00 1.42 1.09 0.03 93.89 18:56:04 18:54:01 2 4.13 0.00 1.54 0.07 0.02 94.24 18:56:04 18:54:01 3 3.64 0.00 1.41 0.49 0.03 94.44 18:56:04 18:54:01 4 2.71 0.00 2.93 4.15 0.03 90.18 18:56:04 18:54:01 5 4.65 0.00 1.33 0.03 0.02 93.97 18:56:04 18:54:01 6 4.08 0.00 1.56 0.05 0.02 94.29 18:56:04 18:54:01 7 3.97 0.00 1.89 0.61 0.05 93.49 18:56:04 18:55:01 all 0.20 0.00 0.01 0.00 0.00 99.78 18:56:04 18:55:01 0 0.00 0.00 0.00 0.00 0.02 99.98 18:56:04 18:55:01 1 0.05 0.00 0.02 0.00 0.00 99.93 18:56:04 18:55:01 2 0.02 0.00 0.02 0.00 0.00 99.97 18:56:04 18:55:01 3 0.02 0.00 0.00 0.02 0.00 99.97 18:56:04 18:55:01 4 0.02 0.00 0.02 0.02 0.00 99.95 18:56:04 18:55:01 5 1.47 0.00 0.03 0.00 0.00 98.50 18:56:04 18:55:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:56:04 18:55:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:56:04 18:56:01 all 0.85 0.00 0.35 0.14 0.01 98.65 18:56:04 18:56:01 0 0.55 0.00 0.28 0.02 0.02 99.13 18:56:04 18:56:01 1 1.39 0.00 0.27 0.02 0.02 98.31 18:56:04 18:56:01 2 0.57 0.00 0.33 0.35 0.02 98.73 18:56:04 18:56:01 3 0.60 0.00 0.38 0.25 0.02 98.75 18:56:04 18:56:01 4 1.18 0.00 0.27 0.05 0.00 98.50 18:56:04 18:56:01 5 0.65 0.00 0.57 0.12 0.02 98.64 18:56:04 18:56:01 6 0.47 0.00 0.23 0.12 0.02 99.17 18:56:04 18:56:01 7 1.35 0.00 0.48 0.17 0.02 97.98 18:56:04 Average: all 3.49 0.00 1.26 0.68 0.04 94.52 18:56:04 Average: 0 3.61 0.00 1.07 0.16 0.04 95.13 18:56:04 Average: 1 3.71 0.00 1.58 1.31 0.05 93.34 18:56:04 Average: 2 3.42 0.00 1.21 0.48 0.04 94.85 18:56:04 Average: 3 3.59 0.00 1.00 0.31 0.04 95.07 18:56:04 Average: 4 2.71 0.00 1.18 1.16 0.04 94.90 18:56:04 Average: 5 4.43 0.00 1.53 0.91 0.03 93.10 18:56:04 Average: 6 3.49 0.00 1.18 0.10 0.04 95.20 18:56:04 Average: 7 2.98 0.00 1.35 1.05 0.05 94.58 18:56:04 18:56:04 18:56:04