Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27fedd9bcb6d1ae5add1205cf1cd517d095e120a 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-ssh16002848943555943924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh1014827936442886092.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7195522415772551550.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh10601247098681094605.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10011791776072677094.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-40922 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 27fedd9bcb6d1ae5add1205cf1cd517d095e120a (main) Commit message: "fix: Follow the same transformation order as the Go Device SDK (#557)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 27fedd9bcb6d1ae5add1205cf1cd517d095e120a # timeout=10 > git rev-list --no-walk 908f3fa07416d3ea18f1ede01f57b646f71c3f8f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:03:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:03:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:03:14 ========================================================= 17:03:14 EdgeX Global Pipelines Version Info 17:03:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:03:15 ------------------- 17:03:15 stable info: 17:03:15 ------------------- 17:03:15 Commited By: Cherry Wang cherry@iotechsys.com 17:03:15 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 17:03:15 Message: update stable to v1.0.271 17:03:15 ------------------- 17:03:15 experimental info: 17:03:15 ------------------- 17:03:15 Commited By: **** collab-it+edgex@linuxfoundation.org 17:03:15 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 17:03:15 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27fedd9bcb6d1ae5add1205cf1cd517d095e120a [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27fedd9 [Pipeline] echo 17:03:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:16 provisioning config files... 17:03:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1618379068440283730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:16 ---> ****-login.sh 17:03:16 nexus3.edgexfoundry.org:10001 17:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:16 Configure a credential helper to remove this warning. See 17:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:16 17:03:16 Login Succeeded 17:03:16 nexus3.edgexfoundry.org:10002 17:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:16 Configure a credential helper to remove this warning. See 17:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:16 17:03:16 Login Succeeded 17:03:16 nexus3.edgexfoundry.org:10003 17:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:16 Configure a credential helper to remove this warning. See 17:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:16 17:03:16 Login Succeeded 17:03:16 nexus3.edgexfoundry.org:10004 17:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:17 Configure a credential helper to remove this warning. See 17:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:17 17:03:17 Login Succeeded 17:03:17 ****.io 17:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:17 Configure a credential helper to remove this warning. See 17:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:17 17:03:17 Login Succeeded 17:03:17 ---> ****-login.sh ends [Pipeline] } 17:03:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:03:17 + git rev-list -1 --merges 27fedd9bcb6d1ae5add1205cf1cd517d095e120a~1..27fedd9bcb6d1ae5add1205cf1cd517d095e120a [Pipeline] echo 17:03:17 -----------> git rev-list -1 --merges 27fedd9bcb6d1ae5add1205cf1cd517d095e120a~1..27fedd9bcb6d1ae5add1205cf1cd517d095e120a 27fedd9bcb6d1ae5add1205cf1cd517d095e120a [false] [Pipeline] sh 17:03:18 + git log --format=format:%s -1 27fedd9bcb6d1ae5add1205cf1cd517d095e120a [Pipeline] echo 17:03:18 ========================================================= 17:03:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:03:18 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:03:18 + git rev-list -1 --merges 27fedd9bcb6d1ae5add1205cf1cd517d095e120a~1..27fedd9bcb6d1ae5add1205cf1cd517d095e120a [Pipeline] echo 17:03:18 -----------> git rev-list -1 --merges 27fedd9bcb6d1ae5add1205cf1cd517d095e120a~1..27fedd9bcb6d1ae5add1205cf1cd517d095e120a 27fedd9bcb6d1ae5add1205cf1cd517d095e120a [false] [Pipeline] sh 17:03:18 + git log --format=format:%s -1 27fedd9bcb6d1ae5add1205cf1cd517d095e120a [Pipeline] echo 17:03:18 ========================================================= 17:03:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:03:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:03:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:03:19 + grep -v github /etc/ssh/ssh_known_hosts 17:03:19 + [ -e /tmp/ssh_known_hosts ] 17:03:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:03:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:03:19 + sudo tee -a /etc/ssh/ssh_known_hosts 17:03:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:03:19 17:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:03:20 0.1.4: Pulling from edgex-devops/py-git-semver 17:03:20 b85a868b505f: Pulling fs layer 17:03:20 e2be974225ed: Pulling fs layer 17:03:20 339a4e72a1f5: Pulling fs layer 17:03:20 988bab9f4d93: Pulling fs layer 17:03:20 1469e6f7b9e6: Pulling fs layer 17:03:20 eaf3925da568: Pulling fs layer 17:03:20 bab4dde63d76: Pulling fs layer 17:03:20 bde34c3a00c8: Pulling fs layer 17:03:20 b352a97aabf1: Pulling fs layer 17:03:20 4872d77fe225: Pulling fs layer 17:03:20 5851b861e8e6: Pulling fs layer 17:03:20 1469e6f7b9e6: Waiting 17:03:20 eaf3925da568: Waiting 17:03:20 bab4dde63d76: Waiting 17:03:20 5851b861e8e6: Waiting 17:03:20 4872d77fe225: Waiting 17:03:20 b352a97aabf1: Waiting 17:03:20 bde34c3a00c8: Waiting 17:03:20 988bab9f4d93: Waiting 17:03:20 e2be974225ed: Download complete 17:03:20 988bab9f4d93: Verifying Checksum 17:03:20 988bab9f4d93: Download complete 17:03:20 1469e6f7b9e6: Verifying Checksum 17:03:20 1469e6f7b9e6: Download complete 17:03:20 eaf3925da568: Download complete 17:03:20 339a4e72a1f5: Verifying Checksum 17:03:20 339a4e72a1f5: Download complete 17:03:20 bde34c3a00c8: Verifying Checksum 17:03:20 bde34c3a00c8: Download complete 17:03:20 b352a97aabf1: Verifying Checksum 17:03:20 b352a97aabf1: Download complete 17:03:20 4872d77fe225: Verifying Checksum 17:03:20 4872d77fe225: Download complete 17:03:20 5851b861e8e6: Download complete 17:03:20 b85a868b505f: Verifying Checksum 17:03:20 b85a868b505f: Download complete 17:03:20 bab4dde63d76: Verifying Checksum 17:03:20 bab4dde63d76: Download complete 17:03:21 b85a868b505f: Pull complete 17:03:21 e2be974225ed: Pull complete 17:03:22 339a4e72a1f5: Pull complete 17:03:22 988bab9f4d93: Pull complete 17:03:22 1469e6f7b9e6: Pull complete 17:03:22 eaf3925da568: Pull complete 17:03:24 bab4dde63d76: Pull complete 17:03:24 bde34c3a00c8: Pull complete 17:03:24 b352a97aabf1: Pull complete 17:03:24 4872d77fe225: Pull complete 17:03:24 5851b861e8e6: Pull complete 17:03:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:03:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:03:24 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:03:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:03:26 $ docker top 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 -eo pid,comm 17:03:26 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). 17:03:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:26 [ssh-agent] Looking for ssh-agent implementation... 17:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:26 $ docker exec 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 ssh-agent 17:03:26 SSH_AUTH_SOCK=/tmp/ssh-UxILLEQFsrvt/agent.32 17:03:26 SSH_AGENT_PID=38 17:03:26 Running ssh-add (command line suppressed) 17:03:26 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9020031048758454277.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9020031048758454277.key) 17:03:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:26 + git tag --points-at HEAD [Pipeline] } 17:03:26 $ docker exec --env ******** --env ******** 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 ssh-agent -k 17:03:26 unset SSH_AUTH_SOCK; 17:03:26 unset SSH_AGENT_PID; 17:03:26 echo Agent pid 38 killed; 17:03:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:03:26 [ssh-agent] Looking for ssh-agent implementation... 17:03:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:03:27 $ docker exec 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 ssh-agent 17:03:27 SSH_AUTH_SOCK=/tmp/ssh-5gECUffU6I5v/agent.71 17:03:27 SSH_AGENT_PID=77 17:03:27 Running ssh-add (command line suppressed) 17:03:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16956293774958111081.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16956293774958111081.key) 17:03:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:03:27 + git semver init 17:03:27 2025-03-11 17:03:27,775 [run_init] DEBUG init version:0.0.0 force:False 17:03:27 2025-03-11 17:03:27,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 17:03:27 2025-03-11 17:03:27,776 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 17:03:27 2025-03-11 17:03:27,776 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 17:03:28 2025-03-11 17:03:28,561 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 17:03:28 2025-03-11 17:03:28,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 17:03:28 2025-03-11 17:03:28,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:03:28 2025-03-11 17:03:28,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:03:28 4.0.0-dev.22 [Pipeline] } 17:03:28 $ docker exec --env ******** --env ******** 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 ssh-agent -k 17:03:28 unset SSH_AUTH_SOCK; 17:03:28 unset SSH_AGENT_PID; 17:03:28 echo Agent pid 77 killed; 17:03:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:03:29 + git semver [Pipeline] } 17:03:29 $ docker stop --time=1 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 17:03:30 $ docker rm -f --volumes 10add640ab8d720bc70242089ee4864a7a1c585239ff6a189e17cad25a233104 [Pipeline] // withDockerContainer [Pipeline] sh 17:03:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:03:31 Stashed 1 file(s) [Pipeline] echo 17:03:31 [edgeXSemver]: initialized semver on version 4.0.0-dev.22 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:03:31 provisioning config files... [Pipeline] // stage [Pipeline] } 17:03:31 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16863306748542575980tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 17:03:31 ---> ****-login.sh 17:03:31 nexus3.edgexfoundry.org:10001 17:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:31 Configure a credential helper to remove this warning. See 17:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:31 17:03:31 Login Succeeded 17:03:31 nexus3.edgexfoundry.org:10002 17:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:31 Configure a credential helper to remove this warning. See 17:03:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:31 17:03:31 Login Succeeded 17:03:31 nexus3.edgexfoundry.org:10003 17:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:32 Configure a credential helper to remove this warning. See 17:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:32 17:03:32 Login Succeeded 17:03:32 nexus3.edgexfoundry.org:10004 17:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:32 Configure a credential helper to remove this warning. See 17:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:32 17:03:32 Login Succeeded 17:03:32 ****.io 17:03:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:03:32 Configure a credential helper to remove this warning. See 17:03:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:03:32 17:03:32 Login Succeeded 17:03:32 ---> ****-login.sh ends [Pipeline] } 17:03:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 17:03:32 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 17:03:32 ========================================================= 17:03:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:03:32 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:32 + 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 . 17:03:32 Sending build context to Docker daemon 5.55MB 17:03:32 Step 1/22 : ARG BASE=alpine:3.18 17:03:32 Step 2/22 : FROM ${BASE} as builder 17:03:32 latest: Pulling from edgex-devops/edgex-gcc-base 17:03:32 96526aa774ef: Pulling fs layer 17:03:32 da60e534fd72: Pulling fs layer 17:03:33 96526aa774ef: Verifying Checksum 17:03:33 96526aa774ef: Download complete 17:03:33 96526aa774ef: Pull complete 17:03:34 da60e534fd72: Verifying Checksum 17:03:34 da60e534fd72: Download complete 17:03:36 da60e534fd72: Pull complete 17:03:36 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 17:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:03:36 ---> 6605166a5db4 17:03:36 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:03:37 ---> Running in 5b2dcab23c04 17:03:37 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:03:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:03:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:03:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:03:38 Removing intermediate container 5b2dcab23c04 17:03:38 ---> 0ef63e781c28 17:03:38 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:03:38 ---> Running in 263ac10e38c0 17:03:39 Removing intermediate container 263ac10e38c0 17:03:39 ---> d93d7e77ef8f 17:03:39 Step 5/22 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev 17:03:39 ---> Running in bcd759048e3f 17:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:03:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:03:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:03:40 (1/15) Installing libcbor (0.10.2-r1) 17:03:40 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 17:03:41 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 17:03:41 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:03:41 (5/15) Installing libcbor-dev (0.10.2-r1) 17:03:41 (6/15) Installing libmenuw (6.4_p20230506-r0) 17:03:41 (7/15) Installing libpanelw (6.4_p20230506-r0) 17:03:41 (8/15) Installing libncurses++ (6.4_p20230506-r0) 17:03:41 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 17:03:41 (10/15) Installing libblkid (2.38.1-r8) 17:03:41 (11/15) Installing libuuid (2.38.1-r8) 17:03:41 (12/15) Installing libfdisk (2.38.1-r8) 17:03:41 (13/15) Installing libmount (2.38.1-r8) 17:03:41 (14/15) Installing libsmartcols (2.38.1-r8) 17:03:41 (15/15) Installing util-linux-dev (2.38.1-r8) 17:03:41 Executing busybox-1.36.1-r4.trigger 17:03:41 OK: 336 MiB in 97 packages 17:03:42 Removing intermediate container bcd759048e3f 17:03:42 ---> 2f3eba09578a 17:03:42 Step 6/22 : RUN mkdir /tmp/sdk 17:03:42 ---> Running in 28375dc7083a 17:03:42 Removing intermediate container 28375dc7083a 17:03:42 ---> ed9cb85e3e2b 17:03:42 Step 7/22 : COPY VERSION /tmp/sdk 17:03:42 ---> 4b4f42b0b8ba 17:03:42 Step 8/22 : COPY src /tmp/sdk/src 17:03:43 ---> 9bb70b17f429 17:03:43 Step 9/22 : COPY include /tmp/sdk/include 17:03:43 ---> 5f03abda63d8 17:03:43 Step 10/22 : COPY scripts /tmp/sdk/scripts 17:03:43 ---> f21f2ea376f4 17:03:43 Step 11/22 : COPY LICENSE /tmp/sdk 17:03:43 ---> 24bb9e55ed49 17:03:43 Step 12/22 : COPY Attribution.txt /tmp/sdk 17:03:43 ---> 8ffd32a309ba 17:03:43 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:03:43 ---> Running in 37b19f9a7767 17:03:43 + CPPCHECK=false 17:03:43 + DOCGEN=false 17:03:43 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:03:43 + '[' 0 -gt 0 ] 17:03:43 + readlink -f ./scripts/build.sh 17:03:43 + dirname /tmp/sdk/scripts/build.sh 17:03:43 + dirname /tmp/sdk/scripts 17:03:43 + ROOT=/tmp/sdk 17:03:43 + cd /tmp/sdk 17:03:43 + mkdir -p /tmp/sdk/build/release 17:03:43 + cd /tmp/sdk/build/release 17:03:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:03:43 -- The C compiler identification is GNU 12.2.1 17:03:43 -- Detecting C compiler ABI info 17:03:44 -- Detecting C compiler ABI info - done 17:03:44 -- Check for working C compiler: /usr/bin/cc - skipped 17:03:44 -- Detecting C compile features 17:03:44 -- Detecting C compile features - done 17:03:44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:03:44 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:03:44 -- Found LIBYAML: /usr/lib/libyaml.so 17:03:44 -- Found LIBUUID: /usr/lib/libuuid.so 17:03:44 -- Found LIBCBOR: /usr/lib/libcbor.so 17:03:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:03:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:03:44 -- /opt/iotech/iot/1.5/include 17:03:44 -- C SDK 0.0.0 for Linux 17:03:44 -- Performing Test CSDK_HAVE_ATOMIC 17:03:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:03:44 -- Found Curses: /usr/lib/libcurses.so 17:03:44 -- Configuring done (0.4s) 17:03:44 -- Generating done (0.0s) 17:03:44 -- Build files have been written to: /tmp/sdk/build/release 17:03:44 + make all package 17:03:44 + tee release.log 17:03:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:03:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:03:44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:03:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:03:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:03:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:03:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:03:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:03:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:03:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:03:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:03:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:03:46 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:03:46 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:03:46 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:03:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:03:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 17:03:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:03:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:03:47 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 17:03:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:03:48 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:03:48 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:03:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:03:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:03:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:03:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:03:49 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:03:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:03:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:03:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:03:49 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:03:49 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:03:49 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:03:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:03:49 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 17:03:49 875 | const iot_data_t *deviceservices_config; 17:03:49 | ^~~~~~~~~~~~~~~~~~~~~ 17:03:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:03:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:03:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:03:50 [ 68%] Linking C shared library libcsdk.so 17:03:50 [ 68%] Built target csdk 17:03:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:03:50 [ 72%] Linking C executable template 17:03:50 [ 72%] Built target template 17:03:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:03:50 [ 76%] Linking C executable device-counter 17:03:50 [ 76%] Built target device-counter 17:03:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:03:50 [ 80%] Linking C executable device-random 17:03:50 [ 80%] Built target device-random 17:03:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:03:50 [ 84%] Linking C executable device-gyro 17:03:50 [ 84%] Built target device-gyro 17:03:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:03:51 [ 88%] Linking C executable device-bitfields 17:03:51 [ 88%] Built target device-bitfields 17:03:51 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:03:51 [ 92%] Linking C executable template-discovery 17:03:51 [ 92%] Built target template-discovery 17:03:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:03:51 [ 96%] Linking C executable device-file 17:03:51 [ 96%] Built target device-file 17:03:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:03:51 [100%] Linking C executable device-terminal 17:03:51 [100%] Built target device-terminal 17:03:51 Run CPack packaging tool... 17:03:51 CPack: Create package using TGZ 17:03:51 CPack: Install projects 17:03:51 CPack: - Run preinstall target for: Csdk 17:03:51 CPack: - Install project: Csdk [] 17:03:51 CPack: Create package 17:03:51 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:03:51 + '[' false '=' true ] 17:03:51 + '[' false '=' true ] 17:03:51 + mkdir -p /tmp/sdk/build/debug 17:03:51 + cd /tmp/sdk/build/debug 17:03:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:03:52 -- The C compiler identification is GNU 12.2.1 17:03:52 -- Detecting C compiler ABI info 17:03:52 -- Detecting C compiler ABI info - done 17:03:52 -- Check for working C compiler: /usr/bin/cc - skipped 17:03:52 -- Detecting C compile features 17:03:52 -- Detecting C compile features - done 17:03:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:03:52 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:03:52 -- Found LIBYAML: /usr/lib/libyaml.so 17:03:52 -- Found LIBUUID: /usr/lib/libuuid.so 17:03:52 -- Found LIBCBOR: /usr/lib/libcbor.so 17:03:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:03:52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:03:52 -- /opt/iotech/iot/1.5/include 17:03:52 -- C SDK 0.0.0 for Linux 17:03:52 -- Performing Test CSDK_HAVE_ATOMIC 17:03:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:03:52 -- Found Curses: /usr/lib/libcurses.so 17:03:52 -- Configuring done (0.4s) 17:03:52 -- Generating done (0.0s) 17:03:52 -- Build files have been written to: /tmp/sdk/build/debug 17:03:52 + make 17:03:52 + tee debug.log 17:03:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:03:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:03:52 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:03:52 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:03:52 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:03:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:03:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:03:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:03:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:03:53 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:03:53 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:03:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:03:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:03:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:03:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:03:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:03:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 17:03:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:03:54 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:03:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 17:03:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:03:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:03:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:03:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:03:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:03:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:03:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:03:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:03:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:03:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:03:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:03:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:03:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:03:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:03:55 [ 68%] Linking C shared library libcsdk.so 17:03:55 [ 68%] Built target csdk 17:03:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:03:55 [ 72%] Linking C executable template 17:03:55 [ 72%] Built target template 17:03:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:03:55 [ 76%] Linking C executable device-counter 17:03:55 [ 76%] Built target device-counter 17:03:55 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:03:55 [ 80%] Linking C executable device-random 17:03:55 [ 80%] Built target device-random 17:03:55 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:03:56 [ 84%] Linking C executable device-gyro 17:03:56 [ 84%] Built target device-gyro 17:03:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:03:56 [ 88%] Linking C executable device-bitfields 17:03:56 [ 88%] Built target device-bitfields 17:03:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:03:56 [ 92%] Linking C executable template-discovery 17:03:56 [ 92%] Built target template-discovery 17:03:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:03:56 [ 96%] Linking C executable device-file 17:03:56 [ 96%] Built target device-file 17:03:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:03:56 [100%] Linking C executable device-terminal 17:03:56 [100%] Built target device-terminal 17:03:56 make: Entering directory '/tmp/sdk/build/release' 17:03:56 [ 68%] Built target csdk 17:03:56 [ 72%] Built target template 17:03:56 [ 76%] Built target device-counter 17:03:56 [ 80%] Built target device-random 17:03:56 [ 84%] Built target device-gyro 17:03:56 [ 88%] Built target device-bitfields 17:03:56 [ 92%] Built target template-discovery 17:03:56 [ 96%] Built target device-file 17:03:56 [100%] Built target device-terminal 17:03:56 Install the project... 17:03:56 -- Install configuration: "Release" 17:03:56 -- Installing: /usr/local/lib/libcsdk.so 17:03:56 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:03:56 -- Installing: /usr/local/include 17:03:56 -- Installing: /usr/local/include/devsdk 17:03:56 -- Installing: /usr/local/include/devsdk/devsdk.h 17:03:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:03:56 -- Installing: /usr/local/include/edgex 17:03:56 -- Installing: /usr/local/include/edgex/edgex.h 17:03:56 -- Installing: /usr/local/include/edgex/devices.h 17:03:56 -- Installing: /usr/local/include/edgex/profiles.h 17:03:56 -- Installing: /usr/local/include/edgex/edgex-base.h 17:03:56 -- Installing: /usr/local/include/edgex/rest-server.h 17:03:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:03:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:03:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:03:56 make: Leaving directory '/tmp/sdk/build/release' 17:03:57 Removing intermediate container 37b19f9a7767 17:03:57 ---> 61e6598edd35 17:03:57 Step 14/22 : FROM ${BASE} 17:03:57 ---> 6605166a5db4 17:03:57 Step 15/22 : LABEL maintainer="IOTech " 17:03:57 ---> Running in da4bdca412fe 17:03:57 Removing intermediate container da4bdca412fe 17:03:57 ---> a9b8b8e5dc3d 17:03:57 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:03:57 ---> Running in df0451dd1def 17:03:57 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:03:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:03:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:03:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:03:58 Removing intermediate container df0451dd1def 17:03:58 ---> b4fd12f95643 17:03:58 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:03:58 ---> Running in a2e0c1cb350b 17:03:59 Removing intermediate container a2e0c1cb350b 17:03:59 ---> 3b7879d256f8 17:03:59 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 dumb-init 17:03:59 ---> Running in dbb8ca58935f 17:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:03:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:04:00 (1/11) Installing libpsl (0.21.5-r0) 17:04:00 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 17:04:00 (3/11) Installing curl (8.12.1-r0) 17:04:00 (4/11) Installing libpsl-utils (0.21.5-r0) 17:04:00 (5/11) Installing libpsl-dev (0.21.5-r0) 17:04:00 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 17:04:00 (7/11) Installing dumb-init (1.2.5-r2) 17:04:00 (8/11) Installing libcbor (0.10.2-r1) 17:04:00 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 17:04:00 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:04:01 (11/11) Installing libuuid (2.38.1-r8) 17:04:01 Executing busybox-1.36.1-r4.trigger 17:04:01 OK: 331 MiB in 91 packages 17:04:01 Removing intermediate container dbb8ca58935f 17:04:01 ---> 819a2a217450 17:04:01 Step 19/22 : RUN apk --no-cache upgrade 17:04:01 ---> Running in 4b5c20573770 17:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:04:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:04:02 Upgrading critical system libraries and apk-tools: 17:04:02 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 17:04:02 Executing busybox-1.36.1-r4.trigger 17:04:02 Continuing the upgrade transaction with new apk-tools: 17:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:04:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:04:03 (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 17:04:03 (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 17:04:03 Executing busybox-1.36.1-r7.post-upgrade 17:04:03 (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 17:04:03 (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 17:04:03 (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 17:04:03 (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 17:04:03 (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 17:04:03 (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 17:04:03 (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 17:04:03 (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 17:04:03 (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 17:04:03 (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 17:04:03 (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 17:04:03 (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 17:04:03 (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 17:04:03 (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 17:04:03 (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 17:04:03 (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 17:04:03 (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 17:04:03 (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 17:04:03 Executing busybox-1.36.1-r7.trigger 17:04:03 Executing ca-certificates-20241121-r1.trigger 17:04:03 OK: 331 MiB in 91 packages 17:04:04 Removing intermediate container 4b5c20573770 17:04:04 ---> beefcf3ad394 17:04:04 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:04:04 ---> fc7272a0341c 17:04:04 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 17:04:05 ---> e8a7c9b065bf 17:04:05 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:04:05 ---> 6a6cf3f758aa 17:04:05 Successfully built 6a6cf3f758aa 17:04:05 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 17:04:05 + docker inspect -f . ci-base-image-x86_64 17:04:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:05 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 17:04:05 $ docker top ca24f8ec62c19a98b5775e464f64f9c5584937acf19d8e13581341d4cc02b421 -eo pid,comm [Pipeline] { [Pipeline] sh 17:04:06 + make test 17:04:06 echo "make test" 17:04:06 make test [Pipeline] } 17:04:06 $ docker stop --time=1 ca24f8ec62c19a98b5775e464f64f9c5584937acf19d8e13581341d4cc02b421 17:04:07 $ docker rm -f --volumes ca24f8ec62c19a98b5775e464f64f9c5584937acf19d8e13581341d4cc02b421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:04:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:04:08 + ls -al . 17:04:08 total 220 17:04:08 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 17:03 . 17:04:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 17:03 .. 17:04:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 17:03 .git 17:04:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:03 .github 17:04:08 -rw-rw-r-- 1 jenkins jenkins 176 Mar 11 17:03 .gitignore 17:04:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 17:03 .semver 17:04:08 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 11 17:03 Attribution.txt 17:04:08 -rw-rw-r-- 1 jenkins jenkins 17404 Mar 11 17:03 CHANGELOG.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 11 17:03 Doxyfile 17:04:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 17:03 GOVERNANCE.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 784 Mar 11 17:03 Jenkinsfile 17:04:08 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 17:03 LICENSE 17:04:08 -rw-rw-r-- 1 jenkins jenkins 444 Mar 11 17:03 Makefile 17:04:08 -rw-rw-r-- 1 jenkins jenkins 618 Mar 11 17:03 OWNERS.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 1651 Mar 11 17:03 README.IOT.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 4173 Mar 11 17:03 README.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 11 17:03 README.v3.md 17:04:08 -rw-rw-r-- 1 jenkins jenkins 12 Mar 11 17:03 VERSION 17:04:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:03 docs 17:04:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 17:03 include 17:04:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:03 scripts 17:04:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 17:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:08 + 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=27fedd9bcb6d1ae5add1205cf1cd517d095e120a --label arch=amd64 --label version=4.0.0-dev.22 . 17:04:08 Sending build context to Docker daemon 5.55MB 17:04:08 Step 1/18 : ARG BASE=alpine:3.18 17:04:08 Step 2/18 : FROM ${BASE} 17:04:08 ---> 6a6cf3f758aa 17:04:08 Step 3/18 : LABEL maintainer="IOTech " 17:04:08 ---> Running in 428968ce06fd 17:04:08 Removing intermediate container 428968ce06fd 17:04:08 ---> e1ecea3a874a 17:04:08 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:04:08 ---> Running in 4b2fd89a32e2 17:04:09 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:04:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:04:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:04:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:04:10 Removing intermediate container 4b2fd89a32e2 17:04:10 ---> dae145a9914e 17:04:10 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:04:10 ---> Running in b7e5272da374 17:04:10 Removing intermediate container b7e5272da374 17:04:10 ---> bf48e9ce896d 17:04:10 Step 6/18 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 17:04:10 ---> Running in 96b42dd5c196 17:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:04:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:04:11 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 17:04:11 (2/11) Installing libcbor-dev (0.10.2-r1) 17:04:11 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:04:11 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:04:11 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:04:11 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:04:11 (7/11) Installing libblkid (2.38.1-r8) 17:04:11 (8/11) Installing libfdisk (2.38.1-r8) 17:04:11 (9/11) Installing libmount (2.38.1-r8) 17:04:11 (10/11) Installing libsmartcols (2.38.1-r8) 17:04:11 (11/11) Installing util-linux-dev (2.38.1-r8) 17:04:11 Executing busybox-1.36.1-r7.trigger 17:04:11 OK: 336 MiB in 102 packages 17:04:12 Removing intermediate container 96b42dd5c196 17:04:12 ---> 106f8d7d2d32 17:04:12 Step 7/18 : RUN apk --no-cache upgrade 17:04:12 ---> Running in 98367301e68d 17:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:04:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:04:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:04:13 OK: 336 MiB in 102 packages 17:04:13 Removing intermediate container 98367301e68d 17:04:13 ---> 9d515d455da5 17:04:13 Step 8/18 : COPY VERSION /edgex-c-sdk/ 17:04:13 ---> 1ccc288f0066 17:04:13 Step 9/18 : COPY src /edgex-c-sdk/src/ 17:04:14 ---> 9d8442b23dbd 17:04:14 Step 10/18 : COPY include /edgex-c-sdk/include/ 17:04:14 ---> 3bc833de0db2 17:04:14 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 17:04:14 ---> 4b6c8020e909 17:04:14 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 17:04:14 ---> 856fbf179f6e 17:04:14 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 17:04:14 ---> 79d4ab92ed52 17:04:14 Step 14/18 : WORKDIR /edgex-c-sdk 17:04:14 ---> Running in 7b39008fa0c5 17:04:14 Removing intermediate container 7b39008fa0c5 17:04:14 ---> 6cae9b9ec96f 17:04:14 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:04:14 ---> Running in 5258ddacc648 17:04:14 Removing intermediate container 5258ddacc648 17:04:14 ---> fd60c41f64a2 17:04:14 Step 16/18 : LABEL arch=amd64 17:04:14 ---> Running in d4b76f84c721 17:04:14 Removing intermediate container d4b76f84c721 17:04:14 ---> 314ec9a39147 17:04:14 Step 17/18 : LABEL git_sha=27fedd9bcb6d1ae5add1205cf1cd517d095e120a 17:04:14 ---> Running in 998c49f7b507 17:04:14 Removing intermediate container 998c49f7b507 17:04:14 ---> 1e8f53705120 17:04:14 Step 18/18 : LABEL version=4.0.0-dev.22 17:04:14 ---> Running in 7ca008bd17cd 17:04:15 Removing intermediate container 7ca008bd17cd 17:04:15 ---> d72116918f71 17:04:15 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:04:15 Successfully built d72116918f71 17:04:15 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:04:15 17:04:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:04:15 latest: Pulling from edgex-lftools-log-publisher 17:04:15 5eb5b503b376: Pulling fs layer 17:04:15 5c69ac0246d0: Pulling fs layer 17:04:15 ec43610c2a17: Pulling fs layer 17:04:15 3a2ae6a8a46f: Pulling fs layer 17:04:15 33b1e0a273af: Pulling fs layer 17:04:15 5d3b04190fa2: Pulling fs layer 17:04:15 2f39f015ded8: Pulling fs layer 17:04:15 3a2ae6a8a46f: Waiting 17:04:15 33b1e0a273af: Waiting 17:04:15 5d3b04190fa2: Waiting 17:04:15 2f39f015ded8: Waiting 17:04:15 5c69ac0246d0: Download complete 17:04:15 3a2ae6a8a46f: Verifying Checksum 17:04:15 3a2ae6a8a46f: Download complete 17:04:15 ec43610c2a17: Verifying Checksum 17:04:15 ec43610c2a17: Download complete 17:04:15 33b1e0a273af: Verifying Checksum 17:04:15 33b1e0a273af: Download complete 17:04:15 5d3b04190fa2: Verifying Checksum 17:04:15 5d3b04190fa2: Download complete 17:04:16 5eb5b503b376: Verifying Checksum 17:04:16 5eb5b503b376: Download complete 17:04:16 2f39f015ded8: Download complete 17:04:17 5eb5b503b376: Pull complete 17:04:17 5c69ac0246d0: Pull complete 17:04:17 ec43610c2a17: Pull complete 17:04:17 3a2ae6a8a46f: Pull complete 17:04:17 33b1e0a273af: Pull complete 17:04:18 5d3b04190fa2: Pull complete 17:04:22 2f39f015ded8: Pull complete 17:04:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:04:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:22 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:22 $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:04:24 $ docker top 8e8f7ac2a96991e5e515814e12ea8b98f2a97d273e6b4d4446c80eb9efb1ce34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:24 ---> job-cost.sh 17:04:24 lf-activate-venv: SKIPPING 17:04:24 INFO: No Stack... 17:04:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:04:25 INFO: Archiving Costs [Pipeline] sh 17:04:25 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 17:04:25 + cut -d, -f6 [Pipeline] lock 17:04:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-99-stack-cost] 17:04:25 Resource [jenkins-edgexfoundry-device-sdk-c-main-99-stack-cost] did not exist. Created. 17:04:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:04:25 + echo total: 0.2199999988079071 [Pipeline] stash 17:04:25 Stashed 1 file(s) [Pipeline] } 17:04:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 17:04:25 $ docker stop --time=1 8e8f7ac2a96991e5e515814e12ea8b98f2a97d273e6b4d4446c80eb9efb1ce34 17:04:27 $ docker rm -f --volumes 8e8f7ac2a96991e5e515814e12ea8b98f2a97d273e6b4d4446c80eb9efb1ce34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 17:04:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:04:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:28 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:04:28 $ docker top 8fd6053a69f431f3964a03febe7454a4934798d31f5815cd47239464c0abc762 -eo pid,comm 17:04:28 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). 17:04:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:28 [ssh-agent] Looking for ssh-agent implementation... 17:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:28 $ docker exec 8fd6053a69f431f3964a03febe7454a4934798d31f5815cd47239464c0abc762 ssh-agent 17:04:28 SSH_AUTH_SOCK=/tmp/ssh-ZExV1R1eG3rF/agent.31 17:04:28 SSH_AGENT_PID=37 17:04:28 Running ssh-add (command line suppressed) 17:04:28 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5850212130541596484.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5850212130541596484.key) 17:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:29 + git semver tag 17:04:29 2025-03-11 17:04:29,269 [run_tag] DEBUG tag force:False 17:04:29 2025-03-11 17:04:29,270 [check_head_tag] DEBUG check head tag 17:04:29 2025-03-11 17:04:29,271 [execute] INFO git cat-file --batch-check 17:04:29 2025-03-11 17:04:29,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 17:04:29 2025-03-11 17:04:29,275 [execute] INFO git cat-file --batch 17:04:29 2025-03-11 17:04:29,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 17:04:29 2025-03-11 17:04:29,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:29 2025-03-11 17:04:29,295 [execute] INFO git tag -a v4.0.0-dev.22 -m v4.0.0-dev.22 17:04:29 2025-03-11 17:04:29,295 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.22', '-m', 'v4.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 17:04:29 2025-03-11 17:04:29,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:29 4.0.0-dev.22 [Pipeline] } 17:04:29 $ docker exec --env ******** --env ******** 8fd6053a69f431f3964a03febe7454a4934798d31f5815cd47239464c0abc762 ssh-agent -k 17:04:29 unset SSH_AUTH_SOCK; 17:04:29 unset SSH_AGENT_PID; 17:04:29 echo Agent pid 37 killed; 17:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:29 + git semver [Pipeline] } 17:04:30 $ docker stop --time=1 8fd6053a69f431f3964a03febe7454a4934798d31f5815cd47239464c0abc762 17:04:31 $ docker rm -f --volumes 8fd6053a69f431f3964a03febe7454a4934798d31f5815cd47239464c0abc762 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:04:31 17:04:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:04:32 0.23.1-centos7: Pulling from edgex-lftools 17:04:32 ab5ef0e58194: Pulling fs layer 17:04:32 9712f1f96733: Pulling fs layer 17:04:32 63f879dbbcfc: Pulling fs layer 17:04:32 0d9ebad4ef96: Pulling fs layer 17:04:32 e9a5061849ea: Pulling fs layer 17:04:32 d747dcd14b5f: Pulling fs layer 17:04:32 2de7ff778b66: Pulling fs layer 17:04:32 0d9ebad4ef96: Waiting 17:04:32 d747dcd14b5f: Waiting 17:04:32 2de7ff778b66: Waiting 17:04:32 e9a5061849ea: Waiting 17:04:32 9712f1f96733: Download complete 17:04:32 63f879dbbcfc: Verifying Checksum 17:04:32 63f879dbbcfc: Download complete 17:04:32 e9a5061849ea: Verifying Checksum 17:04:32 e9a5061849ea: Download complete 17:04:32 d747dcd14b5f: Download complete 17:04:32 0d9ebad4ef96: Verifying Checksum 17:04:32 0d9ebad4ef96: Download complete 17:04:32 ab5ef0e58194: Verifying Checksum 17:04:32 ab5ef0e58194: Download complete 17:04:32 2de7ff778b66: Verifying Checksum 17:04:32 2de7ff778b66: Download complete 17:04:35 ab5ef0e58194: Pull complete 17:04:35 9712f1f96733: Pull complete 17:04:35 63f879dbbcfc: Pull complete 17:04:40 0d9ebad4ef96: Pull complete 17:04:40 e9a5061849ea: Pull complete 17:04:40 d747dcd14b5f: Pull complete 17:04:40 2de7ff778b66: Pull complete 17:04:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:04:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:40 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:04:42 $ docker top 5e4f5e625f76fe2fdf4a9f06de181b5416fc06562825ed6c3cf84c0e4ef70102 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:04:42 provisioning config files... 17:04:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config457143896188618019tmp 17:04:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14756203140004499183tmp 17:04:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6029564797729295433tmp [Pipeline] { [Pipeline] echo 17:04:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:04:43 ---> sigul-configuration.sh 17:04:43 gpg: directory `/root/.gnupg' created 17:04:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:04:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:04:43 gpg: keyring `/root/.gnupg/secring.gpg' created 17:04:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:04:43 gpg: CAST5 encrypted data 17:04:43 gpg: encrypted with 1 passphrase 17:04:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:04:43 + mkdir /home/jenkins 17:04:43 + mkdir /home/jenkins/sigul [Pipeline] sh 17:04:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:04:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:04:44 ---> sigul-install.sh 17:04:44 Sigul already installed; skipping installation. [Pipeline] sh 17:04:44 + git tag --list 17:04:44 0.7.0 17:04:44 0.7.1 17:04:44 1.0.0 17:04:44 v1.0.1 17:04:44 v1.0.2 17:04:44 v1.0.3 17:04:44 v1.1.0 17:04:44 v1.1.1 17:04:44 v1.2.0 17:04:44 v1.2.1 17:04:44 v1.2.2 17:04:44 v1.3.0 17:04:44 v1.3.1 17:04:44 v2.0.0 17:04:44 v2.1.0 17:04:44 v2.2.0 17:04:44 v2.3.0 17:04:44 v3.0 17:04:44 v3.0.0 17:04:44 v3.0.1 17:04:44 v3.0.2 17:04:44 v3.0.3-dev.1 17:04:44 v3.0.3-dev.10 17:04:44 v3.0.3-dev.11 17:04:44 v3.0.3-dev.12 17:04:44 v3.0.3-dev.13 17:04:44 v3.0.3-dev.14 17:04:44 v3.0.3-dev.15 17:04:44 v3.0.3-dev.16 17:04:44 v3.0.3-dev.17 17:04:44 v3.0.3-dev.2 17:04:44 v3.0.3-dev.3 17:04:44 v3.0.3-dev.4 17:04:44 v3.0.3-dev.5 17:04:44 v3.0.3-dev.6 17:04:44 v3.0.3-dev.7 17:04:44 v3.0.3-dev.8 17:04:44 v3.0.3-dev.9 17:04:44 v3.1 17:04:44 v3.1.0 17:04:44 v3.1.0-dev.1 17:04:44 v3.1.0-dev.2 17:04:44 v3.1.0-dev.3 17:04:44 v3.1.0-dev.4 17:04:44 v3.1.0-dev.5 17:04:44 v3.1.0-dev.6 17:04:44 v3.1.0-dev.7 17:04:44 v3.1.0-dev.8 17:04:44 v3.1.0-dev.9 17:04:44 v3.1.1 17:04:44 v3.1.1-dev.1 17:04:44 v4.0 17:04:44 v4.0.0 17:04:44 v4.0.0-dev.1 17:04:44 v4.0.0-dev.10 17:04:44 v4.0.0-dev.11 17:04:44 v4.0.0-dev.12 17:04:44 v4.0.0-dev.13 17:04:44 v4.0.0-dev.14 17:04:44 v4.0.0-dev.15 17:04:44 v4.0.0-dev.16 17:04:44 v4.0.0-dev.17 17:04:44 v4.0.0-dev.18 17:04:44 v4.0.0-dev.19 17:04:44 v4.0.0-dev.2 17:04:44 v4.0.0-dev.20 17:04:44 v4.0.0-dev.21 17:04:44 v4.0.0-dev.22 17:04:44 v4.0.0-dev.3 17:04:44 v4.0.0-dev.4 17:04:44 v4.0.0-dev.5 17:04:44 v4.0.0-dev.6 17:04:44 v4.0.0-dev.7 17:04:44 v4.0.0-dev.8 17:04:44 v4.0.0-dev.9 [Pipeline] sh 17:04:44 + lftools sign git-tag v4.0.0-dev.22 17:04:45 Signing Git tag with Sigul... 17:04:45 Signing v4.0.0-dev.22 [Pipeline] echo 17:04:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:04:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:04:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:04:46 $ docker stop --time=1 5e4f5e625f76fe2fdf4a9f06de181b5416fc06562825ed6c3cf84c0e4ef70102 17:04:47 $ docker rm -f --volumes 5e4f5e625f76fe2fdf4a9f06de181b5416fc06562825ed6c3cf84c0e4ef70102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:04:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:04:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:48 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:04:48 $ docker top ca08d1298ee4de166609b12b7ad3e70388fc7d55f76a09599d22fc10f4e4f558 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:48 [ssh-agent] Looking for ssh-agent implementation... 17:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:48 $ docker exec ca08d1298ee4de166609b12b7ad3e70388fc7d55f76a09599d22fc10f4e4f558 ssh-agent 17:04:49 SSH_AUTH_SOCK=/tmp/ssh-ccrBNLi2slbw/agent.32 17:04:49 SSH_AGENT_PID=38 17:04:49 Running ssh-add (command line suppressed) 17:04:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10807241771180901474.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10807241771180901474.key) 17:04:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:49 + git semver bump pre 17:04:49 2025-03-11 17:04:49,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:49 2025-03-11 17:04:49,656 [bump_version] DEBUG bumping version:4.0.0-dev.22 on axis:pre with prefix:dev 17:04:49 2025-03-11 17:04:49,656 [bump_version] DEBUG bumped version:4.0.0-dev.23 17:04:49 2025-03-11 17:04:49,656 [write_version] DEBUG write version:4.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 17:04:49 2025-03-11 17:04:49,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:49 2025-03-11 17:04:49,656 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:49 2025-03-11 17:04:49,658 [execute] INFO git cat-file --batch-check 17:04:49 2025-03-11 17:04:49,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 17:04:49 2025-03-11 17:04:49,663 [execute] INFO git cat-file --batch 17:04:49 2025-03-11 17:04:49,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 17:04:49 2025-03-11 17:04:49,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:49 4.0.0-dev.23 [Pipeline] } 17:04:49 $ docker exec --env ******** --env ******** ca08d1298ee4de166609b12b7ad3e70388fc7d55f76a09599d22fc10f4e4f558 ssh-agent -k 17:04:49 unset SSH_AUTH_SOCK; 17:04:49 unset SSH_AGENT_PID; 17:04:49 echo Agent pid 38 killed; 17:04:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:50 + git semver [Pipeline] } 17:04:50 $ docker stop --time=1 ca08d1298ee4de166609b12b7ad3e70388fc7d55f76a09599d22fc10f4e4f558 17:04:51 $ docker rm -f --volumes ca08d1298ee4de166609b12b7ad3e70388fc7d55f76a09599d22fc10f4e4f558 [Pipeline] // withDockerContainer [Pipeline] sh 17:04:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:04:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:52 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:04:52 $ docker top 3d5fa91901693d146b4c236e47463c64c7396d3f75aed0c0eb6695e75cb1b168 -eo pid,comm 17:04:52 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). 17:04:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:04:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:04:52 [ssh-agent] Looking for ssh-agent implementation... 17:04:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:04:53 $ docker exec 3d5fa91901693d146b4c236e47463c64c7396d3f75aed0c0eb6695e75cb1b168 ssh-agent 17:04:53 SSH_AUTH_SOCK=/tmp/ssh-SoAWcsHqSt8m/agent.32 17:04:53 SSH_AGENT_PID=38 17:04:53 Running ssh-add (command line suppressed) 17:04:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13316771884638242729.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13316771884638242729.key) 17:04:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:04:53 + git semver push 17:04:53 2025-03-11 17:04:53,732 [run_push] DEBUG push 17:04:53 2025-03-11 17:04:53,733 [execute] INFO git cat-file --batch-check 17:04:53 2025-03-11 17:04:53,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 17:04:53 2025-03-11 17:04:53,737 [execute] INFO git rev-list 3b15cabdbd84902ec4248aeb49b48174c8dceda6 -- 17:04:53 2025-03-11 17:04:53,737 [execute] DEBUG Popen(['git', 'rev-list', '3b15cabdbd84902ec4248aeb49b48174c8dceda6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 17:04:53 2025-03-11 17:04:53,746 [execute] INFO git fetch -v origin 17:04:53 2025-03-11 17:04:53,747 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 17:04:54 2025-03-11 17:04:54,212 [run_push] DEBUG no remote changes detected 17:04:54 2025-03-11 17:04:54,212 [execute] INFO git push origin semver 17:04:54 2025-03-11 17:04:54,213 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 17:04:55 2025-03-11 17:04:55,033 [run_push] DEBUG push all version tags 17:04:55 2025-03-11 17:04:55,033 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:04:55 2025-03-11 17:04:55,033 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 17:04:55 2025-03-11 17:04:55,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 17:04:55 4.0.0-dev.23 [Pipeline] } 17:04:55 $ docker exec --env ******** --env ******** 3d5fa91901693d146b4c236e47463c64c7396d3f75aed0c0eb6695e75cb1b168 ssh-agent -k 17:04:56 unset SSH_AUTH_SOCK; 17:04:56 unset SSH_AGENT_PID; 17:04:56 echo Agent pid 38 killed; 17:04:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:04:56 + git semver [Pipeline] } 17:04:56 $ docker stop --time=1 3d5fa91901693d146b4c236e47463c64c7396d3f75aed0c0eb6695e75cb1b168 17:04:57 $ docker rm -f --volumes 3d5fa91901693d146b4c236e47463c64c7396d3f75aed0c0eb6695e75cb1b168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:04:58 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 17:04:58 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:04:58 total 16 17:04:58 drwxr-xr-x 3 root root 4096 Mar 11 17:04 . 17:04:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 17:04 .. 17:04:58 drwxr-xr-x 2 root root 4096 Mar 11 17:04 cost 17:04:58 -rw-r--r-- 1 root root 83 Mar 11 17:04 cost.csv 17:04:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:04:58 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 17:04:58 total 16 17:04:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 17:04 . 17:04:58 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 17:04 .. 17:04:58 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 17:04 cost 17:04:58 -rw-r--r-- 1 jenkins jenkins 83 Mar 11 17:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:04:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:04:59 ---> package-listing.sh 17:04:59 ++ facter osfamily 17:04:59 ++ tr '[:upper:]' '[:lower:]' 17:04:59 + OS_FAMILY=debian 17:04:59 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 17:04:59 + START_PACKAGES=/tmp/packages_start.txt 17:04:59 + END_PACKAGES=/tmp/packages_end.txt 17:04:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:04:59 + PACKAGES=/tmp/packages_start.txt 17:04:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:04:59 + PACKAGES=/tmp/packages_end.txt 17:04:59 + case "${OS_FAMILY}" in 17:04:59 + dpkg -l 17:04:59 + grep '^ii' 17:04:59 + '[' -f /tmp/packages_start.txt ']' 17:04:59 + '[' -f /tmp/packages_end.txt ']' 17:04:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:04:59 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 17:04:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 17:04:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 17:04:59 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:05:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:00 prd-ubuntu20.04-docker-8c-8g-40922 does not seem to be running inside a container 17:05:00 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:05:00 $ docker top 695cc528694bb8987ca6d003886c6edaabf2037c967fbcd4c202efb6bf9872b5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:01 + touch /tmp/pre-build-complete [Pipeline] sh 17:05:01 + mkdir -p /var/log/sysstat [Pipeline] sh 17:05:01 + ls /var/log/sa-host 17:05:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:01 provisioning config files... 17:05:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14907538963694493491tmp [Pipeline] { [Pipeline] echo 17:05:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:05:02 ---> create-netrc.sh [Pipeline] } 17:05:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:05:02 ---> python-tools-install.sh [Pipeline] echo 17:05:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:05:02 ---> sudo-logs.sh 17:05:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:05:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:05:03 ---> job-cost.sh 17:05:03 lf-activate-venv: SKIPPING 17:05:03 DEBUG: total: 0.2199999988079071 17:05:03 INFO: Retrieving Stack Cost... 17:05:03 INFO: Retrieving Pricing Info for: v3-standard-8 17:05:04 INFO: Archiving Costs [Pipeline] echo 17:05:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:05:04 ---> logs-deploy.sh 17:05:04 lf-activate-venv: SKIPPING 17:05:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/99 17:05:04 INFO: archiving workspace using pattern(s): 17:05:05 Archives upload complete. 17:05:05 INFO: archiving logs to Nexus 17:05:06 ---> uname -a: 17:05:06 Linux prd-ubuntu20-04-docker-8c-8g-40922 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:05:06 17:05:06 17:05:06 ---> lscpu: 17:05:06 Architecture: x86_64 17:05:06 CPU op-mode(s): 32-bit, 64-bit 17:05:06 Byte Order: Little Endian 17:05:06 Address sizes: 40 bits physical, 48 bits virtual 17:05:06 CPU(s): 8 17:05:06 On-line CPU(s) list: 0-7 17:05:06 Thread(s) per core: 1 17:05:06 Core(s) per socket: 1 17:05:06 Socket(s): 8 17:05:06 NUMA node(s): 1 17:05:06 Vendor ID: AuthenticAMD 17:05:06 CPU family: 23 17:05:06 Model: 49 17:05:06 Model name: AMD EPYC-Rome Processor 17:05:06 Stepping: 0 17:05:06 CPU MHz: 2800.000 17:05:06 BogoMIPS: 5600.00 17:05:06 Virtualization: AMD-V 17:05:06 Hypervisor vendor: KVM 17:05:06 Virtualization type: full 17:05:06 L1d cache: 256 KiB 17:05:06 L1i cache: 256 KiB 17:05:06 L2 cache: 4 MiB 17:05:06 L3 cache: 128 MiB 17:05:06 NUMA node0 CPU(s): 0-7 17:05:06 Vulnerability Itlb multihit: Not affected 17:05:06 Vulnerability L1tf: Not affected 17:05:06 Vulnerability Mds: Not affected 17:05:06 Vulnerability Meltdown: Not affected 17:05:06 Vulnerability Mmio stale data: Not affected 17:05:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:05:06 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:05:06 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:05:06 Vulnerability Srbds: Not affected 17:05:06 Vulnerability Tsx async abort: Not affected 17:05:06 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 17:05:06 17:05:06 17:05:06 ---> nproc: 17:05:06 8 17:05:06 17:05:06 17:05:06 ---> df -h: 17:05:06 Filesystem Size Used Avail Use% Mounted on 17:05:06 overlay 155G 11G 145G 7% / 17:05:06 tmpfs 64M 0 64M 0% /dev 17:05:06 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:05:06 shm 64M 0 64M 0% /dev/shm 17:05:06 /dev/vda1 155G 11G 145G 7% /facter-os 17:05:06 17:05:06 17:05:06 ---> sar -b -r -n DEV: 17:05:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40922) 03/11/25 _x86_64_ (8 CPU) 17:05:06 17:05:06 17:02:34 LINUX RESTART (8 CPU) 17:05:06 17:05:06 17:03:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:05:06 17:04:01 400.15 17.00 383.16 0.00 2040.47 29040.91 0.00 17:05:06 17:05:01 247.58 0.42 247.16 0.00 35.59 45133.81 0.00 17:05:06 Average: 323.22 8.64 314.59 0.00 1029.61 37154.97 0.00 17:05:06 17:05:06 17:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:05:06 17:04:01 29488476 31527924 798384 2.43 68072 2260260 1990936 5.87 1083148 1944892 2676 17:05:06 17:05:01 28233776 31537596 759748 2.31 126788 3351124 1803948 5.32 1152952 2990112 488 17:05:06 Average: 28861126 31532760 779066 2.37 97430 2805692 1897442 5.59 1118050 2467502 1582 17:05:06 17:05:06 17:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:05:06 17:04:01 vethb63f12d 4.34 6.00 0.35 47.12 0.00 0.00 0.00 0.00 17:05:06 17:04:01 ens3 486.02 322.15 4618.44 104.10 0.00 0.00 0.00 0.00 17:05:06 17:04:01 docker0 15.32 18.95 1.18 150.04 0.00 0.00 0.00 0.00 17:05:06 17:04:01 lo 6.03 6.03 0.59 0.59 0.00 0.00 0.00 0.00 17:05:06 17:05:01 ens3 387.45 250.84 6170.46 175.61 0.00 0.00 0.00 0.00 17:05:06 17:05:01 docker0 16.86 27.31 1.32 342.86 0.00 0.00 0.00 0.00 17:05:06 17:05:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 17:05:06 Average: ens3 436.32 286.20 5400.97 140.15 0.00 0.00 0.00 0.00 17:05:06 Average: docker0 16.10 23.16 1.25 247.26 0.00 0.00 0.00 0.00 17:05:06 Average: lo 4.10 4.10 0.40 0.40 0.00 0.00 0.00 0.00 17:05:06 17:05:06 17:05:06 ---> sar -P ALL: 17:05:06 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40922) 03/11/25 _x86_64_ (8 CPU) 17:05:06 17:05:06 17:02:34 LINUX RESTART (8 CPU) 17:05:06 17:05:06 17:03:02 CPU %user %nice %system %iowait %steal %idle 17:05:06 17:04:01 all 10.48 0.00 3.51 1.16 0.06 84.79 17:05:06 17:04:01 0 9.38 0.00 3.32 0.41 0.05 86.84 17:05:06 17:04:01 1 7.73 0.00 3.26 0.97 0.07 87.97 17:05:06 17:04:01 2 12.96 0.00 4.04 0.12 0.07 82.81 17:05:06 17:04:01 3 10.11 0.00 3.32 0.15 0.07 86.35 17:05:06 17:04:01 4 15.80 0.00 4.39 3.52 0.05 76.23 17:05:06 17:04:01 5 12.76 0.00 2.39 0.14 0.07 84.64 17:05:06 17:04:01 6 7.41 0.00 3.78 1.61 0.05 87.15 17:05:06 17:04:01 7 7.70 0.00 3.56 2.35 0.05 86.34 17:05:06 17:05:01 all 9.09 0.00 4.27 0.85 0.07 85.73 17:05:06 17:05:01 0 7.86 0.00 3.52 0.17 0.07 88.38 17:05:06 17:05:01 1 8.89 0.00 3.68 0.91 0.07 86.45 17:05:06 17:05:01 2 9.40 0.00 4.12 0.25 0.07 86.16 17:05:06 17:05:01 3 9.20 0.00 4.27 0.22 0.07 86.24 17:05:06 17:05:01 4 10.01 0.00 4.14 0.47 0.07 85.31 17:05:06 17:05:01 5 9.73 0.00 4.19 0.17 0.07 85.84 17:05:06 17:05:01 6 8.35 0.00 5.38 0.10 0.05 86.12 17:05:06 17:05:01 7 9.24 0.00 4.88 4.50 0.07 81.31 17:05:06 Average: all 9.78 0.00 3.89 1.00 0.06 85.26 17:05:06 Average: 0 8.61 0.00 3.42 0.29 0.06 87.62 17:05:06 Average: 1 8.31 0.00 3.47 0.94 0.07 87.20 17:05:06 Average: 2 11.17 0.00 4.08 0.19 0.07 84.49 17:05:06 Average: 3 9.65 0.00 3.80 0.19 0.07 86.30 17:05:06 Average: 4 12.88 0.00 4.27 1.99 0.06 80.80 17:05:06 Average: 5 11.23 0.00 3.30 0.15 0.07 85.25 17:05:06 Average: 6 7.89 0.00 4.58 0.85 0.05 86.63 17:05:06 Average: 7 8.48 0.00 4.22 3.43 0.06 83.81 17:05:06 17:05:06 17:05:06