Pull request #486 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 2b47a9a9c00fa5544f5b67708c05c1916b77c526+4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (e61ac07757ea427f5a613b3edbe72d08e311cd26) 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-ssh10485155810469444942.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10195431695100053739.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-486/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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1204415071087904568.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh6007267372811783798.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-486/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-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17352820332255280517.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8616 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit 2b47a9a9c00fa5544f5b67708c05c1916b77c526 Merge succeeded, producing 2b47a9a9c00fa5544f5b67708c05c1916b77c526 Checking out Revision 2b47a9a9c00fa5544f5b67708c05c1916b77c526 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b47a9a9c00fa5544f5b67708c05c1916b77c526 # 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b47a9a9c00fa5544f5b67708c05c1916b77c526 # timeout=10 Commit message: "feat: Add command line/environment flag for commonConfig" First time build. Skipping changelog. > git rev-list --no-walk 8190b95472e9f66bd1e9b7d2bc31b5cf8f6111db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:14:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:14:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:14:57 ========================================================= 04:14:57 EdgeX Global Pipelines Version Info 04:14:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:14:57 ------------------- 04:14:57 stable info: 04:14:57 ------------------- 04:14:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:14:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:14:57 Message: update stable to v1.0.254 04:14:58 ------------------- 04:14:58 experimental info: 04:14:58 ------------------- 04:14:58 Commited By: **** collab-it+edgex@linuxfoundation.org 04:14:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:14:58 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b47a9a [Pipeline] echo 04:14:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:58 provisioning config files... 04:14:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config250371971193328705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:59 ---> docker-login.sh 04:14:59 nexus3.edgexfoundry.org:10001 04:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:59 Configure a credential helper to remove this warning. See 04:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:59 04:14:59 Login Succeeded 04:14:59 nexus3.edgexfoundry.org:10002 04:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:59 Configure a credential helper to remove this warning. See 04:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:59 04:14:59 Login Succeeded 04:14:59 nexus3.edgexfoundry.org:10003 04:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:59 Configure a credential helper to remove this warning. See 04:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:59 04:14:59 Login Succeeded 04:14:59 nexus3.edgexfoundry.org:10004 04:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:59 Configure a credential helper to remove this warning. See 04:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:59 04:14:59 Login Succeeded 04:14:59 docker.io 04:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:00 Configure a credential helper to remove this warning. See 04:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:00 04:15:00 Login Succeeded 04:15:00 ---> docker-login.sh ends [Pipeline] } 04:15:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 04:15:00 + git rev-list -1 --merges 2b47a9a9c00fa5544f5b67708c05c1916b77c526~1..2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] echo 04:15:00 -----------> git rev-list -1 --merges 2b47a9a9c00fa5544f5b67708c05c1916b77c526~1..2b47a9a9c00fa5544f5b67708c05c1916b77c526 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [false] [Pipeline] sh 04:15:01 + git log --format=format:%s -1 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] echo 04:15:01 ========================================================= 04:15:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:01 ========================================================= 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 04:15:01 + git rev-list -1 --merges 2b47a9a9c00fa5544f5b67708c05c1916b77c526~1..2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] echo 04:15:01 -----------> git rev-list -1 --merges 2b47a9a9c00fa5544f5b67708c05c1916b77c526~1..2b47a9a9c00fa5544f5b67708c05c1916b77c526 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [false] [Pipeline] sh 04:15:01 + git log --format=format:%s -1 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] echo 04:15:01 ========================================================= 04:15:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 04:15:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:02 + grep -v github /etc/ssh/ssh_known_hosts 04:15:02 + [ -e /tmp/ssh_known_hosts ] 04:15:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:15:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:15:02 + sudo tee -a /etc/ssh/ssh_known_hosts 04:15:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:02 04:15:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:02 0.1.4: Pulling from edgex-devops/py-git-semver 04:15:02 b85a868b505f: Pulling fs layer 04:15:02 e2be974225ed: Pulling fs layer 04:15:02 339a4e72a1f5: Pulling fs layer 04:15:02 988bab9f4d93: Pulling fs layer 04:15:02 1469e6f7b9e6: Pulling fs layer 04:15:02 eaf3925da568: Pulling fs layer 04:15:02 bab4dde63d76: Pulling fs layer 04:15:02 bde34c3a00c8: Pulling fs layer 04:15:02 b352a97aabf1: Pulling fs layer 04:15:02 4872d77fe225: Pulling fs layer 04:15:02 5851b861e8e6: Pulling fs layer 04:15:02 4872d77fe225: Waiting 04:15:02 5851b861e8e6: Waiting 04:15:02 988bab9f4d93: Waiting 04:15:02 eaf3925da568: Waiting 04:15:02 bab4dde63d76: Waiting 04:15:02 bde34c3a00c8: Waiting 04:15:02 b352a97aabf1: Waiting 04:15:02 1469e6f7b9e6: Waiting 04:15:02 e2be974225ed: Verifying Checksum 04:15:02 e2be974225ed: Download complete 04:15:03 988bab9f4d93: Download complete 04:15:03 339a4e72a1f5: Verifying Checksum 04:15:03 339a4e72a1f5: Download complete 04:15:03 1469e6f7b9e6: Verifying Checksum 04:15:03 1469e6f7b9e6: Download complete 04:15:03 eaf3925da568: Verifying Checksum 04:15:03 eaf3925da568: Download complete 04:15:03 bde34c3a00c8: Verifying Checksum 04:15:03 bde34c3a00c8: Download complete 04:15:03 b352a97aabf1: Download complete 04:15:03 4872d77fe225: Verifying Checksum 04:15:03 4872d77fe225: Download complete 04:15:03 5851b861e8e6: Verifying Checksum 04:15:03 5851b861e8e6: Download complete 04:15:03 b85a868b505f: Download complete 04:15:03 bab4dde63d76: Verifying Checksum 04:15:03 bab4dde63d76: Download complete 04:15:04 b85a868b505f: Pull complete 04:15:04 e2be974225ed: Pull complete 04:15:05 339a4e72a1f5: Pull complete 04:15:05 988bab9f4d93: Pull complete 04:15:05 1469e6f7b9e6: Pull complete 04:15:05 eaf3925da568: Pull complete 04:15:07 bab4dde63d76: Pull complete 04:15:07 bde34c3a00c8: Pull complete 04:15:07 b352a97aabf1: Pull complete 04:15:07 4872d77fe225: Pull complete 04:15:07 5851b861e8e6: Pull complete 04:15:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:07 prd-ubuntu20.04-docker-8c-8g-8616 does not seem to be running inside a container 04:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:15:10 $ docker top 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 -eo pid,comm 04:15:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:15:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:10 [ssh-agent] Looking for ssh-agent implementation... 04:15:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:10 $ docker exec 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 ssh-agent 04:15:10 SSH_AUTH_SOCK=/tmp/ssh-7yEF6y8N1ltB/agent.34 04:15:10 SSH_AGENT_PID=40 04:15:10 Running ssh-add (command line suppressed) 04:15:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_14827250696414892207.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_14827250696414892207.key) 04:15:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:11 + git tag --points-at HEAD [Pipeline] } 04:15:11 $ docker exec --env ******** --env ******** 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 ssh-agent -k 04:15:11 unset SSH_AUTH_SOCK; 04:15:11 unset SSH_AGENT_PID; 04:15:11 echo Agent pid 40 killed; 04:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:11 [ssh-agent] Looking for ssh-agent implementation... 04:15:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:11 $ docker exec 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 ssh-agent 04:15:11 SSH_AUTH_SOCK=/tmp/ssh-dE3iRQami62i/agent.72 04:15:11 SSH_AGENT_PID=78 04:15:11 Running ssh-add (command line suppressed) 04:15:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_10274615784189888834.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_10274615784189888834.key) 04:15:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:12 + git semver init 04:15:12 2023-10-06 04:15:12,207 [run_init] DEBUG init version:0.0.0 force:False 04:15:12 2023-10-06 04:15:12,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver 04:15:12 2023-10-06 04:15:12,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver 04:15:12 2023-10-06 04:15:12,208 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486, universal_newlines=False, shell=None, istream=None) 04:15:13 2023-10-06 04:15:13,055 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude 04:15:13 2023-10-06 04:15:13,055 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 with force:False 04:15:13 2023-10-06 04:15:13,055 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 04:15:13 2023-10-06 04:15:13,060 [execute] INFO git cat-file --batch-check 04:15:13 2023-10-06 04:15:13,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) 04:15:13 2023-10-06 04:15:13,066 [execute] INFO git cat-file --batch 04:15:13 2023-10-06 04:15:13,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) 04:15:13 2023-10-06 04:15:13,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 04:15:13 0.0.0 [Pipeline] } 04:15:13 $ docker exec --env ******** --env ******** 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 ssh-agent -k 04:15:13 unset SSH_AUTH_SOCK; 04:15:13 unset SSH_AGENT_PID; 04:15:13 echo Agent pid 78 killed; 04:15:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:13 + git semver [Pipeline] } 04:15:13 $ docker stop --time=1 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 04:15:15 $ docker rm -f --volumes 27123427f269538b1ec2b0092831f81a97217c19e1920fdc6c95aeaaabc8c446 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:15 Stashed 1 file(s) [Pipeline] echo 04:15:15 [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 04:15:15 provisioning config files... 04:15:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config18049580297675673500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:16 ---> docker-login.sh 04:15:16 nexus3.edgexfoundry.org:10001 04:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:16 Configure a credential helper to remove this warning. See 04:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:16 04:15:16 Login Succeeded 04:15:16 nexus3.edgexfoundry.org:10002 04:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:16 Configure a credential helper to remove this warning. See 04:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:16 04:15:16 Login Succeeded 04:15:16 nexus3.edgexfoundry.org:10003 04:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:16 Configure a credential helper to remove this warning. See 04:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:16 04:15:16 Login Succeeded 04:15:16 nexus3.edgexfoundry.org:10004 04:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:16 Configure a credential helper to remove this warning. See 04:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:16 04:15:16 Login Succeeded 04:15:16 docker.io 04:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:16 Configure a credential helper to remove this warning. See 04:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:16 04:15:16 Login Succeeded 04:15:16 ---> docker-login.sh ends [Pipeline] } 04:15:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:17 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 04:15:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:17 ========================================================= 04:15:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 04:15:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:17 + 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 . 04:15:17 Sending build context to Docker daemon 4.958MB 04:15:17 Step 1/21 : ARG BASE=alpine:3.16 04:15:17 Step 2/21 : FROM ${BASE} as builder 04:15:17 latest: Pulling from edgex-devops/edgex-gcc-base 04:15:17 91d30c5bc195: Pulling fs layer 04:15:17 316e5a4585fb: Pulling fs layer 04:15:17 91d30c5bc195: Verifying Checksum 04:15:17 91d30c5bc195: Download complete 04:15:17 91d30c5bc195: Pull complete 04:15:18 316e5a4585fb: Verifying Checksum 04:15:18 316e5a4585fb: Download complete 04:15:20 316e5a4585fb: Pull complete 04:15:21 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 04:15:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 04:15:21 ---> e83ffa357ff4 04:15:21 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 04:15:22 ---> Running in 13ab060ba11d 04:15:22 Connecting to iotech.jfrog.io (54.73.4.50:443) 04:15:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:15:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:15:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:15:23 Removing intermediate container 13ab060ba11d 04:15:23 ---> 713bca59a41b 04:15:23 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:15:23 ---> Running in 182bcb1b424c 04:15:24 Removing intermediate container 182bcb1b424c 04:15:24 ---> eed7ba681e2c 04:15:24 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 04:15:24 ---> Running in ffa36a363d21 04:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:15:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:15:25 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:15:25 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:15:25 (3/16) Installing hiredis (1.0.2-r0) 04:15:25 (4/16) Installing hiredis-dev (1.0.2-r0) 04:15:25 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 04:15:25 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:15:26 (7/16) Installing libcbor (0.9.0-r1) 04:15:26 (8/16) Installing libcbor-dev (0.9.0-r1) 04:15:26 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 04:15:26 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:15:26 (11/16) Installing libblkid (2.38-r1) 04:15:26 (12/16) Installing libuuid (2.38-r1) 04:15:26 (13/16) Installing libfdisk (2.38-r1) 04:15:26 (14/16) Installing libmount (2.38-r1) 04:15:27 (15/16) Installing libsmartcols (2.38-r1) 04:15:27 (16/16) Installing util-linux-dev (2.38-r1) 04:15:27 Executing busybox-1.35.0-r17.trigger 04:15:27 OK: 280 MiB in 90 packages 04:15:27 Removing intermediate container ffa36a363d21 04:15:27 ---> 887cbb5f632e 04:15:27 Step 6/21 : RUN mkdir /tmp/sdk 04:15:27 ---> Running in 022fa970a16b 04:15:28 Removing intermediate container 022fa970a16b 04:15:28 ---> 2935b05d9184 04:15:28 Step 7/21 : COPY VERSION /tmp/sdk 04:15:28 ---> 24ac74a38667 04:15:28 Step 8/21 : COPY src /tmp/sdk/src 04:15:28 ---> 0dc99a8f47e2 04:15:28 Step 9/21 : COPY include /tmp/sdk/include 04:15:28 ---> c08767ffcb37 04:15:28 Step 10/21 : COPY scripts /tmp/sdk/scripts 04:15:28 ---> 0c9e8e2ed04b 04:15:28 Step 11/21 : COPY LICENSE /tmp/sdk 04:15:29 ---> 6266692bde6e 04:15:29 Step 12/21 : COPY Attribution.txt /tmp/sdk 04:15:29 ---> 1fe0d4dca2e6 04:15:29 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 04:15:29 ---> Running in a53a8de9a721 04:15:29 + CPPCHECK=false 04:15:29 + DOCGEN=false 04:15:29 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 04:15:29 + '[' 0 -gt 0 ] 04:15:29 + readlink -f ./scripts/build.sh 04:15:29 + dirname /tmp/sdk/scripts/build.sh 04:15:29 + dirname /tmp/sdk/scripts 04:15:29 + ROOT=/tmp/sdk 04:15:29 + cd /tmp/sdk 04:15:29 + mkdir -p /tmp/sdk/build/release 04:15:29 + cd /tmp/sdk/build/release 04:15:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 04:15:29 -- The C compiler identification is GNU 11.2.1 04:15:29 -- Detecting C compiler ABI info 04:15:29 -- Detecting C compiler ABI info - done 04:15:29 -- Check for working C compiler: /usr/bin/cc - skipped 04:15:29 -- Detecting C compile features 04:15:29 -- Detecting C compile features - done 04:15:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:15:29 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:15:29 -- Found LIBYAML: /usr/lib/libyaml.so 04:15:29 -- Found LIBUUID: /usr/lib/libuuid.so 04:15:29 -- Found LIBCBOR: /usr/lib/libcbor.so 04:15:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:15:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:15:29 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:15:29 -- /opt/iotech/iot/1.5/include 04:15:29 -- C SDK 0.0.0 for Linux 04:15:29 -- Performing Test CSDK_HAVE_ATOMIC 04:15:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:15:29 -- Found Curses: /usr/lib/libcurses.so 04:15:29 -- Configuring done 04:15:29 -- Generating done 04:15:29 -- Build files have been written to: /tmp/sdk/build/release 04:15:29 + make all package 04:15:29 + tee release.log 04:15:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:15:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:15:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:15:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:15:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:15:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:15:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:15:30 Still waiting to schedule task 04:15:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8615’ 04:15:31 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 04:15:31 /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:15:31 297 | while (privateConfig) 04:15:31 | ^~~~~~~~~~~~~ 04:15:31 /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:15:31 274 | while (result) 04:15:31 | ^~~~~~ 04:15:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:15:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:15:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:15:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:15:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:15:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:15:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:15:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:15:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:15:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:15:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:15:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:15:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:15:33 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:15:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:15:34 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:15:34 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:15:34 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:15:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:15:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:15:35 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:15:35 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:15:35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:15:35 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:15:35 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:15:35 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:15:35 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:15:35 | ^~~~~~~~~~~~~~~~~~~~ 04:15:35 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:15:35 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:15:35 | ^ 04:15:35 /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] 04:15:35 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 04:15:35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 04:15:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:15:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:15:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:15:36 [ 68%] Linking C shared library libcsdk.so 04:15:36 [ 68%] Built target csdk 04:15:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:15:36 [ 72%] Linking C executable template 04:15:36 [ 72%] Built target template 04:15:36 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:15:36 [ 76%] Linking C executable device-counter 04:15:36 [ 76%] Built target device-counter 04:15:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:15:36 [ 80%] Linking C executable device-random 04:15:37 [ 80%] Built target device-random 04:15:37 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:15:37 [ 84%] Linking C executable device-gyro 04:15:37 [ 84%] Built target device-gyro 04:15:37 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:15:37 [ 88%] Linking C executable device-bitfields 04:15:37 [ 88%] Built target device-bitfields 04:15:37 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:15:37 [ 92%] Linking C executable template-discovery 04:15:37 [ 92%] Built target template-discovery 04:15:37 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:15:37 [ 96%] Linking C executable device-file 04:15:37 [ 96%] Built target device-file 04:15:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:15:37 [100%] Linking C executable device-terminal 04:15:37 [100%] Built target device-terminal 04:15:37 Run CPack packaging tool... 04:15:38 CPack: Create package using TGZ 04:15:38 CPack: Install projects 04:15:38 CPack: - Run preinstall target for: Csdk 04:15:38 CPack: - Install project: Csdk [] 04:15:38 CPack: Create package 04:15:38 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 04:15:38 + '[' false '=' true ] 04:15:38 + '[' false '=' true ] 04:15:38 + mkdir -p /tmp/sdk/build/debug 04:15:38 + cd /tmp/sdk/build/debug 04:15:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 04:15:38 -- The C compiler identification is GNU 11.2.1 04:15:38 -- Detecting C compiler ABI info 04:15:38 -- Detecting C compiler ABI info - done 04:15:38 -- Check for working C compiler: /usr/bin/cc - skipped 04:15:38 -- Detecting C compile features 04:15:38 -- Detecting C compile features - done 04:15:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 04:15:38 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 04:15:38 -- Found LIBYAML: /usr/lib/libyaml.so 04:15:38 -- Found LIBUUID: /usr/lib/libuuid.so 04:15:38 -- Found LIBCBOR: /usr/lib/libcbor.so 04:15:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 04:15:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 04:15:38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 04:15:38 -- /opt/iotech/iot/1.5/include 04:15:38 -- C SDK 0.0.0 for Linux 04:15:38 -- Performing Test CSDK_HAVE_ATOMIC 04:15:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 04:15:38 -- Found Curses: /usr/lib/libcurses.so 04:15:38 -- Configuring done 04:15:38 -- Generating done 04:15:38 -- Build files have been written to: /tmp/sdk/build/debug 04:15:38 + make 04:15:38 + tee debug.log 04:15:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 04:15:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 04:15:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 04:15:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 04:15:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 04:15:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 04:15:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 04:15:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 04:15:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 04:15:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 04:15:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 04:15:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 04:15:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 04:15:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 04:15:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 04:15:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 04:15:39 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 04:15:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 04:15:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 04:15:40 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 04:15:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 04:15:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 04:15:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 04:15:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 04:15:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 04:15:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 04:15:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 04:15:41 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 04:15:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 04:15:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 04:15:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 04:15:41 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 04:15:41 /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:15:41 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); 04:15:41 | ^~~~~~~~~~~~~~~~~~~~ 04:15:41 /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 04:15:41 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); 04:15:41 | ^ 04:15:41 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 04:15:41 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 04:15:41 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 04:15:41 [ 68%] Linking C shared library libcsdk.so 04:15:41 [ 68%] Built target csdk 04:15:41 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 04:15:41 [ 72%] Linking C executable template 04:15:41 [ 72%] Built target template 04:15:41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 04:15:41 [ 76%] Linking C executable device-counter 04:15:42 [ 76%] Built target device-counter 04:15:42 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 04:15:42 [ 80%] Linking C executable device-random 04:15:42 [ 80%] Built target device-random 04:15:42 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 04:15:42 [ 84%] Linking C executable device-gyro 04:15:42 [ 84%] Built target device-gyro 04:15:42 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 04:15:42 [ 88%] Linking C executable device-bitfields 04:15:42 [ 88%] Built target device-bitfields 04:15:42 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 04:15:42 [ 92%] Linking C executable template-discovery 04:15:42 [ 92%] Built target template-discovery 04:15:42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 04:15:42 [ 96%] Linking C executable device-file 04:15:43 [ 96%] Built target device-file 04:15:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 04:15:43 [100%] Linking C executable device-terminal 04:15:43 [100%] Built target device-terminal 04:15:43 make: Entering directory '/tmp/sdk/build/release' 04:15:43 make[1]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 68%] Built target csdk 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 72%] Built target template 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 76%] Built target device-counter 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 80%] Built target device-random 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 84%] Built target device-gyro 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 88%] Built target device-bitfields 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 92%] Built target template-discovery 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [ 96%] Built target device-file 04:15:43 make[2]: Entering directory '/tmp/sdk/build/release' 04:15:43 make[2]: Leaving directory '/tmp/sdk/build/release' 04:15:43 [100%] Built target device-terminal 04:15:43 make[1]: Leaving directory '/tmp/sdk/build/release' 04:15:43 Install the project... 04:15:43 -- Install configuration: "Release" 04:15:43 -- Installing: /usr/local/lib/libcsdk.so 04:15:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 04:15:43 -- Installing: /usr/local/include 04:15:43 -- Installing: /usr/local/include/devsdk 04:15:43 -- Installing: /usr/local/include/devsdk/devsdk.h 04:15:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 04:15:43 -- Installing: /usr/local/include/edgex 04:15:43 -- Installing: /usr/local/include/edgex/edgex.h 04:15:43 -- Installing: /usr/local/include/edgex/devices.h 04:15:43 -- Installing: /usr/local/include/edgex/profiles.h 04:15:43 -- Installing: /usr/local/include/edgex/edgex-base.h 04:15:43 -- Installing: /usr/local/include/edgex/rest-server.h 04:15:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 04:15:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 04:15:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 04:15:43 make: Leaving directory '/tmp/sdk/build/release' 04:15:43 Removing intermediate container a53a8de9a721 04:15:43 ---> 626861b55654 04:15:43 Step 14/21 : FROM ${BASE} 04:15:43 ---> e83ffa357ff4 04:15:43 Step 15/21 : LABEL maintainer="IOTech " 04:15:43 ---> Running in 2e840164fe09 04:15:43 Removing intermediate container 2e840164fe09 04:15:43 ---> 3f3206aa92b4 04:15:43 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 04:15:44 ---> Running in f40c06d28967 04:15:44 Connecting to iotech.jfrog.io (34.246.139.145:443) 04:15:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:15:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:15:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:15:44 Removing intermediate container f40c06d28967 04:15:44 ---> fc3f3d7a32c8 04:15:44 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:15:44 ---> Running in c709d9e0f8cc 04:15:45 Removing intermediate container c709d9e0f8cc 04:15:45 ---> 9388f085a319 04:15:45 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 04:15:45 ---> Running in 81148ce210f3 04:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:15:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:15:46 (1/7) Installing curl (8.3.0-r0) 04:15:46 (2/7) Installing hiredis (1.0.2-r0) 04:15:46 (3/7) Installing hiredis-dev (1.0.2-r0) 04:15:46 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 04:15:47 (5/7) Installing libcbor (0.9.0-r1) 04:15:47 (6/7) Installing libuuid (2.38-r1) 04:15:47 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 04:15:48 Executing busybox-1.35.0-r17.trigger 04:15:48 OK: 276 MiB in 83 packages 04:15:48 Removing intermediate container 81148ce210f3 04:15:48 ---> 5d7af0be13c0 04:15:48 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 04:15:48 ---> 1150e68af1a4 04:15:48 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 04:15:48 ---> bf1e0d268ba8 04:15:48 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 04:15:48 ---> 0be29cb674a6 04:15:48 Successfully built 0be29cb674a6 04:15:48 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 04:15:48 + docker inspect -f . ci-base-image-x86_64 04:15:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:49 prd-ubuntu20.04-docker-8c-8g-8616 does not seem to be running inside a container 04:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:15:49 $ docker top 797db6c300d5267a411070617ad059bbb55ff71d817e5c21c6f1bb40c049d1e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:49 + make test 04:15:49 echo "make test" 04:15:49 make test [Pipeline] } 04:15:49 $ docker stop --time=1 797db6c300d5267a411070617ad059bbb55ff71d817e5c21c6f1bb40c049d1e6 04:15:51 $ docker rm -f --volumes 797db6c300d5267a411070617ad059bbb55ff71d817e5c21c6f1bb40c049d1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:51 + ls -al . 04:15:51 total 212 04:15:51 drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 04:15 . 04:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:14 .. 04:15:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:15 .git 04:15:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:14 .github 04:15:51 -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:14 .gitignore 04:15:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:15 .semver 04:15:51 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:14 Attribution.txt 04:15:51 -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:14 CHANGES 04:15:51 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:14 Doxyfile 04:15:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:14 GOVERNANCE.md 04:15:51 -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:14 Jenkinsfile 04:15:51 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:14 LICENSE 04:15:51 -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:14 Makefile 04:15:51 -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:14 OWNERS.md 04:15:51 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:14 README.IOT.md 04:15:51 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:14 README.md 04:15:51 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:14 README.v3.md 04:15:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:15 VERSION 04:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:14 docs 04:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:14 include 04:15:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:14 scripts 04:15:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:52 + 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=2b47a9a9c00fa5544f5b67708c05c1916b77c526 --label arch=amd64 --label version=0.0.0 . 04:15:52 Sending build context to Docker daemon 4.958MB 04:15:52 Step 1/17 : ARG BASE=alpine:3.16 04:15:52 Step 2/17 : FROM ${BASE} 04:15:52 ---> 0be29cb674a6 04:15:52 Step 3/17 : LABEL maintainer="IOTech " 04:15:52 ---> Running in 3f36bbd8b73a 04:15:52 Removing intermediate container 3f36bbd8b73a 04:15:52 ---> 589b325fb6fc 04:15:52 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 04:15:52 ---> Running in 1bad57a63319 04:15:52 Connecting to iotech.jfrog.io (54.73.4.50:443) 04:15:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 04:15:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 04:15:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 04:15:53 Removing intermediate container 1bad57a63319 04:15:53 ---> ba16ab6db6c0 04:15:53 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 04:15:53 ---> Running in 4a7e4050e4a4 04:15:53 Removing intermediate container 4a7e4050e4a4 04:15:53 ---> 21e281d23191 04:15:53 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 04:15:53 ---> Running in 6d5522d8ef9f 04:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:15:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 04:15:54 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:15:54 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 04:15:54 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 04:15:55 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 04:15:55 (5/11) Installing libcbor-dev (0.9.0-r1) 04:15:55 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 04:15:55 (7/11) Installing libblkid (2.38-r1) 04:15:55 (8/11) Installing libfdisk (2.38-r1) 04:15:55 (9/11) Installing libmount (2.38-r1) 04:15:55 (10/11) Installing libsmartcols (2.38-r1) 04:15:55 (11/11) Installing util-linux-dev (2.38-r1) 04:15:55 Executing busybox-1.35.0-r17.trigger 04:15:55 OK: 281 MiB in 92 packages 04:15:55 Removing intermediate container 6d5522d8ef9f 04:15:55 ---> c87ebcee60f8 04:15:55 Step 7/17 : COPY VERSION /edgex-c-sdk/ 04:15:56 ---> 8880f0024a72 04:15:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 04:15:56 ---> c3c324085820 04:15:56 Step 9/17 : COPY include /edgex-c-sdk/include/ 04:15:56 ---> 8d9e510871ce 04:15:56 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 04:15:56 ---> c520fa3a0004 04:15:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 04:15:56 ---> ef46143cb613 04:15:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 04:15:56 ---> c1f7313705c8 04:15:56 Step 13/17 : WORKDIR /edgex-c-sdk 04:15:56 ---> Running in 2e65717cafa0 04:15:56 Removing intermediate container 2e65717cafa0 04:15:56 ---> 9228e9183825 04:15:56 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 04:15:56 ---> Running in cbfde0ed6e0a 04:15:56 Removing intermediate container cbfde0ed6e0a 04:15:56 ---> 74403d0c3cb2 04:15:56 Step 15/17 : LABEL arch=amd64 04:15:56 ---> Running in 20996fa435c9 04:15:56 Removing intermediate container 20996fa435c9 04:15:56 ---> 01ce82441bf8 04:15:56 Step 16/17 : LABEL git_sha=2b47a9a9c00fa5544f5b67708c05c1916b77c526 04:15:56 ---> Running in 8646fa727485 04:15:56 Removing intermediate container 8646fa727485 04:15:56 ---> 65b8439f6717 04:15:56 Step 17/17 : LABEL version=0.0.0 04:15:56 ---> Running in ab0e5fcda344 04:15:57 Removing intermediate container ab0e5fcda344 04:15:57 ---> e05d31c1be8e 04:15:57 [Warning] One or more build-args [MAKE ARCH] were not consumed 04:15:57 Successfully built e05d31c1be8e 04:15:57 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 04:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:57 04:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:57 latest: Pulling from edgex-lftools-log-publisher 04:15:57 5eb5b503b376: Pulling fs layer 04:15:57 5c69ac0246d0: Pulling fs layer 04:15:57 ec43610c2a17: Pulling fs layer 04:15:57 3a2ae6a8a46f: Pulling fs layer 04:15:57 33b1e0a273af: Pulling fs layer 04:15:57 5d3b04190fa2: Pulling fs layer 04:15:57 2f39f015ded8: Pulling fs layer 04:15:57 3a2ae6a8a46f: Waiting 04:15:57 5d3b04190fa2: Waiting 04:15:57 33b1e0a273af: Waiting 04:15:57 5c69ac0246d0: Verifying Checksum 04:15:57 5c69ac0246d0: Download complete 04:15:57 3a2ae6a8a46f: Verifying Checksum 04:15:57 3a2ae6a8a46f: Download complete 04:15:57 33b1e0a273af: Verifying Checksum 04:15:57 33b1e0a273af: Download complete 04:15:57 5d3b04190fa2: Verifying Checksum 04:15:57 5d3b04190fa2: Download complete 04:15:57 ec43610c2a17: Verifying Checksum 04:15:57 ec43610c2a17: Download complete 04:15:58 5eb5b503b376: Verifying Checksum 04:15:58 5eb5b503b376: Download complete 04:15:58 2f39f015ded8: Download complete 04:15:59 5eb5b503b376: Pull complete 04:15:59 5c69ac0246d0: Pull complete 04:15:59 ec43610c2a17: Pull complete 04:15:59 3a2ae6a8a46f: Pull complete 04:15:59 33b1e0a273af: Pull complete 04:16:00 5d3b04190fa2: Pull complete 04:16:04 2f39f015ded8: Pull complete 04:16:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:04 prd-ubuntu20.04-docker-8c-8g-8616 does not seem to be running inside a container 04:16:04 $ 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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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 04:16:08 $ docker top aeef02991af7311b37661b3d2cb1d06ba8643d1a3a0881ffd18b5888abf0f2e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:09 ---> job-cost.sh 04:16:09 lf-activate-venv: SKIPPING 04:16:09 INFO: No Stack... 04:16:09 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:10 INFO: Archiving Costs [Pipeline] sh 04:16:10 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv 04:16:10 + cut -d, -f6 [Pipeline] lock 04:16:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-5-stack-cost] 04:16:10 Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-5-stack-cost] did not exist. Created. 04:16:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:10 + echo total: 0.2199999988079071 [Pipeline] stash 04:16:10 Stashed 1 file(s) [Pipeline] } 04:16:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:10 $ docker stop --time=1 aeef02991af7311b37661b3d2cb1d06ba8643d1a3a0881ffd18b5888abf0f2e6 04:16:11 $ docker rm -f --volumes aeef02991af7311b37661b3d2cb1d06ba8643d1a3a0881ffd18b5888abf0f2e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:18:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8617 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws 04:18:10 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 04:18:10 Selected Git installation does not exist. Using Default 04:18:10 The recommended git tool is: NONE 04:18:17 using credential edgex-jenkins-ssh 04:18:17 Cloning the remote Git repository 04:18:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 04:18:17 > git init /w/workspace/device-sdk-c/5 # timeout=10 04:18:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:18:17 > git --version # timeout=10 04:18:17 > git --version # 'git version 2.25.1' 04:18:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:18:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:20 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit 2b47a9a9c00fa5544f5b67708c05c1916b77c526 [Pipeline] } [Pipeline] // ws [Pipeline] } 04:18:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 04:18:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 04:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:18:20 > git config core.sparsecheckout # timeout=10 04:18:20 > git checkout -f 2b47a9a9c00fa5544f5b67708c05c1916b77c526 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:18:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:18:21 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] 04:18:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:18:21 total 16 04:18:21 drwxr-xr-x 3 root root 4096 Oct 6 04:16 . 04:18:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:16 .. 04:18:21 drwxr-xr-x 2 root root 4096 Oct 6 04:16 cost 04:18:21 -rw-r--r-- 1 root root 84 Oct 6 04:16 cost.csv 04:18:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:18:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives 04:18:21 total 16 04:18:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:16 . 04:18:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:16 .. 04:18:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:16 cost 04:18:21 -rw-r--r-- 1 jenkins jenkins 84 Oct 6 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:22 ---> package-listing.sh 04:18:22 ++ facter osfamily 04:18:22 ++ tr '[:upper:]' '[:lower:]' 04:18:22 + OS_FAMILY=debian 04:18:22 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 04:18:22 + START_PACKAGES=/tmp/packages_start.txt 04:18:22 + END_PACKAGES=/tmp/packages_end.txt 04:18:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:22 + PACKAGES=/tmp/packages_start.txt 04:18:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' 04:18:22 + PACKAGES=/tmp/packages_end.txt 04:18:22 + case "${OS_FAMILY}" in 04:18:22 + dpkg -l 04:18:22 + grep '^ii' 04:18:22 + '[' -f /tmp/packages_start.txt ']' 04:18:22 + '[' -f /tmp/packages_end.txt ']' 04:18:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' 04:18:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ 04:18:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [Pipeline] echo 04:18:22 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:23 prd-ubuntu20.04-docker-8c-8g-8616 does not seem to be running inside a container 04:18:23 $ 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-486/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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:24 $ docker top 6cf530b363888201f484ae3624fbe24b2eaa41f9d328dd4f0f8379d5194f206d -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:24 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:24 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:24 + ls /var/log/sa-host 04:18:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:24 provisioning config files... 04:18:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config4343138411960023121tmp [Pipeline] { [Pipeline] echo 04:18:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:25 ---> create-netrc.sh [Pipeline] } 04:18:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:25 ---> python-tools-install.sh [Pipeline] echo 04:18:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:25 ---> sudo-logs.sh 04:18:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:26 ---> job-cost.sh 04:18:26 lf-activate-venv: SKIPPING 04:18:26 DEBUG: total: 0.2199999988079071 04:18:26 INFO: Retrieving Stack Cost... 04:18:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:26 INFO: Archiving Costs [Pipeline] echo 04:18:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:27 ---> logs-deploy.sh 04:18:27 lf-activate-venv: SKIPPING 04:18:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/5 04:18:27 INFO: archiving workspace using pattern(s): 04:18:27 Archives upload complete. 04:18:28 INFO: archiving logs to Nexus 04:18:28 ---> uname -a: 04:18:28 Linux prd-ubuntu20-04-docker-8c-8g-8616 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:18:28 04:18:28 04:18:28 ---> lscpu: 04:18:28 Architecture: x86_64 04:18:28 CPU op-mode(s): 32-bit, 64-bit 04:18:28 Byte Order: Little Endian 04:18:28 Address sizes: 40 bits physical, 48 bits virtual 04:18:28 CPU(s): 8 04:18:28 On-line CPU(s) list: 0-7 04:18:28 Thread(s) per core: 1 04:18:28 Core(s) per socket: 1 04:18:28 Socket(s): 8 04:18:28 NUMA node(s): 1 04:18:28 Vendor ID: AuthenticAMD 04:18:28 CPU family: 23 04:18:28 Model: 49 04:18:28 Model name: AMD EPYC-Rome Processor 04:18:28 Stepping: 0 04:18:28 CPU MHz: 2800.000 04:18:28 BogoMIPS: 5600.00 04:18:28 Virtualization: AMD-V 04:18:28 Hypervisor vendor: KVM 04:18:28 Virtualization type: full 04:18:28 L1d cache: 256 KiB 04:18:28 L1i cache: 256 KiB 04:18:28 L2 cache: 4 MiB 04:18:28 L3 cache: 128 MiB 04:18:28 NUMA node0 CPU(s): 0-7 04:18:28 Vulnerability Itlb multihit: Not affected 04:18:28 Vulnerability L1tf: Not affected 04:18:28 Vulnerability Mds: Not affected 04:18:28 Vulnerability Meltdown: Not affected 04:18:28 Vulnerability Mmio stale data: Not affected 04:18:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:18:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:18:28 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:18:28 Vulnerability Srbds: Not affected 04:18:28 Vulnerability Tsx async abort: Not affected 04:18:28 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 04:18:28 04:18:28 04:18:28 ---> nproc: 04:18:28 8 04:18:28 04:18:28 04:18:28 ---> df -h: 04:18:28 Filesystem Size Used Avail Use% Mounted on 04:18:28 overlay 155G 11G 145G 7% / 04:18:28 tmpfs 64M 0 64M 0% /dev 04:18:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:18:28 shm 64M 0 64M 0% /dev/shm 04:18:28 /dev/vda1 155G 11G 145G 7% /facter-os 04:18:28 04:18:28 04:18:28 ---> sar -b -r -n DEV: 04:18:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8616) 10/06/23 _x86_64_ (8 CPU) 04:18:28 04:18:28 04:14:15 LINUX RESTART (8 CPU) 04:18:28 04:18:28 04:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:18:28 04:16:01 218.50 3.65 214.85 0.00 481.12 25989.14 0.00 04:18:28 04:17:01 30.68 0.15 30.53 0.00 4.00 16438.74 0.00 04:18:28 04:18:01 1.22 0.00 1.22 0.00 0.00 13.60 0.00 04:18:28 Average: 83.46 1.27 82.20 0.00 161.71 14147.16 0.00 04:18:28 04:18:28 04:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:18:28 04:16:01 29070288 31527884 777252 2.36 81360 2646356 2005596 5.91 1097312 2338876 448264 04:18:28 04:17:01 29072892 31562668 738248 2.25 89816 2655432 1747048 5.15 1079164 2335260 228 04:18:28 04:18:01 29073828 31563688 737084 2.24 89852 2655436 1747048 5.15 1079428 2335284 12 04:18:28 Average: 29072336 31551413 750861 2.28 87009 2652408 1833231 5.40 1085301 2336473 149501 04:18:28 04:18:28 04:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:18:28 04:16:01 lo 4.87 4.87 0.48 0.48 0.00 0.00 0.00 0.00 04:18:28 04:16:01 ens3 305.63 192.07 6127.98 47.04 0.00 0.00 0.00 0.00 04:18:28 04:16:01 docker0 21.58 30.44 1.51 239.44 0.00 0.00 0.00 0.00 04:18:28 04:17:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 04:18:28 04:17:01 ens3 12.93 9.48 12.72 4.81 0.00 0.00 0.00 0.00 04:18:28 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:28 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:28 04:18:01 ens3 1.48 0.98 0.19 0.15 0.00 0.00 0.00 0.00 04:18:28 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:18:28 Average: lo 1.71 1.71 0.17 0.17 0.00 0.00 0.00 0.00 04:18:28 Average: ens3 106.68 67.51 2046.96 17.33 0.00 0.00 0.00 0.00 04:18:28 Average: docker0 7.19 10.15 0.50 79.81 0.00 0.00 0.00 0.00 04:18:28 04:18:28 04:18:28 ---> sar -P ALL: 04:18:28 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8616) 10/06/23 _x86_64_ (8 CPU) 04:18:28 04:18:28 04:14:15 LINUX RESTART (8 CPU) 04:18:28 04:18:28 04:15:01 CPU %user %nice %system %iowait %steal %idle 04:18:28 04:16:01 all 9.29 0.00 3.89 1.71 0.07 85.04 04:18:28 04:16:01 0 7.38 0.00 4.19 0.25 0.07 88.11 04:18:28 04:16:01 1 10.83 0.00 4.38 0.35 0.07 84.37 04:18:28 04:16:01 2 10.31 0.00 3.71 1.07 0.05 84.87 04:18:28 04:16:01 3 10.14 0.00 4.01 0.44 0.07 85.34 04:18:28 04:16:01 4 9.38 0.00 4.06 6.67 0.07 79.82 04:18:28 04:16:01 5 8.37 0.00 4.04 1.20 0.07 86.33 04:18:28 04:16:01 6 10.96 0.00 3.83 3.53 0.07 81.60 04:18:28 04:16:01 7 6.97 0.00 2.87 0.15 0.07 89.94 04:18:28 04:17:01 all 0.80 0.00 0.42 0.92 0.01 97.84 04:18:28 04:17:01 0 0.82 0.00 0.35 0.00 0.03 98.80 04:18:28 04:17:01 1 0.87 0.00 0.35 0.02 0.00 98.77 04:18:28 04:17:01 2 0.80 0.00 0.40 0.02 0.03 98.74 04:18:28 04:17:01 3 0.68 0.00 0.50 0.70 0.00 98.11 04:18:28 04:17:01 4 0.85 0.00 0.33 0.05 0.00 98.76 04:18:28 04:17:01 5 0.67 0.00 0.74 6.60 0.02 91.98 04:18:28 04:17:01 6 1.10 0.00 0.38 0.00 0.00 98.51 04:18:28 04:17:01 7 0.63 0.00 0.32 0.00 0.02 99.03 04:18:28 04:18:01 all 0.02 0.00 0.01 0.00 0.01 99.96 04:18:28 04:18:01 0 0.02 0.00 0.05 0.00 0.02 99.92 04:18:28 04:18:01 1 0.02 0.00 0.00 0.00 0.00 99.98 04:18:28 04:18:01 2 0.02 0.00 0.00 0.00 0.00 99.98 04:18:28 04:18:01 3 0.02 0.00 0.00 0.02 0.02 99.95 04:18:28 04:18:01 4 0.05 0.00 0.02 0.00 0.02 99.92 04:18:28 04:18:01 5 0.00 0.00 0.02 0.02 0.00 99.97 04:18:28 04:18:01 6 0.02 0.00 0.00 0.00 0.00 99.98 04:18:28 04:18:01 7 0.02 0.00 0.00 0.00 0.00 99.98 04:18:28 Average: all 3.35 0.00 1.43 0.88 0.03 94.31 04:18:28 Average: 0 2.73 0.00 1.52 0.08 0.04 95.63 04:18:28 Average: 1 3.89 0.00 1.57 0.12 0.02 94.39 04:18:28 Average: 2 3.69 0.00 1.36 0.36 0.03 94.57 04:18:28 Average: 3 3.59 0.00 1.50 0.38 0.03 94.50 04:18:28 Average: 4 3.41 0.00 1.46 2.23 0.03 92.88 04:18:28 Average: 5 2.99 0.00 1.59 2.61 0.03 92.78 04:18:28 Average: 6 4.01 0.00 1.40 1.17 0.02 93.40 04:18:28 Average: 7 2.52 0.00 1.05 0.05 0.03 96.34 04:18:28 04:18:28 04:18:28