Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from de2f7dd484aed31b8929cc3252062c81ad15313f 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-ssh9498599182131792723.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh6366894676512041277.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4965074016189011068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh13774416842720572219.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-ssh1614394585222211993.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-11681’ is offline Running on prd-ubuntu20.04-docker-8c-8g-11686 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 de2f7dd484aed31b8929cc3252062c81ad15313f (main) Commit message: "feat: Implemented a discovery delete API (#514)" > 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 de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-list --no-walk 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:03:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:03:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:03:23 ========================================================= 16:03:23 EdgeX Global Pipelines Version Info 16:03:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:03:24 ------------------- 16:03:24 stable info: 16:03:24 ------------------- 16:03:24 Commited By: Cherry Wang cherry@iotechsys.com 16:03:24 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 16:03:24 Message: update stable to v1.0.264 16:03:24 ------------------- 16:03:24 experimental info: 16:03:24 ------------------- 16:03:24 Commited By: Cherry Wang cherry@iotechsys.com 16:03:24 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 16:03:24 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 16:03:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de2f7dd [Pipeline] echo 16:03:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:25 provisioning config files... 16:03:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10680770229298310147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:25 ---> ****-login.sh 16:03:25 nexus3.edgexfoundry.org:10001 16:03:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:25 Configure a credential helper to remove this warning. See 16:03:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:25 16:03:25 Login Succeeded 16:03:25 nexus3.edgexfoundry.org:10002 16:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:26 Configure a credential helper to remove this warning. See 16:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:26 16:03:26 Login Succeeded 16:03:26 nexus3.edgexfoundry.org:10003 16:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:26 Configure a credential helper to remove this warning. See 16:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:26 16:03:26 Login Succeeded 16:03:26 nexus3.edgexfoundry.org:10004 16:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:26 Configure a credential helper to remove this warning. See 16:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:26 16:03:26 Login Succeeded 16:03:26 ****.io 16:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:26 Configure a credential helper to remove this warning. See 16:03:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:26 16:03:26 Login Succeeded 16:03:26 ---> ****-login.sh ends [Pipeline] } 16:03:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 16:03:27 + git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo 16:03:27 -----------> git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f de2f7dd484aed31b8929cc3252062c81ad15313f [false] [Pipeline] sh 16:03:27 + git log --format=format:%s -1 de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo 16:03:27 ========================================================= 16:03:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:03:27 ========================================================= 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 16:03:27 + git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo 16:03:27 -----------> git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f de2f7dd484aed31b8929cc3252062c81ad15313f [false] [Pipeline] sh 16:03:28 + git log --format=format:%s -1 de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo 16:03:28 ========================================================= 16:03:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:03:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:03:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:28 + grep -v github /etc/ssh/ssh_known_hosts 16:03:28 + [ -e /tmp/ssh_known_hosts ] 16:03:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:03:28 + + sudo teeecho -a /etc/ssh/ssh_known_hosts 16:03:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:03:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:28 16:03:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:29 0.1.4: Pulling from edgex-devops/py-git-semver 16:03:29 b85a868b505f: Pulling fs layer 16:03:29 e2be974225ed: Pulling fs layer 16:03:29 339a4e72a1f5: Pulling fs layer 16:03:29 988bab9f4d93: Pulling fs layer 16:03:29 1469e6f7b9e6: Pulling fs layer 16:03:29 eaf3925da568: Pulling fs layer 16:03:29 bab4dde63d76: Pulling fs layer 16:03:29 bde34c3a00c8: Pulling fs layer 16:03:29 b352a97aabf1: Pulling fs layer 16:03:29 4872d77fe225: Pulling fs layer 16:03:29 5851b861e8e6: Pulling fs layer 16:03:29 bab4dde63d76: Waiting 16:03:29 bde34c3a00c8: Waiting 16:03:29 b352a97aabf1: Waiting 16:03:29 4872d77fe225: Waiting 16:03:29 988bab9f4d93: Waiting 16:03:29 1469e6f7b9e6: Waiting 16:03:29 5851b861e8e6: Waiting 16:03:29 eaf3925da568: Waiting 16:03:29 e2be974225ed: Verifying Checksum 16:03:29 e2be974225ed: Download complete 16:03:29 988bab9f4d93: Verifying Checksum 16:03:29 1469e6f7b9e6: Verifying Checksum 16:03:29 1469e6f7b9e6: Download complete 16:03:29 eaf3925da568: Verifying Checksum 16:03:29 eaf3925da568: Download complete 16:03:29 339a4e72a1f5: Verifying Checksum 16:03:29 339a4e72a1f5: Download complete 16:03:29 bde34c3a00c8: Verifying Checksum 16:03:29 bde34c3a00c8: Download complete 16:03:29 b352a97aabf1: Download complete 16:03:29 4872d77fe225: Download complete 16:03:29 5851b861e8e6: Download complete 16:03:29 b85a868b505f: Verifying Checksum 16:03:29 b85a868b505f: Download complete 16:03:29 bab4dde63d76: Verifying Checksum 16:03:29 bab4dde63d76: Download complete 16:03:30 b85a868b505f: Pull complete 16:03:31 e2be974225ed: Pull complete 16:03:31 339a4e72a1f5: Pull complete 16:03:31 988bab9f4d93: Pull complete 16:03:31 1469e6f7b9e6: Pull complete 16:03:31 eaf3925da568: Pull complete 16:03:33 bab4dde63d76: Pull complete 16:03:33 bde34c3a00c8: Pull complete 16:03:33 b352a97aabf1: Pull complete 16:03:33 4872d77fe225: Pull complete 16:03:33 5851b861e8e6: Pull complete 16:03:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:33 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:03:35 $ docker top 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 -eo pid,comm 16:03:35 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). 16:03:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:35 [ssh-agent] Looking for ssh-agent implementation... 16:03:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:35 $ docker exec 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent 16:03:35 SSH_AUTH_SOCK=/tmp/ssh-Ee8n2hotUWGw/agent.32 16:03:35 SSH_AGENT_PID=38 16:03:35 Running ssh-add (command line suppressed) 16:03:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12212538457183499150.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12212538457183499150.key) 16:03:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:35 + git tag --points-at HEAD [Pipeline] } 16:03:35 $ docker exec --env ******** --env ******** 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent -k 16:03:35 unset SSH_AUTH_SOCK; 16:03:35 unset SSH_AGENT_PID; 16:03:35 echo Agent pid 38 killed; 16:03:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:03:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:36 [ssh-agent] Looking for ssh-agent implementation... 16:03:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:36 $ docker exec 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent 16:03:36 SSH_AUTH_SOCK=/tmp/ssh-rygAvAgVMxeZ/agent.71 16:03:36 SSH_AGENT_PID=77 16:03:36 Running ssh-add (command line suppressed) 16:03:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9043619564779529122.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9043619564779529122.key) 16:03:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:36 + git semver init 16:03:36 2024-09-26 16:03:36,898 [run_init] DEBUG init version:0.0.0 force:False 16:03:36 2024-09-26 16:03:36,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 16:03:36 2024-09-26 16:03:36,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 16:03:36 2024-09-26 16:03:36,900 [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) 16:03:37 2024-09-26 16:03:37,653 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 16:03:37 2024-09-26 16:03:37,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 16:03:37 2024-09-26 16:03:37,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:37 2024-09-26 16:03:37,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:03:37 3.0.3-dev.17 [Pipeline] } 16:03:37 $ docker exec --env ******** --env ******** 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent -k 16:03:37 unset SSH_AUTH_SOCK; 16:03:37 unset SSH_AGENT_PID; 16:03:37 echo Agent pid 77 killed; 16:03:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:38 + git semver [Pipeline] } 16:03:38 $ docker stop --time=1 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 16:03:39 $ docker rm -f --volumes 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:03:40 Stashed 1 file(s) [Pipeline] echo 16:03:40 [edgeXSemver]: initialized semver on version 3.0.3-dev.17 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:40 provisioning config files... 16:03:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1478147015334191745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:40 ---> ****-login.sh 16:03:40 nexus3.edgexfoundry.org:10001 16:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:40 Configure a credential helper to remove this warning. See 16:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:40 16:03:40 Login Succeeded 16:03:40 nexus3.edgexfoundry.org:10002 16:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:40 Configure a credential helper to remove this warning. See 16:03:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:40 16:03:40 Login Succeeded 16:03:40 nexus3.edgexfoundry.org:10003 16:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:41 Configure a credential helper to remove this warning. See 16:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:41 16:03:41 Login Succeeded 16:03:41 nexus3.edgexfoundry.org:10004 16:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:41 Configure a credential helper to remove this warning. See 16:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:41 16:03:41 Login Succeeded 16:03:41 ****.io 16:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:03:41 Configure a credential helper to remove this warning. See 16:03:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:03:41 16:03:41 Login Succeeded 16:03:41 ---> ****-login.sh ends [Pipeline] } 16:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:03:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 16:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:03:41 ========================================================= 16:03:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 16:03:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:41 + 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 . 16:03:41 Sending build context to Docker daemon 5.08MB 16:03:41 Step 1/22 : ARG BASE=alpine:3.18 16:03:41 Step 2/22 : FROM ${BASE} as builder 16:03:41 latest: Pulling from edgex-devops/edgex-gcc-base 16:03:41 96526aa774ef: Pulling fs layer 16:03:41 da60e534fd72: Pulling fs layer 16:03:42 96526aa774ef: Verifying Checksum 16:03:42 96526aa774ef: Download complete 16:03:42 96526aa774ef: Pull complete 16:03:43 da60e534fd72: Verifying Checksum 16:03:43 da60e534fd72: Download complete 16:03:46 da60e534fd72: Pull complete 16:03:46 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 16:03:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 16:03:46 ---> 6605166a5db4 16:03:46 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 16:03:46 ---> Running in 6b8fc7f686dc 16:03:47 Connecting to iotech.jfrog.io (54.73.4.50:443) 16:03:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:03:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:03:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:03:47 Removing intermediate container 6b8fc7f686dc 16:03:47 ---> ed53f3a808e2 16:03:47 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:03:47 ---> Running in 14d865105a73 16:03:48 Removing intermediate container 14d865105a73 16:03:48 ---> de2780d0f26f 16:03:48 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 16:03:48 ---> Running in f5c278650497 16:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:03:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:03:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:03:49 (1/17) Installing hiredis (1.1.0-r2) 16:03:49 (2/17) Installing hiredis-dev (1.1.0-r2) 16:03:49 (3/17) Installing libcbor (0.10.2-r1) 16:03:49 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 16:03:50 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 16:03:50 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:03:50 (7/17) Installing libcbor-dev (0.10.2-r1) 16:03:50 (8/17) Installing libmenuw (6.4_p20230506-r0) 16:03:50 (9/17) Installing libpanelw (6.4_p20230506-r0) 16:03:50 (10/17) Installing libncurses++ (6.4_p20230506-r0) 16:03:50 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 16:03:50 (12/17) Installing libblkid (2.38.1-r8) 16:03:50 (13/17) Installing libuuid (2.38.1-r8) 16:03:50 (14/17) Installing libfdisk (2.38.1-r8) 16:03:50 (15/17) Installing libmount (2.38.1-r8) 16:03:50 (16/17) Installing libsmartcols (2.38.1-r8) 16:03:50 (17/17) Installing util-linux-dev (2.38.1-r8) 16:03:50 Executing busybox-1.36.1-r4.trigger 16:03:50 OK: 336 MiB in 99 packages 16:03:51 Removing intermediate container f5c278650497 16:03:51 ---> f03629511eca 16:03:51 Step 6/22 : RUN mkdir /tmp/sdk 16:03:51 ---> Running in 45bdb1985171 16:03:51 Removing intermediate container 45bdb1985171 16:03:51 ---> e5c20d33979a 16:03:51 Step 7/22 : COPY VERSION /tmp/sdk 16:03:51 ---> f5fc961e74d7 16:03:51 Step 8/22 : COPY src /tmp/sdk/src 16:03:52 ---> d19742a7ffcd 16:03:52 Step 9/22 : COPY include /tmp/sdk/include 16:03:52 ---> 3e2393d9a57d 16:03:52 Step 10/22 : COPY scripts /tmp/sdk/scripts 16:03:52 ---> 88f2be3774c9 16:03:52 Step 11/22 : COPY LICENSE /tmp/sdk 16:03:52 ---> 248a078e2aae 16:03:52 Step 12/22 : COPY Attribution.txt /tmp/sdk 16:03:52 ---> 0d58e97ca2e7 16:03:52 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:03:52 ---> Running in 1a0c36e0b1fb 16:03:52 + CPPCHECK=false 16:03:52 + DOCGEN=false 16:03:52 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 16:03:52 + '[' 0 -gt 0 ] 16:03:52 + readlink -f ./scripts/build.sh 16:03:52 + dirname /tmp/sdk/scripts/build.sh 16:03:52 + dirname /tmp/sdk/scripts 16:03:52 + ROOT=/tmp/sdk 16:03:52 + cd /tmp/sdk 16:03:52 + mkdir -p /tmp/sdk/build/release 16:03:52 + cd /tmp/sdk/build/release 16:03:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:03:52 -- The C compiler identification is GNU 12.2.1 16:03:53 -- Detecting C compiler ABI info 16:03:53 -- Detecting C compiler ABI info - done 16:03:53 -- Check for working C compiler: /usr/bin/cc - skipped 16:03:53 -- Detecting C compile features 16:03:53 -- Detecting C compile features - done 16:03:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:03:53 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:03:53 -- Found LIBYAML: /usr/lib/libyaml.so 16:03:53 -- Found LIBUUID: /usr/lib/libuuid.so 16:03:53 -- Found LIBCBOR: /usr/lib/libcbor.so 16:03:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:03:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:03:53 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:03:53 -- /opt/iotech/iot/1.5/include 16:03:53 -- C SDK 3.0.3-dev.17 for Linux 16:03:53 -- Performing Test CSDK_HAVE_ATOMIC 16:03:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:03:53 -- Found Curses: /usr/lib/libcurses.so 16:03:53 -- Configuring done (0.4s) 16:03:53 -- Generating done (0.0s) 16:03:53 -- Build files have been written to: /tmp/sdk/build/release 16:03:53 + make+ alltee package release.log 16:03:53 16:03:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:03:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:03:53 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 16:03:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:03:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:03:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:03:54 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:03:54 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 16:03:54 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 16:03:54 294 | while (privateConfig) 16:03:54 | ^~~~~~~~~~~~~ 16:03:54 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 16:03:54 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 16:03:54 | ^~~~~~~~~~~~~ 16:03:54 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 16:03:54 271 | while (result) 16:03:54 | ^~~~~~ 16:03:54 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 16:03:54 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 16:03:54 | ^~~~~~ 16:03:54 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:03:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:03:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:03:54 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:03:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:03:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:03:55 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:03:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:03:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:03:55 Still waiting to schedule task 16:03:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:03:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:03:56 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:03:56 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:03:56 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:03:56 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:03:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:03:57 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:03:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:03:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:03:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:03:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:03:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:03:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:03:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:03:58 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:03:58 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 16:03:58 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:03:58 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 16:03:58 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:03:58 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:03:58 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 16:03:58 | ^ 16:03:58 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 16:03:58 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 16:03:58 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:03:58 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 16:03:58 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 16:03:58 | ^~~~~~~~~~~~~~~~~~~~~ 16:03:59 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:03:59 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:03:59 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:03:59 [ 68%] Linking C shared library libcsdk.so 16:03:59 [ 68%] Built target csdk 16:03:59 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:03:59 [ 72%] Linking C executable template 16:03:59 [ 72%] Built target template 16:03:59 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:03:59 [ 76%] Linking C executable device-counter 16:03:59 [ 76%] Built target device-counter 16:03:59 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:03:59 [ 80%] Linking C executable device-random 16:03:59 [ 80%] Built target device-random 16:03:59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:04:00 [ 84%] Linking C executable device-gyro 16:04:00 [ 84%] Built target device-gyro 16:04:00 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:04:00 [ 88%] Linking C executable device-bitfields 16:04:00 [ 88%] Built target device-bitfields 16:04:00 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:04:00 [ 92%] Linking C executable template-discovery 16:04:00 [ 92%] Built target template-discovery 16:04:00 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:04:00 [ 96%] Linking C executable device-file 16:04:00 [ 96%] Built target device-file 16:04:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:04:00 [100%] Linking C executable device-terminal 16:04:00 [100%] Built target device-terminal 16:04:00 Run CPack packaging tool... 16:04:00 CPack: Create package using TGZ 16:04:00 CPack: Install projects 16:04:00 CPack: - Run preinstall target for: Csdk 16:04:01 CPack: - Install project: Csdk [] 16:04:01 CPack: Create package 16:04:01 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.17.tar.gz generated. 16:04:01 + '[' false '=' true ] 16:04:01 + '[' false '=' true ] 16:04:01 + mkdir -p /tmp/sdk/build/debug 16:04:01 + cd /tmp/sdk/build/debug 16:04:01 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:04:01 -- The C compiler identification is GNU 12.2.1 16:04:01 -- Detecting C compiler ABI info 16:04:01 -- Detecting C compiler ABI info - done 16:04:01 -- Check for working C compiler: /usr/bin/cc - skipped 16:04:01 -- Detecting C compile features 16:04:01 -- Detecting C compile features - done 16:04:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:04:01 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:04:01 -- Found LIBYAML: /usr/lib/libyaml.so 16:04:01 -- Found LIBUUID: /usr/lib/libuuid.so 16:04:01 -- Found LIBCBOR: /usr/lib/libcbor.so 16:04:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:04:01 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:04:01 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:04:01 -- /opt/iotech/iot/1.5/include 16:04:01 -- C SDK 3.0.3-dev.17 for Linux 16:04:01 -- Performing Test CSDK_HAVE_ATOMIC 16:04:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:04:01 -- Found Curses: /usr/lib/libcurses.so 16:04:01 -- Configuring done (0.4s) 16:04:01 -- Generating done (0.0s) 16:04:01 -- Build files have been written to: /tmp/sdk/build/debug 16:04:01 + make 16:04:01 + tee debug.log 16:04:01 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:04:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:04:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 16:04:01 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:04:01 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:04:02 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:04:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:04:02 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:04:02 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:04:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:04:02 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:04:02 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:04:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:04:02 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:04:02 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:04:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:04:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:04:02 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:04:03 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:04:03 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:04:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:04:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:04:03 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:04:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:04:03 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:04:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:04:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:04:03 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:04:03 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:04:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:04:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:04:04 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 16:04:04 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:04:04 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 16:04:04 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:04:04 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:04:04 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 16:04:04 | ^ 16:04:04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:04:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:04:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:04:04 [ 68%] Linking C shared library libcsdk.so 16:04:04 [ 68%] Built target csdk 16:04:04 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:04:04 [ 72%] Linking C executable template 16:04:04 [ 72%] Built target template 16:04:04 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:04:04 [ 76%] Linking C executable device-counter 16:04:04 [ 76%] Built target device-counter 16:04:04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:04:04 [ 80%] Linking C executable device-random 16:04:04 [ 80%] Built target device-random 16:04:04 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:04:04 [ 84%] Linking C executable device-gyro 16:04:05 [ 84%] Built target device-gyro 16:04:05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:04:05 [ 88%] Linking C executable device-bitfields 16:04:05 [ 88%] Built target device-bitfields 16:04:05 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:04:05 [ 92%] Linking C executable template-discovery 16:04:05 [ 92%] Built target template-discovery 16:04:05 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:04:05 [ 96%] Linking C executable device-file 16:04:05 [ 96%] Built target device-file 16:04:05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:04:05 [100%] Linking C executable device-terminal 16:04:05 [100%] Built target device-terminal 16:04:05 make: Entering directory '/tmp/sdk/build/release' 16:04:05 [ 68%] Built target csdk 16:04:05 [ 72%] Built target template 16:04:06 [ 76%] Built target device-counter 16:04:06 [ 80%] Built target device-random 16:04:06 [ 84%] Built target device-gyro 16:04:06 [ 88%] Built target device-bitfields 16:04:06 [ 92%] Built target template-discovery 16:04:06 [ 96%] Built target device-file 16:04:06 [100%] Built target device-terminal 16:04:06 Install the project... 16:04:06 -- Install configuration: "Release" 16:04:06 -- Installing: /usr/local/lib/libcsdk.so 16:04:06 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:04:06 -- Installing: /usr/local/include 16:04:06 -- Installing: /usr/local/include/devsdk 16:04:06 -- Installing: /usr/local/include/devsdk/devsdk.h 16:04:06 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:04:06 -- Installing: /usr/local/include/edgex 16:04:06 -- Installing: /usr/local/include/edgex/edgex.h 16:04:06 -- Installing: /usr/local/include/edgex/devices.h 16:04:06 -- Installing: /usr/local/include/edgex/profiles.h 16:04:06 -- Installing: /usr/local/include/edgex/edgex-base.h 16:04:06 -- Installing: /usr/local/include/edgex/rest-server.h 16:04:06 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:04:06 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:04:06 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:04:06 make: Leaving directory '/tmp/sdk/build/release' 16:04:06 Removing intermediate container 1a0c36e0b1fb 16:04:06 ---> c5642315ff2d 16:04:06 Step 14/22 : FROM ${BASE} 16:04:06 ---> 6605166a5db4 16:04:06 Step 15/22 : LABEL maintainer="IOTech " 16:04:06 ---> Running in b068bbdf9da9 16:04:06 Removing intermediate container b068bbdf9da9 16:04:06 ---> 80ea36f5bc49 16:04:06 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 16:04:06 ---> Running in c5c71c855414 16:04:07 Connecting to iotech.jfrog.io (34.246.139.145:443) 16:04:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:04:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:04:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:04:07 Removing intermediate container c5c71c855414 16:04:07 ---> 9d966346af5b 16:04:07 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:04:07 ---> Running in 89a3e5693722 16:04:08 Removing intermediate container 89a3e5693722 16:04:08 ---> 99800a51f74e 16:04:08 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 16:04:08 ---> Running in 331872050b9f 16:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:04:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:04:09 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 16:04:09 (2/10) Installing curl (8.9.1-r0) 16:04:09 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 16:04:09 (4/10) Installing dumb-init (1.2.5-r2) 16:04:09 (5/10) Installing hiredis (1.1.0-r2) 16:04:09 (6/10) Installing hiredis-dev (1.1.0-r2) 16:04:09 (7/10) Installing libcbor (0.10.2-r1) 16:04:09 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 16:04:10 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:04:10 (10/10) Installing libuuid (2.38.1-r8) 16:04:10 Executing busybox-1.36.1-r4.trigger 16:04:10 OK: 331 MiB in 90 packages 16:04:10 Removing intermediate container 331872050b9f 16:04:10 ---> bd320307a1f6 16:04:10 Step 19/22 : RUN apk --no-cache upgrade 16:04:10 ---> Running in 17b538dc80fc 16:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:04:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:04:11 Upgrading critical system libraries and apk-tools: 16:04:11 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 16:04:11 Executing busybox-1.36.1-r4.trigger 16:04:11 Continuing the upgrade transaction with new apk-tools: 16:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:04:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:04:12 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 16:04:12 Executing busybox-1.36.1-r7.post-upgrade 16:04:12 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 16:04:12 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 16:04:12 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 16:04:12 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 16:04:12 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 16:04:12 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 16:04:12 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 16:04:12 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 16:04:12 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 16:04:12 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 16:04:12 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 16:04:12 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 16:04:12 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 16:04:12 Executing busybox-1.36.1-r7.trigger 16:04:12 Executing ca-certificates-20240226-r0.trigger 16:04:12 OK: 331 MiB in 90 packages 16:04:13 Removing intermediate container 17b538dc80fc 16:04:13 ---> 2058d2b41130 16:04:13 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:04:13 ---> 0d2b8a5de1e6 16:04:13 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 16:04:13 ---> eae77cf622c5 16:04:13 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:04:13 ---> ae22a643b614 16:04:13 Successfully built ae22a643b614 16:04:13 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 16:04:14 + docker inspect -f . ci-base-image-x86_64 16:04:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:14 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:04:14 $ 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 16:04:14 $ docker top 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:15 + make test 16:04:15 echo "make test" 16:04:15 make test [Pipeline] } 16:04:15 $ docker stop --time=1 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a 16:04:16 $ docker rm -f --volumes 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:17 + ls -al . 16:04:17 total 212 16:04:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:03 . 16:04:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 .. 16:04:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:03 .git 16:04:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:03 .github 16:04:17 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 16:03 .gitignore 16:04:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:03 .semver 16:04:17 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 16:03 Attribution.txt 16:04:17 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 16:03 CHANGELOG.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 16:03 Doxyfile 16:04:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:03 GOVERNANCE.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 16:03 Jenkinsfile 16:04:17 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 16:03 LICENSE 16:04:17 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 16:03 Makefile 16:04:17 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 16:03 OWNERS.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 16:03 README.IOT.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 16:03 README.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 16:03 README.v3.md 16:04:17 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:03 VERSION 16:04:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:03 docs 16:04:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 include 16:04:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:03 scripts 16:04:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:17 + 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=de2f7dd484aed31b8929cc3252062c81ad15313f --label arch=amd64 --label version=3.0.3-dev.17 . 16:04:17 Sending build context to Docker daemon 5.08MB 16:04:17 Step 1/18 : ARG BASE=alpine:3.18 16:04:17 Step 2/18 : FROM ${BASE} 16:04:17 ---> ae22a643b614 16:04:17 Step 3/18 : LABEL maintainer="IOTech " 16:04:17 ---> Running in d35b389a243a 16:04:17 Removing intermediate container d35b389a243a 16:04:17 ---> d23652116813 16:04:17 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 16:04:17 ---> Running in 61ef1912cc27 16:04:17 Connecting to iotech.jfrog.io (54.73.4.50:443) 16:04:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:04:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:04:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:04:18 Removing intermediate container 61ef1912cc27 16:04:18 ---> 68ceddc7abaf 16:04:18 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:04:18 ---> Running in 2bef41e549f5 16:04:19 Removing intermediate container 2bef41e549f5 16:04:19 ---> 7d83fa2b61a4 16:04:19 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 16:04:19 ---> Running in bda8dfd0477d 16:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:04:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:04:20 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 16:04:20 (2/11) Installing libcbor-dev (0.10.2-r1) 16:04:20 (3/11) Installing libmenuw (6.4_p20230506-r0) 16:04:20 (4/11) Installing libpanelw (6.4_p20230506-r0) 16:04:20 (5/11) Installing libncurses++ (6.4_p20230506-r0) 16:04:20 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 16:04:20 (7/11) Installing libblkid (2.38.1-r8) 16:04:20 (8/11) Installing libfdisk (2.38.1-r8) 16:04:20 (9/11) Installing libmount (2.38.1-r8) 16:04:20 (10/11) Installing libsmartcols (2.38.1-r8) 16:04:20 (11/11) Installing util-linux-dev (2.38.1-r8) 16:04:20 Executing busybox-1.36.1-r7.trigger 16:04:20 OK: 337 MiB in 101 packages 16:04:21 Removing intermediate container bda8dfd0477d 16:04:21 ---> 8ad3a3cea083 16:04:21 Step 7/18 : RUN apk --no-cache upgrade 16:04:21 ---> Running in 20d9b804efa2 16:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:04:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 16:04:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:04:22 OK: 337 MiB in 101 packages 16:04:22 Removing intermediate container 20d9b804efa2 16:04:22 ---> 989789e7e1e6 16:04:22 Step 8/18 : COPY VERSION /edgex-c-sdk/ 16:04:22 ---> 1eeace8cb787 16:04:22 Step 9/18 : COPY src /edgex-c-sdk/src/ 16:04:22 ---> cf9bf83f63a2 16:04:22 Step 10/18 : COPY include /edgex-c-sdk/include/ 16:04:23 ---> 382c68b1833c 16:04:23 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 16:04:23 ---> ed2832cbfe8a 16:04:23 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 16:04:23 ---> 18b5dfe3c436 16:04:23 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 16:04:23 ---> 82f775d11c1c 16:04:23 Step 14/18 : WORKDIR /edgex-c-sdk 16:04:23 ---> Running in 28b30a419876 16:04:23 Removing intermediate container 28b30a419876 16:04:23 ---> 311fcc3aac6d 16:04:23 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:04:23 ---> Running in bba82334afe4 16:04:23 Removing intermediate container bba82334afe4 16:04:23 ---> 59d166c0f406 16:04:23 Step 16/18 : LABEL arch=amd64 16:04:23 ---> Running in 8b9072158b02 16:04:23 Removing intermediate container 8b9072158b02 16:04:23 ---> 78380a0edef3 16:04:23 Step 17/18 : LABEL git_sha=de2f7dd484aed31b8929cc3252062c81ad15313f 16:04:23 ---> Running in fe003c06cb3c 16:04:23 Removing intermediate container fe003c06cb3c 16:04:23 ---> 90ba8ac52e00 16:04:23 Step 18/18 : LABEL version=3.0.3-dev.17 16:04:23 ---> Running in 1dc2a086bf23 16:04:23 Removing intermediate container 1dc2a086bf23 16:04:23 ---> cca582f6a367 16:04:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:04:23 Successfully built cca582f6a367 16:04:23 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 16:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:04:24 16:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:04:24 latest: Pulling from edgex-lftools-log-publisher 16:04:24 5eb5b503b376: Pulling fs layer 16:04:24 5c69ac0246d0: Pulling fs layer 16:04:24 ec43610c2a17: Pulling fs layer 16:04:24 3a2ae6a8a46f: Pulling fs layer 16:04:24 33b1e0a273af: Pulling fs layer 16:04:24 5d3b04190fa2: Pulling fs layer 16:04:24 2f39f015ded8: Pulling fs layer 16:04:24 3a2ae6a8a46f: Waiting 16:04:24 33b1e0a273af: Waiting 16:04:24 5d3b04190fa2: Waiting 16:04:24 5c69ac0246d0: Download complete 16:04:24 3a2ae6a8a46f: Download complete 16:04:24 33b1e0a273af: Verifying Checksum 16:04:24 33b1e0a273af: Download complete 16:04:24 ec43610c2a17: Verifying Checksum 16:04:24 ec43610c2a17: Download complete 16:04:24 5d3b04190fa2: Verifying Checksum 16:04:24 5d3b04190fa2: Download complete 16:04:24 5eb5b503b376: Verifying Checksum 16:04:24 5eb5b503b376: Download complete 16:04:25 2f39f015ded8: Download complete 16:04:26 5eb5b503b376: Pull complete 16:04:26 5c69ac0246d0: Pull complete 16:04:26 ec43610c2a17: Pull complete 16:04:26 3a2ae6a8a46f: Pull complete 16:04:27 33b1e0a273af: Pull complete 16:04:27 5d3b04190fa2: Pull complete 16:04:31 2f39f015ded8: Pull complete 16:04:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:31 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:04:32 $ docker top e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:33 ---> job-cost.sh 16:04:33 lf-activate-venv: SKIPPING 16:04:33 INFO: No Stack... 16:04:33 INFO: Retrieving Pricing Info for: v3-standard-8 16:04:33 INFO: Archiving Costs [Pipeline] sh 16:04:33 + cut -d, -f6 16:04:33 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock 16:04:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] 16:04:33 Resource [jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] did not exist. Created. 16:04:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:04:34 + echo total: 0.2199999988079071 [Pipeline] stash 16:04:34 Stashed 1 file(s) [Pipeline] } 16:04:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 16:04:34 $ docker stop --time=1 e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 16:04:35 $ docker rm -f --volumes e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:07:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11690 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 16:07:09 Running in /w/workspace/device-sdk-c/77 [Pipeline] { [Pipeline] checkout 16:07:12 Selected Git installation does not exist. Using Default 16:07:12 The recommended git tool is: NONE 16:07:21 using credential edgex-jenkins-ssh 16:07:21 Cloning the remote Git repository 16:07:21 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 16:07:21 > git init /w/workspace/device-sdk-c/77 # timeout=10 16:07:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 16:07:21 > git --version # timeout=10 16:07:21 > git --version # 'git version 2.25.1' 16:07:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:07:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:07:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 16:07:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:07:24 Avoid second fetch 16:07:24 Checking out Revision de2f7dd484aed31b8929cc3252062c81ad15313f (main) 16:07:24 > git config core.sparsecheckout # timeout=10 16:07:24 > git checkout -f de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 16:07:25 Commit message: "feat: Implemented a discovery delete API (#514)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:07:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:07:30 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:30 Dload Upload Total Spent Left Speed 16:07:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 16:07:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:07:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:07:31 + sudo tee /etc/docker/daemon.new 16:07:31 { 16:07:31 "registry-mirrors": [ 16:07:31 "https://nexus3.edgexfoundry.org:10001" 16:07:31 ], 16:07:31 "bip": "10.250.0.254/24", 16:07:31 "hosts": [ 16:07:31 "tcp://0.0.0.0:5555", 16:07:31 "unix:///var/run/docker.sock" 16:07:31 ], 16:07:31 "mtu": 1458, 16:07:31 "selinux-enabled": true, 16:07:31 "seccomp-profile": "/etc/docker/seccomp.json" 16:07:31 } [Pipeline] sh 16:07:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:07:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:50 provisioning config files... 16:07:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/77@tmp/config4035343790526368029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:50 ---> ****-login.sh 16:07:50 nexus3.edgexfoundry.org:10001 16:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:07:51 Configure a credential helper to remove this warning. See 16:07:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:07:51 16:07:51 Login Succeeded 16:07:51 nexus3.edgexfoundry.org:10002 16:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:07:51 Configure a credential helper to remove this warning. See 16:07:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:07:51 16:07:51 Login Succeeded 16:07:51 nexus3.edgexfoundry.org:10003 16:07:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:07:52 Configure a credential helper to remove this warning. See 16:07:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:07:52 16:07:52 Login Succeeded 16:07:52 nexus3.edgexfoundry.org:10004 16:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:07:52 Configure a credential helper to remove this warning. See 16:07:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:07:52 16:07:52 Login Succeeded 16:07:52 ****.io 16:07:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:07:52 Configure a credential helper to remove this warning. See 16:07:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:07:52 16:07:52 Login Succeeded 16:07:53 ---> ****-login.sh ends [Pipeline] } 16:07:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:07:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:07:53 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 16:07:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:07:53 ========================================================= 16:07:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 16:07:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:53 + 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 . 16:07:54 Sending build context to Docker daemon 3.042MB 16:07:54 Step 1/22 : ARG BASE=alpine:3.18 16:07:54 Step 2/22 : FROM ${BASE} as builder 16:07:54 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 16:07:54 579b34f0a95b: Pulling fs layer 16:07:54 e71477ac5e1b: Pulling fs layer 16:07:54 579b34f0a95b: Verifying Checksum 16:07:54 579b34f0a95b: Download complete 16:07:55 579b34f0a95b: Pull complete 16:07:57 e71477ac5e1b: Verifying Checksum 16:07:57 e71477ac5e1b: Download complete 16:08:09 e71477ac5e1b: Pull complete 16:08:09 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 16:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 16:08:09 ---> 2b552cad5dd9 16:08:09 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 16:08:09 ---> Running in 890bfb869573 16:08:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 16:08:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:08:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:08:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:08:11 Removing intermediate container 890bfb869573 16:08:11 ---> af5526e82b17 16:08:11 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:08:11 ---> Running in d313966baedf 16:08:13 Removing intermediate container d313966baedf 16:08:13 ---> f4a225581291 16:08:13 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 16:08:13 ---> Running in 38f1362e11eb 16:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:08:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:08:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:08:16 (1/17) Installing hiredis (1.1.0-r2) 16:08:16 (2/17) Installing hiredis-dev (1.1.0-r2) 16:08:16 (3/17) Installing libcbor (0.10.2-r1) 16:08:16 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 16:08:17 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 16:08:17 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:08:17 (7/17) Installing libcbor-dev (0.10.2-r1) 16:08:17 (8/17) Installing libmenuw (6.4_p20230506-r0) 16:08:17 (9/17) Installing libpanelw (6.4_p20230506-r0) 16:08:17 (10/17) Installing libncurses++ (6.4_p20230506-r0) 16:08:17 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 16:08:17 (12/17) Installing libblkid (2.38.1-r8) 16:08:17 (13/17) Installing libuuid (2.38.1-r8) 16:08:17 (14/17) Installing libfdisk (2.38.1-r8) 16:08:17 (15/17) Installing libmount (2.38.1-r8) 16:08:17 (16/17) Installing libsmartcols (2.38.1-r8) 16:08:17 (17/17) Installing util-linux-dev (2.38.1-r8) 16:08:17 Executing busybox-1.36.1-r4.trigger 16:08:17 OK: 333 MiB in 99 packages 16:08:19 Removing intermediate container 38f1362e11eb 16:08:19 ---> 2211e84b91f7 16:08:19 Step 6/22 : RUN mkdir /tmp/sdk 16:08:19 ---> Running in 6144126ee834 16:08:21 Removing intermediate container 6144126ee834 16:08:21 ---> 1152dab2a8a7 16:08:21 Step 7/22 : COPY VERSION /tmp/sdk 16:08:21 ---> acf478981acb 16:08:21 Step 8/22 : COPY src /tmp/sdk/src 16:08:22 ---> db302d68205d 16:08:22 Step 9/22 : COPY include /tmp/sdk/include 16:08:22 ---> 2e04772259bb 16:08:22 Step 10/22 : COPY scripts /tmp/sdk/scripts 16:08:23 ---> 7ede61416134 16:08:23 Step 11/22 : COPY LICENSE /tmp/sdk 16:08:23 ---> dba0cdf20704 16:08:23 Step 12/22 : COPY Attribution.txt /tmp/sdk 16:08:24 ---> c358404e8b36 16:08:24 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 16:08:24 ---> Running in e3b2e140b00a 16:08:25 + CPPCHECK=false 16:08:25 + DOCGEN=false 16:08:25 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 16:08:25 + '[' 0 -gt 0 ] 16:08:25 + readlink -f ./scripts/build.sh 16:08:25 + dirname /tmp/sdk/scripts/build.sh 16:08:25 + dirname /tmp/sdk/scripts 16:08:25 + ROOT=/tmp/sdk 16:08:25 + cd /tmp/sdk 16:08:25 + mkdir -p /tmp/sdk/build/release 16:08:25 + cd /tmp/sdk/build/release 16:08:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 16:08:25 -- The C compiler identification is GNU 12.2.1 16:08:25 -- Detecting C compiler ABI info 16:08:25 -- Detecting C compiler ABI info - done 16:08:25 -- Check for working C compiler: /usr/bin/cc - skipped 16:08:25 -- Detecting C compile features 16:08:25 -- Detecting C compile features - done 16:08:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:08:26 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:08:26 -- Found LIBYAML: /usr/lib/libyaml.so 16:08:26 -- Found LIBUUID: /usr/lib/libuuid.so 16:08:26 -- Found LIBCBOR: /usr/lib/libcbor.so 16:08:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:08:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:08:26 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:08:26 -- /opt/iotech/iot/1.5/include 16:08:26 -- C SDK 3.0.3-dev.17 for Linux 16:08:26 -- Performing Test CSDK_HAVE_ATOMIC 16:08:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:08:26 -- Found Curses: /usr/lib/libcurses.so 16:08:26 -- Configuring done (1.7s) 16:08:27 -- Generating done (0.2s) 16:08:27 -- Build files have been written to: /tmp/sdk/build/release 16:08:27 + make all package 16:08:27 + tee release.log 16:08:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:08:27 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:08:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 16:08:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:08:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:08:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:08:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:08:33 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 16:08:33 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 16:08:33 294 | while (privateConfig) 16:08:33 | ^~~~~~~~~~~~~ 16:08:33 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 16:08:33 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 16:08:33 | ^~~~~~~~~~~~~ 16:08:33 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 16:08:33 271 | while (result) 16:08:33 | ^~~~~~ 16:08:33 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 16:08:33 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 16:08:33 | ^~~~~~ 16:08:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:08:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:08:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:08:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:08:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:08:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:08:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:08:40 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:08:41 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:08:41 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:08:43 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:08:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:08:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:08:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:08:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:08:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:08:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:08:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:08:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:08:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:08:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:08:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:08:59 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:08:59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:09:00 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 16:09:00 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:09:00 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 16:09:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:09:00 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:09:00 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 16:09:00 | ^ 16:09:01 /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 16:09:01 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 16:09:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:09:01 /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here 16:09:01 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 16:09:01 | ^~~~~~~~~~~~~~~~~~~~~ 16:09:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:09:03 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:09:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:09:04 [ 68%] Linking C shared library libcsdk.so 16:09:04 [ 68%] Built target csdk 16:09:04 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:09:07 [ 72%] Linking C executable template 16:09:07 [ 72%] Built target template 16:09:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:09:07 [ 76%] Linking C executable device-counter 16:09:07 [ 76%] Built target device-counter 16:09:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:09:10 [ 80%] Linking C executable device-random 16:09:10 [ 80%] Built target device-random 16:09:10 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:09:10 [ 84%] Linking C executable device-gyro 16:09:10 [ 84%] Built target device-gyro 16:09:10 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:09:10 [ 88%] Linking C executable device-bitfields 16:09:10 [ 88%] Built target device-bitfields 16:09:10 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:09:10 [ 92%] Linking C executable template-discovery 16:09:10 [ 92%] Built target template-discovery 16:09:11 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:09:11 [ 96%] Linking C executable device-file 16:09:12 [ 96%] Built target device-file 16:09:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:09:12 [100%] Linking C executable device-terminal 16:09:12 [100%] Built target device-terminal 16:09:13 Run CPack packaging tool... 16:09:13 CPack: Create package using TGZ 16:09:13 CPack: Install projects 16:09:13 CPack: - Run preinstall target for: Csdk 16:09:14 CPack: - Install project: Csdk [] 16:09:14 CPack: Create package 16:09:14 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.17.tar.gz generated. 16:09:14 + '[' false '=' true ] 16:09:14 + '[' false '=' true ] 16:09:14 + mkdir -p /tmp/sdk/build/debug 16:09:14 + cd /tmp/sdk/build/debug 16:09:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 16:09:14 -- The C compiler identification is GNU 12.2.1 16:09:14 -- Detecting C compiler ABI info 16:09:14 -- Detecting C compiler ABI info - done 16:09:15 -- Check for working C compiler: /usr/bin/cc - skipped 16:09:15 -- Detecting C compile features 16:09:15 -- Detecting C compile features - done 16:09:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 16:09:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 16:09:15 -- Found LIBYAML: /usr/lib/libyaml.so 16:09:15 -- Found LIBUUID: /usr/lib/libuuid.so 16:09:15 -- Found LIBCBOR: /usr/lib/libcbor.so 16:09:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 16:09:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 16:09:15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 16:09:15 -- /opt/iotech/iot/1.5/include 16:09:15 -- C SDK 3.0.3-dev.17 for Linux 16:09:15 -- Performing Test CSDK_HAVE_ATOMIC 16:09:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 16:09:15 -- Found Curses: /usr/lib/libcurses.so 16:09:15 -- Configuring done (1.7s) 16:09:16 -- Generating done (0.2s) 16:09:16 -- Build files have been written to: /tmp/sdk/build/debug 16:09:16 + + make 16:09:16 tee debug.log 16:09:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 16:09:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 16:09:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 16:09:18 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 16:09:18 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 16:09:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 16:09:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 16:09:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 16:09:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 16:09:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 16:09:20 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 16:09:20 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 16:09:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 16:09:21 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 16:09:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 16:09:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 16:09:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 16:09:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 16:09:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 16:09:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 16:09:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 16:09:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 16:09:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 16:09:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 16:09:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 16:09:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 16:09:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 16:09:28 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 16:09:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 16:09:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 16:09:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 16:09:29 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 16:09:29 /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:09:29 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 16:09:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 16:09:29 /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16:09:29 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 16:09:29 | ^ 16:09:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 16:09:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 16:09:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 16:09:31 [ 68%] Linking C shared library libcsdk.so 16:09:31 [ 68%] Built target csdk 16:09:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 16:09:31 [ 72%] Linking C executable template 16:09:32 [ 72%] Built target template 16:09:32 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 16:09:32 [ 76%] Linking C executable device-counter 16:09:33 [ 76%] Built target device-counter 16:09:33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 16:09:33 [ 80%] Linking C executable device-random 16:09:33 [ 80%] Built target device-random 16:09:33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 16:09:34 [ 84%] Linking C executable device-gyro 16:09:34 [ 84%] Built target device-gyro 16:09:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 16:09:35 [ 88%] Linking C executable device-bitfields 16:09:35 [ 88%] Built target device-bitfields 16:09:35 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 16:09:35 [ 92%] Linking C executable template-discovery 16:09:36 [ 92%] Built target template-discovery 16:09:36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 16:09:36 [ 96%] Linking C executable device-file 16:09:37 [ 96%] Built target device-file 16:09:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 16:09:37 [100%] Linking C executable device-terminal 16:09:37 [100%] Built target device-terminal 16:09:37 make: Entering directory '/tmp/sdk/build/release' 16:09:38 [ 68%] Built target csdk 16:09:38 [ 72%] Built target template 16:09:38 [ 76%] Built target device-counter 16:09:38 [ 80%] Built target device-random 16:09:38 [ 84%] Built target device-gyro 16:09:38 [ 88%] Built target device-bitfields 16:09:38 [ 92%] Built target template-discovery 16:09:38 [ 96%] Built target device-file 16:09:38 [100%] Built target device-terminal 16:09:38 Install the project... 16:09:38 -- Install configuration: "Release" 16:09:38 -- Installing: /usr/local/lib/libcsdk.so 16:09:38 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 16:09:38 -- Installing: /usr/local/include 16:09:38 -- Installing: /usr/local/include/devsdk 16:09:38 -- Installing: /usr/local/include/devsdk/devsdk.h 16:09:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 16:09:38 -- Installing: /usr/local/include/edgex 16:09:38 -- Installing: /usr/local/include/edgex/rest-server.h 16:09:38 -- Installing: /usr/local/include/edgex/edgex.h 16:09:38 -- Installing: /usr/local/include/edgex/edgex-base.h 16:09:38 -- Installing: /usr/local/include/edgex/devices.h 16:09:38 -- Installing: /usr/local/include/edgex/profiles.h 16:09:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 16:09:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 16:09:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 16:09:38 make: Leaving directory '/tmp/sdk/build/release' 16:09:40 Removing intermediate container e3b2e140b00a 16:09:40 ---> b0eac19a1c71 16:09:40 Step 14/22 : FROM ${BASE} 16:09:40 ---> 2b552cad5dd9 16:09:40 Step 15/22 : LABEL maintainer="IOTech " 16:09:40 ---> Running in 1b078d80b0eb 16:09:40 Removing intermediate container 1b078d80b0eb 16:09:40 ---> 2706d28f22ab 16:09:40 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 16:09:40 ---> Running in cbb3dc0747bd 16:09:41 Connecting to iotech.jfrog.io (54.73.4.50:443) 16:09:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:09:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:09:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:09:43 Removing intermediate container cbb3dc0747bd 16:09:43 ---> 7b221eb177d8 16:09:43 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:09:43 ---> Running in 49698eb7099f 16:09:45 Removing intermediate container 49698eb7099f 16:09:45 ---> 3198b210f99c 16:09:45 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 16:09:45 ---> Running in b342014eed27 16:09:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:09:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:09:48 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 16:09:48 (2/10) Installing curl (8.9.1-r0) 16:09:48 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 16:09:48 (4/10) Installing dumb-init (1.2.5-r2) 16:09:48 (5/10) Installing hiredis (1.1.0-r2) 16:09:48 (6/10) Installing hiredis-dev (1.1.0-r2) 16:09:48 (7/10) Installing libcbor (0.10.2-r1) 16:09:48 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 16:09:49 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 16:09:49 (10/10) Installing libuuid (2.38.1-r8) 16:09:49 Executing busybox-1.36.1-r4.trigger 16:09:50 OK: 328 MiB in 90 packages 16:09:50 Removing intermediate container b342014eed27 16:09:50 ---> 44fa6a48da11 16:09:50 Step 19/22 : RUN apk --no-cache upgrade 16:09:50 ---> Running in 7aa7fa5a33e8 16:09:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:09:52 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:53 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:09:53 Upgrading critical system libraries and apk-tools: 16:09:53 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 16:09:53 Executing busybox-1.36.1-r4.trigger 16:09:54 Continuing the upgrade transaction with new apk-tools: 16:09:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:09:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:09:55 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 16:09:55 Executing busybox-1.36.1-r7.post-upgrade 16:09:55 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 16:09:55 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 16:09:55 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 16:09:55 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 16:09:55 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 16:09:56 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 16:09:56 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 16:09:56 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 16:09:56 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 16:09:56 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 16:09:56 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 16:09:56 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 16:09:56 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 16:09:56 Executing busybox-1.36.1-r7.trigger 16:09:56 Executing ca-certificates-20240226-r0.trigger 16:09:56 OK: 328 MiB in 90 packages 16:09:58 Removing intermediate container 7aa7fa5a33e8 16:09:58 ---> 43393251a495 16:09:58 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 16:09:59 ---> 8c2da7733dba 16:09:59 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 16:09:59 ---> 71bd8f067ea1 16:09:59 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 16:10:00 ---> ece4b68fd4b0 16:10:00 Successfully built ece4b68fd4b0 16:10:00 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 16:10:00 + docker inspect -f . ci-base-image-arm64 16:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:01 prd-ubuntu20.04-docker-arm64-4c-16g-11690 does not seem to be running inside a container 16:10:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/77 -v /w/workspace/device-sdk-c/77:/w/workspace/device-sdk-c/77:rw,z -v /w/workspace/device-sdk-c/77@tmp:/w/workspace/device-sdk-c/77@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 16:10:02 $ docker top 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:03 + make test 16:10:03 echo "make test" 16:10:03 make test [Pipeline] } 16:10:03 $ docker stop --time=1 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 16:10:05 $ docker rm -f --volumes 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:10:06 + ls -al . 16:10:06 total 208 16:10:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:07 . 16:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 .. 16:10:06 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:07 .git 16:10:06 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:07 .github 16:10:06 -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 16:07 .gitignore 16:10:06 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 16:07 Attribution.txt 16:10:06 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 16:07 CHANGELOG.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 16:07 Doxyfile 16:10:06 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:07 GOVERNANCE.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 16:07 Jenkinsfile 16:10:06 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 16:07 LICENSE 16:10:06 -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 16:07 Makefile 16:10:06 -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 16:07 OWNERS.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 16:07 README.IOT.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 16:07 README.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 16:07 README.v3.md 16:10:06 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:03 VERSION 16:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:07 docs 16:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 include 16:10:06 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:07 scripts 16:10:06 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:06 + 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=de2f7dd484aed31b8929cc3252062c81ad15313f --label arch=arm64 --label version=3.0.3-dev.17 . 16:10:06 Sending build context to Docker daemon 3.042MB 16:10:06 Step 1/18 : ARG BASE=alpine:3.18 16:10:06 Step 2/18 : FROM ${BASE} 16:10:06 ---> ece4b68fd4b0 16:10:06 Step 3/18 : LABEL maintainer="IOTech " 16:10:07 ---> Running in 0268657252bb 16:10:07 Removing intermediate container 0268657252bb 16:10:07 ---> 140c84d91026 16:10:07 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 16:10:07 ---> Running in 7086f772d159 16:10:08 Connecting to iotech.jfrog.io (34.247.22.236:443) 16:10:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 16:10:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 16:10:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 16:10:09 Removing intermediate container 7086f772d159 16:10:09 ---> f907d1b413dd 16:10:09 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 16:10:09 ---> Running in c78fd35a879c 16:10:10 Removing intermediate container c78fd35a879c 16:10:10 ---> d69997c61e17 16:10:10 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 16:10:10 ---> Running in c0a5aa75c236 16:10:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:10:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:10:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:10:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:10:13 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 16:10:13 (2/11) Installing libcbor-dev (0.10.2-r1) 16:10:13 (3/11) Installing libmenuw (6.4_p20230506-r0) 16:10:13 (4/11) Installing libpanelw (6.4_p20230506-r0) 16:10:13 (5/11) Installing libncurses++ (6.4_p20230506-r0) 16:10:13 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 16:10:13 (7/11) Installing libblkid (2.38.1-r8) 16:10:13 (8/11) Installing libfdisk (2.38.1-r8) 16:10:13 (9/11) Installing libmount (2.38.1-r8) 16:10:13 (10/11) Installing libsmartcols (2.38.1-r8) 16:10:13 (11/11) Installing util-linux-dev (2.38.1-r8) 16:10:13 Executing busybox-1.36.1-r7.trigger 16:10:13 OK: 334 MiB in 101 packages 16:10:15 Removing intermediate container c0a5aa75c236 16:10:15 ---> 6858f293cb15 16:10:15 Step 7/18 : RUN apk --no-cache upgrade 16:10:15 ---> Running in 05dbcb90d6f9 16:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:10:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 16:10:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 16:10:18 OK: 334 MiB in 101 packages 16:10:18 Removing intermediate container 05dbcb90d6f9 16:10:18 ---> aa0388c0622c 16:10:18 Step 8/18 : COPY VERSION /edgex-c-sdk/ 16:10:19 ---> 897c1ad48cae 16:10:19 Step 9/18 : COPY src /edgex-c-sdk/src/ 16:10:19 ---> 68fcefa04496 16:10:19 Step 10/18 : COPY include /edgex-c-sdk/include/ 16:10:20 ---> 2bbd1a8d56f6 16:10:20 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 16:10:21 ---> 6cfcfcaea188 16:10:21 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 16:10:21 ---> efca6da8781a 16:10:21 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 16:10:21 ---> 55c9f02062ec 16:10:21 Step 14/18 : WORKDIR /edgex-c-sdk 16:10:21 ---> Running in 646aca53d51a 16:10:22 Removing intermediate container 646aca53d51a 16:10:22 ---> b273d9121618 16:10:22 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 16:10:22 ---> Running in 9aa8c5121a35 16:10:22 Removing intermediate container 9aa8c5121a35 16:10:22 ---> a8bcdacab062 16:10:22 Step 16/18 : LABEL arch=arm64 16:10:22 ---> Running in de8d74f8411c 16:10:22 Removing intermediate container de8d74f8411c 16:10:22 ---> c14017966cc2 16:10:22 Step 17/18 : LABEL git_sha=de2f7dd484aed31b8929cc3252062c81ad15313f 16:10:22 ---> Running in 589bff499bf7 16:10:23 Removing intermediate container 589bff499bf7 16:10:23 ---> 645ef8d052fd 16:10:23 Step 18/18 : LABEL version=3.0.3-dev.17 16:10:23 ---> Running in b7ce39c98251 16:10:23 Removing intermediate container b7ce39c98251 16:10:23 ---> f9e27a7f7dc9 16:10:23 [Warning] One or more build-args [ARCH MAKE] were not consumed 16:10:23 Successfully built f9e27a7f7dc9 16:10:23 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 16:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:10:24 16:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:10:24 arm64: Pulling from edgex-lftools-log-publisher 16:10:24 8998bd30e6a1: Pulling fs layer 16:10:24 04944245beec: Pulling fs layer 16:10:24 699f458cf7ca: Pulling fs layer 16:10:24 765212b225bb: Pulling fs layer 16:10:24 f23df028b6ca: Pulling fs layer 16:10:24 d65c8cfc05b1: Pulling fs layer 16:10:24 2437ff75d9bd: Pulling fs layer 16:10:24 765212b225bb: Waiting 16:10:24 f23df028b6ca: Waiting 16:10:24 d65c8cfc05b1: Waiting 16:10:24 2437ff75d9bd: Waiting 16:10:24 04944245beec: Verifying Checksum 16:10:24 04944245beec: Download complete 16:10:24 765212b225bb: Verifying Checksum 16:10:24 765212b225bb: Download complete 16:10:25 f23df028b6ca: Verifying Checksum 16:10:25 f23df028b6ca: Download complete 16:10:25 d65c8cfc05b1: Verifying Checksum 16:10:25 d65c8cfc05b1: Download complete 16:10:25 699f458cf7ca: Verifying Checksum 16:10:25 699f458cf7ca: Download complete 16:10:25 8998bd30e6a1: Verifying Checksum 16:10:25 8998bd30e6a1: Download complete 16:10:28 2437ff75d9bd: Verifying Checksum 16:10:28 2437ff75d9bd: Download complete 16:10:29 8998bd30e6a1: Pull complete 16:10:30 04944245beec: Pull complete 16:10:32 699f458cf7ca: Pull complete 16:10:32 765212b225bb: Pull complete 16:10:33 f23df028b6ca: Pull complete 16:10:33 d65c8cfc05b1: Pull complete 16:10:51 2437ff75d9bd: Pull complete 16:10:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:10:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-11690 does not seem to be running inside a container 16:10:51 $ 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/77 -v /w/workspace/device-sdk-c/77:/w/workspace/device-sdk-c/77:rw,z -v /w/workspace/device-sdk-c/77@tmp:/w/workspace/device-sdk-c/77@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 16:10:54 $ docker top 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:55 ---> job-cost.sh 16:10:55 lf-activate-venv: SKIPPING 16:10:55 INFO: No Stack... 16:10:55 INFO: Retrieving Pricing Info for: v3-standard-4 16:10:56 INFO: Archiving Costs [Pipeline] sh 16:10:56 + cat /w/workspace/device-sdk-c/77/archives/cost.csv 16:10:56 + cut -d, -f6 [Pipeline] lock 16:10:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] 16:10:56 Resource [jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] did not exist. Created. 16:10:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:10:57 /w/workspace/device-sdk-c/77@tmp/durable-51af8ebf/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:10:58 + echo total: 0.10999999940395355 [Pipeline] stash 16:10:58 Warning: overwriting stash ‘stack-cost’ 16:10:58 Stashed 1 file(s) [Pipeline] } 16:10:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 16:10:58 $ docker stop --time=1 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 16:11:00 $ docker rm -f --volumes 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 [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 16:11:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:01 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:11:01 $ 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 16:11:01 $ docker top f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 -eo pid,comm 16:11: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). 16:11:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:01 [ssh-agent] Looking for ssh-agent implementation... 16:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:02 $ docker exec f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 ssh-agent 16:11:02 SSH_AUTH_SOCK=/tmp/ssh-fq4ab0Jra4Zy/agent.34 16:11:02 SSH_AGENT_PID=41 16:11:02 Running ssh-add (command line suppressed) 16:11:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6090464510305728543.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6090464510305728543.key) 16:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:02 + git semver tag 16:11:02 2024-09-26 16:11:02,809 [run_tag] DEBUG tag force:False 16:11:02 2024-09-26 16:11:02,810 [check_head_tag] DEBUG check head tag 16:11:02 2024-09-26 16:11:02,811 [execute] INFO git cat-file --batch-check 16:11:02 2024-09-26 16:11:02,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 16:11:02 2024-09-26 16:11:02,815 [execute] INFO git cat-file --batch 16:11:02 2024-09-26 16:11:02,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 16:11:02 2024-09-26 16:11:02,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:02 2024-09-26 16:11:02,829 [execute] INFO git tag -a v3.0.3-dev.17 -m v3.0.3-dev.17 16:11:02 2024-09-26 16:11:02,829 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.17', '-m', 'v3.0.3-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 16:11:02 2024-09-26 16:11:02,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:02 3.0.3-dev.17 [Pipeline] } 16:11:02 $ docker exec --env ******** --env ******** f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 ssh-agent -k 16:11:02 unset SSH_AUTH_SOCK; 16:11:02 unset SSH_AGENT_PID; 16:11:02 echo Agent pid 41 killed; 16:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:03 + git semver [Pipeline] } 16:11:03 $ docker stop --time=1 f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 16:11:04 $ docker rm -f --volumes f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:11:05 16:11:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:11:05 0.23.1-centos7: Pulling from edgex-lftools 16:11:05 ab5ef0e58194: Pulling fs layer 16:11:05 9712f1f96733: Pulling fs layer 16:11:05 63f879dbbcfc: Pulling fs layer 16:11:05 0d9ebad4ef96: Pulling fs layer 16:11:05 e9a5061849ea: Pulling fs layer 16:11:05 d747dcd14b5f: Pulling fs layer 16:11:05 2de7ff778b66: Pulling fs layer 16:11:05 0d9ebad4ef96: Waiting 16:11:05 e9a5061849ea: Waiting 16:11:05 d747dcd14b5f: Waiting 16:11:05 2de7ff778b66: Waiting 16:11:05 9712f1f96733: Download complete 16:11:05 63f879dbbcfc: Verifying Checksum 16:11:05 63f879dbbcfc: Download complete 16:11:06 0d9ebad4ef96: Verifying Checksum 16:11:06 0d9ebad4ef96: Download complete 16:11:06 d747dcd14b5f: Verifying Checksum 16:11:06 d747dcd14b5f: Download complete 16:11:06 e9a5061849ea: Verifying Checksum 16:11:06 e9a5061849ea: Download complete 16:11:06 ab5ef0e58194: Verifying Checksum 16:11:06 ab5ef0e58194: Download complete 16:11:06 2de7ff778b66: Verifying Checksum 16:11:06 2de7ff778b66: Download complete 16:11:08 ab5ef0e58194: Pull complete 16:11:08 9712f1f96733: Pull complete 16:11:09 63f879dbbcfc: Pull complete 16:11:12 0d9ebad4ef96: Pull complete 16:11:12 e9a5061849ea: Pull complete 16:11:12 d747dcd14b5f: Pull complete 16:11:13 2de7ff778b66: Pull complete 16:11:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:13 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:11:13 $ 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 16:11:15 $ docker top 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:11:15 provisioning config files... 16:11:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1535145767046847645tmp 16:11:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2743202405726314932tmp 16:11:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11575703151910258258tmp [Pipeline] { [Pipeline] echo 16:11:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:11:16 ---> sigul-configuration.sh 16:11:16 gpg: directory `/root/.gnupg' created 16:11:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:11:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:11:16 gpg: keyring `/root/.gnupg/secring.gpg' created 16:11:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:11:16 gpg: CAST5 encrypted data 16:11:16 gpg: encrypted with 1 passphrase 16:11:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:11:16 + mkdir /home/jenkins 16:11:16 + mkdir /home/jenkins/sigul [Pipeline] sh 16:11:16 + 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 16:11:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:11:17 ---> sigul-install.sh 16:11:17 Sigul already installed; skipping installation. [Pipeline] sh 16:11:17 + git tag --list 16:11:17 0.7.0 16:11:17 0.7.1 16:11:17 1.0.0 16:11:17 v1.0.1 16:11:17 v1.0.2 16:11:17 v1.0.3 16:11:17 v1.1.0 16:11:17 v1.1.1 16:11:17 v1.2.0 16:11:17 v1.2.1 16:11:17 v1.2.2 16:11:17 v1.3.0 16:11:17 v1.3.1 16:11:17 v2.0.0 16:11:17 v2.1.0 16:11:17 v2.2.0 16:11:17 v2.3.0 16:11:17 v3.0 16:11:17 v3.0.0 16:11:17 v3.0.1 16:11:17 v3.0.2 16:11:17 v3.0.3-dev.1 16:11:17 v3.0.3-dev.10 16:11:17 v3.0.3-dev.11 16:11:17 v3.0.3-dev.12 16:11:17 v3.0.3-dev.13 16:11:17 v3.0.3-dev.14 16:11:17 v3.0.3-dev.15 16:11:17 v3.0.3-dev.16 16:11:17 v3.0.3-dev.17 16:11:17 v3.0.3-dev.2 16:11:17 v3.0.3-dev.3 16:11:17 v3.0.3-dev.4 16:11:17 v3.0.3-dev.5 16:11:17 v3.0.3-dev.6 16:11:17 v3.0.3-dev.7 16:11:17 v3.0.3-dev.8 16:11:17 v3.0.3-dev.9 16:11:17 v3.1 16:11:17 v3.1.0 16:11:17 v3.1.0-dev.1 16:11:17 v3.1.0-dev.2 16:11:17 v3.1.0-dev.3 16:11:17 v3.1.0-dev.4 16:11:17 v3.1.0-dev.5 16:11:17 v3.1.0-dev.6 16:11:17 v3.1.0-dev.7 16:11:17 v3.1.0-dev.8 16:11:17 v3.1.0-dev.9 16:11:17 v3.1.1 16:11:17 v3.1.1-dev.1 [Pipeline] sh 16:11:17 + lftools sign git-tag v3.0.3-dev.17 16:11:18 Signing Git tag with Sigul... 16:11:18 Signing v3.0.3-dev.17 [Pipeline] echo 16:11:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:11:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:11:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:11:18 $ docker stop --time=1 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 16:11:20 $ docker rm -f --volumes 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:11:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:20 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:11:21 $ 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 16:11:21 $ docker top 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc -eo pid,comm 16:11:21 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). 16:11:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:21 [ssh-agent] Looking for ssh-agent implementation... 16:11:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:21 $ docker exec 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc ssh-agent 16:11:21 SSH_AUTH_SOCK=/tmp/ssh-nYluSvdy5cpB/agent.30 16:11:21 SSH_AGENT_PID=36 16:11:21 Running ssh-add (command line suppressed) 16:11:21 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6769411031617369814.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6769411031617369814.key) 16:11:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:22 + git semver bump pre 16:11:22 2024-09-26 16:11:22,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:22 2024-09-26 16:11:22,299 [bump_version] DEBUG bumping version:3.0.3-dev.17 on axis:pre with prefix:dev 16:11:22 2024-09-26 16:11:22,299 [bump_version] DEBUG bumped version:3.0.3-dev.18 16:11:22 2024-09-26 16:11:22,299 [write_version] DEBUG write version:3.0.3-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 16:11:22 2024-09-26 16:11:22,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:22 2024-09-26 16:11:22,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:22 2024-09-26 16:11:22,301 [execute] INFO git cat-file --batch-check 16:11:22 2024-09-26 16:11:22,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:11:22 2024-09-26 16:11:22,309 [execute] INFO git cat-file --batch 16:11:22 2024-09-26 16:11:22,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:11:22 2024-09-26 16:11:22,315 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:22 3.0.3-dev.18 [Pipeline] } 16:11:22 $ docker exec --env ******** --env ******** 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc ssh-agent -k 16:11:22 unset SSH_AUTH_SOCK; 16:11:22 unset SSH_AGENT_PID; 16:11:22 echo Agent pid 36 killed; 16:11:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:22 + git semver [Pipeline] } 16:11:23 $ docker stop --time=1 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc 16:11:24 $ docker rm -f --volumes 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc [Pipeline] // withDockerContainer [Pipeline] sh 16:11:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:25 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:11:25 $ 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 16:11:25 $ docker top 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 -eo pid,comm 16:11:25 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). 16:11:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:25 [ssh-agent] Looking for ssh-agent implementation... 16:11:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:25 $ docker exec 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 ssh-agent 16:11:25 SSH_AUTH_SOCK=/tmp/ssh-QYtn4mq4wydi/agent.32 16:11:25 SSH_AGENT_PID=38 16:11:25 Running ssh-add (command line suppressed) 16:11:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15559171169468516565.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15559171169468516565.key) 16:11:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:26 + git semver push 16:11:26 2024-09-26 16:11:26,416 [run_push] DEBUG push 16:11:26 2024-09-26 16:11:26,417 [execute] INFO git cat-file --batch-check 16:11:26 2024-09-26 16:11:26,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 16:11:26 2024-09-26 16:11:26,422 [execute] INFO git rev-list 5593f570b1c1a622daf79a0f205d2f8747fd0942 -- 16:11:26 2024-09-26 16:11:26,422 [execute] DEBUG Popen(['git', 'rev-list', '5593f570b1c1a622daf79a0f205d2f8747fd0942', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 16:11:26 2024-09-26 16:11:26,431 [execute] INFO git fetch -v origin 16:11:26 2024-09-26 16:11:26,431 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 16:11:27 2024-09-26 16:11:26,892 [run_push] DEBUG no remote changes detected 16:11:27 2024-09-26 16:11:26,892 [execute] INFO git push origin semver 16:11:27 2024-09-26 16:11:26,893 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 16:11:27 2024-09-26 16:11:27,570 [run_push] DEBUG push all version tags 16:11:27 2024-09-26 16:11:27,570 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:11:27 2024-09-26 16:11:27,571 [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) 16:11:28 2024-09-26 16:11:28,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 16:11:28 3.0.3-dev.18 [Pipeline] } 16:11:28 $ docker exec --env ******** --env ******** 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 ssh-agent -k 16:11:28 unset SSH_AUTH_SOCK; 16:11:28 unset SSH_AGENT_PID; 16:11:28 echo Agent pid 38 killed; 16:11:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:29 + git semver [Pipeline] } 16:11:29 $ docker stop --time=1 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 16:11:30 $ docker rm -f --volumes 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 [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 16:11:31 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 16:11:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:11:31 total 16 16:11:31 drwxr-xr-x 3 root root 4096 Sep 26 16:04 . 16:11:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 16:11 .. 16:11:31 drwxr-xr-x 2 root root 4096 Sep 26 16:04 cost 16:11:31 -rw-r--r-- 1 root root 83 Sep 26 16:04 cost.csv 16:11:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:11:31 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 16:11:31 total 16 16:11:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:04 . 16:11:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 16:11 .. 16:11:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 16:04 cost 16:11:31 -rw-r--r-- 1 jenkins jenkins 83 Sep 26 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:11:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:11:32 ---> package-listing.sh 16:11:32 ++ facter osfamily 16:11:32 ++ tr '[:upper:]' '[:lower:]' 16:11:32 + OS_FAMILY=debian 16:11:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 16:11:32 + START_PACKAGES=/tmp/packages_start.txt 16:11:32 + END_PACKAGES=/tmp/packages_end.txt 16:11:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:11:32 + PACKAGES=/tmp/packages_start.txt 16:11:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 16:11:32 + PACKAGES=/tmp/packages_end.txt 16:11:32 + case "${OS_FAMILY}" in 16:11:32 + dpkg -l 16:11:32 + grep '^ii' 16:11:32 + '[' -f /tmp/packages_start.txt ']' 16:11:32 + '[' -f /tmp/packages_end.txt ']' 16:11:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:11:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 16:11:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 16:11:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 16:11:32 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 16:11:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:33 prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container 16:11:33 $ 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 16:11:33 $ docker top 3dd54fcb79bb77c03b05874ee911a94357e4cc3b5b1633a3d7682624eb52bdf1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:33 + touch /tmp/pre-build-complete [Pipeline] sh 16:11:34 + mkdir -p /var/log/sysstat [Pipeline] sh 16:11:34 + ls /var/log/sa-host 16:11:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:34 provisioning config files... 16:11:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7121434742024943237tmp [Pipeline] { [Pipeline] echo 16:11:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:11:34 ---> create-netrc.sh [Pipeline] } 16:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:11:35 ---> python-tools-install.sh [Pipeline] echo 16:11:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:11:35 ---> sudo-logs.sh 16:11:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:11:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:11:35 ---> job-cost.sh 16:11:35 lf-activate-venv: SKIPPING 16:11:35 DEBUG: total: 0.2199999988079071 16:11:35 INFO: Retrieving Stack Cost... 16:11:36 INFO: Retrieving Pricing Info for: v3-standard-8 16:11:36 INFO: Archiving Costs [Pipeline] echo 16:11:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:11:36 ---> logs-deploy.sh 16:11:36 lf-activate-venv: SKIPPING 16:11:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/77 16:11:36 INFO: archiving workspace using pattern(s): 16:11:37 Archives upload complete. 16:11:37 INFO: archiving logs to Nexus