Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b 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-ssh4356235780721902734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2527594531210497746.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2081550672908286171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh13050630755045189475.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-ssh16207987875570773510.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-10691’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10693 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b (main) Commit message: "feat!: Publish System Events for device discovery and add discovery request ID (#513)" > 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-list --no-walk b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:26:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:26:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:26:16 ========================================================= 14:26:16 EdgeX Global Pipelines Version Info 14:26:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:26:17 ------------------- 14:26:17 stable info: 14:26:17 ------------------- 14:26:17 Commited By: Cherry Wang cherry@iotechsys.com 14:26:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:26:17 Message: update stable to v1.0.263 14:26:17 ------------------- 14:26:17 experimental info: 14:26:17 ------------------- 14:26:17 Commited By: Cherry Wang cherry@iotechsys.com 14:26:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:26:17 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:26:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:26:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:26:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:26:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:26:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30a24dd [Pipeline] echo 14:26:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:18 provisioning config files... 14:26:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18222591495998185335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:18 ---> ****-login.sh 14:26:18 nexus3.edgexfoundry.org:10001 14:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:19 Configure a credential helper to remove this warning. See 14:26:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:19 14:26:19 Login Succeeded 14:26:19 nexus3.edgexfoundry.org:10002 14:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:19 Configure a credential helper to remove this warning. See 14:26:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:19 14:26:19 Login Succeeded 14:26:19 nexus3.edgexfoundry.org:10003 14:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:19 Configure a credential helper to remove this warning. See 14:26:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:19 14:26:19 Login Succeeded 14:26:19 nexus3.edgexfoundry.org:10004 14:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:19 Configure a credential helper to remove this warning. See 14:26:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:19 14:26:19 Login Succeeded 14:26:19 ****.io 14:26:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:19 Configure a credential helper to remove this warning. See 14:26:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:19 14:26:19 Login Succeeded 14:26:19 ---> ****-login.sh ends [Pipeline] } 14:26:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:26:20 + git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo 14:26:20 -----------> git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b 30a24dda2410b85b52167bc1398eb9d9a2b4959b [false] [Pipeline] sh 14:26:20 + git log --format=format:%s -1 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo 14:26:20 ========================================================= 14:26:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:26:20 ========================================================= 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 14:26:21 + git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo 14:26:21 -----------> git rev-list -1 --merges 30a24dda2410b85b52167bc1398eb9d9a2b4959b~1..30a24dda2410b85b52167bc1398eb9d9a2b4959b 30a24dda2410b85b52167bc1398eb9d9a2b4959b [false] [Pipeline] sh 14:26:21 + git log --format=format:%s -1 30a24dda2410b85b52167bc1398eb9d9a2b4959b [Pipeline] echo 14:26:21 ========================================================= 14:26:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:26:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:26:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:26:21 + grep -v github /etc/ssh/ssh_known_hosts 14:26:21 + [ -e /tmp/ssh_known_hosts ] 14:26:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:26:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:26:21 + sudo tee -a /etc/ssh/ssh_known_hosts 14:26:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:22 14:26:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:22 0.1.4: Pulling from edgex-devops/py-git-semver 14:26:22 b85a868b505f: Pulling fs layer 14:26:22 e2be974225ed: Pulling fs layer 14:26:22 339a4e72a1f5: Pulling fs layer 14:26:22 988bab9f4d93: Pulling fs layer 14:26:22 1469e6f7b9e6: Pulling fs layer 14:26:22 eaf3925da568: Pulling fs layer 14:26:22 bab4dde63d76: Pulling fs layer 14:26:22 bde34c3a00c8: Pulling fs layer 14:26:22 b352a97aabf1: Pulling fs layer 14:26:22 4872d77fe225: Pulling fs layer 14:26:22 5851b861e8e6: Pulling fs layer 14:26:22 988bab9f4d93: Waiting 14:26:22 1469e6f7b9e6: Waiting 14:26:22 eaf3925da568: Waiting 14:26:22 4872d77fe225: Waiting 14:26:22 bde34c3a00c8: Waiting 14:26:22 b352a97aabf1: Waiting 14:26:22 5851b861e8e6: Waiting 14:26:22 bab4dde63d76: Waiting 14:26:22 e2be974225ed: Verifying Checksum 14:26:22 e2be974225ed: Download complete 14:26:22 988bab9f4d93: Verifying Checksum 14:26:22 988bab9f4d93: Download complete 14:26:22 1469e6f7b9e6: Verifying Checksum 14:26:22 1469e6f7b9e6: Download complete 14:26:22 eaf3925da568: Download complete 14:26:22 339a4e72a1f5: Verifying Checksum 14:26:22 339a4e72a1f5: Download complete 14:26:22 bde34c3a00c8: Verifying Checksum 14:26:22 bde34c3a00c8: Download complete 14:26:22 b352a97aabf1: Download complete 14:26:22 4872d77fe225: Download complete 14:26:22 5851b861e8e6: Verifying Checksum 14:26:22 5851b861e8e6: Download complete 14:26:22 b85a868b505f: Verifying Checksum 14:26:22 b85a868b505f: Download complete 14:26:23 bab4dde63d76: Verifying Checksum 14:26:23 bab4dde63d76: Download complete 14:26:24 b85a868b505f: Pull complete 14:26:24 e2be974225ed: Pull complete 14:26:24 339a4e72a1f5: Pull complete 14:26:24 988bab9f4d93: Pull complete 14:26:24 1469e6f7b9e6: Pull complete 14:26:25 eaf3925da568: Pull complete 14:26:26 bab4dde63d76: Pull complete 14:26:26 bde34c3a00c8: Pull complete 14:26:26 b352a97aabf1: Pull complete 14:26:26 4872d77fe225: Pull complete 14:26:26 5851b861e8e6: Pull complete 14:26:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:27 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:26:27 $ 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 14:26:30 $ docker top 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 -eo pid,comm 14:26:30 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). 14:26:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:30 [ssh-agent] Looking for ssh-agent implementation... 14:26:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:30 $ docker exec 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent 14:26:30 SSH_AUTH_SOCK=/tmp/ssh-tv6k5VRdK3m5/agent.32 14:26:30 SSH_AGENT_PID=38 14:26:30 Running ssh-add (command line suppressed) 14:26:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11304329925430476504.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11304329925430476504.key) 14:26:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:31 + git tag --points-at HEAD [Pipeline] } 14:26:31 $ docker exec --env ******** --env ******** 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent -k 14:26:31 unset SSH_AUTH_SOCK; 14:26:31 unset SSH_AGENT_PID; 14:26:31 echo Agent pid 38 killed; 14:26:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:26:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:31 [ssh-agent] Looking for ssh-agent implementation... 14:26:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:31 $ docker exec 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent 14:26:31 SSH_AUTH_SOCK=/tmp/ssh-Nt5vK48z6U3h/agent.72 14:26:31 SSH_AGENT_PID=78 14:26:31 Running ssh-add (command line suppressed) 14:26:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4161392272091032366.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4161392272091032366.key) 14:26:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:31 + git semver init 14:26:32 2024-09-19 14:26:32,113 [run_init] DEBUG init version:0.0.0 force:False 14:26:32 2024-09-19 14:26:32,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:26:32 2024-09-19 14:26:32,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 14:26:32 2024-09-19 14:26:32,115 [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) 14:26:33 2024-09-19 14:26:32,893 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 14:26:33 2024-09-19 14:26:32,893 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 14:26:33 2024-09-19 14:26:32,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:26:33 2024-09-19 14:26:32,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:26:33 3.0.3-dev.16 [Pipeline] } 14:26:33 $ docker exec --env ******** --env ******** 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 ssh-agent -k 14:26:33 unset SSH_AUTH_SOCK; 14:26:33 unset SSH_AGENT_PID; 14:26:33 echo Agent pid 78 killed; 14:26:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:33 + git semver [Pipeline] } 14:26:33 $ docker stop --time=1 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 14:26:35 $ docker rm -f --volumes 8939bf408466e6a1c001d418e948fc7f157eb30857becfc75e8340c770a0ded8 [Pipeline] // withDockerContainer [Pipeline] sh 14:26:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:26:35 Stashed 1 file(s) [Pipeline] echo 14:26:35 [edgeXSemver]: initialized semver on version 3.0.3-dev.16 [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 14:26:35 provisioning config files... 14:26:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5908465603780109843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:36 ---> ****-login.sh 14:26:36 nexus3.edgexfoundry.org:10001 14:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:36 Configure a credential helper to remove this warning. See 14:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:36 14:26:36 Login Succeeded 14:26:36 nexus3.edgexfoundry.org:10002 14:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:36 Configure a credential helper to remove this warning. See 14:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:36 14:26:36 Login Succeeded 14:26:36 nexus3.edgexfoundry.org:10003 14:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:36 Configure a credential helper to remove this warning. See 14:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:36 14:26:36 Login Succeeded 14:26:36 nexus3.edgexfoundry.org:10004 14:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:36 Configure a credential helper to remove this warning. See 14:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:36 14:26:36 Login Succeeded 14:26:36 ****.io 14:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:26:36 Configure a credential helper to remove this warning. See 14:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:26:36 14:26:36 Login Succeeded 14:26:36 ---> ****-login.sh ends [Pipeline] } 14:26:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:26:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:26:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:26:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:26:36 ========================================================= 14:26:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:26:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:37 + 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 . 14:26:37 Sending build context to Docker daemon 5.06MB 14:26:37 Step 1/22 : ARG BASE=alpine:3.18 14:26:37 Step 2/22 : FROM ${BASE} as builder 14:26:37 latest: Pulling from edgex-devops/edgex-gcc-base 14:26:37 96526aa774ef: Pulling fs layer 14:26:37 da60e534fd72: Pulling fs layer 14:26:37 96526aa774ef: Verifying Checksum 14:26:37 96526aa774ef: Download complete 14:26:37 96526aa774ef: Pull complete 14:26:38 da60e534fd72: Verifying Checksum 14:26:38 da60e534fd72: Download complete 14:26:40 da60e534fd72: Pull complete 14:26:40 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:26:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:26:40 ---> 6605166a5db4 14:26:40 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 14:26:43 ---> Running in 1f4d884e68c4 14:26:43 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:26:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:26:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:26:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:26:44 Removing intermediate container 1f4d884e68c4 14:26:44 ---> 667923e336bd 14:26:44 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:26:44 ---> Running in 702bd9aed1a8 14:26:45 Removing intermediate container 702bd9aed1a8 14:26:45 ---> bd59be2c81fd 14:26:45 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 14:26:45 ---> Running in 4d3a03b1b918 14:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:45 (1/17) Installing hiredis (1.1.0-r2) 14:26:45 (2/17) Installing hiredis-dev (1.1.0-r2) 14:26:45 (3/17) Installing libcbor (0.10.2-r1) 14:26:45 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:26:46 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:26:46 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:26:46 (7/17) Installing libcbor-dev (0.10.2-r1) 14:26:46 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:26:46 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:26:46 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:26:46 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:26:46 (12/17) Installing libblkid (2.38.1-r8) 14:26:46 (13/17) Installing libuuid (2.38.1-r8) 14:26:46 (14/17) Installing libfdisk (2.38.1-r8) 14:26:47 (15/17) Installing libmount (2.38.1-r8) 14:26:47 (16/17) Installing libsmartcols (2.38.1-r8) 14:26:47 (17/17) Installing util-linux-dev (2.38.1-r8) 14:26:47 Executing busybox-1.36.1-r4.trigger 14:26:47 OK: 336 MiB in 99 packages 14:26:47 Removing intermediate container 4d3a03b1b918 14:26:47 ---> 34396040fb1e 14:26:47 Step 6/22 : RUN mkdir /tmp/sdk 14:26:47 ---> Running in 59f15550fcc5 14:26:48 Removing intermediate container 59f15550fcc5 14:26:48 ---> 223858dda281 14:26:48 Step 7/22 : COPY VERSION /tmp/sdk 14:26:48 ---> 1426338ef4cc 14:26:48 Step 8/22 : COPY src /tmp/sdk/src 14:26:48 ---> 168eb257916a 14:26:48 Step 9/22 : COPY include /tmp/sdk/include 14:26:48 ---> f65a6e7879c1 14:26:48 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:26:48 ---> cfae2793c2e8 14:26:48 Step 11/22 : COPY LICENSE /tmp/sdk 14:26:49 ---> 2a1098245379 14:26:49 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:26:49 ---> 1283f5517c78 14:26:49 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:26:49 ---> Running in 0c6104e91019 14:26:49 + CPPCHECK=false 14:26:49 + DOCGEN=false 14:26:49 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:26:49 + '[' 0 -gt 0 ] 14:26:49 + readlink -f ./scripts/build.sh 14:26:49 + dirname /tmp/sdk/scripts/build.sh 14:26:49 + dirname /tmp/sdk/scripts 14:26:49 + ROOT=/tmp/sdk 14:26:49 + cd /tmp/sdk 14:26:49 + mkdir -p /tmp/sdk/build/release 14:26:49 + cd /tmp/sdk/build/release 14:26:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:26:49 -- The C compiler identification is GNU 12.2.1 14:26:49 -- Detecting C compiler ABI info 14:26:49 -- Detecting C compiler ABI info - done 14:26:49 -- Check for working C compiler: /usr/bin/cc - skipped 14:26:49 -- Detecting C compile features 14:26:49 -- Detecting C compile features - done 14:26:49 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:26:49 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:26:49 -- Found LIBYAML: /usr/lib/libyaml.so 14:26:49 -- Found LIBUUID: /usr/lib/libuuid.so 14:26:49 -- Found LIBCBOR: /usr/lib/libcbor.so 14:26:49 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:26:49 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:26:49 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:26:49 -- /opt/iotech/iot/1.5/include 14:26:49 -- C SDK 3.0.3-dev.16 for Linux 14:26:49 -- Performing Test CSDK_HAVE_ATOMIC 14:26:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:26:49 -- Found Curses: /usr/lib/libcurses.so 14:26:49 -- Configuring done (0.4s) 14:26:49 -- Generating done (0.0s) 14:26:49 -- Build files have been written to: /tmp/sdk/build/release 14:26:49 + make all package 14:26:49 + tee release.log 14:26:49 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:26:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:26:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:26:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:26:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:26:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:26:50 Still waiting to schedule task 14:26:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10692’ is offline 14:26:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:26:50 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:26:50 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:26:50 294 | while (privateConfig) 14:26:50 | ^~~~~~~~~~~~~ 14:26:50 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:26:50 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:26:50 | ^~~~~~~~~~~~~ 14:26:50 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:26:50 271 | while (result) 14:26:50 | ^~~~~~ 14:26:50 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:26:50 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:26:50 | ^~~~~~ 14:26:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:26:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:26:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:26:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:26:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:26:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:26:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:26:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:26:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:26:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:26:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:26:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:26:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:26:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:26:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:26:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:26:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:26:54 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:26:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:26:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:26:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:26:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:26:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:26:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:26:54 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:26:54 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:26:54 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:26:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:26:54 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:26:54 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:26:54 | ^ 14:26:55 /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:26:55 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:26:55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:26:55 /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here 14:26:55 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:26:55 | ^~~~~~~~~~~~~~~~~~~~~ 14:26:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:26:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:26:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:26:55 [ 68%] Linking C shared library libcsdk.so 14:26:55 [ 68%] Built target csdk 14:26:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:26:55 [ 72%] Linking C executable template 14:26:55 [ 72%] Built target template 14:26:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:26:55 [ 76%] Linking C executable device-counter 14:26:56 [ 76%] Built target device-counter 14:26:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:26:56 [ 80%] Linking C executable device-random 14:26:56 [ 80%] Built target device-random 14:26:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:26:56 [ 84%] Linking C executable device-gyro 14:26:56 [ 84%] Built target device-gyro 14:26:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:26:56 [ 88%] Linking C executable device-bitfields 14:26:56 [ 88%] Built target device-bitfields 14:26:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:26:56 [ 92%] Linking C executable template-discovery 14:26:56 [ 92%] Built target template-discovery 14:26:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:26:56 [ 96%] Linking C executable device-file 14:26:56 [ 96%] Built target device-file 14:26:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:26:57 [100%] Linking C executable device-terminal 14:26:57 [100%] Built target device-terminal 14:26:57 Run CPack packaging tool... 14:26:57 CPack: Create package using TGZ 14:26:57 CPack: Install projects 14:26:57 CPack: - Run preinstall target for: Csdk 14:26:57 CPack: - Install project: Csdk [] 14:26:57 CPack: Create package 14:26:57 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.16.tar.gz generated. 14:26:57 + '[' false '=' true ] 14:26:57 + '[' false '=' true ] 14:26:57 + mkdir -p /tmp/sdk/build/debug 14:26:57 + cd /tmp/sdk/build/debug 14:26:57 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:26:57 -- The C compiler identification is GNU 12.2.1 14:26:57 -- Detecting C compiler ABI info 14:26:57 -- Detecting C compiler ABI info - done 14:26:57 -- Check for working C compiler: /usr/bin/cc - skipped 14:26:57 -- Detecting C compile features 14:26:57 -- Detecting C compile features - done 14:26:57 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:26:57 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:26:57 -- Found LIBYAML: /usr/lib/libyaml.so 14:26:57 -- Found LIBUUID: /usr/lib/libuuid.so 14:26:57 -- Found LIBCBOR: /usr/lib/libcbor.so 14:26:57 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:26:57 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:26:57 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:26:57 -- /opt/iotech/iot/1.5/include 14:26:57 -- C SDK 3.0.3-dev.16 for Linux 14:26:57 -- Performing Test CSDK_HAVE_ATOMIC 14:26:57 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:26:57 -- Found Curses: /usr/lib/libcurses.so 14:26:57 -- Configuring done (0.4s) 14:26:57 -- Generating done (0.0s) 14:26:57 -- Build files have been written to: /tmp/sdk/build/debug 14:26:57 + + teemake debug.log 14:26:57 14:26:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:26:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:26:57 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:26:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:26:58 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:26:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:26:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:26:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:26:58 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:26:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:26:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:26:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:26:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:26:58 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:26:58 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:26:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:26:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:26:59 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:26:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:26:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:26:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:26:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:26:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:26:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:26:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:26:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:27:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:27:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:27:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:27:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:27:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:27:00 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:27:00 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:27:00 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:27:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:27:00 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:27:00 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:27:00 | ^ 14:27:00 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:27:00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:27:00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:27:00 [ 68%] Linking C shared library libcsdk.so 14:27:00 [ 68%] Built target csdk 14:27:00 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:27:00 [ 72%] Linking C executable template 14:27:00 [ 72%] Built target template 14:27:00 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:27:00 [ 76%] Linking C executable device-counter 14:27:01 [ 76%] Built target device-counter 14:27:01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:27:01 [ 80%] Linking C executable device-random 14:27:01 [ 80%] Built target device-random 14:27:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:27:01 [ 84%] Linking C executable device-gyro 14:27:01 [ 84%] Built target device-gyro 14:27:01 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:27:01 [ 88%] Linking C executable device-bitfields 14:27:01 [ 88%] Built target device-bitfields 14:27:01 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:27:01 [ 92%] Linking C executable template-discovery 14:27:01 [ 92%] Built target template-discovery 14:27:01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:27:01 [ 96%] Linking C executable device-file 14:27:01 [ 96%] Built target device-file 14:27:01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:27:01 [100%] Linking C executable device-terminal 14:27:01 [100%] Built target device-terminal 14:27:01 make: Entering directory '/tmp/sdk/build/release' 14:27:01 [ 68%] Built target csdk 14:27:01 [ 72%] Built target template 14:27:01 [ 76%] Built target device-counter 14:27:02 [ 80%] Built target device-random 14:27:02 [ 84%] Built target device-gyro 14:27:02 [ 88%] Built target device-bitfields 14:27:02 [ 92%] Built target template-discovery 14:27:02 [ 96%] Built target device-file 14:27:02 [100%] Built target device-terminal 14:27:02 Install the project... 14:27:02 -- Install configuration: "Release" 14:27:02 -- Installing: /usr/local/lib/libcsdk.so 14:27:02 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:27:02 -- Installing: /usr/local/include 14:27:02 -- Installing: /usr/local/include/devsdk 14:27:02 -- Installing: /usr/local/include/devsdk/devsdk.h 14:27:02 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:27:02 -- Installing: /usr/local/include/edgex 14:27:02 -- Installing: /usr/local/include/edgex/edgex.h 14:27:02 -- Installing: /usr/local/include/edgex/devices.h 14:27:02 -- Installing: /usr/local/include/edgex/profiles.h 14:27:02 -- Installing: /usr/local/include/edgex/edgex-base.h 14:27:02 -- Installing: /usr/local/include/edgex/rest-server.h 14:27:02 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:27:02 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:27:02 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:27:02 make: Leaving directory '/tmp/sdk/build/release' 14:27:02 Removing intermediate container 0c6104e91019 14:27:02 ---> 79060836cd06 14:27:02 Step 14/22 : FROM ${BASE} 14:27:02 ---> 6605166a5db4 14:27:02 Step 15/22 : LABEL maintainer="IOTech " 14:27:02 ---> Running in 7fd6e94406bb 14:27:02 Removing intermediate container 7fd6e94406bb 14:27:02 ---> 82b80297b06d 14:27:02 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 14:27:02 ---> Running in 26e28097dd6c 14:27:03 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:27:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:27:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:27:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:27:03 Removing intermediate container 26e28097dd6c 14:27:03 ---> 635c037b5948 14:27:03 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:27:03 ---> Running in b573d4d17dec 14:27:04 Removing intermediate container b573d4d17dec 14:27:04 ---> e3761c1901dd 14:27:04 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 14:27:04 ---> Running in 58412a8d875a 14:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:27:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:05 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:27:05 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:27:05 (2/10) Installing curl (8.9.1-r0) 14:27:05 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:27:05 (4/10) Installing dumb-init (1.2.5-r2) 14:27:05 (5/10) Installing hiredis (1.1.0-r2) 14:27:05 (6/10) Installing hiredis-dev (1.1.0-r2) 14:27:05 (7/10) Installing libcbor (0.10.2-r1) 14:27:05 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:27:06 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:27:06 (10/10) Installing libuuid (2.38.1-r8) 14:27:06 Executing busybox-1.36.1-r4.trigger 14:27:06 OK: 331 MiB in 90 packages 14:27:07 Removing intermediate container 58412a8d875a 14:27:07 ---> a21102e52498 14:27:07 Step 19/22 : RUN apk --no-cache upgrade 14:27:07 ---> Running in 10919ee5fc66 14:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:27:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:27:07 Upgrading critical system libraries and apk-tools: 14:27:07 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:27:07 Executing busybox-1.36.1-r4.trigger 14:27:07 Continuing the upgrade transaction with new apk-tools: 14:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:27:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:27:08 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:27:08 Executing busybox-1.36.1-r7.post-upgrade 14:27:08 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:27:08 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:27:08 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:27:08 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:27:08 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:27:08 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:27:08 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:27:08 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:27:08 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:27:08 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:27:08 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:27:08 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:27:08 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:27:08 Executing busybox-1.36.1-r7.trigger 14:27:08 Executing ca-certificates-20240226-r0.trigger 14:27:08 OK: 331 MiB in 90 packages 14:27:09 Removing intermediate container 10919ee5fc66 14:27:09 ---> 56676f5dbb1b 14:27:09 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:27:09 ---> 1a762eaa5cc3 14:27:09 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:27:09 ---> de38d5a4b0b7 14:27:09 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:27:10 ---> 74d35de2a748 14:27:10 Successfully built 74d35de2a748 14:27:10 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 14:27:10 + docker inspect -f . ci-base-image-x86_64 14:27:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:10 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:27:10 $ 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 14:27:11 $ docker top 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:11 + make test 14:27:11 echo "make test" 14:27:11 make test [Pipeline] } 14:27:11 $ docker stop --time=1 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 14:27:12 $ docker rm -f --volumes 072ccb513abc7323632c47decb64bdbaa9e020f9a30c97f937636a1b01ba6008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:27:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:27:13 + ls -al . 14:27:13 total 212 14:27:13 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 14:26 . 14:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 .. 14:27:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:26 .git 14:27:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:26 .github 14:27:13 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:26 .gitignore 14:27:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:26 .semver 14:27:13 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:26 Attribution.txt 14:27:13 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:26 CHANGELOG.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:26 Doxyfile 14:27:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:26 GOVERNANCE.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:26 Jenkinsfile 14:27:13 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:26 LICENSE 14:27:13 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:26 Makefile 14:27:13 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:26 OWNERS.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:26 README.IOT.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:26 README.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:26 README.v3.md 14:27:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 14:26 VERSION 14:27:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:26 docs 14:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 include 14:27:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:26 scripts 14:27:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:14 + 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=30a24dda2410b85b52167bc1398eb9d9a2b4959b --label arch=amd64 --label version=3.0.3-dev.16 . 14:27:14 Sending build context to Docker daemon 5.06MB 14:27:14 Step 1/18 : ARG BASE=alpine:3.18 14:27:14 Step 2/18 : FROM ${BASE} 14:27:14 ---> 74d35de2a748 14:27:14 Step 3/18 : LABEL maintainer="IOTech " 14:27:14 ---> Running in 44150cb1cfff 14:27:14 Removing intermediate container 44150cb1cfff 14:27:14 ---> 5341fb2542e4 14:27:14 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 14:27:14 ---> Running in dbaafe24950f 14:27:14 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:27:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:27:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:27:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:27:15 Removing intermediate container dbaafe24950f 14:27:15 ---> 8a4ca5de3d8f 14:27:15 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:27:15 ---> Running in d13cb22ed87d 14:27:15 Removing intermediate container d13cb22ed87d 14:27:15 ---> 5032039ca87a 14:27:15 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 14:27:15 ---> Running in cd37a078dac6 14:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:27:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:27:16 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:27:17 (2/11) Installing libcbor-dev (0.10.2-r1) 14:27:17 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:27:17 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:27:17 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:27:17 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:27:17 (7/11) Installing libblkid (2.38.1-r8) 14:27:17 (8/11) Installing libfdisk (2.38.1-r8) 14:27:17 (9/11) Installing libmount (2.38.1-r8) 14:27:17 (10/11) Installing libsmartcols (2.38.1-r8) 14:27:17 (11/11) Installing util-linux-dev (2.38.1-r8) 14:27:17 Executing busybox-1.36.1-r7.trigger 14:27:17 OK: 337 MiB in 101 packages 14:27:17 Removing intermediate container cd37a078dac6 14:27:17 ---> 6a68f98a8705 14:27:17 Step 7/18 : RUN apk --no-cache upgrade 14:27:17 ---> Running in cfbd9de8f2ba 14:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:27:17 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:27:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:27:18 OK: 337 MiB in 101 packages 14:27:19 Removing intermediate container cfbd9de8f2ba 14:27:19 ---> c2bfe8859187 14:27:19 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:27:19 ---> a801780e243d 14:27:19 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:27:19 ---> f8d392f31a6d 14:27:19 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:27:19 ---> a7e1930b5bbb 14:27:19 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:27:19 ---> 3cb1e4975bec 14:27:19 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:27:19 ---> f9b970f331d8 14:27:19 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:27:19 ---> 492dc9e7e826 14:27:19 Step 14/18 : WORKDIR /edgex-c-sdk 14:27:19 ---> Running in b9d48af6e1ae 14:27:19 Removing intermediate container b9d48af6e1ae 14:27:19 ---> 8c12344ad8da 14:27:19 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:27:19 ---> Running in 824c8443fc96 14:27:19 Removing intermediate container 824c8443fc96 14:27:19 ---> 745960ecd2ea 14:27:19 Step 16/18 : LABEL arch=amd64 14:27:19 ---> Running in 368332f88c55 14:27:19 Removing intermediate container 368332f88c55 14:27:19 ---> 1815dc0961ed 14:27:19 Step 17/18 : LABEL git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b 14:27:19 ---> Running in 32c0ed159fd2 14:27:20 Removing intermediate container 32c0ed159fd2 14:27:20 ---> 04155bf5f68e 14:27:20 Step 18/18 : LABEL version=3.0.3-dev.16 14:27:20 ---> Running in d5bc9aaea6e4 14:27:20 Removing intermediate container d5bc9aaea6e4 14:27:20 ---> c75493cc6877 14:27:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:27:20 Successfully built c75493cc6877 14:27:20 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 14:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:20 14:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:20 latest: Pulling from edgex-lftools-log-publisher 14:27:20 5eb5b503b376: Pulling fs layer 14:27:20 5c69ac0246d0: Pulling fs layer 14:27:20 ec43610c2a17: Pulling fs layer 14:27:20 3a2ae6a8a46f: Pulling fs layer 14:27:20 33b1e0a273af: Pulling fs layer 14:27:20 5d3b04190fa2: Pulling fs layer 14:27:20 2f39f015ded8: Pulling fs layer 14:27:20 33b1e0a273af: Waiting 14:27:20 3a2ae6a8a46f: Waiting 14:27:20 5d3b04190fa2: Waiting 14:27:20 2f39f015ded8: Waiting 14:27:20 5c69ac0246d0: Verifying Checksum 14:27:20 5c69ac0246d0: Download complete 14:27:20 3a2ae6a8a46f: Verifying Checksum 14:27:20 3a2ae6a8a46f: Download complete 14:27:21 33b1e0a273af: Verifying Checksum 14:27:21 33b1e0a273af: Download complete 14:27:21 5d3b04190fa2: Verifying Checksum 14:27:21 5d3b04190fa2: Download complete 14:27:21 ec43610c2a17: Verifying Checksum 14:27:21 ec43610c2a17: Download complete 14:27:21 5eb5b503b376: Verifying Checksum 14:27:21 5eb5b503b376: Download complete 14:27:21 2f39f015ded8: Download complete 14:27:22 5eb5b503b376: Pull complete 14:27:22 5c69ac0246d0: Pull complete 14:27:22 ec43610c2a17: Pull complete 14:27:23 3a2ae6a8a46f: Pull complete 14:27:23 33b1e0a273af: Pull complete 14:27:23 5d3b04190fa2: Pull complete 14:27:27 2f39f015ded8: Pull complete 14:27:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:27:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:27 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:27:27 $ 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 14:27:32 $ docker top ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:27:32 ---> job-cost.sh 14:27:32 lf-activate-venv: SKIPPING 14:27:32 INFO: No Stack... 14:27:32 INFO: Retrieving Pricing Info for: v3-standard-8 14:27:33 INFO: Archiving Costs [Pipeline] sh 14:27:33 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 14:27:33 + cut -d, -f6 [Pipeline] lock 14:27:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] 14:27:33 Resource [jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] did not exist. Created. 14:27:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:27:34 + echo total: 0.2199999988079071 [Pipeline] stash 14:27:34 Stashed 1 file(s) [Pipeline] } 14:27:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 14:27:34 $ docker stop --time=1 ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 14:27:35 $ docker rm -f --volumes ef7901267c2f76be51e7c00b21cc3f5c7c0ac45f18de3358500050caf96af792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:28:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10694 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 14:28:31 Running in /w/workspace/device-sdk-c/76 [Pipeline] { [Pipeline] checkout 14:28:34 Selected Git installation does not exist. Using Default 14:28:34 The recommended git tool is: NONE 14:28:43 using credential edgex-jenkins-ssh 14:28:43 Cloning the remote Git repository 14:28:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:28:43 > git init /w/workspace/device-sdk-c/76 # timeout=10 14:28:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:28:43 > git --version # timeout=10 14:28:44 > git --version # 'git version 2.25.1' 14:28:44 using GIT_SSH to set credentials SSH Credentials for GitHub 14:28:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:46 Avoid second fetch 14:28:46 Checking out Revision 30a24dda2410b85b52167bc1398eb9d9a2b4959b (main) 14:28:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:28:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:46 > git config core.sparsecheckout # timeout=10 14:28:47 Commit message: "feat!: Publish System Events for device discovery and add discovery request ID (#513)" 14:28:46 > git checkout -f 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:28:52 % Total % Received % Xferd Average Speed Time Time Time Current 14:28:52 Dload Upload Total Spent Left Speed 14:28:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73302 0 --:--:-- --:--:-- --:--:-- 73724 [Pipeline] sh 14:28:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:28:52 + sudo+ tee /etc/docker/daemon.new 14:28:52 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:28:52 { 14:28:52 "registry-mirrors": [ 14:28:52 "https://nexus3.edgexfoundry.org:10001" 14:28:52 ], 14:28:52 "bip": "10.250.0.254/24", 14:28:52 "hosts": [ 14:28:52 "tcp://0.0.0.0:5555", 14:28:52 "unix:///var/run/docker.sock" 14:28:52 ], 14:28:52 "mtu": 1458, 14:28:52 "selinux-enabled": true, 14:28:52 "seccomp-profile": "/etc/docker/seccomp.json" 14:28:52 } [Pipeline] sh 14:28:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:28:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:11 provisioning config files... 14:29:11 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/76@tmp/config11351011437048689915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:12 ---> ****-login.sh 14:29:12 nexus3.edgexfoundry.org:10001 14:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:29:12 Configure a credential helper to remove this warning. See 14:29:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:29:12 14:29:12 Login Succeeded 14:29:12 nexus3.edgexfoundry.org:10002 14:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:29:13 Configure a credential helper to remove this warning. See 14:29:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:29:13 14:29:13 Login Succeeded 14:29:13 nexus3.edgexfoundry.org:10003 14:29:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:29:13 Configure a credential helper to remove this warning. See 14:29:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:29:13 14:29:13 Login Succeeded 14:29:13 nexus3.edgexfoundry.org:10004 14:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:29:14 Configure a credential helper to remove this warning. See 14:29:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:29:14 14:29:14 Login Succeeded 14:29:14 ****.io 14:29:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:29:14 Configure a credential helper to remove this warning. See 14:29:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:29:14 14:29:14 Login Succeeded 14:29:14 ---> ****-login.sh ends [Pipeline] } 14:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:29:15 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 14:29:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:29:15 ========================================================= 14:29:15 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:29:15 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:15 + 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 . 14:29:15 Sending build context to Docker daemon 3.029MB 14:29:15 Step 1/22 : ARG BASE=alpine:3.18 14:29:15 Step 2/22 : FROM ${BASE} as builder 14:29:15 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:29:15 579b34f0a95b: Pulling fs layer 14:29:15 e71477ac5e1b: Pulling fs layer 14:29:16 579b34f0a95b: Verifying Checksum 14:29:16 579b34f0a95b: Download complete 14:29:16 579b34f0a95b: Pull complete 14:29:18 e71477ac5e1b: Verifying Checksum 14:29:18 e71477ac5e1b: Download complete 14:29:31 e71477ac5e1b: Pull complete 14:29:31 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 14:29:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:29:31 ---> 2b552cad5dd9 14:29:31 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 14:29:31 ---> Running in a5e882112fc4 14:29:31 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:29:32 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:29:32 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:29:32 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:29:33 Removing intermediate container a5e882112fc4 14:29:33 ---> f5a8edf7c63a 14:29:33 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:29:33 ---> Running in e4f399a752b6 14:29:34 Removing intermediate container e4f399a752b6 14:29:34 ---> 81131ae5ba14 14:29:34 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 14:29:35 ---> Running in 73be878744d2 14:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:29:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:29:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:29:37 (1/17) Installing hiredis (1.1.0-r2) 14:29:37 (2/17) Installing hiredis-dev (1.1.0-r2) 14:29:37 (3/17) Installing libcbor (0.10.2-r1) 14:29:37 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:29:38 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:29:38 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:29:39 (7/17) Installing libcbor-dev (0.10.2-r1) 14:29:39 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:29:39 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:29:39 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:29:39 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:29:39 (12/17) Installing libblkid (2.38.1-r8) 14:29:39 (13/17) Installing libuuid (2.38.1-r8) 14:29:39 (14/17) Installing libfdisk (2.38.1-r8) 14:29:39 (15/17) Installing libmount (2.38.1-r8) 14:29:39 (16/17) Installing libsmartcols (2.38.1-r8) 14:29:39 (17/17) Installing util-linux-dev (2.38.1-r8) 14:29:39 Executing busybox-1.36.1-r4.trigger 14:29:39 OK: 333 MiB in 99 packages 14:29:40 Removing intermediate container 73be878744d2 14:29:40 ---> bdb724d6dce6 14:29:40 Step 6/22 : RUN mkdir /tmp/sdk 14:29:40 ---> Running in 264962bbbcfe 14:29:41 Removing intermediate container 264962bbbcfe 14:29:41 ---> c0851bdf86f0 14:29:41 Step 7/22 : COPY VERSION /tmp/sdk 14:29:42 ---> e85524832f57 14:29:42 Step 8/22 : COPY src /tmp/sdk/src 14:29:43 ---> 2ef675f3ddec 14:29:43 Step 9/22 : COPY include /tmp/sdk/include 14:29:43 ---> 40fa06683928 14:29:43 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:29:44 ---> 30e5b8c1064b 14:29:44 Step 11/22 : COPY LICENSE /tmp/sdk 14:29:44 ---> 56171ce4198d 14:29:44 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:29:45 ---> 0ce599cee170 14:29:45 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:29:45 ---> Running in 83df1d9ec3e9 14:29:46 + CPPCHECK=false 14:29:46 + DOCGEN=false 14:29:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:29:46 + '[' 0 -gt 0 ] 14:29:46 + readlink -f ./scripts/build.sh 14:29:46 + dirname /tmp/sdk/scripts/build.sh 14:29:46 + dirname /tmp/sdk/scripts 14:29:46 + ROOT=/tmp/sdk 14:29:46 + cd /tmp/sdk 14:29:46 + mkdir -p /tmp/sdk/build/release 14:29:46 + cd /tmp/sdk/build/release 14:29:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:29:46 -- The C compiler identification is GNU 12.2.1 14:29:46 -- Detecting C compiler ABI info 14:29:47 -- Detecting C compiler ABI info - done 14:29:47 -- Check for working C compiler: /usr/bin/cc - skipped 14:29:47 -- Detecting C compile features 14:29:47 -- Detecting C compile features - done 14:29:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:29:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:29:47 -- Found LIBYAML: /usr/lib/libyaml.so 14:29:47 -- Found LIBUUID: /usr/lib/libuuid.so 14:29:47 -- Found LIBCBOR: /usr/lib/libcbor.so 14:29:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:29:47 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:29:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:29:47 -- /opt/iotech/iot/1.5/include 14:29:47 -- C SDK 3.0.3-dev.16 for Linux 14:29:47 -- Performing Test CSDK_HAVE_ATOMIC 14:29:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:29:47 -- Found Curses: /usr/lib/libcurses.so 14:29:48 -- Configuring done (1.8s) 14:29:48 -- Generating done (0.3s) 14:29:48 -- Build files have been written to: /tmp/sdk/build/release 14:29:48 + make all package 14:29:48 + tee release.log 14:29:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:29:49 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:29:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:29:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:29:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:29:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:29:54 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:29:55 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:29:55 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:29:55 294 | while (privateConfig) 14:29:55 | ^~~~~~~~~~~~~ 14:29:55 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:29:55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:29:55 | ^~~~~~~~~~~~~ 14:29:55 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:29:55 271 | while (result) 14:29:55 | ^~~~~~ 14:29:55 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:29:55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:29:55 | ^~~~~~ 14:29:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:29:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:29:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:29:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:29:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:29:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:30:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:30:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:30:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:30:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:30:04 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:30:04 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:30:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:30:06 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:30:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:30:13 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:30:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:30:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:30:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:30:16 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:30:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:30:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:30:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:30:20 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:30:20 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:30:20 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:30:20 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:30:20 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:30:20 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:30:20 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:30:20 | ^ 14:30:22 /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:30:22 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:30:22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:30:22 /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here 14:30:22 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:30:22 | ^~~~~~~~~~~~~~~~~~~~~ 14:30:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:30:23 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:30:24 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:30:24 [ 68%] Linking C shared library libcsdk.so 14:30:24 [ 68%] Built target csdk 14:30:25 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:30:26 [ 72%] Linking C executable template 14:30:26 [ 72%] Built target template 14:30:26 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:30:26 [ 76%] Linking C executable device-counter 14:30:27 [ 76%] Built target device-counter 14:30:27 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:30:27 [ 80%] Linking C executable device-random 14:30:27 [ 80%] Built target device-random 14:30:27 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:30:28 [ 84%] Linking C executable device-gyro 14:30:28 [ 84%] Built target device-gyro 14:30:28 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:30:29 [ 88%] Linking C executable device-bitfields 14:30:29 [ 88%] Built target device-bitfields 14:30:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:30:30 [ 92%] Linking C executable template-discovery 14:30:30 [ 92%] Built target template-discovery 14:30:30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:30:31 [ 96%] Linking C executable device-file 14:30:31 [ 96%] Built target device-file 14:30:31 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:30:32 [100%] Linking C executable device-terminal 14:30:32 [100%] Built target device-terminal 14:30:33 Run CPack packaging tool... 14:30:33 CPack: Create package using TGZ 14:30:33 CPack: Install projects 14:30:33 CPack: - Run preinstall target for: Csdk 14:30:34 CPack: - Install project: Csdk [] 14:30:34 CPack: Create package 14:30:34 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.16.tar.gz generated. 14:30:34 + '[' false '=' true ] 14:30:34 + '[' false '=' true ] 14:30:34 + mkdir -p /tmp/sdk/build/debug 14:30:34 + cd /tmp/sdk/build/debug 14:30:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:30:34 -- The C compiler identification is GNU 12.2.1 14:30:34 -- Detecting C compiler ABI info 14:30:34 -- Detecting C compiler ABI info - done 14:30:34 -- Check for working C compiler: /usr/bin/cc - skipped 14:30:34 -- Detecting C compile features 14:30:34 -- Detecting C compile features - done 14:30:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:30:34 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:30:35 -- Found LIBYAML: /usr/lib/libyaml.so 14:30:35 -- Found LIBUUID: /usr/lib/libuuid.so 14:30:35 -- Found LIBCBOR: /usr/lib/libcbor.so 14:30:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:30:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:30:35 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:30:35 -- /opt/iotech/iot/1.5/include 14:30:35 -- C SDK 3.0.3-dev.16 for Linux 14:30:35 -- Performing Test CSDK_HAVE_ATOMIC 14:30:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:30:35 -- Found Curses: /usr/lib/libcurses.so 14:30:35 -- Configuring done (1.7s) 14:30:35 -- Generating done (0.2s) 14:30:35 -- Build files have been written to: /tmp/sdk/build/debug 14:30:35 + make 14:30:35 + tee debug.log 14:30:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:30:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:30:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:30:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:30:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:30:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:30:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:30:39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:30:39 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:30:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:30:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:30:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:30:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:30:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:30:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:30:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:30:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:30:43 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:30:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:30:43 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:30:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:30:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:30:45 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:30:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:30:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:30:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:30:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:30:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:30:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:30:49 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:30:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:30:50 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:30:50 /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:30:50 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:30:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:30:50 /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:30:50 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:30:50 | ^ 14:30:50 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:30:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:30:51 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:30:51 [ 68%] Linking C shared library libcsdk.so 14:30:51 [ 68%] Built target csdk 14:30:51 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:30:52 [ 72%] Linking C executable template 14:30:52 [ 72%] Built target template 14:30:52 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:30:52 [ 76%] Linking C executable device-counter 14:30:53 [ 76%] Built target device-counter 14:30:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:30:53 [ 80%] Linking C executable device-random 14:30:54 [ 80%] Built target device-random 14:30:54 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:30:54 [ 84%] Linking C executable device-gyro 14:30:54 [ 84%] Built target device-gyro 14:30:54 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:30:54 [ 88%] Linking C executable device-bitfields 14:30:55 [ 88%] Built target device-bitfields 14:30:55 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:30:55 [ 92%] Linking C executable template-discovery 14:30:55 [ 92%] Built target template-discovery 14:30:55 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:30:56 [ 96%] Linking C executable device-file 14:30:56 [ 96%] Built target device-file 14:30:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:30:57 [100%] Linking C executable device-terminal 14:30:57 [100%] Built target device-terminal 14:30:57 make: Entering directory '/tmp/sdk/build/release' 14:30:57 [ 68%] Built target csdk 14:30:57 [ 72%] Built target template 14:30:57 [ 76%] Built target device-counter 14:30:57 [ 80%] Built target device-random 14:30:57 [ 84%] Built target device-gyro 14:30:57 [ 88%] Built target device-bitfields 14:30:57 [ 92%] Built target template-discovery 14:30:58 [ 96%] Built target device-file 14:30:58 [100%] Built target device-terminal 14:30:58 Install the project... 14:30:58 -- Install configuration: "Release" 14:30:58 -- Installing: /usr/local/lib/libcsdk.so 14:30:58 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:30:58 -- Installing: /usr/local/include 14:30:58 -- Installing: /usr/local/include/devsdk 14:30:58 -- Installing: /usr/local/include/devsdk/devsdk.h 14:30:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:30:58 -- Installing: /usr/local/include/edgex 14:30:58 -- Installing: /usr/local/include/edgex/rest-server.h 14:30:58 -- Installing: /usr/local/include/edgex/edgex.h 14:30:58 -- Installing: /usr/local/include/edgex/edgex-base.h 14:30:58 -- Installing: /usr/local/include/edgex/devices.h 14:30:58 -- Installing: /usr/local/include/edgex/profiles.h 14:30:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:30:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:30:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:30:58 make: Leaving directory '/tmp/sdk/build/release' 14:30:59 Removing intermediate container 83df1d9ec3e9 14:30:59 ---> 3d082e24c765 14:30:59 Step 14/22 : FROM ${BASE} 14:30:59 ---> 2b552cad5dd9 14:30:59 Step 15/22 : LABEL maintainer="IOTech " 14:30:59 ---> Running in d0a437d45985 14:30:59 Removing intermediate container d0a437d45985 14:30:59 ---> 55d61defd81a 14:30:59 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 14:31:00 ---> Running in e634c97de401 14:31:01 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:31:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:31:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:31:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:31:02 Removing intermediate container e634c97de401 14:31:02 ---> 4ba9bbfb7a20 14:31:02 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:31:02 ---> Running in 8770bfc347da 14:31:03 Removing intermediate container 8770bfc347da 14:31:03 ---> 85bda796e0ac 14:31:03 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 14:31:03 ---> Running in 27522acd870d 14:31:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:31:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:31:06 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:31:06 (2/10) Installing curl (8.9.1-r0) 14:31:06 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:31:06 (4/10) Installing dumb-init (1.2.5-r2) 14:31:06 (5/10) Installing hiredis (1.1.0-r2) 14:31:06 (6/10) Installing hiredis-dev (1.1.0-r2) 14:31:06 (7/10) Installing libcbor (0.10.2-r1) 14:31:06 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:31:07 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:31:07 (10/10) Installing libuuid (2.38.1-r8) 14:31:07 Executing busybox-1.36.1-r4.trigger 14:31:07 OK: 328 MiB in 90 packages 14:31:08 Removing intermediate container 27522acd870d 14:31:08 ---> 93399e00afeb 14:31:08 Step 19/22 : RUN apk --no-cache upgrade 14:31:08 ---> Running in cdd194a7e71a 14:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:31:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:31:11 Upgrading critical system libraries and apk-tools: 14:31:11 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:31:11 Executing busybox-1.36.1-r4.trigger 14:31:11 Continuing the upgrade transaction with new apk-tools: 14:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:31:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:31:12 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:31:12 Executing busybox-1.36.1-r7.post-upgrade 14:31:13 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:31:13 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:31:13 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:31:13 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:31:13 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:31:13 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:31:13 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:31:13 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:31:13 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:31:13 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:31:13 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:31:13 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:31:13 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:31:13 Executing busybox-1.36.1-r7.trigger 14:31:13 Executing ca-certificates-20240226-r0.trigger 14:31:13 OK: 328 MiB in 90 packages 14:31:15 Removing intermediate container cdd194a7e71a 14:31:15 ---> 7a1f702b5844 14:31:15 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:31:16 ---> d4f995de7f96 14:31:16 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:31:16 ---> ad6c16a493da 14:31:16 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:31:17 ---> 78266ee743b2 14:31:17 Successfully built 78266ee743b2 14:31:17 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 14:31:17 + docker inspect -f . ci-base-image-arm64 14:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:31:18 prd-ubuntu20.04-docker-arm64-4c-16g-10694 does not seem to be running inside a container 14:31:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/76 -v /w/workspace/device-sdk-c/76:/w/workspace/device-sdk-c/76:rw,z -v /w/workspace/device-sdk-c/76@tmp:/w/workspace/device-sdk-c/76@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 14:31:19 $ docker top a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f -eo pid,comm [Pipeline] { [Pipeline] sh 14:31:20 + make test 14:31:20 echo "make test" 14:31:20 make test [Pipeline] } 14:31:20 $ docker stop --time=1 a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f 14:31:21 $ docker rm -f --volumes a3f71017956546bd52141dbb4ff0986a53d69ef20982b905342f36886522989f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:31:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:31:22 + ls -al . 14:31:22 total 208 14:31:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:28 . 14:31:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 .. 14:31:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:28 .git 14:31:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:28 .github 14:31:22 -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:28 .gitignore 14:31:22 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:28 Attribution.txt 14:31:22 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:28 CHANGELOG.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:28 Doxyfile 14:31:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:28 GOVERNANCE.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:28 Jenkinsfile 14:31:22 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:28 LICENSE 14:31:22 -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:28 Makefile 14:31:22 -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:28 OWNERS.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:28 README.IOT.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:28 README.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:28 README.v3.md 14:31:22 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 14:26 VERSION 14:31:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:28 docs 14:31:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 include 14:31:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:28 scripts 14:31:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:31:23 + 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=30a24dda2410b85b52167bc1398eb9d9a2b4959b --label arch=arm64 --label version=3.0.3-dev.16 . 14:31:23 Sending build context to Docker daemon 3.029MB 14:31:23 Step 1/18 : ARG BASE=alpine:3.18 14:31:23 Step 2/18 : FROM ${BASE} 14:31:23 ---> 78266ee743b2 14:31:23 Step 3/18 : LABEL maintainer="IOTech " 14:31:23 ---> Running in 5d33725dbcc4 14:31:23 Removing intermediate container 5d33725dbcc4 14:31:23 ---> 250c397e0f11 14:31:23 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 14:31:23 ---> Running in f17e011bc3fe 14:31:24 Connecting to iotech.jfrog.io (54.73.4.50:443) 14:31:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:31:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:31:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:31:26 Removing intermediate container f17e011bc3fe 14:31:26 ---> 385145a4e780 14:31:26 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:31:26 ---> Running in c90a8a204f17 14:31:27 Removing intermediate container c90a8a204f17 14:31:27 ---> bbdf01a31cbb 14:31:27 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 14:31:27 ---> Running in 89b81699c437 14:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:31:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:31:30 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:31:30 (2/11) Installing libcbor-dev (0.10.2-r1) 14:31:30 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:31:30 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:31:30 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:31:30 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:31:30 (7/11) Installing libblkid (2.38.1-r8) 14:31:30 (8/11) Installing libfdisk (2.38.1-r8) 14:31:30 (9/11) Installing libmount (2.38.1-r8) 14:31:30 (10/11) Installing libsmartcols (2.38.1-r8) 14:31:30 (11/11) Installing util-linux-dev (2.38.1-r8) 14:31:30 Executing busybox-1.36.1-r7.trigger 14:31:30 OK: 334 MiB in 101 packages 14:31:32 Removing intermediate container 89b81699c437 14:31:32 ---> b93f9b001e99 14:31:32 Step 7/18 : RUN apk --no-cache upgrade 14:31:32 ---> Running in 8ebd46075a09 14:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:31:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 14:31:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:31:34 OK: 334 MiB in 101 packages 14:31:35 Removing intermediate container 8ebd46075a09 14:31:35 ---> 57a46040fa6b 14:31:35 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:31:36 ---> 0c4bfaf5332e 14:31:36 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:31:37 ---> f237adba7353 14:31:37 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:31:37 ---> 9a09ad12e60d 14:31:37 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:31:37 ---> 464440afae73 14:31:37 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:31:38 ---> 1e73fff0d18e 14:31:38 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:31:38 ---> e675225070b5 14:31:38 Step 14/18 : WORKDIR /edgex-c-sdk 14:31:38 ---> Running in 871b4bb23c85 14:31:39 Removing intermediate container 871b4bb23c85 14:31:39 ---> 384f21d8f713 14:31:39 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:31:39 ---> Running in 5b51d296a5b1 14:31:39 Removing intermediate container 5b51d296a5b1 14:31:39 ---> bb05c8375579 14:31:39 Step 16/18 : LABEL arch=arm64 14:31:39 ---> Running in 02e4e255e8d9 14:31:39 Removing intermediate container 02e4e255e8d9 14:31:39 ---> 96e59c3e1a07 14:31:39 Step 17/18 : LABEL git_sha=30a24dda2410b85b52167bc1398eb9d9a2b4959b 14:31:39 ---> Running in 0e2be8fb67ec 14:31:40 Removing intermediate container 0e2be8fb67ec 14:31:40 ---> e9e845820e4c 14:31:40 Step 18/18 : LABEL version=3.0.3-dev.16 14:31:40 ---> Running in cfd92acce482 14:31:40 Removing intermediate container cfd92acce482 14:31:40 ---> 7bc3161e63f3 14:31:40 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:31:40 Successfully built 7bc3161e63f3 14:31:40 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 14:31:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:31:41 14:31:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:31:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:31:41 arm64: Pulling from edgex-lftools-log-publisher 14:31:41 8998bd30e6a1: Pulling fs layer 14:31:41 04944245beec: Pulling fs layer 14:31:41 699f458cf7ca: Pulling fs layer 14:31:41 765212b225bb: Pulling fs layer 14:31:41 f23df028b6ca: Pulling fs layer 14:31:41 d65c8cfc05b1: Pulling fs layer 14:31:41 2437ff75d9bd: Pulling fs layer 14:31:41 f23df028b6ca: Waiting 14:31:41 d65c8cfc05b1: Waiting 14:31:41 765212b225bb: Waiting 14:31:41 2437ff75d9bd: Waiting 14:31:41 04944245beec: Verifying Checksum 14:31:41 04944245beec: Download complete 14:31:41 765212b225bb: Verifying Checksum 14:31:41 765212b225bb: Download complete 14:31:41 f23df028b6ca: Download complete 14:31:41 d65c8cfc05b1: Verifying Checksum 14:31:41 d65c8cfc05b1: Download complete 14:31:42 699f458cf7ca: Verifying Checksum 14:31:42 699f458cf7ca: Download complete 14:31:42 8998bd30e6a1: Verifying Checksum 14:31:42 8998bd30e6a1: Download complete 14:31:44 2437ff75d9bd: Verifying Checksum 14:31:44 2437ff75d9bd: Download complete 14:31:46 8998bd30e6a1: Pull complete 14:31:47 04944245beec: Pull complete 14:31:48 699f458cf7ca: Pull complete 14:31:48 765212b225bb: Pull complete 14:31:49 f23df028b6ca: Pull complete 14:31:50 d65c8cfc05b1: Pull complete 14:32:08 2437ff75d9bd: Pull complete 14:32:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:08 prd-ubuntu20.04-docker-arm64-4c-16g-10694 does not seem to be running inside a container 14:32:08 $ 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/76 -v /w/workspace/device-sdk-c/76:/w/workspace/device-sdk-c/76:rw,z -v /w/workspace/device-sdk-c/76@tmp:/w/workspace/device-sdk-c/76@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 14:32:11 $ docker top 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:11 ---> job-cost.sh 14:32:11 lf-activate-venv: SKIPPING 14:32:11 INFO: No Stack... 14:32:12 INFO: Retrieving Pricing Info for: v3-standard-4 14:32:13 INFO: Archiving Costs [Pipeline] sh 14:32:13 + cat /w/workspace/device-sdk-c/76/archives/cost.csv 14:32:13 + cut -d, -f6 [Pipeline] lock 14:32:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] 14:32:13 Resource [jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] did not exist. Created. 14:32:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:32:14 /w/workspace/device-sdk-c/76@tmp/durable-91973973/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:32:15 + echo total: 0.10999999940395355 [Pipeline] stash 14:32:15 Warning: overwriting stash ‘stack-cost’ 14:32:15 Stashed 1 file(s) [Pipeline] } 14:32:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 14:32:15 $ docker stop --time=1 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a 14:32:17 $ docker rm -f --volumes 1970ce2246b99af412aa1c049bb2c5efc0020cf3db2e798229ee8315b47dff2a [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 14:32:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:32:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:18 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:32:18 $ 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 14:32:18 $ docker top 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 -eo pid,comm 14:32:18 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). 14:32:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:18 [ssh-agent] Looking for ssh-agent implementation... 14:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:18 $ docker exec 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 ssh-agent 14:32:19 SSH_AUTH_SOCK=/tmp/ssh-3eoxbQN6JlgC/agent.33 14:32:19 SSH_AGENT_PID=39 14:32:19 Running ssh-add (command line suppressed) 14:32:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7028834784266210817.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7028834784266210817.key) 14:32:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:19 + git semver tag 14:32:19 2024-09-19 14:32:19,603 [run_tag] DEBUG tag force:False 14:32:19 2024-09-19 14:32:19,603 [check_head_tag] DEBUG check head tag 14:32:19 2024-09-19 14:32:19,604 [execute] INFO git cat-file --batch-check 14:32:19 2024-09-19 14:32:19,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 14:32:19 2024-09-19 14:32:19,608 [execute] INFO git cat-file --batch 14:32:19 2024-09-19 14:32:19,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 14:32:19 2024-09-19 14:32:19,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:19 2024-09-19 14:32:19,624 [execute] INFO git tag -a v3.0.3-dev.16 -m v3.0.3-dev.16 14:32:19 2024-09-19 14:32:19,625 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.16', '-m', 'v3.0.3-dev.16'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 14:32:19 2024-09-19 14:32:19,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:19 3.0.3-dev.16 [Pipeline] } 14:32:19 $ docker exec --env ******** --env ******** 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 ssh-agent -k 14:32:19 unset SSH_AUTH_SOCK; 14:32:19 unset SSH_AGENT_PID; 14:32:19 echo Agent pid 39 killed; 14:32:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:32:20 + git semver [Pipeline] } 14:32:20 $ docker stop --time=1 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 14:32:21 $ docker rm -f --volumes 9fa392664848b8f3564ad23db6551cb8c4d26c0bc559b730abdf3618d7624e21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:32:22 14:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:32:22 0.23.1-centos7: Pulling from edgex-lftools 14:32:22 ab5ef0e58194: Pulling fs layer 14:32:22 9712f1f96733: Pulling fs layer 14:32:22 63f879dbbcfc: Pulling fs layer 14:32:22 0d9ebad4ef96: Pulling fs layer 14:32:22 e9a5061849ea: Pulling fs layer 14:32:22 d747dcd14b5f: Pulling fs layer 14:32:22 2de7ff778b66: Pulling fs layer 14:32:22 0d9ebad4ef96: Waiting 14:32:22 e9a5061849ea: Waiting 14:32:22 d747dcd14b5f: Waiting 14:32:22 2de7ff778b66: Waiting 14:32:22 9712f1f96733: Verifying Checksum 14:32:22 9712f1f96733: Download complete 14:32:22 63f879dbbcfc: Verifying Checksum 14:32:22 63f879dbbcfc: Download complete 14:32:22 0d9ebad4ef96: Verifying Checksum 14:32:22 0d9ebad4ef96: Download complete 14:32:22 e9a5061849ea: Verifying Checksum 14:32:22 e9a5061849ea: Download complete 14:32:22 d747dcd14b5f: Verifying Checksum 14:32:22 d747dcd14b5f: Download complete 14:32:22 ab5ef0e58194: Download complete 14:32:23 2de7ff778b66: Verifying Checksum 14:32:23 2de7ff778b66: Download complete 14:32:25 ab5ef0e58194: Pull complete 14:32:25 9712f1f96733: Pull complete 14:32:26 63f879dbbcfc: Pull complete 14:32:30 0d9ebad4ef96: Pull complete 14:32:30 e9a5061849ea: Pull complete 14:32:30 d747dcd14b5f: Pull complete 14:32:31 2de7ff778b66: Pull complete 14:32:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:32:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:31 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:32:31 $ 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 14:32:38 $ docker top bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:32:38 provisioning config files... 14:32:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14576480727199542217tmp 14:32:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14356341273786961844tmp 14:32:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7180057663671594212tmp [Pipeline] { [Pipeline] echo 14:32:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:32:38 ---> sigul-configuration.sh 14:32:38 gpg: directory `/root/.gnupg' created 14:32:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:32:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:32:38 gpg: keyring `/root/.gnupg/secring.gpg' created 14:32:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:32:38 gpg: CAST5 encrypted data 14:32:38 gpg: encrypted with 1 passphrase 14:32:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:32:38 + mkdir /home/jenkins 14:32:38 + mkdir /home/jenkins/sigul [Pipeline] sh 14:32:39 + 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 14:32:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:32:39 ---> sigul-install.sh 14:32:39 Sigul already installed; skipping installation. [Pipeline] sh 14:32:39 + git tag --list 14:32:39 0.7.0 14:32:39 0.7.1 14:32:39 1.0.0 14:32:39 v1.0.1 14:32:39 v1.0.2 14:32:39 v1.0.3 14:32:39 v1.1.0 14:32:39 v1.1.1 14:32:39 v1.2.0 14:32:39 v1.2.1 14:32:39 v1.2.2 14:32:39 v1.3.0 14:32:39 v1.3.1 14:32:39 v2.0.0 14:32:39 v2.1.0 14:32:39 v2.2.0 14:32:39 v2.3.0 14:32:39 v3.0 14:32:39 v3.0.0 14:32:39 v3.0.1 14:32:39 v3.0.2 14:32:39 v3.0.3-dev.1 14:32:39 v3.0.3-dev.10 14:32:39 v3.0.3-dev.11 14:32:39 v3.0.3-dev.12 14:32:39 v3.0.3-dev.13 14:32:39 v3.0.3-dev.14 14:32:39 v3.0.3-dev.15 14:32:39 v3.0.3-dev.16 14:32:39 v3.0.3-dev.2 14:32:39 v3.0.3-dev.3 14:32:39 v3.0.3-dev.4 14:32:39 v3.0.3-dev.5 14:32:39 v3.0.3-dev.6 14:32:39 v3.0.3-dev.7 14:32:39 v3.0.3-dev.8 14:32:39 v3.0.3-dev.9 14:32:39 v3.1 14:32:39 v3.1.0 14:32:39 v3.1.0-dev.1 14:32:39 v3.1.0-dev.2 14:32:39 v3.1.0-dev.3 14:32:39 v3.1.0-dev.4 14:32:39 v3.1.0-dev.5 14:32:39 v3.1.0-dev.6 14:32:39 v3.1.0-dev.7 14:32:39 v3.1.0-dev.8 14:32:39 v3.1.0-dev.9 14:32:39 v3.1.1 14:32:39 v3.1.1-dev.1 [Pipeline] sh 14:32:40 + lftools sign git-tag v3.0.3-dev.16 14:32:40 Signing Git tag with Sigul... 14:32:40 Signing v3.0.3-dev.16 [Pipeline] echo 14:32:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:32:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:32:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:32:41 $ docker stop --time=1 bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c 14:32:42 $ docker rm -f --volumes bf3e62066343cf0508cc9a23d08934b44b42d16143e3bf09b62aad83ccbc977c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:32:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:32:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:43 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:32:43 $ 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 14:32:43 $ docker top 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 -eo pid,comm 14:32:43 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). 14:32:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:32:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:44 [ssh-agent] Looking for ssh-agent implementation... 14:32:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:44 $ docker exec 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 ssh-agent 14:32:44 SSH_AUTH_SOCK=/tmp/ssh-Zch5uwj7jD7Y/agent.32 14:32:44 SSH_AGENT_PID=38 14:32:44 Running ssh-add (command line suppressed) 14:32:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13740904562991280424.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13740904562991280424.key) 14:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:44 + git semver bump pre 14:32:44 2024-09-19 14:32:44,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:44 2024-09-19 14:32:44,827 [bump_version] DEBUG bumping version:3.0.3-dev.16 on axis:pre with prefix:dev 14:32:44 2024-09-19 14:32:44,827 [bump_version] DEBUG bumped version:3.0.3-dev.17 14:32:44 2024-09-19 14:32:44,827 [write_version] DEBUG write version:3.0.3-dev.17 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 14:32:44 2024-09-19 14:32:44,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:44 2024-09-19 14:32:44,827 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:44 2024-09-19 14:32:44,830 [execute] INFO git cat-file --batch-check 14:32:44 2024-09-19 14:32:44,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 14:32:44 2024-09-19 14:32:44,834 [execute] INFO git cat-file --batch 14:32:44 2024-09-19 14:32:44,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 14:32:44 2024-09-19 14:32:44,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:44 3.0.3-dev.17 [Pipeline] } 14:32:44 $ docker exec --env ******** --env ******** 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 ssh-agent -k 14:32:45 unset SSH_AUTH_SOCK; 14:32:45 unset SSH_AGENT_PID; 14:32:45 echo Agent pid 38 killed; 14:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:32:45 + git semver [Pipeline] } 14:32:45 $ docker stop --time=1 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 14:32:46 $ docker rm -f --volumes 3919c66eb2ae562a7887972da7999faf264fd1e7ff89e6dfff582c900e6e1ee6 [Pipeline] // withDockerContainer [Pipeline] sh 14:32:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:32:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:47 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:32:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:32:48 $ docker top 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a -eo pid,comm 14:32:48 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). 14:32:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:48 [ssh-agent] Looking for ssh-agent implementation... 14:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:48 $ docker exec 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a ssh-agent 14:32:48 SSH_AUTH_SOCK=/tmp/ssh-CzoiwVLx9NuZ/agent.32 14:32:48 SSH_AGENT_PID=38 14:32:48 Running ssh-add (command line suppressed) 14:32:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11833000182991862460.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11833000182991862460.key) 14:32:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:48 + git semver push 14:32:48 2024-09-19 14:32:48,912 [run_push] DEBUG push 14:32:48 2024-09-19 14:32:48,912 [execute] INFO git cat-file --batch-check 14:32:48 2024-09-19 14:32:48,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 14:32:48 2024-09-19 14:32:48,916 [execute] INFO git rev-list abe837aa8d9e51b2f0463d6a14564ca6a5598494 -- 14:32:48 2024-09-19 14:32:48,916 [execute] DEBUG Popen(['git', 'rev-list', 'abe837aa8d9e51b2f0463d6a14564ca6a5598494', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 14:32:48 2024-09-19 14:32:48,924 [execute] INFO git fetch -v origin 14:32:48 2024-09-19 14:32:48,924 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 14:32:49 2024-09-19 14:32:49,377 [run_push] DEBUG no remote changes detected 14:32:49 2024-09-19 14:32:49,377 [execute] INFO git push origin semver 14:32:49 2024-09-19 14:32:49,378 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 14:32:50 2024-09-19 14:32:49,979 [run_push] DEBUG push all version tags 14:32:50 2024-09-19 14:32:49,979 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:32:50 2024-09-19 14:32:49,980 [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) 14:32:50 2024-09-19 14:32:50,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 14:32:50 3.0.3-dev.17 [Pipeline] } 14:32:50 $ docker exec --env ******** --env ******** 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a ssh-agent -k 14:32:50 unset SSH_AUTH_SOCK; 14:32:50 unset SSH_AGENT_PID; 14:32:50 echo Agent pid 38 killed; 14:32:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:32:51 + git semver [Pipeline] } 14:32:51 $ docker stop --time=1 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a 14:32:52 $ docker rm -f --volumes 393478ded08d83ec51d62d664c53dddfd886262f49daac2eef3db2ec047ad57a [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 14:32:53 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 14:32:53 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:32:53 total 16 14:32:53 drwxr-xr-x 3 root root 4096 Sep 19 14:27 . 14:32:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:32 .. 14:32:53 drwxr-xr-x 2 root root 4096 Sep 19 14:27 cost 14:32:53 -rw-r--r-- 1 root root 83 Sep 19 14:27 cost.csv 14:32:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:32:53 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 14:32:53 total 16 14:32:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:27 . 14:32:53 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:32 .. 14:32:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:27 cost 14:32:53 -rw-r--r-- 1 jenkins jenkins 83 Sep 19 14:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:32:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:32:54 ---> package-listing.sh 14:32:54 ++ facter osfamily 14:32:54 ++ tr '[:upper:]' '[:lower:]' 14:32:54 + OS_FAMILY=debian 14:32:54 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 14:32:54 + START_PACKAGES=/tmp/packages_start.txt 14:32:54 + END_PACKAGES=/tmp/packages_end.txt 14:32:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:32:54 + PACKAGES=/tmp/packages_start.txt 14:32:54 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:32:54 + PACKAGES=/tmp/packages_end.txt 14:32:54 + case "${OS_FAMILY}" in 14:32:54 + dpkg -l 14:32:54 + grep '^ii' 14:32:54 + '[' -f /tmp/packages_start.txt ']' 14:32:54 + '[' -f /tmp/packages_end.txt ']' 14:32:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:32:54 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 14:32:54 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 14:32:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 14:32:54 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 14:32:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:55 prd-ubuntu20.04-docker-8c-8g-10693 does not seem to be running inside a container 14:32:55 $ 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 14:32:55 $ docker top 34de65e64c105649c531ff57ed70720f928f816ec08097b54206aa3982748108 -eo pid,comm [Pipeline] { [Pipeline] sh 14:32:56 + touch /tmp/pre-build-complete [Pipeline] sh 14:32:56 + mkdir -p /var/log/sysstat [Pipeline] sh 14:32:56 + ls /var/log/sa-host 14:32:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:56 provisioning config files... 14:32:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15559924054119774623tmp [Pipeline] { [Pipeline] echo 14:32:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:32:57 ---> create-netrc.sh [Pipeline] } 14:32:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:32:57 ---> python-tools-install.sh [Pipeline] echo 14:32:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:32:57 ---> sudo-logs.sh 14:32:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:32:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:32:58 ---> job-cost.sh 14:32:58 lf-activate-venv: SKIPPING 14:32:58 DEBUG: total: 0.2199999988079071 14:32:58 INFO: Retrieving Stack Cost... 14:32:58 INFO: Retrieving Pricing Info for: v3-standard-8 14:32:59 INFO: Archiving Costs [Pipeline] echo 14:32:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:32:59 ---> logs-deploy.sh 14:32:59 lf-activate-venv: SKIPPING 14:32:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/76 14:32:59 INFO: archiving workspace using pattern(s): 14:33:00 Archives upload complete. 14:33:00 INFO: archiving logs to Nexus