Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh5156977499806739122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6964838325358127593.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2646530774650777306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9354644139160445323.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-ssh11050874928993942849.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2679 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 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef (main) Commit message: "fix: Address CVE in Alpine base image (#496)" > 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 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-list --no-walk 9ba2c339c6b6ced168e87f011e0a7391adc1a762 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:03:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:03:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:03:45 ========================================================= 03:03:45 EdgeX Global Pipelines Version Info 03:03:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:03:45 ------------------- 03:03:45 stable info: 03:03:45 ------------------- 03:03:45 Commited By: Ginny Guan ginny@iotechsys.com 03:03:45 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:03:45 Message: update stable to v1.0.260 03:03:47 ------------------- 03:03:47 experimental info: 03:03:47 ------------------- 03:03:47 Commited By: Ginny Guan ginny@iotechsys.com 03:03:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:03:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:03:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 03:03:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 03:03:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:03:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:03:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5fd43a [Pipeline] echo 03:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:48 provisioning config files... 03:03:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12525762859523074190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:48 ---> ****-login.sh 03:03:48 nexus3.edgexfoundry.org:10001 03:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:49 Configure a credential helper to remove this warning. See 03:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:49 03:03:49 Login Succeeded 03:03:49 nexus3.edgexfoundry.org:10002 03:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:49 Configure a credential helper to remove this warning. See 03:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:49 03:03:49 Login Succeeded 03:03:49 nexus3.edgexfoundry.org:10003 03:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:49 Configure a credential helper to remove this warning. See 03:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:49 03:03:49 Login Succeeded 03:03:49 nexus3.edgexfoundry.org:10004 03:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:49 Configure a credential helper to remove this warning. See 03:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:49 03:03:49 Login Succeeded 03:03:49 ****.io 03:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:49 Configure a credential helper to remove this warning. See 03:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:49 03:03:49 Login Succeeded 03:03:49 ---> ****-login.sh ends [Pipeline] } 03:03:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 03:03:49 + git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo 03:03:50 -----------> git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [false] [Pipeline] sh 03:03:50 + git log --format=format:%s -1 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo 03:03:50 ========================================================= 03:03:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:03:50 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:03:50 + git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo 03:03:50 -----------> git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [false] [Pipeline] sh 03:03:51 + git log --format=format:%s -1 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo 03:03:51 ========================================================= 03:03:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:03:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 03:03:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:03:51 + grep -v github /etc/ssh/ssh_known_hosts 03:03:51 + [ -e /tmp/ssh_known_hosts ] 03:03:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:03:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:03:51 + sudo tee -a /etc/ssh/ssh_known_hosts 03:03:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:51 03:03:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:52 0.1.4: Pulling from edgex-devops/py-git-semver 03:03:52 b85a868b505f: Pulling fs layer 03:03:52 e2be974225ed: Pulling fs layer 03:03:52 339a4e72a1f5: Pulling fs layer 03:03:52 988bab9f4d93: Pulling fs layer 03:03:52 1469e6f7b9e6: Pulling fs layer 03:03:52 eaf3925da568: Pulling fs layer 03:03:52 bab4dde63d76: Pulling fs layer 03:03:52 bde34c3a00c8: Pulling fs layer 03:03:52 b352a97aabf1: Pulling fs layer 03:03:52 4872d77fe225: Pulling fs layer 03:03:52 5851b861e8e6: Pulling fs layer 03:03:52 bab4dde63d76: Waiting 03:03:52 bde34c3a00c8: Waiting 03:03:52 1469e6f7b9e6: Waiting 03:03:52 eaf3925da568: Waiting 03:03:52 b352a97aabf1: Waiting 03:03:52 988bab9f4d93: Waiting 03:03:52 5851b861e8e6: Waiting 03:03:52 4872d77fe225: Waiting 03:03:52 e2be974225ed: Verifying Checksum 03:03:52 e2be974225ed: Download complete 03:03:52 988bab9f4d93: Verifying Checksum 03:03:52 988bab9f4d93: Download complete 03:03:52 1469e6f7b9e6: Verifying Checksum 03:03:52 1469e6f7b9e6: Download complete 03:03:52 eaf3925da568: Download complete 03:03:52 339a4e72a1f5: Verifying Checksum 03:03:52 339a4e72a1f5: Download complete 03:03:52 bde34c3a00c8: Verifying Checksum 03:03:52 bde34c3a00c8: Download complete 03:03:52 b352a97aabf1: Download complete 03:03:52 4872d77fe225: Download complete 03:03:52 5851b861e8e6: Verifying Checksum 03:03:52 5851b861e8e6: Download complete 03:03:52 b85a868b505f: Verifying Checksum 03:03:52 b85a868b505f: Download complete 03:03:52 bab4dde63d76: Verifying Checksum 03:03:52 bab4dde63d76: Download complete 03:03:53 b85a868b505f: Pull complete 03:03:53 e2be974225ed: Pull complete 03:03:54 339a4e72a1f5: Pull complete 03:03:54 988bab9f4d93: Pull complete 03:03:54 1469e6f7b9e6: Pull complete 03:03:54 eaf3925da568: Pull complete 03:03:56 bab4dde63d76: Pull complete 03:03:56 bde34c3a00c8: Pull complete 03:03:56 b352a97aabf1: Pull complete 03:03:56 4872d77fe225: Pull complete 03:03:56 5851b861e8e6: Pull complete 03:03:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:56 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:03:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:04:00 $ docker top c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d -eo pid,comm 03:04:00 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). 03:04:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:00 [ssh-agent] Looking for ssh-agent implementation... 03:04:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:00 $ docker exec c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent 03:04:00 SSH_AUTH_SOCK=/tmp/ssh-GcnzoTnCwMTp/agent.33 03:04:00 SSH_AGENT_PID=40 03:04:00 Running ssh-add (command line suppressed) 03:04:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3972221997870335331.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3972221997870335331.key) 03:04:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:01 + git tag --points-at HEAD [Pipeline] } 03:04:01 $ docker exec --env ******** --env ******** c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent -k 03:04:01 unset SSH_AUTH_SOCK; 03:04:01 unset SSH_AGENT_PID; 03:04:01 echo Agent pid 40 killed; 03:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:01 [ssh-agent] Looking for ssh-agent implementation... 03:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:01 $ docker exec c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent 03:04:01 SSH_AUTH_SOCK=/tmp/ssh-9EsgScH5nXOH/agent.74 03:04:01 SSH_AGENT_PID=80 03:04:01 Running ssh-add (command line suppressed) 03:04:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5913507828055967975.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5913507828055967975.key) 03:04:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:01 + git semver init 03:04:02 2024-06-03 03:04:02,136 [run_init] DEBUG init version:0.0.0 force:False 03:04:02 2024-06-03 03:04:02,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 03:04:02 2024-06-03 03:04:02,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 03:04:02 2024-06-03 03:04:02,138 [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) 03:04:03 2024-06-03 03:04:02,913 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 03:04:03 2024-06-03 03:04:02,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 03:04:03 2024-06-03 03:04:02,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:04:03 2024-06-03 03:04:02,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:04:03 3.0.3-dev.15 [Pipeline] } 03:04:03 $ docker exec --env ******** --env ******** c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent -k 03:04:03 unset SSH_AUTH_SOCK; 03:04:03 unset SSH_AGENT_PID; 03:04:03 echo Agent pid 80 killed; 03:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:03 + git semver [Pipeline] } 03:04:03 $ docker stop --time=1 c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d 03:04:05 $ docker rm -f --volumes c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d [Pipeline] // withDockerContainer [Pipeline] sh 03:04:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:04:05 Stashed 1 file(s) [Pipeline] echo 03:04:05 [edgeXSemver]: initialized semver on version 3.0.3-dev.15 [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 03:04:05 provisioning config files... 03:04:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10832254945873024370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:06 ---> ****-login.sh 03:04:06 nexus3.edgexfoundry.org:10001 03:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:06 Configure a credential helper to remove this warning. See 03:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:06 03:04:06 Login Succeeded 03:04:06 nexus3.edgexfoundry.org:10002 03:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:06 Configure a credential helper to remove this warning. See 03:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:06 03:04:06 Login Succeeded 03:04:06 nexus3.edgexfoundry.org:10003 03:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:06 Configure a credential helper to remove this warning. See 03:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:06 03:04:06 Login Succeeded 03:04:06 nexus3.edgexfoundry.org:10004 03:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:06 Configure a credential helper to remove this warning. See 03:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:06 03:04:06 Login Succeeded 03:04:06 ****.io 03:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:04:06 Configure a credential helper to remove this warning. See 03:04:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:04:06 03:04:06 Login Succeeded 03:04:06 ---> ****-login.sh ends [Pipeline] } 03:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:04:06 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 03:04:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:04:06 ========================================================= 03:04:06 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 03:04:06 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:07 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 03:04:07 Sending build context to Docker daemon 5.033MB 03:04:07 Step 1/22 : ARG BASE=alpine:3.18 03:04:07 Step 2/22 : FROM ${BASE} as builder 03:04:07 latest: Pulling from edgex-devops/edgex-gcc-base 03:04:07 96526aa774ef: Pulling fs layer 03:04:07 da60e534fd72: Pulling fs layer 03:04:07 96526aa774ef: Verifying Checksum 03:04:07 96526aa774ef: Download complete 03:04:07 96526aa774ef: Pull complete 03:04:08 da60e534fd72: Verifying Checksum 03:04:08 da60e534fd72: Download complete 03:04:11 da60e534fd72: Pull complete 03:04:11 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 03:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 03:04:11 ---> 6605166a5db4 03:04:11 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 03:04:14 ---> Running in c13af41b83c4 03:04:14 Connecting to iotech.jfrog.io (54.73.4.50:443) 03:04:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:04:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:04:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:04:15 Removing intermediate container c13af41b83c4 03:04:15 ---> ccd7d1343b92 03:04:15 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:04:15 ---> Running in 1529fa925cbd 03:04:15 Removing intermediate container 1529fa925cbd 03:04:15 ---> 2d9defac8721 03:04:15 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 03:04:15 ---> Running in 1b5455a7e435 03:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:17 (1/17) Installing hiredis (1.1.0-r2) 03:04:17 (2/17) Installing hiredis-dev (1.1.0-r2) 03:04:17 (3/17) Installing libcbor (0.10.2-r1) 03:04:17 (4/17) Installing iotech-iot-1.5 (1.5.4-r1) 03:04:17 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) 03:04:17 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 03:04:17 (7/17) Installing libcbor-dev (0.10.2-r1) 03:04:17 (8/17) Installing libmenuw (6.4_p20230506-r0) 03:04:17 (9/17) Installing libpanelw (6.4_p20230506-r0) 03:04:17 (10/17) Installing libncurses++ (6.4_p20230506-r0) 03:04:17 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 03:04:17 (12/17) Installing libblkid (2.38.1-r8) 03:04:17 (13/17) Installing libuuid (2.38.1-r8) 03:04:17 (14/17) Installing libfdisk (2.38.1-r8) 03:04:17 (15/17) Installing libmount (2.38.1-r8) 03:04:17 (16/17) Installing libsmartcols (2.38.1-r8) 03:04:17 (17/17) Installing util-linux-dev (2.38.1-r8) 03:04:17 Executing busybox-1.36.1-r4.trigger 03:04:17 OK: 336 MiB in 99 packages 03:04:18 Removing intermediate container 1b5455a7e435 03:04:18 ---> ce2948556c50 03:04:18 Step 6/22 : RUN mkdir /tmp/sdk 03:04:18 ---> Running in ec86f3d7fece 03:04:19 Removing intermediate container ec86f3d7fece 03:04:19 ---> 6e2d30d28192 03:04:19 Step 7/22 : COPY VERSION /tmp/sdk 03:04:19 ---> dc192fa58258 03:04:19 Step 8/22 : COPY src /tmp/sdk/src 03:04:19 ---> 0cee7290a01e 03:04:19 Step 9/22 : COPY include /tmp/sdk/include 03:04:19 ---> 8a1ecd94ea87 03:04:19 Step 10/22 : COPY scripts /tmp/sdk/scripts 03:04:19 ---> 7c535bab8fcf 03:04:19 Step 11/22 : COPY LICENSE /tmp/sdk 03:04:20 ---> 6266b205a628 03:04:20 Step 12/22 : COPY Attribution.txt /tmp/sdk 03:04:20 ---> 777e861fa8a2 03:04:20 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 03:04:20 ---> Running in 0e1e990f7f3c 03:04:20 + CPPCHECK=false 03:04:20 + DOCGEN=false 03:04:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 03:04:20 + '[' 0 -gt 0 ] 03:04:20 + readlink -f ./scripts/build.sh 03:04:20 + dirname /tmp/sdk/scripts/build.sh 03:04:20 + dirname /tmp/sdk/scripts 03:04:20 + ROOT=/tmp/sdk 03:04:20 + cd /tmp/sdk 03:04:20 + mkdir -p /tmp/sdk/build/release 03:04:20 + cd /tmp/sdk/build/release 03:04:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 03:04:20 -- The C compiler identification is GNU 12.2.1 03:04:20 -- Detecting C compiler ABI info 03:04:20 -- Detecting C compiler ABI info - done 03:04:20 -- Check for working C compiler: /usr/bin/cc - skipped 03:04:20 -- Detecting C compile features 03:04:20 -- Detecting C compile features - done 03:04:20 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:04:20 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 03:04:20 -- Found LIBYAML: /usr/lib/libyaml.so 03:04:20 -- Found LIBUUID: /usr/lib/libuuid.so 03:04:20 -- Found LIBCBOR: /usr/lib/libcbor.so 03:04:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:04:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 03:04:20 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:04:20 -- /opt/iotech/iot/1.5/include 03:04:20 -- C SDK 3.0.3-dev.15 for Linux 03:04:20 -- Performing Test CSDK_HAVE_ATOMIC 03:04:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:04:20 Still waiting to schedule task 03:04:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:04:21 -- Found Curses: /usr/lib/libcurses.so 03:04:21 -- Configuring done (0.4s) 03:04:21 -- Generating done (0.0s) 03:04:21 -- Build files have been written to: /tmp/sdk/build/release 03:04:21 + make all package 03:04:21 + tee release.log 03:04:21 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:04:21 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:04:21 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 03:04:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:04:21 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:04:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:04:21 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 03:04:22 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 03:04:22 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 03:04:22 294 | while (privateConfig) 03:04:22 | ^~~~~~~~~~~~~ 03:04:22 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 03:04:22 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 03:04:22 | ^~~~~~~~~~~~~ 03:04:22 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 03:04:22 271 | while (result) 03:04:22 | ^~~~~~ 03:04:22 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 03:04:22 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 03:04:22 | ^~~~~~ 03:04:22 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:04:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:04:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:04:22 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:04:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:04:22 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:04:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:04:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:04:23 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:04:23 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:04:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:04:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:04:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:04:23 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:04:24 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:04:24 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:04:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:04:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:04:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:04:25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:04:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:04:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:04:25 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:04:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:04:25 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 03:04:25 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:04:25 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 03:04:25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:25 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:04:25 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 03:04:25 | ^ 03:04:26 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 03:04:26 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:04:26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:26 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 03:04:26 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 03:04:26 | ^~~~~~~~~~~~~~~~~~~~~ 03:04:26 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:04:26 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:04:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:04:26 [ 68%] Linking C shared library libcsdk.so 03:04:26 [ 68%] Built target csdk 03:04:26 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:04:26 [ 72%] Linking C executable template 03:04:26 [ 72%] Built target template 03:04:26 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:04:26 [ 76%] Linking C executable device-counter 03:04:26 [ 76%] Built target device-counter 03:04:26 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:04:27 [ 80%] Linking C executable device-random 03:04:27 [ 80%] Built target device-random 03:04:27 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:04:27 [ 84%] Linking C executable device-gyro 03:04:27 [ 84%] Built target device-gyro 03:04:27 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:04:27 [ 88%] Linking C executable device-bitfields 03:04:27 [ 88%] Built target device-bitfields 03:04:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:04:27 [ 92%] Linking C executable template-discovery 03:04:27 [ 92%] Built target template-discovery 03:04:27 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:04:27 [ 96%] Linking C executable device-file 03:04:27 [ 96%] Built target device-file 03:04:27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:04:27 [100%] Linking C executable device-terminal 03:04:28 [100%] Built target device-terminal 03:04:28 Run CPack packaging tool... 03:04:28 CPack: Create package using TGZ 03:04:28 CPack: Install projects 03:04:28 CPack: - Run preinstall target for: Csdk 03:04:28 CPack: - Install project: Csdk [] 03:04:28 CPack: Create package 03:04:28 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.15.tar.gz generated. 03:04:28 + '[' false '=' true ] 03:04:28 + '[' false '=' true ] 03:04:28 + mkdir -p /tmp/sdk/build/debug 03:04:28 + cd /tmp/sdk/build/debug 03:04:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 03:04:28 -- The C compiler identification is GNU 12.2.1 03:04:28 -- Detecting C compiler ABI info 03:04:28 -- Detecting C compiler ABI info - done 03:04:28 -- Check for working C compiler: /usr/bin/cc - skipped 03:04:28 -- Detecting C compile features 03:04:28 -- Detecting C compile features - done 03:04:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:04:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 03:04:28 -- Found LIBYAML: /usr/lib/libyaml.so 03:04:28 -- Found LIBUUID: /usr/lib/libuuid.so 03:04:28 -- Found LIBCBOR: /usr/lib/libcbor.so 03:04:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:04:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 03:04:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:04:28 -- /opt/iotech/iot/1.5/include 03:04:28 -- C SDK 3.0.3-dev.15 for Linux 03:04:28 -- Performing Test CSDK_HAVE_ATOMIC 03:04:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:04:28 -- Found Curses: /usr/lib/libcurses.so 03:04:28 -- Configuring done (0.4s) 03:04:28 -- Generating done (0.0s) 03:04:28 -- Build files have been written to: /tmp/sdk/build/debug 03:04:28 + make 03:04:28 + tee debug.log 03:04:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:04:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:04:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 03:04:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:04:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:04:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:04:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 03:04:29 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:04:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:04:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:04:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:04:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:04:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:04:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:04:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:04:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:04:30 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:04:30 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:04:30 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:04:30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:04:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:04:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:04:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:04:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:04:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:04:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:04:31 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:04:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:04:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:04:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:04:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:04:31 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 03:04:31 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:04:31 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 03:04:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:04:31 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:04:31 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 03:04:31 | ^ 03:04:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:04:31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:04:31 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:04:31 [ 68%] Linking C shared library libcsdk.so 03:04:31 [ 68%] Built target csdk 03:04:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:04:31 [ 72%] Linking C executable template 03:04:31 [ 72%] Built target template 03:04:32 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:04:32 [ 76%] Linking C executable device-counter 03:04:32 [ 76%] Built target device-counter 03:04:32 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:04:32 [ 80%] Linking C executable device-random 03:04:32 [ 80%] Built target device-random 03:04:32 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:04:32 [ 84%] Linking C executable device-gyro 03:04:32 [ 84%] Built target device-gyro 03:04:32 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:04:32 [ 88%] Linking C executable device-bitfields 03:04:32 [ 88%] Built target device-bitfields 03:04:32 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:04:32 [ 92%] Linking C executable template-discovery 03:04:32 [ 92%] Built target template-discovery 03:04:32 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:04:32 [ 96%] Linking C executable device-file 03:04:32 [ 96%] Built target device-file 03:04:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:04:32 [100%] Linking C executable device-terminal 03:04:33 [100%] Built target device-terminal 03:04:33 make: Entering directory '/tmp/sdk/build/release' 03:04:33 [ 68%] Built target csdk 03:04:33 [ 72%] Built target template 03:04:33 [ 76%] Built target device-counter 03:04:33 [ 80%] Built target device-random 03:04:33 [ 84%] Built target device-gyro 03:04:33 [ 88%] Built target device-bitfields 03:04:33 [ 92%] Built target template-discovery 03:04:33 [ 96%] Built target device-file 03:04:33 [100%] Built target device-terminal 03:04:33 Install the project... 03:04:33 -- Install configuration: "Release" 03:04:33 -- Installing: /usr/local/lib/libcsdk.so 03:04:33 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 03:04:33 -- Installing: /usr/local/include 03:04:33 -- Installing: /usr/local/include/devsdk 03:04:33 -- Installing: /usr/local/include/devsdk/devsdk.h 03:04:33 -- Installing: /usr/local/include/devsdk/devsdk-base.h 03:04:33 -- Installing: /usr/local/include/edgex 03:04:33 -- Installing: /usr/local/include/edgex/edgex.h 03:04:33 -- Installing: /usr/local/include/edgex/devices.h 03:04:33 -- Installing: /usr/local/include/edgex/profiles.h 03:04:33 -- Installing: /usr/local/include/edgex/edgex-base.h 03:04:33 -- Installing: /usr/local/include/edgex/rest-server.h 03:04:33 -- Installing: /usr/local/include/edgex/csdk-defs.h 03:04:33 -- Installing: /usr/local/share/device-sdk-c/LICENSE 03:04:33 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 03:04:33 make: Leaving directory '/tmp/sdk/build/release' 03:04:34 Removing intermediate container 0e1e990f7f3c 03:04:34 ---> 8a95cedcc30e 03:04:34 Step 14/22 : FROM ${BASE} 03:04:34 ---> 6605166a5db4 03:04:34 Step 15/22 : LABEL maintainer="IOTech " 03:04:34 ---> Running in 475a0293ee9b 03:04:34 Removing intermediate container 475a0293ee9b 03:04:34 ---> 61f78cfa5160 03:04:34 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 03:04:34 ---> Running in c43554390b7b 03:04:34 Connecting to iotech.jfrog.io (34.247.22.236:443) 03:04:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:04:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:04:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:04:35 Removing intermediate container c43554390b7b 03:04:35 ---> 3b563a6a6ef8 03:04:35 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:04:35 ---> Running in b6e0c5067c84 03:04:35 Removing intermediate container b6e0c5067c84 03:04:35 ---> 23627f0cb103 03:04:35 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 03:04:35 ---> Running in 3c0614009fda 03:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:37 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 03:04:37 (2/10) Installing curl (8.5.0-r0) 03:04:37 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 03:04:37 (4/10) Installing dumb-init (1.2.5-r2) 03:04:37 (5/10) Installing hiredis (1.1.0-r2) 03:04:37 (6/10) Installing hiredis-dev (1.1.0-r2) 03:04:37 (7/10) Installing libcbor (0.10.2-r1) 03:04:37 (8/10) Installing iotech-iot-1.5 (1.5.4-r1) 03:04:37 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 03:04:37 (10/10) Installing libuuid (2.38.1-r8) 03:04:37 Executing busybox-1.36.1-r4.trigger 03:04:37 OK: 331 MiB in 90 packages 03:04:38 Removing intermediate container 3c0614009fda 03:04:38 ---> a471f7debf76 03:04:38 Step 19/22 : RUN apk --no-cache upgrade 03:04:38 ---> Running in 542f86587323 03:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:39 Upgrading critical system libraries and apk-tools: 03:04:39 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:04:39 Executing busybox-1.36.1-r4.trigger 03:04:39 Continuing the upgrade transaction with new apk-tools: 03:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:40 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:40 (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) 03:04:40 Executing busybox-1.36.1-r6.post-upgrade 03:04:40 (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) 03:04:40 (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:04:40 (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) 03:04:40 (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) 03:04:40 (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) 03:04:40 (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) 03:04:40 (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) 03:04:40 (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 03:04:40 (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) 03:04:40 (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 03:04:40 (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 03:04:40 (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 03:04:40 Executing busybox-1.36.1-r6.trigger 03:04:40 Executing ca-certificates-20240226-r0.trigger 03:04:40 OK: 331 MiB in 90 packages 03:04:41 Removing intermediate container 542f86587323 03:04:41 ---> d3373ba320c5 03:04:41 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 03:04:41 ---> e10fc127786d 03:04:41 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 03:04:41 ---> 7b64459b76da 03:04:41 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 03:04:41 ---> 8b182f0827c8 03:04:41 Successfully built 8b182f0827c8 03:04:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:42 + docker inspect -f . ci-base-image-x86_64 03:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:42 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:04:42 $ 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 03:04:42 $ docker top 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:43 + make test 03:04:43 echo "make test" 03:04:43 make test [Pipeline] } 03:04:43 $ docker stop --time=1 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 03:04:44 $ docker rm -f --volumes 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:04:45 + ls -al . 03:04:45 total 212 03:04:45 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 03:04 . 03:04:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 .. 03:04:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:04 .git 03:04:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 03:03 .github 03:04:45 -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 03:03 .gitignore 03:04:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 03:04 .semver 03:04:45 -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 03:03 Attribution.txt 03:04:45 -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 03:03 CHANGELOG.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 03:03 Doxyfile 03:04:45 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 03:03 GOVERNANCE.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 03:03 Jenkinsfile 03:04:45 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 03:03 LICENSE 03:04:45 -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 03:03 Makefile 03:04:45 -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 03:03 OWNERS.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 03:03 README.IOT.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 03:03 README.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 03:03 README.v3.md 03:04:45 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 03:04 VERSION 03:04:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:03 docs 03:04:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 include 03:04:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:03 scripts 03:04:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:45 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef --label arch=amd64 --label version=3.0.3-dev.15 . 03:04:45 Sending build context to Docker daemon 5.033MB 03:04:45 Step 1/18 : ARG BASE=alpine:3.18 03:04:45 Step 2/18 : FROM ${BASE} 03:04:45 ---> 8b182f0827c8 03:04:45 Step 3/18 : LABEL maintainer="IOTech " 03:04:45 ---> Running in 75add1f68368 03:04:45 Removing intermediate container 75add1f68368 03:04:45 ---> 716f22d8ec8e 03:04:45 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 03:04:45 ---> Running in 76e626342684 03:04:46 Connecting to iotech.jfrog.io (54.73.4.50:443) 03:04:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:04:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:04:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:04:46 Removing intermediate container 76e626342684 03:04:46 ---> 68ab67d5a9c4 03:04:46 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:04:46 ---> Running in 65d138c43251 03:04:47 Removing intermediate container 65d138c43251 03:04:47 ---> 99d759308d7e 03:04:47 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 03:04:47 ---> Running in c0cb94a7aa54 03:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:48 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) 03:04:48 (2/11) Installing libcbor-dev (0.10.2-r1) 03:04:48 (3/11) Installing libmenuw (6.4_p20230506-r0) 03:04:48 (4/11) Installing libpanelw (6.4_p20230506-r0) 03:04:48 (5/11) Installing libncurses++ (6.4_p20230506-r0) 03:04:48 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 03:04:48 (7/11) Installing libblkid (2.38.1-r8) 03:04:48 (8/11) Installing libfdisk (2.38.1-r8) 03:04:48 (9/11) Installing libmount (2.38.1-r8) 03:04:48 (10/11) Installing libsmartcols (2.38.1-r8) 03:04:48 (11/11) Installing util-linux-dev (2.38.1-r8) 03:04:48 Executing busybox-1.36.1-r6.trigger 03:04:48 OK: 337 MiB in 101 packages 03:04:49 Removing intermediate container c0cb94a7aa54 03:04:49 ---> dc0de9670442 03:04:49 Step 7/18 : RUN apk --no-cache upgrade 03:04:49 ---> Running in 0c078e83c4d6 03:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:04:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 03:04:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:04:50 OK: 337 MiB in 101 packages 03:04:50 Removing intermediate container 0c078e83c4d6 03:04:50 ---> 6049e14c39e1 03:04:50 Step 8/18 : COPY VERSION /edgex-c-sdk/ 03:04:50 ---> faa39d9b3438 03:04:50 Step 9/18 : COPY src /edgex-c-sdk/src/ 03:04:51 ---> 6d5da7bece1b 03:04:51 Step 10/18 : COPY include /edgex-c-sdk/include/ 03:04:51 ---> 65745f0385ea 03:04:51 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 03:04:51 ---> bde7c5f281aa 03:04:51 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 03:04:51 ---> ff652f21277e 03:04:51 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 03:04:51 ---> ecdb1606fd74 03:04:51 Step 14/18 : WORKDIR /edgex-c-sdk 03:04:51 ---> Running in 21906e87e9b0 03:04:51 Removing intermediate container 21906e87e9b0 03:04:51 ---> d967c1a6f2c9 03:04:51 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 03:04:51 ---> Running in 4fba68c9f8a0 03:04:51 Removing intermediate container 4fba68c9f8a0 03:04:51 ---> cc19cf864d0a 03:04:51 Step 16/18 : LABEL arch=amd64 03:04:51 ---> Running in 4d0029b04b3a 03:04:52 Removing intermediate container 4d0029b04b3a 03:04:52 ---> f9e90cfca60a 03:04:52 Step 17/18 : LABEL git_sha=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 03:04:52 ---> Running in e84abacc7c81 03:04:52 Removing intermediate container e84abacc7c81 03:04:52 ---> 98e44b620b25 03:04:52 Step 18/18 : LABEL version=3.0.3-dev.15 03:04:52 ---> Running in 1f4bd047cb7c 03:04:52 Removing intermediate container 1f4bd047cb7c 03:04:52 ---> a5b7fdca9141 03:04:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:04:52 Successfully built a5b7fdca9141 03:04:52 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 03:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:52 03:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:52 latest: Pulling from edgex-lftools-log-publisher 03:04:52 5eb5b503b376: Pulling fs layer 03:04:52 5c69ac0246d0: Pulling fs layer 03:04:52 ec43610c2a17: Pulling fs layer 03:04:52 3a2ae6a8a46f: Pulling fs layer 03:04:52 33b1e0a273af: Pulling fs layer 03:04:52 5d3b04190fa2: Pulling fs layer 03:04:52 2f39f015ded8: Pulling fs layer 03:04:52 3a2ae6a8a46f: Waiting 03:04:52 2f39f015ded8: Waiting 03:04:52 5d3b04190fa2: Waiting 03:04:52 5c69ac0246d0: Download complete 03:04:52 3a2ae6a8a46f: Verifying Checksum 03:04:52 3a2ae6a8a46f: Download complete 03:04:53 33b1e0a273af: Verifying Checksum 03:04:53 33b1e0a273af: Download complete 03:04:53 ec43610c2a17: Verifying Checksum 03:04:53 ec43610c2a17: Download complete 03:04:53 5d3b04190fa2: Verifying Checksum 03:04:53 5d3b04190fa2: Download complete 03:04:53 5eb5b503b376: Verifying Checksum 03:04:53 5eb5b503b376: Download complete 03:04:54 2f39f015ded8: Verifying Checksum 03:04:54 2f39f015ded8: Download complete 03:04:54 5eb5b503b376: Pull complete 03:04:54 5c69ac0246d0: Pull complete 03:04:55 ec43610c2a17: Pull complete 03:04:55 3a2ae6a8a46f: Pull complete 03:04:55 33b1e0a273af: Pull complete 03:04:55 5d3b04190fa2: Pull complete 03:04:59 2f39f015ded8: Pull complete 03:04:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:04:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:59 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:04:59 $ 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 03:05:05 $ docker top f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:05:05 ---> job-cost.sh 03:05:05 lf-activate-venv: SKIPPING 03:05:05 INFO: No Stack... 03:05:05 INFO: Retrieving Pricing Info for: v3-standard-8 03:05:06 INFO: Archiving Costs [Pipeline] sh 03:05:06 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 03:05:06 + cut -d, -f6 [Pipeline] lock 03:05:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] 03:05:06 Resource [jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] did not exist. Created. 03:05:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:05:06 + echo total: 0.2199999988079071 [Pipeline] stash 03:05:06 Stashed 1 file(s) [Pipeline] } 03:05:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 03:05:06 $ docker stop --time=1 f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e 03:05:07 $ docker rm -f --volumes f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:05:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2681 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 03:05:55 Running in /w/workspace/device-sdk-c/75 [Pipeline] { [Pipeline] checkout 03:05:58 Selected Git installation does not exist. Using Default 03:05:58 The recommended git tool is: NONE 03:06:03 using credential edgex-jenkins-ssh 03:06:03 Cloning the remote Git repository 03:06:03 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 03:06:03 > git init /w/workspace/device-sdk-c/75 # timeout=10 03:06:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 03:06:03 > git --version # timeout=10 03:06:03 > git --version # 'git version 2.25.1' 03:06:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:06:05 Avoid second fetch 03:06:05 Checking out Revision b5fd43aa6b4e8069e65248caa2e7d6db03f961ef (main) 03:06:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 03:06:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:06:05 > git config core.sparsecheckout # timeout=10 03:06:06 > git checkout -f b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 03:06:06 Commit message: "fix: Address CVE in Alpine base image (#496)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:06:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:06:11 Dload Upload Total Spent Left Speed 03:06:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 03:06:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:06:11 + sudo tee /etc/docker/daemon.new+ 03:06:11 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:06:11 { 03:06:11 "registry-mirrors": [ 03:06:11 "https://nexus3.edgexfoundry.org:10001" 03:06:11 ], 03:06:11 "bip": "10.250.0.254/24", 03:06:11 "hosts": [ 03:06:11 "tcp://0.0.0.0:5555", 03:06:11 "unix:///var/run/docker.sock" 03:06:11 ], 03:06:11 "mtu": 1458, 03:06:11 "selinux-enabled": true, 03:06:11 "seccomp-profile": "/etc/docker/seccomp.json" 03:06:11 } [Pipeline] sh 03:06:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:06:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:06:30 provisioning config files... 03:06:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/75@tmp/config13736538650383048621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:06:31 ---> ****-login.sh 03:06:31 nexus3.edgexfoundry.org:10001 03:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:31 Configure a credential helper to remove this warning. See 03:06:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:31 03:06:31 Login Succeeded 03:06:31 nexus3.edgexfoundry.org:10002 03:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:32 Configure a credential helper to remove this warning. See 03:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:32 03:06:32 Login Succeeded 03:06:32 nexus3.edgexfoundry.org:10003 03:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:32 Configure a credential helper to remove this warning. See 03:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:32 03:06:32 Login Succeeded 03:06:32 nexus3.edgexfoundry.org:10004 03:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:32 Configure a credential helper to remove this warning. See 03:06:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:32 03:06:32 Login Succeeded 03:06:32 ****.io 03:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:33 Configure a credential helper to remove this warning. See 03:06:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:33 03:06:33 Login Succeeded 03:06:33 ---> ****-login.sh ends [Pipeline] } 03:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:06:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 03:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:06:33 ========================================================= 03:06:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 03:06:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:34 + 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 . 03:06:34 Sending build context to Docker daemon 3.012MB 03:06:34 Step 1/22 : ARG BASE=alpine:3.18 03:06:34 Step 2/22 : FROM ${BASE} as builder 03:06:34 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 03:06:34 579b34f0a95b: Pulling fs layer 03:06:34 e71477ac5e1b: Pulling fs layer 03:06:34 579b34f0a95b: Verifying Checksum 03:06:34 579b34f0a95b: Download complete 03:06:35 579b34f0a95b: Pull complete 03:06:37 e71477ac5e1b: Verifying Checksum 03:06:37 e71477ac5e1b: Download complete 03:06:49 e71477ac5e1b: Pull complete 03:06:49 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 03:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 03:06:49 ---> 2b552cad5dd9 03:06:49 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 03:06:49 ---> Running in 3ac2007faacf 03:06:50 Connecting to iotech.jfrog.io (34.247.22.236:443) 03:06:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:06:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:06:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:06:51 Removing intermediate container 3ac2007faacf 03:06:51 ---> f8580bc90efa 03:06:51 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:06:51 ---> Running in c3610114a0a1 03:06:52 Removing intermediate container c3610114a0a1 03:06:52 ---> e34521b3e511 03:06:52 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 03:06:52 ---> Running in 4c737fc0a103 03:06:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:06:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:06:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:06:55 (1/17) Installing hiredis (1.1.0-r2) 03:06:55 (2/17) Installing hiredis-dev (1.1.0-r2) 03:06:55 (3/17) Installing libcbor (0.10.2-r1) 03:06:55 (4/17) Installing iotech-iot-1.5 (1.5.4-r1) 03:06:56 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) 03:06:56 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 03:06:56 (7/17) Installing libcbor-dev (0.10.2-r1) 03:06:56 (8/17) Installing libmenuw (6.4_p20230506-r0) 03:06:56 (9/17) Installing libpanelw (6.4_p20230506-r0) 03:06:56 (10/17) Installing libncurses++ (6.4_p20230506-r0) 03:06:56 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 03:06:56 (12/17) Installing libblkid (2.38.1-r8) 03:06:56 (13/17) Installing libuuid (2.38.1-r8) 03:06:56 (14/17) Installing libfdisk (2.38.1-r8) 03:06:56 (15/17) Installing libmount (2.38.1-r8) 03:06:56 (16/17) Installing libsmartcols (2.38.1-r8) 03:06:56 (17/17) Installing util-linux-dev (2.38.1-r8) 03:06:56 Executing busybox-1.36.1-r4.trigger 03:06:57 OK: 333 MiB in 99 packages 03:06:58 Removing intermediate container 4c737fc0a103 03:06:58 ---> a8ead615d7c8 03:06:58 Step 6/22 : RUN mkdir /tmp/sdk 03:06:58 ---> Running in 02b644d064f6 03:07:00 Removing intermediate container 02b644d064f6 03:07:00 ---> 7cbf51a2e932 03:07:00 Step 7/22 : COPY VERSION /tmp/sdk 03:07:00 ---> a9bee4c43dbb 03:07:00 Step 8/22 : COPY src /tmp/sdk/src 03:07:01 ---> 46a4ee0049c0 03:07:01 Step 9/22 : COPY include /tmp/sdk/include 03:07:02 ---> 1df891ff708d 03:07:02 Step 10/22 : COPY scripts /tmp/sdk/scripts 03:07:02 ---> 1276ceb55aef 03:07:02 Step 11/22 : COPY LICENSE /tmp/sdk 03:07:03 ---> ae0320d0eebb 03:07:03 Step 12/22 : COPY Attribution.txt /tmp/sdk 03:07:03 ---> fada4d3b354e 03:07:03 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 03:07:03 ---> Running in 50412319cda9 03:07:04 + CPPCHECK=false 03:07:04 + DOCGEN=false 03:07:04 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 03:07:04 + '[' 0 -gt 0 ] 03:07:04 + readlink -f ./scripts/build.sh 03:07:04 + dirname /tmp/sdk/scripts/build.sh 03:07:04 + dirname /tmp/sdk/scripts 03:07:04 + ROOT=/tmp/sdk 03:07:04 + cd /tmp/sdk 03:07:04 + mkdir -p /tmp/sdk/build/release 03:07:04 + cd /tmp/sdk/build/release 03:07:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 03:07:04 -- The C compiler identification is GNU 12.2.1 03:07:04 -- Detecting C compiler ABI info 03:07:05 -- Detecting C compiler ABI info - done 03:07:05 -- Check for working C compiler: /usr/bin/cc - skipped 03:07:05 -- Detecting C compile features 03:07:05 -- Detecting C compile features - done 03:07:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:07:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 03:07:05 -- Found LIBYAML: /usr/lib/libyaml.so 03:07:05 -- Found LIBUUID: /usr/lib/libuuid.so 03:07:05 -- Found LIBCBOR: /usr/lib/libcbor.so 03:07:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:07:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 03:07:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:07:05 -- /opt/iotech/iot/1.5/include 03:07:05 -- C SDK 3.0.3-dev.15 for Linux 03:07:05 -- Performing Test CSDK_HAVE_ATOMIC 03:07:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:07:06 -- Found Curses: /usr/lib/libcurses.so 03:07:06 -- Configuring done (1.7s) 03:07:06 -- Generating done (0.2s) 03:07:06 -- Build files have been written to: /tmp/sdk/build/release 03:07:06 + + maketee release.log all 03:07:06 package 03:07:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:07:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:07:08 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 03:07:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:07:09 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:07:10 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:07:12 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 03:07:13 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 03:07:13 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 03:07:13 294 | while (privateConfig) 03:07:13 | ^~~~~~~~~~~~~ 03:07:13 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 03:07:13 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 03:07:13 | ^~~~~~~~~~~~~ 03:07:13 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 03:07:13 271 | while (result) 03:07:13 | ^~~~~~ 03:07:13 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 03:07:13 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 03:07:13 | ^~~~~~ 03:07:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:07:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:07:14 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:07:16 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:07:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:07:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:07:18 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:07:19 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:07:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:07:20 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:07:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:07:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:07:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:07:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:07:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:07:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:07:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:07:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:07:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:07:34 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:07:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:07:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:07:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:07:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:07:39 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 03:07:39 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:07:39 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 03:07:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:07:39 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:07:39 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 03:07:39 | ^ 03:07:40 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 03:07:40 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 03:07:40 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:07:40 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 03:07:40 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 03:07:40 | ^~~~~~~~~~~~~~~~~~~~~ 03:07:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:07:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:07:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:07:43 [ 68%] Linking C shared library libcsdk.so 03:07:43 [ 68%] Built target csdk 03:07:43 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:07:44 [ 72%] Linking C executable template 03:07:45 [ 72%] Built target template 03:07:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:07:45 [ 76%] Linking C executable device-counter 03:07:45 [ 76%] Built target device-counter 03:07:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:07:46 [ 80%] Linking C executable device-random 03:07:46 [ 80%] Built target device-random 03:07:46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:07:47 [ 84%] Linking C executable device-gyro 03:07:47 [ 84%] Built target device-gyro 03:07:47 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:07:48 [ 88%] Linking C executable device-bitfields 03:07:48 [ 88%] Built target device-bitfields 03:07:48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:07:49 [ 92%] Linking C executable template-discovery 03:07:49 [ 92%] Built target template-discovery 03:07:49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:07:50 [ 96%] Linking C executable device-file 03:07:50 [ 96%] Built target device-file 03:07:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:07:51 [100%] Linking C executable device-terminal 03:07:51 [100%] Built target device-terminal 03:07:51 Run CPack packaging tool... 03:07:51 CPack: Create package using TGZ 03:07:51 CPack: Install projects 03:07:51 CPack: - Run preinstall target for: Csdk 03:07:52 CPack: - Install project: Csdk [] 03:07:52 CPack: Create package 03:07:52 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.15.tar.gz generated. 03:07:52 + '[' false '=' true ] 03:07:52 + '[' false '=' true ] 03:07:52 + mkdir -p /tmp/sdk/build/debug 03:07:52 + cd /tmp/sdk/build/debug 03:07:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 03:07:52 -- The C compiler identification is GNU 12.2.1 03:07:52 -- Detecting C compiler ABI info 03:07:53 -- Detecting C compiler ABI info - done 03:07:53 -- Check for working C compiler: /usr/bin/cc - skipped 03:07:53 -- Detecting C compile features 03:07:53 -- Detecting C compile features - done 03:07:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 03:07:53 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 03:07:53 -- Found LIBYAML: /usr/lib/libyaml.so 03:07:53 -- Found LIBUUID: /usr/lib/libuuid.so 03:07:53 -- Found LIBCBOR: /usr/lib/libcbor.so 03:07:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 03:07:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 03:07:53 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 03:07:53 -- /opt/iotech/iot/1.5/include 03:07:53 -- C SDK 3.0.3-dev.15 for Linux 03:07:53 -- Performing Test CSDK_HAVE_ATOMIC 03:07:53 -- Performing Test CSDK_HAVE_ATOMIC - Success 03:07:54 -- Found Curses: /usr/lib/libcurses.so 03:07:54 -- Configuring done (1.6s) 03:07:54 -- Generating done (0.2s) 03:07:54 -- Build files have been written to: /tmp/sdk/build/debug 03:07:54 + make 03:07:54 + tee debug.log 03:07:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 03:07:54 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 03:07:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 03:07:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 03:07:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 03:07:56 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 03:07:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 03:07:57 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 03:07:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 03:07:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 03:07:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 03:07:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 03:07:59 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 03:07:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 03:08:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 03:08:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 03:08:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 03:08:01 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 03:08:01 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 03:08:01 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 03:08:02 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 03:08:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 03:08:03 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 03:08:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 03:08:04 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 03:08:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 03:08:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 03:08:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 03:08:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 03:08:07 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 03:08:07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 03:08:07 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 03:08:07 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:08:07 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 03:08:07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 03:08:07 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 03:08:07 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 03:08:07 | ^ 03:08:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 03:08:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 03:08:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 03:08:09 [ 68%] Linking C shared library libcsdk.so 03:08:09 [ 68%] Built target csdk 03:08:09 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 03:08:09 [ 72%] Linking C executable template 03:08:09 [ 72%] Built target template 03:08:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 03:08:10 [ 76%] Linking C executable device-counter 03:08:10 [ 76%] Built target device-counter 03:08:10 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 03:08:11 [ 80%] Linking C executable device-random 03:08:11 [ 80%] Built target device-random 03:08:11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 03:08:11 [ 84%] Linking C executable device-gyro 03:08:11 [ 84%] Built target device-gyro 03:08:11 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 03:08:12 [ 88%] Linking C executable device-bitfields 03:08:12 [ 88%] Built target device-bitfields 03:08:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 03:08:12 [ 92%] Linking C executable template-discovery 03:08:13 [ 92%] Built target template-discovery 03:08:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 03:08:13 [ 96%] Linking C executable device-file 03:08:13 [ 96%] Built target device-file 03:08:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 03:08:14 [100%] Linking C executable device-terminal 03:08:14 [100%] Built target device-terminal 03:08:14 make: Entering directory '/tmp/sdk/build/release' 03:08:14 [ 68%] Built target csdk 03:08:14 [ 72%] Built target template 03:08:14 [ 76%] Built target device-counter 03:08:14 [ 80%] Built target device-random 03:08:15 [ 84%] Built target device-gyro 03:08:15 [ 88%] Built target device-bitfields 03:08:15 [ 92%] Built target template-discovery 03:08:15 [ 96%] Built target device-file 03:08:15 [100%] Built target device-terminal 03:08:15 Install the project... 03:08:15 -- Install configuration: "Release" 03:08:15 -- Installing: /usr/local/lib/libcsdk.so 03:08:15 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 03:08:15 -- Installing: /usr/local/include 03:08:15 -- Installing: /usr/local/include/devsdk 03:08:15 -- Installing: /usr/local/include/devsdk/devsdk.h 03:08:15 -- Installing: /usr/local/include/devsdk/devsdk-base.h 03:08:15 -- Installing: /usr/local/include/edgex 03:08:15 -- Installing: /usr/local/include/edgex/rest-server.h 03:08:15 -- Installing: /usr/local/include/edgex/edgex.h 03:08:15 -- Installing: /usr/local/include/edgex/edgex-base.h 03:08:15 -- Installing: /usr/local/include/edgex/devices.h 03:08:15 -- Installing: /usr/local/include/edgex/profiles.h 03:08:15 -- Installing: /usr/local/include/edgex/csdk-defs.h 03:08:15 -- Installing: /usr/local/share/device-sdk-c/LICENSE 03:08:15 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 03:08:15 make: Leaving directory '/tmp/sdk/build/release' 03:08:16 Removing intermediate container 50412319cda9 03:08:16 ---> 283d0f896c73 03:08:16 Step 14/22 : FROM ${BASE} 03:08:16 ---> 2b552cad5dd9 03:08:16 Step 15/22 : LABEL maintainer="IOTech " 03:08:16 ---> Running in 1738f41fa0ff 03:08:16 Removing intermediate container 1738f41fa0ff 03:08:16 ---> 9508df5cfa00 03:08:16 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 03:08:16 ---> Running in 057666c3e7d7 03:08:17 Connecting to iotech.jfrog.io (54.73.4.50:443) 03:08:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:08:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:08:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:08:19 Removing intermediate container 057666c3e7d7 03:08:19 ---> 47800126ca86 03:08:19 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:08:19 ---> Running in 52de9a8365d0 03:08:20 Removing intermediate container 52de9a8365d0 03:08:20 ---> 34d308b1be57 03:08:20 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 03:08:20 ---> Running in 56b1882173c5 03:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:08:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:08:23 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 03:08:23 (2/10) Installing curl (8.5.0-r0) 03:08:23 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 03:08:23 (4/10) Installing dumb-init (1.2.5-r2) 03:08:23 (5/10) Installing hiredis (1.1.0-r2) 03:08:23 (6/10) Installing hiredis-dev (1.1.0-r2) 03:08:23 (7/10) Installing libcbor (0.10.2-r1) 03:08:23 (8/10) Installing iotech-iot-1.5 (1.5.4-r1) 03:08:24 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 03:08:24 (10/10) Installing libuuid (2.38.1-r8) 03:08:24 Executing busybox-1.36.1-r4.trigger 03:08:24 OK: 328 MiB in 90 packages 03:08:26 Removing intermediate container 56b1882173c5 03:08:26 ---> 6991a19545b7 03:08:26 Step 19/22 : RUN apk --no-cache upgrade 03:08:26 ---> Running in 893536ad6ce4 03:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:08:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:08:28 Upgrading critical system libraries and apk-tools: 03:08:28 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:08:28 Executing busybox-1.36.1-r4.trigger 03:08:28 Continuing the upgrade transaction with new apk-tools: 03:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:08:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:08:30 (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) 03:08:30 Executing busybox-1.36.1-r6.post-upgrade 03:08:30 (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) 03:08:30 (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:08:30 (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) 03:08:30 (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) 03:08:30 (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) 03:08:30 (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) 03:08:30 (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) 03:08:30 (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 03:08:30 (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) 03:08:30 (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 03:08:30 (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 03:08:30 (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 03:08:30 Executing busybox-1.36.1-r6.trigger 03:08:30 Executing ca-certificates-20240226-r0.trigger 03:08:30 OK: 328 MiB in 90 packages 03:08:32 Removing intermediate container 893536ad6ce4 03:08:32 ---> 087dbc292371 03:08:32 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 03:08:33 ---> fbd07d3f2192 03:08:33 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 03:08:33 ---> 445ea07a922b 03:08:33 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 03:08:34 ---> be91e1468210 03:08:34 Successfully built be91e1468210 03:08:34 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 03:08:34 + docker inspect -f . ci-base-image-arm64 03:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:35 prd-ubuntu20.04-docker-arm64-4c-16g-2681 does not seem to be running inside a container 03:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/75 -v /w/workspace/device-sdk-c/75:/w/workspace/device-sdk-c/75:rw,z -v /w/workspace/device-sdk-c/75@tmp:/w/workspace/device-sdk-c/75@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 03:08:36 $ docker top e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:37 + make test 03:08:37 echo "make test" 03:08:37 make test [Pipeline] } 03:08:37 $ docker stop --time=1 e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 03:08:38 $ docker rm -f --volumes e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:08:39 + ls -al . 03:08:39 total 208 03:08:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:06 . 03:08:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 .. 03:08:39 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:06 .git 03:08:39 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 03:06 .github 03:08:39 -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 03:06 .gitignore 03:08:39 -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 03:06 Attribution.txt 03:08:39 -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 03:06 CHANGELOG.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 03:06 Doxyfile 03:08:39 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 03:06 GOVERNANCE.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 03:06 Jenkinsfile 03:08:39 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 03:06 LICENSE 03:08:39 -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 03:06 Makefile 03:08:39 -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 03:06 OWNERS.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 03:06 README.IOT.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 03:06 README.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 03:06 README.v3.md 03:08:39 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 03:04 VERSION 03:08:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:06 docs 03:08:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 include 03:08:39 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:06 scripts 03:08:39 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:40 + 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=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef --label arch=arm64 --label version=3.0.3-dev.15 . 03:08:40 Sending build context to Docker daemon 3.012MB 03:08:40 Step 1/18 : ARG BASE=alpine:3.18 03:08:40 Step 2/18 : FROM ${BASE} 03:08:40 ---> be91e1468210 03:08:40 Step 3/18 : LABEL maintainer="IOTech " 03:08:40 ---> Running in 7af4826c351b 03:08:40 Removing intermediate container 7af4826c351b 03:08:40 ---> 77acb7a37bf2 03:08:40 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 03:08:40 ---> Running in 325b07a4aad4 03:08:41 Connecting to iotech.jfrog.io (34.247.22.236:443) 03:08:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 03:08:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 03:08:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 03:08:43 Removing intermediate container 325b07a4aad4 03:08:43 ---> cd5fda484f47 03:08:43 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 03:08:43 ---> Running in 6d188d90ac15 03:08:44 Removing intermediate container 6d188d90ac15 03:08:44 ---> 0817c92a4615 03:08:44 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 03:08:45 ---> Running in 8911a793755f 03:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:08:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:08:47 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) 03:08:47 (2/11) Installing libcbor-dev (0.10.2-r1) 03:08:47 (3/11) Installing libmenuw (6.4_p20230506-r0) 03:08:47 (4/11) Installing libpanelw (6.4_p20230506-r0) 03:08:47 (5/11) Installing libncurses++ (6.4_p20230506-r0) 03:08:47 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 03:08:47 (7/11) Installing libblkid (2.38.1-r8) 03:08:47 (8/11) Installing libfdisk (2.38.1-r8) 03:08:47 (9/11) Installing libmount (2.38.1-r8) 03:08:47 (10/11) Installing libsmartcols (2.38.1-r8) 03:08:47 (11/11) Installing util-linux-dev (2.38.1-r8) 03:08:47 Executing busybox-1.36.1-r6.trigger 03:08:48 OK: 334 MiB in 101 packages 03:08:49 Removing intermediate container 8911a793755f 03:08:49 ---> db357113a6a9 03:08:49 Step 7/18 : RUN apk --no-cache upgrade 03:08:49 ---> Running in d4dccf904a3c 03:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:08:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 03:08:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 03:08:51 OK: 334 MiB in 101 packages 03:08:52 Removing intermediate container d4dccf904a3c 03:08:52 ---> 5868245c5027 03:08:52 Step 8/18 : COPY VERSION /edgex-c-sdk/ 03:08:53 ---> a07531f13700 03:08:53 Step 9/18 : COPY src /edgex-c-sdk/src/ 03:08:54 ---> 3e61b8d6ce02 03:08:54 Step 10/18 : COPY include /edgex-c-sdk/include/ 03:08:54 ---> caa6579c75b9 03:08:54 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 03:08:54 ---> 0f9f13d78978 03:08:54 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 03:08:55 ---> 50a41f68c09c 03:08:55 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 03:08:56 ---> 05a6b366b1d3 03:08:56 Step 14/18 : WORKDIR /edgex-c-sdk 03:08:56 ---> Running in 3b305c96b1c7 03:08:56 Removing intermediate container 3b305c96b1c7 03:08:56 ---> 2329e11886ab 03:08:56 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 03:08:56 ---> Running in f6c4152c0d0c 03:08:56 Removing intermediate container f6c4152c0d0c 03:08:56 ---> 046a427e400e 03:08:56 Step 16/18 : LABEL arch=arm64 03:08:56 ---> Running in f247ed3132d9 03:08:57 Removing intermediate container f247ed3132d9 03:08:57 ---> 0a0754a47e31 03:08:57 Step 17/18 : LABEL git_sha=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 03:08:57 ---> Running in 7e9d6cf79783 03:08:57 Removing intermediate container 7e9d6cf79783 03:08:57 ---> 54b02dbf5280 03:08:57 Step 18/18 : LABEL version=3.0.3-dev.15 03:08:57 ---> Running in dbb9213b396b 03:08:57 Removing intermediate container dbb9213b396b 03:08:57 ---> e9cf260d76fd 03:08:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:08:58 Successfully built e9cf260d76fd 03:08:58 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 03:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:58 03:08:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:08:59 arm64: Pulling from edgex-lftools-log-publisher 03:08:59 8998bd30e6a1: Pulling fs layer 03:08:59 04944245beec: Pulling fs layer 03:08:59 699f458cf7ca: Pulling fs layer 03:08:59 765212b225bb: Pulling fs layer 03:08:59 f23df028b6ca: Pulling fs layer 03:08:59 d65c8cfc05b1: Pulling fs layer 03:08:59 2437ff75d9bd: Pulling fs layer 03:08:59 f23df028b6ca: Waiting 03:08:59 d65c8cfc05b1: Waiting 03:08:59 2437ff75d9bd: Waiting 03:08:59 765212b225bb: Waiting 03:08:59 04944245beec: Verifying Checksum 03:08:59 04944245beec: Download complete 03:08:59 765212b225bb: Verifying Checksum 03:08:59 765212b225bb: Download complete 03:08:59 f23df028b6ca: Verifying Checksum 03:08:59 f23df028b6ca: Download complete 03:08:59 d65c8cfc05b1: Download complete 03:08:59 699f458cf7ca: Verifying Checksum 03:08:59 699f458cf7ca: Download complete 03:08:59 8998bd30e6a1: Verifying Checksum 03:08:59 8998bd30e6a1: Download complete 03:09:02 2437ff75d9bd: Verifying Checksum 03:09:02 2437ff75d9bd: Download complete 03:09:04 8998bd30e6a1: Pull complete 03:09:04 04944245beec: Pull complete 03:09:06 699f458cf7ca: Pull complete 03:09:06 765212b225bb: Pull complete 03:09:07 f23df028b6ca: Pull complete 03:09:07 d65c8cfc05b1: Pull complete 03:09:25 2437ff75d9bd: Pull complete 03:09:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:09:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:09:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:25 prd-ubuntu20.04-docker-arm64-4c-16g-2681 does not seem to be running inside a container 03:09:25 $ 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/75 -v /w/workspace/device-sdk-c/75:/w/workspace/device-sdk-c/75:rw,z -v /w/workspace/device-sdk-c/75@tmp:/w/workspace/device-sdk-c/75@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 03:09:28 $ docker top 6b19dbd1ef783b1f03e9a9a124b64556f4ca940846b0a520962ef6dff0ed400e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:29 ---> job-cost.sh 03:09:29 lf-activate-venv: SKIPPING 03:09:29 INFO: No Stack... 03:09:29 INFO: Retrieving Pricing Info for: v3-standard-4 03:09:30 INFO: Archiving Costs [Pipeline] sh 03:09:31 + cat /w/workspace/device-sdk-c/75/archives/cost.csv 03:09:31 + cut -d, -f6 [Pipeline] lock 03:09:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] 03:09:31 Resource [jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] did not exist. Created. 03:09:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:31 /w/workspace/device-sdk-c/75@tmp/durable-ffe3d6b0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:09:32 + echo total: 0.10999999940395355 [Pipeline] stash 03:09:32 Warning: overwriting stash ‘stack-cost’ 03:09:33 Stashed 1 file(s) [Pipeline] } 03:09:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:33 $ docker stop --time=1 6b19dbd1ef783b1f03e9a9a124b64556f4ca940846b0a520962ef6dff0ed400e 03:09:34 $ docker rm -f --volumes 6b19dbd1ef783b1f03e9a9a124b64556f4ca940846b0a520962ef6dff0ed400e [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 03:09:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:35 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:09:35 $ 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 03:09:35 $ docker top 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d -eo pid,comm 03:09:36 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). 03:09:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:36 [ssh-agent] Looking for ssh-agent implementation... 03:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:36 $ docker exec 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d ssh-agent 03:09:36 SSH_AUTH_SOCK=/tmp/ssh-AuJa9wfU8CR1/agent.32 03:09:36 SSH_AGENT_PID=39 03:09:36 Running ssh-add (command line suppressed) 03:09:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9830632938046699328.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9830632938046699328.key) 03:09:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:36 + git semver tag 03:09:36 2024-06-03 03:09:36,888 [run_tag] DEBUG tag force:False 03:09:36 2024-06-03 03:09:36,888 [check_head_tag] DEBUG check head tag 03:09:36 2024-06-03 03:09:36,889 [execute] INFO git cat-file --batch-check 03:09:36 2024-06-03 03:09:36,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 03:09:36 2024-06-03 03:09:36,893 [execute] INFO git cat-file --batch 03:09:36 2024-06-03 03:09:36,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 03:09:36 2024-06-03 03:09:36,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:36 2024-06-03 03:09:36,909 [execute] INFO git tag -a v3.0.3-dev.15 -m v3.0.3-dev.15 03:09:36 2024-06-03 03:09:36,910 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.15', '-m', 'v3.0.3-dev.15'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 03:09:36 2024-06-03 03:09:36,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:36 3.0.3-dev.15 [Pipeline] } 03:09:36 $ docker exec --env ******** --env ******** 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d ssh-agent -k 03:09:37 unset SSH_AUTH_SOCK; 03:09:37 unset SSH_AGENT_PID; 03:09:37 echo Agent pid 39 killed; 03:09:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:37 + git semver [Pipeline] } 03:09:37 $ docker stop --time=1 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d 03:09:38 $ docker rm -f --volumes 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:39 03:09:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:39 0.23.1-centos7: Pulling from edgex-lftools 03:09:39 ab5ef0e58194: Pulling fs layer 03:09:39 9712f1f96733: Pulling fs layer 03:09:39 63f879dbbcfc: Pulling fs layer 03:09:39 0d9ebad4ef96: Pulling fs layer 03:09:39 e9a5061849ea: Pulling fs layer 03:09:39 d747dcd14b5f: Pulling fs layer 03:09:39 2de7ff778b66: Pulling fs layer 03:09:39 e9a5061849ea: Waiting 03:09:39 d747dcd14b5f: Waiting 03:09:39 0d9ebad4ef96: Waiting 03:09:39 2de7ff778b66: Waiting 03:09:39 9712f1f96733: Verifying Checksum 03:09:39 9712f1f96733: Download complete 03:09:40 63f879dbbcfc: Verifying Checksum 03:09:40 63f879dbbcfc: Download complete 03:09:40 0d9ebad4ef96: Verifying Checksum 03:09:40 0d9ebad4ef96: Download complete 03:09:40 d747dcd14b5f: Verifying Checksum 03:09:40 d747dcd14b5f: Download complete 03:09:40 e9a5061849ea: Verifying Checksum 03:09:40 e9a5061849ea: Download complete 03:09:40 ab5ef0e58194: Verifying Checksum 03:09:40 ab5ef0e58194: Download complete 03:09:40 2de7ff778b66: Verifying Checksum 03:09:40 2de7ff778b66: Download complete 03:09:43 ab5ef0e58194: Pull complete 03:09:43 9712f1f96733: Pull complete 03:09:44 63f879dbbcfc: Pull complete 03:09:48 0d9ebad4ef96: Pull complete 03:09:48 e9a5061849ea: Pull complete 03:09:48 d747dcd14b5f: Pull complete 03:09:49 2de7ff778b66: Pull complete 03:09:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:09:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:49 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:09:49 $ 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 03:09:52 $ docker top 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:09:52 provisioning config files... 03:09:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6619888015330565687tmp 03:09:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14092583260883987538tmp 03:09:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10496832000988746019tmp [Pipeline] { [Pipeline] echo 03:09:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:09:53 ---> sigul-configuration.sh 03:09:53 gpg: directory `/root/.gnupg' created 03:09:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:09:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:09:53 gpg: keyring `/root/.gnupg/secring.gpg' created 03:09:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:09:53 gpg: CAST5 encrypted data 03:09:53 gpg: encrypted with 1 passphrase 03:09:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:09:53 + mkdir /home/jenkins 03:09:53 + mkdir /home/jenkins/sigul [Pipeline] sh 03:09:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:09:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:09:54 ---> sigul-install.sh 03:09:54 Sigul already installed; skipping installation. [Pipeline] sh 03:09:54 + git tag --list 03:09:54 0.7.0 03:09:54 0.7.1 03:09:54 1.0.0 03:09:54 v1.0.1 03:09:54 v1.0.2 03:09:54 v1.0.3 03:09:54 v1.1.0 03:09:54 v1.1.1 03:09:54 v1.2.0 03:09:54 v1.2.1 03:09:54 v1.2.2 03:09:54 v1.3.0 03:09:54 v1.3.1 03:09:54 v2.0.0 03:09:54 v2.1.0 03:09:54 v2.2.0 03:09:54 v2.3.0 03:09:54 v3.0 03:09:54 v3.0.0 03:09:54 v3.0.1 03:09:54 v3.0.2 03:09:54 v3.0.3-dev.1 03:09:54 v3.0.3-dev.10 03:09:54 v3.0.3-dev.11 03:09:54 v3.0.3-dev.12 03:09:54 v3.0.3-dev.13 03:09:54 v3.0.3-dev.14 03:09:54 v3.0.3-dev.15 03:09:54 v3.0.3-dev.2 03:09:54 v3.0.3-dev.3 03:09:54 v3.0.3-dev.4 03:09:54 v3.0.3-dev.5 03:09:54 v3.0.3-dev.6 03:09:54 v3.0.3-dev.7 03:09:54 v3.0.3-dev.8 03:09:54 v3.0.3-dev.9 03:09:54 v3.1 03:09:54 v3.1.0 03:09:54 v3.1.0-dev.1 03:09:54 v3.1.0-dev.2 03:09:54 v3.1.0-dev.3 03:09:54 v3.1.0-dev.4 03:09:54 v3.1.0-dev.5 03:09:54 v3.1.0-dev.6 03:09:54 v3.1.0-dev.7 03:09:54 v3.1.0-dev.8 03:09:54 v3.1.0-dev.9 03:09:54 v3.1.1 03:09:54 v3.1.1-dev.1 [Pipeline] sh 03:09:54 + lftools sign git-tag v3.0.3-dev.15 03:09:55 Signing Git tag with Sigul... 03:09:55 Signing v3.0.3-dev.15 [Pipeline] echo 03:09:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:09:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:09:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:09:55 $ docker stop --time=1 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 03:09:57 $ docker rm -f --volumes 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:09:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:09:57 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:09:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:09:58 $ docker top 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 -eo pid,comm 03:09:58 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). 03:09:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:09:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:09:58 [ssh-agent] Looking for ssh-agent implementation... 03:09:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:09:58 $ docker exec 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 ssh-agent 03:09:58 SSH_AUTH_SOCK=/tmp/ssh-6BxeWPinQxBQ/agent.31 03:09:58 SSH_AGENT_PID=37 03:09:58 Running ssh-add (command line suppressed) 03:09:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14350739051787299441.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14350739051787299441.key) 03:09:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:09:58 + git semver bump pre 03:09:59 2024-06-03 03:09:59,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:59 2024-06-03 03:09:59,156 [bump_version] DEBUG bumping version:3.0.3-dev.15 on axis:pre with prefix:dev 03:09:59 2024-06-03 03:09:59,156 [bump_version] DEBUG bumped version:3.0.3-dev.16 03:09:59 2024-06-03 03:09:59,156 [write_version] DEBUG write version:3.0.3-dev.16 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 03:09:59 2024-06-03 03:09:59,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:59 2024-06-03 03:09:59,156 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:59 2024-06-03 03:09:59,158 [execute] INFO git cat-file --batch-check 03:09:59 2024-06-03 03:09:59,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 03:09:59 2024-06-03 03:09:59,163 [execute] INFO git cat-file --batch 03:09:59 2024-06-03 03:09:59,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 03:09:59 2024-06-03 03:09:59,169 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:09:59 3.0.3-dev.16 [Pipeline] } 03:09:59 $ docker exec --env ******** --env ******** 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 ssh-agent -k 03:09:59 unset SSH_AUTH_SOCK; 03:09:59 unset SSH_AGENT_PID; 03:09:59 echo Agent pid 37 killed; 03:09:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:09:59 + git semver [Pipeline] } 03:09:59 $ docker stop --time=1 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 03:10:01 $ docker rm -f --volumes 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:10:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:01 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:10:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:02 $ docker top 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:02 [ssh-agent] Looking for ssh-agent implementation... 03:10:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:02 $ docker exec 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac ssh-agent 03:10:02 SSH_AUTH_SOCK=/tmp/ssh-OT6dafeWzi3Y/agent.31 03:10:02 SSH_AGENT_PID=37 03:10:02 Running ssh-add (command line suppressed) 03:10:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6834358623358103973.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6834358623358103973.key) 03:10:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:03 + git semver push 03:10:03 2024-06-03 03:10:03,191 [run_push] DEBUG push 03:10:03 2024-06-03 03:10:03,192 [execute] INFO git cat-file --batch-check 03:10:03 2024-06-03 03:10:03,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 03:10:03 2024-06-03 03:10:03,194 [execute] INFO git rev-list 66a80da5813a5943e78a6a33db5d611f62987caf -- 03:10:03 2024-06-03 03:10:03,194 [execute] DEBUG Popen(['git', 'rev-list', '66a80da5813a5943e78a6a33db5d611f62987caf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:03 2024-06-03 03:10:03,202 [execute] INFO git fetch -v origin 03:10:03 2024-06-03 03:10:03,202 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 03:10:03 2024-06-03 03:10:03,657 [run_push] DEBUG no remote changes detected 03:10:03 2024-06-03 03:10:03,658 [execute] INFO git push origin semver 03:10:03 2024-06-03 03:10:03,658 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 03:10:04 2024-06-03 03:10:04,387 [run_push] DEBUG push all version tags 03:10:04 2024-06-03 03:10:04,388 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:10:04 2024-06-03 03:10:04,388 [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) 03:10:05 2024-06-03 03:10:05,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 03:10:05 3.0.3-dev.16 [Pipeline] } 03:10:05 $ docker exec --env ******** --env ******** 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac ssh-agent -k 03:10:05 unset SSH_AUTH_SOCK; 03:10:05 unset SSH_AGENT_PID; 03:10:05 echo Agent pid 37 killed; 03:10:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:05 + git semver [Pipeline] } 03:10:06 $ docker stop --time=1 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac 03:10:07 $ docker rm -f --volumes 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac [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 03:10:07 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 03:10:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 03:10:07 total 16 03:10:07 drwxr-xr-x 3 root root 4096 Jun 3 03:05 . 03:10:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 03:09 .. 03:10:07 drwxr-xr-x 2 root root 4096 Jun 3 03:05 cost 03:10:07 -rw-r--r-- 1 root root 83 Jun 3 03:05 cost.csv 03:10:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 03:10:07 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 03:10:07 total 16 03:10:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 03:05 . 03:10:07 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 03:09 .. 03:10:07 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 03:05 cost 03:10:07 -rw-r--r-- 1 jenkins jenkins 83 Jun 3 03:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:10:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:09 ---> package-listing.sh 03:10:09 ++ facter osfamily 03:10:09 ++ tr '[:upper:]' '[:lower:]' 03:10:09 + OS_FAMILY=debian 03:10:09 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 03:10:09 + START_PACKAGES=/tmp/packages_start.txt 03:10:09 + END_PACKAGES=/tmp/packages_end.txt 03:10:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:09 + PACKAGES=/tmp/packages_start.txt 03:10:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 03:10:09 + PACKAGES=/tmp/packages_end.txt 03:10:09 + case "${OS_FAMILY}" in 03:10:09 + grep '^ii' 03:10:09 + dpkg -l 03:10:09 + '[' -f /tmp/packages_start.txt ']' 03:10:09 + '[' -f /tmp/packages_end.txt ']' 03:10:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:10:09 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 03:10:09 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 03:10:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 03:10:09 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 03:10:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:10 prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container 03:10:10 $ 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 03:10:10 $ docker top 35b6d3c52697adfe808ead08532e29423ef261b1552d33303fde94294d9144ef -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:10 + touch /tmp/pre-build-complete [Pipeline] sh 03:10:11 + mkdir -p /var/log/sysstat [Pipeline] sh 03:10:11 + ls /var/log/sa-host 03:10:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:11 provisioning config files... 03:10:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config966629495374748476tmp [Pipeline] { [Pipeline] echo 03:10:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:10:11 ---> create-netrc.sh [Pipeline] } 03:10:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> python-tools-install.sh [Pipeline] echo 03:10:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> sudo-logs.sh 03:10:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:10:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> job-cost.sh 03:10:12 lf-activate-venv: SKIPPING 03:10:12 DEBUG: total: 0.2199999988079071 03:10:12 INFO: Retrieving Stack Cost... 03:10:13 INFO: Retrieving Pricing Info for: v3-standard-8 03:10:13 INFO: Archiving Costs [Pipeline] echo 03:10:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:10:13 ---> logs-deploy.sh 03:10:13 lf-activate-venv: SKIPPING 03:10:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/75 03:10:13 INFO: archiving workspace using pattern(s): 03:10:14 Archives upload complete. 03:10:14 INFO: archiving logs to Nexus