Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3a111b982cad7839e5b9752d22ac1e9c5972a88 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-ssh12053452487424822210.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-ssh15410539530274834211.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-ssh15432986151131477752.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-ssh18163852467467439973.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-ssh10445645777471227207.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-35410’ Running on prd-ubuntu20.04-docker-8c-8g-35415 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 a3a111b982cad7839e5b9752d22ac1e9c5972a88 (main) Commit message: "Merge pull request #536 from FelixTing/remove-version-file" > 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 a3a111b982cad7839e5b9752d22ac1e9c5972a88 # timeout=10 > git rev-list --no-walk 02ffd3a41c4b218657de9ceac7ee305f7bb09d80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:02:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:02:24 ========================================================= 01:02:24 EdgeX Global Pipelines Version Info 01:02:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:02:25 ------------------- 01:02:25 stable info: 01:02:25 ------------------- 01:02:25 Commited By: Cherry Wang cherry@iotechsys.com 01:02:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:02:25 Message: update stable to v1.0.269 01:02:25 ------------------- 01:02:25 experimental info: 01:02:25 ------------------- 01:02:25 Commited By: **** collab-it+edgex@linuxfoundation.org 01:02:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:02:25 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:02:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 01:02:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 01:02:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:02:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3a111b982cad7839e5b9752d22ac1e9c5972a88 [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3a111b [Pipeline] echo 01:02:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:26 provisioning config files... 01:02:26 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1299399112927528958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:26 ---> ****-login.sh 01:02:26 nexus3.edgexfoundry.org:10001 01:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:27 Configure a credential helper to remove this warning. See 01:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:27 01:02:27 Login Succeeded 01:02:27 nexus3.edgexfoundry.org:10002 01:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:27 Configure a credential helper to remove this warning. See 01:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:27 01:02:27 Login Succeeded 01:02:27 nexus3.edgexfoundry.org:10003 01:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:27 Configure a credential helper to remove this warning. See 01:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:27 01:02:27 Login Succeeded 01:02:27 nexus3.edgexfoundry.org:10004 01:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:27 Configure a credential helper to remove this warning. See 01:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:27 01:02:27 Login Succeeded 01:02:27 ****.io 01:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:27 Configure a credential helper to remove this warning. See 01:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:27 01:02:27 Login Succeeded 01:02:27 ---> ****-login.sh ends [Pipeline] } 01:02: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 01:02:28 + git rev-list -1 --merges a3a111b982cad7839e5b9752d22ac1e9c5972a88~1..a3a111b982cad7839e5b9752d22ac1e9c5972a88 [Pipeline] echo 01:02:28 -----------> git rev-list -1 --merges a3a111b982cad7839e5b9752d22ac1e9c5972a88~1..a3a111b982cad7839e5b9752d22ac1e9c5972a88 a3a111b982cad7839e5b9752d22ac1e9c5972a88 01:02:28 a3a111b982cad7839e5b9752d22ac1e9c5972a88 [false] [Pipeline] sh 01:02:28 + git log --format=format:%s -1 a3a111b982cad7839e5b9752d22ac1e9c5972a88 [Pipeline] echo 01:02:28 ========================================================= 01:02:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:02: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 01:02:28 + git rev-list -1 --merges a3a111b982cad7839e5b9752d22ac1e9c5972a88~1..a3a111b982cad7839e5b9752d22ac1e9c5972a88 [Pipeline] echo 01:02:28 -----------> git rev-list -1 --merges a3a111b982cad7839e5b9752d22ac1e9c5972a88~1..a3a111b982cad7839e5b9752d22ac1e9c5972a88 a3a111b982cad7839e5b9752d22ac1e9c5972a88 01:02:28 a3a111b982cad7839e5b9752d22ac1e9c5972a88 [false] [Pipeline] sh 01:02:29 + git log --format=format:%s -1 a3a111b982cad7839e5b9752d22ac1e9c5972a88 [Pipeline] echo 01:02:29 ========================================================= 01:02:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:02:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:02:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:02:29 + grep -v github /etc/ssh/ssh_known_hosts 01:02:29 + [ -e /tmp/ssh_known_hosts ] 01:02:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:02:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:02:29 + sudo tee -a /etc/ssh/ssh_known_hosts 01:02:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:30 01:02:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:30 0.1.4: Pulling from edgex-devops/py-git-semver 01:02:30 b85a868b505f: Pulling fs layer 01:02:30 e2be974225ed: Pulling fs layer 01:02:30 339a4e72a1f5: Pulling fs layer 01:02:30 988bab9f4d93: Pulling fs layer 01:02:30 1469e6f7b9e6: Pulling fs layer 01:02:30 eaf3925da568: Pulling fs layer 01:02:30 bab4dde63d76: Pulling fs layer 01:02:30 bde34c3a00c8: Pulling fs layer 01:02:30 b352a97aabf1: Pulling fs layer 01:02:30 4872d77fe225: Pulling fs layer 01:02:30 5851b861e8e6: Pulling fs layer 01:02:30 eaf3925da568: Waiting 01:02:30 bab4dde63d76: Waiting 01:02:30 bde34c3a00c8: Waiting 01:02:30 b352a97aabf1: Waiting 01:02:30 4872d77fe225: Waiting 01:02:30 1469e6f7b9e6: Waiting 01:02:30 988bab9f4d93: Waiting 01:02:30 5851b861e8e6: Waiting 01:02:30 e2be974225ed: Download complete 01:02:30 988bab9f4d93: Verifying Checksum 01:02:30 988bab9f4d93: Download complete 01:02:30 1469e6f7b9e6: Verifying Checksum 01:02:30 1469e6f7b9e6: Download complete 01:02:30 eaf3925da568: Verifying Checksum 01:02:30 eaf3925da568: Download complete 01:02:30 339a4e72a1f5: Verifying Checksum 01:02:30 339a4e72a1f5: Download complete 01:02:30 bde34c3a00c8: Verifying Checksum 01:02:30 bde34c3a00c8: Download complete 01:02:30 b352a97aabf1: Download complete 01:02:30 4872d77fe225: Verifying Checksum 01:02:30 4872d77fe225: Download complete 01:02:30 5851b861e8e6: Download complete 01:02:30 b85a868b505f: Verifying Checksum 01:02:30 b85a868b505f: Download complete 01:02:30 bab4dde63d76: Verifying Checksum 01:02:30 bab4dde63d76: Download complete 01:02:31 b85a868b505f: Pull complete 01:02:32 e2be974225ed: Pull complete 01:02:32 339a4e72a1f5: Pull complete 01:02:32 988bab9f4d93: Pull complete 01:02:32 1469e6f7b9e6: Pull complete 01:02:32 eaf3925da568: Pull complete 01:02:34 bab4dde63d76: Pull complete 01:02:34 bde34c3a00c8: Pull complete 01:02:34 b352a97aabf1: Pull complete 01:02:34 4872d77fe225: Pull complete 01:02:34 5851b861e8e6: Pull complete 01:02:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:34 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:02: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 01:02:37 $ docker top 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c -eo pid,comm 01:02: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). 01:02:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:02:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:38 [ssh-agent] Looking for ssh-agent implementation... 01:02:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:38 $ docker exec 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c ssh-agent 01:02:38 SSH_AUTH_SOCK=/tmp/ssh-7T7UN7fCbQOj/agent.33 01:02:38 SSH_AGENT_PID=39 01:02:38 Running ssh-add (command line suppressed) 01:02:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17896235644527396412.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17896235644527396412.key) 01:02:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:38 + git tag --points-at HEAD [Pipeline] } 01:02:38 $ docker exec --env ******** --env ******** 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c ssh-agent -k 01:02:38 unset SSH_AUTH_SOCK; 01:02:38 unset SSH_AGENT_PID; 01:02:38 echo Agent pid 39 killed; 01:02:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:02:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:38 [ssh-agent] Looking for ssh-agent implementation... 01:02:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:38 $ docker exec 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c ssh-agent 01:02:39 SSH_AUTH_SOCK=/tmp/ssh-20ntILqdNmtI/agent.72 01:02:39 SSH_AGENT_PID=78 01:02:39 Running ssh-add (command line suppressed) 01:02:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8679198677480556931.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8679198677480556931.key) 01:02:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:39 + git semver init 01:02:39 2024-12-20 01:02:39,641 [run_init] DEBUG init version:0.0.0 force:False 01:02:39 2024-12-20 01:02:39,641 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 01:02:39 2024-12-20 01:02:39,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 01:02:39 2024-12-20 01:02:39,642 [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) 01:02:40 2024-12-20 01:02:40,453 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 01:02:40 2024-12-20 01:02:40,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 01:02:40 2024-12-20 01:02:40,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:02:40 2024-12-20 01:02:40,454 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:02:40 4.0.0-dev.12 [Pipeline] } 01:02:40 $ docker exec --env ******** --env ******** 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c ssh-agent -k 01:02:40 unset SSH_AUTH_SOCK; 01:02:40 unset SSH_AGENT_PID; 01:02:40 echo Agent pid 78 killed; 01:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:41 + git semver [Pipeline] } 01:02:41 $ docker stop --time=1 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c 01:02:42 $ docker rm -f --volumes 6a9a86fbd185b0e8c39d3babf9080f346357a4c00aede2e3d655f6f4ac86025c [Pipeline] // withDockerContainer [Pipeline] sh 01:02:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:02:43 Stashed 1 file(s) [Pipeline] echo 01:02:43 [edgeXSemver]: initialized semver on version 4.0.0-dev.12 [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 01:02:43 provisioning config files... [Pipeline] // stage [Pipeline] } 01:02:43 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15329904609768349730tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:02:43 ---> ****-login.sh 01:02:43 nexus3.edgexfoundry.org:10001 01:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:43 Configure a credential helper to remove this warning. See 01:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:43 01:02:43 Login Succeeded 01:02:43 nexus3.edgexfoundry.org:10002 01:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:43 Configure a credential helper to remove this warning. See 01:02:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:43 01:02:43 Login Succeeded 01:02:43 nexus3.edgexfoundry.org:10003 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 nexus3.edgexfoundry.org:10004 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 ****.io 01:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:02:44 Configure a credential helper to remove this warning. See 01:02:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:02:44 01:02:44 Login Succeeded 01:02:44 ---> ****-login.sh ends [Pipeline] } 01:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:02:44 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 01:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:02:44 ========================================================= 01:02:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 01:02:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:44 + 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 . 01:02:44 Sending build context to Docker daemon 5.424MB 01:02:44 Step 1/22 : ARG BASE=alpine:3.18 01:02:44 Step 2/22 : FROM ${BASE} as builder 01:02:44 latest: Pulling from edgex-devops/edgex-gcc-base 01:02:44 96526aa774ef: Pulling fs layer 01:02:44 da60e534fd72: Pulling fs layer 01:02:44 96526aa774ef: Verifying Checksum 01:02:44 96526aa774ef: Download complete 01:02:45 96526aa774ef: Pull complete 01:02:45 da60e534fd72: Verifying Checksum 01:02:45 da60e534fd72: Download complete 01:02:48 da60e534fd72: Pull complete 01:02:48 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 01:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 01:02:48 ---> 6605166a5db4 01:02:48 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 01:02:49 ---> Running in a9ebed152579 01:02:49 Connecting to iotech.jfrog.io (54.73.4.50:443) 01:02:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:02:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:02:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:02:50 Removing intermediate container a9ebed152579 01:02:50 ---> 1f915531f591 01:02:50 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:02:50 ---> Running in 3456245ae1be 01:02:51 Removing intermediate container 3456245ae1be 01:02:51 ---> 49d4e3d2695d 01:02:51 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 01:02:51 ---> Running in 0decd8e153b2 01:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:02:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:02:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:02:52 (1/15) Installing libcbor (0.10.2-r1) 01:02:52 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 01:02:53 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 01:02:53 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 01:02:53 (5/15) Installing libcbor-dev (0.10.2-r1) 01:02:53 (6/15) Installing libmenuw (6.4_p20230506-r0) 01:02:53 (7/15) Installing libpanelw (6.4_p20230506-r0) 01:02:53 (8/15) Installing libncurses++ (6.4_p20230506-r0) 01:02:53 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 01:02:53 (10/15) Installing libblkid (2.38.1-r8) 01:02:53 (11/15) Installing libuuid (2.38.1-r8) 01:02:53 (12/15) Installing libfdisk (2.38.1-r8) 01:02:53 (13/15) Installing libmount (2.38.1-r8) 01:02:53 (14/15) Installing libsmartcols (2.38.1-r8) 01:02:53 (15/15) Installing util-linux-dev (2.38.1-r8) 01:02:53 Executing busybox-1.36.1-r4.trigger 01:02:53 OK: 336 MiB in 97 packages 01:02:54 Removing intermediate container 0decd8e153b2 01:02:54 ---> 9136e759930f 01:02:54 Step 6/22 : RUN mkdir /tmp/sdk 01:02:54 ---> Running in 5ffd2c23bcd4 01:02:54 Removing intermediate container 5ffd2c23bcd4 01:02:54 ---> de99777d7a5b 01:02:54 Step 7/22 : COPY VERSION /tmp/sdk 01:02:54 ---> 88b522b3ba8e 01:02:54 Step 8/22 : COPY src /tmp/sdk/src 01:02:54 ---> 0114bbb9ffca 01:02:54 Step 9/22 : COPY include /tmp/sdk/include 01:02:54 ---> bd2ded62986a 01:02:54 Step 10/22 : COPY scripts /tmp/sdk/scripts 01:02:55 ---> b416c6c3e5a4 01:02:55 Step 11/22 : COPY LICENSE /tmp/sdk 01:02:55 ---> 67919d9814b8 01:02:55 Step 12/22 : COPY Attribution.txt /tmp/sdk 01:02:55 ---> e20864a35c07 01:02:55 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:02:55 ---> Running in 09a20f7499ef 01:02:55 + CPPCHECK=false 01:02:55 + DOCGEN=false 01:02:55 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:02:55 + '[' 0 -gt 0 ] 01:02:55 + readlink -f ./scripts/build.sh 01:02:55 + dirname /tmp/sdk/scripts/build.sh 01:02:55 + dirname /tmp/sdk/scripts 01:02:55 + ROOT=/tmp/sdk 01:02:55 + cd /tmp/sdk 01:02:55 + mkdir -p /tmp/sdk/build/release 01:02:55 + cd /tmp/sdk/build/release 01:02:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:02:55 -- The C compiler identification is GNU 12.2.1 01:02:55 -- Detecting C compiler ABI info 01:02:55 -- Detecting C compiler ABI info - done 01:02:55 -- Check for working C compiler: /usr/bin/cc - skipped 01:02:55 -- Detecting C compile features 01:02:55 -- Detecting C compile features - done 01:02:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:02:55 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 01:02:55 -- Found LIBYAML: /usr/lib/libyaml.so 01:02:55 -- Found LIBUUID: /usr/lib/libuuid.so 01:02:55 -- Found LIBCBOR: /usr/lib/libcbor.so 01:02:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:02:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:02:55 -- /opt/iotech/iot/1.5/include 01:02:55 -- C SDK 0.0.0 for Linux 01:02:55 -- Performing Test CSDK_HAVE_ATOMIC 01:02:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:02:55 -- Found Curses: /usr/lib/libcurses.so 01:02:55 -- Configuring done (0.4s) 01:02:55 -- Generating done (0.0s) 01:02:55 -- Build files have been written to: /tmp/sdk/build/release 01:02:55 + make all package 01:02:55 + tee release.log 01:02:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:02:56 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:02:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:02:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:02:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:02:56 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:02:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:02:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:02:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:02:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:02:57 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:02:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:02:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:02:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:02:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:02:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:02:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 01:02:58 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 01:02:58 from /tmp/sdk/src/c/registry.h:14, 01:02:58 from /tmp/sdk/src/c/registry-impl.h:12, 01:02:58 from /tmp/sdk/src/c/keeper.h:12, 01:02:58 from /tmp/sdk/src/c/keeper.c:1: 01:02:58 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 01:02:58 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 01:02:58 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:02:58 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:02:58 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 01:02:58 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 01:02:58 | ^~~~~~~~~~~ 01:02:58 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 01:02:58 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:02:58 | ~^ 01:02:58 | | 01:02:58 | char * 01:02:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:02:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:02:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 01:02:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:03:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:03:00 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:03:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:03:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:03:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:03:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:03:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:03:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:03:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:03:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:03:01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:03:01 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 01:03:01 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 01:03:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:03:01 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 01:03:01 875 | const iot_data_t *deviceservices_config; 01:03:01 | ^~~~~~~~~~~~~~~~~~~~~ 01:03:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:03:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:03:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:03:01 [ 68%] Linking C shared library libcsdk.so 01:03:01 [ 68%] Built target csdk 01:03:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:03:01 [ 72%] Linking C executable template 01:03:01 [ 72%] Built target template 01:03:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:03:02 [ 76%] Linking C executable device-counter 01:03:02 [ 76%] Built target device-counter 01:03:02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:03:02 [ 80%] Linking C executable device-random 01:03:02 [ 80%] Built target device-random 01:03:02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:03:02 [ 84%] Linking C executable device-gyro 01:03:02 [ 84%] Built target device-gyro 01:03:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:03:02 [ 88%] Linking C executable device-bitfields 01:03:02 [ 88%] Built target device-bitfields 01:03:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:03:02 [ 92%] Linking C executable template-discovery 01:03:02 [ 92%] Built target template-discovery 01:03:02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:03:02 [ 96%] Linking C executable device-file 01:03:03 [ 96%] Built target device-file 01:03:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:03:03 [100%] Linking C executable device-terminal 01:03:03 [100%] Built target device-terminal 01:03:03 Run CPack packaging tool... 01:03:03 CPack: Create package using TGZ 01:03:03 CPack: Install projects 01:03:03 CPack: - Run preinstall target for: Csdk 01:03:03 CPack: - Install project: Csdk [] 01:03:03 CPack: Create package 01:03:03 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:03:03 + '[' false '=' true ] 01:03:03 + '[' false '=' true ] 01:03:03 + mkdir -p /tmp/sdk/build/debug 01:03:03 + cd /tmp/sdk/build/debug 01:03:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:03:03 -- The C compiler identification is GNU 12.2.1 01:03:03 -- Detecting C compiler ABI info 01:03:03 -- Detecting C compiler ABI info - done 01:03:03 -- Check for working C compiler: /usr/bin/cc - skipped 01:03:03 -- Detecting C compile features 01:03:03 -- Detecting C compile features - done 01:03:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:03:03 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 01:03:03 -- Found LIBYAML: /usr/lib/libyaml.so 01:03:03 -- Found LIBUUID: /usr/lib/libuuid.so 01:03:03 -- Found LIBCBOR: /usr/lib/libcbor.so 01:03:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:03:03 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:03:03 -- /opt/iotech/iot/1.5/include 01:03:03 -- C SDK 0.0.0 for Linux 01:03:03 -- Performing Test CSDK_HAVE_ATOMIC 01:03:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:03:03 -- Found Curses: /usr/lib/libcurses.so 01:03:03 -- Configuring done (0.4s) 01:03:03 -- Generating done (0.0s) 01:03:03 -- Build files have been written to: /tmp/sdk/build/debug 01:03:03 + make 01:03:03 + tee debug.log 01:03:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:03:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:03:03 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:03:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:03:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:03:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:03:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:03:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:03:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:03:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:03:04 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:03:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:03:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:03:05 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:03:05 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:03:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:03:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 01:03:05 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 01:03:05 from /tmp/sdk/src/c/registry.h:14, 01:03:05 from /tmp/sdk/src/c/registry-impl.h:12, 01:03:05 from /tmp/sdk/src/c/keeper.h:12, 01:03:05 from /tmp/sdk/src/c/keeper.c:1: 01:03:05 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 01:03:05 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 01:03:05 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:03:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:03:05 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 01:03:05 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 01:03:05 | ^~~~~~~~~~~ 01:03:05 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 01:03:05 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:03:05 | ~^ 01:03:05 | | 01:03:05 | char * 01:03:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:03:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:03:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 01:03:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:03:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:03:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:03:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:03:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:03:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:03:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:03:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:03:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:03:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:03:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:03:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:03:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:03:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:03:06 [ 68%] Linking C shared library libcsdk.so 01:03:06 [ 68%] Built target csdk 01:03:06 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:03:06 [ 72%] Linking C executable template 01:03:06 [ 72%] Built target template 01:03:06 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:03:07 [ 76%] Linking C executable device-counter 01:03:07 [ 76%] Built target device-counter 01:03:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:03:07 [ 80%] Linking C executable device-random 01:03:07 [ 80%] Built target device-random 01:03:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:03:07 [ 84%] Linking C executable device-gyro 01:03:07 [ 84%] Built target device-gyro 01:03:07 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:03:07 [ 88%] Linking C executable device-bitfields 01:03:07 [ 88%] Built target device-bitfields 01:03:07 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:03:07 [ 92%] Linking C executable template-discovery 01:03:07 [ 92%] Built target template-discovery 01:03:07 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:03:07 [ 96%] Linking C executable device-file 01:03:07 [ 96%] Built target device-file 01:03:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:03:07 [100%] Linking C executable device-terminal 01:03:07 [100%] Built target device-terminal 01:03:07 make: Entering directory '/tmp/sdk/build/release' 01:03:07 [ 68%] Built target csdk 01:03:07 [ 72%] Built target template 01:03:08 [ 76%] Built target device-counter 01:03:08 [ 80%] Built target device-random 01:03:08 [ 84%] Built target device-gyro 01:03:08 [ 88%] Built target device-bitfields 01:03:08 [ 92%] Built target template-discovery 01:03:08 [ 96%] Built target device-file 01:03:08 [100%] Built target device-terminal 01:03:08 Install the project... 01:03:08 -- Install configuration: "Release" 01:03:08 -- Installing: /usr/local/lib/libcsdk.so 01:03:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:03:08 -- Installing: /usr/local/include 01:03:08 -- Installing: /usr/local/include/devsdk 01:03:08 -- Installing: /usr/local/include/devsdk/devsdk.h 01:03:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:03:08 -- Installing: /usr/local/include/edgex 01:03:08 -- Installing: /usr/local/include/edgex/edgex.h 01:03:08 -- Installing: /usr/local/include/edgex/devices.h 01:03:08 -- Installing: /usr/local/include/edgex/profiles.h 01:03:08 -- Installing: /usr/local/include/edgex/edgex-base.h 01:03:08 -- Installing: /usr/local/include/edgex/rest-server.h 01:03:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:03:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:03:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:03:08 make: Leaving directory '/tmp/sdk/build/release' 01:03:08 Removing intermediate container 09a20f7499ef 01:03:08 ---> a268957dd517 01:03:08 Step 14/22 : FROM ${BASE} 01:03:08 ---> 6605166a5db4 01:03:08 Step 15/22 : LABEL maintainer="IOTech " 01:03:08 ---> Running in 192df8d99762 01:03:08 Removing intermediate container 192df8d99762 01:03:08 ---> 5fcb32bde769 01:03:08 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 01:03:08 ---> Running in d208336ce18f 01:03:08 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:03:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:03:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:03:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:03:09 Removing intermediate container d208336ce18f 01:03:09 ---> fd0e8f4c6843 01:03:09 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:03:09 ---> Running in eda335760bb2 01:03:10 Removing intermediate container eda335760bb2 01:03:10 ---> b33a740662c9 01:03:10 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 01:03:10 ---> Running in f582b1ab9831 01:03:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:03:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:03:11 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 01:03:11 (2/8) Installing curl (8.9.1-r1) 01:03:11 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 01:03:11 (4/8) Installing dumb-init (1.2.5-r2) 01:03:11 (5/8) Installing libcbor (0.10.2-r1) 01:03:11 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 01:03:11 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 01:03:12 (8/8) Installing libuuid (2.38.1-r8) 01:03:12 Executing busybox-1.36.1-r4.trigger 01:03:12 OK: 331 MiB in 88 packages 01:03:12 Removing intermediate container f582b1ab9831 01:03:12 ---> 443bf715729f 01:03:12 Step 19/22 : RUN apk --no-cache upgrade 01:03:12 ---> Running in 0500c5ba1bd8 01:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:03:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:03:13 Upgrading critical system libraries and apk-tools: 01:03:13 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 01:03:13 Executing busybox-1.36.1-r4.trigger 01:03:13 Continuing the upgrade transaction with new apk-tools: 01:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:03:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:03:14 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 01:03:14 Executing busybox-1.36.1-r7.post-upgrade 01:03:14 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 01:03:14 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 01:03:14 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 01:03:14 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 01:03:14 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 01:03:14 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 01:03:14 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 01:03:14 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 01:03:14 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 01:03:14 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 01:03:14 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 01:03:14 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 01:03:14 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 01:03:14 Executing busybox-1.36.1-r7.trigger 01:03:14 Executing ca-certificates-20240226-r0.trigger 01:03:14 OK: 331 MiB in 88 packages 01:03:15 Removing intermediate container 0500c5ba1bd8 01:03:15 ---> bbcc3d053a6d 01:03:15 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:03:15 ---> c3f7d571562f 01:03:15 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 01:03:15 ---> 61778e45b460 01:03:15 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:03:15 ---> 1f3136f0099a 01:03:15 Successfully built 1f3136f0099a 01:03:15 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 01:03:16 + docker inspect -f . ci-base-image-x86_64 01:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:16 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:03:16 $ 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 01:03:16 $ docker top d6f0a16e4fc344afbaeb06407128a8ea48a792914a61165367e53262b9f0371d -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:17 + make test 01:03:17 echo "make test" 01:03:17 make test [Pipeline] } 01:03:17 $ docker stop --time=1 d6f0a16e4fc344afbaeb06407128a8ea48a792914a61165367e53262b9f0371d 01:03:18 $ docker rm -f --volumes d6f0a16e4fc344afbaeb06407128a8ea48a792914a61165367e53262b9f0371d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:03:19 + ls -al . 01:03:19 total 212 01:03:19 drwxrwxr-x 9 jenkins jenkins 4096 Dec 20 01:02 . 01:03:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:02 .. 01:03:19 drwxrwxr-x 8 jenkins jenkins 4096 Dec 20 01:02 .git 01:03:19 drwxrwxr-x 3 jenkins jenkins 4096 Dec 20 01:02 .github 01:03:19 -rw-rw-r-- 1 jenkins jenkins 176 Dec 20 01:02 .gitignore 01:03:19 drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:02 .semver 01:03:19 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 20 01:02 Attribution.txt 01:03:19 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 20 01:02 CHANGELOG.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 20 01:02 Doxyfile 01:03:19 -rw-rw-r-- 1 jenkins jenkins 677 Dec 20 01:02 GOVERNANCE.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 784 Dec 20 01:02 Jenkinsfile 01:03:19 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 20 01:02 LICENSE 01:03:19 -rw-rw-r-- 1 jenkins jenkins 444 Dec 20 01:02 Makefile 01:03:19 -rw-rw-r-- 1 jenkins jenkins 618 Dec 20 01:02 OWNERS.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 20 01:02 README.IOT.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 20 01:02 README.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 20 01:02 README.v3.md 01:03:19 -rw-rw-r-- 1 jenkins jenkins 12 Dec 20 01:02 VERSION 01:03:19 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 01:02 docs 01:03:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:02 include 01:03:19 drwxrwxr-x 2 jenkins jenkins 4096 Dec 20 01:02 scripts 01:03:19 drwxrwxr-x 4 jenkins jenkins 4096 Dec 20 01:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:19 + 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=a3a111b982cad7839e5b9752d22ac1e9c5972a88 --label arch=amd64 --label version=4.0.0-dev.12 . 01:03:19 Sending build context to Docker daemon 5.424MB 01:03:19 Step 1/18 : ARG BASE=alpine:3.18 01:03:19 Step 2/18 : FROM ${BASE} 01:03:19 ---> 1f3136f0099a 01:03:19 Step 3/18 : LABEL maintainer="IOTech " 01:03:19 ---> Running in 466fa30b42b6 01:03:19 Removing intermediate container 466fa30b42b6 01:03:19 ---> a3632f0abb97 01:03:19 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 01:03:19 ---> Running in 88ae914a1dbf 01:03:20 Connecting to iotech.jfrog.io (54.73.4.50:443) 01:03:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:03:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:03:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:03:20 Removing intermediate container 88ae914a1dbf 01:03:20 ---> d5bc9d3cfe97 01:03:20 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:03:20 ---> Running in 015a828f1e53 01:03:21 Removing intermediate container 015a828f1e53 01:03:21 ---> cece108f3164 01:03:21 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 01:03:21 ---> Running in 8412bd92fd37 01:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:03:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:03:22 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 01:03:22 (2/11) Installing libcbor-dev (0.10.2-r1) 01:03:22 (3/11) Installing libmenuw (6.4_p20230506-r0) 01:03:22 (4/11) Installing libpanelw (6.4_p20230506-r0) 01:03:22 (5/11) Installing libncurses++ (6.4_p20230506-r0) 01:03:22 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 01:03:22 (7/11) Installing libblkid (2.38.1-r8) 01:03:22 (8/11) Installing libfdisk (2.38.1-r8) 01:03:22 (9/11) Installing libmount (2.38.1-r8) 01:03:22 (10/11) Installing libsmartcols (2.38.1-r8) 01:03:22 (11/11) Installing util-linux-dev (2.38.1-r8) 01:03:22 Executing busybox-1.36.1-r7.trigger 01:03:22 OK: 336 MiB in 99 packages 01:03:23 Removing intermediate container 8412bd92fd37 01:03:23 ---> 3c6e022ad70d 01:03:23 Step 7/18 : RUN apk --no-cache upgrade 01:03:23 ---> Running in e286f9b75aa9 01:03:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:03:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:03:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:03:24 OK: 336 MiB in 99 packages 01:03:24 Removing intermediate container e286f9b75aa9 01:03:24 ---> f0744add604a 01:03:24 Step 8/18 : COPY VERSION /edgex-c-sdk/ 01:03:24 ---> f55d5bd72109 01:03:24 Step 9/18 : COPY src /edgex-c-sdk/src/ 01:03:24 ---> 09a1b8a5370d 01:03:24 Step 10/18 : COPY include /edgex-c-sdk/include/ 01:03:24 ---> 0c961023066c 01:03:24 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 01:03:24 ---> c1f0d352e619 01:03:24 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 01:03:24 ---> b86dee80d447 01:03:24 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 01:03:24 ---> 465c0a31ae60 01:03:24 Step 14/18 : WORKDIR /edgex-c-sdk 01:03:24 ---> Running in 5bcdb6360c5c 01:03:25 Removing intermediate container 5bcdb6360c5c 01:03:25 ---> 3095e5c7bc56 01:03:25 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:03:25 ---> Running in c636f99dcba7 01:03:25 Removing intermediate container c636f99dcba7 01:03:25 ---> bc83dcff1b2d 01:03:25 Step 16/18 : LABEL arch=amd64 01:03:25 ---> Running in c9cc863462b2 01:03:25 Removing intermediate container c9cc863462b2 01:03:25 ---> 5b40c890f3b1 01:03:25 Step 17/18 : LABEL git_sha=a3a111b982cad7839e5b9752d22ac1e9c5972a88 01:03:25 ---> Running in de3e1fb124d4 01:03:25 Removing intermediate container de3e1fb124d4 01:03:25 ---> 0897f9007ffb 01:03:25 Step 18/18 : LABEL version=4.0.0-dev.12 01:03:25 ---> Running in ad5fa74fc713 01:03:25 Removing intermediate container ad5fa74fc713 01:03:25 ---> 706d6f8cd97c 01:03:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:03:25 Successfully built 706d6f8cd97c 01:03:25 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 01:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:25 01:03:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:26 latest: Pulling from edgex-lftools-log-publisher 01:03:26 5eb5b503b376: Pulling fs layer 01:03:26 5c69ac0246d0: Pulling fs layer 01:03:26 ec43610c2a17: Pulling fs layer 01:03:26 3a2ae6a8a46f: Pulling fs layer 01:03:26 33b1e0a273af: Pulling fs layer 01:03:26 5d3b04190fa2: Pulling fs layer 01:03:26 2f39f015ded8: Pulling fs layer 01:03:26 33b1e0a273af: Waiting 01:03:26 5d3b04190fa2: Waiting 01:03:26 2f39f015ded8: Waiting 01:03:26 3a2ae6a8a46f: Waiting 01:03:26 5c69ac0246d0: Download complete 01:03:26 3a2ae6a8a46f: Verifying Checksum 01:03:26 3a2ae6a8a46f: Download complete 01:03:26 33b1e0a273af: Verifying Checksum 01:03:26 33b1e0a273af: Download complete 01:03:26 5d3b04190fa2: Download complete 01:03:26 ec43610c2a17: Verifying Checksum 01:03:26 ec43610c2a17: Download complete 01:03:26 5eb5b503b376: Verifying Checksum 01:03:26 5eb5b503b376: Download complete 01:03:27 2f39f015ded8: Verifying Checksum 01:03:27 2f39f015ded8: Download complete 01:03:27 5eb5b503b376: Pull complete 01:03:27 5c69ac0246d0: Pull complete 01:03:27 ec43610c2a17: Pull complete 01:03:28 3a2ae6a8a46f: Pull complete 01:03:28 33b1e0a273af: Pull complete 01:03:28 5d3b04190fa2: Pull complete 01:03:31 2f39f015ded8: Pull complete 01:03:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:31 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:03:31 $ 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 01:03:34 $ docker top c5c38abe1ef2833471b619ee566e28a4fc0524458da00a9f70b4e28d68a78ff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:34 ---> job-cost.sh 01:03:34 lf-activate-venv: SKIPPING 01:03:34 INFO: No Stack... 01:03:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:03:35 INFO: Archiving Costs [Pipeline] sh 01:03:35 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 01:03:35 + cut -d, -f6 [Pipeline] lock 01:03:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-89-stack-cost] 01:03:35 Resource [jenkins-edgexfoundry-device-sdk-c-main-89-stack-cost] did not exist. Created. 01:03:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:35 + echo total: 0.2199999988079071 [Pipeline] stash 01:03:36 Stashed 1 file(s) [Pipeline] } 01:03:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:36 $ docker stop --time=1 c5c38abe1ef2833471b619ee566e28a4fc0524458da00a9f70b4e28d68a78ff6 01:03:37 $ docker rm -f --volumes c5c38abe1ef2833471b619ee566e28a4fc0524458da00a9f70b4e28d68a78ff6 [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 01:03:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:03:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:38 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:03:38 $ 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 01:03:38 $ docker top 7d59be68ee9f08064f47175dd7b9c00cd4865e53b8405f0b508fe7f7cea2fb4d -eo pid,comm 01:03: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). 01:03:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:38 [ssh-agent] Looking for ssh-agent implementation... 01:03:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:38 $ docker exec 7d59be68ee9f08064f47175dd7b9c00cd4865e53b8405f0b508fe7f7cea2fb4d ssh-agent 01:03:38 SSH_AUTH_SOCK=/tmp/ssh-upEVAyJVLlUM/agent.31 01:03:38 SSH_AGENT_PID=37 01:03:38 Running ssh-add (command line suppressed) 01:03:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4959728323640085939.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4959728323640085939.key) 01:03:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:39 + git semver tag 01:03:39 2024-12-20 01:03:39,565 [run_tag] DEBUG tag force:False 01:03:39 2024-12-20 01:03:39,566 [check_head_tag] DEBUG check head tag 01:03:39 2024-12-20 01:03:39,567 [execute] INFO git cat-file --batch-check 01:03:39 2024-12-20 01:03:39,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 01:03:39 2024-12-20 01:03:39,571 [execute] INFO git cat-file --batch 01:03:39 2024-12-20 01:03:39,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 01:03:39 2024-12-20 01:03:39,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:03:39 2024-12-20 01:03:39,592 [execute] INFO git tag -a v4.0.0-dev.12 -m v4.0.0-dev.12 01:03:39 2024-12-20 01:03:39,592 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.12', '-m', 'v4.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 01:03:39 2024-12-20 01:03:39,598 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:03:39 4.0.0-dev.12 [Pipeline] } 01:03:39 $ docker exec --env ******** --env ******** 7d59be68ee9f08064f47175dd7b9c00cd4865e53b8405f0b508fe7f7cea2fb4d ssh-agent -k 01:03:39 unset SSH_AUTH_SOCK; 01:03:39 unset SSH_AGENT_PID; 01:03:39 echo Agent pid 37 killed; 01:03:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:40 + git semver [Pipeline] } 01:03:40 $ docker stop --time=1 7d59be68ee9f08064f47175dd7b9c00cd4865e53b8405f0b508fe7f7cea2fb4d 01:03:41 $ docker rm -f --volumes 7d59be68ee9f08064f47175dd7b9c00cd4865e53b8405f0b508fe7f7cea2fb4d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:03:42 01:03:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:03:42 0.23.1-centos7: Pulling from edgex-lftools 01:03:42 ab5ef0e58194: Pulling fs layer 01:03:42 9712f1f96733: Pulling fs layer 01:03:42 63f879dbbcfc: Pulling fs layer 01:03:42 0d9ebad4ef96: Pulling fs layer 01:03:42 e9a5061849ea: Pulling fs layer 01:03:42 d747dcd14b5f: Pulling fs layer 01:03:42 2de7ff778b66: Pulling fs layer 01:03:42 e9a5061849ea: Waiting 01:03:42 d747dcd14b5f: Waiting 01:03:42 2de7ff778b66: Waiting 01:03:42 0d9ebad4ef96: Waiting 01:03:42 9712f1f96733: Verifying Checksum 01:03:42 9712f1f96733: Download complete 01:03:42 63f879dbbcfc: Verifying Checksum 01:03:42 63f879dbbcfc: Download complete 01:03:42 e9a5061849ea: Verifying Checksum 01:03:42 e9a5061849ea: Download complete 01:03:42 d747dcd14b5f: Verifying Checksum 01:03:42 d747dcd14b5f: Download complete 01:03:42 0d9ebad4ef96: Verifying Checksum 01:03:42 0d9ebad4ef96: Download complete 01:03:42 ab5ef0e58194: Verifying Checksum 01:03:42 ab5ef0e58194: Download complete 01:03:42 2de7ff778b66: Verifying Checksum 01:03:42 2de7ff778b66: Download complete 01:03:46 ab5ef0e58194: Pull complete 01:03:46 9712f1f96733: Pull complete 01:03:46 63f879dbbcfc: Pull complete 01:03:49 0d9ebad4ef96: Pull complete 01:03:50 e9a5061849ea: Pull complete 01:03:50 d747dcd14b5f: Pull complete 01:03:50 2de7ff778b66: Pull complete 01:03:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:03:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:51 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:03:51 $ 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 01:04:02 $ docker top 6f49b94662eed80d5352ef42372f699f82088c899f5c5fd25f5ad8463c9a9ed0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:04:02 provisioning config files... 01:04:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8730792784830844491tmp 01:04:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6308230085719324741tmp 01:04:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16106735100900852657tmp [Pipeline] { [Pipeline] echo 01:04:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:04:03 ---> sigul-configuration.sh 01:04:03 gpg: directory `/root/.gnupg' created 01:04:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:04:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:04:03 gpg: keyring `/root/.gnupg/secring.gpg' created 01:04:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:04:03 gpg: CAST5 encrypted data 01:04:03 gpg: encrypted with 1 passphrase 01:04:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:04:03 + mkdir /home/jenkins 01:04:03 + mkdir /home/jenkins/sigul [Pipeline] sh 01:04:03 + 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 01:04:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:04:04 ---> sigul-install.sh 01:04:04 Sigul already installed; skipping installation. [Pipeline] sh 01:04:04 + git tag --list 01:04:04 0.7.0 01:04:04 0.7.1 01:04:04 1.0.0 01:04:04 v1.0.1 01:04:04 v1.0.2 01:04:04 v1.0.3 01:04:04 v1.1.0 01:04:04 v1.1.1 01:04:04 v1.2.0 01:04:04 v1.2.1 01:04:04 v1.2.2 01:04:04 v1.3.0 01:04:04 v1.3.1 01:04:04 v2.0.0 01:04:04 v2.1.0 01:04:04 v2.2.0 01:04:04 v2.3.0 01:04:04 v3.0 01:04:04 v3.0.0 01:04:04 v3.0.1 01:04:04 v3.0.2 01:04:04 v3.0.3-dev.1 01:04:04 v3.0.3-dev.10 01:04:04 v3.0.3-dev.11 01:04:04 v3.0.3-dev.12 01:04:04 v3.0.3-dev.13 01:04:04 v3.0.3-dev.14 01:04:04 v3.0.3-dev.15 01:04:04 v3.0.3-dev.16 01:04:04 v3.0.3-dev.17 01:04:04 v3.0.3-dev.2 01:04:04 v3.0.3-dev.3 01:04:04 v3.0.3-dev.4 01:04:04 v3.0.3-dev.5 01:04:04 v3.0.3-dev.6 01:04:04 v3.0.3-dev.7 01:04:04 v3.0.3-dev.8 01:04:04 v3.0.3-dev.9 01:04:04 v3.1 01:04:04 v3.1.0 01:04:04 v3.1.0-dev.1 01:04:04 v3.1.0-dev.2 01:04:04 v3.1.0-dev.3 01:04:04 v3.1.0-dev.4 01:04:04 v3.1.0-dev.5 01:04:04 v3.1.0-dev.6 01:04:04 v3.1.0-dev.7 01:04:04 v3.1.0-dev.8 01:04:04 v3.1.0-dev.9 01:04:04 v3.1.1 01:04:04 v3.1.1-dev.1 01:04:04 v4.0.0-dev.1 01:04:04 v4.0.0-dev.10 01:04:04 v4.0.0-dev.11 01:04:04 v4.0.0-dev.12 01:04:04 v4.0.0-dev.2 01:04:04 v4.0.0-dev.3 01:04:04 v4.0.0-dev.4 01:04:04 v4.0.0-dev.5 01:04:04 v4.0.0-dev.6 01:04:04 v4.0.0-dev.7 01:04:04 v4.0.0-dev.8 01:04:04 v4.0.0-dev.9 [Pipeline] sh 01:04:05 + lftools sign git-tag v4.0.0-dev.12 01:04:05 Signing Git tag with Sigul... 01:04:05 Signing v4.0.0-dev.12 [Pipeline] echo 01:04:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:04:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:04:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:04:06 $ docker stop --time=1 6f49b94662eed80d5352ef42372f699f82088c899f5c5fd25f5ad8463c9a9ed0 01:04:07 $ docker rm -f --volumes 6f49b94662eed80d5352ef42372f699f82088c899f5c5fd25f5ad8463c9a9ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:04:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:08 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:04:08 $ 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 01:04:08 $ docker top 0ae0c7c6e9c90e6e1ea76273b6ad85a44f02e8507916998fdb3cecb8994eafb6 -eo pid,comm 01:04:08 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). 01:04:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:08 [ssh-agent] Looking for ssh-agent implementation... 01:04:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:08 $ docker exec 0ae0c7c6e9c90e6e1ea76273b6ad85a44f02e8507916998fdb3cecb8994eafb6 ssh-agent 01:04:08 SSH_AUTH_SOCK=/tmp/ssh-WVS8Rp1fcgLu/agent.32 01:04:08 SSH_AGENT_PID=38 01:04:09 Running ssh-add (command line suppressed) 01:04:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6950296826598890229.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6950296826598890229.key) 01:04:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:09 + git semver bump pre 01:04:09 2024-12-20 01:04:09,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:04:09 2024-12-20 01:04:09,638 [bump_version] DEBUG bumping version:4.0.0-dev.12 on axis:pre with prefix:dev 01:04:09 2024-12-20 01:04:09,638 [bump_version] DEBUG bumped version:4.0.0-dev.13 01:04:09 2024-12-20 01:04:09,638 [write_version] DEBUG write version:4.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 01:04:09 2024-12-20 01:04:09,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:04:09 2024-12-20 01:04:09,639 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:04:09 2024-12-20 01:04:09,642 [execute] INFO git cat-file --batch-check 01:04:09 2024-12-20 01:04:09,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:04:09 2024-12-20 01:04:09,647 [execute] INFO git cat-file --batch 01:04:09 2024-12-20 01:04:09,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:04:09 2024-12-20 01:04:09,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:04:09 4.0.0-dev.13 [Pipeline] } 01:04:09 $ docker exec --env ******** --env ******** 0ae0c7c6e9c90e6e1ea76273b6ad85a44f02e8507916998fdb3cecb8994eafb6 ssh-agent -k 01:04:10 unset SSH_AUTH_SOCK; 01:04:10 unset SSH_AGENT_PID; 01:04:10 echo Agent pid 38 killed; 01:04:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:10 + git semver [Pipeline] } 01:04:10 $ docker stop --time=1 0ae0c7c6e9c90e6e1ea76273b6ad85a44f02e8507916998fdb3cecb8994eafb6 01:04:11 $ docker rm -f --volumes 0ae0c7c6e9c90e6e1ea76273b6ad85a44f02e8507916998fdb3cecb8994eafb6 [Pipeline] // withDockerContainer [Pipeline] sh 01:04:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:12 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:04:12 $ 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 01:04:13 $ docker top 15dc0700a94dca9ce894059ed1817f300fc2b544ac217c2256a80b8697352e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:13 [ssh-agent] Looking for ssh-agent implementation... 01:04:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:13 $ docker exec 15dc0700a94dca9ce894059ed1817f300fc2b544ac217c2256a80b8697352e80 ssh-agent 01:04:13 SSH_AUTH_SOCK=/tmp/ssh-kX3CwOLGvuOQ/agent.31 01:04:13 SSH_AGENT_PID=37 01:04:13 Running ssh-add (command line suppressed) 01:04:13 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1612113408162881967.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1612113408162881967.key) 01:04:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:13 + git semver push 01:04:14 2024-12-20 01:04:13,975 [run_push] DEBUG push 01:04:14 2024-12-20 01:04:13,976 [execute] INFO git cat-file --batch-check 01:04:14 2024-12-20 01:04:13,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 01:04:14 2024-12-20 01:04:13,980 [execute] INFO git rev-list ebafcd3bc4efc611ddf4a35617d1d0cd1150da4f -- 01:04:14 2024-12-20 01:04:13,980 [execute] DEBUG Popen(['git', 'rev-list', 'ebafcd3bc4efc611ddf4a35617d1d0cd1150da4f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 01:04:14 2024-12-20 01:04:13,988 [execute] INFO git fetch -v origin 01:04:14 2024-12-20 01:04:13,989 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 01:04:14 2024-12-20 01:04:14,455 [run_push] DEBUG no remote changes detected 01:04:14 2024-12-20 01:04:14,456 [execute] INFO git push origin semver 01:04:14 2024-12-20 01:04:14,456 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 01:04:15 2024-12-20 01:04:15,126 [run_push] DEBUG push all version tags 01:04:15 2024-12-20 01:04:15,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:04:15 2024-12-20 01:04:15,127 [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) 01:04:15 2024-12-20 01:04:15,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 01:04:15 4.0.0-dev.13 [Pipeline] } 01:04:16 $ docker exec --env ******** --env ******** 15dc0700a94dca9ce894059ed1817f300fc2b544ac217c2256a80b8697352e80 ssh-agent -k 01:04:16 unset SSH_AUTH_SOCK; 01:04:16 unset SSH_AGENT_PID; 01:04:16 echo Agent pid 37 killed; 01:04:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:16 + git semver [Pipeline] } 01:04:16 $ docker stop --time=1 15dc0700a94dca9ce894059ed1817f300fc2b544ac217c2256a80b8697352e80 01:04:17 $ docker rm -f --volumes 15dc0700a94dca9ce894059ed1817f300fc2b544ac217c2256a80b8697352e80 [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 01:04:18 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 01:04:18 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:04:18 total 16 01:04:18 drwxr-xr-x 3 root root 4096 Dec 20 01:03 . 01:04:18 drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 01:04 .. 01:04:18 drwxr-xr-x 2 root root 4096 Dec 20 01:03 cost 01:04:18 -rw-r--r-- 1 root root 83 Dec 20 01:03 cost.csv 01:04:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:04:18 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 01:04:18 total 16 01:04:18 drwxr-xr-x 3 jenkins jenkins 4096 Dec 20 01:03 . 01:04:18 drwxrwxr-x 10 jenkins jenkins 4096 Dec 20 01:04 .. 01:04:18 drwxr-xr-x 2 jenkins jenkins 4096 Dec 20 01:03 cost 01:04:18 -rw-r--r-- 1 jenkins jenkins 83 Dec 20 01:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:04:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:04:19 ---> package-listing.sh 01:04:19 ++ facter osfamily 01:04:19 ++ tr '[:upper:]' '[:lower:]' 01:04:19 + OS_FAMILY=debian 01:04:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 01:04:19 + START_PACKAGES=/tmp/packages_start.txt 01:04:19 + END_PACKAGES=/tmp/packages_end.txt 01:04:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:04:19 + PACKAGES=/tmp/packages_start.txt 01:04:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 01:04:19 + PACKAGES=/tmp/packages_end.txt 01:04:19 + case "${OS_FAMILY}" in 01:04:19 + dpkg -l 01:04:19 + grep '^ii' 01:04:19 + '[' -f /tmp/packages_start.txt ']' 01:04:19 + '[' -f /tmp/packages_end.txt ']' 01:04:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:04:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 01:04:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 01:04:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 01:04:19 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 01:04:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:20 prd-ubuntu20.04-docker-8c-8g-35415 does not seem to be running inside a container 01:04:20 $ 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 01:04:21 $ docker top b20201bb62aa7460374aa7dda44c16312396c6884fafa085c56ceb9a29e764db -eo pid,comm [Pipeline] { [Pipeline] sh 01:04:21 + touch /tmp/pre-build-complete [Pipeline] sh 01:04:21 + mkdir -p /var/log/sysstat [Pipeline] sh 01:04:22 + ls /var/log/sa-host 01:04:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:22 provisioning config files... 01:04:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17526344507569273636tmp [Pipeline] { [Pipeline] echo 01:04:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:04:22 ---> create-netrc.sh [Pipeline] } 01:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:04:22 ---> python-tools-install.sh [Pipeline] echo 01:04:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:04:23 ---> sudo-logs.sh 01:04:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:04:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:04:23 ---> job-cost.sh 01:04:23 lf-activate-venv: SKIPPING 01:04:23 DEBUG: total: 0.2199999988079071 01:04:23 INFO: Retrieving Stack Cost... 01:04:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:04:24 INFO: Archiving Costs [Pipeline] echo 01:04:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:04:24 ---> logs-deploy.sh 01:04:24 lf-activate-venv: SKIPPING 01:04:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/89 01:04:24 INFO: archiving workspace using pattern(s): 01:04:25 Archives upload complete. 01:04:25 INFO: archiving logs to Nexus 01:04:26 ---> uname -a: 01:04:26 Linux prd-ubuntu20-04-docker-8c-8g-35415 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:04:26 01:04:26 01:04:26 ---> lscpu: 01:04:26 Architecture: x86_64 01:04:26 CPU op-mode(s): 32-bit, 64-bit 01:04:26 Byte Order: Little Endian 01:04:26 Address sizes: 40 bits physical, 48 bits virtual 01:04:26 CPU(s): 8 01:04:26 On-line CPU(s) list: 0-7 01:04:26 Thread(s) per core: 1 01:04:26 Core(s) per socket: 1 01:04:26 Socket(s): 8 01:04:26 NUMA node(s): 1 01:04:26 Vendor ID: AuthenticAMD 01:04:26 CPU family: 23 01:04:26 Model: 49 01:04:26 Model name: AMD EPYC-Rome Processor 01:04:26 Stepping: 0 01:04:26 CPU MHz: 2800.000 01:04:26 BogoMIPS: 5600.00 01:04:26 Virtualization: AMD-V 01:04:26 Hypervisor vendor: KVM 01:04:26 Virtualization type: full 01:04:26 L1d cache: 256 KiB 01:04:26 L1i cache: 256 KiB 01:04:26 L2 cache: 4 MiB 01:04:26 L3 cache: 128 MiB 01:04:26 NUMA node0 CPU(s): 0-7 01:04:26 Vulnerability Itlb multihit: Not affected 01:04:26 Vulnerability L1tf: Not affected 01:04:26 Vulnerability Mds: Not affected 01:04:26 Vulnerability Meltdown: Not affected 01:04:26 Vulnerability Mmio stale data: Not affected 01:04:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:04:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:04:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:04:26 Vulnerability Srbds: Not affected 01:04:26 Vulnerability Tsx async abort: Not affected 01:04:26 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 01:04:26 01:04:26 01:04:26 ---> nproc: 01:04:26 8 01:04:26 01:04:26 01:04:26 ---> df -h: 01:04:26 Filesystem Size Used Avail Use% Mounted on 01:04:26 overlay 155G 11G 145G 7% / 01:04:26 tmpfs 64M 0 64M 0% /dev 01:04:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:04:26 shm 64M 0 64M 0% /dev/shm 01:04:26 /dev/vda1 155G 11G 145G 7% /facter-os 01:04:26 01:04:26 01:04:26 ---> sar -b -r -n DEV: 01:04:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35415) 12/20/24 _x86_64_ (8 CPU) 01:04:26 01:04:26 01:01:44 LINUX RESTART (8 CPU) 01:04:26 01:04:26 01:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:04:26 01:03:00 438.49 48.16 390.33 0.00 5424.56 146830.46 0.00 01:04:26 01:04:01 237.55 0.31 237.24 0.00 33.04 43938.37 0.00 01:04:26 Average: 337.19 24.04 313.15 0.00 2706.53 94959.31 0.00 01:04:26 01:04:26 01:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:04:26 01:03:00 29522964 31565212 767840 2.34 66496 2258836 1940536 5.72 1039600 1954868 2384 01:04:26 01:04:01 28250172 31544672 761280 2.32 125708 3345356 1817668 5.36 1122648 3011984 176 01:04:26 Average: 28886568 31554942 764560 2.33 96102 2802096 1879102 5.54 1081124 2483426 1280 01:04:26 01:04:26 01:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:04:26 01:03:00 docker0 10.20 13.13 0.82 99.60 0.00 0.00 0.00 0.00 01:04:26 01:03:00 vethe6f7006 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 01:04:26 01:03:00 ens3 548.04 361.47 4575.23 98.92 0.00 0.00 0.00 0.00 01:04:26 01:03:00 lo 6.40 6.40 0.63 0.63 0.00 0.00 0.00 0.00 01:04:26 01:04:01 docker0 16.23 26.52 1.09 320.17 0.00 0.00 0.00 0.00 01:04:26 01:04:01 ens3 271.91 163.94 5975.31 39.35 0.00 0.00 0.00 0.00 01:04:26 01:04:01 lo 2.10 2.10 0.20 0.20 0.00 0.00 0.00 0.00 01:04:26 Average: docker0 13.24 19.88 0.95 210.79 0.00 0.00 0.00 0.00 01:04:26 Average: ens3 408.83 261.89 5281.06 68.89 0.00 0.00 0.00 0.00 01:04:26 Average: lo 4.23 4.23 0.41 0.41 0.00 0.00 0.00 0.00 01:04:26 01:04:26 01:04:26 ---> sar -P ALL: 01:04:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-35415) 12/20/24 _x86_64_ (8 CPU) 01:04:26 01:04:26 01:01:44 LINUX RESTART (8 CPU) 01:04:26 01:04:26 01:02:01 CPU %user %nice %system %iowait %steal %idle 01:04:26 01:03:00 all 9.22 0.00 3.00 3.01 0.07 84.70 01:04:26 01:03:00 0 10.71 0.00 3.06 2.88 0.07 83.28 01:04:26 01:03:00 1 8.70 0.00 2.64 0.27 0.07 88.33 01:04:26 01:03:00 2 9.43 0.00 2.29 3.39 0.05 84.84 01:04:26 01:03:00 3 7.17 0.00 3.29 1.03 0.07 88.44 01:04:26 01:03:00 4 10.22 0.00 2.45 0.22 0.08 87.02 01:04:26 01:03:00 5 8.35 0.00 2.72 0.50 0.07 88.36 01:04:26 01:03:00 6 12.45 0.00 5.22 14.36 0.08 67.89 01:04:26 01:03:00 7 6.73 0.00 2.32 1.50 0.07 89.38 01:04:26 01:04:01 all 8.46 0.00 3.82 3.16 0.08 84.47 01:04:26 01:04:01 0 8.35 0.00 3.88 2.42 0.10 85.25 01:04:26 01:04:01 1 8.99 0.00 4.37 0.27 0.08 86.28 01:04:26 01:04:01 2 8.94 0.00 3.80 0.68 0.10 86.48 01:04:26 01:04:01 3 7.37 0.00 3.12 3.88 0.05 85.57 01:04:26 01:04:01 4 9.45 0.00 4.13 0.15 0.12 86.15 01:04:26 01:04:01 5 9.01 0.00 3.55 0.17 0.08 87.19 01:04:26 01:04:01 6 9.34 0.00 4.50 17.24 0.08 68.84 01:04:26 01:04:01 7 6.25 0.00 3.20 0.48 0.07 90.00 01:04:26 Average: all 8.84 0.00 3.41 3.09 0.08 84.59 01:04:26 Average: 0 9.53 0.00 3.47 2.65 0.08 84.27 01:04:26 Average: 1 8.85 0.00 3.51 0.27 0.08 87.30 01:04:26 Average: 2 9.18 0.00 3.05 2.03 0.08 85.67 01:04:26 Average: 3 7.27 0.00 3.21 2.47 0.06 86.99 01:04:26 Average: 4 9.83 0.00 3.30 0.18 0.10 86.58 01:04:26 Average: 5 8.68 0.00 3.14 0.33 0.08 87.77 01:04:26 Average: 6 10.88 0.00 4.86 15.81 0.08 68.37 01:04:26 Average: 7 6.49 0.00 2.76 0.99 0.07 89.69 01:04:26 01:04:26 01:04:26