Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 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-ssh9930869961954076157.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-ssh6137945330150937160.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-ssh348911318349715907.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-ssh12212220560229315221.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-ssh15840231236968080911.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34905 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 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 # timeout=10 Commit message: "feat: Add device up/down detection (#532)" > git rev-list --no-walk 3521595b3d029ad48779306d8d3c838e476b6612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:27:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:27:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:27:02 ========================================================= 11:27:02 EdgeX Global Pipelines Version Info 11:27:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:27:04 ------------------- 11:27:04 stable info: 11:27:04 ------------------- 11:27:04 Commited By: Cherry Wang cherry@iotechsys.com 11:27:04 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 11:27:04 Message: update stable to v1.0.269 11:27:04 ------------------- 11:27:04 experimental info: 11:27:04 ------------------- 11:27:04 Commited By: **** collab-it+edgex@linuxfoundation.org 11:27:04 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 11:27:04 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7abe510 [Pipeline] echo 11:27:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:27:04 provisioning config files... 11:27:04 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13520895736026331873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:05 ---> ****-login.sh 11:27:05 nexus3.edgexfoundry.org:10001 11:27:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:06 Configure a credential helper to remove this warning. See 11:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:06 11:27:06 Login Succeeded 11:27:06 nexus3.edgexfoundry.org:10002 11:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:06 Configure a credential helper to remove this warning. See 11:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:06 11:27:06 Login Succeeded 11:27:06 nexus3.edgexfoundry.org:10003 11:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:06 Configure a credential helper to remove this warning. See 11:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:06 11:27:06 Login Succeeded 11:27:06 nexus3.edgexfoundry.org:10004 11:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:06 Configure a credential helper to remove this warning. See 11:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:06 11:27:06 Login Succeeded 11:27:06 ****.io 11:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:06 Configure a credential helper to remove this warning. See 11:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:06 11:27:06 Login Succeeded 11:27:06 ---> ****-login.sh ends [Pipeline] } 11:27:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 11:27:07 + git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo 11:27:07 -----------> git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [false] [Pipeline] sh 11:27:07 + git log --format=format:%s -1 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo 11:27:07 ========================================================= 11:27:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:27:07 ========================================================= 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 11:27:07 + git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo 11:27:07 -----------> git rev-list -1 --merges 7abe510cbd0ecbc788545c64ca7f1b281e5aa337~1..7abe510cbd0ecbc788545c64ca7f1b281e5aa337 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [false] [Pipeline] sh 11:27:08 + git log --format=format:%s -1 7abe510cbd0ecbc788545c64ca7f1b281e5aa337 [Pipeline] echo 11:27:08 ========================================================= 11:27:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:27:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 11:27:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:27:08 + grep -v github /etc/ssh/ssh_known_hosts 11:27:08 + [ -e /tmp/ssh_known_hosts ] 11:27:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:27:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:27:08 + sudo tee -a /etc/ssh/ssh_known_hosts 11:27:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:08 11:27:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:09 0.1.4: Pulling from edgex-devops/py-git-semver 11:27:09 b85a868b505f: Pulling fs layer 11:27:09 e2be974225ed: Pulling fs layer 11:27:09 339a4e72a1f5: Pulling fs layer 11:27:09 988bab9f4d93: Pulling fs layer 11:27:09 1469e6f7b9e6: Pulling fs layer 11:27:09 eaf3925da568: Pulling fs layer 11:27:09 bab4dde63d76: Pulling fs layer 11:27:09 bde34c3a00c8: Pulling fs layer 11:27:09 b352a97aabf1: Pulling fs layer 11:27:09 4872d77fe225: Pulling fs layer 11:27:09 5851b861e8e6: Pulling fs layer 11:27:09 bab4dde63d76: Waiting 11:27:09 4872d77fe225: Waiting 11:27:09 5851b861e8e6: Waiting 11:27:09 b352a97aabf1: Waiting 11:27:09 988bab9f4d93: Waiting 11:27:09 bde34c3a00c8: Waiting 11:27:09 1469e6f7b9e6: Waiting 11:27:09 eaf3925da568: Waiting 11:27:09 e2be974225ed: Verifying Checksum 11:27:09 e2be974225ed: Download complete 11:27:09 988bab9f4d93: Verifying Checksum 11:27:09 988bab9f4d93: Download complete 11:27:09 339a4e72a1f5: Verifying Checksum 11:27:09 339a4e72a1f5: Download complete 11:27:09 1469e6f7b9e6: Verifying Checksum 11:27:09 1469e6f7b9e6: Download complete 11:27:09 eaf3925da568: Verifying Checksum 11:27:09 eaf3925da568: Download complete 11:27:09 bde34c3a00c8: Download complete 11:27:09 b352a97aabf1: Verifying Checksum 11:27:09 b352a97aabf1: Download complete 11:27:09 4872d77fe225: Verifying Checksum 11:27:09 4872d77fe225: Download complete 11:27:09 5851b861e8e6: Verifying Checksum 11:27:09 5851b861e8e6: Download complete 11:27:09 b85a868b505f: Download complete 11:27:10 bab4dde63d76: Verifying Checksum 11:27:10 bab4dde63d76: Download complete 11:27:10 b85a868b505f: Pull complete 11:27:11 e2be974225ed: Pull complete 11:27:11 339a4e72a1f5: Pull complete 11:27:11 988bab9f4d93: Pull complete 11:27:12 1469e6f7b9e6: Pull complete 11:27:12 eaf3925da568: Pull complete 11:27:14 bab4dde63d76: Pull complete 11:27:14 bde34c3a00c8: Pull complete 11:27:14 b352a97aabf1: Pull complete 11:27:14 4872d77fe225: Pull complete 11:27:14 5851b861e8e6: Pull complete 11:27:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:14 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:27:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:27:17 $ docker top 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe -eo pid,comm 11:27:17 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). 11:27:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:27:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:17 [ssh-agent] Looking for ssh-agent implementation... 11:27:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:17 $ docker exec 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent 11:27:17 SSH_AUTH_SOCK=/tmp/ssh-yXHgCYr1OfYb/agent.32 11:27:17 SSH_AGENT_PID=38 11:27:17 Running ssh-add (command line suppressed) 11:27:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11412985631184281343.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11412985631184281343.key) 11:27:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:18 + git tag --points-at HEAD [Pipeline] } 11:27:18 $ docker exec --env ******** --env ******** 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent -k 11:27:18 unset SSH_AUTH_SOCK; 11:27:18 unset SSH_AGENT_PID; 11:27:18 echo Agent pid 38 killed; 11:27:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:27:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:18 [ssh-agent] Looking for ssh-agent implementation... 11:27:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:18 $ docker exec 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent 11:27:18 SSH_AUTH_SOCK=/tmp/ssh-dVpyz14GjX0E/agent.71 11:27:18 SSH_AGENT_PID=77 11:27:18 Running ssh-add (command line suppressed) 11:27:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_387169310577468757.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_387169310577468757.key) 11:27:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:19 + git semver init 11:27:19 2024-12-11 11:27:19,352 [run_init] DEBUG init version:0.0.0 force:False 11:27:19 2024-12-11 11:27:19,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 11:27:19 2024-12-11 11:27:19,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 11:27:19 2024-12-11 11:27:19,353 [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) 11:27:20 2024-12-11 11:27:20,161 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 11:27:20 2024-12-11 11:27:20,162 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 11:27:20 2024-12-11 11:27:20,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:27:20 2024-12-11 11:27:20,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:27:20 4.0.0-dev.8 [Pipeline] } 11:27:20 $ docker exec --env ******** --env ******** 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe ssh-agent -k 11:27:20 unset SSH_AUTH_SOCK; 11:27:20 unset SSH_AGENT_PID; 11:27:20 echo Agent pid 77 killed; 11:27:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:27:20 + git semver [Pipeline] } 11:27:21 $ docker stop --time=1 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe 11:27:22 $ docker rm -f --volumes 91fa1ab27a54afae885b8be0c4d0f8dd5ba70ddd693f27bd4fd6ae705a2ddbbe [Pipeline] // withDockerContainer [Pipeline] sh 11:27:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:27:22 Stashed 1 file(s) [Pipeline] echo 11:27:23 [edgeXSemver]: initialized semver on version 4.0.0-dev.8 [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 11:27:23 provisioning config files... 11:27:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17928126032113314857tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 11:27:23 ---> ****-login.sh 11:27:23 nexus3.edgexfoundry.org:10001 11:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:23 Configure a credential helper to remove this warning. See 11:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:23 11:27:23 Login Succeeded 11:27:23 nexus3.edgexfoundry.org:10002 11:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:23 Configure a credential helper to remove this warning. See 11:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:23 11:27:23 Login Succeeded 11:27:23 nexus3.edgexfoundry.org:10003 11:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:23 Configure a credential helper to remove this warning. See 11:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:23 11:27:23 Login Succeeded 11:27:23 nexus3.edgexfoundry.org:10004 11:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:23 Configure a credential helper to remove this warning. See 11:27:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:23 11:27:23 Login Succeeded 11:27:23 ****.io 11:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:24 Configure a credential helper to remove this warning. See 11:27:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:24 11:27:24 Login Succeeded 11:27:24 ---> ****-login.sh ends [Pipeline] } 11:27:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:27:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:27:24 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 11:27:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:27:24 ========================================================= 11:27:24 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:27:24 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:24 + 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 . 11:27:24 Sending build context to Docker daemon 5.198MB 11:27:24 Step 1/22 : ARG BASE=alpine:3.18 11:27:24 Step 2/22 : FROM ${BASE} as builder 11:27:24 latest: Pulling from edgex-devops/edgex-gcc-base 11:27:24 96526aa774ef: Pulling fs layer 11:27:24 da60e534fd72: Pulling fs layer 11:27:24 96526aa774ef: Verifying Checksum 11:27:24 96526aa774ef: Download complete 11:27:24 96526aa774ef: Pull complete 11:27:25 da60e534fd72: Verifying Checksum 11:27:25 da60e534fd72: Download complete 11:27:29 da60e534fd72: Pull complete 11:27:29 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 11:27:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:27:29 ---> 6605166a5db4 11:27:29 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 11:27:31 ---> Running in 8b09ac615dda 11:27:31 Connecting to iotech.jfrog.io (34.247.22.236:443) 11:27:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:27:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:27:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:27:31 Removing intermediate container 8b09ac615dda 11:27:31 ---> 123b131d8150 11:27:31 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 11:27:32 ---> Running in c271f6b35d1e 11:27:32 Removing intermediate container c271f6b35d1e 11:27:32 ---> 8860317a3b3a 11:27:32 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 11:27:32 ---> Running in 4b20751169cc 11:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:27:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:27:33 (1/15) Installing libcbor (0.10.2-r1) 11:27:33 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 11:27:34 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 11:27:34 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 11:27:34 (5/15) Installing libcbor-dev (0.10.2-r1) 11:27:34 (6/15) Installing libmenuw (6.4_p20230506-r0) 11:27:34 (7/15) Installing libpanelw (6.4_p20230506-r0) 11:27:34 (8/15) Installing libncurses++ (6.4_p20230506-r0) 11:27:34 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 11:27:34 (10/15) Installing libblkid (2.38.1-r8) 11:27:34 (11/15) Installing libuuid (2.38.1-r8) 11:27:34 (12/15) Installing libfdisk (2.38.1-r8) 11:27:34 (13/15) Installing libmount (2.38.1-r8) 11:27:34 (14/15) Installing libsmartcols (2.38.1-r8) 11:27:34 (15/15) Installing util-linux-dev (2.38.1-r8) 11:27:34 Executing busybox-1.36.1-r4.trigger 11:27:34 OK: 336 MiB in 97 packages 11:27:35 Removing intermediate container 4b20751169cc 11:27:35 ---> d78e4fb7dac0 11:27:35 Step 6/22 : RUN mkdir /tmp/sdk 11:27:35 ---> Running in fafd15c15c85 11:27:36 Removing intermediate container fafd15c15c85 11:27:36 ---> 6dfe2a03f47f 11:27:36 Step 7/22 : COPY VERSION /tmp/sdk 11:27:36 ---> 3cbab334a62d 11:27:36 Step 8/22 : COPY src /tmp/sdk/src 11:27:36 ---> 9cf2075a35c7 11:27:36 Step 9/22 : COPY include /tmp/sdk/include 11:27:36 ---> 989e8b5c8c3e 11:27:36 Step 10/22 : COPY scripts /tmp/sdk/scripts 11:27:36 ---> a5eb73fed4d3 11:27:36 Step 11/22 : COPY LICENSE /tmp/sdk 11:27:37 ---> b7d8902872f0 11:27:37 Step 12/22 : COPY Attribution.txt /tmp/sdk 11:27:37 ---> 0b374ac848a6 11:27:37 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:27:37 ---> Running in 4f29e3ba8bfd 11:27:37 + CPPCHECK=false 11:27:37 + DOCGEN=false 11:27:37 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:27:37 + '[' 0 -gt 0 ] 11:27:37 + readlink -f ./scripts/build.sh 11:27:37 + dirname /tmp/sdk/scripts/build.sh 11:27:37 + dirname /tmp/sdk/scripts 11:27:37 + ROOT=/tmp/sdk 11:27:37 + cd /tmp/sdk 11:27:37 + mkdir -p /tmp/sdk/build/release 11:27:37 + cd /tmp/sdk/build/release 11:27:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:27:37 -- The C compiler identification is GNU 12.2.1 11:27:37 -- Detecting C compiler ABI info 11:27:37 -- Detecting C compiler ABI info - done 11:27:37 -- Check for working C compiler: /usr/bin/cc - skipped 11:27:37 -- Detecting C compile features 11:27:37 -- Detecting C compile features - done 11:27:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:27:37 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 11:27:37 -- Found LIBYAML: /usr/lib/libyaml.so 11:27:37 -- Found LIBUUID: /usr/lib/libuuid.so 11:27:37 -- Found LIBCBOR: /usr/lib/libcbor.so 11:27:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:27:37 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:27:37 -- /opt/iotech/iot/1.5/include 11:27:37 -- C SDK 4.0.0-dev.8 for Linux 11:27:37 -- Performing Test CSDK_HAVE_ATOMIC 11:27:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:27:37 -- Found Curses: /usr/lib/libcurses.so 11:27:37 -- Configuring done (0.4s) 11:27:37 -- Generating done (0.0s) 11:27:37 -- Build files have been written to: /tmp/sdk/build/release 11:27:37 + make all package 11:27:37 + tee release.log 11:27:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:27:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:27:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:27:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:27:38 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:27:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:27:38 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 11:27:38 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 11:27:38 294 | while (privateConfig) 11:27:38 | ^~~~~~~~~~~~~ 11:27:38 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 11:27:38 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 11:27:38 | ^~~~~~~~~~~~~ 11:27:38 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 11:27:38 271 | while (result) 11:27:38 | ^~~~~~ 11:27:38 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 11:27:38 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 11:27:38 | ^~~~~~ 11:27:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:27:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:27:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:27:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:27:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:27:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:27:39 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:27:40 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:27:40 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:27:40 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:27:40 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:27:40 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:27:40 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 11:27:40 from /tmp/sdk/src/c/registry.h:14, 11:27:40 from /tmp/sdk/src/c/registry-impl.h:12, 11:27:40 from /tmp/sdk/src/c/keeper.h:12, 11:27:40 from /tmp/sdk/src/c/keeper.c:1: 11:27:40 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 11:27:40 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 11:27:40 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 11:27:40 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:27:40 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 11:27:40 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 11:27:40 | ^~~~~~~~~~~ 11:27:40 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 11:27:40 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 11:27:40 | ~^ 11:27:40 | | 11:27:40 | char * 11:27:40 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:27:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:27:41 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:27:41 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:27:42 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:27:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:27:42 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:27:42 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:27:42 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:27:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:27:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:27:43 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:27:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:27:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:27:43 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 11:27:43 /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 11:27:43 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 11:27:43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:27:43 /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here 11:27:43 883 | const iot_data_t *deviceservices_config; 11:27:43 | ^~~~~~~~~~~~~~~~~~~~~ 11:27:43 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:27:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:27:44 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:27:44 [ 69%] Linking C shared library libcsdk.so 11:27:44 [ 69%] Built target csdk 11:27:44 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:27:44 [ 73%] Linking C executable template 11:27:44 [ 73%] Built target template 11:27:44 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:27:44 [ 76%] Linking C executable device-counter 11:27:44 [ 76%] Built target device-counter 11:27:44 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:27:44 [ 80%] Linking C executable device-random 11:27:44 [ 80%] Built target device-random 11:27:44 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:27:44 [ 84%] Linking C executable device-gyro 11:27:44 [ 84%] Built target device-gyro 11:27:44 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:27:45 [ 88%] Linking C executable device-bitfields 11:27:45 [ 88%] Built target device-bitfields 11:27:45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:27:45 [ 92%] Linking C executable template-discovery 11:27:45 [ 92%] Built target template-discovery 11:27:45 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:27:45 [ 96%] Linking C executable device-file 11:27:45 [ 96%] Built target device-file 11:27:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:27:45 [100%] Linking C executable device-terminal 11:27:45 [100%] Built target device-terminal 11:27:45 Run CPack packaging tool... 11:27:45 CPack: Create package using TGZ 11:27:45 CPack: Install projects 11:27:45 CPack: - Run preinstall target for: Csdk 11:27:46 CPack: - Install project: Csdk [] 11:27:46 CPack: Create package 11:27:46 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.8.tar.gz generated. 11:27:46 + '[' false '=' true ] 11:27:46 + '[' false '=' true ] 11:27:46 + mkdir -p /tmp/sdk/build/debug 11:27:46 + cd /tmp/sdk/build/debug 11:27:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:27:46 -- The C compiler identification is GNU 12.2.1 11:27:46 -- Detecting C compiler ABI info 11:27:46 -- Detecting C compiler ABI info - done 11:27:46 -- Check for working C compiler: /usr/bin/cc - skipped 11:27:46 -- Detecting C compile features 11:27:46 -- Detecting C compile features - done 11:27:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:27:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 11:27:46 -- Found LIBYAML: /usr/lib/libyaml.so 11:27:46 -- Found LIBUUID: /usr/lib/libuuid.so 11:27:46 -- Found LIBCBOR: /usr/lib/libcbor.so 11:27:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:27:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:27:46 -- /opt/iotech/iot/1.5/include 11:27:46 -- C SDK 4.0.0-dev.8 for Linux 11:27:46 -- Performing Test CSDK_HAVE_ATOMIC 11:27:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:27:46 -- Found Curses: /usr/lib/libcurses.so 11:27:46 -- Configuring done (0.4s) 11:27:46 -- Generating done (0.0s) 11:27:46 -- Build files have been written to: /tmp/sdk/build/debug 11:27:46 + tee debug.log 11:27:46 + make 11:27:46 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:27:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:27:46 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:27:46 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:27:46 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:27:46 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:27:47 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:27:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:27:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:27:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:27:47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:27:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:27:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:27:47 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:27:47 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:27:47 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:27:47 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:27:47 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 11:27:47 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 11:27:47 from /tmp/sdk/src/c/registry.h:14, 11:27:47 from /tmp/sdk/src/c/registry-impl.h:12, 11:27:47 from /tmp/sdk/src/c/keeper.h:12, 11:27:47 from /tmp/sdk/src/c/keeper.c:1: 11:27:47 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 11:27:47 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 11:27:47 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 11:27:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11:27:47 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 11:27:47 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 11:27:47 | ^~~~~~~~~~~ 11:27:47 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 11:27:47 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 11:27:47 | ~^ 11:27:47 | | 11:27:47 | char * 11:27:47 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:27:48 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:27:48 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 11:27:48 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:27:48 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:27:48 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:27:48 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:27:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:27:48 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:27:49 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:27:49 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:27:49 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:27:49 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:27:49 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:27:49 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:27:49 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:27:49 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:27:49 [ 69%] Linking C shared library libcsdk.so 11:27:49 [ 69%] Built target csdk 11:27:49 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:27:49 [ 73%] Linking C executable template 11:27:50 [ 73%] Built target template 11:27:50 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:27:50 [ 76%] Linking C executable device-counter 11:27:50 [ 76%] Built target device-counter 11:27:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:27:50 [ 80%] Linking C executable device-random 11:27:50 [ 80%] Built target device-random 11:27:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:27:50 [ 84%] Linking C executable device-gyro 11:27:50 [ 84%] Built target device-gyro 11:27:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:27:50 [ 88%] Linking C executable device-bitfields 11:27:50 [ 88%] Built target device-bitfields 11:27:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:27:50 [ 92%] Linking C executable template-discovery 11:27:50 [ 92%] Built target template-discovery 11:27:50 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:27:50 [ 96%] Linking C executable device-file 11:27:50 [ 96%] Built target device-file 11:27:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:27:51 [100%] Linking C executable device-terminal 11:27:51 [100%] Built target device-terminal 11:27:51 make: Entering directory '/tmp/sdk/build/release' 11:27:51 [ 69%] Built target csdk 11:27:51 [ 73%] Built target template 11:27:51 [ 76%] Built target device-counter 11:27:51 [ 80%] Built target device-random 11:27:51 [ 84%] Built target device-gyro 11:27:51 [ 88%] Built target device-bitfields 11:27:51 [ 92%] Built target template-discovery 11:27:51 [ 96%] Built target device-file 11:27:51 [100%] Built target device-terminal 11:27:51 Install the project... 11:27:51 -- Install configuration: "Release" 11:27:51 -- Installing: /usr/local/lib/libcsdk.so 11:27:51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:27:51 -- Installing: /usr/local/include 11:27:51 -- Installing: /usr/local/include/devsdk 11:27:51 -- Installing: /usr/local/include/devsdk/devsdk.h 11:27:51 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:27:51 -- Installing: /usr/local/include/edgex 11:27:51 -- Installing: /usr/local/include/edgex/edgex.h 11:27:51 -- Installing: /usr/local/include/edgex/devices.h 11:27:51 -- Installing: /usr/local/include/edgex/profiles.h 11:27:51 -- Installing: /usr/local/include/edgex/edgex-base.h 11:27:51 -- Installing: /usr/local/include/edgex/rest-server.h 11:27:51 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:27:51 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:27:51 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:27:51 make: Leaving directory '/tmp/sdk/build/release' 11:27:52 Removing intermediate container 4f29e3ba8bfd 11:27:52 ---> a8bd77dcc005 11:27:52 Step 14/22 : FROM ${BASE} 11:27:52 ---> 6605166a5db4 11:27:52 Step 15/22 : LABEL maintainer="IOTech " 11:27:52 ---> Running in d1091cf6fa47 11:27:52 Removing intermediate container d1091cf6fa47 11:27:52 ---> 492c760d1a9e 11:27:52 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 11:27:53 ---> Running in a1356c73a3d2 11:27:53 Connecting to iotech.jfrog.io (54.73.4.50:443) 11:27:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:27:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:27:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:27:54 Removing intermediate container a1356c73a3d2 11:27:54 ---> 6559debeaf2e 11:27:54 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 11:27:54 ---> Running in 6105d919fb36 11:27:54 Removing intermediate container 6105d919fb36 11:27:54 ---> 340efc96405c 11:27:54 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 11:27:55 ---> Running in f64f318f879f 11:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:27:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:27:56 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 11:27:56 (2/8) Installing curl (8.9.1-r1) 11:27:56 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 11:27:56 (4/8) Installing dumb-init (1.2.5-r2) 11:27:56 (5/8) Installing libcbor (0.10.2-r1) 11:27:56 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 11:27:57 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 11:27:57 (8/8) Installing libuuid (2.38.1-r8) 11:27:57 Executing busybox-1.36.1-r4.trigger 11:27:57 OK: 331 MiB in 88 packages 11:27:58 Removing intermediate container f64f318f879f 11:27:58 ---> d7775fc0badb 11:27:58 Step 19/22 : RUN apk --no-cache upgrade 11:27:58 ---> Running in 89e9f057c11a 11:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:27:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:27:59 Upgrading critical system libraries and apk-tools: 11:27:59 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:27:59 Executing busybox-1.36.1-r4.trigger 11:27:59 Continuing the upgrade transaction with new apk-tools: 11:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:27:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:27:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:28:00 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 11:28:00 Executing busybox-1.36.1-r7.post-upgrade 11:28:00 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 11:28:00 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:28:00 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 11:28:00 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 11:28:00 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 11:28:00 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 11:28:00 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 11:28:00 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 11:28:00 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 11:28:00 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 11:28:00 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 11:28:00 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 11:28:00 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 11:28:00 Executing busybox-1.36.1-r7.trigger 11:28:00 Executing ca-certificates-20240226-r0.trigger 11:28:00 OK: 331 MiB in 88 packages 11:28:01 Removing intermediate container 89e9f057c11a 11:28:01 ---> 69b0f299b0d0 11:28:01 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:28:01 ---> 13b5f43d3f7b 11:28:01 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 11:28:01 ---> 666d501f0967 11:28:01 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:28:02 ---> 3ce4553114b0 11:28:02 Successfully built 3ce4553114b0 11:28:02 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 11:28:02 + docker inspect -f . ci-base-image-x86_64 11:28:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:02 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:28:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:28:03 $ docker top 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:03 + make test 11:28:03 echo "make test" 11:28:03 make test [Pipeline] } 11:28:03 $ docker stop --time=1 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 11:28:05 $ docker rm -f --volumes 36c5d8de3560d886a5c12db55c059b7adc982db35f7fa9fa7af3eea5b67d5a37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:28:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:28:06 + ls -al . 11:28:06 total 212 11:28:06 drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 11:27 . 11:28:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 .. 11:28:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 11:27 .git 11:28:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 11:26 .github 11:28:06 -rw-rw-r-- 1 jenkins jenkins 176 Dec 11 11:26 .gitignore 11:28:06 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 11:27 .semver 11:28:06 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 11 11:26 Attribution.txt 11:28:06 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 11 11:26 CHANGELOG.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 11 11:26 Doxyfile 11:28:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 11 11:26 GOVERNANCE.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 784 Dec 11 11:26 Jenkinsfile 11:28:06 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 11 11:26 LICENSE 11:28:06 -rw-rw-r-- 1 jenkins jenkins 444 Dec 11 11:26 Makefile 11:28:06 -rw-rw-r-- 1 jenkins jenkins 618 Dec 11 11:26 OWNERS.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 11 11:26 README.IOT.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 11 11:26 README.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 11 11:26 README.v3.md 11:28:06 -rw-rw-r-- 1 jenkins jenkins 11 Dec 11 11:27 VERSION 11:28:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 11:26 docs 11:28:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 include 11:28:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 11:26 scripts 11:28:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 11:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:06 + 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=7abe510cbd0ecbc788545c64ca7f1b281e5aa337 --label arch=amd64 --label version=4.0.0-dev.8 . 11:28:06 Sending build context to Docker daemon 5.198MB 11:28:06 Step 1/18 : ARG BASE=alpine:3.18 11:28:06 Step 2/18 : FROM ${BASE} 11:28:06 ---> 3ce4553114b0 11:28:06 Step 3/18 : LABEL maintainer="IOTech " 11:28:06 ---> Running in 30f37a5ca76b 11:28:06 Removing intermediate container 30f37a5ca76b 11:28:06 ---> d5b96cf3f3de 11:28:06 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 11:28:06 ---> Running in 401c0a0d012b 11:28:07 Connecting to iotech.jfrog.io (34.247.22.236:443) 11:28:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:28:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:28:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:28:08 Removing intermediate container 401c0a0d012b 11:28:08 ---> b1b78a8c31a3 11:28:08 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 11:28:08 ---> Running in 2053170d0184 11:28:08 Removing intermediate container 2053170d0184 11:28:08 ---> cfe0404b63d3 11:28:08 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 11:28:08 ---> Running in 289d8a935e6f 11:28:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:28:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:28:10 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 11:28:10 (2/11) Installing libcbor-dev (0.10.2-r1) 11:28:10 (3/11) Installing libmenuw (6.4_p20230506-r0) 11:28:10 (4/11) Installing libpanelw (6.4_p20230506-r0) 11:28:10 (5/11) Installing libncurses++ (6.4_p20230506-r0) 11:28:10 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 11:28:10 (7/11) Installing libblkid (2.38.1-r8) 11:28:10 (8/11) Installing libfdisk (2.38.1-r8) 11:28:10 (9/11) Installing libmount (2.38.1-r8) 11:28:10 (10/11) Installing libsmartcols (2.38.1-r8) 11:28:10 (11/11) Installing util-linux-dev (2.38.1-r8) 11:28:10 Executing busybox-1.36.1-r7.trigger 11:28:10 OK: 336 MiB in 99 packages 11:28:11 Removing intermediate container 289d8a935e6f 11:28:11 ---> 2837eb3f48af 11:28:11 Step 7/18 : RUN apk --no-cache upgrade 11:28:11 ---> Running in 3063f1286b9f 11:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:28:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:28:12 OK: 336 MiB in 99 packages 11:28:13 Removing intermediate container 3063f1286b9f 11:28:13 ---> 7d4ad0fe4a57 11:28:13 Step 8/18 : COPY VERSION /edgex-c-sdk/ 11:28:13 ---> be47e503c0e6 11:28:13 Step 9/18 : COPY src /edgex-c-sdk/src/ 11:28:13 ---> 5b2a83f01786 11:28:13 Step 10/18 : COPY include /edgex-c-sdk/include/ 11:28:14 ---> b6db368e5daa 11:28:14 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 11:28:14 ---> 10f0d68a5c50 11:28:14 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 11:28:15 ---> 01d3e8695009 11:28:15 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 11:28:15 ---> 6b4684192fcb 11:28:15 Step 14/18 : WORKDIR /edgex-c-sdk 11:28:15 ---> Running in 6f0ac2bd7ebc 11:28:15 Removing intermediate container 6f0ac2bd7ebc 11:28:15 ---> c38062b17481 11:28:15 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:28:16 ---> Running in dd675f4c5302 11:28:16 Removing intermediate container dd675f4c5302 11:28:16 ---> 711dd49d12e8 11:28:16 Step 16/18 : LABEL arch=amd64 11:28:16 ---> Running in f6e8d1e6b144 11:28:16 Removing intermediate container f6e8d1e6b144 11:28:16 ---> be56d090787a 11:28:16 Step 17/18 : LABEL git_sha=7abe510cbd0ecbc788545c64ca7f1b281e5aa337 11:28:16 ---> Running in 4f7d045b1d88 11:28:16 Removing intermediate container 4f7d045b1d88 11:28:16 ---> 22fbb4655935 11:28:16 Step 18/18 : LABEL version=4.0.0-dev.8 11:28:16 ---> Running in 9ef80f04101e 11:28:16 Removing intermediate container 9ef80f04101e 11:28:16 ---> c37b7185893f 11:28:16 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:28:16 Successfully built c37b7185893f 11:28:16 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 11:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:17 11:28:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:17 latest: Pulling from edgex-lftools-log-publisher 11:28:17 5eb5b503b376: Pulling fs layer 11:28:17 5c69ac0246d0: Pulling fs layer 11:28:17 ec43610c2a17: Pulling fs layer 11:28:17 3a2ae6a8a46f: Pulling fs layer 11:28:17 33b1e0a273af: Pulling fs layer 11:28:17 5d3b04190fa2: Pulling fs layer 11:28:17 2f39f015ded8: Pulling fs layer 11:28:17 3a2ae6a8a46f: Waiting 11:28:17 33b1e0a273af: Waiting 11:28:17 2f39f015ded8: Waiting 11:28:17 5d3b04190fa2: Waiting 11:28:17 5c69ac0246d0: Verifying Checksum 11:28:17 5c69ac0246d0: Download complete 11:28:17 3a2ae6a8a46f: Download complete 11:28:17 33b1e0a273af: Verifying Checksum 11:28:17 33b1e0a273af: Download complete 11:28:17 5d3b04190fa2: Verifying Checksum 11:28:17 5d3b04190fa2: Download complete 11:28:17 ec43610c2a17: Verifying Checksum 11:28:17 ec43610c2a17: Download complete 11:28:17 5eb5b503b376: Verifying Checksum 11:28:17 5eb5b503b376: Download complete 11:28:18 2f39f015ded8: Download complete 11:28:19 5eb5b503b376: Pull complete 11:28:19 5c69ac0246d0: Pull complete 11:28:19 ec43610c2a17: Pull complete 11:28:19 3a2ae6a8a46f: Pull complete 11:28:20 33b1e0a273af: Pull complete 11:28:20 5d3b04190fa2: Pull complete 11:28:25 2f39f015ded8: Pull complete 11:28:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:25 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:28:34 $ docker top 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:34 ---> job-cost.sh 11:28:34 lf-activate-venv: SKIPPING 11:28:34 INFO: No Stack... 11:28:34 INFO: Retrieving Pricing Info for: v3-standard-8 11:28:35 INFO: Archiving Costs [Pipeline] sh 11:28:35 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 11:28:35 + cut -d, -f6 [Pipeline] lock 11:28:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] 11:28:35 Resource [jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] did not exist. Created. 11:28:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:35 + echo total: 0.2199999988079071 [Pipeline] stash 11:28:35 Stashed 1 file(s) [Pipeline] } 11:28:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-85-stack-cost] [Pipeline] // lock [Pipeline] } 11:28:35 $ docker stop --time=1 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 11:28:37 $ docker rm -f --volumes 553e3234dcf7ba5c8819a52b95ff7f75225c8ad567b5f3e6755d5cbddacf1e34 [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 11:28:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:28:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:28:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:38 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:28:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:28:38 $ docker top 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c -eo pid,comm 11:28:39 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). 11:28:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:39 [ssh-agent] Looking for ssh-agent implementation... 11:28:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:39 $ docker exec 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c ssh-agent 11:28:39 SSH_AUTH_SOCK=/tmp/ssh-mWwJs7LkIZuP/agent.32 11:28:39 SSH_AGENT_PID=38 11:28:39 Running ssh-add (command line suppressed) 11:28:39 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8458561216397308703.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8458561216397308703.key) 11:28:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:39 + git semver tag 11:28:40 2024-12-11 11:28:39,950 [run_tag] DEBUG tag force:False 11:28:40 2024-12-11 11:28:39,950 [check_head_tag] DEBUG check head tag 11:28:40 2024-12-11 11:28:39,951 [execute] INFO git cat-file --batch-check 11:28:40 2024-12-11 11:28:39,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 11:28:40 2024-12-11 11:28:39,954 [execute] INFO git cat-file --batch 11:28:40 2024-12-11 11:28:39,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 11:28:40 2024-12-11 11:28:39,974 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:28:40 2024-12-11 11:28:39,974 [execute] INFO git tag -a v4.0.0-dev.8 -m v4.0.0-dev.8 11:28:40 2024-12-11 11:28:39,975 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.8', '-m', 'v4.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 11:28:40 2024-12-11 11:28:39,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:28:40 4.0.0-dev.8 [Pipeline] } 11:28:40 $ docker exec --env ******** --env ******** 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c ssh-agent -k 11:28:40 unset SSH_AUTH_SOCK; 11:28:40 unset SSH_AGENT_PID; 11:28:40 echo Agent pid 38 killed; 11:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:40 + git semver [Pipeline] } 11:28:40 $ docker stop --time=1 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c 11:28:42 $ docker rm -f --volumes 0213c44b55b9ed287cf538c18d6a9d6b4e2ccee5fe6721da5db01df096b5202c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:42 11:28:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:42 0.23.1-centos7: Pulling from edgex-lftools 11:28:42 ab5ef0e58194: Pulling fs layer 11:28:42 9712f1f96733: Pulling fs layer 11:28:42 63f879dbbcfc: Pulling fs layer 11:28:42 0d9ebad4ef96: Pulling fs layer 11:28:42 e9a5061849ea: Pulling fs layer 11:28:42 d747dcd14b5f: Pulling fs layer 11:28:42 2de7ff778b66: Pulling fs layer 11:28:42 0d9ebad4ef96: Waiting 11:28:42 2de7ff778b66: Waiting 11:28:42 e9a5061849ea: Waiting 11:28:42 9712f1f96733: Verifying Checksum 11:28:42 9712f1f96733: Download complete 11:28:43 63f879dbbcfc: Verifying Checksum 11:28:43 63f879dbbcfc: Download complete 11:28:43 e9a5061849ea: Verifying Checksum 11:28:43 e9a5061849ea: Download complete 11:28:43 d747dcd14b5f: Verifying Checksum 11:28:43 d747dcd14b5f: Download complete 11:28:43 ab5ef0e58194: Verifying Checksum 11:28:43 ab5ef0e58194: Download complete 11:28:43 0d9ebad4ef96: Verifying Checksum 11:28:43 0d9ebad4ef96: Download complete 11:28:43 2de7ff778b66: Verifying Checksum 11:28:43 2de7ff778b66: Download complete 11:28:46 ab5ef0e58194: Pull complete 11:28:46 9712f1f96733: Pull complete 11:28:46 63f879dbbcfc: Pull complete 11:28:51 0d9ebad4ef96: Pull complete 11:28:51 e9a5061849ea: Pull complete 11:28:51 d747dcd14b5f: Pull complete 11:28:52 2de7ff778b66: Pull complete 11:28:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:52 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:28:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:28:58 $ docker top c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:28:58 provisioning config files... 11:28:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17228800662151794397tmp 11:28:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12261148984607702656tmp 11:28:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10040417580106873919tmp [Pipeline] { [Pipeline] echo 11:28:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:28:58 ---> sigul-configuration.sh 11:28:58 gpg: directory `/root/.gnupg' created 11:28:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:28:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:28:58 gpg: keyring `/root/.gnupg/secring.gpg' created 11:28:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:28:58 gpg: CAST5 encrypted data 11:28:58 gpg: encrypted with 1 passphrase 11:28:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:28:59 + mkdir /home/jenkins 11:28:59 + mkdir /home/jenkins/sigul [Pipeline] sh 11:28:59 + 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 11:28:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:28:59 ---> sigul-install.sh 11:28:59 Sigul already installed; skipping installation. [Pipeline] sh 11:28:59 + git tag --list 11:28:59 0.7.0 11:28:59 0.7.1 11:28:59 1.0.0 11:28:59 v1.0.1 11:28:59 v1.0.2 11:28:59 v1.0.3 11:28:59 v1.1.0 11:28:59 v1.1.1 11:28:59 v1.2.0 11:28:59 v1.2.1 11:28:59 v1.2.2 11:28:59 v1.3.0 11:28:59 v1.3.1 11:28:59 v2.0.0 11:28:59 v2.1.0 11:28:59 v2.2.0 11:28:59 v2.3.0 11:28:59 v3.0 11:28:59 v3.0.0 11:28:59 v3.0.1 11:28:59 v3.0.2 11:28:59 v3.0.3-dev.1 11:28:59 v3.0.3-dev.10 11:28:59 v3.0.3-dev.11 11:28:59 v3.0.3-dev.12 11:28:59 v3.0.3-dev.13 11:28:59 v3.0.3-dev.14 11:28:59 v3.0.3-dev.15 11:28:59 v3.0.3-dev.16 11:28:59 v3.0.3-dev.17 11:28:59 v3.0.3-dev.2 11:28:59 v3.0.3-dev.3 11:28:59 v3.0.3-dev.4 11:28:59 v3.0.3-dev.5 11:28:59 v3.0.3-dev.6 11:28:59 v3.0.3-dev.7 11:28:59 v3.0.3-dev.8 11:28:59 v3.0.3-dev.9 11:28:59 v3.1 11:28:59 v3.1.0 11:28:59 v3.1.0-dev.1 11:28:59 v3.1.0-dev.2 11:28:59 v3.1.0-dev.3 11:28:59 v3.1.0-dev.4 11:28:59 v3.1.0-dev.5 11:28:59 v3.1.0-dev.6 11:28:59 v3.1.0-dev.7 11:28:59 v3.1.0-dev.8 11:28:59 v3.1.0-dev.9 11:28:59 v3.1.1 11:28:59 v3.1.1-dev.1 11:28:59 v4.0.0-dev.1 11:28:59 v4.0.0-dev.2 11:28:59 v4.0.0-dev.3 11:28:59 v4.0.0-dev.4 11:28:59 v4.0.0-dev.5 11:28:59 v4.0.0-dev.6 11:28:59 v4.0.0-dev.7 11:28:59 v4.0.0-dev.8 [Pipeline] sh 11:29:00 + lftools sign git-tag v4.0.0-dev.8 11:29:00 Signing Git tag with Sigul... 11:29:00 Signing v4.0.0-dev.8 [Pipeline] echo 11:29:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:29:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:29:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:29:01 $ docker stop --time=1 c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 11:29:02 $ docker rm -f --volumes c9a41f55a85a38a99358bd733cbe6fff42b3426073d7c60493f546c8c0a161b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:29:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:03 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:29:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:04 $ docker top e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b -eo pid,comm 11:29:04 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). 11:29:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:29:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:29:04 [ssh-agent] Looking for ssh-agent implementation... 11:29:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:29:04 $ docker exec e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b ssh-agent 11:29:04 SSH_AUTH_SOCK=/tmp/ssh-ENJfDTq2Bxam/agent.33 11:29:04 SSH_AGENT_PID=39 11:29:04 Running ssh-add (command line suppressed) 11:29:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12862003923545656343.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12862003923545656343.key) 11:29:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:29:04 + git semver bump pre 11:29:05 2024-12-11 11:29:05,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:29:05 2024-12-11 11:29:05,041 [bump_version] DEBUG bumping version:4.0.0-dev.8 on axis:pre with prefix:dev 11:29:05 2024-12-11 11:29:05,041 [bump_version] DEBUG bumped version:4.0.0-dev.9 11:29:05 2024-12-11 11:29:05,041 [write_version] DEBUG write version:4.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 11:29:05 2024-12-11 11:29:05,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:29:05 2024-12-11 11:29:05,041 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:29:05 2024-12-11 11:29:05,043 [execute] INFO git cat-file --batch-check 11:29:05 2024-12-11 11:29:05,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:29:05 2024-12-11 11:29:05,047 [execute] INFO git cat-file --batch 11:29:05 2024-12-11 11:29:05,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:29:05 2024-12-11 11:29:05,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:29:05 4.0.0-dev.9 [Pipeline] } 11:29:05 $ docker exec --env ******** --env ******** e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b ssh-agent -k 11:29:05 unset SSH_AUTH_SOCK; 11:29:05 unset SSH_AGENT_PID; 11:29:05 echo Agent pid 39 killed; 11:29:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:05 + git semver [Pipeline] } 11:29:05 $ docker stop --time=1 e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b 11:29:07 $ docker rm -f --volumes e319f16987c4de7511c32cc948c34a308d7a2cf1520df09ce06018a34443869b [Pipeline] // withDockerContainer [Pipeline] sh 11:29:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:07 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:29: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:29:08 $ docker top b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 -eo pid,comm 11:29: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). 11:29:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:29:08 [ssh-agent] Looking for ssh-agent implementation... 11:29:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:29:08 $ docker exec b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 ssh-agent 11:29:08 SSH_AUTH_SOCK=/tmp/ssh-EosTNvD19hgc/agent.33 11:29:08 SSH_AGENT_PID=39 11:29:08 Running ssh-add (command line suppressed) 11:29:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4707517564375792537.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4707517564375792537.key) 11:29:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:29:09 + git semver push 11:29:09 2024-12-11 11:29:09,170 [run_push] DEBUG push 11:29:09 2024-12-11 11:29:09,171 [execute] INFO git cat-file --batch-check 11:29:09 2024-12-11 11:29:09,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:29:09 2024-12-11 11:29:09,176 [execute] INFO git rev-list eb8c9d3dee4da9b4de5f4c858c3a133c148a45f6 -- 11:29:09 2024-12-11 11:29:09,176 [execute] DEBUG Popen(['git', 'rev-list', 'eb8c9d3dee4da9b4de5f4c858c3a133c148a45f6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:29:09 2024-12-11 11:29:09,182 [execute] INFO git fetch -v origin 11:29:09 2024-12-11 11:29:09,183 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 11:29:09 2024-12-11 11:29:09,649 [run_push] DEBUG no remote changes detected 11:29:09 2024-12-11 11:29:09,649 [execute] INFO git push origin semver 11:29:09 2024-12-11 11:29:09,650 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:29:10 2024-12-11 11:29:10,327 [run_push] DEBUG push all version tags 11:29:10 2024-12-11 11:29:10,328 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:29:10 2024-12-11 11:29:10,328 [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) 11:29:10 2024-12-11 11:29:10,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:29:10 4.0.0-dev.9 [Pipeline] } 11:29:10 $ docker exec --env ******** --env ******** b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 ssh-agent -k 11:29:11 unset SSH_AUTH_SOCK; 11:29:11 unset SSH_AGENT_PID; 11:29:11 echo Agent pid 39 killed; 11:29:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:11 + git semver [Pipeline] } 11:29:11 $ docker stop --time=1 b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 11:29:12 $ docker rm -f --volumes b406d256f05fbc0cf1ec8b2c667c7bc1e92981242e06e32ef1a59e68c879f1e6 [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 11:29:13 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 11:29:13 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:29:13 total 16 11:29:13 drwxr-xr-x 3 root root 4096 Dec 11 11:28 . 11:29:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 11:28 .. 11:29:13 drwxr-xr-x 2 root root 4096 Dec 11 11:28 cost 11:29:13 -rw-r--r-- 1 root root 83 Dec 11 11:28 cost.csv 11:29:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:29:13 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:29:13 total 16 11:29:13 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 11:28 . 11:29:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 11 11:28 .. 11:29:13 drwxr-xr-x 2 jenkins jenkins 4096 Dec 11 11:28 cost 11:29:13 -rw-r--r-- 1 jenkins jenkins 83 Dec 11 11:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:29:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:29:14 ---> package-listing.sh 11:29:14 ++ facter osfamily 11:29:14 ++ tr '[:upper:]' '[:lower:]' 11:29:14 + OS_FAMILY=debian 11:29:14 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 11:29:14 + START_PACKAGES=/tmp/packages_start.txt 11:29:14 + END_PACKAGES=/tmp/packages_end.txt 11:29:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:29:14 + PACKAGES=/tmp/packages_start.txt 11:29:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:29:14 + PACKAGES=/tmp/packages_end.txt 11:29:14 + case "${OS_FAMILY}" in 11:29:14 + dpkg -l 11:29:14 + grep '^ii' 11:29:14 + '[' -f /tmp/packages_start.txt ']' 11:29:14 + '[' -f /tmp/packages_end.txt ']' 11:29:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:29:14 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:29:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 11:29:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 11:29:14 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 11:29:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:15 prd-ubuntu20.04-docker-8c-8g-34905 does not seem to be running inside a container 11:29:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:29:16 $ docker top 7d2ef111ccb6e9c1096fbe0aa887a55cd75ea922c1fd414ccb282fca295841a8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:29:16 + mkdir -p /var/log/sysstat [Pipeline] sh 11:29:16 + ls /var/log/sa-host 11:29:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:17 provisioning config files... 11:29:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17137036560414850221tmp [Pipeline] { [Pipeline] echo 11:29:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:29:17 ---> create-netrc.sh [Pipeline] } 11:29:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:29:17 ---> python-tools-install.sh [Pipeline] echo 11:29:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:29:18 ---> sudo-logs.sh 11:29:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:29:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:29:18 ---> job-cost.sh 11:29:18 lf-activate-venv: SKIPPING 11:29:18 DEBUG: total: 0.2199999988079071 11:29:18 INFO: Retrieving Stack Cost... 11:29:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:29:19 INFO: Archiving Costs [Pipeline] echo 11:29:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:29:19 ---> logs-deploy.sh 11:29:19 lf-activate-venv: SKIPPING 11:29:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/85 11:29:19 INFO: archiving workspace using pattern(s): 11:29:20 Archives upload complete. 11:29:20 INFO: archiving logs to Nexus