Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 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-ssh1902605923449194201.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh14573024315078694725.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh2100566231462297854.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh7329090749371387221.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-ssh8066253013987965445.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-23669’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23670 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (main) Commit message: "fix: Only 20 devices end up in devmap (#555) (#518)" > 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-list --no-walk de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:02:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:02:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:02:46 ========================================================= 06:02:46 EdgeX Global Pipelines Version Info 06:02:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:02:47 ------------------- 06:02:47 stable info: 06:02:47 ------------------- 06:02:47 Commited By: Ginny Guan ginny@iotechsys.com 06:02:47 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:02:47 Message: update stable to v1.0.265 06:02:48 ------------------- 06:02:48 experimental info: 06:02:48 ------------------- 06:02:48 Commited By: Cherry Wang cherry@iotechsys.com 06:02:48 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:02:48 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bae00d [Pipeline] echo 06:02:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:48 provisioning config files... 06:02:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13556171232079243364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:49 ---> ****-login.sh 06:02:49 nexus3.edgexfoundry.org:10001 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10002 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10003 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 nexus3.edgexfoundry.org:10004 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 ****.io 06:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:49 Configure a credential helper to remove this warning. See 06:02:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:49 06:02:49 Login Succeeded 06:02:49 ---> ****-login.sh ends [Pipeline] } 06:02:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 06:02:50 + git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo 06:02:50 -----------> git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [false] [Pipeline] sh 06:02:50 + git log --format=format:%s -1 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo 06:02:50 ========================================================= 06:02:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:50 ========================================================= 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 06:02:51 + git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo 06:02:51 -----------> git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [false] [Pipeline] sh 06:02:51 + git log --format=format:%s -1 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo 06:02:51 ========================================================= 06:02:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:02:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 06:02:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:51 + grep -v github /etc/ssh/ssh_known_hosts 06:02:51 + [ -e /tmp/ssh_known_hosts ] 06:02:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:02:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:02:51 + sudo tee -a /etc/ssh/ssh_known_hosts 06:02:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:52 06:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:52 0.1.4: Pulling from edgex-devops/py-git-semver 06:02:52 b85a868b505f: Pulling fs layer 06:02:52 e2be974225ed: Pulling fs layer 06:02:52 339a4e72a1f5: Pulling fs layer 06:02:52 988bab9f4d93: Pulling fs layer 06:02:52 1469e6f7b9e6: Pulling fs layer 06:02:52 eaf3925da568: Pulling fs layer 06:02:52 bab4dde63d76: Pulling fs layer 06:02:52 bde34c3a00c8: Pulling fs layer 06:02:52 b352a97aabf1: Pulling fs layer 06:02:52 4872d77fe225: Pulling fs layer 06:02:52 5851b861e8e6: Pulling fs layer 06:02:52 eaf3925da568: Waiting 06:02:52 bab4dde63d76: Waiting 06:02:52 bde34c3a00c8: Waiting 06:02:52 b352a97aabf1: Waiting 06:02:52 4872d77fe225: Waiting 06:02:52 5851b861e8e6: Waiting 06:02:52 988bab9f4d93: Waiting 06:02:52 1469e6f7b9e6: Waiting 06:02:52 e2be974225ed: Verifying Checksum 06:02:52 e2be974225ed: Download complete 06:02:52 988bab9f4d93: Verifying Checksum 06:02:52 988bab9f4d93: Download complete 06:02:52 1469e6f7b9e6: Verifying Checksum 06:02:52 1469e6f7b9e6: Download complete 06:02:52 339a4e72a1f5: Verifying Checksum 06:02:52 339a4e72a1f5: Download complete 06:02:52 eaf3925da568: Download complete 06:02:52 bde34c3a00c8: Download complete 06:02:52 b352a97aabf1: Download complete 06:02:52 4872d77fe225: Verifying Checksum 06:02:52 4872d77fe225: Download complete 06:02:52 5851b861e8e6: Download complete 06:02:52 b85a868b505f: Verifying Checksum 06:02:52 b85a868b505f: Download complete 06:02:53 bab4dde63d76: Verifying Checksum 06:02:53 bab4dde63d76: Download complete 06:02:54 b85a868b505f: Pull complete 06:02:54 e2be974225ed: Pull complete 06:02:54 339a4e72a1f5: Pull complete 06:02:54 988bab9f4d93: Pull complete 06:02:55 1469e6f7b9e6: Pull complete 06:02:55 eaf3925da568: Pull complete 06:02:57 bab4dde63d76: Pull complete 06:02:57 bde34c3a00c8: Pull complete 06:02:57 b352a97aabf1: Pull complete 06:02:57 4872d77fe225: Pull complete 06:02:57 5851b861e8e6: Pull complete 06:02:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:57 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:02:57 $ 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 06:03:01 $ docker top 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed -eo pid,comm 06:03:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:03:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:01 [ssh-agent] Looking for ssh-agent implementation... 06:03:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:01 $ docker exec 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent 06:03:01 SSH_AUTH_SOCK=/tmp/ssh-tC6qMWlS4Oh5/agent.32 06:03:01 SSH_AGENT_PID=38 06:03:01 Running ssh-add (command line suppressed) 06:03:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15593074302104258924.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15593074302104258924.key) 06:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:01 + git tag --points-at HEAD [Pipeline] } 06:03:01 $ docker exec --env ******** --env ******** 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent -k 06:03:01 unset SSH_AUTH_SOCK; 06:03:01 unset SSH_AGENT_PID; 06:03:01 echo Agent pid 38 killed; 06:03:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:03:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:02 [ssh-agent] Looking for ssh-agent implementation... 06:03:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:02 $ docker exec 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent 06:03:02 SSH_AUTH_SOCK=/tmp/ssh-H6CrkQNwUJwq/agent.71 06:03:02 SSH_AGENT_PID=77 06:03:02 Running ssh-add (command line suppressed) 06:03:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16116413897426275263.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16116413897426275263.key) 06:03:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:02 + git semver init 06:03:02 2024-10-24 06:03:02,859 [run_init] DEBUG init version:0.0.0 force:False 06:03:02 2024-10-24 06:03:02,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 06:03:02 2024-10-24 06:03:02,861 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 06:03:02 2024-10-24 06:03:02,861 [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) 06:03:03 2024-10-24 06:03:03,653 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 06:03:03 2024-10-24 06:03:03,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 06:03:03 2024-10-24 06:03:03,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:03:03 2024-10-24 06:03:03,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:03:03 4.0.0-dev.1 [Pipeline] } 06:03:03 $ docker exec --env ******** --env ******** 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent -k 06:03:04 unset SSH_AUTH_SOCK; 06:03:04 unset SSH_AGENT_PID; 06:03:04 echo Agent pid 77 killed; 06:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:04 + git semver [Pipeline] } 06:03:04 $ docker stop --time=1 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed 06:03:05 $ docker rm -f --volumes 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed [Pipeline] // withDockerContainer [Pipeline] sh 06:03:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:03:06 Stashed 1 file(s) [Pipeline] echo 06:03:06 [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:06 provisioning config files... 06:03:06 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17227918055547640059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:06 ---> ****-login.sh 06:03:06 nexus3.edgexfoundry.org:10001 06:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:06 Configure a credential helper to remove this warning. See 06:03:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:06 06:03:06 Login Succeeded 06:03:06 nexus3.edgexfoundry.org:10002 06:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:06 Configure a credential helper to remove this warning. See 06:03:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:06 06:03:06 Login Succeeded 06:03:06 nexus3.edgexfoundry.org:10003 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 nexus3.edgexfoundry.org:10004 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 ****.io 06:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:03:07 Configure a credential helper to remove this warning. See 06:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:03:07 06:03:07 Login Succeeded 06:03:07 ---> ****-login.sh ends [Pipeline] } 06:03:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:07 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 06:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:03:07 ========================================================= 06:03:07 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 06:03:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:07 + 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 . 06:03:07 Sending build context to Docker daemon 5.109MB 06:03:07 Step 1/22 : ARG BASE=alpine:3.18 06:03:07 Step 2/22 : FROM ${BASE} as builder 06:03:07 latest: Pulling from edgex-devops/edgex-gcc-base 06:03:07 96526aa774ef: Pulling fs layer 06:03:07 da60e534fd72: Pulling fs layer 06:03:07 96526aa774ef: Verifying Checksum 06:03:07 96526aa774ef: Download complete 06:03:08 96526aa774ef: Pull complete 06:03:08 da60e534fd72: Verifying Checksum 06:03:08 da60e534fd72: Download complete 06:03:12 da60e534fd72: Pull complete 06:03:12 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 06:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 06:03:12 ---> 6605166a5db4 06:03:12 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 06:03:14 ---> Running in fbfffacfa7a4 06:03:14 Connecting to iotech.jfrog.io (34.247.22.236:443) 06:03:15 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:03:15 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:03:15 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:03:15 Removing intermediate container fbfffacfa7a4 06:03:15 ---> d7ceaa551675 06:03:15 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:03:15 ---> Running in c41efe2e9c68 06:03:16 Removing intermediate container c41efe2e9c68 06:03:16 ---> e24aea8da3e2 06:03:16 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 hiredis-dev 06:03:16 ---> Running in ee580be5c2aa 06:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:17 (1/17) Installing hiredis (1.1.0-r2) 06:03:17 (2/17) Installing hiredis-dev (1.1.0-r2) 06:03:17 (3/17) Installing libcbor (0.10.2-r1) 06:03:17 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 06:03:18 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 06:03:18 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:03:18 (7/17) Installing libcbor-dev (0.10.2-r1) 06:03:18 (8/17) Installing libmenuw (6.4_p20230506-r0) 06:03:18 (9/17) Installing libpanelw (6.4_p20230506-r0) 06:03:18 (10/17) Installing libncurses++ (6.4_p20230506-r0) 06:03:18 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 06:03:18 (12/17) Installing libblkid (2.38.1-r8) 06:03:18 (13/17) Installing libuuid (2.38.1-r8) 06:03:18 (14/17) Installing libfdisk (2.38.1-r8) 06:03:18 (15/17) Installing libmount (2.38.1-r8) 06:03:18 (16/17) Installing libsmartcols (2.38.1-r8) 06:03:18 (17/17) Installing util-linux-dev (2.38.1-r8) 06:03:18 Executing busybox-1.36.1-r4.trigger 06:03:18 OK: 336 MiB in 99 packages 06:03:18 Removing intermediate container ee580be5c2aa 06:03:18 ---> 26347be80f1a 06:03:18 Step 6/22 : RUN mkdir /tmp/sdk 06:03:18 ---> Running in bdbc9d96616c 06:03:19 Removing intermediate container bdbc9d96616c 06:03:19 ---> 2c247a882c1e 06:03:19 Step 7/22 : COPY VERSION /tmp/sdk 06:03:19 ---> b812931860a3 06:03:19 Step 8/22 : COPY src /tmp/sdk/src 06:03:19 ---> 70f1135c8874 06:03:19 Step 9/22 : COPY include /tmp/sdk/include 06:03:19 ---> 3e8fee4f5429 06:03:19 Step 10/22 : COPY scripts /tmp/sdk/scripts 06:03:19 ---> 1c38c1174e8e 06:03:19 Step 11/22 : COPY LICENSE /tmp/sdk 06:03:20 ---> b4dc6b67aa8c 06:03:20 Step 12/22 : COPY Attribution.txt /tmp/sdk 06:03:20 ---> 0c039bd7b485 06:03:20 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:03:20 ---> Running in 90cb6847b689 06:03:20 + CPPCHECK=false 06:03:20 + DOCGEN=false 06:03:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:03:20 + '[' 0 -gt 0 ] 06:03:20 + readlink -f ./scripts/build.sh 06:03:20 + dirname /tmp/sdk/scripts/build.sh 06:03:20 + dirname /tmp/sdk/scripts 06:03:20 + ROOT=/tmp/sdk 06:03:20 + cd /tmp/sdk 06:03:20 + mkdir -p /tmp/sdk/build/release 06:03:20 + cd /tmp/sdk/build/release 06:03:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:03:20 -- The C compiler identification is GNU 12.2.1 06:03:20 -- Detecting C compiler ABI info 06:03:20 -- Detecting C compiler ABI info - done 06:03:20 -- Check for working C compiler: /usr/bin/cc - skipped 06:03:20 -- Detecting C compile features 06:03:20 -- Detecting C compile features - done 06:03:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:03:21 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:03:21 -- Found LIBYAML: /usr/lib/libyaml.so 06:03:21 -- Found LIBUUID: /usr/lib/libuuid.so 06:03:21 -- Found LIBCBOR: /usr/lib/libcbor.so 06:03:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:03:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:03:21 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:03:21 -- /opt/iotech/iot/1.5/include 06:03:21 -- C SDK 4.0.0-dev.1 for Linux 06:03:21 -- Performing Test CSDK_HAVE_ATOMIC 06:03:21 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:03:21 -- Found Curses: /usr/lib/libcurses.so 06:03:21 -- Configuring done (0.4s) 06:03:21 -- Generating done (0.0s) 06:03:21 -- Build files have been written to: /tmp/sdk/build/release 06:03:21 + make all package 06:03:21 + tee release.log 06:03:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:03:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:03:21 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 06:03:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:03:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:03:21 Still waiting to schedule task 06:03:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23671’ 06:03:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:03:22 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:03:22 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 06:03:22 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 06:03:22 294 | while (privateConfig) 06:03:22 | ^~~~~~~~~~~~~ 06:03:22 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 06:03:22 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:03:22 | ^~~~~~~~~~~~~ 06:03:22 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 06:03:22 271 | while (result) 06:03:22 | ^~~~~~ 06:03:22 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 06:03:22 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:03:22 | ^~~~~~ 06:03:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:03:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:03:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:03:22 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:03:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:03:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:03:23 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:03:23 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:03:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:03:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:03:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:03:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:03:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:03:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:03:24 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:03:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:03:25 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:03:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:03:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:03:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:03:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:03:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:03:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:03:26 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:03:26 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:03:26 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:03:26 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:03:26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:03:26 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:03:26 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:03:26 | ^ 06:03:26 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 06:03:26 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 06:03:26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:03:26 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 06:03:26 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 06:03:26 | ^~~~~~~~~~~~~~~~~~~~~ 06:03:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:03:26 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:03:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:03:26 [ 68%] Linking C shared library libcsdk.so 06:03:26 [ 68%] Built target csdk 06:03:26 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:03:26 [ 72%] Linking C executable template 06:03:26 [ 72%] Built target template 06:03:26 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:03:27 [ 76%] Linking C executable device-counter 06:03:27 [ 76%] Built target device-counter 06:03:27 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:03:27 [ 80%] Linking C executable device-random 06:03:27 [ 80%] Built target device-random 06:03:27 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:03:27 [ 84%] Linking C executable device-gyro 06:03:27 [ 84%] Built target device-gyro 06:03:27 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:03:27 [ 88%] Linking C executable device-bitfields 06:03:27 [ 88%] Built target device-bitfields 06:03:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:03:27 [ 92%] Linking C executable template-discovery 06:03:27 [ 92%] Built target template-discovery 06:03:27 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:03:27 [ 96%] Linking C executable device-file 06:03:27 [ 96%] Built target device-file 06:03:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:03:28 [100%] Linking C executable device-terminal 06:03:28 [100%] Built target device-terminal 06:03:28 Run CPack packaging tool... 06:03:28 CPack: Create package using TGZ 06:03:28 CPack: Install projects 06:03:28 CPack: - Run preinstall target for: Csdk 06:03:28 CPack: - Install project: Csdk [] 06:03:28 CPack: Create package 06:03:28 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.1.tar.gz generated. 06:03:28 + '[' false '=' true ] 06:03:28 + '[' false '=' true ] 06:03:28 + mkdir -p /tmp/sdk/build/debug 06:03:28 + cd /tmp/sdk/build/debug 06:03:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:03:28 -- The C compiler identification is GNU 12.2.1 06:03:28 -- Detecting C compiler ABI info 06:03:28 -- Detecting C compiler ABI info - done 06:03:28 -- Check for working C compiler: /usr/bin/cc - skipped 06:03:28 -- Detecting C compile features 06:03:28 -- Detecting C compile features - done 06:03:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:03:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:03:28 -- Found LIBYAML: /usr/lib/libyaml.so 06:03:28 -- Found LIBUUID: /usr/lib/libuuid.so 06:03:28 -- Found LIBCBOR: /usr/lib/libcbor.so 06:03:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:03:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:03:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:03:28 -- /opt/iotech/iot/1.5/include 06:03:28 -- C SDK 4.0.0-dev.1 for Linux 06:03:28 -- Performing Test CSDK_HAVE_ATOMIC 06:03:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:03:29 -- Found Curses: /usr/lib/libcurses.so 06:03:29 -- Configuring done (0.4s) 06:03:29 -- Generating done (0.0s) 06:03:29 -- Build files have been written to: /tmp/sdk/build/debug 06:03:29 + + tee debug.logmake 06:03:29 06:03:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:03:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:03:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 06:03:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:03:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:03:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:03:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:03:29 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:03:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:03:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:03:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:03:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:03:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:03:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:03:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:03:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:03:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:03:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:03:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:03:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:03:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:03:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:03:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:03:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:03:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:03:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:03:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:03:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:03:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:03:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:03:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:03:31 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:03:31 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:03:31 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:03:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:03:31 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:03:31 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:03:31 | ^ 06:03:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:03:31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:03:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:03:31 [ 68%] Linking C shared library libcsdk.so 06:03:31 [ 68%] Built target csdk 06:03:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:03:31 [ 72%] Linking C executable template 06:03:31 [ 72%] Built target template 06:03:31 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:03:32 [ 76%] Linking C executable device-counter 06:03:32 [ 76%] Built target device-counter 06:03:32 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:03:32 [ 80%] Linking C executable device-random 06:03:32 [ 80%] Built target device-random 06:03:32 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:03:32 [ 84%] Linking C executable device-gyro 06:03:32 [ 84%] Built target device-gyro 06:03:32 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:03:32 [ 88%] Linking C executable device-bitfields 06:03:32 [ 88%] Built target device-bitfields 06:03:32 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:03:32 [ 92%] Linking C executable template-discovery 06:03:32 [ 92%] Built target template-discovery 06:03:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:03:32 [ 96%] Linking C executable device-file 06:03:32 [ 96%] Built target device-file 06:03:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:03:32 [100%] Linking C executable device-terminal 06:03:32 [100%] Built target device-terminal 06:03:33 make: Entering directory '/tmp/sdk/build/release' 06:03:33 [ 68%] Built target csdk 06:03:33 [ 72%] Built target template 06:03:33 [ 76%] Built target device-counter 06:03:33 [ 80%] Built target device-random 06:03:33 [ 84%] Built target device-gyro 06:03:33 [ 88%] Built target device-bitfields 06:03:33 [ 92%] Built target template-discovery 06:03:33 [ 96%] Built target device-file 06:03:33 [100%] Built target device-terminal 06:03:33 Install the project... 06:03:33 -- Install configuration: "Release" 06:03:33 -- Installing: /usr/local/lib/libcsdk.so 06:03:33 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:03:33 -- Installing: /usr/local/include 06:03:33 -- Installing: /usr/local/include/devsdk 06:03:33 -- Installing: /usr/local/include/devsdk/devsdk.h 06:03:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:03:33 -- Installing: /usr/local/include/edgex 06:03:33 -- Installing: /usr/local/include/edgex/edgex.h 06:03:33 -- Installing: /usr/local/include/edgex/devices.h 06:03:33 -- Installing: /usr/local/include/edgex/profiles.h 06:03:33 -- Installing: /usr/local/include/edgex/edgex-base.h 06:03:33 -- Installing: /usr/local/include/edgex/rest-server.h 06:03:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:03:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:03:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:03:33 make: Leaving directory '/tmp/sdk/build/release' 06:03:34 Removing intermediate container 90cb6847b689 06:03:34 ---> 7cc8e7d8b802 06:03:34 Step 14/22 : FROM ${BASE} 06:03:34 ---> 6605166a5db4 06:03:34 Step 15/22 : LABEL maintainer="IOTech " 06:03:34 ---> Running in 37976f225d8b 06:03:34 Removing intermediate container 37976f225d8b 06:03:34 ---> 762839812332 06:03:34 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 06:03:34 ---> Running in ba9dbffaef55 06:03:34 Connecting to iotech.jfrog.io (34.246.139.145:443) 06:03:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:03:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:03:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:03:34 Removing intermediate container ba9dbffaef55 06:03:34 ---> 01a0fca1ab5c 06:03:34 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:03:34 ---> Running in 90dce00ecf5c 06:03:35 Removing intermediate container 90dce00ecf5c 06:03:35 ---> 0b804e041d28 06:03:35 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 hiredis-dev dumb-init 06:03:35 ---> Running in 352bea001cc8 06:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:36 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 06:03:36 (2/10) Installing curl (8.9.1-r1) 06:03:36 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 06:03:36 (4/10) Installing dumb-init (1.2.5-r2) 06:03:36 (5/10) Installing hiredis (1.1.0-r2) 06:03:36 (6/10) Installing hiredis-dev (1.1.0-r2) 06:03:36 (7/10) Installing libcbor (0.10.2-r1) 06:03:36 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 06:03:37 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:03:37 (10/10) Installing libuuid (2.38.1-r8) 06:03:37 Executing busybox-1.36.1-r4.trigger 06:03:37 OK: 331 MiB in 90 packages 06:03:38 Removing intermediate container 352bea001cc8 06:03:38 ---> c4495828cc94 06:03:38 Step 19/22 : RUN apk --no-cache upgrade 06:03:38 ---> Running in 2876323aaada 06:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:39 Upgrading critical system libraries and apk-tools: 06:03:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:03:39 Executing busybox-1.36.1-r4.trigger 06:03:39 Continuing the upgrade transaction with new apk-tools: 06:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:39 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 06:03:39 Executing busybox-1.36.1-r7.post-upgrade 06:03:39 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 06:03:39 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:03:39 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 06:03:39 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 06:03:39 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 06:03:39 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 06:03:39 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 06:03:39 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 06:03:39 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 06:03:39 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 06:03:39 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 06:03:39 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 06:03:39 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 06:03:39 Executing busybox-1.36.1-r7.trigger 06:03:39 Executing ca-certificates-20240226-r0.trigger 06:03:40 OK: 332 MiB in 90 packages 06:03:41 Removing intermediate container 2876323aaada 06:03:41 ---> f964a70f59ed 06:03:41 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:03:41 ---> d3606414d19f 06:03:41 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 06:03:41 ---> 1a05626debee 06:03:41 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:03:41 ---> c829f0bccf27 06:03:41 Successfully built c829f0bccf27 06:03:41 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 06:03:41 + docker inspect -f . ci-base-image-x86_64 06:03:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:41 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:03:41 $ 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 06:03:42 $ docker top 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:42 + make test 06:03:42 echo "make test" 06:03:42 make test [Pipeline] } 06:03:42 $ docker stop --time=1 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 06:03:43 $ docker rm -f --volumes 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:03:44 + ls -al . 06:03:44 total 212 06:03:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 06:03 . 06:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 .. 06:03:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:03 .git 06:03:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 06:02 .github 06:03:44 -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 06:02 .gitignore 06:03:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 06:03 .semver 06:03:44 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 06:02 Attribution.txt 06:03:44 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 06:02 CHANGELOG.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 06:02 Doxyfile 06:03:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 06:02 GOVERNANCE.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 06:02 Jenkinsfile 06:03:44 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 06:02 LICENSE 06:03:44 -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 06:02 Makefile 06:03:44 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 06:02 OWNERS.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 06:02 README.IOT.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 06:02 README.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 06:02 README.v3.md 06:03:44 -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 06:03 VERSION 06:03:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:02 docs 06:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 include 06:03:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:02 scripts 06:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:45 + 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=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 --label arch=amd64 --label version=4.0.0-dev.1 . 06:03:45 Sending build context to Docker daemon 5.109MB 06:03:45 Step 1/18 : ARG BASE=alpine:3.18 06:03:45 Step 2/18 : FROM ${BASE} 06:03:45 ---> c829f0bccf27 06:03:45 Step 3/18 : LABEL maintainer="IOTech " 06:03:45 ---> Running in 8c2b2b795e43 06:03:45 Removing intermediate container 8c2b2b795e43 06:03:45 ---> 64b65bfd078e 06:03:45 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 06:03:45 ---> Running in 710213d63f2b 06:03:45 Connecting to iotech.jfrog.io (34.247.22.236:443) 06:03:45 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:03:45 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:03:45 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:03:46 Removing intermediate container 710213d63f2b 06:03:46 ---> 1a0bf15db287 06:03:46 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:03:46 ---> Running in 8214e23dd91d 06:03:46 Removing intermediate container 8214e23dd91d 06:03:46 ---> 62c37220f7f6 06:03:46 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 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 06:03:46 ---> Running in 7a3db50d36c7 06:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:47 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 06:03:48 (2/11) Installing libcbor-dev (0.10.2-r1) 06:03:48 (3/11) Installing libmenuw (6.4_p20230506-r0) 06:03:48 (4/11) Installing libpanelw (6.4_p20230506-r0) 06:03:48 (5/11) Installing libncurses++ (6.4_p20230506-r0) 06:03:48 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 06:03:48 (7/11) Installing libblkid (2.38.1-r8) 06:03:48 (8/11) Installing libfdisk (2.38.1-r8) 06:03:48 (9/11) Installing libmount (2.38.1-r8) 06:03:48 (10/11) Installing libsmartcols (2.38.1-r8) 06:03:48 (11/11) Installing util-linux-dev (2.38.1-r8) 06:03:48 Executing busybox-1.36.1-r7.trigger 06:03:48 OK: 337 MiB in 101 packages 06:03:48 Removing intermediate container 7a3db50d36c7 06:03:48 ---> d4ff5bb62d1d 06:03:48 Step 7/18 : RUN apk --no-cache upgrade 06:03:48 ---> Running in b37a577844b8 06:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:03:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 06:03:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:03:49 OK: 337 MiB in 101 packages 06:03:49 Removing intermediate container b37a577844b8 06:03:49 ---> ad11038bc4b6 06:03:49 Step 8/18 : COPY VERSION /edgex-c-sdk/ 06:03:49 ---> fa23c9987c27 06:03:49 Step 9/18 : COPY src /edgex-c-sdk/src/ 06:03:50 ---> 7da78e91f3a1 06:03:50 Step 10/18 : COPY include /edgex-c-sdk/include/ 06:03:50 ---> f8fe61eafa25 06:03:50 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 06:03:50 ---> a858d9e00fc6 06:03:50 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 06:03:50 ---> 2099bae3ef9e 06:03:50 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 06:03:50 ---> efa5f7e8a287 06:03:50 Step 14/18 : WORKDIR /edgex-c-sdk 06:03:50 ---> Running in 15a33304e558 06:03:50 Removing intermediate container 15a33304e558 06:03:50 ---> c2a2bcde1600 06:03:50 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:03:50 ---> Running in c63292aa70e9 06:03:50 Removing intermediate container c63292aa70e9 06:03:50 ---> dc860fc826f1 06:03:50 Step 16/18 : LABEL arch=amd64 06:03:50 ---> Running in ca2588bd0aec 06:03:50 Removing intermediate container ca2588bd0aec 06:03:50 ---> b06dbb57223b 06:03:50 Step 17/18 : LABEL git_sha=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 06:03:50 ---> Running in f3d7a9573d8f 06:03:51 Removing intermediate container f3d7a9573d8f 06:03:51 ---> 4cea9bc365b6 06:03:51 Step 18/18 : LABEL version=4.0.0-dev.1 06:03:51 ---> Running in 01f93ae66528 06:03:51 Removing intermediate container 01f93ae66528 06:03:51 ---> 4221a738ca81 06:03:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:03:51 Successfully built 4221a738ca81 06:03:51 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 06:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:51 06:03:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:51 latest: Pulling from edgex-lftools-log-publisher 06:03:51 5eb5b503b376: Pulling fs layer 06:03:51 5c69ac0246d0: Pulling fs layer 06:03:51 ec43610c2a17: Pulling fs layer 06:03:51 3a2ae6a8a46f: Pulling fs layer 06:03:51 33b1e0a273af: Pulling fs layer 06:03:51 5d3b04190fa2: Pulling fs layer 06:03:51 2f39f015ded8: Pulling fs layer 06:03:51 3a2ae6a8a46f: Waiting 06:03:51 33b1e0a273af: Waiting 06:03:51 5d3b04190fa2: Waiting 06:03:51 2f39f015ded8: Waiting 06:03:51 5c69ac0246d0: Verifying Checksum 06:03:51 5c69ac0246d0: Download complete 06:03:51 3a2ae6a8a46f: Verifying Checksum 06:03:51 3a2ae6a8a46f: Download complete 06:03:51 33b1e0a273af: Verifying Checksum 06:03:51 33b1e0a273af: Download complete 06:03:51 5d3b04190fa2: Download complete 06:03:51 ec43610c2a17: Verifying Checksum 06:03:51 ec43610c2a17: Download complete 06:03:52 5eb5b503b376: Verifying Checksum 06:03:52 5eb5b503b376: Download complete 06:03:52 2f39f015ded8: Verifying Checksum 06:03:52 2f39f015ded8: Download complete 06:03:53 5eb5b503b376: Pull complete 06:03:53 5c69ac0246d0: Pull complete 06:03:53 ec43610c2a17: Pull complete 06:03:53 3a2ae6a8a46f: Pull complete 06:03:54 33b1e0a273af: Pull complete 06:03:54 5d3b04190fa2: Pull complete 06:03:58 2f39f015ded8: Pull complete 06:03:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:58 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:03:58 $ 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 06:04:02 $ docker top dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:03 ---> job-cost.sh 06:04:03 lf-activate-venv: SKIPPING 06:04:03 INFO: No Stack... 06:04:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:04:03 INFO: Archiving Costs [Pipeline] sh 06:04:03 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 06:04:03 + cut -d, -f6 [Pipeline] lock 06:04:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] 06:04:03 Resource [jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] did not exist. Created. 06:04:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:04:04 + echo total: 0.2199999988079071 [Pipeline] stash 06:04:04 Stashed 1 file(s) [Pipeline] } 06:04:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 06:04:04 $ docker stop --time=1 dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 06:04:05 $ docker rm -f --volumes dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23673 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 06:06:25 Running in /w/workspace/device-sdk-c/78 [Pipeline] { [Pipeline] checkout 06:06:28 Selected Git installation does not exist. Using Default 06:06:28 The recommended git tool is: NONE 06:06:36 using credential edgex-jenkins-ssh 06:06:36 Cloning the remote Git repository 06:06:36 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:06:36 > git init /w/workspace/device-sdk-c/78 # timeout=10 06:06:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:06:36 > git --version # timeout=10 06:06:36 > git --version # 'git version 2.25.1' 06:06:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:06:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:38 Avoid second fetch 06:06:38 Checking out Revision 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (main) 06:06:39 Commit message: "fix: Only 20 devices end up in devmap (#555) (#518)" 06:06:39 > git config core.sparsecheckout # timeout=10 06:06:39 > git checkout -f 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:44 Dload Upload Total Spent Left Speed 06:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 06:06:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:06:45 + sudo tee /etc/docker/daemon.new 06:06:45 { 06:06:45 "registry-mirrors": [ 06:06:45 "https://nexus3.edgexfoundry.org:10001" 06:06:45 ], 06:06:45 "bip": "10.250.0.254/24", 06:06:45 "hosts": [ 06:06:45 "tcp://0.0.0.0:5555", 06:06:45 "unix:///var/run/docker.sock" 06:06:45 ], 06:06:45 "mtu": 1458, 06:06:45 "selinux-enabled": true, 06:06:45 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:45 } [Pipeline] sh 06:06:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:04 provisioning config files... 06:07:04 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/78@tmp/config1293433804175033414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:05 ---> ****-login.sh 06:07:05 nexus3.edgexfoundry.org:10001 06:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:05 Configure a credential helper to remove this warning. See 06:07:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:05 06:07:05 Login Succeeded 06:07:05 nexus3.edgexfoundry.org:10002 06:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:06 Configure a credential helper to remove this warning. See 06:07:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:06 06:07:06 Login Succeeded 06:07:06 nexus3.edgexfoundry.org:10003 06:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:06 Configure a credential helper to remove this warning. See 06:07:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:06 06:07:06 Login Succeeded 06:07:06 nexus3.edgexfoundry.org:10004 06:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:06 Configure a credential helper to remove this warning. See 06:07:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:06 06:07:06 Login Succeeded 06:07:06 ****.io 06:07:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:07 Configure a credential helper to remove this warning. See 06:07:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:07 06:07:07 Login Succeeded 06:07:07 ---> ****-login.sh ends [Pipeline] } 06:07:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:07:07 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 06:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:07:07 ========================================================= 06:07:07 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 06:07:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:08 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 06:07:08 Sending build context to Docker daemon 3.055MB 06:07:08 Step 1/22 : ARG BASE=alpine:3.18 06:07:08 Step 2/22 : FROM ${BASE} as builder 06:07:08 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 06:07:08 579b34f0a95b: Pulling fs layer 06:07:08 e71477ac5e1b: Pulling fs layer 06:07:08 579b34f0a95b: Download complete 06:07:09 579b34f0a95b: Pull complete 06:07:11 e71477ac5e1b: Verifying Checksum 06:07:11 e71477ac5e1b: Download complete 06:07:23 e71477ac5e1b: Pull complete 06:07:23 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 06:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 06:07:23 ---> 2b552cad5dd9 06:07:23 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 06:07:23 ---> Running in 7dbdd3b9c47c 06:07:24 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:07:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:07:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:07:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:07:25 Removing intermediate container 7dbdd3b9c47c 06:07:25 ---> 90e530bf577b 06:07:25 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:07:25 ---> Running in 0133091ce128 06:07:27 Removing intermediate container 0133091ce128 06:07:27 ---> 9394a8169288 06:07:27 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 hiredis-dev 06:07:27 ---> Running in c67346598837 06:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:07:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:07:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:07:30 (1/17) Installing hiredis (1.1.0-r2) 06:07:30 (2/17) Installing hiredis-dev (1.1.0-r2) 06:07:30 (3/17) Installing libcbor (0.10.2-r1) 06:07:30 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 06:07:31 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 06:07:31 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:07:31 (7/17) Installing libcbor-dev (0.10.2-r1) 06:07:31 (8/17) Installing libmenuw (6.4_p20230506-r0) 06:07:31 (9/17) Installing libpanelw (6.4_p20230506-r0) 06:07:31 (10/17) Installing libncurses++ (6.4_p20230506-r0) 06:07:31 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 06:07:31 (12/17) Installing libblkid (2.38.1-r8) 06:07:31 (13/17) Installing libuuid (2.38.1-r8) 06:07:31 (14/17) Installing libfdisk (2.38.1-r8) 06:07:31 (15/17) Installing libmount (2.38.1-r8) 06:07:31 (16/17) Installing libsmartcols (2.38.1-r8) 06:07:31 (17/17) Installing util-linux-dev (2.38.1-r8) 06:07:32 Executing busybox-1.36.1-r4.trigger 06:07:32 OK: 333 MiB in 99 packages 06:07:33 Removing intermediate container c67346598837 06:07:33 ---> 3695e3aaec0b 06:07:33 Step 6/22 : RUN mkdir /tmp/sdk 06:07:33 ---> Running in 5249747fccb0 06:07:37 Removing intermediate container 5249747fccb0 06:07:37 ---> ba9d2ba01383 06:07:37 Step 7/22 : COPY VERSION /tmp/sdk 06:07:37 ---> 8cb4149b2a82 06:07:37 Step 8/22 : COPY src /tmp/sdk/src 06:07:39 ---> 49e4fb97fd92 06:07:39 Step 9/22 : COPY include /tmp/sdk/include 06:07:40 ---> 91826808fb3f 06:07:40 Step 10/22 : COPY scripts /tmp/sdk/scripts 06:07:40 ---> 8c565fb1d17f 06:07:40 Step 11/22 : COPY LICENSE /tmp/sdk 06:07:40 ---> 1eb213ff0ee9 06:07:40 Step 12/22 : COPY Attribution.txt /tmp/sdk 06:07:41 ---> fdeb4a8880fe 06:07:41 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:07:41 ---> Running in 711e5af055da 06:07:42 + CPPCHECK=false 06:07:42 + DOCGEN=false 06:07:42 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:07:42 + '[' 0 -gt 0 ] 06:07:42 + readlink -f ./scripts/build.sh 06:07:42 + dirname /tmp/sdk/scripts/build.sh 06:07:42 + dirname /tmp/sdk/scripts 06:07:42 + ROOT=/tmp/sdk 06:07:42 + cd /tmp/sdk 06:07:42 + mkdir -p /tmp/sdk/build/release 06:07:42 + cd /tmp/sdk/build/release 06:07:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:07:43 -- The C compiler identification is GNU 12.2.1 06:07:43 -- Detecting C compiler ABI info 06:07:43 -- Detecting C compiler ABI info - done 06:07:43 -- Check for working C compiler: /usr/bin/cc - skipped 06:07:43 -- Detecting C compile features 06:07:43 -- Detecting C compile features - done 06:07:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:07:44 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:07:44 -- Found LIBYAML: /usr/lib/libyaml.so 06:07:44 -- Found LIBUUID: /usr/lib/libuuid.so 06:07:44 -- Found LIBCBOR: /usr/lib/libcbor.so 06:07:44 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:07:44 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:07:44 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:07:44 -- /opt/iotech/iot/1.5/include 06:07:44 -- C SDK 4.0.0-dev.1 for Linux 06:07:44 -- Performing Test CSDK_HAVE_ATOMIC 06:07:44 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:07:44 -- Found Curses: /usr/lib/libcurses.so 06:07:44 -- Configuring done (1.9s) 06:07:44 -- Generating done (0.3s) 06:07:45 -- Build files have been written to: /tmp/sdk/build/release 06:07:45 + make all package 06:07:45 + tee release.log 06:07:45 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:07:46 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:07:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 06:07:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:07:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:07:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:07:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:07:52 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 06:07:52 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 06:07:52 294 | while (privateConfig) 06:07:52 | ^~~~~~~~~~~~~ 06:07:52 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 06:07:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:07:52 | ^~~~~~~~~~~~~ 06:07:52 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 06:07:52 271 | while (result) 06:07:52 | ^~~~~~ 06:07:52 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 06:07:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 06:07:52 | ^~~~~~ 06:07:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:07:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:07:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:07:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:07:57 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:07:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:07:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:07:59 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:08:01 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:08:01 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:08:03 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:08:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:08:04 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:08:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:08:15 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:08:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:08:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:08:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:08:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:08:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:08:20 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:08:20 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:08:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:08:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:08:22 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:08:22 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:08:22 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:08:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:08:22 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:08:22 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:08:22 | ^ 06:08:24 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 06:08:24 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 06:08:24 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:08:24 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 06:08:24 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 06:08:24 | ^~~~~~~~~~~~~~~~~~~~~ 06:08:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:08:26 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:08:27 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:08:27 [ 68%] Linking C shared library libcsdk.so 06:08:27 [ 68%] Built target csdk 06:08:27 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:08:29 [ 72%] Linking C executable template 06:08:29 [ 72%] Built target template 06:08:29 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:08:30 [ 76%] Linking C executable device-counter 06:08:30 [ 76%] Built target device-counter 06:08:30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:08:31 [ 80%] Linking C executable device-random 06:08:32 [ 80%] Built target device-random 06:08:32 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:08:32 [ 84%] Linking C executable device-gyro 06:08:33 [ 84%] Built target device-gyro 06:08:33 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:08:34 [ 88%] Linking C executable device-bitfields 06:08:34 [ 88%] Built target device-bitfields 06:08:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:08:36 [ 92%] Linking C executable template-discovery 06:08:36 [ 92%] Built target template-discovery 06:08:36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:08:37 [ 96%] Linking C executable device-file 06:08:38 [ 96%] Built target device-file 06:08:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:08:38 [100%] Linking C executable device-terminal 06:08:39 [100%] Built target device-terminal 06:08:39 Run CPack packaging tool... 06:08:39 CPack: Create package using TGZ 06:08:39 CPack: Install projects 06:08:39 CPack: - Run preinstall target for: Csdk 06:08:40 CPack: - Install project: Csdk [] 06:08:40 CPack: Create package 06:08:40 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.1.tar.gz generated. 06:08:40 + '[' false '=' true ] 06:08:40 + '[' false '=' true ] 06:08:40 + mkdir -p /tmp/sdk/build/debug 06:08:40 + cd /tmp/sdk/build/debug 06:08:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:08:41 -- The C compiler identification is GNU 12.2.1 06:08:41 -- Detecting C compiler ABI info 06:08:41 -- Detecting C compiler ABI info - done 06:08:41 -- Check for working C compiler: /usr/bin/cc - skipped 06:08:41 -- Detecting C compile features 06:08:41 -- Detecting C compile features - done 06:08:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:08:42 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:08:42 -- Found LIBYAML: /usr/lib/libyaml.so 06:08:42 -- Found LIBUUID: /usr/lib/libuuid.so 06:08:42 -- Found LIBCBOR: /usr/lib/libcbor.so 06:08:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:08:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 06:08:42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 06:08:42 -- /opt/iotech/iot/1.5/include 06:08:42 -- C SDK 4.0.0-dev.1 for Linux 06:08:42 -- Performing Test CSDK_HAVE_ATOMIC 06:08:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:08:42 -- Found Curses: /usr/lib/libcurses.so 06:08:42 -- Configuring done (2.0s) 06:08:43 -- Generating done (0.3s) 06:08:43 -- Build files have been written to: /tmp/sdk/build/debug 06:08:43 + make 06:08:43 + tee debug.log 06:08:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:08:43 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:08:44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 06:08:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:08:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:08:45 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:08:46 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 06:08:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:08:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:08:47 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:08:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:08:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:08:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:08:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:08:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:08:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:08:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:08:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:08:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:08:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:08:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:08:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:08:55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:08:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:08:56 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:08:56 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:08:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:08:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:08:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:08:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:08:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:08:59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 06:08:59 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:08:59 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 06:08:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:08:59 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:08:59 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 06:08:59 | ^ 06:09:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:09:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:09:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:09:02 [ 68%] Linking C shared library libcsdk.so 06:09:02 [ 68%] Built target csdk 06:09:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:09:02 [ 72%] Linking C executable template 06:09:03 [ 72%] Built target template 06:09:03 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:09:03 [ 76%] Linking C executable device-counter 06:09:04 [ 76%] Built target device-counter 06:09:04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:09:04 [ 80%] Linking C executable device-random 06:09:05 [ 80%] Built target device-random 06:09:05 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:09:05 [ 84%] Linking C executable device-gyro 06:09:05 [ 84%] Built target device-gyro 06:09:05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:09:06 [ 88%] Linking C executable device-bitfields 06:09:06 [ 88%] Built target device-bitfields 06:09:06 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:09:07 [ 92%] Linking C executable template-discovery 06:09:07 [ 92%] Built target template-discovery 06:09:07 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:09:07 [ 96%] Linking C executable device-file 06:09:08 [ 96%] Built target device-file 06:09:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:09:08 [100%] Linking C executable device-terminal 06:09:09 [100%] Built target device-terminal 06:09:09 make: Entering directory '/tmp/sdk/build/release' 06:09:09 [ 68%] Built target csdk 06:09:09 [ 72%] Built target template 06:09:09 [ 76%] Built target device-counter 06:09:09 [ 80%] Built target device-random 06:09:09 [ 84%] Built target device-gyro 06:09:09 [ 88%] Built target device-bitfields 06:09:09 [ 92%] Built target template-discovery 06:09:10 [ 96%] Built target device-file 06:09:10 [100%] Built target device-terminal 06:09:10 Install the project... 06:09:10 -- Install configuration: "Release" 06:09:10 -- Installing: /usr/local/lib/libcsdk.so 06:09:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:09:10 -- Installing: /usr/local/include 06:09:10 -- Installing: /usr/local/include/devsdk 06:09:10 -- Installing: /usr/local/include/devsdk/devsdk.h 06:09:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:09:10 -- Installing: /usr/local/include/edgex 06:09:10 -- Installing: /usr/local/include/edgex/rest-server.h 06:09:10 -- Installing: /usr/local/include/edgex/edgex.h 06:09:10 -- Installing: /usr/local/include/edgex/edgex-base.h 06:09:10 -- Installing: /usr/local/include/edgex/devices.h 06:09:10 -- Installing: /usr/local/include/edgex/profiles.h 06:09:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:09:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:09:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:09:10 make: Leaving directory '/tmp/sdk/build/release' 06:09:11 Removing intermediate container 711e5af055da 06:09:11 ---> 7151965dfa93 06:09:11 Step 14/22 : FROM ${BASE} 06:09:11 ---> 2b552cad5dd9 06:09:11 Step 15/22 : LABEL maintainer="IOTech " 06:09:11 ---> Running in defb58dec9af 06:09:12 Removing intermediate container defb58dec9af 06:09:12 ---> 3ccc8c87cd5c 06:09:12 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 06:09:12 ---> Running in 11fc158d3c75 06:09:13 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:09:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:09:13 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:09:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:09:14 Removing intermediate container 11fc158d3c75 06:09:14 ---> 1adec5f6ad22 06:09:14 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:09:14 ---> Running in 587e070ba8be 06:09:16 Removing intermediate container 587e070ba8be 06:09:16 ---> 64fd76cac948 06:09: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 hiredis-dev dumb-init 06:09:16 ---> Running in 6282a01febff 06:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:09:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:09:19 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 06:09:19 (2/10) Installing curl (8.9.1-r1) 06:09:19 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 06:09:19 (4/10) Installing dumb-init (1.2.5-r2) 06:09:19 (5/10) Installing hiredis (1.1.0-r2) 06:09:19 (6/10) Installing hiredis-dev (1.1.0-r2) 06:09:19 (7/10) Installing libcbor (0.10.2-r1) 06:09:19 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 06:09:20 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 06:09:20 (10/10) Installing libuuid (2.38.1-r8) 06:09:20 Executing busybox-1.36.1-r4.trigger 06:09:20 OK: 328 MiB in 90 packages 06:09:22 Removing intermediate container 6282a01febff 06:09:22 ---> 74026696d75e 06:09:22 Step 19/22 : RUN apk --no-cache upgrade 06:09:22 ---> Running in 4c81cfd1604c 06:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:09:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:09:24 Upgrading critical system libraries and apk-tools: 06:09:24 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:09:24 Executing busybox-1.36.1-r4.trigger 06:09:24 Continuing the upgrade transaction with new apk-tools: 06:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:09:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:09:26 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 06:09:26 Executing busybox-1.36.1-r7.post-upgrade 06:09:26 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 06:09:26 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:09:26 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 06:09:26 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 06:09:26 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 06:09:26 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 06:09:26 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) 06:09:26 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 06:09:26 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 06:09:26 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 06:09:26 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 06:09:26 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 06:09:26 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 06:09:27 Executing busybox-1.36.1-r7.trigger 06:09:27 Executing ca-certificates-20240226-r0.trigger 06:09:27 OK: 328 MiB in 90 packages 06:09:29 Removing intermediate container 4c81cfd1604c 06:09:29 ---> a2f05ef139fa 06:09:29 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:09:29 ---> 76fbe8a34065 06:09:29 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 06:09:30 ---> dd3dc39d9b32 06:09:30 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:09:31 ---> 1cb30a02d8dc 06:09:31 Successfully built 1cb30a02d8dc 06:09:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:31 + docker inspect -f . ci-base-image-arm64 06:09:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:32 prd-ubuntu20.04-docker-arm64-4c-16g-23673 does not seem to be running inside a container 06:09:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/78 -v /w/workspace/device-sdk-c/78:/w/workspace/device-sdk-c/78:rw,z -v /w/workspace/device-sdk-c/78@tmp:/w/workspace/device-sdk-c/78@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-arm64 cat 06:09:34 $ docker top 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:35 + make test 06:09:35 echo "make test" 06:09:35 make test [Pipeline] } 06:09:35 $ docker stop --time=1 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 06:09:36 $ docker rm -f --volumes 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:37 + ls -al . 06:09:37 total 208 06:09:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:06 . 06:09:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 .. 06:09:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:06 .git 06:09:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 06:06 .github 06:09:37 -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 06:06 .gitignore 06:09:37 -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 06:06 Attribution.txt 06:09:37 -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 06:06 CHANGELOG.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 06:06 Doxyfile 06:09:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 06:06 GOVERNANCE.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 06:06 Jenkinsfile 06:09:37 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 06:06 LICENSE 06:09:37 -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 06:06 Makefile 06:09:37 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 06:06 OWNERS.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 06:06 README.IOT.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 06:06 README.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 06:06 README.v3.md 06:09:37 -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 06:03 VERSION 06:09:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:06 docs 06:09:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 include 06:09:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:06 scripts 06:09:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:38 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 --label arch=arm64 --label version=4.0.0-dev.1 . 06:09:38 Sending build context to Docker daemon 3.055MB 06:09:38 Step 1/18 : ARG BASE=alpine:3.18 06:09:38 Step 2/18 : FROM ${BASE} 06:09:38 ---> 1cb30a02d8dc 06:09:38 Step 3/18 : LABEL maintainer="IOTech " 06:09:38 ---> Running in eda661d77a16 06:09:38 Removing intermediate container eda661d77a16 06:09:38 ---> 81384106097b 06:09:38 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 06:09:38 ---> Running in b76d7c625f8e 06:09:39 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:09:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:09:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:09:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:09:40 Removing intermediate container b76d7c625f8e 06:09:40 ---> b56039dfcbcd 06:09:40 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 06:09:40 ---> Running in 328588f1ca06 06:09:42 Removing intermediate container 328588f1ca06 06:09:42 ---> 0505af135b1f 06:09:42 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 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 06:09:42 ---> Running in ed355ba7ee9c 06:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:09:44 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:09:45 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 06:09:46 (2/11) Installing libcbor-dev (0.10.2-r1) 06:09:46 (3/11) Installing libmenuw (6.4_p20230506-r0) 06:09:46 (4/11) Installing libpanelw (6.4_p20230506-r0) 06:09:46 (5/11) Installing libncurses++ (6.4_p20230506-r0) 06:09:46 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 06:09:46 (7/11) Installing libblkid (2.38.1-r8) 06:09:46 (8/11) Installing libfdisk (2.38.1-r8) 06:09:46 (9/11) Installing libmount (2.38.1-r8) 06:09:46 (10/11) Installing libsmartcols (2.38.1-r8) 06:09:46 (11/11) Installing util-linux-dev (2.38.1-r8) 06:09:46 Executing busybox-1.36.1-r7.trigger 06:09:46 OK: 334 MiB in 101 packages 06:09:47 Removing intermediate container ed355ba7ee9c 06:09:47 ---> 3f38ea66ed7b 06:09:47 Step 7/18 : RUN apk --no-cache upgrade 06:09:47 ---> Running in a127291db1dd 06:09:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:09:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 06:09:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:09:50 OK: 334 MiB in 101 packages 06:09:51 Removing intermediate container a127291db1dd 06:09:51 ---> b53c08b47603 06:09:51 Step 8/18 : COPY VERSION /edgex-c-sdk/ 06:09:52 ---> ee2043f376dd 06:09:52 Step 9/18 : COPY src /edgex-c-sdk/src/ 06:09:53 ---> 8dd830979da8 06:09:53 Step 10/18 : COPY include /edgex-c-sdk/include/ 06:09:53 ---> a0fb8e2abc3e 06:09:53 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 06:09:54 ---> 56c3686597fb 06:09:54 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 06:09:54 ---> a42c68300b1b 06:09:54 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 06:09:54 ---> 06997fe2e152 06:09:54 Step 14/18 : WORKDIR /edgex-c-sdk 06:09:54 ---> Running in 1e3395c1b5a1 06:09:55 Removing intermediate container 1e3395c1b5a1 06:09:55 ---> 5853e5352064 06:09:55 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 06:09:55 ---> Running in afdda473143a 06:09:55 Removing intermediate container afdda473143a 06:09:55 ---> bec28a9374e4 06:09:55 Step 16/18 : LABEL arch=arm64 06:09:55 ---> Running in 33b4661feb1b 06:09:56 Removing intermediate container 33b4661feb1b 06:09:56 ---> 26c1bf639fff 06:09:56 Step 17/18 : LABEL git_sha=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 06:09:56 ---> Running in 818d591efce6 06:09:56 Removing intermediate container 818d591efce6 06:09:56 ---> 433fa9fb3e29 06:09:56 Step 18/18 : LABEL version=4.0.0-dev.1 06:09:56 ---> Running in 7aa413e5d19e 06:09:56 Removing intermediate container 7aa413e5d19e 06:09:56 ---> 25f2e5c3ddb5 06:09:56 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:09:56 Successfully built 25f2e5c3ddb5 06:09:56 Successfully tagged device-sdk-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:57 06:09:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:09:57 arm64: Pulling from edgex-lftools-log-publisher 06:09:57 8998bd30e6a1: Pulling fs layer 06:09:57 04944245beec: Pulling fs layer 06:09:57 699f458cf7ca: Pulling fs layer 06:09:57 765212b225bb: Pulling fs layer 06:09:57 f23df028b6ca: Pulling fs layer 06:09:57 d65c8cfc05b1: Pulling fs layer 06:09:57 2437ff75d9bd: Pulling fs layer 06:09:57 f23df028b6ca: Waiting 06:09:57 d65c8cfc05b1: Waiting 06:09:57 2437ff75d9bd: Waiting 06:09:57 765212b225bb: Waiting 06:09:57 04944245beec: Verifying Checksum 06:09:57 04944245beec: Download complete 06:09:57 765212b225bb: Verifying Checksum 06:09:57 765212b225bb: Download complete 06:09:57 f23df028b6ca: Verifying Checksum 06:09:57 f23df028b6ca: Download complete 06:09:57 d65c8cfc05b1: Verifying Checksum 06:09:57 d65c8cfc05b1: Download complete 06:09:58 699f458cf7ca: Verifying Checksum 06:09:58 699f458cf7ca: Download complete 06:09:58 8998bd30e6a1: Verifying Checksum 06:09:58 8998bd30e6a1: Download complete 06:10:01 2437ff75d9bd: Verifying Checksum 06:10:01 2437ff75d9bd: Download complete 06:10:02 8998bd30e6a1: Pull complete 06:10:03 04944245beec: Pull complete 06:10:04 699f458cf7ca: Pull complete 06:10:05 765212b225bb: Pull complete 06:10:06 f23df028b6ca: Pull complete 06:10:06 d65c8cfc05b1: Pull complete 06:10:24 2437ff75d9bd: Pull complete 06:10:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:24 prd-ubuntu20.04-docker-arm64-4c-16g-23673 does not seem to be running inside a container 06:10:24 $ 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/device-sdk-c/78 -v /w/workspace/device-sdk-c/78:/w/workspace/device-sdk-c/78:rw,z -v /w/workspace/device-sdk-c/78@tmp:/w/workspace/device-sdk-c/78@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:arm64 cat 06:10:27 $ docker top 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:27 ---> job-cost.sh 06:10:27 lf-activate-venv: SKIPPING 06:10:27 INFO: No Stack... 06:10:28 INFO: Retrieving Pricing Info for: v3-standard-4 06:10:29 INFO: Archiving Costs [Pipeline] sh 06:10:29 + cat /w/workspace/device-sdk-c/78/archives/cost.csv 06:10:29 + cut -d, -f6 [Pipeline] lock 06:10:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] 06:10:29 Resource [jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] did not exist. Created. 06:10:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:10:30 /w/workspace/device-sdk-c/78@tmp/durable-25d6cf29/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:10:31 + echo total: 0.10999999940395355 [Pipeline] stash 06:10:31 Warning: overwriting stash ‘stack-cost’ 06:10:31 Stashed 1 file(s) [Pipeline] } 06:10:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 06:10:31 $ docker stop --time=1 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 06:10:33 $ docker rm -f --volumes 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 06:10:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:34 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:34 $ docker top 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 -eo pid,comm 06:10:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:34 [ssh-agent] Looking for ssh-agent implementation... 06:10:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:34 $ docker exec 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 ssh-agent 06:10:35 SSH_AUTH_SOCK=/tmp/ssh-DLhptfe1roUy/agent.31 06:10:35 SSH_AGENT_PID=37 06:10:35 Running ssh-add (command line suppressed) 06:10:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3732281008917135288.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3732281008917135288.key) 06:10:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:35 + git semver tag 06:10:35 2024-10-24 06:10:35,610 [run_tag] DEBUG tag force:False 06:10:35 2024-10-24 06:10:35,610 [check_head_tag] DEBUG check head tag 06:10:35 2024-10-24 06:10:35,611 [execute] INFO git cat-file --batch-check 06:10:35 2024-10-24 06:10:35,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:10:35 2024-10-24 06:10:35,614 [execute] INFO git cat-file --batch 06:10:35 2024-10-24 06:10:35,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 06:10:35 2024-10-24 06:10:35,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:10:35 2024-10-24 06:10:35,632 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 06:10:35 2024-10-24 06:10:35,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 06:10:35 2024-10-24 06:10:35,636 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:10:35 4.0.0-dev.1 [Pipeline] } 06:10:35 $ docker exec --env ******** --env ******** 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 ssh-agent -k 06:10:35 unset SSH_AUTH_SOCK; 06:10:35 unset SSH_AGENT_PID; 06:10:35 echo Agent pid 37 killed; 06:10:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:36 + git semver [Pipeline] } 06:10:36 $ docker stop --time=1 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 06:10:37 $ docker rm -f --volumes 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:38 06:10:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:38 0.23.1-centos7: Pulling from edgex-lftools 06:10:38 ab5ef0e58194: Pulling fs layer 06:10:38 9712f1f96733: Pulling fs layer 06:10:38 63f879dbbcfc: Pulling fs layer 06:10:38 0d9ebad4ef96: Pulling fs layer 06:10:38 e9a5061849ea: Pulling fs layer 06:10:38 d747dcd14b5f: Pulling fs layer 06:10:38 2de7ff778b66: Pulling fs layer 06:10:38 e9a5061849ea: Waiting 06:10:38 d747dcd14b5f: Waiting 06:10:38 2de7ff778b66: Waiting 06:10:38 0d9ebad4ef96: Waiting 06:10:38 9712f1f96733: Download complete 06:10:38 63f879dbbcfc: Verifying Checksum 06:10:38 63f879dbbcfc: Download complete 06:10:38 e9a5061849ea: Verifying Checksum 06:10:38 e9a5061849ea: Download complete 06:10:38 0d9ebad4ef96: Verifying Checksum 06:10:38 0d9ebad4ef96: Download complete 06:10:38 d747dcd14b5f: Verifying Checksum 06:10:38 d747dcd14b5f: Download complete 06:10:39 ab5ef0e58194: Verifying Checksum 06:10:39 ab5ef0e58194: Download complete 06:10:39 2de7ff778b66: Verifying Checksum 06:10:39 2de7ff778b66: Download complete 06:10:41 ab5ef0e58194: Pull complete 06:10:41 9712f1f96733: Pull complete 06:10:42 63f879dbbcfc: Pull complete 06:10:46 0d9ebad4ef96: Pull complete 06:10:46 e9a5061849ea: Pull complete 06:10:46 d747dcd14b5f: Pull complete 06:10:46 2de7ff778b66: Pull complete 06:10:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:10:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:47 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:10:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:10:52 $ docker top 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:10:52 provisioning config files... 06:10:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16075276572013042366tmp 06:10:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9933788556493339500tmp 06:10:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15937843110394872131tmp [Pipeline] { [Pipeline] echo 06:10:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:10:53 ---> sigul-configuration.sh 06:10:53 gpg: directory `/root/.gnupg' created 06:10:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:10:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:10:53 gpg: keyring `/root/.gnupg/secring.gpg' created 06:10:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:10:53 gpg: CAST5 encrypted data 06:10:53 gpg: encrypted with 1 passphrase 06:10:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:10:53 + mkdir /home/jenkins 06:10:53 + mkdir /home/jenkins/sigul [Pipeline] sh 06:10:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:10:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:10:54 ---> sigul-install.sh 06:10:54 Sigul already installed; skipping installation. [Pipeline] sh 06:10:54 + git tag --list 06:10:54 0.7.0 06:10:54 0.7.1 06:10:54 1.0.0 06:10:54 v1.0.1 06:10:54 v1.0.2 06:10:54 v1.0.3 06:10:54 v1.1.0 06:10:54 v1.1.1 06:10:54 v1.2.0 06:10:54 v1.2.1 06:10:54 v1.2.2 06:10:54 v1.3.0 06:10:54 v1.3.1 06:10:54 v2.0.0 06:10:54 v2.1.0 06:10:54 v2.2.0 06:10:54 v2.3.0 06:10:54 v3.0 06:10:54 v3.0.0 06:10:54 v3.0.1 06:10:54 v3.0.2 06:10:54 v3.0.3-dev.1 06:10:54 v3.0.3-dev.10 06:10:54 v3.0.3-dev.11 06:10:54 v3.0.3-dev.12 06:10:54 v3.0.3-dev.13 06:10:54 v3.0.3-dev.14 06:10:54 v3.0.3-dev.15 06:10:54 v3.0.3-dev.16 06:10:54 v3.0.3-dev.17 06:10:54 v3.0.3-dev.2 06:10:54 v3.0.3-dev.3 06:10:54 v3.0.3-dev.4 06:10:54 v3.0.3-dev.5 06:10:54 v3.0.3-dev.6 06:10:54 v3.0.3-dev.7 06:10:54 v3.0.3-dev.8 06:10:54 v3.0.3-dev.9 06:10:54 v3.1 06:10:54 v3.1.0 06:10:54 v3.1.0-dev.1 06:10:54 v3.1.0-dev.2 06:10:54 v3.1.0-dev.3 06:10:54 v3.1.0-dev.4 06:10:54 v3.1.0-dev.5 06:10:54 v3.1.0-dev.6 06:10:54 v3.1.0-dev.7 06:10:54 v3.1.0-dev.8 06:10:54 v3.1.0-dev.9 06:10:54 v3.1.1 06:10:54 v3.1.1-dev.1 06:10:54 v4.0.0-dev.1 [Pipeline] sh 06:10:54 + lftools sign git-tag v4.0.0-dev.1 06:10:55 Signing Git tag with Sigul... 06:10:55 Signing v4.0.0-dev.1 [Pipeline] echo 06:10:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:10:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:10:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:10:55 $ docker stop --time=1 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 06:10:57 $ docker rm -f --volumes 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:10:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:57 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:10:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:59 $ docker top 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:59 [ssh-agent] Looking for ssh-agent implementation... 06:10:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:59 $ docker exec 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b ssh-agent 06:10:59 SSH_AUTH_SOCK=/tmp/ssh-lHc9pknO9BxH/agent.33 06:10:59 SSH_AGENT_PID=39 06:10:59 Running ssh-add (command line suppressed) 06:10:59 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2894779115071109355.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2894779115071109355.key) 06:10:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:59 + git semver bump pre 06:11:00 2024-10-24 06:11:00,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:11:00 2024-10-24 06:11:00,101 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 06:11:00 2024-10-24 06:11:00,101 [bump_version] DEBUG bumped version:4.0.0-dev.2 06:11:00 2024-10-24 06:11:00,101 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 06:11:00 2024-10-24 06:11:00,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:11:00 2024-10-24 06:11:00,101 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:11:00 2024-10-24 06:11:00,103 [execute] INFO git cat-file --batch-check 06:11:00 2024-10-24 06:11:00,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:00 2024-10-24 06:11:00,109 [execute] INFO git cat-file --batch 06:11:00 2024-10-24 06:11:00,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:00 2024-10-24 06:11:00,114 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:11:00 4.0.0-dev.2 [Pipeline] } 06:11:00 $ docker exec --env ******** --env ******** 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b ssh-agent -k 06:11:00 unset SSH_AUTH_SOCK; 06:11:00 unset SSH_AGENT_PID; 06:11:00 echo Agent pid 39 killed; 06:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:01 + git semver [Pipeline] } 06:11:01 $ docker stop --time=1 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b 06:11:05 $ docker rm -f --volumes 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b [Pipeline] // withDockerContainer [Pipeline] sh 06:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:06 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:11:07 $ docker top e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:11:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:11:07 [ssh-agent] Looking for ssh-agent implementation... 06:11:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:11:07 $ docker exec e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 ssh-agent 06:11:07 SSH_AUTH_SOCK=/tmp/ssh-RpoLUoiAng3G/agent.31 06:11:07 SSH_AGENT_PID=37 06:11:07 Running ssh-add (command line suppressed) 06:11:07 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17109190898591751249.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17109190898591751249.key) 06:11:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:11:07 + git semver push 06:11:08 2024-10-24 06:11:08,020 [run_push] DEBUG push 06:11:08 2024-10-24 06:11:08,020 [execute] INFO git cat-file --batch-check 06:11:08 2024-10-24 06:11:08,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 06:11:08 2024-10-24 06:11:08,024 [execute] INFO git rev-list 32b029f83bfe7f6a3b15a41a891b8227b9507d2c -- 06:11:08 2024-10-24 06:11:08,025 [execute] DEBUG Popen(['git', 'rev-list', '32b029f83bfe7f6a3b15a41a891b8227b9507d2c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:11:08 2024-10-24 06:11:08,032 [execute] INFO git fetch -v origin 06:11:08 2024-10-24 06:11:08,033 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 06:11:08 2024-10-24 06:11:08,474 [run_push] DEBUG no remote changes detected 06:11:08 2024-10-24 06:11:08,474 [execute] INFO git push origin semver 06:11:08 2024-10-24 06:11:08,475 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 06:11:09 2024-10-24 06:11:09,167 [run_push] DEBUG push all version tags 06:11:09 2024-10-24 06:11:09,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:11:09 2024-10-24 06:11:09,168 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 06:11:09 2024-10-24 06:11:09,742 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 06:11:09 4.0.0-dev.2 [Pipeline] } 06:11:09 $ docker exec --env ******** --env ******** e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 ssh-agent -k 06:11:09 unset SSH_AUTH_SOCK; 06:11:09 unset SSH_AGENT_PID; 06:11:09 echo Agent pid 37 killed; 06:11:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:10 + git semver [Pipeline] } 06:11:10 $ docker stop --time=1 e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 06:11:11 $ docker rm -f --volumes e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:11:12 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 06:11:12 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:11:12 total 16 06:11:12 drwxr-xr-x 3 root root 4096 Oct 24 06:04 . 06:11:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 06:10 .. 06:11:12 drwxr-xr-x 2 root root 4096 Oct 24 06:04 cost 06:11:12 -rw-r--r-- 1 root root 83 Oct 24 06:04 cost.csv 06:11:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:11:12 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 06:11:12 total 16 06:11:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 06:04 . 06:11:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 06:10 .. 06:11:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 06:04 cost 06:11:12 -rw-r--r-- 1 jenkins jenkins 83 Oct 24 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:13 ---> package-listing.sh 06:11:13 ++ facter osfamily 06:11:13 ++ tr '[:upper:]' '[:lower:]' 06:11:13 + OS_FAMILY=debian 06:11:13 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 06:11:13 + START_PACKAGES=/tmp/packages_start.txt 06:11:13 + END_PACKAGES=/tmp/packages_end.txt 06:11:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:13 + PACKAGES=/tmp/packages_start.txt 06:11:13 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:11:13 + PACKAGES=/tmp/packages_end.txt 06:11:13 + case "${OS_FAMILY}" in 06:11:13 + dpkg -l 06:11:13 + grep '^ii' 06:11:13 + '[' -f /tmp/packages_start.txt ']' 06:11:13 + '[' -f /tmp/packages_end.txt ']' 06:11:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:13 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 06:11:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 06:11:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 06:11:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:14 prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container 06:11:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:14 $ docker top d0ec451621d267213d285008c15792ce65a587341fc7b6f90ddca790c3f36eee -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:15 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:15 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:15 + ls /var/log/sa-host 06:11:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:15 provisioning config files... 06:11:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15450245206457406772tmp [Pipeline] { [Pipeline] echo 06:11:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> create-netrc.sh [Pipeline] } 06:11:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> python-tools-install.sh [Pipeline] echo 06:11:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:16 ---> sudo-logs.sh 06:11:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:17 ---> job-cost.sh 06:11:17 lf-activate-venv: SKIPPING 06:11:17 DEBUG: total: 0.2199999988079071 06:11:17 INFO: Retrieving Stack Cost... 06:11:17 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:17 INFO: Archiving Costs [Pipeline] echo 06:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:17 ---> logs-deploy.sh 06:11:17 lf-activate-venv: SKIPPING 06:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/78 06:11:17 INFO: archiving workspace using pattern(s): 06:11:18 Archives upload complete. 06:11:18 INFO: archiving logs to Nexus