Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e 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-ssh838097745661376530.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-ssh421936493091277831.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-ssh2425583176828340349.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-ssh18357821982757742852.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-ssh10850856138608014894.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 ‘prd-ubuntu20.04-docker-8c-8g-38658’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38659 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 eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e (main) Commit message: "fix: Correct map iteration in protocols_convert function (#544)" > 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 eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e # timeout=10 > git rev-list --no-walk f77cf90271422167f9817fc2f645f2c019bc5257 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:00:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:00:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:00:13 ========================================================= 15:00:13 EdgeX Global Pipelines Version Info 15:00:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:00:14 ------------------- 15:00:14 stable info: 15:00:14 ------------------- 15:00:14 Commited By: Cherry Wang cherry@iotechsys.com 15:00:14 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:00:14 Message: update stable to v1.0.269 15:00:14 ------------------- 15:00:14 experimental info: 15:00:14 ------------------- 15:00:14 Commited By: **** collab-it+edgex@linuxfoundation.org 15:00:14 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:00:14 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb8e2ff [Pipeline] echo 15:00:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:15 provisioning config files... 15:00:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18222953441145012164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:16 ---> ****-login.sh 15:00:16 nexus3.edgexfoundry.org:10001 15:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:16 Configure a credential helper to remove this warning. See 15:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:16 15:00:16 Login Succeeded 15:00:16 nexus3.edgexfoundry.org:10002 15:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:16 Configure a credential helper to remove this warning. See 15:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:16 15:00:16 Login Succeeded 15:00:16 nexus3.edgexfoundry.org:10003 15:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:16 Configure a credential helper to remove this warning. See 15:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:16 15:00:16 Login Succeeded 15:00:16 nexus3.edgexfoundry.org:10004 15:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:16 Configure a credential helper to remove this warning. See 15:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:16 15:00:16 Login Succeeded 15:00:16 ****.io 15:00:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:16 Configure a credential helper to remove this warning. See 15:00:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:16 15:00:16 Login Succeeded 15:00:16 ---> ****-login.sh ends [Pipeline] } 15:00:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:00:17 + git rev-list -1 --merges eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e~1..eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [Pipeline] echo 15:00:17 -----------> git rev-list -1 --merges eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e~1..eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [false] [Pipeline] sh 15:00:17 + git log --format=format:%s -1 eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [Pipeline] echo 15:00:17 ========================================================= 15:00:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:00:17 ========================================================= 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 15:00:18 + git rev-list -1 --merges eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e~1..eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [Pipeline] echo 15:00:18 -----------> git rev-list -1 --merges eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e~1..eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [false] [Pipeline] sh 15:00:18 + git log --format=format:%s -1 eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e [Pipeline] echo 15:00:18 ========================================================= 15:00:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:00:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:00:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:00:18 + grep -v github /etc/ssh/ssh_known_hosts 15:00:18 + [ -e /tmp/ssh_known_hosts ] 15:00:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:00:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:00:18 + sudo tee -a /etc/ssh/ssh_known_hosts 15:00:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:19 15:00:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:19 0.1.4: Pulling from edgex-devops/py-git-semver 15:00:19 b85a868b505f: Pulling fs layer 15:00:19 e2be974225ed: Pulling fs layer 15:00:19 339a4e72a1f5: Pulling fs layer 15:00:19 988bab9f4d93: Pulling fs layer 15:00:19 1469e6f7b9e6: Pulling fs layer 15:00:19 eaf3925da568: Pulling fs layer 15:00:19 bab4dde63d76: Pulling fs layer 15:00:19 bde34c3a00c8: Pulling fs layer 15:00:19 b352a97aabf1: Pulling fs layer 15:00:19 4872d77fe225: Pulling fs layer 15:00:19 5851b861e8e6: Pulling fs layer 15:00:19 bab4dde63d76: Waiting 15:00:19 eaf3925da568: Waiting 15:00:19 4872d77fe225: Waiting 15:00:19 988bab9f4d93: Waiting 15:00:19 bde34c3a00c8: Waiting 15:00:19 b352a97aabf1: Waiting 15:00:19 1469e6f7b9e6: Waiting 15:00:19 5851b861e8e6: Waiting 15:00:19 e2be974225ed: Download complete 15:00:19 988bab9f4d93: Verifying Checksum 15:00:19 988bab9f4d93: Download complete 15:00:19 1469e6f7b9e6: Verifying Checksum 15:00:19 1469e6f7b9e6: Download complete 15:00:19 eaf3925da568: Download complete 15:00:19 339a4e72a1f5: Verifying Checksum 15:00:19 339a4e72a1f5: Download complete 15:00:19 bde34c3a00c8: Download complete 15:00:19 b352a97aabf1: Verifying Checksum 15:00:19 b352a97aabf1: Download complete 15:00:19 4872d77fe225: Verifying Checksum 15:00:19 4872d77fe225: Download complete 15:00:19 5851b861e8e6: Verifying Checksum 15:00:19 5851b861e8e6: Download complete 15:00:19 b85a868b505f: Download complete 15:00:20 bab4dde63d76: Verifying Checksum 15:00:20 bab4dde63d76: Download complete 15:00:21 b85a868b505f: Pull complete 15:00:21 e2be974225ed: Pull complete 15:00:21 339a4e72a1f5: Pull complete 15:00:21 988bab9f4d93: Pull complete 15:00:22 1469e6f7b9e6: Pull complete 15:00:22 eaf3925da568: Pull complete 15:00:24 bab4dde63d76: Pull complete 15:00:24 bde34c3a00c8: Pull complete 15:00:24 b352a97aabf1: Pull complete 15:00:24 4872d77fe225: Pull complete 15:00:24 5851b861e8e6: Pull complete 15:00:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:00:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:00:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:24 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:00:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:00:28 $ docker top 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b -eo pid,comm 15:00:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:00:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:00:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:28 [ssh-agent] Looking for ssh-agent implementation... 15:00:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:28 $ docker exec 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b ssh-agent 15:00:29 SSH_AUTH_SOCK=/tmp/ssh-4FuewqAg8hpd/agent.32 15:00:29 SSH_AGENT_PID=38 15:00:29 Running ssh-add (command line suppressed) 15:00:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3952114919130241041.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3952114919130241041.key) 15:00:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:30 + git tag --points-at HEAD [Pipeline] } 15:00:30 $ docker exec --env ******** --env ******** 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b ssh-agent -k 15:00:30 unset SSH_AUTH_SOCK; 15:00:30 unset SSH_AGENT_PID; 15:00:30 echo Agent pid 38 killed; 15:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:30 [ssh-agent] Looking for ssh-agent implementation... 15:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:30 $ docker exec 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b ssh-agent 15:00:30 SSH_AUTH_SOCK=/tmp/ssh-UgDBtdCuVu2Z/agent.71 15:00:30 SSH_AGENT_PID=77 15:00:30 Running ssh-add (command line suppressed) 15:00:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10333156556152802748.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10333156556152802748.key) 15:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:30 + git semver init 15:00:31 2025-02-11 15:00:31,078 [run_init] DEBUG init version:0.0.0 force:False 15:00:31 2025-02-11 15:00:31,079 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:00:31 2025-02-11 15:00:31,079 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 15:00:31 2025-02-11 15:00:31,079 [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) 15:00:32 2025-02-11 15:00:31,923 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 15:00:32 2025-02-11 15:00:31,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 15:00:32 2025-02-11 15:00:31,924 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:00:32 2025-02-11 15:00:31,924 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:00:32 4.0.0-dev.17 [Pipeline] } 15:00:32 $ docker exec --env ******** --env ******** 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b ssh-agent -k 15:00:32 unset SSH_AUTH_SOCK; 15:00:32 unset SSH_AGENT_PID; 15:00:32 echo Agent pid 77 killed; 15:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:00:32 + git semver [Pipeline] } 15:00:32 $ docker stop --time=1 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b 15:00:34 $ docker rm -f --volumes 9fc8f0b04f2b74d6406c8e08038aaaba77d5ebd0cb8b4809641f5b345b1c7c2b [Pipeline] // withDockerContainer [Pipeline] sh 15:00:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:00:34 Stashed 1 file(s) [Pipeline] echo 15:00:34 [edgeXSemver]: initialized semver on version 4.0.0-dev.17 [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 15:00:35 provisioning config files... [Pipeline] // stage [Pipeline] } 15:00:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12456423856159724138tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 15:00:35 ---> ****-login.sh 15:00:35 nexus3.edgexfoundry.org:10001 15:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:35 Configure a credential helper to remove this warning. See 15:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:35 15:00:35 Login Succeeded 15:00:35 nexus3.edgexfoundry.org:10002 15:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:35 Configure a credential helper to remove this warning. See 15:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:35 15:00:35 Login Succeeded 15:00:35 nexus3.edgexfoundry.org:10003 15:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:35 Configure a credential helper to remove this warning. See 15:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:35 15:00:35 Login Succeeded 15:00:35 nexus3.edgexfoundry.org:10004 15:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:35 Configure a credential helper to remove this warning. See 15:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:35 15:00:35 Login Succeeded 15:00:35 ****.io 15:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:00:35 Configure a credential helper to remove this warning. See 15:00:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:00:35 15:00:35 Login Succeeded 15:00:35 ---> ****-login.sh ends [Pipeline] } 15:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:00:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:00:36 ========================================================= 15:00:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:00:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:36 + 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 . 15:00:36 Sending build context to Docker daemon 5.463MB 15:00:36 Step 1/22 : ARG BASE=alpine:3.18 15:00:36 Step 2/22 : FROM ${BASE} as builder 15:00:36 latest: Pulling from edgex-devops/edgex-gcc-base 15:00:36 96526aa774ef: Pulling fs layer 15:00:36 da60e534fd72: Pulling fs layer 15:00:36 96526aa774ef: Verifying Checksum 15:00:36 96526aa774ef: Download complete 15:00:36 96526aa774ef: Pull complete 15:00:37 da60e534fd72: Verifying Checksum 15:00:37 da60e534fd72: Download complete 15:00:40 da60e534fd72: Pull complete 15:00:40 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 15:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:00:40 ---> 6605166a5db4 15:00:40 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 15:00:43 ---> Running in 6dd50181d580 15:00:43 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:00:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:00:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:00:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:00:43 Removing intermediate container 6dd50181d580 15:00:43 ---> 8fddec6f1e71 15:00:43 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:00:43 ---> Running in f8a38e275224 15:00:44 Removing intermediate container f8a38e275224 15:00:44 ---> b17186a4ae8f 15:00:44 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 15:00:44 ---> Running in bf2b0219de2d 15:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:00:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:00:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:00:45 (1/15) Installing libcbor (0.10.2-r1) 15:00:45 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 15:00:46 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 15:00:46 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:00:46 (5/15) Installing libcbor-dev (0.10.2-r1) 15:00:46 (6/15) Installing libmenuw (6.4_p20230506-r0) 15:00:46 (7/15) Installing libpanelw (6.4_p20230506-r0) 15:00:46 (8/15) Installing libncurses++ (6.4_p20230506-r0) 15:00:46 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 15:00:46 (10/15) Installing libblkid (2.38.1-r8) 15:00:46 (11/15) Installing libuuid (2.38.1-r8) 15:00:46 (12/15) Installing libfdisk (2.38.1-r8) 15:00:46 (13/15) Installing libmount (2.38.1-r8) 15:00:46 (14/15) Installing libsmartcols (2.38.1-r8) 15:00:46 (15/15) Installing util-linux-dev (2.38.1-r8) 15:00:46 Executing busybox-1.36.1-r4.trigger 15:00:46 OK: 336 MiB in 97 packages 15:00:47 Removing intermediate container bf2b0219de2d 15:00:47 ---> 840e553af961 15:00:47 Step 6/22 : RUN mkdir /tmp/sdk 15:00:47 ---> Running in 60ac1ff60801 15:00:48 Removing intermediate container 60ac1ff60801 15:00:48 ---> 0787493c3bdd 15:00:48 Step 7/22 : COPY VERSION /tmp/sdk 15:00:48 ---> 553231da99b8 15:00:48 Step 8/22 : COPY src /tmp/sdk/src 15:00:48 ---> f12678dcb646 15:00:48 Step 9/22 : COPY include /tmp/sdk/include 15:00:48 ---> 90ad795b1c47 15:00:48 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:00:48 ---> f9095360e016 15:00:48 Step 11/22 : COPY LICENSE /tmp/sdk 15:00:48 ---> 4d61026eacfa 15:00:48 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:00:49 ---> e8f2c692ba5f 15:00:49 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:00:49 ---> Running in c7989048a9ea 15:00:49 + CPPCHECK=false 15:00:49 + DOCGEN=false 15:00:49 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:00:49 + '[' 0 -gt 0 ] 15:00:49 + readlink -f ./scripts/build.sh 15:00:49 + dirname /tmp/sdk/scripts/build.sh 15:00:49 + dirname /tmp/sdk/scripts 15:00:49 + ROOT=/tmp/sdk 15:00:49 + cd /tmp/sdk 15:00:49 + mkdir -p /tmp/sdk/build/release 15:00:49 + cd /tmp/sdk/build/release 15:00:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:00:49 -- The C compiler identification is GNU 12.2.1 15:00:49 -- Detecting C compiler ABI info 15:00:49 -- Detecting C compiler ABI info - done 15:00:49 -- Check for working C compiler: /usr/bin/cc - skipped 15:00:49 -- Detecting C compile features 15:00:49 -- Detecting C compile features - done 15:00:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:00:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:00:49 -- Found LIBYAML: /usr/lib/libyaml.so 15:00:49 -- Found LIBUUID: /usr/lib/libuuid.so 15:00:49 -- Found LIBCBOR: /usr/lib/libcbor.so 15:00:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:00:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:00:49 -- /opt/iotech/iot/1.5/include 15:00:49 -- C SDK 0.0.0 for Linux 15:00:49 -- Performing Test CSDK_HAVE_ATOMIC 15:00:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:00:49 -- Found Curses: /usr/lib/libcurses.so 15:00:49 -- Configuring done (0.4s) 15:00:49 -- Generating done (0.0s) 15:00:49 -- Build files have been written to: /tmp/sdk/build/release 15:00:49 + make all package 15:00:49 + tee release.log 15:00:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:00:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:00:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:00:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:00:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:00:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:00:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:00:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:00:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:00:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:00:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:00:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:00:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:00:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:00:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:00:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:00:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 15:00:52 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 15:00:52 from /tmp/sdk/src/c/registry.h:14, 15:00:52 from /tmp/sdk/src/c/registry-impl.h:12, 15:00:52 from /tmp/sdk/src/c/keeper.h:12, 15:00:52 from /tmp/sdk/src/c/keeper.c:4: 15:00:52 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 15:00:52 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 15:00:52 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:00:52 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:00:52 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 15:00:52 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 15:00:52 | ^~~~~~~~~~~ 15:00:52 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 15:00:52 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:00:52 | ~^ 15:00:52 | | 15:00:52 | char * 15:00:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:00:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:00:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 15:00:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:00:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:00:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:00:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:00:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:00:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:00:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:00:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:00:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:00:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:00:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:00:55 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:00:55 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:00:55 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:00:55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:00:55 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 15:00:55 875 | const iot_data_t *deviceservices_config; 15:00:55 | ^~~~~~~~~~~~~~~~~~~~~ 15:00:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:00:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:00:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:00:55 [ 68%] Linking C shared library libcsdk.so 15:00:55 [ 68%] Built target csdk 15:00:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:00:55 [ 72%] Linking C executable template 15:00:55 [ 72%] Built target template 15:00:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:00:56 [ 76%] Linking C executable device-counter 15:00:56 [ 76%] Built target device-counter 15:00:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:00:56 [ 80%] Linking C executable device-random 15:00:56 [ 80%] Built target device-random 15:00:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:00:56 [ 84%] Linking C executable device-gyro 15:00:56 [ 84%] Built target device-gyro 15:00:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:00:56 [ 88%] Linking C executable device-bitfields 15:00:56 [ 88%] Built target device-bitfields 15:00:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:00:56 [ 92%] Linking C executable template-discovery 15:00:56 [ 92%] Built target template-discovery 15:00:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:00:56 [ 96%] Linking C executable device-file 15:00:57 [ 96%] Built target device-file 15:00:57 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:00:57 [100%] Linking C executable device-terminal 15:00:57 [100%] Built target device-terminal 15:00:57 Run CPack packaging tool... 15:00:57 CPack: Create package using TGZ 15:00:57 CPack: Install projects 15:00:57 CPack: - Run preinstall target for: Csdk 15:00:57 CPack: - Install project: Csdk [] 15:00:57 CPack: Create package 15:00:57 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:00:57 + '[' false '=' true ] 15:00:57 + '[' false '=' true ] 15:00:57 + mkdir -p /tmp/sdk/build/debug 15:00:57 + cd /tmp/sdk/build/debug 15:00:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:00:57 -- The C compiler identification is GNU 12.2.1 15:00:57 -- Detecting C compiler ABI info 15:00:57 -- Detecting C compiler ABI info - done 15:00:57 -- Check for working C compiler: /usr/bin/cc - skipped 15:00:57 -- Detecting C compile features 15:00:57 -- Detecting C compile features - done 15:00:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:00:57 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:00:57 -- Found LIBYAML: /usr/lib/libyaml.so 15:00:57 -- Found LIBUUID: /usr/lib/libuuid.so 15:00:57 -- Found LIBCBOR: /usr/lib/libcbor.so 15:00:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:00:57 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:00:57 -- /opt/iotech/iot/1.5/include 15:00:57 -- C SDK 0.0.0 for Linux 15:00:57 -- Performing Test CSDK_HAVE_ATOMIC 15:00:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:00:57 -- Found Curses: /usr/lib/libcurses.so 15:00:57 -- Configuring done (0.4s) 15:00:57 -- Generating done (0.0s) 15:00:57 -- Build files have been written to: /tmp/sdk/build/debug 15:00:57 + make 15:00:57 + tee debug.log 15:00:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:00:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:00:58 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:00:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:00:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:00:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:00:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:00:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:00:58 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:00:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:00:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:00:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:00:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:00:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:00:58 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:00:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:00:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 15:00:59 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 15:00:59 from /tmp/sdk/src/c/registry.h:14, 15:00:59 from /tmp/sdk/src/c/registry-impl.h:12, 15:00:59 from /tmp/sdk/src/c/keeper.h:12, 15:00:59 from /tmp/sdk/src/c/keeper.c:4: 15:00:59 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 15:00:59 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 15:00:59 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:00:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:00:59 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 15:00:59 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 15:00:59 | ^~~~~~~~~~~ 15:00:59 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 15:00:59 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:00:59 | ~^ 15:00:59 | | 15:00:59 | char * 15:00:59 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:00:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:00:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 15:00:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:00:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:00:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:00:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:00:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:00:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:00:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:01:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:01:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:01:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:01:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:01:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:01:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:01:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:01:00 [ 68%] Linking C shared library libcsdk.so 15:01:00 [ 68%] Built target csdk 15:01:00 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:01:00 [ 72%] Linking C executable template 15:01:01 [ 72%] Built target template 15:01:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:01:01 [ 76%] Linking C executable device-counter 15:01:01 [ 76%] Built target device-counter 15:01:01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:01:01 [ 80%] Linking C executable device-random 15:01:01 [ 80%] Built target device-random 15:01:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:01:01 [ 84%] Linking C executable device-gyro 15:01:01 [ 84%] Built target device-gyro 15:01:01 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:01:01 [ 88%] Linking C executable device-bitfields 15:01:01 [ 88%] Built target device-bitfields 15:01:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:01:01 [ 92%] Linking C executable template-discovery 15:01:01 [ 92%] Built target template-discovery 15:01:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:01:01 [ 96%] Linking C executable device-file 15:01:01 [ 96%] Built target device-file 15:01:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:01:01 [100%] Linking C executable device-terminal 15:01:02 [100%] Built target device-terminal 15:01:02 make: Entering directory '/tmp/sdk/build/release' 15:01:02 [ 68%] Built target csdk 15:01:02 [ 72%] Built target template 15:01:02 [ 76%] Built target device-counter 15:01:02 [ 80%] Built target device-random 15:01:02 [ 84%] Built target device-gyro 15:01:02 [ 88%] Built target device-bitfields 15:01:02 [ 92%] Built target template-discovery 15:01:02 [ 96%] Built target device-file 15:01:02 [100%] Built target device-terminal 15:01:02 Install the project... 15:01:02 -- Install configuration: "Release" 15:01:02 -- Installing: /usr/local/lib/libcsdk.so 15:01:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:01:02 -- Installing: /usr/local/include 15:01:02 -- Installing: /usr/local/include/devsdk 15:01:02 -- Installing: /usr/local/include/devsdk/devsdk.h 15:01:02 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:01:02 -- Installing: /usr/local/include/edgex 15:01:02 -- Installing: /usr/local/include/edgex/edgex.h 15:01:02 -- Installing: /usr/local/include/edgex/devices.h 15:01:02 -- Installing: /usr/local/include/edgex/profiles.h 15:01:02 -- Installing: /usr/local/include/edgex/edgex-base.h 15:01:02 -- Installing: /usr/local/include/edgex/rest-server.h 15:01:02 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:01:02 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:01:02 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:01:02 make: Leaving directory '/tmp/sdk/build/release' 15:01:02 Removing intermediate container c7989048a9ea 15:01:02 ---> 3aa9838c104d 15:01:02 Step 14/22 : FROM ${BASE} 15:01:02 ---> 6605166a5db4 15:01:02 Step 15/22 : LABEL maintainer="IOTech " 15:01:02 ---> Running in 3091c33a6ca2 15:01:03 Removing intermediate container 3091c33a6ca2 15:01:03 ---> c536174e944c 15:01:03 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 15:01:03 ---> Running in 8bc05872a56e 15:01:03 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:01:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:01:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:01:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:01:04 Removing intermediate container 8bc05872a56e 15:01:04 ---> 6d2f03c8fc71 15:01:04 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:01:04 ---> Running in 4f12cc2b953c 15:01:04 Removing intermediate container 4f12cc2b953c 15:01:04 ---> ccf776043150 15:01:04 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 15:01:04 ---> Running in 9bee1af11b8f 15:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:01:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:01:05 (1/11) Installing libpsl (0.21.5-r0) 15:01:05 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.11.1-r1) 15:01:05 (3/11) Installing curl (8.11.1-r1) 15:01:05 (4/11) Installing libpsl-utils (0.21.5-r0) 15:01:05 (5/11) Installing libpsl-dev (0.21.5-r0) 15:01:05 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.11.1-r1) 15:01:05 (7/11) Installing dumb-init (1.2.5-r2) 15:01:05 (8/11) Installing libcbor (0.10.2-r1) 15:01:05 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 15:01:06 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:01:06 (11/11) Installing libuuid (2.38.1-r8) 15:01:06 Executing busybox-1.36.1-r4.trigger 15:01:06 OK: 331 MiB in 91 packages 15:01:07 Removing intermediate container 9bee1af11b8f 15:01:07 ---> a70da3e3c25d 15:01:07 Step 19/22 : RUN apk --no-cache upgrade 15:01:07 ---> Running in 41516eecb8b7 15:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:01:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:01:08 Upgrading critical system libraries and apk-tools: 15:01:08 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:01:08 Executing busybox-1.36.1-r4.trigger 15:01:08 Continuing the upgrade transaction with new apk-tools: 15:01:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:01:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:01:09 (1/17) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 15:01:09 Executing busybox-1.36.1-r7.post-upgrade 15:01:09 (2/17) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 15:01:09 (3/17) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 15:01:09 (4/17) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 15:01:09 (5/17) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 15:01:09 (6/17) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 15:01:09 (7/17) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 15:01:09 (8/17) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 15:01:09 (9/17) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 15:01:09 (10/17) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 15:01:09 (11/17) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 15:01:09 (12/17) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 15:01:09 (13/17) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 15:01:09 (14/17) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 15:01:09 (15/17) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 15:01:09 (16/17) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 15:01:09 (17/17) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 15:01:09 Executing busybox-1.36.1-r7.trigger 15:01:09 Executing ca-certificates-20241121-r1.trigger 15:01:09 OK: 331 MiB in 91 packages 15:01:10 Removing intermediate container 41516eecb8b7 15:01:10 ---> 8f592a4416f4 15:01:10 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:01:10 ---> 38f6804cff4c 15:01:10 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:01:10 ---> 20803ee34ae6 15:01:10 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:01:11 ---> c2ff0922283e 15:01:11 Successfully built c2ff0922283e 15:01:11 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 15:01:11 + docker inspect -f . ci-base-image-x86_64 15:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:01:11 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:01:11 $ 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 ******** ci-base-image-x86_64 cat 15:01:12 $ docker top a95e37627fa88bccb37d87f0af94c2d43d7cfbf1128a2b2c93d081813e830e91 -eo pid,comm [Pipeline] { [Pipeline] sh 15:01:12 + make test 15:01:12 echo "make test" 15:01:12 make test [Pipeline] } 15:01:12 $ docker stop --time=1 a95e37627fa88bccb37d87f0af94c2d43d7cfbf1128a2b2c93d081813e830e91 15:01:13 $ docker rm -f --volumes a95e37627fa88bccb37d87f0af94c2d43d7cfbf1128a2b2c93d081813e830e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:01:14 + ls -al . 15:01:14 total 212 15:01:14 drwxrwxr-x 9 jenkins jenkins 4096 Feb 11 15:00 . 15:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 15:00 .. 15:01:14 drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 15:00 .git 15:01:14 drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 15:00 .github 15:01:14 -rw-rw-r-- 1 jenkins jenkins 176 Feb 11 15:00 .gitignore 15:01:14 drwxr-xr-x 3 jenkins jenkins 4096 Feb 11 15:00 .semver 15:01:14 -rw-rw-r-- 1 jenkins jenkins 2908 Feb 11 15:00 Attribution.txt 15:01:14 -rw-rw-r-- 1 jenkins jenkins 11953 Feb 11 15:00 CHANGELOG.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 11 15:00 Doxyfile 15:01:14 -rw-rw-r-- 1 jenkins jenkins 677 Feb 11 15:00 GOVERNANCE.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 784 Feb 11 15:00 Jenkinsfile 15:01:14 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 11 15:00 LICENSE 15:01:14 -rw-rw-r-- 1 jenkins jenkins 444 Feb 11 15:00 Makefile 15:01:14 -rw-rw-r-- 1 jenkins jenkins 618 Feb 11 15:00 OWNERS.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 1651 Feb 11 15:00 README.IOT.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 4173 Feb 11 15:00 README.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 11 15:00 README.v3.md 15:01:14 -rw-rw-r-- 1 jenkins jenkins 12 Feb 11 15:00 VERSION 15:01:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 15:00 docs 15:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 15:00 include 15:01:14 drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 15:00 scripts 15:01:14 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 15:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:14 + 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=eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e --label arch=amd64 --label version=4.0.0-dev.17 . 15:01:14 Sending build context to Docker daemon 5.463MB 15:01:14 Step 1/18 : ARG BASE=alpine:3.18 15:01:14 Step 2/18 : FROM ${BASE} 15:01:14 ---> c2ff0922283e 15:01:14 Step 3/18 : LABEL maintainer="IOTech " 15:01:14 ---> Running in dc6c56143992 15:01:14 Removing intermediate container dc6c56143992 15:01:14 ---> f75c9e2b02dc 15:01:14 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 15:01:15 ---> Running in 237496b6b021 15:01:15 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:01:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:01:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:01:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:01:16 Removing intermediate container 237496b6b021 15:01:16 ---> 1584bb9bfa89 15:01:16 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:01:16 ---> Running in efe12156e871 15:01:16 Removing intermediate container efe12156e871 15:01:16 ---> eaa3a451a5a2 15:01:16 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 15:01:16 ---> Running in 37d70b14c407 15:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:01:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:01:17 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 15:01:18 (2/11) Installing libcbor-dev (0.10.2-r1) 15:01:18 (3/11) Installing libmenuw (6.4_p20230506-r0) 15:01:18 (4/11) Installing libpanelw (6.4_p20230506-r0) 15:01:18 (5/11) Installing libncurses++ (6.4_p20230506-r0) 15:01:18 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 15:01:18 (7/11) Installing libblkid (2.38.1-r8) 15:01:18 (8/11) Installing libfdisk (2.38.1-r8) 15:01:18 (9/11) Installing libmount (2.38.1-r8) 15:01:18 (10/11) Installing libsmartcols (2.38.1-r8) 15:01:18 (11/11) Installing util-linux-dev (2.38.1-r8) 15:01:18 Executing busybox-1.36.1-r7.trigger 15:01:18 OK: 336 MiB in 102 packages 15:01:18 Removing intermediate container 37d70b14c407 15:01:18 ---> 590342ea621a 15:01:18 Step 7/18 : RUN apk --no-cache upgrade 15:01:18 ---> Running in adb96456581d 15:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:01:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:01:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:01:20 OK: 336 MiB in 102 packages 15:01:20 Removing intermediate container adb96456581d 15:01:20 ---> aaaef4caabaf 15:01:20 Step 8/18 : COPY VERSION /edgex-c-sdk/ 15:01:20 ---> ab431c169617 15:01:20 Step 9/18 : COPY src /edgex-c-sdk/src/ 15:01:20 ---> 5e958cdd7df2 15:01:20 Step 10/18 : COPY include /edgex-c-sdk/include/ 15:01:20 ---> a9b5d49a1a43 15:01:20 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 15:01:21 ---> a3b23f82e7cc 15:01:21 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 15:01:21 ---> 2ede0def88f2 15:01:21 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 15:01:21 ---> 271befa3bcdf 15:01:21 Step 14/18 : WORKDIR /edgex-c-sdk 15:01:21 ---> Running in 70b0a24190f2 15:01:21 Removing intermediate container 70b0a24190f2 15:01:21 ---> 45e03ec2a7d7 15:01:21 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:01:21 ---> Running in 1ea250659e13 15:01:21 Removing intermediate container 1ea250659e13 15:01:21 ---> 2727e86d9638 15:01:21 Step 16/18 : LABEL arch=amd64 15:01:21 ---> Running in 0415e6d08024 15:01:21 Removing intermediate container 0415e6d08024 15:01:21 ---> d23b3a59813d 15:01:21 Step 17/18 : LABEL git_sha=eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e 15:01:21 ---> Running in ac5bc4fd7d5c 15:01:21 Removing intermediate container ac5bc4fd7d5c 15:01:21 ---> 4c1b6f2ae044 15:01:21 Step 18/18 : LABEL version=4.0.0-dev.17 15:01:21 ---> Running in 226324f871ef 15:01:21 Removing intermediate container 226324f871ef 15:01:21 ---> 4b59d5ad05bd 15:01:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:01:21 Successfully built 4b59d5ad05bd 15:01:21 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 15:01:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:01:22 15:01:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:01:22 latest: Pulling from edgex-lftools-log-publisher 15:01:22 5eb5b503b376: Pulling fs layer 15:01:22 5c69ac0246d0: Pulling fs layer 15:01:22 ec43610c2a17: Pulling fs layer 15:01:22 3a2ae6a8a46f: Pulling fs layer 15:01:22 33b1e0a273af: Pulling fs layer 15:01:22 5d3b04190fa2: Pulling fs layer 15:01:22 2f39f015ded8: Pulling fs layer 15:01:22 33b1e0a273af: Waiting 15:01:22 5d3b04190fa2: Waiting 15:01:22 3a2ae6a8a46f: Waiting 15:01:22 2f39f015ded8: Waiting 15:01:22 5c69ac0246d0: Verifying Checksum 15:01:22 5c69ac0246d0: Download complete 15:01:22 3a2ae6a8a46f: Verifying Checksum 15:01:22 3a2ae6a8a46f: Download complete 15:01:22 33b1e0a273af: Verifying Checksum 15:01:22 33b1e0a273af: Download complete 15:01:22 5d3b04190fa2: Verifying Checksum 15:01:22 5d3b04190fa2: Download complete 15:01:22 ec43610c2a17: Verifying Checksum 15:01:22 ec43610c2a17: Download complete 15:01:22 5eb5b503b376: Verifying Checksum 15:01:22 5eb5b503b376: Download complete 15:01:23 2f39f015ded8: Verifying Checksum 15:01:23 2f39f015ded8: Download complete 15:01:24 5eb5b503b376: Pull complete 15:01:24 5c69ac0246d0: Pull complete 15:01:25 ec43610c2a17: Pull complete 15:01:25 3a2ae6a8a46f: Pull complete 15:01:25 33b1e0a273af: Pull complete 15:01:25 5d3b04190fa2: Pull complete 15:01:30 2f39f015ded8: Pull complete 15:01:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:01:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:01:31 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:01: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:01:37 $ docker top a214a3c5d71b6d4eb1d0d639a28c8b46447d38523407d2f37b08e1265fef4072 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:37 ---> job-cost.sh 15:01:37 lf-activate-venv: SKIPPING 15:01:37 INFO: No Stack... 15:01:38 INFO: Retrieving Pricing Info for: v3-standard-8 15:01:38 INFO: Archiving Costs [Pipeline] sh 15:01:38 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 15:01:38 + cut -d, -f6 [Pipeline] lock 15:01:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-94-stack-cost] 15:01:38 Resource [jenkins-edgexfoundry-device-sdk-c-main-94-stack-cost] did not exist. Created. 15:01:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:01:39 + echo total: 0.2199999988079071 [Pipeline] stash 15:01:39 Stashed 1 file(s) [Pipeline] } 15:01:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-94-stack-cost] [Pipeline] // lock [Pipeline] } 15:01:39 $ docker stop --time=1 a214a3c5d71b6d4eb1d0d639a28c8b46447d38523407d2f37b08e1265fef4072 15:01:40 $ docker rm -f --volumes a214a3c5d71b6d4eb1d0d639a28c8b46447d38523407d2f37b08e1265fef4072 [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 15:01:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:01:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:01:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:01:41 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:01:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:01:41 $ docker top 4bda0486e1b4dd4aecac16d5b6baf68f48488d275979a1af7f109d63e6ab85d4 -eo pid,comm 15:01:41 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). 15:01:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:01:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:01:41 [ssh-agent] Looking for ssh-agent implementation... 15:01:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:01:41 $ docker exec 4bda0486e1b4dd4aecac16d5b6baf68f48488d275979a1af7f109d63e6ab85d4 ssh-agent 15:01:41 SSH_AUTH_SOCK=/tmp/ssh-av4iKKbJBIF1/agent.32 15:01:41 SSH_AGENT_PID=38 15:01:41 Running ssh-add (command line suppressed) 15:01:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15524230854133113598.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15524230854133113598.key) 15:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:01:42 + git semver tag 15:01:42 2025-02-11 15:01:42,573 [run_tag] DEBUG tag force:False 15:01:42 2025-02-11 15:01:42,573 [check_head_tag] DEBUG check head tag 15:01:42 2025-02-11 15:01:42,574 [execute] INFO git cat-file --batch-check 15:01:42 2025-02-11 15:01:42,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 15:01:42 2025-02-11 15:01:42,579 [execute] INFO git cat-file --batch 15:01:42 2025-02-11 15:01:42,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 15:01:42 2025-02-11 15:01:42,601 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:01:42 2025-02-11 15:01:42,602 [execute] INFO git tag -a v4.0.0-dev.17 -m v4.0.0-dev.17 15:01:42 2025-02-11 15:01:42,602 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.17', '-m', 'v4.0.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 15:01:42 2025-02-11 15:01:42,607 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:01:42 4.0.0-dev.17 [Pipeline] } 15:01:42 $ docker exec --env ******** --env ******** 4bda0486e1b4dd4aecac16d5b6baf68f48488d275979a1af7f109d63e6ab85d4 ssh-agent -k 15:01:42 unset SSH_AUTH_SOCK; 15:01:42 unset SSH_AGENT_PID; 15:01:42 echo Agent pid 38 killed; 15:01:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:01:43 + git semver [Pipeline] } 15:01:43 $ docker stop --time=1 4bda0486e1b4dd4aecac16d5b6baf68f48488d275979a1af7f109d63e6ab85d4 15:01:44 $ docker rm -f --volumes 4bda0486e1b4dd4aecac16d5b6baf68f48488d275979a1af7f109d63e6ab85d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:01:45 15:01:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:01:45 0.23.1-centos7: Pulling from edgex-lftools 15:01:45 ab5ef0e58194: Pulling fs layer 15:01:45 9712f1f96733: Pulling fs layer 15:01:45 63f879dbbcfc: Pulling fs layer 15:01:45 0d9ebad4ef96: Pulling fs layer 15:01:45 e9a5061849ea: Pulling fs layer 15:01:45 d747dcd14b5f: Pulling fs layer 15:01:45 2de7ff778b66: Pulling fs layer 15:01:45 0d9ebad4ef96: Waiting 15:01:45 2de7ff778b66: Waiting 15:01:45 e9a5061849ea: Waiting 15:01:45 d747dcd14b5f: Waiting 15:01:45 9712f1f96733: Download complete 15:01:45 63f879dbbcfc: Verifying Checksum 15:01:45 63f879dbbcfc: Download complete 15:01:45 e9a5061849ea: Verifying Checksum 15:01:45 e9a5061849ea: Download complete 15:01:45 d747dcd14b5f: Verifying Checksum 15:01:45 d747dcd14b5f: Download complete 15:01:45 0d9ebad4ef96: Verifying Checksum 15:01:45 0d9ebad4ef96: Download complete 15:01:45 ab5ef0e58194: Verifying Checksum 15:01:45 ab5ef0e58194: Download complete 15:01:46 2de7ff778b66: Verifying Checksum 15:01:49 ab5ef0e58194: Pull complete 15:01:49 9712f1f96733: Pull complete 15:01:50 63f879dbbcfc: Pull complete 15:01:54 0d9ebad4ef96: Pull complete 15:01:54 e9a5061849ea: Pull complete 15:01:54 d747dcd14b5f: Pull complete 15:01:55 2de7ff778b66: Pull complete 15:01:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:01:55 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:01:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:02:01 $ docker top a13c398aa0f969f98a022b33c181c39e4414a49b95ee4a7df3fa6a74e73a6a77 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:02:02 provisioning config files... 15:02:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8630537562317365720tmp 15:02:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17027428787146137504tmp 15:02:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3618399247718114371tmp [Pipeline] { [Pipeline] echo 15:02:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:02:02 ---> sigul-configuration.sh 15:02:02 gpg: directory `/root/.gnupg' created 15:02:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:02:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:02:02 gpg: keyring `/root/.gnupg/secring.gpg' created 15:02:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:02:02 gpg: CAST5 encrypted data 15:02:02 gpg: encrypted with 1 passphrase 15:02:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:02:02 + mkdir /home/jenkins 15:02:02 + mkdir /home/jenkins/sigul [Pipeline] sh 15:02: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 15:02:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:02:03 ---> sigul-install.sh 15:02:03 Sigul already installed; skipping installation. [Pipeline] sh 15:02:03 + git tag --list 15:02:03 0.7.0 15:02:03 0.7.1 15:02:03 1.0.0 15:02:03 v1.0.1 15:02:03 v1.0.2 15:02:03 v1.0.3 15:02:03 v1.1.0 15:02:03 v1.1.1 15:02:03 v1.2.0 15:02:03 v1.2.1 15:02:03 v1.2.2 15:02:03 v1.3.0 15:02:03 v1.3.1 15:02:03 v2.0.0 15:02:03 v2.1.0 15:02:03 v2.2.0 15:02:03 v2.3.0 15:02:03 v3.0 15:02:03 v3.0.0 15:02:03 v3.0.1 15:02:03 v3.0.2 15:02:03 v3.0.3-dev.1 15:02:03 v3.0.3-dev.10 15:02:03 v3.0.3-dev.11 15:02:03 v3.0.3-dev.12 15:02:03 v3.0.3-dev.13 15:02:03 v3.0.3-dev.14 15:02:03 v3.0.3-dev.15 15:02:03 v3.0.3-dev.16 15:02:03 v3.0.3-dev.17 15:02:03 v3.0.3-dev.2 15:02:03 v3.0.3-dev.3 15:02:03 v3.0.3-dev.4 15:02:03 v3.0.3-dev.5 15:02:03 v3.0.3-dev.6 15:02:03 v3.0.3-dev.7 15:02:03 v3.0.3-dev.8 15:02:03 v3.0.3-dev.9 15:02:03 v3.1 15:02:03 v3.1.0 15:02:03 v3.1.0-dev.1 15:02:03 v3.1.0-dev.2 15:02:03 v3.1.0-dev.3 15:02:03 v3.1.0-dev.4 15:02:03 v3.1.0-dev.5 15:02:03 v3.1.0-dev.6 15:02:03 v3.1.0-dev.7 15:02:03 v3.1.0-dev.8 15:02:03 v3.1.0-dev.9 15:02:03 v3.1.1 15:02:03 v3.1.1-dev.1 15:02:03 v4.0.0-dev.1 15:02:03 v4.0.0-dev.10 15:02:03 v4.0.0-dev.11 15:02:03 v4.0.0-dev.12 15:02:03 v4.0.0-dev.13 15:02:03 v4.0.0-dev.14 15:02:03 v4.0.0-dev.15 15:02:03 v4.0.0-dev.16 15:02:03 v4.0.0-dev.17 15:02:03 v4.0.0-dev.2 15:02:03 v4.0.0-dev.3 15:02:03 v4.0.0-dev.4 15:02:03 v4.0.0-dev.5 15:02:03 v4.0.0-dev.6 15:02:03 v4.0.0-dev.7 15:02:03 v4.0.0-dev.8 15:02:03 v4.0.0-dev.9 [Pipeline] sh 15:02:03 + lftools sign git-tag v4.0.0-dev.17 15:02:04 Signing Git tag with Sigul... 15:02:04 Signing v4.0.0-dev.17 [Pipeline] echo 15:02:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:02:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:02:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:02:05 $ docker stop --time=1 a13c398aa0f969f98a022b33c181c39e4414a49b95ee4a7df3fa6a74e73a6a77 15:02:06 $ docker rm -f --volumes a13c398aa0f969f98a022b33c181c39e4414a49b95ee4a7df3fa6a74e73a6a77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:02:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:02:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:02:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:07 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:02:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:02:08 $ docker top 7fa37d89daa910a635649bcf2f64f214b97f57b471eb207880c58ba6f9cdf4de -eo pid,comm 15:02: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). 15:02:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:02:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:08 [ssh-agent] Looking for ssh-agent implementation... 15:02:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:08 $ docker exec 7fa37d89daa910a635649bcf2f64f214b97f57b471eb207880c58ba6f9cdf4de ssh-agent 15:02:08 SSH_AUTH_SOCK=/tmp/ssh-EAyYV78p7JWw/agent.33 15:02:08 SSH_AGENT_PID=39 15:02:08 Running ssh-add (command line suppressed) 15:02:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15276137707887157666.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15276137707887157666.key) 15:02:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:08 + git semver bump pre 15:02:09 2025-02-11 15:02:09,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:02:09 2025-02-11 15:02:09,134 [bump_version] DEBUG bumping version:4.0.0-dev.17 on axis:pre with prefix:dev 15:02:09 2025-02-11 15:02:09,134 [bump_version] DEBUG bumped version:4.0.0-dev.18 15:02:09 2025-02-11 15:02:09,134 [write_version] DEBUG write version:4.0.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 15:02:09 2025-02-11 15:02:09,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:02:09 2025-02-11 15:02:09,135 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:02:09 2025-02-11 15:02:09,136 [execute] INFO git cat-file --batch-check 15:02:09 2025-02-11 15:02:09,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 15:02:09 2025-02-11 15:02:09,141 [execute] INFO git cat-file --batch 15:02:09 2025-02-11 15:02:09,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 15:02:09 2025-02-11 15:02:09,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:02:09 4.0.0-dev.18 [Pipeline] } 15:02:09 $ docker exec --env ******** --env ******** 7fa37d89daa910a635649bcf2f64f214b97f57b471eb207880c58ba6f9cdf4de ssh-agent -k 15:02:09 unset SSH_AUTH_SOCK; 15:02:09 unset SSH_AGENT_PID; 15:02:09 echo Agent pid 39 killed; 15:02:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:02:09 + git semver [Pipeline] } 15:02:09 $ docker stop --time=1 7fa37d89daa910a635649bcf2f64f214b97f57b471eb207880c58ba6f9cdf4de 15:02:11 $ docker rm -f --volumes 7fa37d89daa910a635649bcf2f64f214b97f57b471eb207880c58ba6f9cdf4de [Pipeline] // withDockerContainer [Pipeline] sh 15:02:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:02:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:02:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:11 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:02:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:02:12 $ docker top 79b1d51137e38dda0b7206a7dc856371623f75b6354c8ce292e41667d64af544 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:02:12 [ssh-agent] Looking for ssh-agent implementation... 15:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:02:12 $ docker exec 79b1d51137e38dda0b7206a7dc856371623f75b6354c8ce292e41667d64af544 ssh-agent 15:02:12 SSH_AUTH_SOCK=/tmp/ssh-N7y9Lia8Hpus/agent.32 15:02:12 SSH_AGENT_PID=38 15:02:12 Running ssh-add (command line suppressed) 15:02:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8937320528746638100.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8937320528746638100.key) 15:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:02:13 + git semver push 15:02:13 2025-02-11 15:02:13,282 [run_push] DEBUG push 15:02:13 2025-02-11 15:02:13,283 [execute] INFO git cat-file --batch-check 15:02:13 2025-02-11 15:02:13,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 15:02:13 2025-02-11 15:02:13,287 [execute] INFO git rev-list 3d49d983f640e30ea696125888aff4b18be5f1b6 -- 15:02:13 2025-02-11 15:02:13,288 [execute] DEBUG Popen(['git', 'rev-list', '3d49d983f640e30ea696125888aff4b18be5f1b6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 15:02:13 2025-02-11 15:02:13,297 [execute] INFO git fetch -v origin 15:02:13 2025-02-11 15:02:13,297 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 15:02:13 2025-02-11 15:02:13,759 [run_push] DEBUG no remote changes detected 15:02:13 2025-02-11 15:02:13,759 [execute] INFO git push origin semver 15:02:13 2025-02-11 15:02:13,760 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 15:02:14 2025-02-11 15:02:14,422 [run_push] DEBUG push all version tags 15:02:14 2025-02-11 15:02:14,423 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:02:14 2025-02-11 15:02:14,423 [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) 15:02:15 2025-02-11 15:02:15,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 15:02:15 4.0.0-dev.18 [Pipeline] } 15:02:15 $ docker exec --env ******** --env ******** 79b1d51137e38dda0b7206a7dc856371623f75b6354c8ce292e41667d64af544 ssh-agent -k 15:02:15 unset SSH_AUTH_SOCK; 15:02:15 unset SSH_AGENT_PID; 15:02:15 echo Agent pid 38 killed; 15:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:02:15 + git semver [Pipeline] } 15:02:16 $ docker stop --time=1 79b1d51137e38dda0b7206a7dc856371623f75b6354c8ce292e41667d64af544 15:02:17 $ docker rm -f --volumes 79b1d51137e38dda0b7206a7dc856371623f75b6354c8ce292e41667d64af544 [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 15:02:17 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 15:02:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:02:17 total 16 15:02:17 drwxr-xr-x 3 root root 4096 Feb 11 15:01 . 15:02:17 drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 15:02 .. 15:02:17 drwxr-xr-x 2 root root 4096 Feb 11 15:01 cost 15:02:17 -rw-r--r-- 1 root root 83 Feb 11 15:01 cost.csv 15:02:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:02:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 15:02:17 total 16 15:02:17 drwxr-xr-x 3 jenkins jenkins 4096 Feb 11 15:01 . 15:02:17 drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 15:02 .. 15:02:17 drwxr-xr-x 2 jenkins jenkins 4096 Feb 11 15:01 cost 15:02:17 -rw-r--r-- 1 jenkins jenkins 83 Feb 11 15:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:02:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:02:19 ---> package-listing.sh 15:02:19 ++ facter osfamily 15:02:19 ++ tr '[:upper:]' '[:lower:]' 15:02:19 + OS_FAMILY=debian 15:02:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 15:02:19 + START_PACKAGES=/tmp/packages_start.txt 15:02:19 + END_PACKAGES=/tmp/packages_end.txt 15:02:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:02:19 + PACKAGES=/tmp/packages_start.txt 15:02:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:02:19 + PACKAGES=/tmp/packages_end.txt 15:02:19 + case "${OS_FAMILY}" in 15:02:19 + dpkg -l 15:02:19 + grep '^ii' 15:02:19 + '[' -f /tmp/packages_start.txt ']' 15:02:19 + '[' -f /tmp/packages_end.txt ']' 15:02:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:02:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 15:02:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 15:02: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 15:02: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 15:02:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:20 prd-ubuntu20.04-docker-8c-8g-38659 does not seem to be running inside a container 15:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:02:20 $ docker top c71b68e423b518415be946f686155d0a4c2279ba3a78c6a47a9e0408e31ee520 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:20 + touch /tmp/pre-build-complete [Pipeline] sh 15:02:21 + mkdir -p /var/log/sysstat [Pipeline] sh 15:02:21 + ls /var/log/sa-host 15:02:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:02:21 provisioning config files... 15:02:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config704565816442525818tmp [Pipeline] { [Pipeline] echo 15:02:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:02:21 ---> create-netrc.sh [Pipeline] } 15:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:02:22 ---> python-tools-install.sh [Pipeline] echo 15:02:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:02:22 ---> sudo-logs.sh 15:02:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:02:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:02:22 ---> job-cost.sh 15:02:22 lf-activate-venv: SKIPPING 15:02:22 DEBUG: total: 0.2199999988079071 15:02:22 INFO: Retrieving Stack Cost... 15:02:23 INFO: Retrieving Pricing Info for: v3-standard-8 15:02:23 INFO: Archiving Costs [Pipeline] echo 15:02:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:02:23 ---> logs-deploy.sh 15:02:23 lf-activate-venv: SKIPPING 15:02:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/94 15:02:23 INFO: archiving workspace using pattern(s): 15:02:24 Archives upload complete. 15:02:24 INFO: archiving logs to Nexus 15:02:25 ---> uname -a: 15:02:25 Linux prd-ubuntu20-04-docker-8c-8g-38659 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:02:25 15:02:25 15:02:25 ---> lscpu: 15:02:25 Architecture: x86_64 15:02:25 CPU op-mode(s): 32-bit, 64-bit 15:02:25 Byte Order: Little Endian 15:02:25 Address sizes: 40 bits physical, 48 bits virtual 15:02:25 CPU(s): 8 15:02:25 On-line CPU(s) list: 0-7 15:02:25 Thread(s) per core: 1 15:02:25 Core(s) per socket: 1 15:02:25 Socket(s): 8 15:02:25 NUMA node(s): 1 15:02:25 Vendor ID: AuthenticAMD 15:02:25 CPU family: 23 15:02:25 Model: 49 15:02:25 Model name: AMD EPYC-Rome Processor 15:02:25 Stepping: 0 15:02:25 CPU MHz: 2799.998 15:02:25 BogoMIPS: 5599.99 15:02:25 Virtualization: AMD-V 15:02:25 Hypervisor vendor: KVM 15:02:25 Virtualization type: full 15:02:25 L1d cache: 256 KiB 15:02:25 L1i cache: 256 KiB 15:02:25 L2 cache: 4 MiB 15:02:25 L3 cache: 128 MiB 15:02:25 NUMA node0 CPU(s): 0-7 15:02:25 Vulnerability Itlb multihit: Not affected 15:02:25 Vulnerability L1tf: Not affected 15:02:25 Vulnerability Mds: Not affected 15:02:25 Vulnerability Meltdown: Not affected 15:02:25 Vulnerability Mmio stale data: Not affected 15:02:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:02:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:02:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:02:25 Vulnerability Srbds: Not affected 15:02:25 Vulnerability Tsx async abort: Not affected 15:02:25 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 15:02:25 15:02:25 15:02:25 ---> nproc: 15:02:25 8 15:02:25 15:02:25 15:02:25 ---> df -h: 15:02:25 Filesystem Size Used Avail Use% Mounted on 15:02:25 overlay 155G 11G 145G 7% / 15:02:25 tmpfs 64M 0 64M 0% /dev 15:02:25 tmpfs 16G 0 16G 0% /sys/fs/cgroup 15:02:25 shm 64M 0 64M 0% /dev/shm 15:02:25 /dev/vda1 155G 11G 145G 7% /facter-os 15:02:25 15:02:25