Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 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-ssh1063387572990675495.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh15752889883989873160.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh15133441946290879958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh10926509543257482435.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-ssh129849675847670470.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-34912 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 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca (main) > 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 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca # timeout=10 Commit message: "feat!: Drop support for Consul (#530)" > git rev-list --no-walk 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:01:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:01:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:01:23 ========================================================= 16:01:23 EdgeX Global Pipelines Version Info 16:01:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:01:25 ------------------- 16:01:25 stable info: 16:01:25 ------------------- 16:01:25 Commited By: Cherry Wang cherry@iotechsys.com 16:01:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 16:01:25 Message: update stable to v1.0.269 16:01:25 ------------------- 16:01:25 experimental info: 16:01:25 ------------------- 16:01:25 Commited By: **** collab-it+edgex@linuxfoundation.org 16:01:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 16:01:25 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84c8015 [Pipeline] echo 16:01:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:25 provisioning config files... 16:01:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4155133755934346781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:26 ---> ****-login.sh 16:01:26 nexus3.edgexfoundry.org:10001 16:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:26 Configure a credential helper to remove this warning. See 16:01:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:26 16:01:26 Login Succeeded 16:01:26 nexus3.edgexfoundry.org:10002 16:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:26 Configure a credential helper to remove this warning. See 16:01:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:26 16:01:26 Login Succeeded 16:01:26 nexus3.edgexfoundry.org:10003 16:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:27 Configure a credential helper to remove this warning. See 16:01:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:27 16:01:27 Login Succeeded 16:01:27 nexus3.edgexfoundry.org:10004 16:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:27 Configure a credential helper to remove this warning. See 16:01:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:27 16:01:27 Login Succeeded 16:01:27 ****.io 16:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:27 Configure a credential helper to remove this warning. See 16:01:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:27 16:01:27 Login Succeeded 16:01:27 ---> ****-login.sh ends [Pipeline] } 16:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 16:01:27 + git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo 16:01:27 -----------> git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [false] [Pipeline] sh 16:01:28 + git log --format=format:%s -1 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo 16:01:28 ========================================================= 16:01:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:01:28 ========================================================= 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 16:01:28 + git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo 16:01:28 -----------> git rev-list -1 --merges 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca~1..84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [false] [Pipeline] sh 16:01:28 + git log --format=format:%s -1 84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca [Pipeline] echo 16:01:28 ========================================================= 16:01:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:01:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:01:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:01:29 + grep -v github /etc/ssh/ssh_known_hosts 16:01:29 + [ -e /tmp/ssh_known_hosts ] 16:01:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:01:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:01:29 + sudo tee -a /etc/ssh/ssh_known_hosts 16:01:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:01:29 16:01:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:01:30 0.1.4: Pulling from edgex-devops/py-git-semver 16:01:30 b85a868b505f: Pulling fs layer 16:01:30 e2be974225ed: Pulling fs layer 16:01:30 339a4e72a1f5: Pulling fs layer 16:01:30 988bab9f4d93: Pulling fs layer 16:01:30 1469e6f7b9e6: Pulling fs layer 16:01:30 eaf3925da568: Pulling fs layer 16:01:30 bab4dde63d76: Pulling fs layer 16:01:30 bde34c3a00c8: Pulling fs layer 16:01:30 b352a97aabf1: Pulling fs layer 16:01:30 4872d77fe225: Pulling fs layer 16:01:30 5851b861e8e6: Pulling fs layer 16:01:30 bde34c3a00c8: Waiting 16:01:30 b352a97aabf1: Waiting 16:01:30 4872d77fe225: Waiting 16:01:30 5851b861e8e6: Waiting 16:01:30 1469e6f7b9e6: Waiting 16:01:30 eaf3925da568: Waiting 16:01:30 bab4dde63d76: Waiting 16:01:30 988bab9f4d93: Waiting 16:01:30 e2be974225ed: Download complete 16:01:30 988bab9f4d93: Verifying Checksum 16:01:30 988bab9f4d93: Download complete 16:01:30 1469e6f7b9e6: Download complete 16:01:30 eaf3925da568: Verifying Checksum 16:01:30 eaf3925da568: Download complete 16:01:30 339a4e72a1f5: Verifying Checksum 16:01:30 339a4e72a1f5: Download complete 16:01:30 bde34c3a00c8: Verifying Checksum 16:01:30 bde34c3a00c8: Download complete 16:01:30 b352a97aabf1: Verifying Checksum 16:01:30 b352a97aabf1: Download complete 16:01:30 4872d77fe225: Verifying Checksum 16:01:30 4872d77fe225: Download complete 16:01:30 5851b861e8e6: Verifying Checksum 16:01:30 5851b861e8e6: Download complete 16:01:30 b85a868b505f: Verifying Checksum 16:01:30 b85a868b505f: Download complete 16:01:30 bab4dde63d76: Verifying Checksum 16:01:30 bab4dde63d76: Download complete 16:01:31 b85a868b505f: Pull complete 16:01:31 e2be974225ed: Pull complete 16:01:32 339a4e72a1f5: Pull complete 16:01:32 988bab9f4d93: Pull complete 16:01:32 1469e6f7b9e6: Pull complete 16:01:32 eaf3925da568: Pull complete 16:01:34 bab4dde63d76: Pull complete 16:01:34 bde34c3a00c8: Pull complete 16:01:34 b352a97aabf1: Pull complete 16:01:34 4872d77fe225: Pull complete 16:01:34 5851b861e8e6: Pull complete 16:01:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:01:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:34 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:01:34 $ 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 16:01:38 $ docker top 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 -eo pid,comm 16:01:38 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). 16:01:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:01:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:38 [ssh-agent] Looking for ssh-agent implementation... 16:01:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:38 $ docker exec 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent 16:01:38 SSH_AUTH_SOCK=/tmp/ssh-QiUjNeOIgnMT/agent.31 16:01:38 SSH_AGENT_PID=37 16:01:38 Running ssh-add (command line suppressed) 16:01:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8006375967051884051.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8006375967051884051.key) 16:01:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:38 + git tag --points-at HEAD [Pipeline] } 16:01:38 $ docker exec --env ******** --env ******** 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent -k 16:01:38 unset SSH_AUTH_SOCK; 16:01:38 unset SSH_AGENT_PID; 16:01:38 echo Agent pid 37 killed; 16:01:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:39 [ssh-agent] Looking for ssh-agent implementation... 16:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:39 $ docker exec 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent 16:01:39 SSH_AUTH_SOCK=/tmp/ssh-D3eZ36i3Qlor/agent.70 16:01:39 SSH_AGENT_PID=76 16:01:39 Running ssh-add (command line suppressed) 16:01:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3857942958284701685.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3857942958284701685.key) 16:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:39 + git semver init 16:01:39 2024-12-11 16:01:39,829 [run_init] DEBUG init version:0.0.0 force:False 16:01:39 2024-12-11 16:01:39,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 16:01:39 2024-12-11 16:01:39,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 16:01:39 2024-12-11 16:01:39,831 [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) 16:01:40 2024-12-11 16:01:40,634 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 16:01:40 2024-12-11 16:01:40,634 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 16:01:40 2024-12-11 16:01:40,634 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:01:40 2024-12-11 16:01:40,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:01:40 4.0.0-dev.9 [Pipeline] } 16:01:40 $ docker exec --env ******** --env ******** 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 ssh-agent -k 16:01:40 unset SSH_AUTH_SOCK; 16:01:40 unset SSH_AGENT_PID; 16:01:40 echo Agent pid 76 killed; 16:01:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:01:41 + git semver [Pipeline] } 16:01:41 $ docker stop --time=1 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 16:01:42 $ docker rm -f --volumes 7fa8bdf7f5473cf00beba75a5c751831838d6147351d0475e21a7ec417911b02 [Pipeline] // withDockerContainer [Pipeline] sh 16:01:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:01:43 Stashed 1 file(s) [Pipeline] echo 16:01:43 [edgeXSemver]: initialized semver on version 4.0.0-dev.9 [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 16:01:43 provisioning config files... [Pipeline] // stage [Pipeline] } 16:01:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13702510190027338766tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 16:01:44 ---> ****-login.sh 16:01:44 nexus3.edgexfoundry.org:10001 16:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:44 Configure a credential helper to remove this warning. See 16:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:44 16:01:44 Login Succeeded 16:01:44 nexus3.edgexfoundry.org:10002 16:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:44 Configure a credential helper to remove this warning. See 16:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:44 16:01:44 Login Succeeded 16:01:44 nexus3.edgexfoundry.org:10003 16:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:44 Configure a credential helper to remove this warning. See 16:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:44 16:01:44 Login Succeeded 16:01:44 nexus3.edgexfoundry.org:10004 16:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:44 Configure a credential helper to remove this warning. See 16:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:44 16:01:44 Login Succeeded 16:01:44 ****.io 16:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:01:44 Configure a credential helper to remove this warning. See 16:01:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:01:44 16:01:44 Login Succeeded 16:01:44 ---> ****-login.sh ends [Pipeline] } 16:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:01:44 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 16:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:01:44 ========================================================= 16:01:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:01:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:45 + 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 . 16:01:45 Sending build context to Docker daemon 5.2MB 16:01:45 Step 1/22 : ARG BASE=alpine:3.18 16:01:45 Step 2/22 : FROM ${BASE} as builder 16:01:45 latest: Pulling from edgex-devops/edgex-gcc-base 16:01:45 96526aa774ef: Pulling fs layer 16:01:45 da60e534fd72: Pulling fs layer 16:01:45 96526aa774ef: Verifying Checksum 16:01:45 96526aa774ef: Download complete 16:01:45 96526aa774ef: Pull complete 16:01:45 da60e534fd72: Verifying Checksum 16:01:45 da60e534fd72: Download complete 16:01:49 da60e534fd72: Pull complete 16:01:49 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 16:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:01:49 ---> 6605166a5db4 16:01:49 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 16:01:51 ---> Running in 7593e1ae3e6b 16:01:51 Connecting to iotech.jfrog.io (34.246.139.145:443) 16:01:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:01:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:01:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:01:52 Removing intermediate container 7593e1ae3e6b 16:01:52 ---> 33656b46ba09 16:01:52 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:01:52 ---> Running in 02fbb3c33e00 16:01:52 Removing intermediate container 02fbb3c33e00 16:01:52 ---> fae9ebb8964d 16:01:52 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 16:01:53 ---> Running in 4ab1b20e94ca 16:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:01:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:01:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:01:54 (1/15) Installing libcbor (0.10.2-r1) 16:01:54 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 16:01:55 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 16:01:55 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:01:55 (5/15) Installing libcbor-dev (0.10.2-r1) 16:01:55 (6/15) Installing libmenuw (6.4_p20230506-r0) 16:01:55 (7/15) Installing libpanelw (6.4_p20230506-r0) 16:01:55 (8/15) Installing libncurses++ (6.4_p20230506-r0) 16:01:55 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 16:01:55 (10/15) Installing libblkid (2.38.1-r8) 16:01:55 (11/15) Installing libuuid (2.38.1-r8) 16:01:55 (12/15) Installing libfdisk (2.38.1-r8) 16:01:55 (13/15) Installing libmount (2.38.1-r8) 16:01:55 (14/15) Installing libsmartcols (2.38.1-r8) 16:01:55 (15/15) Installing util-linux-dev (2.38.1-r8) 16:01:55 Executing busybox-1.36.1-r4.trigger 16:01:55 OK: 336 MiB in 97 packages 16:01:56 Removing intermediate container 4ab1b20e94ca 16:01:56 ---> f8a5961df035 16:01:56 Step 6/22 : RUN mkdir /tmp/sdk 16:01:56 ---> Running in 0b93fd492ef1 16:01:56 Removing intermediate container 0b93fd492ef1 16:01:56 ---> c060f2749fd6 16:01:56 Step 7/22 : COPY VERSION /tmp/sdk 16:01:56 ---> 4b979f561f87 16:01:56 Step 8/22 : COPY src /tmp/sdk/src 16:01:57 ---> c27ec93b35e6 16:01:57 Step 9/22 : COPY include /tmp/sdk/include 16:01:57 ---> 09131ba1852b 16:01:57 Step 10/22 : COPY scripts /tmp/sdk/scripts 16:01:57 ---> 3cce7892aee1 16:01:57 Step 11/22 : COPY LICENSE /tmp/sdk 16:01:57 ---> 7f495f4173f9 16:01:57 Step 12/22 : COPY Attribution.txt /tmp/sdk 16:01:57 ---> 1422c4860903 16:01:57 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:01:57 ---> Running in 78815d2d0817 16:01:58 + CPPCHECK=false 16:01:58 + DOCGEN=false 16:01:58 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 16:01:58 + '[' 0 -gt 0 ] 16:01:58 + readlink -f ./scripts/build.sh 16:01:58 + dirname /tmp/sdk/scripts/build.sh 16:01:58 + dirname /tmp/sdk/scripts 16:01:58 + ROOT=/tmp/sdk 16:01:58 + cd /tmp/sdk 16:01:58 + mkdir -p /tmp/sdk/build/release 16:01:58 + cd /tmp/sdk/build/release 16:01:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:01:58 -- The C compiler identification is GNU 12.2.1 16:01:58 -- Detecting C compiler ABI info 16:01:58 -- Detecting C compiler ABI info - done 16:01:58 -- Check for working C compiler: /usr/bin/cc - skipped 16:01:58 -- Detecting C compile features 16:01:58 -- Detecting C compile features - done 16:01:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:01:58 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:01:58 -- Found LIBYAML: /usr/lib/libyaml.so 16:01:58 -- Found LIBUUID: /usr/lib/libuuid.so 16:01:58 -- Found LIBCBOR: /usr/lib/libcbor.so 16:01:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:01:58 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:01:58 -- /opt/iotech/iot/1.5/include 16:01:58 -- C SDK 4.0.0-dev.9 for Linux 16:01:58 -- Performing Test CSDK_HAVE_ATOMIC 16:01:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:01:58 -- Found Curses: /usr/lib/libcurses.so 16:01:58 -- Configuring done (0.4s) 16:01:58 -- Generating done (0.0s) 16:01:58 -- Build files have been written to: /tmp/sdk/build/release 16:01:58 + make all package 16:01:58 + tee release.log 16:01:58 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:01:58 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:01:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:01:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:01:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:01:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:01:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:01:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:01:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:01:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:01:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:01:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:02:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:02:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:02:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:02:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:02:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 16:02:00 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 16:02:00 from /tmp/sdk/src/c/registry.h:14, 16:02:00 from /tmp/sdk/src/c/registry-impl.h:12, 16:02:00 from /tmp/sdk/src/c/keeper.h:12, 16:02:00 from /tmp/sdk/src/c/keeper.c:1: 16:02:00 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 16:02:00 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 16:02:00 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 16:02:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:02:00 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 16:02:00 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 16:02:00 | ^~~~~~~~~~~ 16:02:00 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 16:02:00 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 16:02:00 | ~^ 16:02:00 | | 16:02:00 | char * 16:02:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:02:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:02:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 16:02:01 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:02:02 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:02:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:02:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:02:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:02:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:02:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:02:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:02:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:02:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:02:03 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:02:03 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 16:02:03 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 16:02:03 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 16:02:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:02:03 /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here 16:02:03 883 | const iot_data_t *deviceservices_config; 16:02:03 | ^~~~~~~~~~~~~~~~~~~~~ 16:02:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:02:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:02:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:02:04 [ 68%] Linking C shared library libcsdk.so 16:02:04 [ 68%] Built target csdk 16:02:04 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:02:04 [ 72%] Linking C executable template 16:02:04 [ 72%] Built target template 16:02:04 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:02:04 [ 76%] Linking C executable device-counter 16:02:04 [ 76%] Built target device-counter 16:02:04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:02:04 [ 80%] Linking C executable device-random 16:02:04 [ 80%] Built target device-random 16:02:04 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:02:05 [ 84%] Linking C executable device-gyro 16:02:05 [ 84%] Built target device-gyro 16:02:05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:02:05 [ 88%] Linking C executable device-bitfields 16:02:05 [ 88%] Built target device-bitfields 16:02:05 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:02:05 [ 92%] Linking C executable template-discovery 16:02:05 [ 92%] Built target template-discovery 16:02:05 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:02:05 [ 96%] Linking C executable device-file 16:02:05 [ 96%] Built target device-file 16:02:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:02:05 [100%] Linking C executable device-terminal 16:02:05 [100%] Built target device-terminal 16:02:05 Run CPack packaging tool... 16:02:05 CPack: Create package using TGZ 16:02:05 CPack: Install projects 16:02:05 CPack: - Run preinstall target for: Csdk 16:02:06 CPack: - Install project: Csdk [] 16:02:06 CPack: Create package 16:02:06 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.9.tar.gz generated. 16:02:06 + '[' false '=' true ] 16:02:06 + '[' false '=' true ] 16:02:06 + mkdir -p /tmp/sdk/build/debug 16:02:06 + cd /tmp/sdk/build/debug 16:02:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:02:06 -- The C compiler identification is GNU 12.2.1 16:02:06 -- Detecting C compiler ABI info 16:02:06 -- Detecting C compiler ABI info - done 16:02:06 -- Check for working C compiler: /usr/bin/cc - skipped 16:02:06 -- Detecting C compile features 16:02:06 -- Detecting C compile features - done 16:02:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:02:06 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:02:06 -- Found LIBYAML: /usr/lib/libyaml.so 16:02:06 -- Found LIBUUID: /usr/lib/libuuid.so 16:02:06 -- Found LIBCBOR: /usr/lib/libcbor.so 16:02:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:02:06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:02:06 -- /opt/iotech/iot/1.5/include 16:02:06 -- C SDK 4.0.0-dev.9 for Linux 16:02:06 -- Performing Test CSDK_HAVE_ATOMIC 16:02:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:02:06 -- Found Curses: /usr/lib/libcurses.so 16:02:06 -- Configuring done (0.4s) 16:02:06 -- Generating done (0.0s) 16:02:06 -- Build files have been written to: /tmp/sdk/build/debug 16:02:06 + make 16:02:06 + tee debug.log 16:02:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:02:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:02:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:02:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:02:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:02:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:02:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:02:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:02:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:02:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:02:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:02:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:02:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:02:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:02:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:02:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:02:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 16:02:07 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 16:02:07 from /tmp/sdk/src/c/registry.h:14, 16:02:07 from /tmp/sdk/src/c/registry-impl.h:12, 16:02:07 from /tmp/sdk/src/c/keeper.h:12, 16:02:07 from /tmp/sdk/src/c/keeper.c:1: 16:02:07 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 16:02:07 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 16:02:07 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 16:02:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:02:07 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 16:02:07 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 16:02:07 | ^~~~~~~~~~~ 16:02:07 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 16:02:07 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 16:02:07 | ~^ 16:02:07 | | 16:02:07 | char * 16:02:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:02:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:02:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 16:02:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:02:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:02:08 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:02:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:02:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:02:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:02:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:02:08 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:02:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:02:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:02:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:02:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:02:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:02:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:02:09 [ 68%] Linking C shared library libcsdk.so 16:02:09 [ 68%] Built target csdk 16:02:09 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:02:09 [ 72%] Linking C executable template 16:02:09 [ 72%] Built target template 16:02:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:02:09 [ 76%] Linking C executable device-counter 16:02:09 [ 76%] Built target device-counter 16:02:09 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:02:09 [ 80%] Linking C executable device-random 16:02:09 [ 80%] Built target device-random 16:02:09 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:02:09 [ 84%] Linking C executable device-gyro 16:02:09 [ 84%] Built target device-gyro 16:02:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:02:09 [ 88%] Linking C executable device-bitfields 16:02:10 [ 88%] Built target device-bitfields 16:02:10 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:02:10 [ 92%] Linking C executable template-discovery 16:02:10 [ 92%] Built target template-discovery 16:02:10 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:02:10 [ 96%] Linking C executable device-file 16:02:10 [ 96%] Built target device-file 16:02:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:02:10 [100%] Linking C executable device-terminal 16:02:10 [100%] Built target device-terminal 16:02:10 make: Entering directory '/tmp/sdk/build/release' 16:02:10 [ 68%] Built target csdk 16:02:10 [ 72%] Built target template 16:02:10 [ 76%] Built target device-counter 16:02:10 [ 80%] Built target device-random 16:02:10 [ 84%] Built target device-gyro 16:02:10 [ 88%] Built target device-bitfields 16:02:10 [ 92%] Built target template-discovery 16:02:10 [ 96%] Built target device-file 16:02:10 [100%] Built target device-terminal 16:02:10 Install the project... 16:02:10 -- Install configuration: "Release" 16:02:10 -- Installing: /usr/local/lib/libcsdk.so 16:02:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:02:10 -- Installing: /usr/local/include 16:02:10 -- Installing: /usr/local/include/devsdk 16:02:10 -- Installing: /usr/local/include/devsdk/devsdk.h 16:02:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:02:10 -- Installing: /usr/local/include/edgex 16:02:10 -- Installing: /usr/local/include/edgex/edgex.h 16:02:10 -- Installing: /usr/local/include/edgex/devices.h 16:02:10 -- Installing: /usr/local/include/edgex/profiles.h 16:02:10 -- Installing: /usr/local/include/edgex/edgex-base.h 16:02:10 -- Installing: /usr/local/include/edgex/rest-server.h 16:02:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:02:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:02:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:02:10 make: Leaving directory '/tmp/sdk/build/release' 16:02:11 Removing intermediate container 78815d2d0817 16:02:11 ---> 3c075809a2e0 16:02:11 Step 14/22 : FROM ${BASE} 16:02:11 ---> 6605166a5db4 16:02:11 Step 15/22 : LABEL maintainer="IOTech " 16:02:11 ---> Running in d9488162e2a9 16:02:11 Removing intermediate container d9488162e2a9 16:02:11 ---> aecda398f7ec 16:02:11 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 16:02:11 ---> Running in 9e31a54cffe6 16:02:12 Connecting to iotech.jfrog.io (54.73.4.50:443) 16:02:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:02:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:02:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:02:12 Removing intermediate container 9e31a54cffe6 16:02:12 ---> 6998072e139a 16:02:12 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:02:12 ---> Running in 4be89122b9a3 16:02:13 Removing intermediate container 4be89122b9a3 16:02:13 ---> 8673bc2f9060 16:02:13 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 16:02:13 ---> Running in e4cd5f7def4a 16:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:02:14 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:02:14 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 16:02:14 (2/8) Installing curl (8.9.1-r1) 16:02:14 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 16:02:14 (4/8) Installing dumb-init (1.2.5-r2) 16:02:14 (5/8) Installing libcbor (0.10.2-r1) 16:02:14 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 16:02:15 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:02:15 (8/8) Installing libuuid (2.38.1-r8) 16:02:15 Executing busybox-1.36.1-r4.trigger 16:02:15 OK: 331 MiB in 88 packages 16:02:16 Removing intermediate container e4cd5f7def4a 16:02:16 ---> f62612b91b95 16:02:16 Step 19/22 : RUN apk --no-cache upgrade 16:02:16 ---> Running in 0f2619d975bb 16:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:02:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:02:16 Upgrading critical system libraries and apk-tools: 16:02:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 16:02:17 Executing busybox-1.36.1-r4.trigger 16:02:17 Continuing the upgrade transaction with new apk-tools: 16:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:02:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:02:17 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 16:02:17 Executing busybox-1.36.1-r7.post-upgrade 16:02:17 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 16:02:18 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 16:02:18 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 16:02:18 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 16:02:18 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 16:02:18 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 16:02:18 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 16:02:18 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 16:02:18 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 16:02:18 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 16:02:18 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 16:02:18 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 16:02:18 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 16:02:18 Executing busybox-1.36.1-r7.trigger 16:02:18 Executing ca-certificates-20240226-r0.trigger 16:02:18 OK: 331 MiB in 88 packages 16:02:19 Removing intermediate container 0f2619d975bb 16:02:19 ---> 5adc63c81349 16:02:19 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:02:19 ---> 2b8470f0adc1 16:02:19 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 16:02:19 ---> 67b578b06e25 16:02:19 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:02:19 ---> ef42fc55fd0e 16:02:19 Successfully built ef42fc55fd0e 16:02:19 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 16:02:19 + docker inspect -f . ci-base-image-x86_64 16:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:20 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:02:20 $ 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 16:02:20 $ docker top 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc -eo pid,comm [Pipeline] { [Pipeline] sh 16:02:20 + make test 16:02:20 echo "make test" 16:02:20 make test [Pipeline] } 16:02:20 $ docker stop --time=1 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc 16:02:21 $ docker rm -f --volumes 0eaf9395444b0e931c10c638fe37f83fe27b13ecee7f53f6bf6735e7b02ff9bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:22 + ls -al . 16:02:22 total 212 16:02:22 drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 16:01 . 16:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 .. 16:02:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 16:01 .git 16:02:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 16:01 .github 16:02:22 -rw-rw-r-- 1 jenkins jenkins 176 Dec 11 16:01 .gitignore 16:02:22 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 16:01 .semver 16:02:22 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 11 16:01 Attribution.txt 16:02:22 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 11 16:01 CHANGELOG.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 11 16:01 Doxyfile 16:02:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 11 16:01 GOVERNANCE.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 784 Dec 11 16:01 Jenkinsfile 16:02:22 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 11 16:01 LICENSE 16:02:22 -rw-rw-r-- 1 jenkins jenkins 444 Dec 11 16:01 Makefile 16:02:22 -rw-rw-r-- 1 jenkins jenkins 618 Dec 11 16:01 OWNERS.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 11 16:01 README.IOT.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 11 16:01 README.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 11 16:01 README.v3.md 16:02:22 -rw-rw-r-- 1 jenkins jenkins 11 Dec 11 16:01 VERSION 16:02:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 16:01 docs 16:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 include 16:02:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 16:01 scripts 16:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 16:01 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:23 + 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=84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca --label arch=amd64 --label version=4.0.0-dev.9 . 16:02:23 Sending build context to Docker daemon 5.2MB 16:02:23 Step 1/18 : ARG BASE=alpine:3.18 16:02:23 Step 2/18 : FROM ${BASE} 16:02:23 ---> ef42fc55fd0e 16:02:23 Step 3/18 : LABEL maintainer="IOTech " 16:02:23 ---> Running in 559c35aa80de 16:02:23 Removing intermediate container 559c35aa80de 16:02:23 ---> ab8da25f2a0f 16:02:23 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 16:02:23 ---> Running in e6c075d3c071 16:02:23 Connecting to iotech.jfrog.io (34.246.139.145:443) 16:02:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:02:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:02:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:02:24 Removing intermediate container e6c075d3c071 16:02:24 ---> 9cf521a74e02 16:02:24 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:02:24 ---> Running in 47f7d6a79ef5 16:02:25 Removing intermediate container 47f7d6a79ef5 16:02:25 ---> 42f151a47cac 16:02:25 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 16:02:25 ---> Running in 3abccec1e626 16:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:02:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:02:26 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 16:02:26 (2/11) Installing libcbor-dev (0.10.2-r1) 16:02:26 (3/11) Installing libmenuw (6.4_p20230506-r0) 16:02:26 (4/11) Installing libpanelw (6.4_p20230506-r0) 16:02:26 (5/11) Installing libncurses++ (6.4_p20230506-r0) 16:02:26 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 16:02:26 (7/11) Installing libblkid (2.38.1-r8) 16:02:26 (8/11) Installing libfdisk (2.38.1-r8) 16:02:26 (9/11) Installing libmount (2.38.1-r8) 16:02:26 (10/11) Installing libsmartcols (2.38.1-r8) 16:02:26 (11/11) Installing util-linux-dev (2.38.1-r8) 16:02:26 Executing busybox-1.36.1-r7.trigger 16:02:26 OK: 336 MiB in 99 packages 16:02:27 Removing intermediate container 3abccec1e626 16:02:27 ---> 40f9dcd004f4 16:02:27 Step 7/18 : RUN apk --no-cache upgrade 16:02:27 ---> Running in 086501beca19 16:02:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:02:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:02:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:02:28 OK: 336 MiB in 99 packages 16:02:28 Removing intermediate container 086501beca19 16:02:28 ---> 6404f67359e4 16:02:28 Step 8/18 : COPY VERSION /edgex-c-sdk/ 16:02:28 ---> e7f86ca81fe8 16:02:28 Step 9/18 : COPY src /edgex-c-sdk/src/ 16:02:28 ---> 90a184c93302 16:02:28 Step 10/18 : COPY include /edgex-c-sdk/include/ 16:02:28 ---> 4c993bd32e75 16:02:28 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 16:02:29 ---> 373d18860ad3 16:02:29 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 16:02:29 ---> 5315c5984abf 16:02:29 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 16:02:29 ---> 687f4c338d52 16:02:29 Step 14/18 : WORKDIR /edgex-c-sdk 16:02:29 ---> Running in b6068f3bd94d 16:02:29 Removing intermediate container b6068f3bd94d 16:02:29 ---> 0ba0bfb735af 16:02:29 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:02:29 ---> Running in 2265cbe27709 16:02:29 Removing intermediate container 2265cbe27709 16:02:29 ---> 46c303c644c1 16:02:29 Step 16/18 : LABEL arch=amd64 16:02:29 ---> Running in 509d42b0e960 16:02:29 Removing intermediate container 509d42b0e960 16:02:29 ---> 86ddb0194048 16:02:29 Step 17/18 : LABEL git_sha=84c80157ffc4713fcbabd445ae8f8e4d09b4c1ca 16:02:29 ---> Running in 107ccc1fe887 16:02:29 Removing intermediate container 107ccc1fe887 16:02:29 ---> ca1a9bf77607 16:02:29 Step 18/18 : LABEL version=4.0.0-dev.9 16:02:29 ---> Running in a54b09908c7d 16:02:29 Removing intermediate container a54b09908c7d 16:02:29 ---> 9290233c9769 16:02:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:02:29 Successfully built 9290233c9769 16:02:29 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 16:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:30 16:02:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:30 latest: Pulling from edgex-lftools-log-publisher 16:02:30 5eb5b503b376: Pulling fs layer 16:02:30 5c69ac0246d0: Pulling fs layer 16:02:30 ec43610c2a17: Pulling fs layer 16:02:30 3a2ae6a8a46f: Pulling fs layer 16:02:30 33b1e0a273af: Pulling fs layer 16:02:30 5d3b04190fa2: Pulling fs layer 16:02:30 2f39f015ded8: Pulling fs layer 16:02:30 33b1e0a273af: Waiting 16:02:30 5d3b04190fa2: Waiting 16:02:30 2f39f015ded8: Waiting 16:02:30 3a2ae6a8a46f: Waiting 16:02:30 5c69ac0246d0: Download complete 16:02:30 3a2ae6a8a46f: Verifying Checksum 16:02:30 3a2ae6a8a46f: Download complete 16:02:30 33b1e0a273af: Verifying Checksum 16:02:30 33b1e0a273af: Download complete 16:02:30 5d3b04190fa2: Verifying Checksum 16:02:30 5d3b04190fa2: Download complete 16:02:31 ec43610c2a17: Verifying Checksum 16:02:31 ec43610c2a17: Download complete 16:02:31 5eb5b503b376: Verifying Checksum 16:02:31 5eb5b503b376: Download complete 16:02:31 2f39f015ded8: Download complete 16:02:32 5eb5b503b376: Pull complete 16:02:32 5c69ac0246d0: Pull complete 16:02:32 ec43610c2a17: Pull complete 16:02:32 3a2ae6a8a46f: Pull complete 16:02:33 33b1e0a273af: Pull complete 16:02:33 5d3b04190fa2: Pull complete 16:02:36 2f39f015ded8: Pull complete 16:02:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:36 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:02:36 $ 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 16:02:40 $ docker top 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:41 ---> job-cost.sh 16:02:41 lf-activate-venv: SKIPPING 16:02:41 INFO: No Stack... 16:02:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:02:41 INFO: Archiving Costs [Pipeline] sh 16:02:42 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 16:02:42 + cut -d, -f6 [Pipeline] lock 16:02:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] 16:02:42 Resource [jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] did not exist. Created. 16:02:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:02:42 + echo total: 0.2199999988079071 [Pipeline] stash 16:02:42 Stashed 1 file(s) [Pipeline] } 16:02:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 16:02:42 $ docker stop --time=1 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 16:02:43 $ docker rm -f --volumes 920aa13d24bf699e336e7f37fa448fd6c728f394b04edb0ce4aaadc74e298c59 [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 16:02:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:02:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:44 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:02:44 $ 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 16:02:44 $ docker top e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 -eo pid,comm 16:02:44 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). 16:02:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:02:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:02:44 [ssh-agent] Looking for ssh-agent implementation... 16:02:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:02:45 $ docker exec e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 ssh-agent 16:02:45 SSH_AUTH_SOCK=/tmp/ssh-FcVZFjuXwK26/agent.33 16:02:45 SSH_AGENT_PID=40 16:02:45 Running ssh-add (command line suppressed) 16:02:45 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5015301843852914310.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5015301843852914310.key) 16:02:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:02:45 + git semver tag 16:02:45 2024-12-11 16:02:45,783 [run_tag] DEBUG tag force:False 16:02:45 2024-12-11 16:02:45,783 [check_head_tag] DEBUG check head tag 16:02:45 2024-12-11 16:02:45,784 [execute] INFO git cat-file --batch-check 16:02:45 2024-12-11 16:02:45,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 16:02:45 2024-12-11 16:02:45,788 [execute] INFO git cat-file --batch 16:02:45 2024-12-11 16:02:45,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 16:02:45 2024-12-11 16:02:45,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:02:45 2024-12-11 16:02:45,804 [execute] INFO git tag -a v4.0.0-dev.9 -m v4.0.0-dev.9 16:02:45 2024-12-11 16:02:45,804 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.9', '-m', 'v4.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 16:02:45 2024-12-11 16:02:45,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:02:45 4.0.0-dev.9 [Pipeline] } 16:02:45 $ docker exec --env ******** --env ******** e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 ssh-agent -k 16:02:45 unset SSH_AUTH_SOCK; 16:02:45 unset SSH_AGENT_PID; 16:02:45 echo Agent pid 40 killed; 16:02:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:02:46 + git semver [Pipeline] } 16:02:46 $ docker stop --time=1 e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 16:02:47 $ docker rm -f --volumes e2c151abcd5342d1fe16a41c612338d1f52ed4eca98761c74baea356e1045653 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:02:48 16:02:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:02:48 0.23.1-centos7: Pulling from edgex-lftools 16:02:48 ab5ef0e58194: Pulling fs layer 16:02:48 9712f1f96733: Pulling fs layer 16:02:48 63f879dbbcfc: Pulling fs layer 16:02:48 0d9ebad4ef96: Pulling fs layer 16:02:48 e9a5061849ea: Pulling fs layer 16:02:48 d747dcd14b5f: Pulling fs layer 16:02:48 2de7ff778b66: Pulling fs layer 16:02:48 e9a5061849ea: Waiting 16:02:48 0d9ebad4ef96: Waiting 16:02:48 2de7ff778b66: Waiting 16:02:48 d747dcd14b5f: Waiting 16:02:48 9712f1f96733: Verifying Checksum 16:02:48 9712f1f96733: Download complete 16:02:48 63f879dbbcfc: Verifying Checksum 16:02:48 63f879dbbcfc: Download complete 16:02:49 e9a5061849ea: Verifying Checksum 16:02:49 e9a5061849ea: Download complete 16:02:49 d747dcd14b5f: Download complete 16:02:49 0d9ebad4ef96: Verifying Checksum 16:02:49 0d9ebad4ef96: Download complete 16:02:49 ab5ef0e58194: Verifying Checksum 16:02:49 ab5ef0e58194: Download complete 16:02:49 2de7ff778b66: Verifying Checksum 16:02:51 ab5ef0e58194: Pull complete 16:02:51 9712f1f96733: Pull complete 16:02:52 63f879dbbcfc: Pull complete 16:02:55 0d9ebad4ef96: Pull complete 16:02:55 e9a5061849ea: Pull complete 16:02:55 d747dcd14b5f: Pull complete 16:02:56 2de7ff778b66: Pull complete 16:02:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:02:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:56 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:02:56 $ 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 16:03:01 $ docker top 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:03:01 provisioning config files... 16:03:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6552822571273144567tmp 16:03:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15841874697746021977tmp 16:03:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14289772122954079981tmp [Pipeline] { [Pipeline] echo 16:03:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:03:01 ---> sigul-configuration.sh 16:03:01 gpg: directory `/root/.gnupg' created 16:03:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:03:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:03:01 gpg: keyring `/root/.gnupg/secring.gpg' created 16:03:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:03:01 gpg: CAST5 encrypted data 16:03:01 gpg: encrypted with 1 passphrase 16:03:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:03:01 + mkdir /home/jenkins 16:03:01 + mkdir /home/jenkins/sigul [Pipeline] sh 16:03:02 + 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 16:03:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:03:02 ---> sigul-install.sh 16:03:02 Sigul already installed; skipping installation. [Pipeline] sh 16:03:02 + git tag --list 16:03:02 0.7.0 16:03:02 0.7.1 16:03:02 1.0.0 16:03:02 v1.0.1 16:03:02 v1.0.2 16:03:02 v1.0.3 16:03:02 v1.1.0 16:03:02 v1.1.1 16:03:02 v1.2.0 16:03:02 v1.2.1 16:03:02 v1.2.2 16:03:02 v1.3.0 16:03:02 v1.3.1 16:03:02 v2.0.0 16:03:02 v2.1.0 16:03:02 v2.2.0 16:03:02 v2.3.0 16:03:02 v3.0 16:03:02 v3.0.0 16:03:02 v3.0.1 16:03:02 v3.0.2 16:03:02 v3.0.3-dev.1 16:03:02 v3.0.3-dev.10 16:03:02 v3.0.3-dev.11 16:03:02 v3.0.3-dev.12 16:03:02 v3.0.3-dev.13 16:03:02 v3.0.3-dev.14 16:03:02 v3.0.3-dev.15 16:03:02 v3.0.3-dev.16 16:03:02 v3.0.3-dev.17 16:03:02 v3.0.3-dev.2 16:03:02 v3.0.3-dev.3 16:03:02 v3.0.3-dev.4 16:03:02 v3.0.3-dev.5 16:03:02 v3.0.3-dev.6 16:03:02 v3.0.3-dev.7 16:03:02 v3.0.3-dev.8 16:03:02 v3.0.3-dev.9 16:03:02 v3.1 16:03:02 v3.1.0 16:03:02 v3.1.0-dev.1 16:03:02 v3.1.0-dev.2 16:03:02 v3.1.0-dev.3 16:03:02 v3.1.0-dev.4 16:03:02 v3.1.0-dev.5 16:03:02 v3.1.0-dev.6 16:03:02 v3.1.0-dev.7 16:03:02 v3.1.0-dev.8 16:03:02 v3.1.0-dev.9 16:03:02 v3.1.1 16:03:02 v3.1.1-dev.1 16:03:02 v4.0.0-dev.1 16:03:02 v4.0.0-dev.2 16:03:02 v4.0.0-dev.3 16:03:02 v4.0.0-dev.4 16:03:02 v4.0.0-dev.5 16:03:02 v4.0.0-dev.6 16:03:02 v4.0.0-dev.7 16:03:02 v4.0.0-dev.8 16:03:02 v4.0.0-dev.9 [Pipeline] sh 16:03:03 + lftools sign git-tag v4.0.0-dev.9 16:03:03 Signing Git tag with Sigul... 16:03:03 Signing v4.0.0-dev.9 [Pipeline] echo 16:03:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:03:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:03:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:03:04 $ docker stop --time=1 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 16:03:05 $ docker rm -f --volumes 52f67efcb6123a431df6909c6e9e6f489844593c03129d785411f5a41836cfb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:03:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:06 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:03:06 $ 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 16:03:06 $ docker top 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 -eo pid,comm 16:03:06 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). 16:03:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:06 [ssh-agent] Looking for ssh-agent implementation... 16:03:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:06 $ docker exec 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 ssh-agent 16:03:07 SSH_AUTH_SOCK=/tmp/ssh-tlbHGhhNscjx/agent.32 16:03:07 SSH_AGENT_PID=38 16:03:07 Running ssh-add (command line suppressed) 16:03:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12613662533682192991.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12613662533682192991.key) 16:03:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:07 + git semver bump pre 16:03:07 2024-12-11 16:03:07,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:07 2024-12-11 16:03:07,629 [bump_version] DEBUG bumping version:4.0.0-dev.9 on axis:pre with prefix:dev 16:03:07 2024-12-11 16:03:07,629 [bump_version] DEBUG bumped version:4.0.0-dev.10 16:03:07 2024-12-11 16:03:07,629 [write_version] DEBUG write version:4.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 16:03:07 2024-12-11 16:03:07,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:07 2024-12-11 16:03:07,630 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:07 2024-12-11 16:03:07,631 [execute] INFO git cat-file --batch-check 16:03:07 2024-12-11 16:03:07,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:07 2024-12-11 16:03:07,636 [execute] INFO git cat-file --batch 16:03:07 2024-12-11 16:03:07,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:07 2024-12-11 16:03:07,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:07 4.0.0-dev.10 [Pipeline] } 16:03:07 $ docker exec --env ******** --env ******** 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 ssh-agent -k 16:03:07 unset SSH_AUTH_SOCK; 16:03:07 unset SSH_AGENT_PID; 16:03:07 echo Agent pid 38 killed; 16:03:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:08 + git semver [Pipeline] } 16:03:08 $ docker stop --time=1 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 16:03:09 $ docker rm -f --volumes 3c017106efdfc02cbe918c55d93352a21eabb23f34d2e3336d79e725481a1378 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:10 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:03:10 $ 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 16:03:10 $ docker top 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 -eo pid,comm 16:03:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:03:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:10 [ssh-agent] Looking for ssh-agent implementation... 16:03:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:11 $ docker exec 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 ssh-agent 16:03:11 SSH_AUTH_SOCK=/tmp/ssh-OfTyTghvgVfd/agent.32 16:03:11 SSH_AGENT_PID=38 16:03:11 Running ssh-add (command line suppressed) 16:03:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_161278924489671417.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_161278924489671417.key) 16:03:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:11 + git semver push 16:03:12 2024-12-11 16:03:11,922 [run_push] DEBUG push 16:03:12 2024-12-11 16:03:11,922 [execute] INFO git cat-file --batch-check 16:03:12 2024-12-11 16:03:11,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:12 2024-12-11 16:03:11,925 [execute] INFO git rev-list fa3215d1286f5c210e6e338447f06fbaa6d7778c -- 16:03:12 2024-12-11 16:03:11,926 [execute] DEBUG Popen(['git', 'rev-list', 'fa3215d1286f5c210e6e338447f06fbaa6d7778c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:12 2024-12-11 16:03:11,931 [execute] INFO git fetch -v origin 16:03:12 2024-12-11 16:03:11,932 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 16:03:12 2024-12-11 16:03:12,371 [run_push] DEBUG no remote changes detected 16:03:12 2024-12-11 16:03:12,372 [execute] INFO git push origin semver 16:03:12 2024-12-11 16:03:12,372 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:13 2024-12-11 16:03:13,200 [run_push] DEBUG push all version tags 16:03:13 2024-12-11 16:03:13,200 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:03:13 2024-12-11 16:03:13,201 [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) 16:03:14 2024-12-11 16:03:13,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:14 4.0.0-dev.10 [Pipeline] } 16:03:14 $ docker exec --env ******** --env ******** 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 ssh-agent -k 16:03:14 unset SSH_AUTH_SOCK; 16:03:14 unset SSH_AGENT_PID; 16:03:14 echo Agent pid 38 killed; 16:03:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:14 + git semver [Pipeline] } 16:03:14 $ docker stop --time=1 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 16:03:16 $ docker rm -f --volumes 74bc47b3dffdf424c11ac5839e4274da5c9a6dd4e95967f33dc1847131dd2b17 [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 16:03:16 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 16:03:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:03:16 total 16 16:03:16 drwxr-xr-x 3 root root 4096 Dec 11 16:02 . 16:03:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 16:03 .. 16:03:16 drwxr-xr-x 2 root root 4096 Dec 11 16:02 cost 16:03:16 -rw-r--r-- 1 root root 83 Dec 11 16:02 cost.csv 16:03:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:03:16 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:03:16 total 16 16:03:16 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 16:02 . 16:03:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 16:03 .. 16:03:16 drwxr-xr-x 2 jenkins jenkins 4096 Dec 11 16:02 cost 16:03:16 -rw-r--r-- 1 jenkins jenkins 83 Dec 11 16:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:03:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:03:17 ---> package-listing.sh 16:03:17 ++ facter osfamily 16:03:17 ++ tr '[:upper:]' '[:lower:]' 16:03:18 + OS_FAMILY=debian 16:03:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 16:03:18 + START_PACKAGES=/tmp/packages_start.txt 16:03:18 + END_PACKAGES=/tmp/packages_end.txt 16:03:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:03:18 + PACKAGES=/tmp/packages_start.txt 16:03:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 16:03:18 + PACKAGES=/tmp/packages_end.txt 16:03:18 + case "${OS_FAMILY}" in 16:03:18 + dpkg -l 16:03:18 + grep '^ii' 16:03:18 + '[' -f /tmp/packages_start.txt ']' 16:03:18 + '[' -f /tmp/packages_end.txt ']' 16:03:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:03:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 16:03:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 16:03:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 16:03:18 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 16:03:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:19 prd-ubuntu20.04-docker-8c-8g-34912 does not seem to be running inside a container 16:03:19 $ 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 16:03:19 $ docker top 6a3d5ea5c534a7018558a41436d38247878fab4c44b487158a4f338c2cd96104 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:19 + touch /tmp/pre-build-complete [Pipeline] sh 16:03:19 + mkdir -p /var/log/sysstat [Pipeline] sh 16:03:20 + ls /var/log/sa-host 16:03:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:20 provisioning config files... 16:03:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11476063616514647322tmp [Pipeline] { [Pipeline] echo 16:03:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:03:20 ---> create-netrc.sh [Pipeline] } 16:03:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:03:21 ---> python-tools-install.sh [Pipeline] echo 16:03:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:03:21 ---> sudo-logs.sh 16:03:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:03:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:03:21 ---> job-cost.sh 16:03:21 lf-activate-venv: SKIPPING 16:03:21 DEBUG: total: 0.2199999988079071 16:03:21 INFO: Retrieving Stack Cost... 16:03:21 INFO: Retrieving Pricing Info for: v3-standard-8 16:03:22 INFO: Archiving Costs [Pipeline] echo 16:03:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:03:22 ---> logs-deploy.sh 16:03:22 lf-activate-venv: SKIPPING 16:03:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/86 16:03:22 INFO: archiving workspace using pattern(s): 16:03:23 Archives upload complete. 16:03:23 INFO: archiving logs to Nexus 16:03:24 ---> uname -a: 16:03:24 Linux prd-ubuntu20-04-docker-8c-8g-34912 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:03:24 16:03:24 16:03:24 ---> lscpu: 16:03:24 Architecture: x86_64 16:03:24 CPU op-mode(s): 32-bit, 64-bit 16:03:24 Byte Order: Little Endian 16:03:24 Address sizes: 40 bits physical, 48 bits virtual 16:03:24 CPU(s): 8 16:03:24 On-line CPU(s) list: 0-7 16:03:24 Thread(s) per core: 1 16:03:24 Core(s) per socket: 1 16:03:24 Socket(s): 8 16:03:24 NUMA node(s): 1 16:03:24 Vendor ID: AuthenticAMD 16:03:24 CPU family: 23 16:03:24 Model: 49 16:03:24 Model name: AMD EPYC-Rome Processor 16:03:24 Stepping: 0 16:03:24 CPU MHz: 2799.998 16:03:24 BogoMIPS: 5599.99 16:03:24 Virtualization: AMD-V 16:03:24 Hypervisor vendor: KVM 16:03:24 Virtualization type: full 16:03:24 L1d cache: 256 KiB 16:03:24 L1i cache: 256 KiB 16:03:24 L2 cache: 4 MiB 16:03:24 L3 cache: 128 MiB 16:03:24 NUMA node0 CPU(s): 0-7 16:03:24 Vulnerability Itlb multihit: Not affected 16:03:24 Vulnerability L1tf: Not affected 16:03:24 Vulnerability Mds: Not affected 16:03:24 Vulnerability Meltdown: Not affected 16:03:24 Vulnerability Mmio stale data: Not affected 16:03:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:03:24 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:03:24 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:03:24 Vulnerability Srbds: Not affected 16:03:24 Vulnerability Tsx async abort: Not affected 16:03:24 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 16:03:24 16:03:24 16:03:24 ---> nproc: 16:03:24 8 16:03:24 16:03:24 16:03:24 ---> df -h: 16:03:24 Filesystem Size Used Avail Use% Mounted on 16:03:24 overlay 155G 11G 145G 7% / 16:03:24 tmpfs 64M 0 64M 0% /dev 16:03:24 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:03:24 shm 64M 0 64M 0% /dev/shm 16:03:24 /dev/vda1 155G 11G 145G 7% /facter-os 16:03:24 16:03:24 16:03:24 ---> sar -b -r -n DEV: 16:03:24 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34912) 12/11/24 _x86_64_ (8 CPU) 16:03:24 16:03:24 16:00:44 LINUX RESTART (8 CPU) 16:03:24 16:03:24 16:01:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:03:24 16:02:01 353.46 48.19 305.27 0.00 5428.56 128656.16 0.00 16:03:24 16:03:01 250.71 0.22 250.49 0.00 16.26 44906.78 0.00 16:03:24 Average: 302.08 24.20 277.88 0.00 2722.41 86781.47 0.00 16:03:24 16:03:24 16:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:03:24 16:02:01 29515680 31543436 787596 2.40 66336 2251516 1956536 5.77 1064888 1941868 1988 16:03:24 16:03:01 28230716 31510056 792688 2.41 125612 3338004 1888864 5.57 1159272 2998592 816 16:03:24 Average: 28873198 31526746 790142 2.40 95974 2794760 1922700 5.67 1112080 2470230 1402 16:03:24 16:03:24 16:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:03:24 16:02:01 lo 6.47 6.47 0.63 0.63 0.00 0.00 0.00 0.00 16:03:24 16:02:01 veth458cb91 0.05 0.18 0.00 0.01 0.00 0.00 0.00 0.00 16:03:24 16:02:01 ens3 466.99 326.60 4568.37 109.11 0.00 0.00 0.00 0.00 16:03:24 16:02:01 docker0 10.91 13.71 0.81 97.73 0.00 0.00 0.00 0.00 16:03:24 16:03:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 16:03:24 16:03:01 veth41a4aaa 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:03:24 16:03:01 ens3 268.69 168.14 6084.35 42.46 0.00 0.00 0.00 0.00 16:03:24 16:03:01 docker0 15.83 26.01 1.07 325.71 0.00 0.00 0.00 0.00 16:03:24 Average: lo 4.30 4.30 0.42 0.42 0.00 0.00 0.00 0.00 16:03:24 Average: veth41a4aaa 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:03:24 Average: ens3 367.84 247.37 5326.36 75.78 0.00 0.00 0.00 0.00 16:03:24 Average: docker0 13.37 19.86 0.94 211.72 0.00 0.00 0.00 0.00 16:03:24 16:03:24 16:03:24 ---> sar -P ALL: 16:03:24 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34912) 12/11/24 _x86_64_ (8 CPU) 16:03:24 16:03:24 16:00:44 LINUX RESTART (8 CPU) 16:03:24 16:03:24 16:01:01 CPU %user %nice %system %iowait %steal %idle 16:03:24 16:02:01 all 9.47 0.00 3.29 2.60 0.09 84.55 16:03:24 16:02:01 0 10.54 0.00 3.96 1.43 0.08 83.99 16:03:24 16:02:01 1 11.43 0.00 2.98 6.99 0.10 78.50 16:03:24 16:02:01 2 6.42 0.00 2.76 0.98 0.08 89.76 16:03:24 16:02:01 3 14.46 0.00 2.15 0.08 0.08 83.22 16:03:24 16:02:01 4 8.24 0.00 2.69 0.45 0.10 88.51 16:03:24 16:02:01 5 8.40 0.00 2.97 3.51 0.08 85.04 16:03:24 16:02:01 6 8.84 0.00 5.08 6.37 0.08 79.62 16:03:24 16:02:01 7 7.43 0.00 3.67 0.99 0.08 87.81 16:03:24 16:03:01 all 8.73 0.00 3.89 2.70 0.07 84.61 16:03:24 16:03:01 0 10.61 0.00 5.19 0.95 0.08 83.16 16:03:24 16:03:01 1 5.52 0.00 4.07 13.13 0.08 77.19 16:03:24 16:03:01 2 8.36 0.00 3.18 0.49 0.07 87.90 16:03:24 16:03:01 3 11.31 0.00 3.15 0.37 0.05 85.12 16:03:24 16:03:01 4 9.12 0.00 3.68 0.03 0.07 87.10 16:03:24 16:03:01 5 6.58 0.00 3.13 4.61 0.07 85.61 16:03:24 16:03:01 6 8.01 0.00 3.77 0.34 0.07 87.82 16:03:24 16:03:01 7 10.34 0.00 4.94 1.69 0.08 82.95 16:03:24 Average: all 9.10 0.00 3.59 2.65 0.08 84.58 16:03:24 Average: 0 10.58 0.00 4.58 1.19 0.08 83.58 16:03:24 Average: 1 8.47 0.00 3.53 10.06 0.09 77.85 16:03:24 Average: 2 7.39 0.00 2.97 0.73 0.08 88.83 16:03:24 Average: 3 12.88 0.00 2.65 0.23 0.07 84.17 16:03:24 Average: 4 8.68 0.00 3.19 0.24 0.08 87.81 16:03:24 Average: 5 7.49 0.00 3.05 4.06 0.08 85.32 16:03:24 Average: 6 8.43 0.00 4.43 3.36 0.08 83.71 16:03:24 Average: 7 8.88 0.00 4.31 1.34 0.08 85.39 16:03:24 16:03:24 16:03:24