Pull request #476 opened 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from efc22004b1480c2ff91dd56cd351beb38d3bebad+80a24b09310d384b64bfe7dfccb669ba75fd38c7 (8c0c790c6605ddcae82d86a30fb6cff4c7f30271) 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-ssh16610070111213920318.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4288380897240579429.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17495589603956325484.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4682407591268705303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7567989929603984882.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7741949612633859667.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-2440 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [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-476 # 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/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit efc22004b1480c2ff91dd56cd351beb38d3bebad Merge succeeded, producing efc22004b1480c2ff91dd56cd351beb38d3bebad Checking out Revision efc22004b1480c2ff91dd56cd351beb38d3bebad (PR-476) > git config core.sparsecheckout # timeout=10 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # 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 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 Commit message: "fix: Bypass JWT check in non-secure mode" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:56:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:56:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:56:55 ========================================================= 10:56:55 EdgeX Global Pipelines Version Info 10:56:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:56:56 ------------------- 10:56:56 stable info: 10:56:56 ------------------- 10:56:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:56:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:56:56 Message: update stable to v1.0.250 10:56:56 ------------------- 10:56:56 experimental info: 10:56:56 ------------------- 10:56:56 Commited By: **** collab-it+edgex@linuxfoundation.org 10:56:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:56:56 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:56:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efc2200 [Pipeline] echo 10:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:57 provisioning config files... 10:56:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config11699853432994218628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:58 ---> docker-login.sh 10:56:58 nexus3.edgexfoundry.org:10001 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:58 Configure a credential helper to remove this warning. See 10:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:58 10:56:58 Login Succeeded 10:56:58 nexus3.edgexfoundry.org:10002 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:58 Configure a credential helper to remove this warning. See 10:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:58 10:56:58 Login Succeeded 10:56:58 nexus3.edgexfoundry.org:10003 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:58 Configure a credential helper to remove this warning. See 10:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:58 10:56:58 Login Succeeded 10:56:58 nexus3.edgexfoundry.org:10004 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 docker.io 10:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 ---> docker-login.sh ends [Pipeline] } 10:56:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:57:00 + git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo 10:57:00 -----------> git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad efc22004b1480c2ff91dd56cd351beb38d3bebad [false] [Pipeline] sh 10:57:00 + git log --format=format:%s -1 efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo 10:57:00 ========================================================= 10:57:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:57:00 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:57:01 + git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo 10:57:01 -----------> git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad efc22004b1480c2ff91dd56cd351beb38d3bebad [false] [Pipeline] sh 10:57:01 + git log --format=format:%s -1 efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo 10:57:01 ========================================================= 10:57:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:57:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:57:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:57:02 + grep -v github /etc/ssh/ssh_known_hosts 10:57:02 + [ -e /tmp/ssh_known_hosts ] 10:57:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:57:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:57:02 + sudo tee -a /etc/ssh/ssh_known_hosts 10:57:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:02 10:57:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:03 0.1.4: Pulling from edgex-devops/py-git-semver 10:57:03 b85a868b505f: Pulling fs layer 10:57:03 e2be974225ed: Pulling fs layer 10:57:03 339a4e72a1f5: Pulling fs layer 10:57:03 988bab9f4d93: Pulling fs layer 10:57:03 1469e6f7b9e6: Pulling fs layer 10:57:03 eaf3925da568: Pulling fs layer 10:57:03 bab4dde63d76: Pulling fs layer 10:57:03 bde34c3a00c8: Pulling fs layer 10:57:03 b352a97aabf1: Pulling fs layer 10:57:03 4872d77fe225: Pulling fs layer 10:57:03 5851b861e8e6: Pulling fs layer 10:57:03 988bab9f4d93: Waiting 10:57:03 1469e6f7b9e6: Waiting 10:57:03 eaf3925da568: Waiting 10:57:03 bab4dde63d76: Waiting 10:57:03 bde34c3a00c8: Waiting 10:57:03 b352a97aabf1: Waiting 10:57:03 4872d77fe225: Waiting 10:57:03 5851b861e8e6: Waiting 10:57:03 e2be974225ed: Download complete 10:57:03 988bab9f4d93: Verifying Checksum 10:57:03 988bab9f4d93: Download complete 10:57:03 1469e6f7b9e6: Verifying Checksum 10:57:03 1469e6f7b9e6: Download complete 10:57:03 339a4e72a1f5: Verifying Checksum 10:57:03 339a4e72a1f5: Download complete 10:57:03 eaf3925da568: Download complete 10:57:03 bde34c3a00c8: Verifying Checksum 10:57:03 bde34c3a00c8: Download complete 10:57:03 b352a97aabf1: Download complete 10:57:03 4872d77fe225: Download complete 10:57:03 5851b861e8e6: Download complete 10:57:03 b85a868b505f: Verifying Checksum 10:57:03 b85a868b505f: Download complete 10:57:03 bab4dde63d76: Verifying Checksum 10:57:03 bab4dde63d76: Download complete 10:57:04 b85a868b505f: Pull complete 10:57:04 e2be974225ed: Pull complete 10:57:05 339a4e72a1f5: Pull complete 10:57:05 988bab9f4d93: Pull complete 10:57:05 1469e6f7b9e6: Pull complete 10:57:05 eaf3925da568: Pull complete 10:57:07 bab4dde63d76: Pull complete 10:57:07 bde34c3a00c8: Pull complete 10:57:07 b352a97aabf1: Pull complete 10:57:07 4872d77fe225: Pull complete 10:57:07 5851b861e8e6: Pull complete 10:57:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:57:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:57:07 prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container 10:57:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:57:10 $ docker top ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 -eo pid,comm 10:57:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:57:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:57:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:11 [ssh-agent] Looking for ssh-agent implementation... 10:57:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:11 $ docker exec ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent 10:57:11 SSH_AUTH_SOCK=/tmp/ssh-ZjkGpXfutAig/agent.32 10:57:11 SSH_AGENT_PID=38 10:57:11 Running ssh-add (command line suppressed) 10:57:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_6668784907578962220.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_6668784907578962220.key) 10:57:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:11 + git tag --points-at HEAD [Pipeline] } 10:57:11 $ docker exec --env ******** --env ******** ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent -k 10:57:11 unset SSH_AUTH_SOCK; 10:57:11 unset SSH_AGENT_PID; 10:57:11 echo Agent pid 38 killed; 10:57:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:57:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:57:12 [ssh-agent] Looking for ssh-agent implementation... 10:57:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:57:12 $ docker exec ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent 10:57:12 SSH_AUTH_SOCK=/tmp/ssh-Nr2L3RSZa73W/agent.71 10:57:12 SSH_AGENT_PID=77 10:57:12 Running ssh-add (command line suppressed) 10:57:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_10599617683651877744.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_10599617683651877744.key) 10:57:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:57:12 + git semver init 10:57:12 2023-07-28 10:57:12,926 [run_init] DEBUG init version:0.0.0 force:False 10:57:12 2023-07-28 10:57:12,927 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver 10:57:12 2023-07-28 10:57:12,927 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver 10:57:12 2023-07-28 10:57:12,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476, universal_newlines=False, shell=None, istream=None) 10:57:14 2023-07-28 10:57:13,927 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.git/info/exclude 10:57:14 2023-07-28 10:57:13,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 with force:False 10:57:14 2023-07-28 10:57:13,928 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 10:57:14 2023-07-28 10:57:13,931 [execute] INFO git cat-file --batch-check 10:57:14 2023-07-28 10:57:13,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) 10:57:14 2023-07-28 10:57:13,938 [execute] INFO git cat-file --batch 10:57:14 2023-07-28 10:57:13,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) 10:57:14 2023-07-28 10:57:13,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 10:57:14 0.0.0 [Pipeline] } 10:57:14 $ docker exec --env ******** --env ******** ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent -k 10:57:14 unset SSH_AUTH_SOCK; 10:57:14 unset SSH_AGENT_PID; 10:57:14 echo Agent pid 77 killed; 10:57:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:57:14 + git semver [Pipeline] } 10:57:15 $ docker stop --time=1 ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 10:57:16 $ docker rm -f --volumes ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 [Pipeline] // withDockerContainer [Pipeline] sh 10:57:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:57:17 Stashed 1 file(s) [Pipeline] echo 10:57:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:57:17 provisioning config files... 10:57:17 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config380639516171488806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:18 ---> docker-login.sh 10:57:18 nexus3.edgexfoundry.org:10001 10:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:18 Configure a credential helper to remove this warning. See 10:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:18 10:57:18 Login Succeeded 10:57:18 nexus3.edgexfoundry.org:10002 10:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:18 Configure a credential helper to remove this warning. See 10:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:18 10:57:18 Login Succeeded 10:57:18 nexus3.edgexfoundry.org:10003 10:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:18 Configure a credential helper to remove this warning. See 10:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:18 10:57:18 Login Succeeded 10:57:18 nexus3.edgexfoundry.org:10004 10:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:18 Configure a credential helper to remove this warning. See 10:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:18 10:57:18 Login Succeeded 10:57:18 docker.io 10:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:18 Configure a credential helper to remove this warning. See 10:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:18 10:57:18 Login Succeeded 10:57:18 ---> docker-login.sh ends [Pipeline] } 10:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:57:18 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:57:18 ========================================================= 10:57:18 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:57:18 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:19 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 10:57:19 Sending build context to Docker daemon 4.869MB 10:57:19 Step 1/21 : ARG BASE=alpine:3.16 10:57:19 Step 2/21 : FROM ${BASE} as builder 10:57:19 latest: Pulling from edgex-devops/edgex-gcc-base 10:57:19 91d30c5bc195: Pulling fs layer 10:57:19 316e5a4585fb: Pulling fs layer 10:57:19 91d30c5bc195: Verifying Checksum 10:57:19 91d30c5bc195: Download complete 10:57:19 91d30c5bc195: Pull complete 10:57:20 316e5a4585fb: Verifying Checksum 10:57:20 316e5a4585fb: Download complete 10:57:22 316e5a4585fb: Pull complete 10:57:22 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 10:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:57:22 ---> e83ffa357ff4 10:57:22 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:57:25 ---> Running in 09f119d8428d 10:57:25 Connecting to iotech.jfrog.io (52.213.19.111:443) 10:57:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:57:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:57:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:57:25 Removing intermediate container 09f119d8428d 10:57:25 ---> e24030b8ed63 10:57:25 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:57:25 ---> Running in f1e487efb403 10:57:26 Removing intermediate container f1e487efb403 10:57:26 ---> b56ce4723ada 10:57:26 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 10:57:26 ---> Running in e61cebb3516d 10:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:57:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:57:27 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:57:27 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:57:27 (3/16) Installing hiredis (1.0.2-r0) 10:57:27 (4/16) Installing hiredis-dev (1.0.2-r0) 10:57:27 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 10:57:28 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:57:28 (7/16) Installing libcbor (0.9.0-r1) 10:57:28 (8/16) Installing libcbor-dev (0.9.0-r1) 10:57:28 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 10:57:28 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:57:29 (11/16) Installing libblkid (2.38-r1) 10:57:29 (12/16) Installing libuuid (2.38-r1) 10:57:29 (13/16) Installing libfdisk (2.38-r1) 10:57:29 (14/16) Installing libmount (2.38-r1) 10:57:29 (15/16) Installing libsmartcols (2.38-r1) 10:57:29 (16/16) Installing util-linux-dev (2.38-r1) 10:57:29 Executing busybox-1.35.0-r17.trigger 10:57:29 OK: 280 MiB in 90 packages 10:57:30 Removing intermediate container e61cebb3516d 10:57:30 ---> 671a1093e9c0 10:57:30 Step 6/21 : RUN mkdir /tmp/sdk 10:57:30 ---> Running in 0e9c41e407a3 10:57:30 Removing intermediate container 0e9c41e407a3 10:57:30 ---> 82101e78a0b8 10:57:30 Step 7/21 : COPY VERSION /tmp/sdk 10:57:30 ---> e880ec4a87f0 10:57:30 Step 8/21 : COPY src /tmp/sdk/src 10:57:31 ---> e87cb172474d 10:57:31 Step 9/21 : COPY include /tmp/sdk/include 10:57:31 ---> 14cd0d615cca 10:57:31 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:57:31 ---> 4a3801d2b676 10:57:31 Step 11/21 : COPY LICENSE /tmp/sdk 10:57:31 ---> 63fc6c110a81 10:57:31 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:57:31 ---> cd03d49ccc00 10:57:31 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:57:31 ---> Running in df915d15f1b4 10:57:31 + CPPCHECK=false 10:57:31 + DOCGEN=false 10:57:31 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:57:31 + '[' 0 -gt 0 ] 10:57:31 + readlink -f ./scripts/build.sh 10:57:31 + dirname /tmp/sdk/scripts/build.sh 10:57:31 + dirname /tmp/sdk/scripts 10:57:31 + ROOT=/tmp/sdk 10:57:31 + cd /tmp/sdk 10:57:31 + mkdir -p /tmp/sdk/build/release 10:57:31 + cd /tmp/sdk/build/release 10:57:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:57:31 -- The C compiler identification is GNU 11.2.1 10:57:31 -- Detecting C compiler ABI info 10:57:31 -- Detecting C compiler ABI info - done 10:57:31 -- Check for working C compiler: /usr/bin/cc - skipped 10:57:31 -- Detecting C compile features 10:57:31 -- Detecting C compile features - done 10:57:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:57:31 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:57:31 -- Found LIBYAML: /usr/lib/libyaml.so 10:57:31 -- Found LIBUUID: /usr/lib/libuuid.so 10:57:31 -- Found LIBCBOR: /usr/lib/libcbor.so 10:57:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:57:31 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:57:32 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:57:32 -- /opt/iotech/iot/1.5/include 10:57:32 -- C SDK 0.0.0 for Linux 10:57:32 -- Performing Test CSDK_HAVE_ATOMIC 10:57:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:57:32 -- Found Curses: /usr/lib/libcurses.so 10:57:32 -- Configuring done 10:57:32 -- Generating done 10:57:32 -- Build files have been written to: /tmp/sdk/build/release 10:57:32 + make all package 10:57:32 + tee release.log 10:57:32 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:57:32 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:57:32 Still waiting to schedule task 10:57:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:57:32 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:57:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:57:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:57:32 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:57:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:57:33 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:57:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:57:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:57:34 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:57:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:57:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:57:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:57:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:57:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:57:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:57:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:57:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:57:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:57:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:57:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:57:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:57:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:57:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:57:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:57:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:57:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:57:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:57:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:57:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:57:38 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:57:38 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:57:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:57:38 [ 68%] Linking C shared library libcsdk.so 10:57:38 [ 68%] Built target csdk 10:57:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:57:38 [ 72%] Linking C executable template 10:57:38 [ 72%] Built target template 10:57:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:57:39 [ 76%] Linking C executable device-counter 10:57:39 [ 76%] Built target device-counter 10:57:39 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:57:39 [ 80%] Linking C executable device-random 10:57:39 [ 80%] Built target device-random 10:57:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:57:39 [ 84%] Linking C executable device-gyro 10:57:39 [ 84%] Built target device-gyro 10:57:39 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:57:39 [ 88%] Linking C executable device-bitfields 10:57:39 [ 88%] Built target device-bitfields 10:57:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:57:40 [ 92%] Linking C executable template-discovery 10:57:40 [ 92%] Built target template-discovery 10:57:40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:57:40 [ 96%] Linking C executable device-file 10:57:40 [ 96%] Built target device-file 10:57:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:57:40 [100%] Linking C executable device-terminal 10:57:40 [100%] Built target device-terminal 10:57:40 Run CPack packaging tool... 10:57:40 CPack: Create package using TGZ 10:57:40 CPack: Install projects 10:57:40 CPack: - Run preinstall target for: Csdk 10:57:40 CPack: - Install project: Csdk [] 10:57:40 CPack: Create package 10:57:40 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:57:40 + '[' false '=' true ] 10:57:40 + '[' false '=' true ] 10:57:40 + mkdir -p /tmp/sdk/build/debug 10:57:40 + cd /tmp/sdk/build/debug 10:57:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:57:40 -- The C compiler identification is GNU 11.2.1 10:57:40 -- Detecting C compiler ABI info 10:57:40 -- Detecting C compiler ABI info - done 10:57:40 -- Check for working C compiler: /usr/bin/cc - skipped 10:57:40 -- Detecting C compile features 10:57:40 -- Detecting C compile features - done 10:57:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:57:41 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:57:41 -- Found LIBYAML: /usr/lib/libyaml.so 10:57:41 -- Found LIBUUID: /usr/lib/libuuid.so 10:57:41 -- Found LIBCBOR: /usr/lib/libcbor.so 10:57:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:57:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:57:41 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:57:41 -- /opt/iotech/iot/1.5/include 10:57:41 -- C SDK 0.0.0 for Linux 10:57:41 -- Performing Test CSDK_HAVE_ATOMIC 10:57:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:57:41 -- Found Curses: /usr/lib/libcurses.so 10:57:41 -- Configuring done 10:57:41 -- Generating done 10:57:41 -- Build files have been written to: /tmp/sdk/build/debug 10:57:41 + make 10:57:41 + tee debug.log 10:57:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:57:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:57:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:57:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:57:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:57:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:57:41 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:57:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:57:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:57:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:57:42 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:57:42 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:57:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:57:42 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:57:42 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:57:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:57:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:57:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:57:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:57:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:57:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:57:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:57:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:57:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:57:43 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:57:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:57:43 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:57:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:57:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:57:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:57:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:57:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:57:44 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:57:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:57:44 [ 68%] Linking C shared library libcsdk.so 10:57:44 [ 68%] Built target csdk 10:57:44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:57:44 [ 72%] Linking C executable template 10:57:44 [ 72%] Built target template 10:57:44 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:57:44 [ 76%] Linking C executable device-counter 10:57:44 [ 76%] Built target device-counter 10:57:44 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:57:44 [ 80%] Linking C executable device-random 10:57:44 [ 80%] Built target device-random 10:57:44 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:57:44 [ 84%] Linking C executable device-gyro 10:57:44 [ 84%] Built target device-gyro 10:57:44 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:57:45 [ 88%] Linking C executable device-bitfields 10:57:45 [ 88%] Built target device-bitfields 10:57:45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:57:45 [ 92%] Linking C executable template-discovery 10:57:45 [ 92%] Built target template-discovery 10:57:45 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:57:45 [ 96%] Linking C executable device-file 10:57:45 [ 96%] Built target device-file 10:57:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:57:45 [100%] Linking C executable device-terminal 10:57:45 [100%] Built target device-terminal 10:57:45 make: Entering directory '/tmp/sdk/build/release' 10:57:45 make[1]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 68%] Built target csdk 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 72%] Built target template 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 76%] Built target device-counter 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 80%] Built target device-random 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 84%] Built target device-gyro 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 88%] Built target device-bitfields 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 92%] Built target template-discovery 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [ 96%] Built target device-file 10:57:45 make[2]: Entering directory '/tmp/sdk/build/release' 10:57:45 make[2]: Leaving directory '/tmp/sdk/build/release' 10:57:45 [100%] Built target device-terminal 10:57:45 make[1]: Leaving directory '/tmp/sdk/build/release' 10:57:45 Install the project... 10:57:45 -- Install configuration: "Release" 10:57:45 -- Installing: /usr/local/lib/libcsdk.so 10:57:46 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:57:46 -- Installing: /usr/local/include 10:57:46 -- Installing: /usr/local/include/devsdk 10:57:46 -- Installing: /usr/local/include/devsdk/devsdk.h 10:57:46 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:57:46 -- Installing: /usr/local/include/edgex 10:57:46 -- Installing: /usr/local/include/edgex/edgex.h 10:57:46 -- Installing: /usr/local/include/edgex/devices.h 10:57:46 -- Installing: /usr/local/include/edgex/profiles.h 10:57:46 -- Installing: /usr/local/include/edgex/edgex-base.h 10:57:46 -- Installing: /usr/local/include/edgex/rest-server.h 10:57:46 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:57:46 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:57:46 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:57:46 make: Leaving directory '/tmp/sdk/build/release' 10:57:46 Removing intermediate container df915d15f1b4 10:57:46 ---> 89a602014795 10:57:46 Step 14/21 : FROM ${BASE} 10:57:46 ---> e83ffa357ff4 10:57:46 Step 15/21 : LABEL maintainer="IOTech " 10:57:46 ---> Running in 466129c530e6 10:57:46 Removing intermediate container 466129c530e6 10:57:46 ---> 578ab3e06a61 10:57:46 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:57:46 ---> Running in e57229890415 10:57:46 Connecting to iotech.jfrog.io (52.16.13.142:443) 10:57:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:57:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:57:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:57:47 Removing intermediate container e57229890415 10:57:47 ---> 93a74e83314f 10:57:47 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:57:47 ---> Running in 5e74d94b3bb7 10:57:48 Removing intermediate container 5e74d94b3bb7 10:57:48 ---> 979a61201525 10:57:48 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 10:57:48 ---> Running in b5721e7fdb17 10:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:57:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:57:49 (1/7) Installing curl (8.2.1-r0) 10:57:49 (2/7) Installing hiredis (1.0.2-r0) 10:57:49 (3/7) Installing hiredis-dev (1.0.2-r0) 10:57:49 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 10:57:49 (5/7) Installing libcbor (0.9.0-r1) 10:57:49 (6/7) Installing libuuid (2.38-r1) 10:57:49 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:57:50 Executing busybox-1.35.0-r17.trigger 10:57:50 OK: 276 MiB in 83 packages 10:57:51 Removing intermediate container b5721e7fdb17 10:57:51 ---> ca7b0095f6eb 10:57:51 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:57:51 ---> b21cde8a3e7c 10:57:51 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:57:51 ---> 650fa1b37d22 10:57:51 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:57:51 ---> f3f2f4e0496c 10:57:51 Successfully built f3f2f4e0496c 10:57:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:52 + docker inspect -f . ci-base-image-x86_64 10:57:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:57:52 prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container 10:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@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 ******** ci-base-image-x86_64 cat 10:57:52 $ docker top c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 -eo pid,comm [Pipeline] { [Pipeline] sh 10:57:53 + make test 10:57:53 echo "make test" 10:57:53 make test [Pipeline] } 10:57:53 $ docker stop --time=1 c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 10:57:54 $ docker rm -f --volumes c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:57:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:57:55 + ls -al . 10:57:55 total 212 10:57:55 drwxrwxr-x 9 jenkins jenkins 4096 Jul 28 10:57 . 10:57:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 .. 10:57:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:57 .git 10:57:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 .github 10:57:55 -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 10:56 .gitignore 10:57:55 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 10:57 .semver 10:57:55 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 28 10:56 Attribution.txt 10:57:55 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 28 10:56 CHANGES 10:57:55 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 10:56 Doxyfile 10:57:55 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 10:56 GOVERNANCE.md 10:57:55 -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 10:56 Jenkinsfile 10:57:55 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 10:56 LICENSE 10:57:55 -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 10:56 Makefile 10:57:55 -rw-rw-r-- 1 jenkins jenkins 618 Jul 28 10:56 OWNERS.md 10:57:55 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 28 10:56 README.IOT.md 10:57:55 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 28 10:56 README.md 10:57:55 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 28 10:56 README.v3.md 10:57:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 10:57 VERSION 10:57:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 docs 10:57:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 include 10:57:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 scripts 10:57:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:57:56 + 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=efc22004b1480c2ff91dd56cd351beb38d3bebad --label arch=amd64 --label version=0.0.0 . 10:57:56 Sending build context to Docker daemon 4.869MB 10:57:56 Step 1/17 : ARG BASE=alpine:3.16 10:57:56 Step 2/17 : FROM ${BASE} 10:57:56 ---> f3f2f4e0496c 10:57:56 Step 3/17 : LABEL maintainer="IOTech " 10:57:56 ---> Running in 0e1f5f0b6a1f 10:57:56 Removing intermediate container 0e1f5f0b6a1f 10:57:56 ---> 75927ea5387e 10:57:56 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:57:56 ---> Running in 5a124474a1f4 10:57:56 Connecting to iotech.jfrog.io (52.17.154.19:443) 10:57:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:57:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:57:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:57:57 Removing intermediate container 5a124474a1f4 10:57:57 ---> 1852d3aad951 10:57:57 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:57:57 ---> Running in bdf08ec1f5ab 10:57:57 Removing intermediate container bdf08ec1f5ab 10:57:57 ---> c052a54b9a84 10:57:57 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:57:57 ---> Running in 983118b19944 10:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:57:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:57:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:57:58 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:57:58 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:57:58 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 10:57:59 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:57:59 (5/11) Installing libcbor-dev (0.9.0-r1) 10:57:59 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 10:57:59 (7/11) Installing libblkid (2.38-r1) 10:57:59 (8/11) Installing libfdisk (2.38-r1) 10:57:59 (9/11) Installing libmount (2.38-r1) 10:57:59 (10/11) Installing libsmartcols (2.38-r1) 10:57:59 (11/11) Installing util-linux-dev (2.38-r1) 10:57:59 Executing busybox-1.35.0-r17.trigger 10:57:59 OK: 281 MiB in 92 packages 10:58:00 Removing intermediate container 983118b19944 10:58:00 ---> 75d49a6e737f 10:58:00 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:58:00 ---> fad28a103e30 10:58:00 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:58:00 ---> bfcc23b4774b 10:58:00 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:58:00 ---> 598c99d3ccee 10:58:00 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:58:00 ---> 6901712d7f97 10:58:00 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:58:00 ---> c087fd60964e 10:58:00 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:58:00 ---> 721ed05b1266 10:58:00 Step 13/17 : WORKDIR /edgex-c-sdk 10:58:00 ---> Running in 3649189c8c21 10:58:00 Removing intermediate container 3649189c8c21 10:58:00 ---> 99913d6edffc 10:58:00 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:58:00 ---> Running in f773d3902942 10:58:00 Removing intermediate container f773d3902942 10:58:00 ---> 36610c39db15 10:58:00 Step 15/17 : LABEL arch=amd64 10:58:00 ---> Running in 3cfe9e1e285d 10:58:00 Removing intermediate container 3cfe9e1e285d 10:58:00 ---> 93fb99b7c954 10:58:00 Step 16/17 : LABEL git_sha=efc22004b1480c2ff91dd56cd351beb38d3bebad 10:58:01 ---> Running in 0c56a7399634 10:58:01 Removing intermediate container 0c56a7399634 10:58:01 ---> 3974d7667704 10:58:01 Step 17/17 : LABEL version=0.0.0 10:58:01 ---> Running in b57f608ce6b6 10:58:01 Removing intermediate container b57f608ce6b6 10:58:01 ---> b051dd213c04 10:58:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:58:01 Successfully built b051dd213c04 10:58:01 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:58:01 10:58:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:58:02 latest: Pulling from edgex-lftools-log-publisher 10:58:02 5eb5b503b376: Pulling fs layer 10:58:02 5c69ac0246d0: Pulling fs layer 10:58:02 ec43610c2a17: Pulling fs layer 10:58:02 3a2ae6a8a46f: Pulling fs layer 10:58:02 33b1e0a273af: Pulling fs layer 10:58:02 5d3b04190fa2: Pulling fs layer 10:58:02 2f39f015ded8: Pulling fs layer 10:58:02 3a2ae6a8a46f: Waiting 10:58:02 33b1e0a273af: Waiting 10:58:02 5d3b04190fa2: Waiting 10:58:02 2f39f015ded8: Waiting 10:58:02 5c69ac0246d0: Verifying Checksum 10:58:02 5c69ac0246d0: Download complete 10:58:02 3a2ae6a8a46f: Verifying Checksum 10:58:02 3a2ae6a8a46f: Download complete 10:58:02 33b1e0a273af: Verifying Checksum 10:58:02 33b1e0a273af: Download complete 10:58:02 5d3b04190fa2: Verifying Checksum 10:58:02 5d3b04190fa2: Download complete 10:58:02 ec43610c2a17: Verifying Checksum 10:58:02 ec43610c2a17: Download complete 10:58:02 5eb5b503b376: Verifying Checksum 10:58:02 5eb5b503b376: Download complete 10:58:03 2f39f015ded8: Download complete 10:58:03 5eb5b503b376: Pull complete 10:58:03 5c69ac0246d0: Pull complete 10:58:04 ec43610c2a17: Pull complete 10:58:04 3a2ae6a8a46f: Pull complete 10:58:04 33b1e0a273af: Pull complete 10:58:04 5d3b04190fa2: Pull complete 10:58:08 2f39f015ded8: Pull complete 10:58:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:58:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:58:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:08 prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container 10:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:58:13 $ docker top c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:13 ---> job-cost.sh 10:58:13 lf-activate-venv: SKIPPING 10:58:13 INFO: No Stack... 10:58:14 INFO: Retrieving Pricing Info for: v3-standard-8 10:58:14 INFO: Archiving Costs [Pipeline] sh 10:58:14 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/cost.csv 10:58:14 + cut -d, -f6 [Pipeline] lock 10:58:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] 10:58:14 Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] did not exist. Created. 10:58:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:58:15 + echo total: 0.2199999988079071 [Pipeline] stash 10:58:15 Stashed 1 file(s) [Pipeline] } 10:58:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:58:15 $ docker stop --time=1 c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b 10:58:16 $ docker rm -f --volumes c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:59:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2441 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [Pipeline] { [Pipeline] ws 10:59:07 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 10:59:07 Selected Git installation does not exist. Using Default 10:59:07 The recommended git tool is: NONE 10:59:11 using credential edgex-jenkins-ssh 10:59:11 Cloning the remote Git repository 10:59:11 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:59:12 > git init /w/workspace/device-sdk-c/1 # timeout=10 10:59:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:59:12 > git --version # timeout=10 10:59:12 > git --version # 'git version 2.25.1' 10:59:12 using GIT_SSH to set credentials SSH Credentials for GitHub 10:59:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:59:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:59:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:59:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:59:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:59:14 using GIT_SSH to set credentials SSH Credentials for GitHub 10:59:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:59:15 Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit efc22004b1480c2ff91dd56cd351beb38d3bebad 10:59:15 Merge succeeded, producing efc22004b1480c2ff91dd56cd351beb38d3bebad 10:59:15 Checking out Revision efc22004b1480c2ff91dd56cd351beb38d3bebad (PR-476) 10:59:15 > git config core.sparsecheckout # timeout=10 10:59:15 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 10:59:15 > git remote # timeout=10 10:59:15 > git config --get remote.origin.url # timeout=10 10:59:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:59:15 > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 10:59:15 > git rev-parse HEAD^{commit} # timeout=10 10:59:15 > git config core.sparsecheckout # timeout=10 10:59:15 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 10:59:18 Commit message: "fix: Bypass JWT check in non-secure mode" 10:59:18 > git --version # timeout=10 10:59:18 > git --version # 'git version 2.25.1' 10:59:18 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:59:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:59:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:59:20 Dload Upload Total Spent Left Speed 10:59:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 10:59:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:59:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:59:21 + sudo tee /etc/docker/daemon.new 10:59:21 { 10:59:21 "registry-mirrors": [ 10:59:21 "https://nexus3.edgexfoundry.org:10001" 10:59:21 ], 10:59:21 "bip": "10.250.0.254/24", 10:59:21 "hosts": [ 10:59:21 "tcp://0.0.0.0:5555", 10:59:21 "unix:///var/run/docker.sock" 10:59:21 ], 10:59:21 "mtu": 1458, 10:59:21 "selinux-enabled": true, 10:59:21 "seccomp-profile": "/etc/docker/seccomp.json" 10:59:21 } [Pipeline] sh 10:59:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:59:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:59:40 provisioning config files... 10:59:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config793060766610871971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:40 ---> docker-login.sh 10:59:40 nexus3.edgexfoundry.org:10001 10:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:41 Configure a credential helper to remove this warning. See 10:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:41 10:59:41 Login Succeeded 10:59:41 nexus3.edgexfoundry.org:10002 10:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:41 Configure a credential helper to remove this warning. See 10:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:41 10:59:41 Login Succeeded 10:59:41 nexus3.edgexfoundry.org:10003 10:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:41 Configure a credential helper to remove this warning. See 10:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:41 10:59:41 Login Succeeded 10:59:41 nexus3.edgexfoundry.org:10004 10:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:42 Configure a credential helper to remove this warning. See 10:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:42 10:59:42 Login Succeeded 10:59:42 docker.io 10:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:42 Configure a credential helper to remove this warning. See 10:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:42 10:59:42 Login Succeeded 10:59:42 ---> docker-login.sh ends [Pipeline] } 10:59:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:59:43 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:59:43 ========================================================= 10:59:43 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:59:43 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:43 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:59:43 Sending build context to Docker daemon 2.918MB 10:59:43 Step 1/21 : ARG BASE=alpine:3.16 10:59:43 Step 2/21 : FROM ${BASE} as builder 10:59:44 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:59:44 547446be3368: Pulling fs layer 10:59:44 76bd08e1cacc: Pulling fs layer 10:59:44 547446be3368: Verifying Checksum 10:59:44 547446be3368: Download complete 10:59:44 547446be3368: Pull complete 10:59:46 76bd08e1cacc: Download complete 10:59:54 76bd08e1cacc: Pull complete 10:59:54 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 10:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:59:54 ---> 295cd00e64f4 10:59:54 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:59:54 ---> Running in 2125fdda4516 10:59:55 Connecting to iotech.jfrog.io (52.213.19.111:443) 10:59:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:59:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:59:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:59:56 Removing intermediate container 2125fdda4516 10:59:56 ---> 74c1aa18156c 10:59:56 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:59:56 ---> Running in 584b3d32a537 10:59:57 Removing intermediate container 584b3d32a537 10:59:57 ---> c958ecf45816 10:59: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.5-dev hiredis-dev 10:59:57 ---> Running in bdf3e7eeeec2 10:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:59:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:00:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:00:00 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:00:00 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:00:00 (3/16) Installing hiredis (1.0.2-r0) 11:00:00 (4/16) Installing hiredis-dev (1.0.2-r0) 11:00:00 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 11:00:01 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:00:01 (7/16) Installing libcbor (0.9.0-r1) 11:00:01 (8/16) Installing libcbor-dev (0.9.0-r1) 11:00:01 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 11:00:01 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:00:02 (11/16) Installing libblkid (2.38-r1) 11:00:02 (12/16) Installing libuuid (2.38-r1) 11:00:02 (13/16) Installing libfdisk (2.38-r1) 11:00:02 (14/16) Installing libmount (2.38-r1) 11:00:02 (15/16) Installing libsmartcols (2.38-r1) 11:00:02 (16/16) Installing util-linux-dev (2.38-r1) 11:00:02 Executing busybox-1.35.0-r17.trigger 11:00:02 OK: 286 MiB in 90 packages 11:00:03 Removing intermediate container bdf3e7eeeec2 11:00:03 ---> f831abc2f2c2 11:00:03 Step 6/21 : RUN mkdir /tmp/sdk 11:00:04 ---> Running in 0a61f03d9406 11:00:05 Removing intermediate container 0a61f03d9406 11:00:05 ---> 7900d01c53b1 11:00:05 Step 7/21 : COPY VERSION /tmp/sdk 11:00:06 ---> a7086d931b67 11:00:06 Step 8/21 : COPY src /tmp/sdk/src 11:00:06 ---> 2ebe8a039055 11:00:06 Step 9/21 : COPY include /tmp/sdk/include 11:00:07 ---> d8ac9ad4c4b1 11:00:07 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:00:07 ---> 340e9fa0be52 11:00:07 Step 11/21 : COPY LICENSE /tmp/sdk 11:00:08 ---> 08cd8752a470 11:00:08 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:00:08 ---> e63dbee5495d 11:00:08 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:00:08 ---> Running in d0ec202d3f8b 11:00:09 + CPPCHECK=false 11:00:09 + DOCGEN=false 11:00:09 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:00:09 + '[' 0 -gt 0 ] 11:00:09 + readlink -f ./scripts/build.sh 11:00:09 + dirname /tmp/sdk/scripts/build.sh 11:00:09 + dirname /tmp/sdk/scripts 11:00:09 + ROOT=/tmp/sdk 11:00:09 + cd /tmp/sdk 11:00:09 + mkdir -p /tmp/sdk/build/release 11:00:09 + cd /tmp/sdk/build/release 11:00:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:00:09 -- The C compiler identification is GNU 11.2.1 11:00:09 -- Detecting C compiler ABI info 11:00:10 -- Detecting C compiler ABI info - done 11:00:10 -- Check for working C compiler: /usr/bin/cc - skipped 11:00:10 -- Detecting C compile features 11:00:10 -- Detecting C compile features - done 11:00:10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:00:10 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 11:00:10 -- Found LIBYAML: /usr/lib/libyaml.so 11:00:10 -- Found LIBUUID: /usr/lib/libuuid.so 11:00:10 -- Found LIBCBOR: /usr/lib/libcbor.so 11:00:10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:00:10 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:00:10 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:00:10 -- /opt/iotech/iot/1.5/include 11:00:10 -- C SDK 0.0.0 for Linux 11:00:10 -- Performing Test CSDK_HAVE_ATOMIC 11:00:11 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:00:11 -- Found Curses: /usr/lib/libcurses.so 11:00:11 -- Configuring done 11:00:11 -- Generating done 11:00:11 -- Build files have been written to: /tmp/sdk/build/release 11:00:11 + + tee release.logmake 11:00:11 all package 11:00:11 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:00:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:00:13 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:00:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:00:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:00:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:00:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:00:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:00:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:00:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:00:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:00:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:00:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:00:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:00:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:00:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:00:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:00:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:00:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:00:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:00:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:00:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:00:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:00:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:00:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:00:38 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:00:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:00:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:00:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:00:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:00:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:00:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:00:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:00:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:00:49 [ 68%] Linking C shared library libcsdk.so 11:00:49 [ 68%] Built target csdk 11:00:49 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:00:50 [ 72%] Linking C executable template 11:00:51 [ 72%] Built target template 11:00:51 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:00:51 [ 76%] Linking C executable device-counter 11:00:52 [ 76%] Built target device-counter 11:00:52 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:00:52 [ 80%] Linking C executable device-random 11:00:52 [ 80%] Built target device-random 11:00:52 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:00:53 [ 84%] Linking C executable device-gyro 11:00:53 [ 84%] Built target device-gyro 11:00:53 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:00:54 [ 88%] Linking C executable device-bitfields 11:00:54 [ 88%] Built target device-bitfields 11:00:54 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:00:55 [ 92%] Linking C executable template-discovery 11:00:56 [ 92%] Built target template-discovery 11:00:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:00:56 [ 96%] Linking C executable device-file 11:00:57 [ 96%] Built target device-file 11:00:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:00:57 [100%] Linking C executable device-terminal 11:00:58 [100%] Built target device-terminal 11:00:58 Run CPack packaging tool... 11:00:58 CPack: Create package using TGZ 11:00:58 CPack: Install projects 11:00:58 CPack: - Run preinstall target for: Csdk 11:00:59 CPack: - Install project: Csdk [] 11:00:59 CPack: Create package 11:00:59 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:00:59 + '[' false '=' true ] 11:00:59 + '[' false '=' true ] 11:00:59 + mkdir -p /tmp/sdk/build/debug 11:00:59 + cd /tmp/sdk/build/debug 11:00:59 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:00:59 -- The C compiler identification is GNU 11.2.1 11:00:59 -- Detecting C compiler ABI info 11:00:59 -- Detecting C compiler ABI info - done 11:00:59 -- Check for working C compiler: /usr/bin/cc - skipped 11:00:59 -- Detecting C compile features 11:00:59 -- Detecting C compile features - done 11:00:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:01:00 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 11:01:00 -- Found LIBYAML: /usr/lib/libyaml.so 11:01:00 -- Found LIBUUID: /usr/lib/libuuid.so 11:01:00 -- Found LIBCBOR: /usr/lib/libcbor.so 11:01:00 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:01:00 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:01:00 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:01:00 -- /opt/iotech/iot/1.5/include 11:01:00 -- C SDK 0.0.0 for Linux 11:01:00 -- Performing Test CSDK_HAVE_ATOMIC 11:01:00 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:01:00 -- Found Curses: /usr/lib/libcurses.so 11:01:00 -- Configuring done 11:01:00 -- Generating done 11:01:01 -- Build files have been written to: /tmp/sdk/build/debug 11:01:01 + make 11:01:01 + tee debug.log 11:01:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:01:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:01:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:01:02 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:01:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:01:03 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:01:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:01:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:01:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:01:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:01:05 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:01:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:01:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:01:06 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:01:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:01:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:01:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:01:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:01:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:01:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:01:10 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:01:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:01:11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:01:11 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:01:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:01:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:01:13 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:01:15 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:01:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:01:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:01:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:01:16 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:01:17 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:01:17 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:01:17 [ 68%] Linking C shared library libcsdk.so 11:01:17 [ 68%] Built target csdk 11:01:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:01:18 [ 72%] Linking C executable template 11:01:18 [ 72%] Built target template 11:01:18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:01:19 [ 76%] Linking C executable device-counter 11:01:19 [ 76%] Built target device-counter 11:01:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:01:19 [ 80%] Linking C executable device-random 11:01:19 [ 80%] Built target device-random 11:01:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:01:20 [ 84%] Linking C executable device-gyro 11:01:20 [ 84%] Built target device-gyro 11:01:20 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:01:20 [ 88%] Linking C executable device-bitfields 11:01:21 [ 88%] Built target device-bitfields 11:01:21 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:01:21 [ 92%] Linking C executable template-discovery 11:01:21 [ 92%] Built target template-discovery 11:01:21 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:01:22 [ 96%] Linking C executable device-file 11:01:22 [ 96%] Built target device-file 11:01:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:01:23 [100%] Linking C executable device-terminal 11:01:23 [100%] Built target device-terminal 11:01:23 make: Entering directory '/tmp/sdk/build/release' 11:01:23 make[1]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 68%] Built target csdk 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 72%] Built target template 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 76%] Built target device-counter 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 80%] Built target device-random 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 84%] Built target device-gyro 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 88%] Built target device-bitfields 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 92%] Built target template-discovery 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [ 96%] Built target device-file 11:01:23 make[2]: Entering directory '/tmp/sdk/build/release' 11:01:23 make[2]: Leaving directory '/tmp/sdk/build/release' 11:01:23 [100%] Built target device-terminal 11:01:23 make[1]: Leaving directory '/tmp/sdk/build/release' 11:01:23 Install the project... 11:01:23 -- Install configuration: "Release" 11:01:23 -- Installing: /usr/local/lib/libcsdk.so 11:01:23 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:01:23 -- Installing: /usr/local/include 11:01:23 -- Installing: /usr/local/include/devsdk 11:01:23 -- Installing: /usr/local/include/devsdk/devsdk.h 11:01:23 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:01:23 -- Installing: /usr/local/include/edgex 11:01:23 -- Installing: /usr/local/include/edgex/rest-server.h 11:01:23 -- Installing: /usr/local/include/edgex/edgex.h 11:01:23 -- Installing: /usr/local/include/edgex/edgex-base.h 11:01:23 -- Installing: /usr/local/include/edgex/devices.h 11:01:23 -- Installing: /usr/local/include/edgex/profiles.h 11:01:23 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:01:23 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:01:23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:01:23 make: Leaving directory '/tmp/sdk/build/release' 11:01:25 Removing intermediate container d0ec202d3f8b 11:01:25 ---> 6189abf83b14 11:01:25 Step 14/21 : FROM ${BASE} 11:01:25 ---> 295cd00e64f4 11:01:25 Step 15/21 : LABEL maintainer="IOTech " 11:01:25 ---> Running in 7299248dc896 11:01:25 Removing intermediate container 7299248dc896 11:01:25 ---> b97b08edb851 11:01:25 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:01:25 ---> Running in 852049d082c0 11:01:26 Connecting to iotech.jfrog.io (34.252.139.230:443) 11:01:26 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:01:26 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:01:26 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:01:27 Removing intermediate container 852049d082c0 11:01:27 ---> f9c87f55cbbd 11:01:27 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:01:27 ---> Running in 3afef5b5791f 11:01:29 Removing intermediate container 3afef5b5791f 11:01:29 ---> 6f5586508486 11:01:29 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 11:01:29 ---> Running in f23c027b26d1 11:01:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:01:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:01:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:01:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:01:31 (1/7) Installing curl (8.2.1-r0) 11:01:31 (2/7) Installing hiredis (1.0.2-r0) 11:01:31 (3/7) Installing hiredis-dev (1.0.2-r0) 11:01:31 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 11:01:32 (5/7) Installing libcbor (0.9.0-r1) 11:01:32 (6/7) Installing libuuid (2.38-r1) 11:01:32 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:01:33 Executing busybox-1.35.0-r17.trigger 11:01:33 OK: 281 MiB in 83 packages 11:01:34 Removing intermediate container f23c027b26d1 11:01:34 ---> 36cfa1e67897 11:01:34 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:01:34 ---> e29eca07e5e0 11:01:34 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:01:37 ---> c463b6f55ea5 11:01:37 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:01:38 ---> dca3bd155ad2 11:01:38 Successfully built dca3bd155ad2 11:01:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:38 + docker inspect -f . ci-base-image-arm64 11:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:01:39 prd-ubuntu20.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container 11:01:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat 11:01:40 $ docker top a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 -eo pid,comm [Pipeline] { [Pipeline] sh 11:01:41 + make test 11:01:41 echo "make test" 11:01:41 make test [Pipeline] } 11:01:41 $ docker stop --time=1 a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 11:01:42 $ docker rm -f --volumes a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:01:43 + ls -al . 11:01:43 total 208 11:01:43 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:59 . 11:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 .. 11:01:43 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:59 .git 11:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 .github 11:01:43 -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 10:59 .gitignore 11:01:43 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 28 10:59 Attribution.txt 11:01:43 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 28 10:59 CHANGES 11:01:43 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 10:59 Doxyfile 11:01:43 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 10:59 GOVERNANCE.md 11:01:43 -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 10:59 Jenkinsfile 11:01:43 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 10:59 LICENSE 11:01:43 -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 10:59 Makefile 11:01:43 -rw-rw-r-- 1 jenkins jenkins 618 Jul 28 10:59 OWNERS.md 11:01:43 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 28 10:59 README.IOT.md 11:01:43 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 28 10:59 README.md 11:01:43 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 28 10:59 README.v3.md 11:01:43 -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 10:57 VERSION 11:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 docs 11:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 include 11:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 scripts 11:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:44 + 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=efc22004b1480c2ff91dd56cd351beb38d3bebad --label arch=arm64 --label version=0.0.0 . 11:01:44 Sending build context to Docker daemon 2.918MB 11:01:44 Step 1/17 : ARG BASE=alpine:3.16 11:01:44 Step 2/17 : FROM ${BASE} 11:01:44 ---> dca3bd155ad2 11:01:44 Step 3/17 : LABEL maintainer="IOTech " 11:01:44 ---> Running in 5c87b896903b 11:01:44 Removing intermediate container 5c87b896903b 11:01:44 ---> 7b9ee1746175 11:01:44 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:01:45 ---> Running in 3837ece24a24 11:01:45 Connecting to iotech.jfrog.io (34.252.139.230:443) 11:01:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:01:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:01:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:01:46 Removing intermediate container 3837ece24a24 11:01:46 ---> 97ad24d8fd11 11:01:46 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:01:46 ---> Running in 62fdd941aa4d 11:01:48 Removing intermediate container 62fdd941aa4d 11:01:48 ---> 7fceaf4d6a90 11:01:48 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 11:01:48 ---> Running in b92c68d994b0 11:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:01:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:01:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:01:50 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:01:50 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:01:50 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 11:01:51 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:01:51 (5/11) Installing libcbor-dev (0.9.0-r1) 11:01:51 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 11:01:51 (7/11) Installing libblkid (2.38-r1) 11:01:51 (8/11) Installing libfdisk (2.38-r1) 11:01:51 (9/11) Installing libmount (2.38-r1) 11:01:51 (10/11) Installing libsmartcols (2.38-r1) 11:01:51 (11/11) Installing util-linux-dev (2.38-r1) 11:01:51 Executing busybox-1.35.0-r17.trigger 11:01:51 OK: 287 MiB in 92 packages 11:01:53 Removing intermediate container b92c68d994b0 11:01:53 ---> 4815f01bc467 11:01:53 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:01:53 ---> 186cd441ef97 11:01:53 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:01:54 ---> bce85ae39b06 11:01:54 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:01:54 ---> 7a4c35c4df2b 11:01:54 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:01:55 ---> e3a2fa547517 11:01:55 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:01:55 ---> 38fc551e1d78 11:01:55 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:01:56 ---> fc72100bd12c 11:01:56 Step 13/17 : WORKDIR /edgex-c-sdk 11:01:56 ---> Running in 762eef3e8472 11:01:56 Removing intermediate container 762eef3e8472 11:01:56 ---> 8154e131d159 11:01:56 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:01:56 ---> Running in 30083569d02d 11:01:56 Removing intermediate container 30083569d02d 11:01:56 ---> 2aa33641a198 11:01:56 Step 15/17 : LABEL arch=arm64 11:01:56 ---> Running in 9c69081db8ca 11:01:56 Removing intermediate container 9c69081db8ca 11:01:56 ---> 4a1bf06743b7 11:01:56 Step 16/17 : LABEL git_sha=efc22004b1480c2ff91dd56cd351beb38d3bebad 11:01:57 ---> Running in 427fb8e61ed9 11:01:57 Removing intermediate container 427fb8e61ed9 11:01:57 ---> 4793468aec35 11:01:57 Step 17/17 : LABEL version=0.0.0 11:01:57 ---> Running in 7c66e5fdbecc 11:01:57 Removing intermediate container 7c66e5fdbecc 11:01:57 ---> 86c4ae3f7d77 11:01:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:01:57 Successfully built 86c4ae3f7d77 11:01:57 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:58 11:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:01:59 arm64: Pulling from edgex-lftools-log-publisher 11:01:59 8998bd30e6a1: Pulling fs layer 11:01:59 04944245beec: Pulling fs layer 11:01:59 699f458cf7ca: Pulling fs layer 11:01:59 765212b225bb: Pulling fs layer 11:01:59 f23df028b6ca: Pulling fs layer 11:01:59 d65c8cfc05b1: Pulling fs layer 11:01:59 2437ff75d9bd: Pulling fs layer 11:01:59 f23df028b6ca: Waiting 11:01:59 d65c8cfc05b1: Waiting 11:01:59 2437ff75d9bd: Waiting 11:01:59 765212b225bb: Waiting 11:01:59 04944245beec: Verifying Checksum 11:01:59 04944245beec: Download complete 11:01:59 765212b225bb: Verifying Checksum 11:01:59 765212b225bb: Download complete 11:01:59 f23df028b6ca: Verifying Checksum 11:01:59 f23df028b6ca: Download complete 11:01:59 d65c8cfc05b1: Verifying Checksum 11:01:59 d65c8cfc05b1: Download complete 11:01:59 699f458cf7ca: Verifying Checksum 11:01:59 699f458cf7ca: Download complete 11:01:59 8998bd30e6a1: Download complete 11:02:02 2437ff75d9bd: Verifying Checksum 11:02:02 2437ff75d9bd: Download complete 11:02:03 8998bd30e6a1: Pull complete 11:02:04 04944245beec: Pull complete 11:02:05 699f458cf7ca: Pull complete 11:02:05 765212b225bb: Pull complete 11:02:06 f23df028b6ca: Pull complete 11:02:06 d65c8cfc05b1: Pull complete 11:02:21 2437ff75d9bd: Pull complete 11:02:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:02:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:02:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:21 prd-ubuntu20.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container 11:02:21 $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:02:24 $ docker top c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:02:24 ---> job-cost.sh 11:02:25 lf-activate-venv: SKIPPING 11:02:25 INFO: No Stack... 11:02:25 INFO: Retrieving Pricing Info for: v3-standard-4 11:02:26 INFO: Archiving Costs [Pipeline] sh 11:02:26 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 11:02:26 + cut -d, -f6 [Pipeline] lock 11:02:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] 11:02:26 Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] did not exist. Created. 11:02:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:02:27 /w/workspace/device-sdk-c/1@tmp/durable-cbd8dd4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:02:27 + echo total: 0.10999999940395355 [Pipeline] stash 11:02:27 Warning: overwriting stash ‘stack-cost’ 11:02:27 Stashed 1 file(s) [Pipeline] } 11:02:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:02:27 $ docker stop --time=1 c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a 11:02:29 $ docker rm -f --volumes c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:02:31 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives ] 11:02:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 11:02:31 total 16 11:02:31 drwxr-xr-x 3 root root 4096 Jul 28 10:58 . 11:02:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 10:58 .. 11:02:31 drwxr-xr-x 2 root root 4096 Jul 28 10:58 cost 11:02:31 -rw-r--r-- 1 root root 84 Jul 28 10:58 cost.csv 11:02:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 11:02:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 11:02:31 total 16 11:02:31 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 10:58 . 11:02:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 10:58 .. 11:02:31 drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 10:58 cost 11:02:31 -rw-r--r-- 1 jenkins jenkins 84 Jul 28 10:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:02:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:02:32 ---> package-listing.sh 11:02:32 ++ facter osfamily 11:02:32 ++ tr '[:upper:]' '[:lower:]' 11:02:32 + OS_FAMILY=debian 11:02:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-476 11:02:32 + START_PACKAGES=/tmp/packages_start.txt 11:02:32 + END_PACKAGES=/tmp/packages_end.txt 11:02:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:02:32 + PACKAGES=/tmp/packages_start.txt 11:02:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' 11:02:32 + PACKAGES=/tmp/packages_end.txt 11:02:32 + case "${OS_FAMILY}" in 11:02:32 + dpkg -l 11:02:32 + grep '^ii' 11:02:32 + '[' -f /tmp/packages_start.txt ']' 11:02:32 + '[' -f /tmp/packages_end.txt ']' 11:02:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:02:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' 11:02:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ 11:02:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ [Pipeline] echo 11:02:32 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-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:02:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:02:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:02:33 prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container 11:02:33 $ 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-476/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-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:02:34 $ docker top f0e4712d44972ef54290bafcec39ed9b09b28cb214a1d21eeb09b462e9132e8a -eo pid,comm [Pipeline] { [Pipeline] sh 11:02:34 + touch /tmp/pre-build-complete [Pipeline] sh 11:02:34 + mkdir -p /var/log/sysstat [Pipeline] sh 11:02:35 + ls /var/log/sa-host 11:02:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:35 provisioning config files... 11:02:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config17957585837260025227tmp [Pipeline] { [Pipeline] echo 11:02:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:02:35 ---> create-netrc.sh [Pipeline] } 11:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:02:36 ---> python-tools-install.sh [Pipeline] echo 11:02:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:02:36 ---> sudo-logs.sh 11:02:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:02:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:02:36 ---> job-cost.sh 11:02:36 lf-activate-venv: SKIPPING 11:02:36 DEBUG: total: 0.2199999988079071 11:02:36 INFO: Retrieving Stack Cost... 11:02:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:02:37 INFO: Archiving Costs [Pipeline] echo 11:02:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:02:37 ---> logs-deploy.sh 11:02:37 lf-activate-venv: SKIPPING 11:02:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-476/1 11:02:37 INFO: archiving workspace using pattern(s): 11:02:38 Archives upload complete. 11:02:38 INFO: archiving logs to Nexus 11:02:39 ---> uname -a: 11:02:39 Linux prd-ubuntu20-04-docker-8c-8g-2440 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:02:39 11:02:39 11:02:39 ---> lscpu: 11:02:39 Architecture: x86_64 11:02:39 CPU op-mode(s): 32-bit, 64-bit 11:02:39 Byte Order: Little Endian 11:02:39 Address sizes: 40 bits physical, 48 bits virtual 11:02:39 CPU(s): 8 11:02:39 On-line CPU(s) list: 0-7 11:02:39 Thread(s) per core: 1 11:02:39 Core(s) per socket: 1 11:02:39 Socket(s): 8 11:02:39 NUMA node(s): 1 11:02:39 Vendor ID: AuthenticAMD 11:02:39 CPU family: 23 11:02:39 Model: 49 11:02:39 Model name: AMD EPYC-Rome Processor 11:02:39 Stepping: 0 11:02:39 CPU MHz: 2799.998 11:02:39 BogoMIPS: 5599.99 11:02:39 Virtualization: AMD-V 11:02:39 Hypervisor vendor: KVM 11:02:39 Virtualization type: full 11:02:39 L1d cache: 256 KiB 11:02:39 L1i cache: 256 KiB 11:02:39 L2 cache: 4 MiB 11:02:39 L3 cache: 128 MiB 11:02:39 NUMA node0 CPU(s): 0-7 11:02:39 Vulnerability Itlb multihit: Not affected 11:02:39 Vulnerability L1tf: Not affected 11:02:39 Vulnerability Mds: Not affected 11:02:39 Vulnerability Meltdown: Not affected 11:02:39 Vulnerability Mmio stale data: Not affected 11:02:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:02:39 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:02:39 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:02:39 Vulnerability Srbds: Not affected 11:02:39 Vulnerability Tsx async abort: Not affected 11:02:39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 11:02:39 11:02:39 11:02:39 ---> nproc: 11:02:39 8 11:02:39 11:02:39 11:02:39 ---> df -h: 11:02:39 Filesystem Size Used Avail Use% Mounted on 11:02:39 overlay 155G 11G 145G 7% / 11:02:39 tmpfs 64M 0 64M 0% /dev 11:02:39 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:02:39 shm 64M 0 64M 0% /dev/shm 11:02:39 /dev/vda1 155G 11G 145G 7% /facter-os 11:02:39 11:02:39 11:02:39 ---> sar -b -r -n DEV: 11:02:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2440) 07/28/23 _x86_64_ (8 CPU) 11:02:39 11:02:39 10:56:16 LINUX RESTART (8 CPU) 11:02:39 11:02:39 10:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:02:39 10:58:01 217.50 3.73 213.76 0.00 490.85 25628.26 0.00 11:02:39 10:59:01 33.86 0.12 33.74 0.00 2.13 16728.30 0.00 11:02:39 11:00:01 0.97 0.00 0.97 0.00 0.00 10.13 0.00 11:02:39 11:01:01 1.70 0.00 1.70 0.00 0.00 19.86 0.00 11:02:39 11:02:01 53.06 10.60 42.46 0.00 5154.87 8888.39 0.00 11:02:39 Average: 61.42 2.89 58.53 0.00 1129.57 10254.99 0.00 11:02:39 11:02:39 10:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:02:39 10:58:01 29602508 31592196 731548 2.22 71272 2204952 1807292 5.33 1039768 1898740 492 11:02:39 10:59:01 29108408 31598888 703292 2.14 89784 2656852 1758732 5.18 1042312 2338012 24 11:02:39 11:00:01 29108200 31598952 702868 2.14 89808 2656980 1758732 5.18 1043080 2338148 8 11:02:39 11:01:01 29108936 31599544 702388 2.14 89856 2656984 1774784 5.23 1041624 2338152 16 11:02:39 11:02:01 28575948 31577536 706968 2.15 124156 3117844 1833180 5.40 1368620 2508352 1000 11:02:39 Average: 29100800 31593423 709413 2.16 92975 2658722 1786544 5.27 1107081 2284281 308 11:02:39 11:02:39 10:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:02:39 10:58:01 lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 11:02:39 10:58:01 ens3 223.20 149.28 3619.66 54.91 0.00 0.00 0.00 0.00 11:02:39 10:58:01 docker0 19.30 27.56 1.38 238.79 0.00 0.00 0.00 0.00 11:02:39 10:59:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 11:02:39 10:59:01 ens3 91.18 56.19 2519.57 9.79 0.00 0.00 0.00 0.00 11:02:39 10:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:02:39 11:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:02:39 11:00:01 ens3 1.13 0.95 0.30 0.26 0.00 0.00 0.00 0.00 11:02:39 11:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:02:39 11:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:02:39 11:01:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 11:02:39 11:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:02:39 11:02:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 11:02:39 11:02:01 ens3 207.65 92.32 2934.91 6.55 0.00 0.00 0.00 0.00 11:02:39 11:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:02:39 Average: lo 1.19 1.19 0.11 0.11 0.00 0.00 0.00 0.00 11:02:39 Average: ens3 104.67 59.77 1814.89 14.31 0.00 0.00 0.00 0.00 11:02:39 Average: docker0 3.86 5.51 0.28 47.76 0.00 0.00 0.00 0.00 11:02:39 11:02:39 11:02:39 ---> sar -P ALL: 11:02:39 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2440) 07/28/23 _x86_64_ (8 CPU) 11:02:39 11:02:39 10:56:16 LINUX RESTART (8 CPU) 11:02:39 11:02:39 10:57:01 CPU %user %nice %system %iowait %steal %idle 11:02:39 10:58:01 all 8.32 0.00 3.41 1.97 0.06 86.24 11:02:39 10:58:01 0 8.41 0.00 2.98 2.90 0.05 85.66 11:02:39 10:58:01 1 9.33 0.00 3.51 1.51 0.07 85.57 11:02:39 10:58:01 2 9.34 0.00 2.82 0.12 0.05 87.67 11:02:39 10:58:01 3 6.56 0.00 3.40 3.95 0.07 86.02 11:02:39 10:58:01 4 8.15 0.00 4.09 1.68 0.05 86.03 11:02:39 10:58:01 5 7.81 0.00 3.14 1.13 0.05 87.87 11:02:39 10:58:01 6 10.80 0.00 3.57 4.06 0.08 81.49 11:02:39 10:58:01 7 6.20 0.00 3.75 0.35 0.08 89.62 11:02:39 10:59:01 all 2.41 0.00 0.98 1.05 0.02 95.53 11:02:39 10:59:01 0 2.47 0.00 0.75 0.73 0.03 96.01 11:02:39 10:59:01 1 2.43 0.00 1.09 0.08 0.02 96.39 11:02:39 10:59:01 2 2.47 0.00 1.24 0.00 0.03 96.25 11:02:39 10:59:01 3 2.30 0.00 1.32 5.98 0.05 90.35 11:02:39 10:59:01 4 2.54 0.00 0.82 0.00 0.02 96.62 11:02:39 10:59:01 5 2.28 0.00 0.55 1.19 0.03 95.95 11:02:39 10:59:01 6 2.38 0.00 0.82 0.40 0.00 96.40 11:02:39 10:59:01 7 2.44 0.00 1.29 0.02 0.00 96.25 11:02:39 11:00:01 all 0.26 0.00 0.02 0.00 0.01 99.71 11:02:39 11:00:01 0 1.86 0.00 0.03 0.00 0.02 98.09 11:02:39 11:00:01 1 0.02 0.00 0.00 0.02 0.00 99.97 11:02:39 11:00:01 2 0.03 0.00 0.07 0.00 0.02 99.88 11:02:39 11:00:01 3 0.03 0.00 0.00 0.02 0.00 99.95 11:02:39 11:00:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:02:39 11:00:01 5 0.05 0.00 0.02 0.00 0.00 99.93 11:02:39 11:00:01 6 0.02 0.00 0.00 0.00 0.02 99.97 11:02:39 11:00:01 7 0.02 0.00 0.03 0.00 0.00 99.95 11:02:39 11:01:01 all 0.15 0.00 0.01 0.00 0.01 99.83 11:02:39 11:01:01 0 1.01 0.00 0.02 0.00 0.00 98.97 11:02:39 11:01:01 1 0.02 0.00 0.00 0.02 0.02 99.95 11:02:39 11:01:01 2 0.10 0.00 0.00 0.00 0.02 99.88 11:02:39 11:01:01 3 0.00 0.00 0.03 0.00 0.02 99.95 11:02:39 11:01:01 4 0.02 0.00 0.02 0.00 0.00 99.97 11:02:39 11:01:01 5 0.02 0.00 0.00 0.00 0.00 99.98 11:02:39 11:01:01 6 0.00 0.00 0.02 0.00 0.00 99.98 11:02:39 11:01:01 7 0.00 0.00 0.00 0.00 0.02 99.98 11:02:39 11:02:01 all 2.31 0.00 1.40 0.55 0.03 95.71 11:02:39 11:02:01 0 2.19 0.00 1.26 0.83 0.03 95.68 11:02:39 11:02:01 1 1.37 0.00 1.09 0.75 0.02 96.78 11:02:39 11:02:01 2 2.37 0.00 1.07 0.40 0.03 96.13 11:02:39 11:02:01 3 3.96 0.00 2.59 0.07 0.02 93.36 11:02:39 11:02:01 4 2.37 0.00 1.05 1.20 0.03 95.34 11:02:39 11:02:01 5 2.26 0.00 0.75 0.05 0.03 96.91 11:02:39 11:02:01 6 2.27 0.00 1.30 0.32 0.03 96.08 11:02:39 11:02:01 7 1.69 0.00 2.13 0.75 0.02 95.41 11:02:39 Average: all 2.68 0.00 1.16 0.71 0.03 95.42 11:02:39 Average: 0 3.19 0.00 1.01 0.89 0.03 94.89 11:02:39 Average: 1 2.62 0.00 1.13 0.47 0.02 95.75 11:02:39 Average: 2 2.85 0.00 1.04 0.10 0.03 95.98 11:02:39 Average: 3 2.57 0.00 1.47 2.00 0.03 93.93 11:02:39 Average: 4 2.61 0.00 1.19 0.57 0.02 95.60 11:02:39 Average: 5 2.47 0.00 0.89 0.47 0.02 96.14 11:02:39 Average: 6 3.08 0.00 1.14 0.95 0.03 94.81 11:02:39 Average: 7 2.06 0.00 1.43 0.22 0.02 96.26 11:02:39 11:02:39 11:02:39