Pull request #476 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 0aa84d6e2362150f2a7fe76af15db12a3a58aab4+80a24b09310d384b64bfe7dfccb669ba75fd38c7 (cbf23ab170997e421834311c710e401366540e6f) 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-ssh773375695194321574.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-ssh11134592239149544720.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13608780799469028235.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 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-ssh13544944703295510630.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11890647411715717177.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2569 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 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 Merge succeeded, producing 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 Checking out Revision 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 (PR-476) > git config core.sparsecheckout # timeout=10 > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # 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 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 Commit message: "fix: Bypass JWT check in non-secure mode" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:49 ========================================================= 05:50:49 EdgeX Global Pipelines Version Info 05:50:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 05:50:50 ------------------- 05:50:50 stable info: 05:50:50 ------------------- 05:50:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 05:50:50 Message: update stable to v1.0.250 05:50:50 ------------------- 05:50:50 experimental info: 05:50:50 ------------------- 05:50:50 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:50 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 05:50:50 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0aa84d6 [Pipeline] echo 05:50:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:50 provisioning config files... 05:50:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config1546815528825594282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:51 ---> docker-login.sh 05:50:51 nexus3.edgexfoundry.org:10001 05:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:51 Configure a credential helper to remove this warning. See 05:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:51 05:50:51 Login Succeeded 05:50:51 nexus3.edgexfoundry.org:10002 05:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:51 Configure a credential helper to remove this warning. See 05:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:51 05:50:51 Login Succeeded 05:50:51 nexus3.edgexfoundry.org:10003 05:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:52 Configure a credential helper to remove this warning. See 05:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:52 05:50:52 Login Succeeded 05:50:52 nexus3.edgexfoundry.org:10004 05:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:52 Configure a credential helper to remove this warning. See 05:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:52 05:50:52 Login Succeeded 05:50:52 docker.io 05:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:52 Configure a credential helper to remove this warning. See 05:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:52 05:50:52 Login Succeeded 05:50:52 ---> docker-login.sh ends [Pipeline] } 05:50:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:50:53 + git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo 05:50:53 -----------> git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [false] [Pipeline] sh 05:50:53 + git log --format=format:%s -1 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo 05:50:53 ========================================================= 05:50:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:53 ========================================================= 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 05:50:53 + git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo 05:50:53 -----------> git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [false] [Pipeline] sh 05:50:54 + git log --format=format:%s -1 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo 05:50:54 ========================================================= 05:50:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:50:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:50:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:54 + grep -v github /etc/ssh/ssh_known_hosts 05:50:54 + [ -e /tmp/ssh_known_hosts ] 05:50:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:50:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:50:54 + sudo tee -a /etc/ssh/ssh_known_hosts 05:50:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:54 05:50:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:55 0.1.4: Pulling from edgex-devops/py-git-semver 05:50:55 b85a868b505f: Pulling fs layer 05:50:55 e2be974225ed: Pulling fs layer 05:50:55 339a4e72a1f5: Pulling fs layer 05:50:55 988bab9f4d93: Pulling fs layer 05:50:55 1469e6f7b9e6: Pulling fs layer 05:50:55 eaf3925da568: Pulling fs layer 05:50:55 bab4dde63d76: Pulling fs layer 05:50:55 bde34c3a00c8: Pulling fs layer 05:50:55 b352a97aabf1: Pulling fs layer 05:50:55 4872d77fe225: Pulling fs layer 05:50:55 5851b861e8e6: Pulling fs layer 05:50:55 1469e6f7b9e6: Waiting 05:50:55 bab4dde63d76: Waiting 05:50:55 eaf3925da568: Waiting 05:50:55 4872d77fe225: Waiting 05:50:55 5851b861e8e6: Waiting 05:50:55 b352a97aabf1: Waiting 05:50:55 bde34c3a00c8: Waiting 05:50:55 988bab9f4d93: Waiting 05:50:55 e2be974225ed: Verifying Checksum 05:50:55 e2be974225ed: Download complete 05:50:55 988bab9f4d93: Download complete 05:50:55 1469e6f7b9e6: Verifying Checksum 05:50:55 1469e6f7b9e6: Download complete 05:50:55 339a4e72a1f5: Verifying Checksum 05:50:55 339a4e72a1f5: Download complete 05:50:55 eaf3925da568: Download complete 05:50:55 bde34c3a00c8: Verifying Checksum 05:50:55 bde34c3a00c8: Download complete 05:50:55 b352a97aabf1: Download complete 05:50:55 4872d77fe225: Verifying Checksum 05:50:55 4872d77fe225: Download complete 05:50:55 5851b861e8e6: Verifying Checksum 05:50:55 5851b861e8e6: Download complete 05:50:55 b85a868b505f: Verifying Checksum 05:50:55 b85a868b505f: Download complete 05:50:55 bab4dde63d76: Verifying Checksum 05:50:55 bab4dde63d76: Download complete 05:50:56 b85a868b505f: Pull complete 05:50:57 e2be974225ed: Pull complete 05:50:57 339a4e72a1f5: Pull complete 05:50:57 988bab9f4d93: Pull complete 05:50:57 1469e6f7b9e6: Pull complete 05:50:57 eaf3925da568: Pull complete 05:50:59 bab4dde63d76: Pull complete 05:50:59 bde34c3a00c8: Pull complete 05:50:59 b352a97aabf1: Pull complete 05:50:59 4872d77fe225: Pull complete 05:51:00 5851b861e8e6: Pull complete 05:51:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:00 prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container 05:51:00 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:04 $ docker top 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c -eo pid,comm 05:51:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:51:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:04 [ssh-agent] Looking for ssh-agent implementation... 05:51:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:04 $ docker exec 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent 05:51:04 SSH_AUTH_SOCK=/tmp/ssh-M7VSPD7WmuSn/agent.32 05:51:04 SSH_AGENT_PID=38 05:51:04 Running ssh-add (command line suppressed) 05:51:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_5226901750561544317.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_5226901750561544317.key) 05:51:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:05 + git tag --points-at HEAD [Pipeline] } 05:51:05 $ docker exec --env ******** --env ******** 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent -k 05:51:05 unset SSH_AUTH_SOCK; 05:51:05 unset SSH_AGENT_PID; 05:51:05 echo Agent pid 38 killed; 05:51:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:51:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:05 [ssh-agent] Looking for ssh-agent implementation... 05:51:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:05 $ docker exec 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent 05:51:05 SSH_AUTH_SOCK=/tmp/ssh-USdk0s3XlhSd/agent.70 05:51:05 SSH_AGENT_PID=76 05:51:05 Running ssh-add (command line suppressed) 05:51:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_16840275081513170056.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_16840275081513170056.key) 05:51:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:05 + git semver init 05:51:06 2023-07-31 05:51:06,021 [run_init] DEBUG init version:0.0.0 force:False 05:51:06 2023-07-31 05:51:06,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver 05:51:06 2023-07-31 05:51:06,023 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver 05:51:06 2023-07-31 05:51:06,023 [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) 05:51:07 2023-07-31 05:51:07,016 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.git/info/exclude 05:51:07 2023-07-31 05:51:07,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 with force:False 05:51:07 2023-07-31 05:51:07,017 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 05:51:07 2023-07-31 05:51:07,021 [execute] INFO git cat-file --batch-check 05:51:07 2023-07-31 05:51:07,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) 05:51:07 2023-07-31 05:51:07,029 [execute] INFO git cat-file --batch 05:51:07 2023-07-31 05:51:07,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) 05:51:07 2023-07-31 05:51:07,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 05:51:07 0.0.0 [Pipeline] } 05:51:07 $ docker exec --env ******** --env ******** 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent -k 05:51:07 unset SSH_AUTH_SOCK; 05:51:07 unset SSH_AGENT_PID; 05:51:07 echo Agent pid 76 killed; 05:51:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:07 + git semver [Pipeline] } 05:51:07 $ docker stop --time=1 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c 05:51:09 $ docker rm -f --volumes 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c [Pipeline] // withDockerContainer [Pipeline] sh 05:51:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:09 Stashed 1 file(s) [Pipeline] echo 05:51:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:09 provisioning config files... 05:51:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config4414189710281606336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:09 ---> docker-login.sh 05:51:09 nexus3.edgexfoundry.org:10001 05:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:09 Configure a credential helper to remove this warning. See 05:51:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:09 05:51:09 Login Succeeded 05:51:09 nexus3.edgexfoundry.org:10002 05:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:09 Configure a credential helper to remove this warning. See 05:51:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:09 05:51:09 Login Succeeded 05:51:09 nexus3.edgexfoundry.org:10003 05:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:10 Configure a credential helper to remove this warning. See 05:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:10 05:51:10 Login Succeeded 05:51:10 nexus3.edgexfoundry.org:10004 05:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:10 Configure a credential helper to remove this warning. See 05:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:10 05:51:10 Login Succeeded 05:51:10 docker.io 05:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:10 Configure a credential helper to remove this warning. See 05:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:10 05:51:10 Login Succeeded 05:51:10 ---> docker-login.sh ends [Pipeline] } 05:51:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:10 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:51:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:10 ========================================================= 05:51:10 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:51:10 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:10 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 05:51:10 Sending build context to Docker daemon 4.867MB 05:51:10 Step 1/21 : ARG BASE=alpine:3.16 05:51:10 Step 2/21 : FROM ${BASE} as builder 05:51:10 latest: Pulling from edgex-devops/edgex-gcc-base 05:51:10 91d30c5bc195: Pulling fs layer 05:51:10 316e5a4585fb: Pulling fs layer 05:51:11 91d30c5bc195: Verifying Checksum 05:51:11 91d30c5bc195: Download complete 05:51:11 91d30c5bc195: Pull complete 05:51:11 316e5a4585fb: Verifying Checksum 05:51:11 316e5a4585fb: Download complete 05:51:14 316e5a4585fb: Pull complete 05:51:14 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 05:51:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:51:14 ---> e83ffa357ff4 05:51:14 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:51:17 ---> Running in fa57e040f8f1 05:51:17 Connecting to iotech.jfrog.io (52.31.248.14:443) 05:51:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:51:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:51:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:51:17 Removing intermediate container fa57e040f8f1 05:51:17 ---> 6d59e2edb717 05:51:17 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:51:17 ---> Running in d076aad9b230 05:51:18 Removing intermediate container d076aad9b230 05:51:18 ---> 38d8cfdb1b53 05:51:18 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 05:51:18 ---> Running in 3c39e7280b97 05:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:51:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:51:19 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:51:19 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:51:19 (3/16) Installing hiredis (1.0.2-r0) 05:51:19 (4/16) Installing hiredis-dev (1.0.2-r0) 05:51:19 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 05:51:20 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 05:51:20 (7/16) Installing libcbor (0.9.0-r1) 05:51:20 (8/16) Installing libcbor-dev (0.9.0-r1) 05:51:20 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 05:51:20 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 05:51:21 (11/16) Installing libblkid (2.38-r1) 05:51:21 (12/16) Installing libuuid (2.38-r1) 05:51:21 (13/16) Installing libfdisk (2.38-r1) 05:51:21 (14/16) Installing libmount (2.38-r1) 05:51:21 (15/16) Installing libsmartcols (2.38-r1) 05:51:21 (16/16) Installing util-linux-dev (2.38-r1) 05:51:21 Executing busybox-1.35.0-r17.trigger 05:51:21 OK: 280 MiB in 90 packages 05:51:22 Removing intermediate container 3c39e7280b97 05:51:22 ---> 682ce6eea64d 05:51:22 Step 6/21 : RUN mkdir /tmp/sdk 05:51:22 ---> Running in 78516e5d8ac8 05:51:22 Removing intermediate container 78516e5d8ac8 05:51:22 ---> 7f726128c675 05:51:22 Step 7/21 : COPY VERSION /tmp/sdk 05:51:22 ---> 5f363a0dae26 05:51:22 Step 8/21 : COPY src /tmp/sdk/src 05:51:23 ---> b4905955166e 05:51:23 Step 9/21 : COPY include /tmp/sdk/include 05:51:23 ---> 63fa05cb7969 05:51:23 Step 10/21 : COPY scripts /tmp/sdk/scripts 05:51:23 ---> 8c7227ebcf14 05:51:23 Step 11/21 : COPY LICENSE /tmp/sdk 05:51:23 ---> a9055bbcaab6 05:51:23 Step 12/21 : COPY Attribution.txt /tmp/sdk 05:51:23 ---> c42e9b2245db 05:51:23 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:51:23 ---> Running in 3e9ff62a6984 05:51:23 + CPPCHECK=false 05:51:23 + DOCGEN=false 05:51:23 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:51:23 + '[' 0 -gt 0 ] 05:51:23 + readlink -f ./scripts/build.sh 05:51:23 + dirname /tmp/sdk/scripts/build.sh 05:51:23 + dirname /tmp/sdk/scripts 05:51:23 + ROOT=/tmp/sdk 05:51:23 + cd /tmp/sdk 05:51:23 + mkdir -p /tmp/sdk/build/release 05:51:23 + cd /tmp/sdk/build/release 05:51:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:51:24 -- The C compiler identification is GNU 11.2.1 05:51:24 -- Detecting C compiler ABI info 05:51:24 -- Detecting C compiler ABI info - done 05:51:24 -- Check for working C compiler: /usr/bin/cc - skipped 05:51:24 -- Detecting C compile features 05:51:24 -- Detecting C compile features - done 05:51:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:51:24 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 05:51:24 -- Found LIBYAML: /usr/lib/libyaml.so 05:51:24 -- Found LIBUUID: /usr/lib/libuuid.so 05:51:24 -- Found LIBCBOR: /usr/lib/libcbor.so 05:51:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:51:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 05:51:24 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:51:24 -- /opt/iotech/iot/1.5/include 05:51:24 -- C SDK 0.0.0 for Linux 05:51:24 -- Performing Test CSDK_HAVE_ATOMIC 05:51:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:51:24 -- Found Curses: /usr/lib/libcurses.so 05:51:24 -- Configuring done 05:51:24 -- Generating done 05:51:24 -- Build files have been written to: /tmp/sdk/build/release 05:51:24 + make all package 05:51:24 + tee release.log 05:51:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:51:24 Still waiting to schedule task 05:51:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:51:24 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:51:24 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 05:51:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:51:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:51:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:51:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:51:25 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:51:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:51:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:51:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:51:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:51:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:51:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:51:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:51:27 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:51:27 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:51:27 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:51:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:51:27 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:51:27 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:51:28 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:51:28 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:51:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:51:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:51:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:51:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:51:29 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:51:29 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:51:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:51:30 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:51:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:51:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:51:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:51:31 [ 68%] Linking C shared library libcsdk.so 05:51:31 [ 68%] Built target csdk 05:51:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:51:31 [ 72%] Linking C executable template 05:51:31 [ 72%] Built target template 05:51:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:51:31 [ 76%] Linking C executable device-counter 05:51:31 [ 76%] Built target device-counter 05:51:31 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:51:31 [ 80%] Linking C executable device-random 05:51:31 [ 80%] Built target device-random 05:51:31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:51:31 [ 84%] Linking C executable device-gyro 05:51:31 [ 84%] Built target device-gyro 05:51:31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:51:31 [ 88%] Linking C executable device-bitfields 05:51:31 [ 88%] Built target device-bitfields 05:51:31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:51:32 [ 92%] Linking C executable template-discovery 05:51:32 [ 92%] Built target template-discovery 05:51:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:51:32 [ 96%] Linking C executable device-file 05:51:32 [ 96%] Built target device-file 05:51:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:51:32 [100%] Linking C executable device-terminal 05:51:32 [100%] Built target device-terminal 05:51:32 Run CPack packaging tool... 05:51:32 CPack: Create package using TGZ 05:51:32 CPack: Install projects 05:51:32 CPack: - Run preinstall target for: Csdk 05:51:32 CPack: - Install project: Csdk [] 05:51:32 CPack: Create package 05:51:32 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:51:32 + '[' false '=' true ] 05:51:32 + '[' false '=' true ] 05:51:32 + mkdir -p /tmp/sdk/build/debug 05:51:32 + cd /tmp/sdk/build/debug 05:51:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:51:32 -- The C compiler identification is GNU 11.2.1 05:51:32 -- Detecting C compiler ABI info 05:51:33 -- Detecting C compiler ABI info - done 05:51:33 -- Check for working C compiler: /usr/bin/cc - skipped 05:51:33 -- Detecting C compile features 05:51:33 -- Detecting C compile features - done 05:51:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:51:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 05:51:33 -- Found LIBYAML: /usr/lib/libyaml.so 05:51:33 -- Found LIBUUID: /usr/lib/libuuid.so 05:51:33 -- Found LIBCBOR: /usr/lib/libcbor.so 05:51:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:51:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 05:51:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:51:33 -- /opt/iotech/iot/1.5/include 05:51:33 -- C SDK 0.0.0 for Linux 05:51:33 -- Performing Test CSDK_HAVE_ATOMIC 05:51:33 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:51:33 -- Found Curses: /usr/lib/libcurses.so 05:51:33 -- Configuring done 05:51:33 -- Generating done 05:51:33 -- Build files have been written to: /tmp/sdk/build/debug 05:51:33 + make 05:51:33 + tee debug.log 05:51:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:51:33 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:51:33 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 05:51:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:51:33 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:51:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:51:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:51:33 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:51:33 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:51:34 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:51:34 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:51:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:51:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:51:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:51:34 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:51:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:51:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:51:34 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:51:34 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:51:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:51:34 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:51:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:51:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:51:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:51:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:51:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:51:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:51:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:51:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:51:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:51:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:51:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:51:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:51:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:51:36 [ 68%] Linking C shared library libcsdk.so 05:51:36 [ 68%] Built target csdk 05:51:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:51:36 [ 72%] Linking C executable template 05:51:36 [ 72%] Built target template 05:51:36 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:51:36 [ 76%] Linking C executable device-counter 05:51:36 [ 76%] Built target device-counter 05:51:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:51:36 [ 80%] Linking C executable device-random 05:51:36 [ 80%] Built target device-random 05:51:36 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:51:36 [ 84%] Linking C executable device-gyro 05:51:36 [ 84%] Built target device-gyro 05:51:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:51:36 [ 88%] Linking C executable device-bitfields 05:51:37 [ 88%] Built target device-bitfields 05:51:37 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:51:37 [ 92%] Linking C executable template-discovery 05:51:37 [ 92%] Built target template-discovery 05:51:37 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:51:37 [ 96%] Linking C executable device-file 05:51:37 [ 96%] Built target device-file 05:51:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:51:37 [100%] Linking C executable device-terminal 05:51:37 [100%] Built target device-terminal 05:51:37 make: Entering directory '/tmp/sdk/build/release' 05:51:37 make[1]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 68%] Built target csdk 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 72%] Built target template 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 76%] Built target device-counter 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 80%] Built target device-random 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 84%] Built target device-gyro 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 88%] Built target device-bitfields 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 92%] Built target template-discovery 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [ 96%] Built target device-file 05:51:37 make[2]: Entering directory '/tmp/sdk/build/release' 05:51:37 make[2]: Leaving directory '/tmp/sdk/build/release' 05:51:37 [100%] Built target device-terminal 05:51:37 make[1]: Leaving directory '/tmp/sdk/build/release' 05:51:37 Install the project... 05:51:37 -- Install configuration: "Release" 05:51:37 -- Installing: /usr/local/lib/libcsdk.so 05:51:37 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:51:37 -- Installing: /usr/local/include 05:51:37 -- Installing: /usr/local/include/devsdk 05:51:37 -- Installing: /usr/local/include/devsdk/devsdk.h 05:51:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:51:37 -- Installing: /usr/local/include/edgex 05:51:37 -- Installing: /usr/local/include/edgex/edgex.h 05:51:37 -- Installing: /usr/local/include/edgex/devices.h 05:51:37 -- Installing: /usr/local/include/edgex/profiles.h 05:51:37 -- Installing: /usr/local/include/edgex/edgex-base.h 05:51:37 -- Installing: /usr/local/include/edgex/rest-server.h 05:51:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:51:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:51:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:51:37 make: Leaving directory '/tmp/sdk/build/release' 05:51:38 Removing intermediate container 3e9ff62a6984 05:51:38 ---> bad8ab09ba4d 05:51:38 Step 14/21 : FROM ${BASE} 05:51:38 ---> e83ffa357ff4 05:51:38 Step 15/21 : LABEL maintainer="IOTech " 05:51:38 ---> Running in bd9cc6a76648 05:51:38 Removing intermediate container bd9cc6a76648 05:51:38 ---> 95450b66b77d 05:51:38 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:51:38 ---> Running in df483363b1c4 05:51:38 Connecting to iotech.jfrog.io (63.32.175.252:443) 05:51:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:51:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:51:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:51:39 Removing intermediate container df483363b1c4 05:51:39 ---> 7289cdee5082 05:51:39 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:51:39 ---> Running in 6650a4e7b7d2 05:51:40 Removing intermediate container 6650a4e7b7d2 05:51:40 ---> c0ef05f50666 05:51:40 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 05:51:40 ---> Running in d0bdf2ad5354 05:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:51:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:51:41 (1/7) Installing curl (8.2.1-r0) 05:51:41 (2/7) Installing hiredis (1.0.2-r0) 05:51:41 (3/7) Installing hiredis-dev (1.0.2-r0) 05:51:41 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 05:51:41 (5/7) Installing libcbor (0.9.0-r1) 05:51:41 (6/7) Installing libuuid (2.38-r1) 05:51:41 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 05:51:42 Executing busybox-1.35.0-r17.trigger 05:51:42 OK: 276 MiB in 83 packages 05:51:43 Removing intermediate container d0bdf2ad5354 05:51:43 ---> 201afea7b6d4 05:51:43 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:51:43 ---> c9b18ec47331 05:51:43 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 05:51:43 ---> 963a67ac95da 05:51:43 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:51:43 ---> d3c456b3dfdb 05:51:43 Successfully built d3c456b3dfdb 05:51:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:44 + docker inspect -f . ci-base-image-x86_64 05:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:44 prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container 05:51:44 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:51:44 $ docker top 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:44 + make test 05:51:44 echo "make test" 05:51:44 make test [Pipeline] } 05:51:44 $ docker stop --time=1 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce 05:51:46 $ docker rm -f --volumes 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:47 + ls -al . 05:51:47 total 212 05:51:47 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 05:51 . 05:51:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 .. 05:51:47 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:51 .git 05:51:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 .github 05:51:47 -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 05:50 .gitignore 05:51:47 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 05:51 .semver 05:51:47 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 31 05:50 Attribution.txt 05:51:47 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 31 05:50 CHANGES 05:51:47 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 05:50 Doxyfile 05:51:47 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 05:50 GOVERNANCE.md 05:51:47 -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 05:50 Jenkinsfile 05:51:47 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 05:50 LICENSE 05:51:47 -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 05:50 Makefile 05:51:47 -rw-rw-r-- 1 jenkins jenkins 618 Jul 31 05:50 OWNERS.md 05:51:47 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 31 05:50 README.IOT.md 05:51:47 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 31 05:50 README.md 05:51:47 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 31 05:50 README.v3.md 05:51:47 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 05:51 VERSION 05:51:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 docs 05:51:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 include 05:51:47 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 scripts 05:51:47 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:47 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 --label arch=amd64 --label version=0.0.0 . 05:51:47 Sending build context to Docker daemon 4.867MB 05:51:47 Step 1/17 : ARG BASE=alpine:3.16 05:51:47 Step 2/17 : FROM ${BASE} 05:51:47 ---> d3c456b3dfdb 05:51:47 Step 3/17 : LABEL maintainer="IOTech " 05:51:47 ---> Running in c5c5b8322410 05:51:47 Removing intermediate container c5c5b8322410 05:51:47 ---> 2e4bbddca698 05:51:47 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:51:47 ---> Running in 85f90d6ab473 05:51:47 Connecting to iotech.jfrog.io (34.250.240.127:443) 05:51:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:51:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:51:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:51:48 Removing intermediate container 85f90d6ab473 05:51:48 ---> 63552110ed8e 05:51:48 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:51:48 ---> Running in fb199ad71d11 05:51:48 Removing intermediate container fb199ad71d11 05:51:48 ---> bcd48d6503f0 05:51: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 05:51:48 ---> Running in aa73624a65e8 05:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:51:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:51:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:51:50 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:51:50 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:51:50 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 05:51:50 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 05:51:50 (5/11) Installing libcbor-dev (0.9.0-r1) 05:51:50 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 05:51:50 (7/11) Installing libblkid (2.38-r1) 05:51:50 (8/11) Installing libfdisk (2.38-r1) 05:51:50 (9/11) Installing libmount (2.38-r1) 05:51:50 (10/11) Installing libsmartcols (2.38-r1) 05:51:50 (11/11) Installing util-linux-dev (2.38-r1) 05:51:50 Executing busybox-1.35.0-r17.trigger 05:51:50 OK: 281 MiB in 92 packages 05:51:51 Removing intermediate container aa73624a65e8 05:51:51 ---> b80c23a686ad 05:51:51 Step 7/17 : COPY VERSION /edgex-c-sdk/ 05:51:51 ---> 375709eca215 05:51:51 Step 8/17 : COPY src /edgex-c-sdk/src/ 05:51:51 ---> b1e4e9975260 05:51:51 Step 9/17 : COPY include /edgex-c-sdk/include/ 05:51:51 ---> aa2002d50568 05:51:51 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 05:51:51 ---> 22a98bd47872 05:51:51 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 05:51:52 ---> 6a9731b5cfbd 05:51:52 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 05:51:52 ---> 1d5e357eff2e 05:51:52 Step 13/17 : WORKDIR /edgex-c-sdk 05:51:52 ---> Running in 6456d7efaea3 05:51:52 Removing intermediate container 6456d7efaea3 05:51:52 ---> 657ee2f1b0a0 05:51:52 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:51:52 ---> Running in 8dcf00f2a684 05:51:52 Removing intermediate container 8dcf00f2a684 05:51:52 ---> 633084ac71f1 05:51:52 Step 15/17 : LABEL arch=amd64 05:51:52 ---> Running in cb8492443932 05:51:52 Removing intermediate container cb8492443932 05:51:52 ---> 4be60c966d64 05:51:52 Step 16/17 : LABEL git_sha=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 05:51:52 ---> Running in 889319bd46f0 05:51:52 Removing intermediate container 889319bd46f0 05:51:52 ---> d1a3fe625526 05:51:52 Step 17/17 : LABEL version=0.0.0 05:51:52 ---> Running in 7569566de5d8 05:51:52 Removing intermediate container 7569566de5d8 05:51:52 ---> 450db434f93f 05:51:52 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:51:52 Successfully built 450db434f93f 05:51:52 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 05:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:53 05:51:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:53 latest: Pulling from edgex-lftools-log-publisher 05:51:53 5eb5b503b376: Pulling fs layer 05:51:53 5c69ac0246d0: Pulling fs layer 05:51:53 ec43610c2a17: Pulling fs layer 05:51:53 3a2ae6a8a46f: Pulling fs layer 05:51:53 33b1e0a273af: Pulling fs layer 05:51:53 5d3b04190fa2: Pulling fs layer 05:51:53 2f39f015ded8: Pulling fs layer 05:51:53 3a2ae6a8a46f: Waiting 05:51:53 33b1e0a273af: Waiting 05:51:53 5d3b04190fa2: Waiting 05:51:53 2f39f015ded8: Waiting 05:51:53 5c69ac0246d0: Verifying Checksum 05:51:53 5c69ac0246d0: Download complete 05:51:53 3a2ae6a8a46f: Download complete 05:51:53 33b1e0a273af: Download complete 05:51:53 ec43610c2a17: Verifying Checksum 05:51:53 ec43610c2a17: Download complete 05:51:53 5d3b04190fa2: Download complete 05:51:53 5eb5b503b376: Verifying Checksum 05:51:53 5eb5b503b376: Download complete 05:51:54 2f39f015ded8: Verifying Checksum 05:51:54 2f39f015ded8: Download complete 05:51:54 5eb5b503b376: Pull complete 05:51:55 5c69ac0246d0: Pull complete 05:51:55 ec43610c2a17: Pull complete 05:51:55 3a2ae6a8a46f: Pull complete 05:51:55 33b1e0a273af: Pull complete 05:51:55 5d3b04190fa2: Pull complete 05:52:00 2f39f015ded8: Pull complete 05:52:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:00 prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container 05:52:00 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:52:05 $ docker top 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:06 ---> job-cost.sh 05:52:06 lf-activate-venv: SKIPPING 05:52:06 INFO: No Stack... 05:52:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:52:06 INFO: Archiving Costs [Pipeline] sh 05:52:07 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/cost.csv 05:52:07 + cut -d, -f6 [Pipeline] lock 05:52:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] 05:52:07 Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] did not exist. Created. 05:52:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:07 + echo total: 0.2199999988079071 [Pipeline] stash 05:52:07 Stashed 1 file(s) [Pipeline] } 05:52:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:52:07 $ docker stop --time=1 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 05:52:08 $ docker rm -f --volumes 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:52:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2570 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [Pipeline] { [Pipeline] ws 05:52:52 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 05:52:52 Selected Git installation does not exist. Using Default 05:52:52 The recommended git tool is: NONE 05:52:57 using credential edgex-jenkins-ssh 05:52:57 Cloning the remote Git repository 05:52:57 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 05:52:57 > git init /w/workspace/device-sdk-c/2 # timeout=10 05:52:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:52:57 > git --version # timeout=10 05:52:57 > git --version # 'git version 2.25.1' 05:52:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:52:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 05:53:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 05:53:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:00 > 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 05:53:00 Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 05:53:01 Merge succeeded, producing 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 05:53:01 Checking out Revision 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 (PR-476) 05:53:00 > git config core.sparsecheckout # timeout=10 05:53:00 > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 05:53:00 > git remote # timeout=10 05:53:00 > git config --get remote.origin.url # timeout=10 05:53:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:00 > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 05:53:01 > git rev-parse HEAD^{commit} # timeout=10 05:53:01 > git config core.sparsecheckout # timeout=10 05:53:01 > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 05:53:04 Commit message: "fix: Bypass JWT check in non-secure mode" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:53:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:05 Dload Upload Total Spent Left Speed 05:53:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 05:53:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:53:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:53:06 + sudo tee /etc/docker/daemon.new 05:53:06 { 05:53:06 "registry-mirrors": [ 05:53:06 "https://nexus3.edgexfoundry.org:10001" 05:53:06 ], 05:53:06 "bip": "10.250.0.254/24", 05:53:06 "hosts": [ 05:53:06 "tcp://0.0.0.0:5555", 05:53:06 "unix:///var/run/docker.sock" 05:53:06 ], 05:53:06 "mtu": 1458, 05:53:06 "selinux-enabled": true, 05:53:06 "seccomp-profile": "/etc/docker/seccomp.json" 05:53:06 } [Pipeline] sh 05:53:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:53:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:25 provisioning config files... 05:53:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config17954603701998351677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:25 ---> docker-login.sh 05:53:25 nexus3.edgexfoundry.org:10001 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10002 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10003 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 nexus3.edgexfoundry.org:10004 05:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 docker.io 05:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:28 Configure a credential helper to remove this warning. See 05:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:28 05:53:28 Login Succeeded 05:53:28 ---> docker-login.sh ends [Pipeline] } 05:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 05:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:28 ========================================================= 05:53:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 05:53:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:28 + 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 . 05:53:28 Sending build context to Docker daemon 2.916MB 05:53:28 Step 1/21 : ARG BASE=alpine:3.16 05:53:28 Step 2/21 : FROM ${BASE} as builder 05:53:31 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 05:53:31 547446be3368: Pulling fs layer 05:53:31 76bd08e1cacc: Pulling fs layer 05:53:31 547446be3368: Verifying Checksum 05:53:31 547446be3368: Download complete 05:53:32 547446be3368: Pull complete 05:53:33 76bd08e1cacc: Verifying Checksum 05:53:33 76bd08e1cacc: Download complete 05:53:42 76bd08e1cacc: Pull complete 05:53:42 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 05:53:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 05:53:42 ---> 295cd00e64f4 05:53:42 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 05:53:42 ---> Running in d2b5bb5cc667 05:53:44 Connecting to iotech.jfrog.io (52.51.203.101:443) 05:53:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:53:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:53:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:53:45 Removing intermediate container d2b5bb5cc667 05:53:45 ---> 9189d674998a 05:53:45 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:53:45 ---> Running in 87c8248ae80e 05:53:46 Removing intermediate container 87c8248ae80e 05:53:46 ---> 72af17bac7e7 05:53:46 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 05:53:46 ---> Running in 5ed7a2e6c0dd 05:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:53:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:53:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 05:53:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:53:49 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:53:49 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:53:49 (3/16) Installing hiredis (1.0.2-r0) 05:53:49 (4/16) Installing hiredis-dev (1.0.2-r0) 05:53:49 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 05:53:50 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 05:53:50 (7/16) Installing libcbor (0.9.0-r1) 05:53:50 (8/16) Installing libcbor-dev (0.9.0-r1) 05:53:50 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 05:53:50 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 05:53:51 (11/16) Installing libblkid (2.38-r1) 05:53:51 (12/16) Installing libuuid (2.38-r1) 05:53:51 (13/16) Installing libfdisk (2.38-r1) 05:53:51 (14/16) Installing libmount (2.38-r1) 05:53:51 (15/16) Installing libsmartcols (2.38-r1) 05:53:51 (16/16) Installing util-linux-dev (2.38-r1) 05:53:51 Executing busybox-1.35.0-r17.trigger 05:53:51 OK: 286 MiB in 90 packages 05:53:52 Removing intermediate container 5ed7a2e6c0dd 05:53:52 ---> 779b05c85fc4 05:53:52 Step 6/21 : RUN mkdir /tmp/sdk 05:53:52 ---> Running in 4043ddd17a9d 05:53:54 Removing intermediate container 4043ddd17a9d 05:53:54 ---> 1b7ad20028d1 05:53:54 Step 7/21 : COPY VERSION /tmp/sdk 05:53:54 ---> 15f4cac1579d 05:53:54 Step 8/21 : COPY src /tmp/sdk/src 05:53:59 ---> bc3f2cfa898b 05:53:59 Step 9/21 : COPY include /tmp/sdk/include 05:53:59 ---> 47fd515b9f50 05:53:59 Step 10/21 : COPY scripts /tmp/sdk/scripts 05:53:59 ---> 991159600d53 05:53:59 Step 11/21 : COPY LICENSE /tmp/sdk 05:53:59 ---> 69f91bafbdc8 05:53:59 Step 12/21 : COPY Attribution.txt /tmp/sdk 05:54:00 ---> ff6df64fa4c6 05:54:00 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:54:00 ---> Running in 4b5eb8a801a3 05:54:01 + CPPCHECK=false 05:54:01 + DOCGEN=false 05:54:01 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:54:01 + '[' 0 -gt 0 ] 05:54:01 + readlink -f ./scripts/build.sh 05:54:01 + dirname /tmp/sdk/scripts/build.sh 05:54:01 + dirname /tmp/sdk/scripts 05:54:01 + ROOT=/tmp/sdk 05:54:01 + cd /tmp/sdk 05:54:01 + mkdir -p /tmp/sdk/build/release 05:54:01 + cd /tmp/sdk/build/release 05:54:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:54:01 -- The C compiler identification is GNU 11.2.1 05:54:01 -- Detecting C compiler ABI info 05:54:01 -- Detecting C compiler ABI info - done 05:54:02 -- Check for working C compiler: /usr/bin/cc - skipped 05:54:02 -- Detecting C compile features 05:54:02 -- Detecting C compile features - done 05:54:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:54:02 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 05:54:02 -- Found LIBYAML: /usr/lib/libyaml.so 05:54:02 -- Found LIBUUID: /usr/lib/libuuid.so 05:54:02 -- Found LIBCBOR: /usr/lib/libcbor.so 05:54:02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:54:02 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 05:54:02 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:54:02 -- /opt/iotech/iot/1.5/include 05:54:02 -- C SDK 0.0.0 for Linux 05:54:02 -- Performing Test CSDK_HAVE_ATOMIC 05:54:02 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:54:03 -- Found Curses: /usr/lib/libcurses.so 05:54:03 -- Configuring done 05:54:03 -- Generating done 05:54:03 -- Build files have been written to: /tmp/sdk/build/release 05:54:03 + make all package 05:54:03 + tee release.log 05:54:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:54:04 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:54:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 05:54:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:54:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:54:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:54:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:54:11 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:54:11 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:54:12 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:54:14 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:54:14 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:54:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:54:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:54:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:54:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:54:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:54:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:54:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:54:21 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:54:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:54:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:54:29 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:54:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:54:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:54:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:54:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:54:34 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:54:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:54:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:54:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:54:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:54:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:54:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:54:42 [ 68%] Linking C shared library libcsdk.so 05:54:42 [ 68%] Built target csdk 05:54:42 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:54:43 [ 72%] Linking C executable template 05:54:43 [ 72%] Built target template 05:54:43 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:54:44 [ 76%] Linking C executable device-counter 05:54:44 [ 76%] Built target device-counter 05:54:44 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:54:44 [ 80%] Linking C executable device-random 05:54:45 [ 80%] Built target device-random 05:54:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:54:45 [ 84%] Linking C executable device-gyro 05:54:46 [ 84%] Built target device-gyro 05:54:46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:54:46 [ 88%] Linking C executable device-bitfields 05:54:46 [ 88%] Built target device-bitfields 05:54:46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:54:47 [ 92%] Linking C executable template-discovery 05:54:48 [ 92%] Built target template-discovery 05:54:48 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:54:49 [ 96%] Linking C executable device-file 05:54:49 [ 96%] Built target device-file 05:54:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:54:50 [100%] Linking C executable device-terminal 05:54:50 [100%] Built target device-terminal 05:54:52 Run CPack packaging tool... 05:54:52 CPack: Create package using TGZ 05:54:52 CPack: Install projects 05:54:52 CPack: - Run preinstall target for: Csdk 05:54:53 CPack: - Install project: Csdk [] 05:54:53 CPack: Create package 05:54:53 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:54:53 + '[' false '=' true ] 05:54:53 + '[' false '=' true ] 05:54:53 + mkdir -p /tmp/sdk/build/debug 05:54:53 + cd /tmp/sdk/build/debug 05:54:53 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:54:54 -- The C compiler identification is GNU 11.2.1 05:54:54 -- Detecting C compiler ABI info 05:54:54 -- Detecting C compiler ABI info - done 05:54:54 -- Check for working C compiler: /usr/bin/cc - skipped 05:54:54 -- Detecting C compile features 05:54:54 -- Detecting C compile features - done 05:54:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:54:54 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 05:54:54 -- Found LIBYAML: /usr/lib/libyaml.so 05:54:54 -- Found LIBUUID: /usr/lib/libuuid.so 05:54:54 -- Found LIBCBOR: /usr/lib/libcbor.so 05:54:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:54:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 05:54:54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:54:54 -- /opt/iotech/iot/1.5/include 05:54:54 -- C SDK 0.0.0 for Linux 05:54:54 -- Performing Test CSDK_HAVE_ATOMIC 05:54:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:54:55 -- Found Curses: /usr/lib/libcurses.so 05:54:55 -- Configuring done 05:54:55 -- Generating done 05:54:55 -- Build files have been written to: /tmp/sdk/build/debug 05:54:55 + + maketee 05:54:55 debug.log 05:54:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:54:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:54:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 05:54:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:54:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:54:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:54:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:54:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:54:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:54:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:55:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:55:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:55:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:55:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:55:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:55:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:55:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:55:03 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:55:03 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:55:03 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:55:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:55:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:55:06 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:55:06 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:55:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:55:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:55:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:55:09 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:55:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:55:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:55:10 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:55:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:55:11 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:55:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:55:12 [ 68%] Linking C shared library libcsdk.so 05:55:12 [ 68%] Built target csdk 05:55:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:55:13 [ 72%] Linking C executable template 05:55:13 [ 72%] Built target template 05:55:13 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:55:13 [ 76%] Linking C executable device-counter 05:55:13 [ 76%] Built target device-counter 05:55:14 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:55:14 [ 80%] Linking C executable device-random 05:55:14 [ 80%] Built target device-random 05:55:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:55:14 [ 84%] Linking C executable device-gyro 05:55:15 [ 84%] Built target device-gyro 05:55:15 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:55:15 [ 88%] Linking C executable device-bitfields 05:55:16 [ 88%] Built target device-bitfields 05:55:16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:55:16 [ 92%] Linking C executable template-discovery 05:55:16 [ 92%] Built target template-discovery 05:55:16 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:55:17 [ 96%] Linking C executable device-file 05:55:17 [ 96%] Built target device-file 05:55:17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:55:18 [100%] Linking C executable device-terminal 05:55:18 [100%] Built target device-terminal 05:55:18 make: Entering directory '/tmp/sdk/build/release' 05:55:18 make[1]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 68%] Built target csdk 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 72%] Built target template 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 76%] Built target device-counter 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 80%] Built target device-random 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 84%] Built target device-gyro 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 88%] Built target device-bitfields 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 92%] Built target template-discovery 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [ 96%] Built target device-file 05:55:18 make[2]: Entering directory '/tmp/sdk/build/release' 05:55:18 make[2]: Leaving directory '/tmp/sdk/build/release' 05:55:18 [100%] Built target device-terminal 05:55:18 make[1]: Leaving directory '/tmp/sdk/build/release' 05:55:18 Install the project... 05:55:18 -- Install configuration: "Release" 05:55:18 -- Installing: /usr/local/lib/libcsdk.so 05:55:18 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:55:18 -- Installing: /usr/local/include 05:55:18 -- Installing: /usr/local/include/devsdk 05:55:18 -- Installing: /usr/local/include/devsdk/devsdk.h 05:55:18 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:55:18 -- Installing: /usr/local/include/edgex 05:55:18 -- Installing: /usr/local/include/edgex/rest-server.h 05:55:18 -- Installing: /usr/local/include/edgex/edgex.h 05:55:18 -- Installing: /usr/local/include/edgex/edgex-base.h 05:55:18 -- Installing: /usr/local/include/edgex/devices.h 05:55:18 -- Installing: /usr/local/include/edgex/profiles.h 05:55:18 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:55:18 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:55:18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:55:18 make: Leaving directory '/tmp/sdk/build/release' 05:55:22 Removing intermediate container 4b5eb8a801a3 05:55:22 ---> 395e05f2208a 05:55:22 Step 14/21 : FROM ${BASE} 05:55:22 ---> 295cd00e64f4 05:55:22 Step 15/21 : LABEL maintainer="IOTech " 05:55:22 ---> Running in 05d10cc26472 05:55:22 Removing intermediate container 05d10cc26472 05:55:22 ---> edd66971f029 05:55:22 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 05:55:22 ---> Running in 332c1edb1244 05:55:23 Connecting to iotech.jfrog.io (34.252.247.30:443) 05:55:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:55:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:55:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:55:24 Removing intermediate container 332c1edb1244 05:55:24 ---> ee3567a86093 05:55:24 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:55:24 ---> Running in 65591d76e189 05:55:25 Removing intermediate container 65591d76e189 05:55:25 ---> 0f59c2349422 05:55:25 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 05:55:25 ---> Running in 0e7f1bcd3538 05:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:55:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:55:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 05:55:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:28 (1/7) Installing curl (8.2.1-r0) 05:55:28 (2/7) Installing hiredis (1.0.2-r0) 05:55:28 (3/7) Installing hiredis-dev (1.0.2-r0) 05:55:28 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 05:55:29 (5/7) Installing libcbor (0.9.0-r1) 05:55:29 (6/7) Installing libuuid (2.38-r1) 05:55:29 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 05:55:30 Executing busybox-1.35.0-r17.trigger 05:55:30 OK: 281 MiB in 83 packages 05:55:31 Removing intermediate container 0e7f1bcd3538 05:55:31 ---> 12b9d2052d4e 05:55:31 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:55:35 ---> 6cf3e30be3cd 05:55:35 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 05:55:35 ---> d88d3b1bcaae 05:55:35 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:55:36 ---> 4f288f81f2ee 05:55:36 Successfully built 4f288f81f2ee 05:55:36 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 05:55:36 + docker inspect -f . ci-base-image-arm64 05:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:36 prd-ubuntu20.04-docker-arm64-4c-16g-2570 does not seem to be running inside a container 05:55:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:55:38 $ docker top 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:38 + make test 05:55:38 echo "make test" 05:55:38 make test [Pipeline] } 05:55:38 $ docker stop --time=1 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf 05:55:40 $ docker rm -f --volumes 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:41 + ls -al . 05:55:41 total 208 05:55:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:53 . 05:55:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:52 .. 05:55:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:53 .git 05:55:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 .github 05:55:41 -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 05:53 .gitignore 05:55:41 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 31 05:53 Attribution.txt 05:55:41 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 31 05:53 CHANGES 05:55:41 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 05:53 Doxyfile 05:55:41 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 05:53 GOVERNANCE.md 05:55:41 -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 05:53 Jenkinsfile 05:55:41 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 05:53 LICENSE 05:55:41 -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 05:53 Makefile 05:55:41 -rw-rw-r-- 1 jenkins jenkins 618 Jul 31 05:53 OWNERS.md 05:55:41 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 31 05:53 README.IOT.md 05:55:41 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 31 05:53 README.md 05:55:41 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 31 05:53 README.v3.md 05:55:41 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 05:51 VERSION 05:55:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 docs 05:55:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:53 include 05:55:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 scripts 05:55:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:41 + 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=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 --label arch=arm64 --label version=0.0.0 . 05:55:41 Sending build context to Docker daemon 2.916MB 05:55:41 Step 1/17 : ARG BASE=alpine:3.16 05:55:41 Step 2/17 : FROM ${BASE} 05:55:41 ---> 4f288f81f2ee 05:55:41 Step 3/17 : LABEL maintainer="IOTech " 05:55:42 ---> Running in 52547a2c842d 05:55:42 Removing intermediate container 52547a2c842d 05:55:42 ---> 92ae385bc37e 05:55:42 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 05:55:42 ---> Running in ed214743b9b1 05:55:43 Connecting to iotech.jfrog.io (34.250.240.127:443) 05:55:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:55:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:55:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:55:44 Removing intermediate container ed214743b9b1 05:55:44 ---> a837440e17a0 05:55:44 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:55:44 ---> Running in 8897f38b991d 05:55:45 Removing intermediate container 8897f38b991d 05:55:45 ---> 1bc4aba43640 05:55:45 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 05:55:46 ---> Running in 565fc75a8ce1 05:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:55:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 05:55:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:55:48 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:55:48 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 05:55:48 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 05:55:49 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 05:55:49 (5/11) Installing libcbor-dev (0.9.0-r1) 05:55:49 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 05:55:49 (7/11) Installing libblkid (2.38-r1) 05:55:49 (8/11) Installing libfdisk (2.38-r1) 05:55:49 (9/11) Installing libmount (2.38-r1) 05:55:49 (10/11) Installing libsmartcols (2.38-r1) 05:55:49 (11/11) Installing util-linux-dev (2.38-r1) 05:55:49 Executing busybox-1.35.0-r17.trigger 05:55:49 OK: 287 MiB in 92 packages 05:55:50 Removing intermediate container 565fc75a8ce1 05:55:50 ---> 54e312c4478b 05:55:50 Step 7/17 : COPY VERSION /edgex-c-sdk/ 05:55:51 ---> 1b1f2bba1844 05:55:51 Step 8/17 : COPY src /edgex-c-sdk/src/ 05:55:52 ---> 2e9cfb4d91cd 05:55:52 Step 9/17 : COPY include /edgex-c-sdk/include/ 05:55:52 ---> d0f638e1fbea 05:55:52 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 05:55:53 ---> 6532df3ae5ba 05:55:53 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 05:55:53 ---> 9c68d48459ba 05:55:53 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 05:55:53 ---> d60f097637b2 05:55:53 Step 13/17 : WORKDIR /edgex-c-sdk 05:55:53 ---> Running in 008e3f282783 05:55:54 Removing intermediate container 008e3f282783 05:55:54 ---> 4c7f68969196 05:55:54 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:55:54 ---> Running in 68d6858bbc78 05:55:54 Removing intermediate container 68d6858bbc78 05:55:54 ---> 370ad97968db 05:55:54 Step 15/17 : LABEL arch=arm64 05:55:54 ---> Running in 5f653beec29e 05:55:55 Removing intermediate container 5f653beec29e 05:55:55 ---> d37dda2e7468 05:55:55 Step 16/17 : LABEL git_sha=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 05:55:55 ---> Running in 73f216fc1ac9 05:55:55 Removing intermediate container 73f216fc1ac9 05:55:55 ---> 010d1d30e806 05:55:55 Step 17/17 : LABEL version=0.0.0 05:55:55 ---> Running in 66fec2f9b3cb 05:55:55 Removing intermediate container 66fec2f9b3cb 05:55:55 ---> f1185f5f3cd4 05:55:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:55:55 Successfully built f1185f5f3cd4 05:55:55 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 05:55:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:55:55 05:55:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:55:56 arm64: Pulling from edgex-lftools-log-publisher 05:55:56 8998bd30e6a1: Pulling fs layer 05:55:56 04944245beec: Pulling fs layer 05:55:56 699f458cf7ca: Pulling fs layer 05:55:56 765212b225bb: Pulling fs layer 05:55:56 f23df028b6ca: Pulling fs layer 05:55:56 d65c8cfc05b1: Pulling fs layer 05:55:56 2437ff75d9bd: Pulling fs layer 05:55:56 765212b225bb: Waiting 05:55:56 d65c8cfc05b1: Waiting 05:55:56 2437ff75d9bd: Waiting 05:55:56 f23df028b6ca: Waiting 05:55:56 04944245beec: Verifying Checksum 05:55:56 04944245beec: Download complete 05:55:56 765212b225bb: Verifying Checksum 05:55:56 765212b225bb: Download complete 05:55:56 f23df028b6ca: Verifying Checksum 05:55:56 f23df028b6ca: Download complete 05:55:56 d65c8cfc05b1: Verifying Checksum 05:55:56 d65c8cfc05b1: Download complete 05:55:56 699f458cf7ca: Verifying Checksum 05:55:56 699f458cf7ca: Download complete 05:55:57 8998bd30e6a1: Verifying Checksum 05:55:57 8998bd30e6a1: Download complete 05:55:59 2437ff75d9bd: Verifying Checksum 05:55:59 2437ff75d9bd: Download complete 05:56:01 8998bd30e6a1: Pull complete 05:56:02 04944245beec: Pull complete 05:56:03 699f458cf7ca: Pull complete 05:56:03 765212b225bb: Pull complete 05:56:04 f23df028b6ca: Pull complete 05:56:04 d65c8cfc05b1: Pull complete 05:56:19 2437ff75d9bd: Pull complete 05:56:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:56:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:19 prd-ubuntu20.04-docker-arm64-4c-16g-2570 does not seem to be running inside a container 05:56:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:56:22 $ docker top 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:22 ---> job-cost.sh 05:56:22 lf-activate-venv: SKIPPING 05:56:22 INFO: No Stack... 05:56:23 INFO: Retrieving Pricing Info for: v3-standard-4 05:56:24 INFO: Archiving Costs [Pipeline] sh 05:56:24 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 05:56:24 + cut -d, -f6 [Pipeline] lock 05:56:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] 05:56:24 Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] did not exist. Created. 05:56:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:25 /w/workspace/device-sdk-c/2@tmp/durable-6b5fe571/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:56:25 + echo total: 0.10999999940395355 [Pipeline] stash 05:56:25 Warning: overwriting stash ‘stack-cost’ 05:56:26 Stashed 1 file(s) [Pipeline] } 05:56:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:56:26 $ docker stop --time=1 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e 05:56:27 $ docker rm -f --volumes 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e [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 05:56:28 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives ] 05:56:28 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 05:56:28 total 16 05:56:28 drwxr-xr-x 3 root root 4096 Jul 31 05:52 . 05:56:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 05:52 .. 05:56:28 drwxr-xr-x 2 root root 4096 Jul 31 05:52 cost 05:56:28 -rw-r--r-- 1 root root 84 Jul 31 05:52 cost.csv 05:56:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 05:56:28 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives 05:56:28 total 16 05:56:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 05:52 . 05:56:28 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 05:52 .. 05:56:28 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 05:52 cost 05:56:28 -rw-r--r-- 1 jenkins jenkins 84 Jul 31 05:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:56:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:56:29 ---> package-listing.sh 05:56:29 ++ facter osfamily 05:56:29 ++ tr '[:upper:]' '[:lower:]' 05:56:29 + OS_FAMILY=debian 05:56:29 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-476 05:56:29 + START_PACKAGES=/tmp/packages_start.txt 05:56:29 + END_PACKAGES=/tmp/packages_end.txt 05:56:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:56:29 + PACKAGES=/tmp/packages_start.txt 05:56:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' 05:56:29 + PACKAGES=/tmp/packages_end.txt 05:56:29 + case "${OS_FAMILY}" in 05:56:29 + dpkg -l 05:56:29 + grep '^ii' 05:56:29 + '[' -f /tmp/packages_start.txt ']' 05:56:29 + '[' -f /tmp/packages_end.txt ']' 05:56:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:56:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' 05:56:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ 05:56:29 + 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 05:56:29 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 05:56:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:56:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:30 prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container 05:56:30 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:56:30 $ docker top 8c4197bb9fd615480fea43193e49032d858b281a485d7b617f17e119acc8dbcf -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:31 + touch /tmp/pre-build-complete [Pipeline] sh 05:56:31 + mkdir -p /var/log/sysstat [Pipeline] sh 05:56:31 + ls /var/log/sa-host 05:56:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:31 provisioning config files... 05:56:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config16899312570509469532tmp [Pipeline] { [Pipeline] echo 05:56:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:32 ---> create-netrc.sh [Pipeline] } 05:56:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:56:32 ---> python-tools-install.sh [Pipeline] echo 05:56:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:56:32 ---> sudo-logs.sh 05:56:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:56:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:56:33 ---> job-cost.sh 05:56:33 lf-activate-venv: SKIPPING 05:56:33 DEBUG: total: 0.2199999988079071 05:56:33 INFO: Retrieving Stack Cost... 05:56:33 INFO: Retrieving Pricing Info for: v3-standard-8 05:56:34 INFO: Archiving Costs [Pipeline] echo 05:56:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:34 ---> logs-deploy.sh 05:56:34 lf-activate-venv: SKIPPING 05:56:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-476/2 05:56:34 INFO: archiving workspace using pattern(s): 05:56:35 Archives upload complete. 05:56:35 INFO: archiving logs to Nexus 05:56:36 ---> uname -a: 05:56:36 Linux prd-ubuntu20-04-docker-8c-8g-2569 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:56:36 05:56:36 05:56:36 ---> lscpu: 05:56:36 Architecture: x86_64 05:56:36 CPU op-mode(s): 32-bit, 64-bit 05:56:36 Byte Order: Little Endian 05:56:36 Address sizes: 40 bits physical, 48 bits virtual 05:56:36 CPU(s): 8 05:56:36 On-line CPU(s) list: 0-7 05:56:36 Thread(s) per core: 1 05:56:36 Core(s) per socket: 1 05:56:36 Socket(s): 8 05:56:36 NUMA node(s): 1 05:56:36 Vendor ID: AuthenticAMD 05:56:36 CPU family: 23 05:56:36 Model: 49 05:56:36 Model name: AMD EPYC-Rome Processor 05:56:36 Stepping: 0 05:56:36 CPU MHz: 2799.998 05:56:36 BogoMIPS: 5599.99 05:56:36 Virtualization: AMD-V 05:56:36 Hypervisor vendor: KVM 05:56:36 Virtualization type: full 05:56:36 L1d cache: 256 KiB 05:56:36 L1i cache: 256 KiB 05:56:36 L2 cache: 4 MiB 05:56:36 L3 cache: 128 MiB 05:56:36 NUMA node0 CPU(s): 0-7 05:56:36 Vulnerability Itlb multihit: Not affected 05:56:36 Vulnerability L1tf: Not affected 05:56:36 Vulnerability Mds: Not affected 05:56:36 Vulnerability Meltdown: Not affected 05:56:36 Vulnerability Mmio stale data: Not affected 05:56:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:56:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:56:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:56:36 Vulnerability Srbds: Not affected 05:56:36 Vulnerability Tsx async abort: Not affected 05:56:36 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 05:56:36 05:56:36 05:56:36 ---> nproc: 05:56:36 8 05:56:36 05:56:36 05:56:36 ---> df -h: 05:56:36 Filesystem Size Used Avail Use% Mounted on 05:56:36 overlay 155G 11G 145G 7% / 05:56:36 tmpfs 64M 0 64M 0% /dev 05:56:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:56:36 shm 64M 0 64M 0% /dev/shm 05:56:36 /dev/vda1 155G 11G 145G 7% /facter-os 05:56:36 05:56:36 05:56:36 ---> sar -b -r -n DEV: 05:56:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2569) 07/31/23 _x86_64_ (8 CPU) 05:56:36 05:56:36 05:50:06 LINUX RESTART (8 CPU) 05:56:36 05:56:36 05:51:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:56:36 05:52:01 217.64 2.91 214.72 0.00 420.60 24572.55 0.00 05:56:36 05:53:01 22.55 0.12 22.43 0.00 2.13 12163.44 0.00 05:56:36 05:54:01 1.45 0.00 1.45 0.00 0.00 15.61 0.00 05:56:36 05:55:01 1.40 0.00 1.40 0.00 0.00 17.20 0.00 05:56:36 05:56:01 54.87 10.58 44.29 0.00 5154.87 8909.32 0.00 05:56:36 Average: 59.06 2.72 56.34 0.00 1117.82 9084.52 0.00 05:56:36 05:56:36 05:51:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:56:36 05:52:01 29076476 31568000 735228 2.24 89476 2656492 1835032 5.41 1064428 2352012 337712 05:56:36 05:53:01 29085140 31577088 729576 2.22 89800 2656588 1745044 5.14 1067864 2339536 356 05:56:36 05:54:01 29084716 31576636 729608 2.22 89832 2656580 1745044 5.14 1068332 2339536 12 05:56:36 05:55:01 29090236 31582092 724424 2.20 89880 2656588 1761192 5.19 1062872 2339552 20 05:56:36 05:56:01 28559836 31559008 727920 2.21 123840 3116940 1793828 5.29 1389960 2506628 276 05:56:36 Average: 28979281 31572565 729351 2.22 96566 2748638 1776028 5.23 1130691 2375453 67675 05:56:36 05:56:36 05:51:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:56:36 05:52:01 docker0 16.35 24.65 1.23 242.58 0.00 0.00 0.00 0.00 05:56:36 05:52:01 lo 3.46 3.46 0.34 0.34 0.00 0.00 0.00 0.00 05:56:36 05:52:01 ens3 243.12 145.14 4578.93 41.83 0.00 0.00 0.00 0.00 05:56:36 05:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:36 05:53:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 05:56:36 05:53:01 ens3 10.28 7.12 8.32 3.19 0.00 0.00 0.00 0.00 05:56:36 05:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:36 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:36 05:54:01 ens3 0.80 0.80 0.05 0.07 0.00 0.00 0.00 0.00 05:56:36 05:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:36 05:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:56:36 05:55:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:56:36 05:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:36 05:56:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 05:56:36 05:56:01 ens3 190.73 95.15 2924.66 6.73 0.00 0.00 0.00 0.00 05:56:36 Average: docker0 3.23 4.87 0.24 47.87 0.00 0.00 0.00 0.00 05:56:36 Average: lo 0.90 0.90 0.08 0.08 0.00 0.00 0.00 0.00 05:56:36 Average: ens3 88.51 49.35 1492.21 10.26 0.00 0.00 0.00 0.00 05:56:36 05:56:36 05:56:36 ---> sar -P ALL: 05:56:36 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2569) 07/31/23 _x86_64_ (8 CPU) 05:56:36 05:56:36 05:50:06 LINUX RESTART (8 CPU) 05:56:36 05:56:36 05:51:02 CPU %user %nice %system %iowait %steal %idle 05:56:36 05:52:01 all 8.82 0.00 3.76 2.08 0.06 85.27 05:56:36 05:52:01 0 8.41 0.00 3.98 2.20 0.05 85.36 05:56:36 05:52:01 1 8.56 0.00 3.17 2.93 0.07 85.28 05:56:36 05:52:01 2 9.64 0.00 3.96 4.20 0.05 82.15 05:56:36 05:52:01 3 11.39 0.00 3.43 0.20 0.07 84.90 05:56:36 05:52:01 4 8.99 0.00 5.40 0.03 0.05 85.53 05:56:36 05:52:01 5 9.82 0.00 3.81 0.92 0.05 85.39 05:56:36 05:52:01 6 7.63 0.00 3.19 2.95 0.05 86.19 05:56:36 05:52:01 7 6.15 0.00 3.15 3.24 0.10 87.36 05:56:36 05:53:01 all 0.26 0.00 0.18 1.01 0.01 98.53 05:56:36 05:53:01 0 0.17 0.00 0.38 5.96 0.03 93.45 05:56:36 05:53:01 1 0.30 0.00 0.22 1.55 0.00 97.93 05:56:36 05:53:01 2 0.23 0.00 0.13 0.00 0.02 99.62 05:56:36 05:53:01 3 0.22 0.00 0.12 0.00 0.00 99.67 05:56:36 05:53:01 4 0.15 0.00 0.17 0.00 0.02 99.67 05:56:36 05:53:01 5 0.68 0.00 0.13 0.00 0.00 99.18 05:56:36 05:53:01 6 0.13 0.00 0.15 0.57 0.02 99.13 05:56:36 05:53:01 7 0.22 0.00 0.15 0.00 0.02 99.62 05:56:36 05:54:01 all 0.27 0.00 0.02 0.00 0.01 99.70 05:56:36 05:54:01 0 0.03 0.00 0.05 0.00 0.03 99.88 05:56:36 05:54:01 1 0.02 0.00 0.05 0.02 0.02 99.90 05:56:36 05:54:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:56:36 05:54:01 3 0.02 0.00 0.02 0.00 0.00 99.97 05:56:36 05:54:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:56:36 05:54:01 5 1.98 0.00 0.00 0.00 0.02 98.00 05:56:36 05:54:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:56:36 05:54:01 7 0.03 0.00 0.00 0.00 0.02 99.95 05:56:36 05:55:01 all 0.18 0.00 0.02 0.00 0.01 99.79 05:56:36 05:55:01 0 0.00 0.00 0.03 0.02 0.02 99.93 05:56:36 05:55:01 1 0.02 0.00 0.02 0.02 0.02 99.93 05:56:36 05:55:01 2 0.07 0.00 0.02 0.00 0.00 99.92 05:56:36 05:55:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:56:36 05:55:01 4 0.03 0.00 0.02 0.00 0.02 99.93 05:56:36 05:55:01 5 1.25 0.00 0.05 0.00 0.00 98.70 05:56:36 05:55:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:56:36 05:55:01 7 0.03 0.00 0.03 0.00 0.00 99.93 05:56:36 05:56:01 all 2.47 0.00 1.51 0.64 0.03 95.36 05:56:36 05:56:01 0 2.00 0.00 1.07 1.42 0.02 95.49 05:56:36 05:56:01 1 2.13 0.00 1.51 1.01 0.03 95.32 05:56:36 05:56:01 2 2.77 0.00 1.92 0.13 0.03 95.14 05:56:36 05:56:01 3 3.39 0.00 1.57 0.60 0.03 94.41 05:56:36 05:56:01 4 2.89 0.00 1.37 0.25 0.02 95.47 05:56:36 05:56:01 5 2.21 0.00 2.36 1.57 0.03 93.83 05:56:36 05:56:01 6 1.44 0.00 1.22 0.05 0.02 97.28 05:56:36 05:56:01 7 2.93 0.00 1.02 0.07 0.05 95.92 05:56:36 Average: all 2.37 0.00 1.08 0.74 0.02 95.78 05:56:36 Average: 0 2.09 0.00 1.09 1.92 0.03 94.87 05:56:36 Average: 1 2.18 0.00 0.98 1.10 0.03 95.71 05:56:36 Average: 2 2.51 0.00 1.19 0.85 0.02 95.43 05:56:36 Average: 3 2.96 0.00 1.02 0.16 0.02 95.84 05:56:36 Average: 4 2.38 0.00 1.37 0.06 0.02 96.17 05:56:36 Average: 5 3.15 0.00 1.25 0.49 0.02 95.09 05:56:36 Average: 6 1.81 0.00 0.91 0.70 0.02 96.57 05:56:36 Average: 7 1.85 0.00 0.86 0.65 0.04 96.61 05:56:36 05:56:36 05:56:36