Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1dcfe63ad036bf8d78932132d5dcad6aabcde801 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-ssh10923548791130794681.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-ssh8886903546087516342.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-ssh15149170286710591631.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-ssh11774012754684016238.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-ssh17065524959182043147.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-34535’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34536 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 1dcfe63ad036bf8d78932132d5dcad6aabcde801 (main) Commit message: "fix: Add support for additional MQTT protocol aliases (#524)" > 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 1dcfe63ad036bf8d78932132d5dcad6aabcde801 # timeout=10 > git rev-list --no-walk 8c5e39fa7b5b04e520d4bb53faca14d55facea43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:36 ========================================================= 05:58:36 EdgeX Global Pipelines Version Info 05:58:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:37 ------------------- 05:58:37 stable info: 05:58:37 ------------------- 05:58:37 Commited By: Cherry Wang cherry@iotechsys.com 05:58:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:58:37 Message: update stable to v1.0.269 05:58:37 ------------------- 05:58:37 experimental info: 05:58:37 ------------------- 05:58:37 Commited By: **** collab-it+edgex@linuxfoundation.org 05:58:37 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:58:37 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1dcfe63ad036bf8d78932132d5dcad6aabcde801 [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1dcfe63 [Pipeline] echo 05:58:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:38 provisioning config files... 05:58:38 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config304016404276567199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:38 ---> ****-login.sh 05:58:38 nexus3.edgexfoundry.org:10001 05:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:39 nexus3.edgexfoundry.org:10002 05:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:39 nexus3.edgexfoundry.org:10003 05:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:39 nexus3.edgexfoundry.org:10004 05:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:39 ****.io 05:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:39 Configure a credential helper to remove this warning. See 05:58:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:39 05:58:39 Login Succeeded 05:58:40 ---> ****-login.sh ends [Pipeline] } 05:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:58:40 + git rev-list -1 --merges 1dcfe63ad036bf8d78932132d5dcad6aabcde801~1..1dcfe63ad036bf8d78932132d5dcad6aabcde801 [Pipeline] echo 05:58:40 -----------> git rev-list -1 --merges 1dcfe63ad036bf8d78932132d5dcad6aabcde801~1..1dcfe63ad036bf8d78932132d5dcad6aabcde801 1dcfe63ad036bf8d78932132d5dcad6aabcde801 [false] [Pipeline] sh 05:58:40 + git log --format=format:%s -1 1dcfe63ad036bf8d78932132d5dcad6aabcde801 [Pipeline] echo 05:58:40 ========================================================= 05:58:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:40 ========================================================= 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 05:58:41 + git rev-list -1 --merges 1dcfe63ad036bf8d78932132d5dcad6aabcde801~1..1dcfe63ad036bf8d78932132d5dcad6aabcde801 [Pipeline] echo 05:58:41 -----------> git rev-list -1 --merges 1dcfe63ad036bf8d78932132d5dcad6aabcde801~1..1dcfe63ad036bf8d78932132d5dcad6aabcde801 1dcfe63ad036bf8d78932132d5dcad6aabcde801 [false] [Pipeline] sh 05:58:41 + git log --format=format:%s -1 1dcfe63ad036bf8d78932132d5dcad6aabcde801 [Pipeline] echo 05:58:41 ========================================================= 05:58:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:58:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:41 + grep -v github /etc/ssh/ssh_known_hosts 05:58:41 + [ -e /tmp/ssh_known_hosts ] 05:58:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:41 + + sudo tee -a /etc/ssh/ssh_known_hosts 05:58:41 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:58:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:42 05:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:42 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:42 b85a868b505f: Pulling fs layer 05:58:42 e2be974225ed: Pulling fs layer 05:58:42 339a4e72a1f5: Pulling fs layer 05:58:42 988bab9f4d93: Pulling fs layer 05:58:42 1469e6f7b9e6: Pulling fs layer 05:58:42 eaf3925da568: Pulling fs layer 05:58:42 bab4dde63d76: Pulling fs layer 05:58:42 bde34c3a00c8: Pulling fs layer 05:58:42 b352a97aabf1: Pulling fs layer 05:58:42 4872d77fe225: Pulling fs layer 05:58:42 5851b861e8e6: Pulling fs layer 05:58:42 988bab9f4d93: Waiting 05:58:42 4872d77fe225: Waiting 05:58:42 1469e6f7b9e6: Waiting 05:58:42 bab4dde63d76: Waiting 05:58:42 eaf3925da568: Waiting 05:58:42 bde34c3a00c8: Waiting 05:58:42 b352a97aabf1: Waiting 05:58:42 5851b861e8e6: Waiting 05:58:42 e2be974225ed: Download complete 05:58:42 988bab9f4d93: Download complete 05:58:42 1469e6f7b9e6: Verifying Checksum 05:58:42 1469e6f7b9e6: Download complete 05:58:42 eaf3925da568: Download complete 05:58:42 339a4e72a1f5: Verifying Checksum 05:58:42 339a4e72a1f5: Download complete 05:58:42 bde34c3a00c8: Verifying Checksum 05:58:42 bde34c3a00c8: Download complete 05:58:42 b352a97aabf1: Download complete 05:58:42 4872d77fe225: Verifying Checksum 05:58:42 4872d77fe225: Download complete 05:58:42 5851b861e8e6: Download complete 05:58:42 b85a868b505f: Verifying Checksum 05:58:42 b85a868b505f: Download complete 05:58:43 bab4dde63d76: Verifying Checksum 05:58:43 bab4dde63d76: Download complete 05:58:44 b85a868b505f: Pull complete 05:58:44 e2be974225ed: Pull complete 05:58:44 339a4e72a1f5: Pull complete 05:58:44 988bab9f4d93: Pull complete 05:58:45 1469e6f7b9e6: Pull complete 05:58:45 eaf3925da568: Pull complete 05:58:47 bab4dde63d76: Pull complete 05:58:47 bde34c3a00c8: Pull complete 05:58:47 b352a97aabf1: Pull complete 05:58:47 4872d77fe225: Pull complete 05:58:47 5851b861e8e6: Pull complete 05:58:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:47 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 05:58:47 $ 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 05:58:51 $ docker top c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 -eo pid,comm 05:58:51 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). 05:58:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:51 [ssh-agent] Looking for ssh-agent implementation... 05:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:51 $ docker exec c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 ssh-agent 05:58:51 SSH_AUTH_SOCK=/tmp/ssh-Y66NfwMVDQLb/agent.34 05:58:51 SSH_AGENT_PID=40 05:58:51 Running ssh-add (command line suppressed) 05:58:51 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13342237807647781771.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13342237807647781771.key) 05:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:51 + git tag --points-at HEAD [Pipeline] } 05:58:51 $ docker exec --env ******** --env ******** c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 ssh-agent -k 05:58:52 unset SSH_AUTH_SOCK; 05:58:52 unset SSH_AGENT_PID; 05:58:52 echo Agent pid 40 killed; 05:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:52 [ssh-agent] Looking for ssh-agent implementation... 05:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:52 $ docker exec c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 ssh-agent 05:58:52 SSH_AUTH_SOCK=/tmp/ssh-zOGSRYFeqb7B/agent.73 05:58:52 SSH_AGENT_PID=79 05:58:52 Running ssh-add (command line suppressed) 05:58:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16296261933725342292.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16296261933725342292.key) 05:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:52 + git semver init 05:58:53 2024-12-05 05:58:52,955 [run_init] DEBUG init version:0.0.0 force:False 05:58:53 2024-12-05 05:58:52,956 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 05:58:53 2024-12-05 05:58:52,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 05:58:53 2024-12-05 05:58:52,957 [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) 05:58:53 2024-12-05 05:58:53,765 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 05:58:53 2024-12-05 05:58:53,766 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 05:58:53 2024-12-05 05:58:53,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:58:53 2024-12-05 05:58:53,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 05:58:53 4.0.0-dev.4 [Pipeline] } 05:58:53 $ docker exec --env ******** --env ******** c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 ssh-agent -k 05:58:54 unset SSH_AUTH_SOCK; 05:58:54 unset SSH_AGENT_PID; 05:58:54 echo Agent pid 79 killed; 05:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:54 + git semver [Pipeline] } 05:58:54 $ docker stop --time=1 c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 05:58:56 $ docker rm -f --volumes c8e979c902207477f2f1d805d0c15422d399716bee1c4efc7112841c5470e972 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:56 Stashed 1 file(s) [Pipeline] echo 05:58:56 [edgeXSemver]: initialized semver on version 4.0.0-dev.4 [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 05:58:56 provisioning config files... 05:58:56 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8087225297113647409tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:58:57 ---> ****-login.sh 05:58:57 nexus3.edgexfoundry.org:10001 05:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:57 Configure a credential helper to remove this warning. See 05:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:57 05:58:57 Login Succeeded 05:58:57 nexus3.edgexfoundry.org:10002 05:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:57 Configure a credential helper to remove this warning. See 05:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:57 05:58:57 Login Succeeded 05:58:57 nexus3.edgexfoundry.org:10003 05:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:57 Configure a credential helper to remove this warning. See 05:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:57 05:58:57 Login Succeeded 05:58:57 nexus3.edgexfoundry.org:10004 05:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:57 Configure a credential helper to remove this warning. See 05:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:57 05:58:57 Login Succeeded 05:58:57 ****.io 05:58:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:58:57 Configure a credential helper to remove this warning. See 05:58:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:58:57 05:58:57 Login Succeeded 05:58:57 ---> ****-login.sh ends [Pipeline] } 05:58:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:58:58 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:58:58 ========================================================= 05:58:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:58:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:58 + 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 . 05:58:58 Sending build context to Docker daemon 5.096MB 05:58:58 Step 1/22 : ARG BASE=alpine:3.18 05:58:58 Step 2/22 : FROM ${BASE} as builder 05:58:58 latest: Pulling from edgex-devops/edgex-gcc-base 05:58:58 96526aa774ef: Pulling fs layer 05:58:58 da60e534fd72: Pulling fs layer 05:58:58 96526aa774ef: Verifying Checksum 05:58:58 96526aa774ef: Download complete 05:58:58 96526aa774ef: Pull complete 05:58:59 da60e534fd72: Verifying Checksum 05:58:59 da60e534fd72: Download complete 05:59:02 da60e534fd72: Pull complete 05:59:02 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 05:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:59:02 ---> 6605166a5db4 05:59:02 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 05:59:05 ---> Running in 264394e7a691 05:59:05 Connecting to iotech.jfrog.io (54.73.4.50:443) 05:59:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:59:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:59:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:59:05 Removing intermediate container 264394e7a691 05:59:05 ---> cdc2e858a4b2 05:59:05 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:59:05 ---> Running in 08e204886afc 05:59:06 Removing intermediate container 08e204886afc 05:59:06 ---> b176b82b2137 05:59:06 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 05:59:06 ---> Running in 6f31e696d8b0 05:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:10 (1/15) Installing libcbor (0.10.2-r1) 05:59:10 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 05:59:10 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:59:11 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:59:11 (5/15) Installing libcbor-dev (0.10.2-r1) 05:59:11 (6/15) Installing libmenuw (6.4_p20230506-r0) 05:59:11 (7/15) Installing libpanelw (6.4_p20230506-r0) 05:59:11 (8/15) Installing libncurses++ (6.4_p20230506-r0) 05:59:11 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 05:59:11 (10/15) Installing libblkid (2.38.1-r8) 05:59:11 (11/15) Installing libuuid (2.38.1-r8) 05:59:11 (12/15) Installing libfdisk (2.38.1-r8) 05:59:11 (13/15) Installing libmount (2.38.1-r8) 05:59:11 (14/15) Installing libsmartcols (2.38.1-r8) 05:59:11 (15/15) Installing util-linux-dev (2.38.1-r8) 05:59:11 Executing busybox-1.36.1-r4.trigger 05:59:11 OK: 336 MiB in 97 packages 05:59:11 Removing intermediate container 6f31e696d8b0 05:59:11 ---> 2c1acad1e563 05:59:11 Step 6/22 : RUN mkdir /tmp/sdk 05:59:11 ---> Running in 3882f2d662b4 05:59:12 Removing intermediate container 3882f2d662b4 05:59:12 ---> b2c1723eca9a 05:59:12 Step 7/22 : COPY VERSION /tmp/sdk 05:59:12 ---> f0ca65b5f645 05:59:12 Step 8/22 : COPY src /tmp/sdk/src 05:59:13 ---> 6a5cf52b13a5 05:59:13 Step 9/22 : COPY include /tmp/sdk/include 05:59:13 ---> d157b4dcdedf 05:59:13 Step 10/22 : COPY scripts /tmp/sdk/scripts 05:59:13 ---> b6dc4991c4a7 05:59:13 Step 11/22 : COPY LICENSE /tmp/sdk 05:59:13 ---> 23fc83eda6ee 05:59:13 Step 12/22 : COPY Attribution.txt /tmp/sdk 05:59:13 ---> 63193ff3fe2b 05:59:13 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:59:13 ---> Running in a5f13fe4d337 05:59:14 + CPPCHECK=false 05:59:14 + DOCGEN=false 05:59:14 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:59:14 + '[' 0 -gt 0 ] 05:59:14 + readlink -f ./scripts/build.sh 05:59:14 + dirname /tmp/sdk/scripts/build.sh 05:59:14 + dirname /tmp/sdk/scripts 05:59:14 + ROOT=/tmp/sdk 05:59:14 + cd /tmp/sdk 05:59:14 + mkdir -p /tmp/sdk/build/release 05:59:14 + cd /tmp/sdk/build/release 05:59:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:59:14 -- The C compiler identification is GNU 12.2.1 05:59:14 -- Detecting C compiler ABI info 05:59:14 -- Detecting C compiler ABI info - done 05:59:14 -- Check for working C compiler: /usr/bin/cc - skipped 05:59:14 -- Detecting C compile features 05:59:14 -- Detecting C compile features - done 05:59:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:59:14 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:59:14 -- Found LIBYAML: /usr/lib/libyaml.so 05:59:14 -- Found LIBUUID: /usr/lib/libuuid.so 05:59:14 -- Found LIBCBOR: /usr/lib/libcbor.so 05:59:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:59:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:59:14 -- /opt/iotech/iot/1.5/include 05:59:14 -- C SDK 4.0.0-dev.4 for Linux 05:59:14 -- Performing Test CSDK_HAVE_ATOMIC 05:59:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:59:14 -- Found Curses: /usr/lib/libcurses.so 05:59:14 -- Configuring done (0.4s) 05:59:14 -- Generating done (0.0s) 05:59:14 -- Build files have been written to: /tmp/sdk/build/release 05:59:14 + make all package 05:59:14 + tee release.log 05:59:14 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:59:14 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:59:14 from /tmp/sdk/src/c/service.h:12, 05:59:14 from /tmp/sdk/src/c/autoevent.h:12, 05:59:14 from /tmp/sdk/src/c/autoevent.c:9: 05:59:14 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:59:14 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:59:14 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:14 | | 05:59:14 | size_t {aka long unsigned int} 05:59:14 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:59:14 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:59:14 | ^~~~~~~~~~~ 05:59:14 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:59:14 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:14 | ~^ 05:59:14 | | 05:59:14 | int 05:59:14 | %ld 05:59:14 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:59:14 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:59:14 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:59:15 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:59:15 [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:59:15 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 05:59:15 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 05:59:15 294 | while (privateConfig) 05:59:15 | ^~~~~~~~~~~~~ 05:59:15 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 05:59:15 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:59:15 | ^~~~~~~~~~~~~ 05:59:15 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 05:59:15 271 | while (result) 05:59:15 | ^~~~~~ 05:59:15 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 05:59:15 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 05:59:15 | ^~~~~~ 05:59:15 [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:59:15 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:59:15 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:59:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:59:16 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:59:16 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:59:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:59:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:59:16 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:59:16 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:59:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:59:16 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:59:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:59:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:59:18 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:59:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:59:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:59:18 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:59:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:59:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:59:19 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:59:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:59:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:59:19 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:59:19 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:59:19 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:59:19 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:59:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:19 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:59:19 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:59:19 | ^ 05:59:19 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:59:19 from /tmp/sdk/src/c/service.h:12, 05:59:19 from /tmp/sdk/src/c/service.c:9: 05:59:19 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 05:59:19 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:59:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:19 | | 05:59:19 | uint64_t {aka long unsigned int} 05:59:19 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:59:19 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:59:19 | ^~~~~~~~~~~ 05:59:19 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 05:59:19 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:59:19 | ~^ 05:59:19 | | 05:59:19 | int 05:59:19 | %ld 05:59:19 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:59:19 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:59:19 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:19 | | 05:59:19 | size_t {aka long unsigned int} 05:59:19 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:59:19 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:59:19 | ^~~~~~~~~~~ 05:59:19 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 05:59:19 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:19 | ~^ 05:59:19 | | 05:59:19 | int 05:59:19 | %ld 05:59:19 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:59:19 /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:59:19 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:59:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:19 /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here 05:59:19 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 05:59:19 | ^~~~~~~~~~~~~~~~~~~~~ 05:59:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:59:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:59:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:59:20 [ 68%] Linking C shared library libcsdk.so 05:59:20 [ 68%] Built target csdk 05:59:20 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:59:20 [ 72%] Linking C executable template 05:59:20 [ 72%] Built target template 05:59:20 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:59:20 [ 76%] Linking C executable device-counter 05:59:20 [ 76%] Built target device-counter 05:59:20 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:59:20 [ 80%] Linking C executable device-random 05:59:20 [ 80%] Built target device-random 05:59:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:59:20 [ 84%] Linking C executable device-gyro 05:59:20 [ 84%] Built target device-gyro 05:59:20 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:59:21 [ 88%] Linking C executable device-bitfields 05:59:21 [ 88%] Built target device-bitfields 05:59:21 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:59:21 [ 92%] Linking C executable template-discovery 05:59:21 [ 92%] Built target template-discovery 05:59:21 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:59:21 [ 96%] Linking C executable device-file 05:59:21 [ 96%] Built target device-file 05:59:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:59:21 [100%] Linking C executable device-terminal 05:59:21 [100%] Built target device-terminal 05:59:21 Run CPack packaging tool... 05:59:21 CPack: Create package using TGZ 05:59:21 CPack: Install projects 05:59:21 CPack: - Run preinstall target for: Csdk 05:59:21 CPack: - Install project: Csdk [] 05:59:21 CPack: Create package 05:59:21 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.4.tar.gz generated. 05:59:22 + '[' false '=' true ] 05:59:22 + '[' false '=' true ] 05:59:22 + mkdir -p /tmp/sdk/build/debug 05:59:22 + cd /tmp/sdk/build/debug 05:59:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:59:22 -- The C compiler identification is GNU 12.2.1 05:59:22 -- Detecting C compiler ABI info 05:59:22 -- Detecting C compiler ABI info - done 05:59:22 -- Check for working C compiler: /usr/bin/cc - skipped 05:59:22 -- Detecting C compile features 05:59:22 -- Detecting C compile features - done 05:59:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:59:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:59:22 -- Found LIBYAML: /usr/lib/libyaml.so 05:59:22 -- Found LIBUUID: /usr/lib/libuuid.so 05:59:22 -- Found LIBCBOR: /usr/lib/libcbor.so 05:59:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:59:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:59:22 -- /opt/iotech/iot/1.5/include 05:59:22 -- C SDK 4.0.0-dev.4 for Linux 05:59:22 -- Performing Test CSDK_HAVE_ATOMIC 05:59:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:59:22 -- Found Curses: /usr/lib/libcurses.so 05:59:22 -- Configuring done (0.4s) 05:59:22 -- Generating done (0.0s) 05:59:22 -- Build files have been written to: /tmp/sdk/build/debug 05:59:22 + tee debug.log 05:59:22 + make 05:59:22 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:59:22 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:59:22 from /tmp/sdk/src/c/service.h:12, 05:59:22 from /tmp/sdk/src/c/autoevent.h:12, 05:59:22 from /tmp/sdk/src/c/autoevent.c:9: 05:59:22 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 05:59:22 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:59:22 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:22 | | 05:59:22 | size_t {aka long unsigned int} 05:59:22 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:59:22 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:59:22 | ^~~~~~~~~~~ 05:59:22 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 05:59:22 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:22 | ~^ 05:59:22 | | 05:59:22 | int 05:59:22 | %ld 05:59:22 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:59:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:59:22 [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:59:22 [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:59:22 [ 12%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 05:59:22 [ 14%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:59:23 [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:59:23 [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:59:23 [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:59:23 [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:59:23 [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:59:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:59:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:59:23 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:59:23 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:59:23 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:59:23 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:59:23 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:59:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:59:24 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:59:24 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:59:24 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:59:24 [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:59:24 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:59:24 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:59:24 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:59:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:59:24 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:59:24 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:59:24 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:59:24 /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:59:24 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 05:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:24 /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 05:59:24 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 05:59:24 | ^ 05:59:24 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 05:59:24 from /tmp/sdk/src/c/service.h:12, 05:59:24 from /tmp/sdk/src/c/service.c:9: 05:59:24 /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 05:59:24 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:24 | | 05:59:24 | uint64_t {aka long unsigned int} 05:59:24 /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' 05:59:24 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) 05:59:24 | ^~~~~~~~~~~ 05:59:24 /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here 05:59:24 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); 05:59:24 | ~^ 05:59:24 | | 05:59:24 | int 05:59:24 | %ld 05:59:24 /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': 05:59:24 /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 05:59:24 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:59:24 | | 05:59:24 | size_t {aka long unsigned int} 05:59:24 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:59:24 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:59:24 | ^~~~~~~~~~~ 05:59:24 /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here 05:59:24 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 05:59:24 | ~^ 05:59:24 | | 05:59:24 | int 05:59:24 | %ld 05:59:24 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:59:25 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:59:25 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:59:25 [ 68%] Linking C shared library libcsdk.so 05:59:25 [ 68%] Built target csdk 05:59:25 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:59:25 [ 72%] Linking C executable template 05:59:25 [ 72%] Built target template 05:59:25 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:59:25 [ 76%] Linking C executable device-counter 05:59:25 [ 76%] Built target device-counter 05:59:25 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:59:25 [ 80%] Linking C executable device-random 05:59:25 [ 80%] Built target device-random 05:59:25 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:59:25 [ 84%] Linking C executable device-gyro 05:59:26 [ 84%] Built target device-gyro 05:59:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:59:26 [ 88%] Linking C executable device-bitfields 05:59:26 [ 88%] Built target device-bitfields 05:59:26 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:59:26 [ 92%] Linking C executable template-discovery 05:59:26 [ 92%] Built target template-discovery 05:59:26 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:59:26 [ 96%] Linking C executable device-file 05:59:26 [ 96%] Built target device-file 05:59:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:59:26 [100%] Linking C executable device-terminal 05:59:26 [100%] Built target device-terminal 05:59:26 make: Entering directory '/tmp/sdk/build/release' 05:59:26 [ 68%] Built target csdk 05:59:26 [ 72%] Built target template 05:59:26 [ 76%] Built target device-counter 05:59:26 [ 80%] Built target device-random 05:59:26 [ 84%] Built target device-gyro 05:59:26 [ 88%] Built target device-bitfields 05:59:26 [ 92%] Built target template-discovery 05:59:26 [ 96%] Built target device-file 05:59:26 [100%] Built target device-terminal 05:59:26 Install the project... 05:59:26 -- Install configuration: "Release" 05:59:26 -- Installing: /usr/local/lib/libcsdk.so 05:59:26 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:59:26 -- Installing: /usr/local/include 05:59:26 -- Installing: /usr/local/include/devsdk 05:59:26 -- Installing: /usr/local/include/devsdk/devsdk.h 05:59:26 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:59:26 -- Installing: /usr/local/include/edgex 05:59:26 -- Installing: /usr/local/include/edgex/edgex.h 05:59:26 -- Installing: /usr/local/include/edgex/devices.h 05:59:26 -- Installing: /usr/local/include/edgex/profiles.h 05:59:26 -- Installing: /usr/local/include/edgex/edgex-base.h 05:59:26 -- Installing: /usr/local/include/edgex/rest-server.h 05:59:26 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:59:26 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:59:26 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:59:26 make: Leaving directory '/tmp/sdk/build/release' 05:59:27 Removing intermediate container a5f13fe4d337 05:59:27 ---> 33289be282f9 05:59:27 Step 14/22 : FROM ${BASE} 05:59:27 ---> 6605166a5db4 05:59:27 Step 15/22 : LABEL maintainer="IOTech " 05:59:27 ---> Running in 23cd47636870 05:59:27 Removing intermediate container 23cd47636870 05:59:27 ---> bf9c06fc2be5 05:59:27 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 05:59:27 ---> Running in b02089d80827 05:59:28 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:59:28 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:59:28 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:59:28 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:59:28 Removing intermediate container b02089d80827 05:59:28 ---> 3916f201ca6d 05:59:28 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:59:28 ---> Running in fad2acc38f81 05:59:29 Removing intermediate container fad2acc38f81 05:59:29 ---> 10194bd1a6e6 05:59:29 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 05:59:29 ---> Running in 503094d3c518 05:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:30 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 05:59:30 (2/8) Installing curl (8.9.1-r1) 05:59:30 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 05:59:30 (4/8) Installing dumb-init (1.2.5-r2) 05:59:30 (5/8) Installing libcbor (0.10.2-r1) 05:59:30 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 05:59:31 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:59:31 (8/8) Installing libuuid (2.38.1-r8) 05:59:31 Executing busybox-1.36.1-r4.trigger 05:59:31 OK: 331 MiB in 88 packages 05:59:31 Removing intermediate container 503094d3c518 05:59:31 ---> 0208dac247aa 05:59:31 Step 19/22 : RUN apk --no-cache upgrade 05:59:31 ---> Running in 1bf5feaacae2 05:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:33 Upgrading critical system libraries and apk-tools: 05:59:33 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:59:33 Executing busybox-1.36.1-r4.trigger 05:59:33 Continuing the upgrade transaction with new apk-tools: 05:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:33 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 05:59:33 Executing busybox-1.36.1-r7.post-upgrade 05:59:33 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 05:59:33 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:59:33 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 05:59:33 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 05:59:33 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 05:59:33 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 05:59:33 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 05:59:33 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 05:59:33 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 05:59:33 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 05:59:33 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 05:59:33 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 05:59:33 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 05:59:34 Executing busybox-1.36.1-r7.trigger 05:59:34 Executing ca-certificates-20240226-r0.trigger 05:59:34 OK: 331 MiB in 88 packages 05:59:35 Removing intermediate container 1bf5feaacae2 05:59:35 ---> 63ae0a22e6e9 05:59:35 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:59:35 ---> 31f6f1be279f 05:59:35 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 05:59:35 ---> 5dfffb9b9f52 05:59:35 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:59:35 ---> 5d5bf5134ebd 05:59:35 Successfully built 5d5bf5134ebd 05:59:35 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 05:59:35 + docker inspect -f . ci-base-image-x86_64 05:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:35 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 05:59:35 $ 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 05:59:36 $ docker top e74fc69f69162d21e8f1daf2ddbf7c79f01a2372070862917440c9040a2ab4e7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:36 + make test 05:59:36 echo "make test" 05:59:36 make test [Pipeline] } 05:59:36 $ docker stop --time=1 e74fc69f69162d21e8f1daf2ddbf7c79f01a2372070862917440c9040a2ab4e7 05:59:37 $ docker rm -f --volumes e74fc69f69162d21e8f1daf2ddbf7c79f01a2372070862917440c9040a2ab4e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:38 + ls -al . 05:59:38 total 212 05:59:38 drwxrwxr-x 9 jenkins jenkins 4096 Dec 5 05:58 . 05:59:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:58 .. 05:59:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 05:58 .git 05:59:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 05:58 .github 05:59:38 -rw-rw-r-- 1 jenkins jenkins 176 Dec 5 05:58 .gitignore 05:59:38 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 05:58 .semver 05:59:38 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 5 05:58 Attribution.txt 05:59:38 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 5 05:58 CHANGELOG.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 5 05:58 Doxyfile 05:59:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 05:58 GOVERNANCE.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 784 Dec 5 05:58 Jenkinsfile 05:59:38 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 5 05:58 LICENSE 05:59:38 -rw-rw-r-- 1 jenkins jenkins 444 Dec 5 05:58 Makefile 05:59:38 -rw-rw-r-- 1 jenkins jenkins 618 Dec 5 05:58 OWNERS.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 5 05:58 README.IOT.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 5 05:58 README.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 5 05:58 README.v3.md 05:59:38 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 05:58 VERSION 05:59:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:58 docs 05:59:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:58 include 05:59:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 05:58 scripts 05:59:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 05:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:39 + 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=1dcfe63ad036bf8d78932132d5dcad6aabcde801 --label arch=amd64 --label version=4.0.0-dev.4 . 05:59:39 Sending build context to Docker daemon 5.096MB 05:59:39 Step 1/18 : ARG BASE=alpine:3.18 05:59:39 Step 2/18 : FROM ${BASE} 05:59:39 ---> 5d5bf5134ebd 05:59:39 Step 3/18 : LABEL maintainer="IOTech " 05:59:39 ---> Running in 88678b1dfcfa 05:59:39 Removing intermediate container 88678b1dfcfa 05:59:39 ---> c9eda1c38d16 05:59:39 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 05:59:39 ---> Running in 250df97e75a2 05:59:39 Connecting to iotech.jfrog.io (54.73.4.50:443) 05:59:39 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:59:39 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:59:39 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:59:40 Removing intermediate container 250df97e75a2 05:59:40 ---> 5498e2b6190b 05:59:40 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:59:40 ---> Running in 890b713b7e79 05:59:41 Removing intermediate container 890b713b7e79 05:59:41 ---> c2fb393320bf 05:59:41 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 05:59:41 ---> Running in 88f29ec67d33 05:59:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:42 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:59:42 (2/11) Installing libcbor-dev (0.10.2-r1) 05:59:42 (3/11) Installing libmenuw (6.4_p20230506-r0) 05:59:42 (4/11) Installing libpanelw (6.4_p20230506-r0) 05:59:42 (5/11) Installing libncurses++ (6.4_p20230506-r0) 05:59:42 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 05:59:42 (7/11) Installing libblkid (2.38.1-r8) 05:59:42 (8/11) Installing libfdisk (2.38.1-r8) 05:59:42 (9/11) Installing libmount (2.38.1-r8) 05:59:42 (10/11) Installing libsmartcols (2.38.1-r8) 05:59:42 (11/11) Installing util-linux-dev (2.38.1-r8) 05:59:42 Executing busybox-1.36.1-r7.trigger 05:59:42 OK: 336 MiB in 99 packages 05:59:42 Removing intermediate container 88f29ec67d33 05:59:42 ---> b5a3948312be 05:59:42 Step 7/18 : RUN apk --no-cache upgrade 05:59:42 ---> Running in 0b3b67dc98d8 05:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:59:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:59:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:59:44 OK: 336 MiB in 99 packages 05:59:44 Removing intermediate container 0b3b67dc98d8 05:59:44 ---> 6cb9f897ded8 05:59:44 Step 8/18 : COPY VERSION /edgex-c-sdk/ 05:59:44 ---> 4b30eca53c13 05:59:44 Step 9/18 : COPY src /edgex-c-sdk/src/ 05:59:44 ---> 70c7168fbcc9 05:59:44 Step 10/18 : COPY include /edgex-c-sdk/include/ 05:59:44 ---> 6faf7eab1baa 05:59:44 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 05:59:45 ---> 5d38a9128655 05:59:45 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 05:59:45 ---> d884f8fb65fb 05:59:45 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 05:59:45 ---> b9997711a9ec 05:59:45 Step 14/18 : WORKDIR /edgex-c-sdk 05:59:45 ---> Running in 4b5f331856c5 05:59:45 Removing intermediate container 4b5f331856c5 05:59:45 ---> 2cf58787aeb7 05:59:45 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:59:45 ---> Running in 74822a9d5cad 05:59:45 Removing intermediate container 74822a9d5cad 05:59:45 ---> 5fa971a90642 05:59:45 Step 16/18 : LABEL arch=amd64 05:59:45 ---> Running in 929ae521bd88 05:59:45 Removing intermediate container 929ae521bd88 05:59:45 ---> 616ad89fef1f 05:59:45 Step 17/18 : LABEL git_sha=1dcfe63ad036bf8d78932132d5dcad6aabcde801 05:59:45 ---> Running in 5a181bbf6800 05:59:45 Removing intermediate container 5a181bbf6800 05:59:45 ---> 7e6c69ca5228 05:59:45 Step 18/18 : LABEL version=4.0.0-dev.4 05:59:45 ---> Running in ce89c8ab5239 05:59:45 Removing intermediate container ce89c8ab5239 05:59:45 ---> 6be0e858d9d8 05:59:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:59:45 Successfully built 6be0e858d9d8 05:59:45 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 05:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:46 05:59:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:46 latest: Pulling from edgex-lftools-log-publisher 05:59:46 5eb5b503b376: Pulling fs layer 05:59:46 5c69ac0246d0: Pulling fs layer 05:59:46 ec43610c2a17: Pulling fs layer 05:59:46 3a2ae6a8a46f: Pulling fs layer 05:59:46 33b1e0a273af: Pulling fs layer 05:59:46 5d3b04190fa2: Pulling fs layer 05:59:46 2f39f015ded8: Pulling fs layer 05:59:46 33b1e0a273af: Waiting 05:59:46 5d3b04190fa2: Waiting 05:59:46 2f39f015ded8: Waiting 05:59:46 3a2ae6a8a46f: Waiting 05:59:46 5c69ac0246d0: Verifying Checksum 05:59:46 5c69ac0246d0: Download complete 05:59:46 3a2ae6a8a46f: Verifying Checksum 05:59:46 3a2ae6a8a46f: Download complete 05:59:46 33b1e0a273af: Verifying Checksum 05:59:46 33b1e0a273af: Download complete 05:59:46 ec43610c2a17: Verifying Checksum 05:59:46 ec43610c2a17: Download complete 05:59:46 5d3b04190fa2: Verifying Checksum 05:59:46 5d3b04190fa2: Download complete 05:59:46 5eb5b503b376: Verifying Checksum 05:59:46 5eb5b503b376: Download complete 05:59:47 2f39f015ded8: Download complete 05:59:48 5eb5b503b376: Pull complete 05:59:48 5c69ac0246d0: Pull complete 05:59:49 ec43610c2a17: Pull complete 05:59:49 3a2ae6a8a46f: Pull complete 05:59:49 33b1e0a273af: Pull complete 05:59:49 5d3b04190fa2: Pull complete 05:59:54 2f39f015ded8: Pull complete 05:59:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:59:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:59:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:54 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 05:59:54 $ 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 05:59:59 $ docker top 1b0bd4d195d39097f96e7159058d80c3662e23a35a39f51f68f858b83007b232 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:00 ---> job-cost.sh 06:00:00 lf-activate-venv: SKIPPING 06:00:00 INFO: No Stack... 06:00:00 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:01 INFO: Archiving Costs [Pipeline] sh 06:00:01 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 06:00:01 + cut -d, -f6 [Pipeline] lock 06:00:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-81-stack-cost] 06:00:01 Resource [jenkins-edgexfoundry-device-sdk-c-main-81-stack-cost] did not exist. Created. 06:00:01 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:01 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:01 Stashed 1 file(s) [Pipeline] } 06:00:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:01 $ docker stop --time=1 1b0bd4d195d39097f96e7159058d80c3662e23a35a39f51f68f858b83007b232 06:00:03 $ docker rm -f --volumes 1b0bd4d195d39097f96e7159058d80c3662e23a35a39f51f68f858b83007b232 [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 06:00:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:03 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 06:00: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 06:00:04 $ docker top 0224e8b6d86e2d203a223dc4038854dd1eab574e0d378f946e59abac5b86255c -eo pid,comm 06:00: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). 06:00:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:04 [ssh-agent] Looking for ssh-agent implementation... 06:00:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:04 $ docker exec 0224e8b6d86e2d203a223dc4038854dd1eab574e0d378f946e59abac5b86255c ssh-agent 06:00:04 SSH_AUTH_SOCK=/tmp/ssh-LqqrzpWIL3an/agent.32 06:00:04 SSH_AGENT_PID=38 06:00:04 Running ssh-add (command line suppressed) 06:00:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4023792591332694318.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4023792591332694318.key) 06:00:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:05 + git semver tag 06:00:05 2024-12-05 06:00:05,252 [run_tag] DEBUG tag force:False 06:00:05 2024-12-05 06:00:05,252 [check_head_tag] DEBUG check head tag 06:00:05 2024-12-05 06:00:05,253 [execute] INFO git cat-file --batch-check 06:00:05 2024-12-05 06:00:05,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:00:05 2024-12-05 06:00:05,258 [execute] INFO git cat-file --batch 06:00:05 2024-12-05 06:00:05,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:00:05 2024-12-05 06:00:05,278 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:05 2024-12-05 06:00:05,278 [execute] INFO git tag -a v4.0.0-dev.4 -m v4.0.0-dev.4 06:00:05 2024-12-05 06:00:05,278 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.4', '-m', 'v4.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 06:00:05 2024-12-05 06:00:05,283 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:05 4.0.0-dev.4 [Pipeline] } 06:00:05 $ docker exec --env ******** --env ******** 0224e8b6d86e2d203a223dc4038854dd1eab574e0d378f946e59abac5b86255c ssh-agent -k 06:00:05 unset SSH_AUTH_SOCK; 06:00:05 unset SSH_AGENT_PID; 06:00:05 echo Agent pid 38 killed; 06:00:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:05 + git semver [Pipeline] } 06:00:06 $ docker stop --time=1 0224e8b6d86e2d203a223dc4038854dd1eab574e0d378f946e59abac5b86255c 06:00:07 $ docker rm -f --volumes 0224e8b6d86e2d203a223dc4038854dd1eab574e0d378f946e59abac5b86255c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:00:07 06:00:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:00:08 0.23.1-centos7: Pulling from edgex-lftools 06:00:08 ab5ef0e58194: Pulling fs layer 06:00:08 9712f1f96733: Pulling fs layer 06:00:08 63f879dbbcfc: Pulling fs layer 06:00:08 0d9ebad4ef96: Pulling fs layer 06:00:08 e9a5061849ea: Pulling fs layer 06:00:08 d747dcd14b5f: Pulling fs layer 06:00:08 2de7ff778b66: Pulling fs layer 06:00:08 2de7ff778b66: Waiting 06:00:08 0d9ebad4ef96: Waiting 06:00:08 9712f1f96733: Download complete 06:00:08 63f879dbbcfc: Verifying Checksum 06:00:08 63f879dbbcfc: Download complete 06:00:08 e9a5061849ea: Verifying Checksum 06:00:08 e9a5061849ea: Download complete 06:00:08 d747dcd14b5f: Download complete 06:00:08 ab5ef0e58194: Verifying Checksum 06:00:08 ab5ef0e58194: Download complete 06:00:08 0d9ebad4ef96: Verifying Checksum 06:00:08 0d9ebad4ef96: Download complete 06:00:08 2de7ff778b66: Verifying Checksum 06:00:08 2de7ff778b66: Download complete 06:00:11 ab5ef0e58194: Pull complete 06:00:11 9712f1f96733: Pull complete 06:00:12 63f879dbbcfc: Pull complete 06:00:16 0d9ebad4ef96: Pull complete 06:00:16 e9a5061849ea: Pull complete 06:00:16 d747dcd14b5f: Pull complete 06:00:17 2de7ff778b66: Pull complete 06:00:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:00:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:17 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 06:00:17 $ 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 06:00:23 $ docker top 99ce414773709e78cd1841cbd1c88865ee3041747fd05bf94779f33eb18ee9a2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:00:23 provisioning config files... 06:00:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16560942750188048958tmp 06:00:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17642149172483069489tmp 06:00:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14038204645172323867tmp [Pipeline] { [Pipeline] echo 06:00:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:00:24 ---> sigul-configuration.sh 06:00:24 gpg: directory `/root/.gnupg' created 06:00:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:00:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:00:24 gpg: keyring `/root/.gnupg/secring.gpg' created 06:00:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:00:24 gpg: CAST5 encrypted data 06:00:24 gpg: encrypted with 1 passphrase 06:00:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:00:24 + mkdir /home/jenkins 06:00:24 + mkdir /home/jenkins/sigul [Pipeline] sh 06:00:25 + 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 06:00:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:00:25 ---> sigul-install.sh 06:00:25 Sigul already installed; skipping installation. [Pipeline] sh 06:00:25 + git tag --list 06:00:25 0.7.0 06:00:25 0.7.1 06:00:25 1.0.0 06:00:25 v1.0.1 06:00:25 v1.0.2 06:00:25 v1.0.3 06:00:25 v1.1.0 06:00:25 v1.1.1 06:00:25 v1.2.0 06:00:25 v1.2.1 06:00:25 v1.2.2 06:00:25 v1.3.0 06:00:25 v1.3.1 06:00:25 v2.0.0 06:00:25 v2.1.0 06:00:25 v2.2.0 06:00:25 v2.3.0 06:00:25 v3.0 06:00:25 v3.0.0 06:00:25 v3.0.1 06:00:25 v3.0.2 06:00:25 v3.0.3-dev.1 06:00:25 v3.0.3-dev.10 06:00:25 v3.0.3-dev.11 06:00:25 v3.0.3-dev.12 06:00:25 v3.0.3-dev.13 06:00:25 v3.0.3-dev.14 06:00:25 v3.0.3-dev.15 06:00:25 v3.0.3-dev.16 06:00:25 v3.0.3-dev.17 06:00:25 v3.0.3-dev.2 06:00:25 v3.0.3-dev.3 06:00:25 v3.0.3-dev.4 06:00:25 v3.0.3-dev.5 06:00:25 v3.0.3-dev.6 06:00:25 v3.0.3-dev.7 06:00:25 v3.0.3-dev.8 06:00:25 v3.0.3-dev.9 06:00:25 v3.1 06:00:25 v3.1.0 06:00:25 v3.1.0-dev.1 06:00:25 v3.1.0-dev.2 06:00:25 v3.1.0-dev.3 06:00:25 v3.1.0-dev.4 06:00:25 v3.1.0-dev.5 06:00:25 v3.1.0-dev.6 06:00:25 v3.1.0-dev.7 06:00:25 v3.1.0-dev.8 06:00:25 v3.1.0-dev.9 06:00:25 v3.1.1 06:00:25 v3.1.1-dev.1 06:00:25 v4.0.0-dev.1 06:00:25 v4.0.0-dev.2 06:00:25 v4.0.0-dev.3 06:00:25 v4.0.0-dev.4 [Pipeline] sh 06:00:25 + lftools sign git-tag v4.0.0-dev.4 06:00:26 Signing Git tag with Sigul... 06:00:26 Signing v4.0.0-dev.4 [Pipeline] echo 06:00:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:00:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:00:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:00:27 $ docker stop --time=1 99ce414773709e78cd1841cbd1c88865ee3041747fd05bf94779f33eb18ee9a2 06:00:28 $ docker rm -f --volumes 99ce414773709e78cd1841cbd1c88865ee3041747fd05bf94779f33eb18ee9a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:00:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:29 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 06:00:29 $ 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 06:00:29 $ docker top e8c47940103e7a35d953e272c5d94591ac35add728ecfabe53bcb488caaa5aae -eo pid,comm 06:00:29 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). 06:00:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:29 [ssh-agent] Looking for ssh-agent implementation... 06:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:29 $ docker exec e8c47940103e7a35d953e272c5d94591ac35add728ecfabe53bcb488caaa5aae ssh-agent 06:00:30 SSH_AUTH_SOCK=/tmp/ssh-x9U9rYjiYzcK/agent.32 06:00:30 SSH_AGENT_PID=38 06:00:30 Running ssh-add (command line suppressed) 06:00:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1188135525472138730.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1188135525472138730.key) 06:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:30 + git semver bump pre 06:00:30 2024-12-05 06:00:30,702 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:30 2024-12-05 06:00:30,703 [bump_version] DEBUG bumping version:4.0.0-dev.4 on axis:pre with prefix:dev 06:00:30 2024-12-05 06:00:30,703 [bump_version] DEBUG bumped version:4.0.0-dev.5 06:00:30 2024-12-05 06:00:30,703 [write_version] DEBUG write version:4.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 06:00:30 2024-12-05 06:00:30,703 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:30 2024-12-05 06:00:30,703 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:30 2024-12-05 06:00:30,706 [execute] INFO git cat-file --batch-check 06:00:30 2024-12-05 06:00:30,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:00:30 2024-12-05 06:00:30,712 [execute] INFO git cat-file --batch 06:00:30 2024-12-05 06:00:30,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:00:30 2024-12-05 06:00:30,718 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:30 4.0.0-dev.5 [Pipeline] } 06:00:30 $ docker exec --env ******** --env ******** e8c47940103e7a35d953e272c5d94591ac35add728ecfabe53bcb488caaa5aae ssh-agent -k 06:00:30 unset SSH_AUTH_SOCK; 06:00:30 unset SSH_AGENT_PID; 06:00:30 echo Agent pid 38 killed; 06:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:31 + git semver [Pipeline] } 06:00:31 $ docker stop --time=1 e8c47940103e7a35d953e272c5d94591ac35add728ecfabe53bcb488caaa5aae 06:00:32 $ docker rm -f --volumes e8c47940103e7a35d953e272c5d94591ac35add728ecfabe53bcb488caaa5aae [Pipeline] // withDockerContainer [Pipeline] sh 06:00:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:00:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:00:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:33 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 06:00:33 $ 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 06:00:33 $ docker top 47e48e2eb7a78b60b216b98e49705afc8bd3cb0837dce0b3116337fb97c9d3a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:34 [ssh-agent] Looking for ssh-agent implementation... 06:00:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:34 $ docker exec 47e48e2eb7a78b60b216b98e49705afc8bd3cb0837dce0b3116337fb97c9d3a3 ssh-agent 06:00:34 SSH_AUTH_SOCK=/tmp/ssh-wdf6o0Y21CwR/agent.32 06:00:34 SSH_AGENT_PID=38 06:00:34 Running ssh-add (command line suppressed) 06:00:34 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6553226288201486264.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6553226288201486264.key) 06:00:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:34 + git semver push 06:00:34 2024-12-05 06:00:34,880 [run_push] DEBUG push 06:00:34 2024-12-05 06:00:34,881 [execute] INFO git cat-file --batch-check 06:00:34 2024-12-05 06:00:34,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:00:34 2024-12-05 06:00:34,885 [execute] INFO git rev-list 46dc00a39342f1e41a2659e10db2a11c72b07636 -- 06:00:34 2024-12-05 06:00:34,886 [execute] DEBUG Popen(['git', 'rev-list', '46dc00a39342f1e41a2659e10db2a11c72b07636', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:00:34 2024-12-05 06:00:34,895 [execute] INFO git fetch -v origin 06:00:34 2024-12-05 06:00:34,896 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 06:00:35 2024-12-05 06:00:35,358 [run_push] DEBUG no remote changes detected 06:00:35 2024-12-05 06:00:35,358 [execute] INFO git push origin semver 06:00:35 2024-12-05 06:00:35,359 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:00:36 2024-12-05 06:00:35,971 [run_push] DEBUG push all version tags 06:00:36 2024-12-05 06:00:35,971 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:00:36 2024-12-05 06:00:35,972 [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) 06:00:36 2024-12-05 06:00:36,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:00:36 4.0.0-dev.5 [Pipeline] } 06:00:36 $ docker exec --env ******** --env ******** 47e48e2eb7a78b60b216b98e49705afc8bd3cb0837dce0b3116337fb97c9d3a3 ssh-agent -k 06:00:36 unset SSH_AUTH_SOCK; 06:00:36 unset SSH_AGENT_PID; 06:00:36 echo Agent pid 38 killed; 06:00:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:37 + git semver [Pipeline] } 06:00:37 $ docker stop --time=1 47e48e2eb7a78b60b216b98e49705afc8bd3cb0837dce0b3116337fb97c9d3a3 06:00:38 $ docker rm -f --volumes 47e48e2eb7a78b60b216b98e49705afc8bd3cb0837dce0b3116337fb97c9d3a3 [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 06:00:39 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 06:00:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:00:39 total 16 06:00:39 drwxr-xr-x 3 root root 4096 Dec 5 06:00 . 06:00:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 06:00 .. 06:00:39 drwxr-xr-x 2 root root 4096 Dec 5 06:00 cost 06:00:39 -rw-r--r-- 1 root root 83 Dec 5 06:00 cost.csv 06:00:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:00:39 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:00:39 total 16 06:00:39 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 06:00 . 06:00:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 06:00 .. 06:00:39 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 06:00 cost 06:00:39 -rw-r--r-- 1 jenkins jenkins 83 Dec 5 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:00:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:40 ---> package-listing.sh 06:00:40 ++ facter osfamily 06:00:40 ++ tr '[:upper:]' '[:lower:]' 06:00:40 + OS_FAMILY=debian 06:00:40 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 06:00:40 + START_PACKAGES=/tmp/packages_start.txt 06:00:40 + END_PACKAGES=/tmp/packages_end.txt 06:00:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:40 + PACKAGES=/tmp/packages_start.txt 06:00:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:00:40 + PACKAGES=/tmp/packages_end.txt 06:00:40 + case "${OS_FAMILY}" in 06:00:40 + dpkg -l 06:00:40 + grep '^ii' 06:00:40 + '[' -f /tmp/packages_start.txt ']' 06:00:40 + '[' -f /tmp/packages_end.txt ']' 06:00:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:00:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 06:00:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 06:00:40 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 06:00:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:41 prd-ubuntu20.04-docker-8c-8g-34536 does not seem to be running inside a container 06:00:41 $ 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 06:00:41 $ docker top cdf0f5b85fd392982780be6f3811af254029bb9896b8617940d4a0b02eb862ec -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:42 + touch /tmp/pre-build-complete [Pipeline] sh 06:00:42 + mkdir -p /var/log/sysstat [Pipeline] sh 06:00:42 + ls /var/log/sa-host 06:00:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:42 provisioning config files... 06:00:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config641231144922365182tmp [Pipeline] { [Pipeline] echo 06:00:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:43 ---> create-netrc.sh [Pipeline] } 06:00:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:00:43 ---> python-tools-install.sh [Pipeline] echo 06:00:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:00:43 ---> sudo-logs.sh 06:00:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:00:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:00:44 ---> job-cost.sh 06:00:44 lf-activate-venv: SKIPPING 06:00:44 DEBUG: total: 0.2199999988079071 06:00:44 INFO: Retrieving Stack Cost... 06:00:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:44 INFO: Archiving Costs [Pipeline] echo 06:00:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:00:44 ---> logs-deploy.sh 06:00:44 lf-activate-venv: SKIPPING 06:00:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/81 06:00:44 INFO: archiving workspace using pattern(s): 06:00:46 Archives upload complete. 06:00:46 INFO: archiving logs to Nexus 06:00:46 ---> uname -a: 06:00:46 Linux prd-ubuntu20-04-docker-8c-8g-34536 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:00:46 06:00:46 06:00:46 ---> lscpu: 06:00:46 Architecture: x86_64 06:00:46 CPU op-mode(s): 32-bit, 64-bit 06:00:46 Byte Order: Little Endian 06:00:46 Address sizes: 40 bits physical, 48 bits virtual 06:00:46 CPU(s): 8 06:00:46 On-line CPU(s) list: 0-7 06:00:46 Thread(s) per core: 1 06:00:46 Core(s) per socket: 1 06:00:46 Socket(s): 8 06:00:46 NUMA node(s): 1 06:00:46 Vendor ID: AuthenticAMD 06:00:46 CPU family: 23 06:00:46 Model: 49 06:00:46 Model name: AMD EPYC-Rome Processor 06:00:46 Stepping: 0 06:00:46 CPU MHz: 2799.998 06:00:46 BogoMIPS: 5599.99 06:00:46 Virtualization: AMD-V 06:00:46 Hypervisor vendor: KVM 06:00:46 Virtualization type: full 06:00:46 L1d cache: 256 KiB 06:00:46 L1i cache: 256 KiB 06:00:46 L2 cache: 4 MiB 06:00:46 L3 cache: 128 MiB 06:00:46 NUMA node0 CPU(s): 0-7 06:00:46 Vulnerability Itlb multihit: Not affected 06:00:46 Vulnerability L1tf: Not affected 06:00:46 Vulnerability Mds: Not affected 06:00:46 Vulnerability Meltdown: Not affected 06:00:46 Vulnerability Mmio stale data: Not affected 06:00:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:00:46 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:00:46 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:00:46 Vulnerability Srbds: Not affected 06:00:46 Vulnerability Tsx async abort: Not affected 06:00:46 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:00:46 06:00:46 06:00:46 ---> nproc: 06:00:46 8 06:00:46 06:00:46 06:00:46 ---> df -h: 06:00:46 Filesystem Size Used Avail Use% Mounted on 06:00:46 overlay 155G 11G 145G 7% / 06:00:46 tmpfs 64M 0 64M 0% /dev 06:00:46 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:00:46 shm 64M 0 64M 0% /dev/shm 06:00:46 /dev/vda1 155G 11G 145G 7% /facter-os 06:00:46 06:00:46