Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eb5cdce89b0962bcd2b083fabb45f85a531a29c5 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-ssh13756906784440283648.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-ssh17771148439895344486.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-ssh6560860579315898201.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-ssh7664610732351721756.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-ssh1162987513762266015.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39531 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 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 (main) Commit message: "Merge pull request #548 from FelixTing/issue-547" > 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 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 # timeout=10 > git rev-list --no-walk eb8e2ff18f0ad6c69de4cfb237d4ad036326ba8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:58:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:58:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:58:27 ========================================================= 10:58:27 EdgeX Global Pipelines Version Info 10:58:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:58:29 ------------------- 10:58:29 stable info: 10:58:29 ------------------- 10:58:29 Commited By: Cherry Wang cherry@iotechsys.com 10:58:29 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:58:29 Message: update stable to v1.0.269 10:58:29 ------------------- 10:58:29 experimental info: 10:58:29 ------------------- 10:58:29 Commited By: **** collab-it+edgex@linuxfoundation.org 10:58:29 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:58:29 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb5cdce [Pipeline] echo 10:58:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:58:29 provisioning config files... 10:58:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5197250378867293897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:30 ---> ****-login.sh 10:58:30 nexus3.edgexfoundry.org:10001 10:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:30 Configure a credential helper to remove this warning. See 10:58:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:30 10:58:30 Login Succeeded 10:58:30 nexus3.edgexfoundry.org:10002 10:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:30 Configure a credential helper to remove this warning. See 10:58:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:30 10:58:30 Login Succeeded 10:58:30 nexus3.edgexfoundry.org:10003 10:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:30 Configure a credential helper to remove this warning. See 10:58:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:30 10:58:30 Login Succeeded 10:58:30 nexus3.edgexfoundry.org:10004 10:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:30 Configure a credential helper to remove this warning. See 10:58:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:30 10:58:30 Login Succeeded 10:58:30 ****.io 10:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:31 Configure a credential helper to remove this warning. See 10:58:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:31 10:58:31 Login Succeeded 10:58:31 ---> ****-login.sh ends [Pipeline] } 10:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:58:31 + git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo 10:58:31 -----------> git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 10:58:31 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [false] [Pipeline] sh 10:58:31 + git log --format=format:%s -1 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo 10:58:31 ========================================================= 10:58:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:58:31 ========================================================= 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 10:58:32 + git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo 10:58:32 -----------> git rev-list -1 --merges eb5cdce89b0962bcd2b083fabb45f85a531a29c5~1..eb5cdce89b0962bcd2b083fabb45f85a531a29c5 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 10:58:32 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [false] [Pipeline] sh 10:58:32 + git log --format=format:%s -1 eb5cdce89b0962bcd2b083fabb45f85a531a29c5 [Pipeline] echo 10:58:32 ========================================================= 10:58:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:58:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:58:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:58:33 + grep -v github /etc/ssh/ssh_known_hosts 10:58:33 + [ -e /tmp/ssh_known_hosts ] 10:58:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:58:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:58:33 + sudo tee -a /etc/ssh/ssh_known_hosts 10:58:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:58:33 10:58:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:58:34 0.1.4: Pulling from edgex-devops/py-git-semver 10:58:34 b85a868b505f: Pulling fs layer 10:58:34 e2be974225ed: Pulling fs layer 10:58:34 339a4e72a1f5: Pulling fs layer 10:58:34 988bab9f4d93: Pulling fs layer 10:58:34 1469e6f7b9e6: Pulling fs layer 10:58:34 eaf3925da568: Pulling fs layer 10:58:34 bab4dde63d76: Pulling fs layer 10:58:34 bde34c3a00c8: Pulling fs layer 10:58:34 b352a97aabf1: Pulling fs layer 10:58:34 4872d77fe225: Pulling fs layer 10:58:34 5851b861e8e6: Pulling fs layer 10:58:34 bab4dde63d76: Waiting 10:58:34 bde34c3a00c8: Waiting 10:58:34 4872d77fe225: Waiting 10:58:34 b352a97aabf1: Waiting 10:58:34 5851b861e8e6: Waiting 10:58:34 988bab9f4d93: Waiting 10:58:34 1469e6f7b9e6: Waiting 10:58:34 eaf3925da568: Waiting 10:58:34 e2be974225ed: Verifying Checksum 10:58:34 e2be974225ed: Download complete 10:58:34 988bab9f4d93: Download complete 10:58:34 339a4e72a1f5: Verifying Checksum 10:58:34 339a4e72a1f5: Download complete 10:58:34 1469e6f7b9e6: Verifying Checksum 10:58:34 1469e6f7b9e6: Download complete 10:58:34 eaf3925da568: Download complete 10:58:34 bde34c3a00c8: Download complete 10:58:34 b352a97aabf1: Download complete 10:58:34 4872d77fe225: Verifying Checksum 10:58:34 4872d77fe225: Download complete 10:58:34 5851b861e8e6: Download complete 10:58:34 b85a868b505f: Verifying Checksum 10:58:34 b85a868b505f: Download complete 10:58:34 bab4dde63d76: Verifying Checksum 10:58:34 bab4dde63d76: Download complete 10:58:35 b85a868b505f: Pull complete 10:58:35 e2be974225ed: Pull complete 10:58:36 339a4e72a1f5: Pull complete 10:58:36 988bab9f4d93: Pull complete 10:58:36 1469e6f7b9e6: Pull complete 10:58:36 eaf3925da568: Pull complete 10:58:38 bab4dde63d76: Pull complete 10:58:38 bde34c3a00c8: Pull complete 10:58:38 b352a97aabf1: Pull complete 10:58:38 4872d77fe225: Pull complete 10:58:38 5851b861e8e6: Pull complete 10:58:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:58:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:38 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 10:58:39 $ 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 10:58:41 $ docker top 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 -eo pid,comm 10:58:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:58:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:58:41 [ssh-agent] Looking for ssh-agent implementation... 10:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:58:41 $ docker exec 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent 10:58:41 SSH_AUTH_SOCK=/tmp/ssh-ej0JoXjkOdsn/agent.33 10:58:41 SSH_AGENT_PID=39 10:58:41 Running ssh-add (command line suppressed) 10:58:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12406176998066783355.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12406176998066783355.key) 10:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:58:41 + git tag --points-at HEAD [Pipeline] } 10:58:41 $ docker exec --env ******** --env ******** 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent -k 10:58:42 unset SSH_AUTH_SOCK; 10:58:42 unset SSH_AGENT_PID; 10:58:42 echo Agent pid 39 killed; 10:58:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:58:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:58:42 [ssh-agent] Looking for ssh-agent implementation... 10:58:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:58:42 $ docker exec 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent 10:58:42 SSH_AUTH_SOCK=/tmp/ssh-siHnOpvPcjQT/agent.73 10:58:42 SSH_AGENT_PID=79 10:58:42 Running ssh-add (command line suppressed) 10:58:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6915211305323296697.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6915211305323296697.key) 10:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:58:42 + git semver init 10:58:43 2025-02-23 10:58:42,916 [run_init] DEBUG init version:0.0.0 force:False 10:58:43 2025-02-23 10:58:42,917 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:58:43 2025-02-23 10:58:42,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:58:43 2025-02-23 10:58:42,918 [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) 10:58:43 2025-02-23 10:58:43,677 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 10:58:43 2025-02-23 10:58:43,678 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 10:58:43 2025-02-23 10:58:43,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:58:43 2025-02-23 10:58:43,678 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:58:43 4.0.0-dev.18 [Pipeline] } 10:58:43 $ docker exec --env ******** --env ******** 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 ssh-agent -k 10:58:44 unset SSH_AUTH_SOCK; 10:58:44 unset SSH_AGENT_PID; 10:58:44 echo Agent pid 79 killed; 10:58:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:58:44 + git semver [Pipeline] } 10:58:44 $ docker stop --time=1 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 10:58:45 $ docker rm -f --volumes 60f532891cd96979c833c009e62331f1cd1c71184dba88706d6966d05224ed07 [Pipeline] // withDockerContainer [Pipeline] sh 10:58:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:58:47 Stashed 1 file(s) [Pipeline] echo 10:58:47 [edgeXSemver]: initialized semver on version 4.0.0-dev.18 [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 10:58:47 provisioning config files... [Pipeline] // stage [Pipeline] } 10:58:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16658127530056707813tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:58:47 ---> ****-login.sh 10:58:47 nexus3.edgexfoundry.org:10001 10:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:47 Configure a credential helper to remove this warning. See 10:58:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:47 10:58:47 Login Succeeded 10:58:47 nexus3.edgexfoundry.org:10002 10:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:47 Configure a credential helper to remove this warning. See 10:58:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:47 10:58:47 Login Succeeded 10:58:47 nexus3.edgexfoundry.org:10003 10:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:48 Configure a credential helper to remove this warning. See 10:58:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:48 10:58:48 Login Succeeded 10:58:48 nexus3.edgexfoundry.org:10004 10:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:48 Configure a credential helper to remove this warning. See 10:58:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:48 10:58:48 Login Succeeded 10:58:48 ****.io 10:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:58:48 Configure a credential helper to remove this warning. See 10:58:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:58:48 10:58:48 Login Succeeded 10:58:48 ---> ****-login.sh ends [Pipeline] } 10:58:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:58:48 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:58:48 ========================================================= 10:58:48 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:58:48 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:48 + 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 . 10:58:48 Sending build context to Docker daemon 5.496MB 10:58:48 Step 1/22 : ARG BASE=alpine:3.18 10:58:48 Step 2/22 : FROM ${BASE} as builder 10:58:48 latest: Pulling from edgex-devops/edgex-gcc-base 10:58:48 96526aa774ef: Pulling fs layer 10:58:48 da60e534fd72: Pulling fs layer 10:58:48 96526aa774ef: Verifying Checksum 10:58:48 96526aa774ef: Download complete 10:58:49 96526aa774ef: Pull complete 10:58:49 da60e534fd72: Verifying Checksum 10:58:49 da60e534fd72: Download complete 10:58:52 da60e534fd72: Pull complete 10:58:52 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 10:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:58:52 ---> 6605166a5db4 10:58:52 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 10:58:54 ---> Running in bea6df932ea1 10:58:54 Connecting to iotech.jfrog.io (34.247.22.236:443) 10:58:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:58:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:58:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:58:55 Removing intermediate container bea6df932ea1 10:58:55 ---> 146db0eebef1 10:58:55 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:58:55 ---> Running in 87315ceee94f 10:58:56 Removing intermediate container 87315ceee94f 10:58:56 ---> f9af9f615c66 10:58:56 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 10:58:56 ---> Running in 4c9e33d2f642 10:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:58:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:58:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:58:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:58:57 (1/15) Installing libcbor (0.10.2-r1) 10:58:57 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 10:58:58 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 10:58:58 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:58:58 (5/15) Installing libcbor-dev (0.10.2-r1) 10:58:58 (6/15) Installing libmenuw (6.4_p20230506-r0) 10:58:58 (7/15) Installing libpanelw (6.4_p20230506-r0) 10:58:58 (8/15) Installing libncurses++ (6.4_p20230506-r0) 10:58:58 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 10:58:58 (10/15) Installing libblkid (2.38.1-r8) 10:58:58 (11/15) Installing libuuid (2.38.1-r8) 10:58:58 (12/15) Installing libfdisk (2.38.1-r8) 10:58:58 (13/15) Installing libmount (2.38.1-r8) 10:58:58 (14/15) Installing libsmartcols (2.38.1-r8) 10:58:58 (15/15) Installing util-linux-dev (2.38.1-r8) 10:58:58 Executing busybox-1.36.1-r4.trigger 10:58:58 OK: 336 MiB in 97 packages 10:58:59 Removing intermediate container 4c9e33d2f642 10:58:59 ---> e9e4e9a0049e 10:58:59 Step 6/22 : RUN mkdir /tmp/sdk 10:58:59 ---> Running in 7cfd98260409 10:58:59 Removing intermediate container 7cfd98260409 10:58:59 ---> 0f3cc38aaefb 10:58:59 Step 7/22 : COPY VERSION /tmp/sdk 10:59:00 ---> 022c375ee837 10:59:00 Step 8/22 : COPY src /tmp/sdk/src 10:59:00 ---> 261e9c9787f6 10:59:00 Step 9/22 : COPY include /tmp/sdk/include 10:59:00 ---> 96d9565da47f 10:59:00 Step 10/22 : COPY scripts /tmp/sdk/scripts 10:59:00 ---> f5b3ce6f88fe 10:59:00 Step 11/22 : COPY LICENSE /tmp/sdk 10:59:00 ---> 0a33309083d4 10:59:00 Step 12/22 : COPY Attribution.txt /tmp/sdk 10:59:00 ---> 46c3d194c68c 10:59:00 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:59:00 ---> Running in ad954e4189b5 10:59:01 + CPPCHECK=false 10:59:01 + DOCGEN=false 10:59:01 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:59:01 + '[' 0 -gt 0 ] 10:59:01 + readlink -f ./scripts/build.sh 10:59:01 + dirname /tmp/sdk/scripts/build.sh 10:59:01 + dirname /tmp/sdk/scripts 10:59:01 + ROOT=/tmp/sdk 10:59:01 + cd /tmp/sdk 10:59:01 + mkdir -p /tmp/sdk/build/release 10:59:01 + cd /tmp/sdk/build/release 10:59:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:59:01 -- The C compiler identification is GNU 12.2.1 10:59:01 -- Detecting C compiler ABI info 10:59:01 -- Detecting C compiler ABI info - done 10:59:01 -- Check for working C compiler: /usr/bin/cc - skipped 10:59:01 -- Detecting C compile features 10:59:01 -- Detecting C compile features - done 10:59:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:59:01 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:59:01 -- Found LIBYAML: /usr/lib/libyaml.so 10:59:01 -- Found LIBUUID: /usr/lib/libuuid.so 10:59:01 -- Found LIBCBOR: /usr/lib/libcbor.so 10:59:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:59:01 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:59:01 -- /opt/iotech/iot/1.5/include 10:59:01 -- C SDK 0.0.0 for Linux 10:59:01 -- Performing Test CSDK_HAVE_ATOMIC 10:59:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:59:01 -- Found Curses: /usr/lib/libcurses.so 10:59:01 -- Configuring done (0.4s) 10:59:01 -- Generating done (0.0s) 10:59:01 -- Build files have been written to: /tmp/sdk/build/release 10:59:01 + make all package 10:59:01 + tee release.log 10:59:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:59:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:59:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:59:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:59:02 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:59:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:59:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:59:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:59:02 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:59:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:59:03 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:59:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:59:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:59:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:59:03 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:59:03 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:59:03 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:59:03 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:59:03 from /tmp/sdk/src/c/registry.h:14, 10:59:03 from /tmp/sdk/src/c/registry-impl.h:12, 10:59:03 from /tmp/sdk/src/c/keeper.h:12, 10:59:03 from /tmp/sdk/src/c/keeper.c:4: 10:59:03 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:59:03 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:59:03 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:59:03 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:59:03 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:59:03 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:59:03 | ^~~~~~~~~~~ 10:59:03 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 10:59:03 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:59:03 | ~^ 10:59:03 | | 10:59:03 | char * 10:59:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:59:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:59:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:59:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:59:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:59:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:59:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:59:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:59:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:59:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:59:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:59:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:59:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:59:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:59:06 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 10:59:06 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 10:59:06 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 10:59:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:59:06 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 10:59:06 875 | const iot_data_t *deviceservices_config; 10:59:06 | ^~~~~~~~~~~~~~~~~~~~~ 10:59:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:59:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:59:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:59:07 [ 68%] Linking C shared library libcsdk.so 10:59:07 [ 68%] Built target csdk 10:59:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:59:07 [ 72%] Linking C executable template 10:59:07 [ 72%] Built target template 10:59:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:59:07 [ 76%] Linking C executable device-counter 10:59:07 [ 76%] Built target device-counter 10:59:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:59:07 [ 80%] Linking C executable device-random 10:59:07 [ 80%] Built target device-random 10:59:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:59:08 [ 84%] Linking C executable device-gyro 10:59:08 [ 84%] Built target device-gyro 10:59:08 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:59:08 [ 88%] Linking C executable device-bitfields 10:59:08 [ 88%] Built target device-bitfields 10:59:08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:59:08 [ 92%] Linking C executable template-discovery 10:59:08 [ 92%] Built target template-discovery 10:59:08 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:59:08 [ 96%] Linking C executable device-file 10:59:08 [ 96%] Built target device-file 10:59:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:59:08 [100%] Linking C executable device-terminal 10:59:08 [100%] Built target device-terminal 10:59:08 Run CPack packaging tool... 10:59:08 CPack: Create package using TGZ 10:59:08 CPack: Install projects 10:59:08 CPack: - Run preinstall target for: Csdk 10:59:09 CPack: - Install project: Csdk [] 10:59:09 CPack: Create package 10:59:09 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:59:09 + '[' false '=' true ] 10:59:09 + '[' false '=' true ] 10:59:09 + mkdir -p /tmp/sdk/build/debug 10:59:09 + cd /tmp/sdk/build/debug 10:59:09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:59:09 -- The C compiler identification is GNU 12.2.1 10:59:09 -- Detecting C compiler ABI info 10:59:09 -- Detecting C compiler ABI info - done 10:59:09 -- Check for working C compiler: /usr/bin/cc - skipped 10:59:09 -- Detecting C compile features 10:59:09 -- Detecting C compile features - done 10:59:09 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:59:09 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 10:59:09 -- Found LIBYAML: /usr/lib/libyaml.so 10:59:09 -- Found LIBUUID: /usr/lib/libuuid.so 10:59:09 -- Found LIBCBOR: /usr/lib/libcbor.so 10:59:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:59:09 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:59:09 -- /opt/iotech/iot/1.5/include 10:59:09 -- C SDK 0.0.0 for Linux 10:59:09 -- Performing Test CSDK_HAVE_ATOMIC 10:59:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:59:09 -- Found Curses: /usr/lib/libcurses.so 10:59:09 -- Configuring done (0.4s) 10:59:09 -- Generating done (0.0s) 10:59:09 -- Build files have been written to: /tmp/sdk/build/debug 10:59:09 + make 10:59:09 + tee debug.log 10:59:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:59:10 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:59:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:59:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:59:10 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:59:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:59:10 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:59:10 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:59:10 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:59:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:59:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:59:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:59:10 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:59:10 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:59:11 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:59:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:59:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 10:59:11 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 10:59:11 from /tmp/sdk/src/c/registry.h:14, 10:59:11 from /tmp/sdk/src/c/registry-impl.h:12, 10:59:11 from /tmp/sdk/src/c/keeper.h:12, 10:59:11 from /tmp/sdk/src/c/keeper.c:4: 10:59:11 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 10:59:11 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 10:59:11 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:59:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10:59:11 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 10:59:11 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 10:59:11 | ^~~~~~~~~~~ 10:59:11 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 10:59:11 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 10:59:11 | ~^ 10:59:11 | | 10:59:11 | char * 10:59:11 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:59:11 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:59:11 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 10:59:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:59:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:59:11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:59:11 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:59:11 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:59:11 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:59:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:59:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:59:12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:59:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:59:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:59:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:59:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:59:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:59:12 [ 68%] Linking C shared library libcsdk.so 10:59:12 [ 68%] Built target csdk 10:59:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:59:12 [ 72%] Linking C executable template 10:59:12 [ 72%] Built target template 10:59:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:59:13 [ 76%] Linking C executable device-counter 10:59:13 [ 76%] Built target device-counter 10:59:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:59:13 [ 80%] Linking C executable device-random 10:59:13 [ 80%] Built target device-random 10:59:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:59:13 [ 84%] Linking C executable device-gyro 10:59:13 [ 84%] Built target device-gyro 10:59:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:59:13 [ 88%] Linking C executable device-bitfields 10:59:13 [ 88%] Built target device-bitfields 10:59:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:59:13 [ 92%] Linking C executable template-discovery 10:59:13 [ 92%] Built target template-discovery 10:59:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:59:13 [ 96%] Linking C executable device-file 10:59:13 [ 96%] Built target device-file 10:59:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:59:13 [100%] Linking C executable device-terminal 10:59:13 [100%] Built target device-terminal 10:59:14 make: Entering directory '/tmp/sdk/build/release' 10:59:14 [ 68%] Built target csdk 10:59:14 [ 72%] Built target template 10:59:14 [ 76%] Built target device-counter 10:59:14 [ 80%] Built target device-random 10:59:14 [ 84%] Built target device-gyro 10:59:14 [ 88%] Built target device-bitfields 10:59:14 [ 92%] Built target template-discovery 10:59:14 [ 96%] Built target device-file 10:59:14 [100%] Built target device-terminal 10:59:14 Install the project... 10:59:14 -- Install configuration: "Release" 10:59:14 -- Installing: /usr/local/lib/libcsdk.so 10:59:14 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:59:14 -- Installing: /usr/local/include 10:59:14 -- Installing: /usr/local/include/devsdk 10:59:14 -- Installing: /usr/local/include/devsdk/devsdk.h 10:59:14 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:59:14 -- Installing: /usr/local/include/edgex 10:59:14 -- Installing: /usr/local/include/edgex/edgex.h 10:59:14 -- Installing: /usr/local/include/edgex/devices.h 10:59:14 -- Installing: /usr/local/include/edgex/profiles.h 10:59:14 -- Installing: /usr/local/include/edgex/edgex-base.h 10:59:14 -- Installing: /usr/local/include/edgex/rest-server.h 10:59:14 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:59:14 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:59:14 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:59:14 make: Leaving directory '/tmp/sdk/build/release' 10:59:15 Removing intermediate container ad954e4189b5 10:59:15 ---> 03041fcfc089 10:59:15 Step 14/22 : FROM ${BASE} 10:59:15 ---> 6605166a5db4 10:59:15 Step 15/22 : LABEL maintainer="IOTech " 10:59:15 ---> Running in f40f49e50d6c 10:59:15 Removing intermediate container f40f49e50d6c 10:59:15 ---> dccfc5e8aedd 10:59:15 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 10:59:15 ---> Running in d660246373ba 10:59:15 Connecting to iotech.jfrog.io (34.246.139.145:443) 10:59:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:59:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:59:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:59:15 Removing intermediate container d660246373ba 10:59:15 ---> 4378d5a524cc 10:59:15 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:59:16 ---> Running in 560d11ee1d52 10:59:16 Removing intermediate container 560d11ee1d52 10:59:16 ---> a27da3a80c9f 10:59:16 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 10:59:16 ---> Running in 8b970da688e8 10:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:59:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:59:17 (1/11) Installing libpsl (0.21.5-r0) 10:59:17 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 10:59:17 (3/11) Installing curl (8.12.1-r0) 10:59:17 (4/11) Installing libpsl-utils (0.21.5-r0) 10:59:17 (5/11) Installing libpsl-dev (0.21.5-r0) 10:59:17 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 10:59:17 (7/11) Installing dumb-init (1.2.5-r2) 10:59:18 (8/11) Installing libcbor (0.10.2-r1) 10:59:18 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 10:59:18 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 10:59:18 (11/11) Installing libuuid (2.38.1-r8) 10:59:18 Executing busybox-1.36.1-r4.trigger 10:59:18 OK: 331 MiB in 91 packages 10:59:19 Removing intermediate container 8b970da688e8 10:59:19 ---> f44f5ed24a7b 10:59:19 Step 19/22 : RUN apk --no-cache upgrade 10:59:19 ---> Running in 4c49f291ba63 10:59:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:59:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:59:20 Upgrading critical system libraries and apk-tools: 10:59:20 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 10:59:20 Executing busybox-1.36.1-r4.trigger 10:59:20 Continuing the upgrade transaction with new apk-tools: 10:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:59:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:59:21 (1/20) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 10:59:21 (2/20) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 10:59:21 Executing busybox-1.36.1-r7.post-upgrade 10:59:21 (3/20) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 10:59:21 (4/20) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 10:59:21 (5/20) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 10:59:21 (6/20) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 10:59:21 (7/20) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 10:59:21 (8/20) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 10:59:21 (9/20) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 10:59:21 (10/20) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 10:59:21 (11/20) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 10:59:21 (12/20) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 10:59:21 (13/20) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 10:59:21 (14/20) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 10:59:21 (15/20) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 10:59:21 (16/20) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 10:59:21 (17/20) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 10:59:21 (18/20) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 10:59:21 (19/20) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 10:59:21 (20/20) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 10:59:21 Executing busybox-1.36.1-r7.trigger 10:59:21 Executing ca-certificates-20241121-r1.trigger 10:59:21 OK: 331 MiB in 91 packages 10:59:23 Removing intermediate container 4c49f291ba63 10:59:23 ---> 027d31a30527 10:59:23 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:59:23 ---> a623a5002b26 10:59:23 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 10:59:23 ---> 11562b3570a2 10:59:23 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:59:23 ---> 54a291252a3c 10:59:23 Successfully built 54a291252a3c 10:59:23 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 10:59:23 + docker inspect -f . ci-base-image-x86_64 10:59:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:23 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 10:59:23 $ 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 10:59:24 $ docker top e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:59:24 + make test 10:59:24 echo "make test" 10:59:24 make test [Pipeline] } 10:59:24 $ docker stop --time=1 e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 10:59:25 $ docker rm -f --volumes e45866fb8839a0bdb522f70b7e50542c0116e542fdb97ee55ef7113fc39e38c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:59:26 + ls -al . 10:59:26 total 212 10:59:26 drwxrwxr-x 9 jenkins jenkins 4096 Feb 23 10:58 . 10:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 .. 10:59:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 10:58 .git 10:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 23 10:58 .github 10:59:26 -rw-rw-r-- 1 jenkins jenkins 176 Feb 23 10:58 .gitignore 10:59:26 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 10:58 .semver 10:59:26 -rw-rw-r-- 1 jenkins jenkins 2908 Feb 23 10:58 Attribution.txt 10:59:26 -rw-rw-r-- 1 jenkins jenkins 11953 Feb 23 10:58 CHANGELOG.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 23 10:58 Doxyfile 10:59:26 -rw-rw-r-- 1 jenkins jenkins 677 Feb 23 10:58 GOVERNANCE.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 784 Feb 23 10:58 Jenkinsfile 10:59:26 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 23 10:58 LICENSE 10:59:26 -rw-rw-r-- 1 jenkins jenkins 444 Feb 23 10:58 Makefile 10:59:26 -rw-rw-r-- 1 jenkins jenkins 618 Feb 23 10:58 OWNERS.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 1651 Feb 23 10:58 README.IOT.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 4173 Feb 23 10:58 README.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 23 10:58 README.v3.md 10:59:26 -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 10:58 VERSION 10:59:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 10:58 docs 10:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 include 10:59:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 10:58 scripts 10:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 10:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:27 + 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=eb5cdce89b0962bcd2b083fabb45f85a531a29c5 --label arch=amd64 --label version=4.0.0-dev.18 . 10:59:27 Sending build context to Docker daemon 5.496MB 10:59:27 Step 1/18 : ARG BASE=alpine:3.18 10:59:27 Step 2/18 : FROM ${BASE} 10:59:27 ---> 54a291252a3c 10:59:27 Step 3/18 : LABEL maintainer="IOTech " 10:59:27 ---> Running in 4c598fab73ce 10:59:27 Removing intermediate container 4c598fab73ce 10:59:27 ---> f8a01d373461 10:59:27 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 10:59:27 ---> Running in d2a4e8c1fa09 10:59:27 Connecting to iotech.jfrog.io (34.247.22.236:443) 10:59:27 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:59:27 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:59:27 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:59:28 Removing intermediate container d2a4e8c1fa09 10:59:28 ---> 01bddfd52693 10:59:28 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 10:59:28 ---> Running in 77c0c0c08aea 10:59:28 Removing intermediate container 77c0c0c08aea 10:59:28 ---> 53304078b202 10:59:28 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 10:59:28 ---> Running in d513a0b3b92c 10:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:59:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:29 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:59:29 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 10:59:30 (2/11) Installing libcbor-dev (0.10.2-r1) 10:59:30 (3/11) Installing libmenuw (6.4_p20230506-r0) 10:59:30 (4/11) Installing libpanelw (6.4_p20230506-r0) 10:59:30 (5/11) Installing libncurses++ (6.4_p20230506-r0) 10:59:30 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 10:59:30 (7/11) Installing libblkid (2.38.1-r8) 10:59:30 (8/11) Installing libfdisk (2.38.1-r8) 10:59:30 (9/11) Installing libmount (2.38.1-r8) 10:59:30 (10/11) Installing libsmartcols (2.38.1-r8) 10:59:30 (11/11) Installing util-linux-dev (2.38.1-r8) 10:59:30 Executing busybox-1.36.1-r7.trigger 10:59:30 OK: 336 MiB in 102 packages 10:59:30 Removing intermediate container d513a0b3b92c 10:59:30 ---> b33273af9fdd 10:59:30 Step 7/18 : RUN apk --no-cache upgrade 10:59:30 ---> Running in 9bbece849421 10:59:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:59:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 10:59:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:59:31 OK: 336 MiB in 102 packages 10:59:32 Removing intermediate container 9bbece849421 10:59:32 ---> edd176f8cdeb 10:59:32 Step 8/18 : COPY VERSION /edgex-c-sdk/ 10:59:32 ---> cfd1e06fe332 10:59:32 Step 9/18 : COPY src /edgex-c-sdk/src/ 10:59:32 ---> 911de827435b 10:59:32 Step 10/18 : COPY include /edgex-c-sdk/include/ 10:59:32 ---> c427d8140041 10:59:32 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 10:59:32 ---> 256de44c8054 10:59:32 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 10:59:32 ---> 081f1f617cf2 10:59:32 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 10:59:32 ---> a51bbe4db664 10:59:32 Step 14/18 : WORKDIR /edgex-c-sdk 10:59:32 ---> Running in 604d5c9cf681 10:59:33 Removing intermediate container 604d5c9cf681 10:59:33 ---> 371fd455a97c 10:59:33 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:59:33 ---> Running in dfad4f398f9c 10:59:33 Removing intermediate container dfad4f398f9c 10:59:33 ---> 5f3c74e68ff1 10:59:33 Step 16/18 : LABEL arch=amd64 10:59:33 ---> Running in 47b8ce5081fb 10:59:33 Removing intermediate container 47b8ce5081fb 10:59:33 ---> 2d27f9d9aa16 10:59:33 Step 17/18 : LABEL git_sha=eb5cdce89b0962bcd2b083fabb45f85a531a29c5 10:59:33 ---> Running in 857a7676ec32 10:59:33 Removing intermediate container 857a7676ec32 10:59:33 ---> d6df17046e5f 10:59:33 Step 18/18 : LABEL version=4.0.0-dev.18 10:59:33 ---> Running in a78cdac2a87a 10:59:33 Removing intermediate container a78cdac2a87a 10:59:33 ---> 4806a237353b 10:59:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:59:33 Successfully built 4806a237353b 10:59:33 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 10:59:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:33 10:59:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:34 latest: Pulling from edgex-lftools-log-publisher 10:59:34 5eb5b503b376: Pulling fs layer 10:59:34 5c69ac0246d0: Pulling fs layer 10:59:34 ec43610c2a17: Pulling fs layer 10:59:34 3a2ae6a8a46f: Pulling fs layer 10:59:34 33b1e0a273af: Pulling fs layer 10:59:34 5d3b04190fa2: Pulling fs layer 10:59:34 2f39f015ded8: Pulling fs layer 10:59:34 3a2ae6a8a46f: Waiting 10:59:34 5d3b04190fa2: Waiting 10:59:34 2f39f015ded8: Waiting 10:59:34 33b1e0a273af: Waiting 10:59:34 5c69ac0246d0: Download complete 10:59:34 3a2ae6a8a46f: Verifying Checksum 10:59:34 3a2ae6a8a46f: Download complete 10:59:34 33b1e0a273af: Verifying Checksum 10:59:34 33b1e0a273af: Download complete 10:59:34 ec43610c2a17: Verifying Checksum 10:59:34 ec43610c2a17: Download complete 10:59:34 5d3b04190fa2: Verifying Checksum 10:59:34 5d3b04190fa2: Download complete 10:59:34 5eb5b503b376: Verifying Checksum 10:59:34 5eb5b503b376: Download complete 10:59:35 2f39f015ded8: Download complete 10:59:35 5eb5b503b376: Pull complete 10:59:35 5c69ac0246d0: Pull complete 10:59:36 ec43610c2a17: Pull complete 10:59:36 3a2ae6a8a46f: Pull complete 10:59:36 33b1e0a273af: Pull complete 10:59:36 5d3b04190fa2: Pull complete 10:59:40 2f39f015ded8: Pull complete 10:59:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:59:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:40 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 10:59:40 $ 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 10:59:43 $ docker top d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:43 ---> job-cost.sh 10:59:43 lf-activate-venv: SKIPPING 10:59:43 INFO: No Stack... 10:59:43 INFO: Retrieving Pricing Info for: v3-standard-8 10:59:44 INFO: Archiving Costs [Pipeline] sh 10:59:44 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:59:44 + cut -d, -f6 [Pipeline] lock 10:59:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] 10:59:44 Resource [jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] did not exist. Created. 10:59:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:59:44 + echo total: 0.2199999988079071 [Pipeline] stash 10:59:44 Stashed 1 file(s) [Pipeline] } 10:59:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-95-stack-cost] [Pipeline] // lock [Pipeline] } 10:59:44 $ docker stop --time=1 d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d 10:59:46 $ docker rm -f --volumes d9bc620ee05241076038409665eaa43699f2918d63a0a78e9ee1e6c081e1705d [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 10:59:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:59:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:47 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 10:59: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:59:47 $ docker top 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 -eo pid,comm 10:59:47 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). 10:59:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:59:47 [ssh-agent] Looking for ssh-agent implementation... 10:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:59:47 $ docker exec 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 ssh-agent 10:59:47 SSH_AUTH_SOCK=/tmp/ssh-hYENMvH2dkHk/agent.32 10:59:47 SSH_AGENT_PID=38 10:59:47 Running ssh-add (command line suppressed) 10:59:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13767959441886904183.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13767959441886904183.key) 10:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:59:48 + git semver tag 10:59:48 2025-02-23 10:59:48,375 [run_tag] DEBUG tag force:False 10:59:48 2025-02-23 10:59:48,376 [check_head_tag] DEBUG check head tag 10:59:48 2025-02-23 10:59:48,377 [execute] INFO git cat-file --batch-check 10:59:48 2025-02-23 10:59:48,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:59:48 2025-02-23 10:59:48,381 [execute] INFO git cat-file --batch 10:59:48 2025-02-23 10:59:48,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:59:48 2025-02-23 10:59:48,403 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:59:48 2025-02-23 10:59:48,403 [execute] INFO git tag -a v4.0.0-dev.18 -m v4.0.0-dev.18 10:59:48 2025-02-23 10:59:48,403 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.18', '-m', 'v4.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:59:48 2025-02-23 10:59:48,409 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:59:48 4.0.0-dev.18 [Pipeline] } 10:59:48 $ docker exec --env ******** --env ******** 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 ssh-agent -k 10:59:48 unset SSH_AUTH_SOCK; 10:59:48 unset SSH_AGENT_PID; 10:59:48 echo Agent pid 38 killed; 10:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:59:48 + git semver [Pipeline] } 10:59:49 $ docker stop --time=1 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 10:59:50 $ docker rm -f --volumes 2b4687ad2d2c890fbb1836b3055fd150c33793e1af8ebf3b44b9fa5324efacb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:59:50 10:59:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:59:51 0.23.1-centos7: Pulling from edgex-lftools 10:59:51 ab5ef0e58194: Pulling fs layer 10:59:51 9712f1f96733: Pulling fs layer 10:59:51 63f879dbbcfc: Pulling fs layer 10:59:51 0d9ebad4ef96: Pulling fs layer 10:59:51 e9a5061849ea: Pulling fs layer 10:59:51 d747dcd14b5f: Pulling fs layer 10:59:51 2de7ff778b66: Pulling fs layer 10:59:51 2de7ff778b66: Waiting 10:59:51 e9a5061849ea: Waiting 10:59:51 d747dcd14b5f: Waiting 10:59:51 0d9ebad4ef96: Waiting 10:59:51 9712f1f96733: Download complete 10:59:51 63f879dbbcfc: Verifying Checksum 10:59:51 63f879dbbcfc: Download complete 10:59:51 e9a5061849ea: Verifying Checksum 10:59:51 e9a5061849ea: Download complete 10:59:51 d747dcd14b5f: Verifying Checksum 10:59:51 d747dcd14b5f: Download complete 10:59:51 0d9ebad4ef96: Verifying Checksum 10:59:51 0d9ebad4ef96: Download complete 10:59:51 ab5ef0e58194: Verifying Checksum 10:59:51 ab5ef0e58194: Download complete 10:59:51 2de7ff778b66: Verifying Checksum 10:59:51 2de7ff778b66: Download complete 10:59:54 ab5ef0e58194: Pull complete 10:59:54 9712f1f96733: Pull complete 10:59:54 63f879dbbcfc: Pull complete 10:59:58 0d9ebad4ef96: Pull complete 10:59:58 e9a5061849ea: Pull complete 10:59:58 d747dcd14b5f: Pull complete 10:59:59 2de7ff778b66: Pull complete 10:59:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:59:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:00 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 11:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:00:03 $ docker top f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:00:03 provisioning config files... 11:00:03 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3243436085006806234tmp 11:00:03 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4588873907936541417tmp 11:00:03 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7662883972167604013tmp [Pipeline] { [Pipeline] echo 11:00:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:00:04 ---> sigul-configuration.sh 11:00:04 gpg: directory `/root/.gnupg' created 11:00:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:00:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:00:04 gpg: keyring `/root/.gnupg/secring.gpg' created 11:00:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:00:04 gpg: CAST5 encrypted data 11:00:04 gpg: encrypted with 1 passphrase 11:00:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:00:04 + mkdir /home/jenkins 11:00:04 + mkdir /home/jenkins/sigul [Pipeline] sh 11:00:04 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:00:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:00:05 ---> sigul-install.sh 11:00:05 Sigul already installed; skipping installation. [Pipeline] sh 11:00:05 + git tag --list 11:00:05 0.7.0 11:00:05 0.7.1 11:00:05 1.0.0 11:00:05 v1.0.1 11:00:05 v1.0.2 11:00:05 v1.0.3 11:00:05 v1.1.0 11:00:05 v1.1.1 11:00:05 v1.2.0 11:00:05 v1.2.1 11:00:05 v1.2.2 11:00:05 v1.3.0 11:00:05 v1.3.1 11:00:05 v2.0.0 11:00:05 v2.1.0 11:00:05 v2.2.0 11:00:05 v2.3.0 11:00:05 v3.0 11:00:05 v3.0.0 11:00:05 v3.0.1 11:00:05 v3.0.2 11:00:05 v3.0.3-dev.1 11:00:05 v3.0.3-dev.10 11:00:05 v3.0.3-dev.11 11:00:05 v3.0.3-dev.12 11:00:05 v3.0.3-dev.13 11:00:05 v3.0.3-dev.14 11:00:05 v3.0.3-dev.15 11:00:05 v3.0.3-dev.16 11:00:05 v3.0.3-dev.17 11:00:05 v3.0.3-dev.2 11:00:05 v3.0.3-dev.3 11:00:05 v3.0.3-dev.4 11:00:05 v3.0.3-dev.5 11:00:05 v3.0.3-dev.6 11:00:05 v3.0.3-dev.7 11:00:05 v3.0.3-dev.8 11:00:05 v3.0.3-dev.9 11:00:05 v3.1 11:00:05 v3.1.0 11:00:05 v3.1.0-dev.1 11:00:05 v3.1.0-dev.2 11:00:05 v3.1.0-dev.3 11:00:05 v3.1.0-dev.4 11:00:05 v3.1.0-dev.5 11:00:05 v3.1.0-dev.6 11:00:05 v3.1.0-dev.7 11:00:05 v3.1.0-dev.8 11:00:05 v3.1.0-dev.9 11:00:05 v3.1.1 11:00:05 v3.1.1-dev.1 11:00:05 v4.0.0-dev.1 11:00:05 v4.0.0-dev.10 11:00:05 v4.0.0-dev.11 11:00:05 v4.0.0-dev.12 11:00:05 v4.0.0-dev.13 11:00:05 v4.0.0-dev.14 11:00:05 v4.0.0-dev.15 11:00:05 v4.0.0-dev.16 11:00:05 v4.0.0-dev.17 11:00:05 v4.0.0-dev.18 11:00:05 v4.0.0-dev.2 11:00:05 v4.0.0-dev.3 11:00:05 v4.0.0-dev.4 11:00:05 v4.0.0-dev.5 11:00:05 v4.0.0-dev.6 11:00:05 v4.0.0-dev.7 11:00:05 v4.0.0-dev.8 11:00:05 v4.0.0-dev.9 [Pipeline] sh 11:00:05 + lftools sign git-tag v4.0.0-dev.18 11:00:06 Signing Git tag with Sigul... 11:00:06 Signing v4.0.0-dev.18 [Pipeline] echo 11:00:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:00:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:00:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:00:07 $ docker stop --time=1 f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 11:00:08 $ docker rm -f --volumes f3f5318fad83ad38b30f2c88b3bb2dd7c098df38146666e04a20d71403a39869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:00:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:00:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:09 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 11:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:00:09 $ docker top ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:00:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:09 [ssh-agent] Looking for ssh-agent implementation... 11:00:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:09 $ docker exec ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 ssh-agent 11:00:09 SSH_AUTH_SOCK=/tmp/ssh-4b2jVPVVXnpi/agent.32 11:00:09 SSH_AGENT_PID=38 11:00:09 Running ssh-add (command line suppressed) 11:00:10 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8824739625175119020.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8824739625175119020.key) 11:00:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:10 + git semver bump pre 11:00:10 2025-02-23 11:00:10,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:00:10 2025-02-23 11:00:10,528 [bump_version] DEBUG bumping version:4.0.0-dev.18 on axis:pre with prefix:dev 11:00:10 2025-02-23 11:00:10,528 [bump_version] DEBUG bumped version:4.0.0-dev.19 11:00:10 2025-02-23 11:00:10,528 [write_version] DEBUG write version:4.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 11:00:10 2025-02-23 11:00:10,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:00:10 2025-02-23 11:00:10,528 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:00:10 2025-02-23 11:00:10,530 [execute] INFO git cat-file --batch-check 11:00:10 2025-02-23 11:00:10,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:00:10 2025-02-23 11:00:10,536 [execute] INFO git cat-file --batch 11:00:10 2025-02-23 11:00:10,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:00:10 2025-02-23 11:00:10,542 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:00:10 4.0.0-dev.19 [Pipeline] } 11:00:10 $ docker exec --env ******** --env ******** ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 ssh-agent -k 11:00:10 unset SSH_AUTH_SOCK; 11:00:10 unset SSH_AGENT_PID; 11:00:10 echo Agent pid 38 killed; 11:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:00:11 + git semver [Pipeline] } 11:00:11 $ docker stop --time=1 ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 11:00:12 $ docker rm -f --volumes ccaf4c251f1cdf369fa213aad4e2d7075ab0601fae4ebcc08ca764dc07e13809 [Pipeline] // withDockerContainer [Pipeline] sh 11:00:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:00:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:00:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:13 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 11:00:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:00:13 $ docker top becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee -eo pid,comm 11:00:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:00:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:00:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:00:13 [ssh-agent] Looking for ssh-agent implementation... 11:00:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:00:14 $ docker exec becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee ssh-agent 11:00:14 SSH_AUTH_SOCK=/tmp/ssh-MWJVtkQQsW7J/agent.31 11:00:14 SSH_AGENT_PID=37 11:00:14 Running ssh-add (command line suppressed) 11:00:14 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17396474945466504221.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17396474945466504221.key) 11:00:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:00:14 + git semver push 11:00:14 2025-02-23 11:00:14,737 [run_push] DEBUG push 11:00:14 2025-02-23 11:00:14,738 [execute] INFO git cat-file --batch-check 11:00:14 2025-02-23 11:00:14,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:00:14 2025-02-23 11:00:14,743 [execute] INFO git rev-list 359e07a3140ef25913c573f723d7db565043580f -- 11:00:14 2025-02-23 11:00:14,743 [execute] DEBUG Popen(['git', 'rev-list', '359e07a3140ef25913c573f723d7db565043580f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:00:14 2025-02-23 11:00:14,752 [execute] INFO git fetch -v origin 11:00:14 2025-02-23 11:00:14,752 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 11:00:15 2025-02-23 11:00:15,199 [run_push] DEBUG no remote changes detected 11:00:15 2025-02-23 11:00:15,199 [execute] INFO git push origin semver 11:00:15 2025-02-23 11:00:15,200 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:00:15 2025-02-23 11:00:15,865 [run_push] DEBUG push all version tags 11:00:15 2025-02-23 11:00:15,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:00:15 2025-02-23 11:00:15,866 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 11:00:18 2025-02-23 11:00:18,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:00:18 4.0.0-dev.19 [Pipeline] } 11:00:18 $ docker exec --env ******** --env ******** becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee ssh-agent -k 11:00:18 unset SSH_AUTH_SOCK; 11:00:18 unset SSH_AGENT_PID; 11:00:18 echo Agent pid 37 killed; 11:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:00:18 + git semver [Pipeline] } 11:00:19 $ docker stop --time=1 becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee 11:00:20 $ docker rm -f --volumes becb7facb6db10d1b52bb5bfa0613f26ee58d548d94e1a4afe2f01111b1ac5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:00:21 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 11:00:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:00:21 total 16 11:00:21 drwxr-xr-x 3 root root 4096 Feb 23 10:59 . 11:00:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 11:00 .. 11:00:21 drwxr-xr-x 2 root root 4096 Feb 23 10:59 cost 11:00:21 -rw-r--r-- 1 root root 83 Feb 23 10:59 cost.csv 11:00:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:00:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:00:21 total 16 11:00:21 drwxr-xr-x 3 jenkins jenkins 4096 Feb 23 10:59 . 11:00:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 11:00 .. 11:00:21 drwxr-xr-x 2 jenkins jenkins 4096 Feb 23 10:59 cost 11:00:21 -rw-r--r-- 1 jenkins jenkins 83 Feb 23 10:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:00:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:00:22 ---> package-listing.sh 11:00:22 ++ facter osfamily 11:00:22 ++ tr '[:upper:]' '[:lower:]' 11:00:22 + OS_FAMILY=debian 11:00:22 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 11:00:22 + START_PACKAGES=/tmp/packages_start.txt 11:00:22 + END_PACKAGES=/tmp/packages_end.txt 11:00:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:00:22 + PACKAGES=/tmp/packages_start.txt 11:00:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:00:22 + PACKAGES=/tmp/packages_end.txt 11:00:22 + case "${OS_FAMILY}" in 11:00:22 + dpkg -l 11:00:22 + grep '^ii' 11:00:22 + '[' -f /tmp/packages_start.txt ']' 11:00:22 + '[' -f /tmp/packages_end.txt ']' 11:00:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:00:22 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:00:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 11:00:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 11:00:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:00:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:23 prd-ubuntu20.04-docker-8c-8g-39531 does not seem to be running inside a container 11:00:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:00:23 $ docker top e84ddc814ac0213009cd26afc629406a886b3aef44cadcc4b0a52a2bc7401d9b -eo pid,comm [Pipeline] { [Pipeline] sh 11:00:24 + touch /tmp/pre-build-complete [Pipeline] sh 11:00:24 + mkdir -p /var/log/sysstat [Pipeline] sh 11:00:24 + ls /var/log/sa-host 11:00:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:00:24 provisioning config files... 11:00:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1540970702313422580tmp [Pipeline] { [Pipeline] echo 11:00:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:00:25 ---> create-netrc.sh [Pipeline] } 11:00:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:00:25 ---> python-tools-install.sh [Pipeline] echo 11:00:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:00:25 ---> sudo-logs.sh 11:00:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:00:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:00:26 ---> job-cost.sh 11:00:26 lf-activate-venv: SKIPPING 11:00:26 DEBUG: total: 0.2199999988079071 11:00:26 INFO: Retrieving Stack Cost... 11:00:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:00:27 INFO: Archiving Costs [Pipeline] echo 11:00:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:00:27 ---> logs-deploy.sh 11:00:27 lf-activate-venv: SKIPPING 11:00:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/95 11:00:27 INFO: archiving workspace using pattern(s): 11:00:28 Archives upload complete. 11:00:28 INFO: archiving logs to Nexus