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 [2024-06-03T03:03:45.124Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-03T03:03:45.183Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-03T03:03:45.206Z] ========================================================= [2024-06-03T03:03:45.206Z] EdgeX Global Pipelines Version Info [2024-06-03T03:03:45.206Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:03:45.918Z] ------------------- [2024-06-03T03:03:45.918Z] stable info: [2024-06-03T03:03:45.918Z] ------------------- [2024-06-03T03:03:45.918Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-03T03:03:45.918Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-03T03:03:45.918Z] Message: update stable to v1.0.260 [2024-06-03T03:03:47.834Z] ------------------- [2024-06-03T03:03:47.834Z] experimental info: [2024-06-03T03:03:47.834Z] ------------------- [2024-06-03T03:03:47.834Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-03T03:03:47.834Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-03T03:03:47.834Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-03T03:03:47.914Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-06-03T03:03:47.935Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-06-03T03:03:47.955Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-03T03:03:47.978Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-03T03:03:47.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-03T03:03:48.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-06-03T03:03:48.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-06-03T03:03:48.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-03T03:03:48.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-03T03:03:48.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-06-03T03:03:48.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-03T03:03:48.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-03T03:03:48.172Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-03T03:03:48.190Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-06-03T03:03:48.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-03T03:03:48.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-03T03:03:48.249Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-03T03:03:48.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-06-03T03:03:48.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-06-03T03:03:48.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-06-03T03:03:48.340Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo [2024-06-03T03:03:48.356Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5fd43a [Pipeline] echo [2024-06-03T03:03:48.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T03:03:48.433Z] provisioning config files... [2024-06-03T03:03:48.448Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12525762859523074190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:03:48.789Z] ---> ****-login.sh [2024-06-03T03:03:48.789Z] nexus3.edgexfoundry.org:10001 [2024-06-03T03:03:49.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:03:49.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:03:49.050Z] Configure a credential helper to remove this warning. See [2024-06-03T03:03:49.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:03:49.050Z] [2024-06-03T03:03:49.050Z] Login Succeeded [2024-06-03T03:03:49.051Z] nexus3.edgexfoundry.org:10002 [2024-06-03T03:03:49.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:03:49.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:03:49.051Z] Configure a credential helper to remove this warning. See [2024-06-03T03:03:49.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:03:49.051Z] [2024-06-03T03:03:49.051Z] Login Succeeded [2024-06-03T03:03:49.051Z] nexus3.edgexfoundry.org:10003 [2024-06-03T03:03:49.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:03:49.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:03:49.311Z] Configure a credential helper to remove this warning. See [2024-06-03T03:03:49.311Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:03:49.311Z] [2024-06-03T03:03:49.311Z] Login Succeeded [2024-06-03T03:03:49.311Z] nexus3.edgexfoundry.org:10004 [2024-06-03T03:03:49.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:03:49.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:03:49.311Z] Configure a credential helper to remove this warning. See [2024-06-03T03:03:49.311Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:03:49.311Z] [2024-06-03T03:03:49.311Z] Login Succeeded [2024-06-03T03:03:49.311Z] ****.io [2024-06-03T03:03:49.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:03:49.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:03:49.573Z] Configure a credential helper to remove this warning. See [2024-06-03T03:03:49.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:03:49.573Z] [2024-06-03T03:03:49.573Z] Login Succeeded [2024-06-03T03:03:49.573Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T03:03:49.580Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-06-03T03:03:49.978Z] + git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo [2024-06-03T03:03:50.009Z] -----------> git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [false] [Pipeline] sh [2024-06-03T03:03:50.302Z] + git log --format=format:%s -1 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo [2024-06-03T03:03:50.316Z] ========================================================= [2024-06-03T03:03:50.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-03T03:03:50.316Z] ========================================================= 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 [2024-06-03T03:03:50.757Z] + git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo [2024-06-03T03:03:50.768Z] -----------> git rev-list -1 --merges b5fd43aa6b4e8069e65248caa2e7d6db03f961ef~1..b5fd43aa6b4e8069e65248caa2e7d6db03f961ef b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [false] [Pipeline] sh [2024-06-03T03:03:51.064Z] + git log --format=format:%s -1 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [Pipeline] echo [2024-06-03T03:03:51.077Z] ========================================================= [2024-06-03T03:03:51.077Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-03T03:03:51.077Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-06-03T03:03:51.525Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-03T03:03:51.525Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-03T03:03:51.525Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-03T03:03:51.525Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-03T03:03:51.525Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-03T03:03:51.525Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-03T03:03:51.525Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:03:51.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:03:51.879Z] [2024-06-03T03:03:51.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:03:52.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:03:52.188Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-03T03:03:52.188Z] b85a868b505f: Pulling fs layer [2024-06-03T03:03:52.188Z] e2be974225ed: Pulling fs layer [2024-06-03T03:03:52.188Z] 339a4e72a1f5: Pulling fs layer [2024-06-03T03:03:52.188Z] 988bab9f4d93: Pulling fs layer [2024-06-03T03:03:52.188Z] 1469e6f7b9e6: Pulling fs layer [2024-06-03T03:03:52.188Z] eaf3925da568: Pulling fs layer [2024-06-03T03:03:52.188Z] bab4dde63d76: Pulling fs layer [2024-06-03T03:03:52.188Z] bde34c3a00c8: Pulling fs layer [2024-06-03T03:03:52.188Z] b352a97aabf1: Pulling fs layer [2024-06-03T03:03:52.188Z] 4872d77fe225: Pulling fs layer [2024-06-03T03:03:52.188Z] 5851b861e8e6: Pulling fs layer [2024-06-03T03:03:52.188Z] bab4dde63d76: Waiting [2024-06-03T03:03:52.188Z] bde34c3a00c8: Waiting [2024-06-03T03:03:52.188Z] 1469e6f7b9e6: Waiting [2024-06-03T03:03:52.188Z] eaf3925da568: Waiting [2024-06-03T03:03:52.188Z] b352a97aabf1: Waiting [2024-06-03T03:03:52.188Z] 988bab9f4d93: Waiting [2024-06-03T03:03:52.188Z] 5851b861e8e6: Waiting [2024-06-03T03:03:52.188Z] 4872d77fe225: Waiting [2024-06-03T03:03:52.188Z] e2be974225ed: Verifying Checksum [2024-06-03T03:03:52.188Z] e2be974225ed: Download complete [2024-06-03T03:03:52.188Z] 988bab9f4d93: Verifying Checksum [2024-06-03T03:03:52.188Z] 988bab9f4d93: Download complete [2024-06-03T03:03:52.463Z] 1469e6f7b9e6: Verifying Checksum [2024-06-03T03:03:52.463Z] 1469e6f7b9e6: Download complete [2024-06-03T03:03:52.463Z] eaf3925da568: Download complete [2024-06-03T03:03:52.463Z] 339a4e72a1f5: Verifying Checksum [2024-06-03T03:03:52.463Z] 339a4e72a1f5: Download complete [2024-06-03T03:03:52.463Z] bde34c3a00c8: Verifying Checksum [2024-06-03T03:03:52.463Z] bde34c3a00c8: Download complete [2024-06-03T03:03:52.463Z] b352a97aabf1: Download complete [2024-06-03T03:03:52.463Z] 4872d77fe225: Download complete [2024-06-03T03:03:52.463Z] 5851b861e8e6: Verifying Checksum [2024-06-03T03:03:52.463Z] 5851b861e8e6: Download complete [2024-06-03T03:03:52.463Z] b85a868b505f: Verifying Checksum [2024-06-03T03:03:52.463Z] b85a868b505f: Download complete [2024-06-03T03:03:52.720Z] bab4dde63d76: Verifying Checksum [2024-06-03T03:03:52.720Z] bab4dde63d76: Download complete [2024-06-03T03:03:53.654Z] b85a868b505f: Pull complete [2024-06-03T03:03:53.914Z] e2be974225ed: Pull complete [2024-06-03T03:03:54.175Z] 339a4e72a1f5: Pull complete [2024-06-03T03:03:54.433Z] 988bab9f4d93: Pull complete [2024-06-03T03:03:54.692Z] 1469e6f7b9e6: Pull complete [2024-06-03T03:03:54.692Z] eaf3925da568: Pull complete [2024-06-03T03:03:56.598Z] bab4dde63d76: Pull complete [2024-06-03T03:03:56.598Z] bde34c3a00c8: Pull complete [2024-06-03T03:03:56.857Z] b352a97aabf1: Pull complete [2024-06-03T03:03:56.857Z] 4872d77fe225: Pull complete [2024-06-03T03:03:56.857Z] 5851b861e8e6: Pull complete [2024-06-03T03:03:56.857Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-03T03:03:56.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:03:56.857Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:03:56.998Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:03:57.035Z] $ 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 [2024-06-03T03:04:00.400Z] $ docker top c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d -eo pid,comm [2024-06-03T03:04:00.450Z] 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). [2024-06-03T03:04:00.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-03T03:04:00.514Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T03:04:00.514Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T03:04:00.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T03:04:00.618Z] $ docker exec c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent [2024-06-03T03:04:00.717Z] SSH_AUTH_SOCK=/tmp/ssh-GcnzoTnCwMTp/agent.33 [2024-06-03T03:04:00.717Z] SSH_AGENT_PID=40 [2024-06-03T03:04:00.724Z] Running ssh-add (command line suppressed) [2024-06-03T03:04:00.821Z] 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) [2024-06-03T03:04:00.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T03:04:01.131Z] + git tag --points-at HEAD [Pipeline] } [2024-06-03T03:04:01.149Z] $ docker exec --env ******** --env ******** c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent -k [2024-06-03T03:04:01.264Z] unset SSH_AUTH_SOCK; [2024-06-03T03:04:01.265Z] unset SSH_AGENT_PID; [2024-06-03T03:04:01.265Z] echo Agent pid 40 killed; [2024-06-03T03:04:01.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-03T03:04:01.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T03:04:01.320Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T03:04:01.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T03:04:01.439Z] $ docker exec c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent [2024-06-03T03:04:01.538Z] SSH_AUTH_SOCK=/tmp/ssh-9EsgScH5nXOH/agent.74 [2024-06-03T03:04:01.538Z] SSH_AGENT_PID=80 [2024-06-03T03:04:01.544Z] Running ssh-add (command line suppressed) [2024-06-03T03:04:01.651Z] 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) [2024-06-03T03:04:01.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T03:04:01.966Z] + git semver init [2024-06-03T03:04:02.226Z] 2024-06-03 03:04:02,136 [run_init] DEBUG init version:0.0.0 force:False [2024-06-03T03:04:02.226Z] 2024-06-03 03:04:02,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-06-03T03:04:02.226Z] 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 [2024-06-03T03:04:02.226Z] 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) [2024-06-03T03:04:03.166Z] 2024-06-03 03:04:02,913 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-06-03T03:04:03.166Z] 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 [2024-06-03T03:04:03.166Z] 2024-06-03 03:04:02,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:04:03.166Z] 2024-06-03 03:04:02,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:04:03.166Z] 3.0.3-dev.15 [Pipeline] } [2024-06-03T03:04:03.179Z] $ docker exec --env ******** --env ******** c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d ssh-agent -k [2024-06-03T03:04:03.270Z] unset SSH_AUTH_SOCK; [2024-06-03T03:04:03.271Z] unset SSH_AGENT_PID; [2024-06-03T03:04:03.271Z] echo Agent pid 80 killed; [2024-06-03T03:04:03.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-03T03:04:03.597Z] + git semver [Pipeline] } [2024-06-03T03:04:03.872Z] $ docker stop --time=1 c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d [2024-06-03T03:04:05.189Z] $ docker rm -f --volumes c3d548f1df7f4fa357aad8301e920d5c5a15d6ae1029faa82875e88cbfd6672d [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-03T03:04:05.535Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-03T03:04:05.768Z] Stashed 1 file(s) [Pipeline] echo [2024-06-03T03:04:05.773Z] [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 [2024-06-03T03:04:05.924Z] provisioning config files... [2024-06-03T03:04:05.935Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10832254945873024370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:04:06.242Z] ---> ****-login.sh [2024-06-03T03:04:06.242Z] nexus3.edgexfoundry.org:10001 [2024-06-03T03:04:06.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:04:06.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:04:06.243Z] Configure a credential helper to remove this warning. See [2024-06-03T03:04:06.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:04:06.243Z] [2024-06-03T03:04:06.243Z] Login Succeeded [2024-06-03T03:04:06.243Z] nexus3.edgexfoundry.org:10002 [2024-06-03T03:04:06.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:04:06.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:04:06.243Z] Configure a credential helper to remove this warning. See [2024-06-03T03:04:06.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:04:06.243Z] [2024-06-03T03:04:06.243Z] Login Succeeded [2024-06-03T03:04:06.243Z] nexus3.edgexfoundry.org:10003 [2024-06-03T03:04:06.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:04:06.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:04:06.503Z] Configure a credential helper to remove this warning. See [2024-06-03T03:04:06.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:04:06.503Z] [2024-06-03T03:04:06.503Z] Login Succeeded [2024-06-03T03:04:06.503Z] nexus3.edgexfoundry.org:10004 [2024-06-03T03:04:06.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:04:06.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:04:06.503Z] Configure a credential helper to remove this warning. See [2024-06-03T03:04:06.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:04:06.503Z] [2024-06-03T03:04:06.503Z] Login Succeeded [2024-06-03T03:04:06.503Z] ****.io [2024-06-03T03:04:06.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:04:06.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:04:06.764Z] Configure a credential helper to remove this warning. See [2024-06-03T03:04:06.764Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:04:06.764Z] [2024-06-03T03:04:06.764Z] Login Succeeded [2024-06-03T03:04:06.764Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T03:04:06.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-03T03:04:06.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T03:04:06.882Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-06-03T03:04:06.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T03:04:06.912Z] ========================================================= [2024-06-03T03:04:06.913Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-06-03T03:04:06.913Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:04:07.233Z] + 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 . [2024-06-03T03:04:07.233Z] Sending build context to Docker daemon 5.033MB [2024-06-03T03:04:07.233Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-06-03T03:04:07.233Z] Step 2/22 : FROM ${BASE} as builder [2024-06-03T03:04:07.233Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-06-03T03:04:07.233Z] 96526aa774ef: Pulling fs layer [2024-06-03T03:04:07.233Z] da60e534fd72: Pulling fs layer [2024-06-03T03:04:07.495Z] 96526aa774ef: Verifying Checksum [2024-06-03T03:04:07.495Z] 96526aa774ef: Download complete [2024-06-03T03:04:07.495Z] 96526aa774ef: Pull complete [2024-06-03T03:04:08.437Z] da60e534fd72: Verifying Checksum [2024-06-03T03:04:08.437Z] da60e534fd72: Download complete [2024-06-03T03:04:11.737Z] da60e534fd72: Pull complete [2024-06-03T03:04:11.737Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-06-03T03:04:11.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-06-03T03:04:11.737Z] ---> 6605166a5db4 [2024-06-03T03:04:11.737Z] 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 [2024-06-03T03:04:14.356Z] ---> Running in c13af41b83c4 [2024-06-03T03:04:14.356Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T03:04:14.924Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:04:14.925Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:04:14.925Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:04:15.185Z] Removing intermediate container c13af41b83c4 [2024-06-03T03:04:15.185Z] ---> ccd7d1343b92 [2024-06-03T03:04:15.185Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:04:15.185Z] ---> Running in 1529fa925cbd [2024-06-03T03:04:15.754Z] Removing intermediate container 1529fa925cbd [2024-06-03T03:04:15.754Z] ---> 2d9defac8721 [2024-06-03T03:04:15.754Z] 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 [2024-06-03T03:04:15.754Z] ---> Running in 1b5455a7e435 [2024-06-03T03:04:16.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:16.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:16.531Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:17.099Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:17.100Z] (1/17) Installing hiredis (1.1.0-r2) [2024-06-03T03:04:17.100Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-06-03T03:04:17.100Z] (3/17) Installing libcbor (0.10.2-r1) [2024-06-03T03:04:17.100Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T03:04:17.668Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T03:04:17.668Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T03:04:17.928Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-06-03T03:04:17.928Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T03:04:17.928Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T03:04:17.928Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T03:04:17.928Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T03:04:17.928Z] (12/17) Installing libblkid (2.38.1-r8) [2024-06-03T03:04:17.928Z] (13/17) Installing libuuid (2.38.1-r8) [2024-06-03T03:04:17.928Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-06-03T03:04:17.928Z] (15/17) Installing libmount (2.38.1-r8) [2024-06-03T03:04:17.928Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-06-03T03:04:17.928Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-06-03T03:04:17.928Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:04:17.928Z] OK: 336 MiB in 99 packages [2024-06-03T03:04:18.883Z] Removing intermediate container 1b5455a7e435 [2024-06-03T03:04:18.883Z] ---> ce2948556c50 [2024-06-03T03:04:18.883Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-06-03T03:04:18.883Z] ---> Running in ec86f3d7fece [2024-06-03T03:04:19.451Z] Removing intermediate container ec86f3d7fece [2024-06-03T03:04:19.451Z] ---> 6e2d30d28192 [2024-06-03T03:04:19.451Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-06-03T03:04:19.451Z] ---> dc192fa58258 [2024-06-03T03:04:19.451Z] Step 8/22 : COPY src /tmp/sdk/src [2024-06-03T03:04:19.710Z] ---> 0cee7290a01e [2024-06-03T03:04:19.710Z] Step 9/22 : COPY include /tmp/sdk/include [2024-06-03T03:04:19.710Z] ---> 8a1ecd94ea87 [2024-06-03T03:04:19.710Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-06-03T03:04:19.969Z] ---> 7c535bab8fcf [2024-06-03T03:04:19.969Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-06-03T03:04:20.227Z] ---> 6266b205a628 [2024-06-03T03:04:20.227Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-06-03T03:04:20.227Z] ---> 777e861fa8a2 [2024-06-03T03:04:20.227Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-06-03T03:04:20.227Z] ---> Running in 0e1e990f7f3c [2024-06-03T03:04:20.487Z] + CPPCHECK=false [2024-06-03T03:04:20.487Z] + DOCGEN=false [2024-06-03T03:04:20.487Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-06-03T03:04:20.487Z] + '[' 0 -gt 0 ] [2024-06-03T03:04:20.487Z] + readlink -f ./scripts/build.sh [2024-06-03T03:04:20.487Z] + dirname /tmp/sdk/scripts/build.sh [2024-06-03T03:04:20.487Z] + dirname /tmp/sdk/scripts [2024-06-03T03:04:20.487Z] + ROOT=/tmp/sdk [2024-06-03T03:04:20.487Z] + cd /tmp/sdk [2024-06-03T03:04:20.487Z] + mkdir -p /tmp/sdk/build/release [2024-06-03T03:04:20.487Z] + cd /tmp/sdk/build/release [2024-06-03T03:04:20.487Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-06-03T03:04:20.487Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T03:04:20.487Z] -- Detecting C compiler ABI info [2024-06-03T03:04:20.746Z] -- Detecting C compiler ABI info - done [2024-06-03T03:04:20.746Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T03:04:20.746Z] -- Detecting C compile features [2024-06-03T03:04:20.746Z] -- Detecting C compile features - done [2024-06-03T03:04:20.746Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T03:04:20.746Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T03:04:20.746Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T03:04:20.746Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T03:04:20.746Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T03:04:20.746Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T03:04:20.746Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T03:04:20.746Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T03:04:20.746Z] -- /opt/iotech/iot/1.5/include [2024-06-03T03:04:20.746Z] -- C SDK 3.0.3-dev.15 for Linux [2024-06-03T03:04:20.746Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T03:04:20.746Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T03:04:20.873Z] Still waiting to schedule task [2024-06-03T03:04:20.873Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-03T03:04:21.006Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T03:04:21.006Z] -- Configuring done (0.4s) [2024-06-03T03:04:21.006Z] -- Generating done (0.0s) [2024-06-03T03:04:21.006Z] -- Build files have been written to: /tmp/sdk/build/release [2024-06-03T03:04:21.006Z] + make all package [2024-06-03T03:04:21.006Z] + tee release.log [2024-06-03T03:04:21.006Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T03:04:21.006Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T03:04:21.266Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T03:04:21.266Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T03:04:21.526Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T03:04:21.526Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T03:04:21.786Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T03:04:22.046Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-06-03T03:04:22.046Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:04:22.046Z] 294 | while (privateConfig) [2024-06-03T03:04:22.046Z] | ^~~~~~~~~~~~~ [2024-06-03T03:04:22.046Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-06-03T03:04:22.046Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T03:04:22.046Z] | ^~~~~~~~~~~~~ [2024-06-03T03:04:22.046Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:04:22.046Z] 271 | while (result) [2024-06-03T03:04:22.046Z] | ^~~~~~ [2024-06-03T03:04:22.046Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-06-03T03:04:22.046Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T03:04:22.046Z] | ^~~~~~ [2024-06-03T03:04:22.046Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T03:04:22.046Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T03:04:22.307Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T03:04:22.566Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T03:04:22.566Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T03:04:22.827Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T03:04:22.827Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T03:04:22.827Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T03:04:23.087Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T03:04:23.087Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T03:04:23.346Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T03:04:23.608Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T03:04:23.608Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T03:04:23.868Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T03:04:24.807Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T03:04:24.807Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T03:04:24.807Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T03:04:25.068Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T03:04:25.068Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T03:04:25.329Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T03:04:25.588Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T03:04:25.588Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T03:04:25.850Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T03:04:25.850Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T03:04:25.850Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T03:04:25.850Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:04:25.850Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T03:04:25.850Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:04:25.850Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:04:25.850Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T03:04:25.850Z] | ^ [2024-06-03T03:04:26.110Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:04:26.110Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-06-03T03:04:26.110Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:04:26.110Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-06-03T03:04:26.110Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-06-03T03:04:26.110Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:04:26.372Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T03:04:26.372Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T03:04:26.372Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T03:04:26.631Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T03:04:26.631Z] [ 68%] Built target csdk [2024-06-03T03:04:26.631Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T03:04:26.631Z] [ 72%] Linking C executable template [2024-06-03T03:04:26.901Z] [ 72%] Built target template [2024-06-03T03:04:26.901Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T03:04:26.901Z] [ 76%] Linking C executable device-counter [2024-06-03T03:04:26.901Z] [ 76%] Built target device-counter [2024-06-03T03:04:26.901Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T03:04:27.160Z] [ 80%] Linking C executable device-random [2024-06-03T03:04:27.161Z] [ 80%] Built target device-random [2024-06-03T03:04:27.161Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T03:04:27.161Z] [ 84%] Linking C executable device-gyro [2024-06-03T03:04:27.420Z] [ 84%] Built target device-gyro [2024-06-03T03:04:27.420Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T03:04:27.420Z] [ 88%] Linking C executable device-bitfields [2024-06-03T03:04:27.420Z] [ 88%] Built target device-bitfields [2024-06-03T03:04:27.420Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T03:04:27.679Z] [ 92%] Linking C executable template-discovery [2024-06-03T03:04:27.679Z] [ 92%] Built target template-discovery [2024-06-03T03:04:27.679Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T03:04:27.939Z] [ 96%] Linking C executable device-file [2024-06-03T03:04:27.939Z] [ 96%] Built target device-file [2024-06-03T03:04:27.939Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T03:04:27.939Z] [100%] Linking C executable device-terminal [2024-06-03T03:04:28.201Z] [100%] Built target device-terminal [2024-06-03T03:04:28.201Z] Run CPack packaging tool... [2024-06-03T03:04:28.201Z] CPack: Create package using TGZ [2024-06-03T03:04:28.201Z] CPack: Install projects [2024-06-03T03:04:28.201Z] CPack: - Run preinstall target for: Csdk [2024-06-03T03:04:28.463Z] CPack: - Install project: Csdk [] [2024-06-03T03:04:28.463Z] CPack: Create package [2024-06-03T03:04:28.463Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.15.tar.gz generated. [2024-06-03T03:04:28.463Z] + '[' false '=' true ] [2024-06-03T03:04:28.463Z] + '[' false '=' true ] [2024-06-03T03:04:28.463Z] + mkdir -p /tmp/sdk/build/debug [2024-06-03T03:04:28.463Z] + cd /tmp/sdk/build/debug [2024-06-03T03:04:28.463Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-06-03T03:04:28.464Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T03:04:28.464Z] -- Detecting C compiler ABI info [2024-06-03T03:04:28.464Z] -- Detecting C compiler ABI info - done [2024-06-03T03:04:28.724Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T03:04:28.724Z] -- Detecting C compile features [2024-06-03T03:04:28.724Z] -- Detecting C compile features - done [2024-06-03T03:04:28.724Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T03:04:28.724Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T03:04:28.724Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T03:04:28.724Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T03:04:28.724Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T03:04:28.724Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T03:04:28.724Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T03:04:28.724Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T03:04:28.724Z] -- /opt/iotech/iot/1.5/include [2024-06-03T03:04:28.724Z] -- C SDK 3.0.3-dev.15 for Linux [2024-06-03T03:04:28.724Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T03:04:28.724Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T03:04:28.724Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T03:04:28.724Z] -- Configuring done (0.4s) [2024-06-03T03:04:28.985Z] -- Generating done (0.0s) [2024-06-03T03:04:28.985Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-06-03T03:04:28.985Z] + make [2024-06-03T03:04:28.985Z] + tee debug.log [2024-06-03T03:04:28.985Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T03:04:28.985Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T03:04:28.985Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T03:04:29.244Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T03:04:29.244Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T03:04:29.244Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T03:04:29.504Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T03:04:29.504Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T03:04:29.504Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T03:04:29.504Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T03:04:29.765Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T03:04:29.765Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T03:04:29.765Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T03:04:30.024Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T03:04:30.024Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T03:04:30.024Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T03:04:30.024Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T03:04:30.283Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T03:04:30.283Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T03:04:30.283Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T03:04:30.543Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T03:04:30.803Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T03:04:30.803Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T03:04:30.803Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T03:04:30.803Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T03:04:30.803Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T03:04:31.064Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T03:04:31.325Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T03:04:31.325Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T03:04:31.325Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T03:04:31.325Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T03:04:31.586Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T03:04:31.586Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:04:31.586Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T03:04:31.586Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:04:31.586Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:04:31.586Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T03:04:31.586Z] | ^ [2024-06-03T03:04:31.586Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T03:04:31.586Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T03:04:31.586Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T03:04:31.847Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T03:04:31.847Z] [ 68%] Built target csdk [2024-06-03T03:04:31.847Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T03:04:31.847Z] [ 72%] Linking C executable template [2024-06-03T03:04:31.847Z] [ 72%] Built target template [2024-06-03T03:04:32.107Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T03:04:32.107Z] [ 76%] Linking C executable device-counter [2024-06-03T03:04:32.107Z] [ 76%] Built target device-counter [2024-06-03T03:04:32.107Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T03:04:32.107Z] [ 80%] Linking C executable device-random [2024-06-03T03:04:32.367Z] [ 80%] Built target device-random [2024-06-03T03:04:32.367Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T03:04:32.367Z] [ 84%] Linking C executable device-gyro [2024-06-03T03:04:32.367Z] [ 84%] Built target device-gyro [2024-06-03T03:04:32.367Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T03:04:32.627Z] [ 88%] Linking C executable device-bitfields [2024-06-03T03:04:32.627Z] [ 88%] Built target device-bitfields [2024-06-03T03:04:32.627Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T03:04:32.627Z] [ 92%] Linking C executable template-discovery [2024-06-03T03:04:32.627Z] [ 92%] Built target template-discovery [2024-06-03T03:04:32.627Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T03:04:32.888Z] [ 96%] Linking C executable device-file [2024-06-03T03:04:32.888Z] [ 96%] Built target device-file [2024-06-03T03:04:32.888Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T03:04:32.888Z] [100%] Linking C executable device-terminal [2024-06-03T03:04:33.149Z] [100%] Built target device-terminal [2024-06-03T03:04:33.149Z] make: Entering directory '/tmp/sdk/build/release' [2024-06-03T03:04:33.149Z] [ 68%] Built target csdk [2024-06-03T03:04:33.149Z] [ 72%] Built target template [2024-06-03T03:04:33.149Z] [ 76%] Built target device-counter [2024-06-03T03:04:33.149Z] [ 80%] Built target device-random [2024-06-03T03:04:33.149Z] [ 84%] Built target device-gyro [2024-06-03T03:04:33.149Z] [ 88%] Built target device-bitfields [2024-06-03T03:04:33.149Z] [ 92%] Built target template-discovery [2024-06-03T03:04:33.149Z] [ 96%] Built target device-file [2024-06-03T03:04:33.149Z] [100%] Built target device-terminal [2024-06-03T03:04:33.476Z] Install the project... [2024-06-03T03:04:33.476Z] -- Install configuration: "Release" [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/lib/libcsdk.so [2024-06-03T03:04:33.476Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/devsdk [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/devices.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-06-03T03:04:33.476Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-06-03T03:04:33.476Z] make: Leaving directory '/tmp/sdk/build/release' [2024-06-03T03:04:34.043Z] Removing intermediate container 0e1e990f7f3c [2024-06-03T03:04:34.043Z] ---> 8a95cedcc30e [2024-06-03T03:04:34.043Z] Step 14/22 : FROM ${BASE} [2024-06-03T03:04:34.043Z] ---> 6605166a5db4 [2024-06-03T03:04:34.043Z] Step 15/22 : LABEL maintainer="IOTech " [2024-06-03T03:04:34.043Z] ---> Running in 475a0293ee9b [2024-06-03T03:04:34.302Z] Removing intermediate container 475a0293ee9b [2024-06-03T03:04:34.302Z] ---> 61f78cfa5160 [2024-06-03T03:04:34.302Z] 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 [2024-06-03T03:04:34.302Z] ---> Running in c43554390b7b [2024-06-03T03:04:34.560Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T03:04:34.819Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:04:34.819Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:04:34.819Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:04:35.078Z] Removing intermediate container c43554390b7b [2024-06-03T03:04:35.078Z] ---> 3b563a6a6ef8 [2024-06-03T03:04:35.078Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:04:35.078Z] ---> Running in b6e0c5067c84 [2024-06-03T03:04:35.645Z] Removing intermediate container b6e0c5067c84 [2024-06-03T03:04:35.645Z] ---> 23627f0cb103 [2024-06-03T03:04:35.645Z] 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 [2024-06-03T03:04:35.645Z] ---> Running in 3c0614009fda [2024-06-03T03:04:36.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:36.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:36.473Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:37.042Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:37.042Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T03:04:37.042Z] (2/10) Installing curl (8.5.0-r0) [2024-06-03T03:04:37.042Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T03:04:37.042Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-06-03T03:04:37.042Z] (5/10) Installing hiredis (1.1.0-r2) [2024-06-03T03:04:37.042Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-06-03T03:04:37.042Z] (7/10) Installing libcbor (0.10.2-r1) [2024-06-03T03:04:37.042Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T03:04:37.610Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T03:04:37.870Z] (10/10) Installing libuuid (2.38.1-r8) [2024-06-03T03:04:37.870Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:04:37.870Z] OK: 331 MiB in 90 packages [2024-06-03T03:04:38.437Z] Removing intermediate container 3c0614009fda [2024-06-03T03:04:38.437Z] ---> a471f7debf76 [2024-06-03T03:04:38.437Z] Step 19/22 : RUN apk --no-cache upgrade [2024-06-03T03:04:38.437Z] ---> Running in 542f86587323 [2024-06-03T03:04:39.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:39.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:39.007Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:39.574Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:39.574Z] Upgrading critical system libraries and apk-tools: [2024-06-03T03:04:39.574Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-06-03T03:04:39.574Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:04:39.574Z] Continuing the upgrade transaction with new apk-tools: [2024-06-03T03:04:39.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:39.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:39.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:40.400Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:40.400Z] (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:04:40.400Z] Executing busybox-1.36.1-r6.post-upgrade [2024-06-03T03:04:40.400Z] (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:04:40.400Z] (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-06-03T03:04:40.400Z] (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:04:40.400Z] (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:04:40.400Z] (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:04:40.400Z] (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-06-03T03:04:40.400Z] (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) [2024-06-03T03:04:40.400Z] (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-06-03T03:04:40.400Z] (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:04:40.400Z] (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:04:40.400Z] (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:04:40.400Z] (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:04:40.400Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T03:04:40.400Z] Executing ca-certificates-20240226-r0.trigger [2024-06-03T03:04:40.658Z] OK: 331 MiB in 90 packages [2024-06-03T03:04:41.593Z] Removing intermediate container 542f86587323 [2024-06-03T03:04:41.593Z] ---> d3373ba320c5 [2024-06-03T03:04:41.593Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-06-03T03:04:41.593Z] ---> e10fc127786d [2024-06-03T03:04:41.593Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-06-03T03:04:41.593Z] ---> 7b64459b76da [2024-06-03T03:04:41.593Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-06-03T03:04:41.852Z] ---> 8b182f0827c8 [2024-06-03T03:04:41.852Z] Successfully built 8b182f0827c8 [2024-06-03T03:04:41.852Z] 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 [2024-06-03T03:04:42.253Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-03T03:04:42.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:04:42.330Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:04:42.362Z] $ 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 [2024-06-03T03:04:42.694Z] $ docker top 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T03:04:43.048Z] + make test [2024-06-03T03:04:43.048Z] echo "make test" [2024-06-03T03:04:43.048Z] make test [Pipeline] } [2024-06-03T03:04:43.062Z] $ docker stop --time=1 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 [2024-06-03T03:04:44.298Z] $ docker rm -f --volumes 0a5180db913005bb341f6c297af83ac7721ecee259bc7cdd58858ea345560e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-03T03:04:44.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-03T03:04:45.281Z] + ls -al . [2024-06-03T03:04:45.281Z] total 212 [2024-06-03T03:04:45.281Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 03:04 . [2024-06-03T03:04:45.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 .. [2024-06-03T03:04:45.281Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:04 .git [2024-06-03T03:04:45.281Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 03:03 .github [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 03:03 .gitignore [2024-06-03T03:04:45.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 03:04 .semver [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 03:03 Attribution.txt [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 03:03 CHANGELOG.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 03:03 Doxyfile [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 03:03 GOVERNANCE.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 03:03 Jenkinsfile [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 03:03 LICENSE [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 03:03 Makefile [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 03:03 OWNERS.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 03:03 README.IOT.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 03:03 README.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 03:03 README.v3.md [2024-06-03T03:04:45.281Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 03:04 VERSION [2024-06-03T03:04:45.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:03 docs [2024-06-03T03:04:45.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 include [2024-06-03T03:04:45.281Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:03 scripts [2024-06-03T03:04:45.281Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:04:45.615Z] + 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 . [2024-06-03T03:04:45.615Z] Sending build context to Docker daemon 5.033MB [2024-06-03T03:04:45.615Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-06-03T03:04:45.615Z] Step 2/18 : FROM ${BASE} [2024-06-03T03:04:45.615Z] ---> 8b182f0827c8 [2024-06-03T03:04:45.615Z] Step 3/18 : LABEL maintainer="IOTech " [2024-06-03T03:04:45.615Z] ---> Running in 75add1f68368 [2024-06-03T03:04:45.884Z] Removing intermediate container 75add1f68368 [2024-06-03T03:04:45.884Z] ---> 716f22d8ec8e [2024-06-03T03:04:45.884Z] 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 [2024-06-03T03:04:45.884Z] ---> Running in 76e626342684 [2024-06-03T03:04:46.143Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T03:04:46.401Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:04:46.401Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:04:46.401Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:04:46.660Z] Removing intermediate container 76e626342684 [2024-06-03T03:04:46.660Z] ---> 68ab67d5a9c4 [2024-06-03T03:04:46.660Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:04:46.919Z] ---> Running in 65d138c43251 [2024-06-03T03:04:47.179Z] Removing intermediate container 65d138c43251 [2024-06-03T03:04:47.179Z] ---> 99d759308d7e [2024-06-03T03:04:47.179Z] 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 [2024-06-03T03:04:47.438Z] ---> Running in c0cb94a7aa54 [2024-06-03T03:04:47.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:47.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:47.958Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:48.527Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:48.527Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T03:04:48.527Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-06-03T03:04:48.527Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T03:04:48.527Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T03:04:48.527Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T03:04:48.527Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T03:04:48.527Z] (7/11) Installing libblkid (2.38.1-r8) [2024-06-03T03:04:48.527Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-06-03T03:04:48.527Z] (9/11) Installing libmount (2.38.1-r8) [2024-06-03T03:04:48.787Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-06-03T03:04:48.787Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-06-03T03:04:48.787Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T03:04:48.787Z] OK: 337 MiB in 101 packages [2024-06-03T03:04:49.355Z] Removing intermediate container c0cb94a7aa54 [2024-06-03T03:04:49.355Z] ---> dc0de9670442 [2024-06-03T03:04:49.355Z] Step 7/18 : RUN apk --no-cache upgrade [2024-06-03T03:04:49.355Z] ---> Running in 0c078e83c4d6 [2024-06-03T03:04:49.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:49.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:49.877Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-03T03:04:50.446Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:04:50.446Z] OK: 337 MiB in 101 packages [2024-06-03T03:04:50.705Z] Removing intermediate container 0c078e83c4d6 [2024-06-03T03:04:50.705Z] ---> 6049e14c39e1 [2024-06-03T03:04:50.705Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-06-03T03:04:50.976Z] ---> faa39d9b3438 [2024-06-03T03:04:50.976Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-06-03T03:04:51.235Z] ---> 6d5da7bece1b [2024-06-03T03:04:51.235Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-06-03T03:04:51.235Z] ---> 65745f0385ea [2024-06-03T03:04:51.235Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-06-03T03:04:51.494Z] ---> bde7c5f281aa [2024-06-03T03:04:51.494Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-06-03T03:04:51.494Z] ---> ff652f21277e [2024-06-03T03:04:51.494Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-06-03T03:04:51.494Z] ---> ecdb1606fd74 [2024-06-03T03:04:51.494Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-06-03T03:04:51.754Z] ---> Running in 21906e87e9b0 [2024-06-03T03:04:51.754Z] Removing intermediate container 21906e87e9b0 [2024-06-03T03:04:51.754Z] ---> d967c1a6f2c9 [2024-06-03T03:04:51.754Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-06-03T03:04:51.754Z] ---> Running in 4fba68c9f8a0 [2024-06-03T03:04:51.754Z] Removing intermediate container 4fba68c9f8a0 [2024-06-03T03:04:51.754Z] ---> cc19cf864d0a [2024-06-03T03:04:51.754Z] Step 16/18 : LABEL arch=amd64 [2024-06-03T03:04:51.754Z] ---> Running in 4d0029b04b3a [2024-06-03T03:04:52.015Z] Removing intermediate container 4d0029b04b3a [2024-06-03T03:04:52.015Z] ---> f9e90cfca60a [2024-06-03T03:04:52.015Z] Step 17/18 : LABEL git_sha=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [2024-06-03T03:04:52.015Z] ---> Running in e84abacc7c81 [2024-06-03T03:04:52.015Z] Removing intermediate container e84abacc7c81 [2024-06-03T03:04:52.015Z] ---> 98e44b620b25 [2024-06-03T03:04:52.015Z] Step 18/18 : LABEL version=3.0.3-dev.15 [2024-06-03T03:04:52.015Z] ---> Running in 1f4bd047cb7c [2024-06-03T03:04:52.015Z] Removing intermediate container 1f4bd047cb7c [2024-06-03T03:04:52.015Z] ---> a5b7fdca9141 [2024-06-03T03:04:52.015Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-06-03T03:04:52.015Z] Successfully built a5b7fdca9141 [2024-06-03T03:04:52.015Z] 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 [2024-06-03T03:04:52.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T03:04:52.531Z] [2024-06-03T03:04:52.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:04:52.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T03:04:52.847Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-03T03:04:52.847Z] 5eb5b503b376: Pulling fs layer [2024-06-03T03:04:52.847Z] 5c69ac0246d0: Pulling fs layer [2024-06-03T03:04:52.847Z] ec43610c2a17: Pulling fs layer [2024-06-03T03:04:52.847Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-03T03:04:52.847Z] 33b1e0a273af: Pulling fs layer [2024-06-03T03:04:52.847Z] 5d3b04190fa2: Pulling fs layer [2024-06-03T03:04:52.847Z] 2f39f015ded8: Pulling fs layer [2024-06-03T03:04:52.847Z] 3a2ae6a8a46f: Waiting [2024-06-03T03:04:52.847Z] 2f39f015ded8: Waiting [2024-06-03T03:04:52.847Z] 5d3b04190fa2: Waiting [2024-06-03T03:04:52.847Z] 5c69ac0246d0: Download complete [2024-06-03T03:04:52.847Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-03T03:04:52.847Z] 3a2ae6a8a46f: Download complete [2024-06-03T03:04:53.114Z] 33b1e0a273af: Verifying Checksum [2024-06-03T03:04:53.114Z] 33b1e0a273af: Download complete [2024-06-03T03:04:53.114Z] ec43610c2a17: Verifying Checksum [2024-06-03T03:04:53.114Z] ec43610c2a17: Download complete [2024-06-03T03:04:53.114Z] 5d3b04190fa2: Verifying Checksum [2024-06-03T03:04:53.114Z] 5d3b04190fa2: Download complete [2024-06-03T03:04:53.114Z] 5eb5b503b376: Verifying Checksum [2024-06-03T03:04:53.114Z] 5eb5b503b376: Download complete [2024-06-03T03:04:54.050Z] 2f39f015ded8: Verifying Checksum [2024-06-03T03:04:54.050Z] 2f39f015ded8: Download complete [2024-06-03T03:04:54.309Z] 5eb5b503b376: Pull complete [2024-06-03T03:04:54.567Z] 5c69ac0246d0: Pull complete [2024-06-03T03:04:55.134Z] ec43610c2a17: Pull complete [2024-06-03T03:04:55.134Z] 3a2ae6a8a46f: Pull complete [2024-06-03T03:04:55.393Z] 33b1e0a273af: Pull complete [2024-06-03T03:04:55.393Z] 5d3b04190fa2: Pull complete [2024-06-03T03:04:59.579Z] 2f39f015ded8: Pull complete [2024-06-03T03:04:59.579Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-03T03:04:59.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T03:04:59.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:04:59.677Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:04:59.709Z] $ 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 [2024-06-03T03:05:05.239Z] $ docker top f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:05:05.614Z] ---> job-cost.sh [2024-06-03T03:05:05.614Z] lf-activate-venv: SKIPPING [2024-06-03T03:05:05.614Z] INFO: No Stack... [2024-06-03T03:05:05.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-03T03:05:06.132Z] INFO: Archiving Costs [Pipeline] sh [2024-06-03T03:05:06.419Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-06-03T03:05:06.420Z] + cut -d, -f6 [Pipeline] lock [2024-06-03T03:05:06.433Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [2024-06-03T03:05:06.444Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] did not exist. Created. [2024-06-03T03:05:06.451Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-03T03:05:06.760Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-03T03:05:06.812Z] Stashed 1 file(s) [Pipeline] } [2024-06-03T03:05:06.821Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-03T03:05:06.845Z] $ docker stop --time=1 f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e [2024-06-03T03:05:07.997Z] $ docker rm -f --volumes f4539d310589b289612929b00efee47df43d590f836ec96450f4dc7273dec63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-03T03:05:55.765Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2681 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-06-03T03:05:55.784Z] Running in /w/workspace/device-sdk-c/75 [Pipeline] { [Pipeline] checkout [2024-06-03T03:05:58.921Z] Selected Git installation does not exist. Using Default [2024-06-03T03:05:58.921Z] The recommended git tool is: NONE [2024-06-03T03:06:03.535Z] using credential edgex-jenkins-ssh [2024-06-03T03:06:03.566Z] Cloning the remote Git repository [2024-06-03T03:06:03.603Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-06-03T03:06:03.703Z] > git init /w/workspace/device-sdk-c/75 # timeout=10 [2024-06-03T03:06:03.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-06-03T03:06:03.849Z] > git --version # timeout=10 [2024-06-03T03:06:03.871Z] > git --version # 'git version 2.25.1' [2024-06-03T03:06:03.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-03T03:06:04.015Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-03T03:06:05.967Z] Avoid second fetch [2024-06-03T03:06:05.968Z] Checking out Revision b5fd43aa6b4e8069e65248caa2e7d6db03f961ef (main) [2024-06-03T03:06:05.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-06-03T03:06:05.090Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-03T03:06:05.978Z] > git config core.sparsecheckout # timeout=10 [2024-06-03T03:06:06.040Z] > git checkout -f b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-06-03T03:06:06.597Z] 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 [2024-06-03T03:06:11.237Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-03T03:06:11.237Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-03T03:06:11.237Z] Dload Upload Total Spent Left Speed [2024-06-03T03:06:11.237Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-06-03T03:06:11.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-03T03:06:11.931Z] + sudo tee /etc/docker/daemon.new+ [2024-06-03T03:06:11.931Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-03T03:06:11.931Z] { [2024-06-03T03:06:11.931Z] "registry-mirrors": [ [2024-06-03T03:06:11.931Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-03T03:06:11.931Z] ], [2024-06-03T03:06:11.931Z] "bip": "10.250.0.254/24", [2024-06-03T03:06:11.931Z] "hosts": [ [2024-06-03T03:06:11.931Z] "tcp://0.0.0.0:5555", [2024-06-03T03:06:11.931Z] "unix:///var/run/docker.sock" [2024-06-03T03:06:11.931Z] ], [2024-06-03T03:06:11.931Z] "mtu": 1458, [2024-06-03T03:06:11.931Z] "selinux-enabled": true, [2024-06-03T03:06:11.931Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-03T03:06:11.931Z] } [Pipeline] sh [2024-06-03T03:06:12.266Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-03T03:06:12.607Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T03:06:30.899Z] provisioning config files... [2024-06-03T03:06:30.924Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/75@tmp/config13736538650383048621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:06:31.355Z] ---> ****-login.sh [2024-06-03T03:06:31.355Z] nexus3.edgexfoundry.org:10001 [2024-06-03T03:06:31.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:06:31.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:06:31.896Z] Configure a credential helper to remove this warning. See [2024-06-03T03:06:31.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:06:31.896Z] [2024-06-03T03:06:31.896Z] Login Succeeded [2024-06-03T03:06:31.896Z] nexus3.edgexfoundry.org:10002 [2024-06-03T03:06:32.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:06:32.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:06:32.165Z] Configure a credential helper to remove this warning. See [2024-06-03T03:06:32.165Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:06:32.165Z] [2024-06-03T03:06:32.165Z] Login Succeeded [2024-06-03T03:06:32.165Z] nexus3.edgexfoundry.org:10003 [2024-06-03T03:06:32.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:06:32.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:06:32.438Z] Configure a credential helper to remove this warning. See [2024-06-03T03:06:32.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:06:32.438Z] [2024-06-03T03:06:32.438Z] Login Succeeded [2024-06-03T03:06:32.438Z] nexus3.edgexfoundry.org:10004 [2024-06-03T03:06:32.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:06:32.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:06:32.980Z] Configure a credential helper to remove this warning. See [2024-06-03T03:06:32.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:06:32.981Z] [2024-06-03T03:06:32.981Z] Login Succeeded [2024-06-03T03:06:32.981Z] ****.io [2024-06-03T03:06:32.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-03T03:06:33.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-03T03:06:33.565Z] Configure a credential helper to remove this warning. See [2024-06-03T03:06:33.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-03T03:06:33.565Z] [2024-06-03T03:06:33.565Z] Login Succeeded [2024-06-03T03:06:33.565Z] ---> ****-login.sh ends [Pipeline] } [2024-06-03T03:06:33.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-03T03:06:33.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T03:06:33.888Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-06-03T03:06:33.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-03T03:06:33.920Z] ========================================================= [2024-06-03T03:06:33.920Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-06-03T03:06:33.920Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:06:34.263Z] + 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 . [2024-06-03T03:06:34.528Z] Sending build context to Docker daemon 3.012MB [2024-06-03T03:06:34.528Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-06-03T03:06:34.528Z] Step 2/22 : FROM ${BASE} as builder [2024-06-03T03:06:34.795Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-06-03T03:06:34.795Z] 579b34f0a95b: Pulling fs layer [2024-06-03T03:06:34.795Z] e71477ac5e1b: Pulling fs layer [2024-06-03T03:06:34.795Z] 579b34f0a95b: Verifying Checksum [2024-06-03T03:06:34.795Z] 579b34f0a95b: Download complete [2024-06-03T03:06:35.378Z] 579b34f0a95b: Pull complete [2024-06-03T03:06:37.334Z] e71477ac5e1b: Verifying Checksum [2024-06-03T03:06:37.334Z] e71477ac5e1b: Download complete [2024-06-03T03:06:49.665Z] e71477ac5e1b: Pull complete [2024-06-03T03:06:49.665Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-06-03T03:06:49.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-06-03T03:06:49.665Z] ---> 2b552cad5dd9 [2024-06-03T03:06:49.665Z] 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 [2024-06-03T03:06:49.665Z] ---> Running in 3ac2007faacf [2024-06-03T03:06:50.255Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T03:06:50.525Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:06:50.525Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:06:50.525Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:06:51.494Z] Removing intermediate container 3ac2007faacf [2024-06-03T03:06:51.494Z] ---> f8580bc90efa [2024-06-03T03:06:51.494Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:06:51.494Z] ---> Running in c3610114a0a1 [2024-06-03T03:06:52.905Z] Removing intermediate container c3610114a0a1 [2024-06-03T03:06:52.905Z] ---> e34521b3e511 [2024-06-03T03:06:52.905Z] 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 [2024-06-03T03:06:52.905Z] ---> Running in 4c737fc0a103 [2024-06-03T03:06:53.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:06:54.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:06:54.727Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:06:55.683Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:06:55.683Z] (1/17) Installing hiredis (1.1.0-r2) [2024-06-03T03:06:55.683Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-06-03T03:06:55.683Z] (3/17) Installing libcbor (0.10.2-r1) [2024-06-03T03:06:55.683Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T03:06:56.644Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T03:06:56.644Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T03:06:56.912Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-06-03T03:06:56.912Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T03:06:56.912Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T03:06:56.912Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T03:06:56.912Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T03:06:56.912Z] (12/17) Installing libblkid (2.38.1-r8) [2024-06-03T03:06:56.912Z] (13/17) Installing libuuid (2.38.1-r8) [2024-06-03T03:06:56.912Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-06-03T03:06:56.912Z] (15/17) Installing libmount (2.38.1-r8) [2024-06-03T03:06:56.912Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-06-03T03:06:56.912Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-06-03T03:06:56.912Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:06:57.186Z] OK: 333 MiB in 99 packages [2024-06-03T03:06:58.607Z] Removing intermediate container 4c737fc0a103 [2024-06-03T03:06:58.607Z] ---> a8ead615d7c8 [2024-06-03T03:06:58.607Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-06-03T03:06:58.607Z] ---> Running in 02b644d064f6 [2024-06-03T03:07:00.047Z] Removing intermediate container 02b644d064f6 [2024-06-03T03:07:00.047Z] ---> 7cbf51a2e932 [2024-06-03T03:07:00.047Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-06-03T03:07:00.635Z] ---> a9bee4c43dbb [2024-06-03T03:07:00.635Z] Step 8/22 : COPY src /tmp/sdk/src [2024-06-03T03:07:01.596Z] ---> 46a4ee0049c0 [2024-06-03T03:07:01.596Z] Step 9/22 : COPY include /tmp/sdk/include [2024-06-03T03:07:02.181Z] ---> 1df891ff708d [2024-06-03T03:07:02.181Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-06-03T03:07:02.452Z] ---> 1276ceb55aef [2024-06-03T03:07:02.452Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-06-03T03:07:03.051Z] ---> ae0320d0eebb [2024-06-03T03:07:03.051Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-06-03T03:07:03.636Z] ---> fada4d3b354e [2024-06-03T03:07:03.636Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-06-03T03:07:03.636Z] ---> Running in 50412319cda9 [2024-06-03T03:07:04.600Z] + CPPCHECK=false [2024-06-03T03:07:04.600Z] + DOCGEN=false [2024-06-03T03:07:04.600Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-06-03T03:07:04.600Z] + '[' 0 -gt 0 ] [2024-06-03T03:07:04.600Z] + readlink -f ./scripts/build.sh [2024-06-03T03:07:04.600Z] + dirname /tmp/sdk/scripts/build.sh [2024-06-03T03:07:04.600Z] + dirname /tmp/sdk/scripts [2024-06-03T03:07:04.600Z] + ROOT=/tmp/sdk [2024-06-03T03:07:04.600Z] + cd /tmp/sdk [2024-06-03T03:07:04.600Z] + mkdir -p /tmp/sdk/build/release [2024-06-03T03:07:04.600Z] + cd /tmp/sdk/build/release [2024-06-03T03:07:04.600Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-06-03T03:07:04.868Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T03:07:04.868Z] -- Detecting C compiler ABI info [2024-06-03T03:07:05.140Z] -- Detecting C compiler ABI info - done [2024-06-03T03:07:05.408Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T03:07:05.408Z] -- Detecting C compile features [2024-06-03T03:07:05.408Z] -- Detecting C compile features - done [2024-06-03T03:07:05.408Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T03:07:05.676Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T03:07:05.676Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T03:07:05.676Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T03:07:05.676Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T03:07:05.676Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T03:07:05.676Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T03:07:05.676Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T03:07:05.676Z] -- /opt/iotech/iot/1.5/include [2024-06-03T03:07:05.676Z] -- C SDK 3.0.3-dev.15 for Linux [2024-06-03T03:07:05.676Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T03:07:05.946Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T03:07:06.214Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T03:07:06.214Z] -- Configuring done (1.7s) [2024-06-03T03:07:06.483Z] -- Generating done (0.2s) [2024-06-03T03:07:06.483Z] -- Build files have been written to: /tmp/sdk/build/release [2024-06-03T03:07:06.483Z] + + maketee release.log all [2024-06-03T03:07:06.483Z] package [2024-06-03T03:07:06.753Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T03:07:07.337Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T03:07:08.302Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T03:07:08.887Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T03:07:09.848Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T03:07:10.433Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T03:07:12.376Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T03:07:13.339Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-06-03T03:07:13.339Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:07:13.339Z] 294 | while (privateConfig) [2024-06-03T03:07:13.339Z] | ^~~~~~~~~~~~~ [2024-06-03T03:07:13.339Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-06-03T03:07:13.339Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T03:07:13.339Z] | ^~~~~~~~~~~~~ [2024-06-03T03:07:13.339Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:07:13.339Z] 271 | while (result) [2024-06-03T03:07:13.339Z] | ^~~~~~ [2024-06-03T03:07:13.339Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-06-03T03:07:13.339Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-06-03T03:07:13.339Z] | ^~~~~~ [2024-06-03T03:07:13.607Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T03:07:13.876Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T03:07:14.839Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T03:07:16.789Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T03:07:17.376Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T03:07:17.970Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T03:07:18.933Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T03:07:19.202Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T03:07:20.612Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T03:07:20.612Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T03:07:23.194Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T03:07:23.194Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T03:07:23.779Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T03:07:25.189Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T03:07:31.854Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T03:07:32.441Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T03:07:32.709Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T03:07:33.294Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T03:07:33.562Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T03:07:34.970Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T03:07:37.550Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T03:07:37.550Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T03:07:38.511Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T03:07:39.091Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T03:07:39.356Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T03:07:39.356Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:07:39.356Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T03:07:39.356Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:07:39.356Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:07:39.356Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T03:07:39.356Z] | ^ [2024-06-03T03:07:40.755Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-06-03T03:07:40.755Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-06-03T03:07:40.756Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:07:40.756Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-06-03T03:07:40.756Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-06-03T03:07:40.756Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:07:42.160Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T03:07:42.745Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T03:07:43.011Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T03:07:43.594Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T03:07:43.859Z] [ 68%] Built target csdk [2024-06-03T03:07:43.859Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T03:07:44.813Z] [ 72%] Linking C executable template [2024-06-03T03:07:45.080Z] [ 72%] Built target template [2024-06-03T03:07:45.080Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T03:07:45.659Z] [ 76%] Linking C executable device-counter [2024-06-03T03:07:45.923Z] [ 76%] Built target device-counter [2024-06-03T03:07:45.923Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T03:07:46.507Z] [ 80%] Linking C executable device-random [2024-06-03T03:07:46.773Z] [ 80%] Built target device-random [2024-06-03T03:07:46.773Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T03:07:47.352Z] [ 84%] Linking C executable device-gyro [2024-06-03T03:07:47.616Z] [ 84%] Built target device-gyro [2024-06-03T03:07:47.616Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T03:07:48.194Z] [ 88%] Linking C executable device-bitfields [2024-06-03T03:07:48.459Z] [ 88%] Built target device-bitfields [2024-06-03T03:07:48.459Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T03:07:49.412Z] [ 92%] Linking C executable template-discovery [2024-06-03T03:07:49.679Z] [ 92%] Built target template-discovery [2024-06-03T03:07:49.679Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T03:07:50.261Z] [ 96%] Linking C executable device-file [2024-06-03T03:07:50.527Z] [ 96%] Built target device-file [2024-06-03T03:07:50.792Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T03:07:51.371Z] [100%] Linking C executable device-terminal [2024-06-03T03:07:51.636Z] [100%] Built target device-terminal [2024-06-03T03:07:51.636Z] Run CPack packaging tool... [2024-06-03T03:07:51.636Z] CPack: Create package using TGZ [2024-06-03T03:07:51.636Z] CPack: Install projects [2024-06-03T03:07:51.636Z] CPack: - Run preinstall target for: Csdk [2024-06-03T03:07:52.591Z] CPack: - Install project: Csdk [] [2024-06-03T03:07:52.591Z] CPack: Create package [2024-06-03T03:07:52.591Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.15.tar.gz generated. [2024-06-03T03:07:52.591Z] + '[' false '=' true ] [2024-06-03T03:07:52.591Z] + '[' false '=' true ] [2024-06-03T03:07:52.591Z] + mkdir -p /tmp/sdk/build/debug [2024-06-03T03:07:52.591Z] + cd /tmp/sdk/build/debug [2024-06-03T03:07:52.591Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-06-03T03:07:52.855Z] -- The C compiler identification is GNU 12.2.1 [2024-06-03T03:07:52.855Z] -- Detecting C compiler ABI info [2024-06-03T03:07:53.120Z] -- Detecting C compiler ABI info - done [2024-06-03T03:07:53.384Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-06-03T03:07:53.384Z] -- Detecting C compile features [2024-06-03T03:07:53.384Z] -- Detecting C compile features - done [2024-06-03T03:07:53.384Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-06-03T03:07:53.651Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-06-03T03:07:53.651Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-06-03T03:07:53.651Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-06-03T03:07:53.651Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-06-03T03:07:53.651Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-06-03T03:07:53.651Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-06-03T03:07:53.651Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-06-03T03:07:53.651Z] -- /opt/iotech/iot/1.5/include [2024-06-03T03:07:53.651Z] -- C SDK 3.0.3-dev.15 for Linux [2024-06-03T03:07:53.651Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-06-03T03:07:53.917Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-06-03T03:07:54.182Z] -- Found Curses: /usr/lib/libcurses.so [2024-06-03T03:07:54.182Z] -- Configuring done (1.6s) [2024-06-03T03:07:54.449Z] -- Generating done (0.2s) [2024-06-03T03:07:54.449Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-06-03T03:07:54.449Z] + make [2024-06-03T03:07:54.449Z] + tee debug.log [2024-06-03T03:07:54.726Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-06-03T03:07:54.990Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-06-03T03:07:55.257Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-06-03T03:07:55.839Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-06-03T03:07:56.104Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-06-03T03:07:56.369Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-06-03T03:07:56.951Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-06-03T03:07:57.532Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-06-03T03:07:57.532Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-06-03T03:07:58.120Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-06-03T03:07:58.701Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-06-03T03:07:58.965Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-06-03T03:07:59.230Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-06-03T03:07:59.808Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-06-03T03:08:00.072Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-06-03T03:08:00.338Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-06-03T03:08:00.602Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-06-03T03:08:01.554Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-06-03T03:08:01.554Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-06-03T03:08:01.820Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-06-03T03:08:02.398Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-06-03T03:08:03.365Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-06-03T03:08:03.947Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-06-03T03:08:03.947Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-06-03T03:08:04.213Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-06-03T03:08:04.479Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-06-03T03:08:05.058Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-06-03T03:08:06.475Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-06-03T03:08:06.738Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-06-03T03:08:07.148Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-06-03T03:08:07.413Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-06-03T03:08:07.678Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-06-03T03:08:07.678Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:08:07.678Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-06-03T03:08:07.678Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-06-03T03:08:07.678Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-06-03T03:08:07.678Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-06-03T03:08:07.678Z] | ^ [2024-06-03T03:08:08.259Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-06-03T03:08:08.524Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-06-03T03:08:08.789Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-06-03T03:08:09.291Z] [ 68%] Linking C shared library libcsdk.so [2024-06-03T03:08:09.291Z] [ 68%] Built target csdk [2024-06-03T03:08:09.291Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-06-03T03:08:09.939Z] [ 72%] Linking C executable template [2024-06-03T03:08:09.939Z] [ 72%] Built target template [2024-06-03T03:08:09.939Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-06-03T03:08:10.204Z] [ 76%] Linking C executable device-counter [2024-06-03T03:08:10.468Z] [ 76%] Built target device-counter [2024-06-03T03:08:10.739Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-06-03T03:08:11.003Z] [ 80%] Linking C executable device-random [2024-06-03T03:08:11.269Z] [ 80%] Built target device-random [2024-06-03T03:08:11.269Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-06-03T03:08:11.535Z] [ 84%] Linking C executable device-gyro [2024-06-03T03:08:11.801Z] [ 84%] Built target device-gyro [2024-06-03T03:08:11.801Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-06-03T03:08:12.066Z] [ 88%] Linking C executable device-bitfields [2024-06-03T03:08:12.333Z] [ 88%] Built target device-bitfields [2024-06-03T03:08:12.598Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-06-03T03:08:12.863Z] [ 92%] Linking C executable template-discovery [2024-06-03T03:08:13.127Z] [ 92%] Built target template-discovery [2024-06-03T03:08:13.127Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-06-03T03:08:13.395Z] [ 96%] Linking C executable device-file [2024-06-03T03:08:13.975Z] [ 96%] Built target device-file [2024-06-03T03:08:13.975Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-06-03T03:08:14.239Z] [100%] Linking C executable device-terminal [2024-06-03T03:08:14.505Z] [100%] Built target device-terminal [2024-06-03T03:08:14.505Z] make: Entering directory '/tmp/sdk/build/release' [2024-06-03T03:08:14.770Z] [ 68%] Built target csdk [2024-06-03T03:08:14.771Z] [ 72%] Built target template [2024-06-03T03:08:14.771Z] [ 76%] Built target device-counter [2024-06-03T03:08:14.771Z] [ 80%] Built target device-random [2024-06-03T03:08:15.036Z] [ 84%] Built target device-gyro [2024-06-03T03:08:15.036Z] [ 88%] Built target device-bitfields [2024-06-03T03:08:15.036Z] [ 92%] Built target template-discovery [2024-06-03T03:08:15.036Z] [ 96%] Built target device-file [2024-06-03T03:08:15.036Z] [100%] Built target device-terminal [2024-06-03T03:08:15.303Z] Install the project... [2024-06-03T03:08:15.303Z] -- Install configuration: "Release" [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/lib/libcsdk.so [2024-06-03T03:08:15.303Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/devsdk [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/devices.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-06-03T03:08:15.303Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-06-03T03:08:15.303Z] make: Leaving directory '/tmp/sdk/build/release' [2024-06-03T03:08:16.726Z] Removing intermediate container 50412319cda9 [2024-06-03T03:08:16.726Z] ---> 283d0f896c73 [2024-06-03T03:08:16.726Z] Step 14/22 : FROM ${BASE} [2024-06-03T03:08:16.726Z] ---> 2b552cad5dd9 [2024-06-03T03:08:16.726Z] Step 15/22 : LABEL maintainer="IOTech " [2024-06-03T03:08:16.726Z] ---> Running in 1738f41fa0ff [2024-06-03T03:08:16.992Z] Removing intermediate container 1738f41fa0ff [2024-06-03T03:08:16.992Z] ---> 9508df5cfa00 [2024-06-03T03:08:16.992Z] 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 [2024-06-03T03:08:16.992Z] ---> Running in 057666c3e7d7 [2024-06-03T03:08:17.944Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-06-03T03:08:18.525Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:08:18.525Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:08:18.525Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:08:19.107Z] Removing intermediate container 057666c3e7d7 [2024-06-03T03:08:19.107Z] ---> 47800126ca86 [2024-06-03T03:08:19.107Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:08:19.107Z] ---> Running in 52de9a8365d0 [2024-06-03T03:08:20.513Z] Removing intermediate container 52de9a8365d0 [2024-06-03T03:08:20.513Z] ---> 34d308b1be57 [2024-06-03T03:08:20.513Z] 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 [2024-06-03T03:08:20.780Z] ---> Running in 56b1882173c5 [2024-06-03T03:08:21.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:22.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:22.778Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:23.736Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:08:23.736Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T03:08:23.736Z] (2/10) Installing curl (8.5.0-r0) [2024-06-03T03:08:23.736Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-06-03T03:08:23.736Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-06-03T03:08:23.736Z] (5/10) Installing hiredis (1.1.0-r2) [2024-06-03T03:08:23.736Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-06-03T03:08:23.736Z] (7/10) Installing libcbor (0.10.2-r1) [2024-06-03T03:08:23.736Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r1) [2024-06-03T03:08:24.694Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-06-03T03:08:24.694Z] (10/10) Installing libuuid (2.38.1-r8) [2024-06-03T03:08:24.694Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:08:24.694Z] OK: 328 MiB in 90 packages [2024-06-03T03:08:26.105Z] Removing intermediate container 56b1882173c5 [2024-06-03T03:08:26.105Z] ---> 6991a19545b7 [2024-06-03T03:08:26.105Z] Step 19/22 : RUN apk --no-cache upgrade [2024-06-03T03:08:26.105Z] ---> Running in 893536ad6ce4 [2024-06-03T03:08:27.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:27.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:27.650Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:28.610Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:08:28.610Z] Upgrading critical system libraries and apk-tools: [2024-06-03T03:08:28.610Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-06-03T03:08:28.610Z] Executing busybox-1.36.1-r4.trigger [2024-06-03T03:08:28.878Z] Continuing the upgrade transaction with new apk-tools: [2024-06-03T03:08:28.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:29.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:29.410Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:30.369Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:08:30.369Z] (1/13) Upgrading busybox (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:08:30.369Z] Executing busybox-1.36.1-r6.post-upgrade [2024-06-03T03:08:30.369Z] (2/13) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:08:30.369Z] (3/13) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-06-03T03:08:30.369Z] (4/13) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:08:30.369Z] (5/13) Upgrading libssl3 (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:08:30.369Z] (6/13) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r6) [2024-06-03T03:08:30.369Z] (7/13) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-06-03T03:08:30.636Z] (8/13) Upgrading libarchive (3.7.2-r0 -> 3.7.4-r0) [2024-06-03T03:08:30.636Z] (9/13) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-06-03T03:08:30.636Z] (10/13) Upgrading openssl-dev (3.1.4-r0 -> 3.1.5-r0) [2024-06-03T03:08:30.636Z] (11/13) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:08:30.636Z] (12/13) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:08:30.906Z] (13/13) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-06-03T03:08:30.906Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T03:08:30.906Z] Executing ca-certificates-20240226-r0.trigger [2024-06-03T03:08:30.906Z] OK: 328 MiB in 90 packages [2024-06-03T03:08:32.849Z] Removing intermediate container 893536ad6ce4 [2024-06-03T03:08:32.849Z] ---> 087dbc292371 [2024-06-03T03:08:32.849Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-06-03T03:08:33.117Z] ---> fbd07d3f2192 [2024-06-03T03:08:33.117Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-06-03T03:08:33.700Z] ---> 445ea07a922b [2024-06-03T03:08:33.700Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-06-03T03:08:34.280Z] ---> be91e1468210 [2024-06-03T03:08:34.280Z] Successfully built be91e1468210 [2024-06-03T03:08:34.280Z] 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 [2024-06-03T03:08:34.718Z] + docker inspect -f . ci-base-image-arm64 [2024-06-03T03:08:34.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:08:35.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-2681 does not seem to be running inside a container [2024-06-03T03:08:35.099Z] $ 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 [2024-06-03T03:08:36.290Z] $ docker top e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T03:08:37.164Z] + make test [2024-06-03T03:08:37.164Z] echo "make test" [2024-06-03T03:08:37.164Z] make test [Pipeline] } [2024-06-03T03:08:37.194Z] $ docker stop --time=1 e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 [2024-06-03T03:08:38.833Z] $ docker rm -f --volumes e3240378811fcfa333d569214e70ca5ef911c37a101d15a0a1416be1ffc717b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-03T03:08:39.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-03T03:08:39.749Z] + ls -al . [2024-06-03T03:08:39.749Z] total 208 [2024-06-03T03:08:39.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:06 . [2024-06-03T03:08:39.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 .. [2024-06-03T03:08:39.749Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 03:06 .git [2024-06-03T03:08:39.749Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 03:06 .github [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 03:06 .gitignore [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 03:06 Attribution.txt [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 03:06 CHANGELOG.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 03:06 Doxyfile [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 03:06 GOVERNANCE.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 03:06 Jenkinsfile [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 03:06 LICENSE [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 03:06 Makefile [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 03:06 OWNERS.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 03:06 README.IOT.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 03:06 README.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 03:06 README.v3.md [2024-06-03T03:08:39.749Z] -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 03:04 VERSION [2024-06-03T03:08:39.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:06 docs [2024-06-03T03:08:39.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 include [2024-06-03T03:08:39.749Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 03:06 scripts [2024-06-03T03:08:39.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 03:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:08:40.114Z] + 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 . [2024-06-03T03:08:40.392Z] Sending build context to Docker daemon 3.012MB [2024-06-03T03:08:40.659Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-06-03T03:08:40.659Z] Step 2/18 : FROM ${BASE} [2024-06-03T03:08:40.659Z] ---> be91e1468210 [2024-06-03T03:08:40.659Z] Step 3/18 : LABEL maintainer="IOTech " [2024-06-03T03:08:40.659Z] ---> Running in 7af4826c351b [2024-06-03T03:08:40.932Z] Removing intermediate container 7af4826c351b [2024-06-03T03:08:40.932Z] ---> 77acb7a37bf2 [2024-06-03T03:08:40.932Z] 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 [2024-06-03T03:08:40.932Z] ---> Running in 325b07a4aad4 [2024-06-03T03:08:41.895Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-06-03T03:08:42.480Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-06-03T03:08:42.480Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-06-03T03:08:42.480Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-06-03T03:08:43.066Z] Removing intermediate container 325b07a4aad4 [2024-06-03T03:08:43.066Z] ---> cd5fda484f47 [2024-06-03T03:08:43.066Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-06-03T03:08:43.333Z] ---> Running in 6d188d90ac15 [2024-06-03T03:08:44.755Z] Removing intermediate container 6d188d90ac15 [2024-06-03T03:08:44.755Z] ---> 0817c92a4615 [2024-06-03T03:08:44.755Z] 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 [2024-06-03T03:08:45.022Z] ---> Running in 8911a793755f [2024-06-03T03:08:45.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:46.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:46.829Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:47.410Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:08:47.678Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) [2024-06-03T03:08:47.957Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-06-03T03:08:47.957Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-06-03T03:08:47.957Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-06-03T03:08:47.957Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-06-03T03:08:47.957Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-06-03T03:08:47.957Z] (7/11) Installing libblkid (2.38.1-r8) [2024-06-03T03:08:47.957Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-06-03T03:08:47.957Z] (9/11) Installing libmount (2.38.1-r8) [2024-06-03T03:08:47.957Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-06-03T03:08:47.957Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-06-03T03:08:47.957Z] Executing busybox-1.36.1-r6.trigger [2024-06-03T03:08:48.226Z] OK: 334 MiB in 101 packages [2024-06-03T03:08:49.186Z] Removing intermediate container 8911a793755f [2024-06-03T03:08:49.186Z] ---> db357113a6a9 [2024-06-03T03:08:49.186Z] Step 7/18 : RUN apk --no-cache upgrade [2024-06-03T03:08:49.459Z] ---> Running in d4dccf904a3c [2024-06-03T03:08:50.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:50.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:50.956Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-03T03:08:51.915Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-06-03T03:08:51.915Z] OK: 334 MiB in 101 packages [2024-06-03T03:08:52.882Z] Removing intermediate container d4dccf904a3c [2024-06-03T03:08:52.882Z] ---> 5868245c5027 [2024-06-03T03:08:52.882Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-06-03T03:08:53.148Z] ---> a07531f13700 [2024-06-03T03:08:53.148Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-06-03T03:08:54.104Z] ---> 3e61b8d6ce02 [2024-06-03T03:08:54.104Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-06-03T03:08:54.370Z] ---> caa6579c75b9 [2024-06-03T03:08:54.370Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-06-03T03:08:54.951Z] ---> 0f9f13d78978 [2024-06-03T03:08:54.951Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-06-03T03:08:55.530Z] ---> 50a41f68c09c [2024-06-03T03:08:55.530Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-06-03T03:08:56.115Z] ---> 05a6b366b1d3 [2024-06-03T03:08:56.115Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-06-03T03:08:56.115Z] ---> Running in 3b305c96b1c7 [2024-06-03T03:08:56.380Z] Removing intermediate container 3b305c96b1c7 [2024-06-03T03:08:56.380Z] ---> 2329e11886ab [2024-06-03T03:08:56.380Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-06-03T03:08:56.380Z] ---> Running in f6c4152c0d0c [2024-06-03T03:08:56.963Z] Removing intermediate container f6c4152c0d0c [2024-06-03T03:08:56.963Z] ---> 046a427e400e [2024-06-03T03:08:56.963Z] Step 16/18 : LABEL arch=arm64 [2024-06-03T03:08:56.963Z] ---> Running in f247ed3132d9 [2024-06-03T03:08:57.228Z] Removing intermediate container f247ed3132d9 [2024-06-03T03:08:57.228Z] ---> 0a0754a47e31 [2024-06-03T03:08:57.228Z] Step 17/18 : LABEL git_sha=b5fd43aa6b4e8069e65248caa2e7d6db03f961ef [2024-06-03T03:08:57.228Z] ---> Running in 7e9d6cf79783 [2024-06-03T03:08:57.497Z] Removing intermediate container 7e9d6cf79783 [2024-06-03T03:08:57.497Z] ---> 54b02dbf5280 [2024-06-03T03:08:57.497Z] Step 18/18 : LABEL version=3.0.3-dev.15 [2024-06-03T03:08:57.497Z] ---> Running in dbb9213b396b [2024-06-03T03:08:57.763Z] Removing intermediate container dbb9213b396b [2024-06-03T03:08:57.763Z] ---> e9cf260d76fd [2024-06-03T03:08:57.763Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-06-03T03:08:58.028Z] Successfully built e9cf260d76fd [2024-06-03T03:08:58.028Z] 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 [2024-06-03T03:08:58.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T03:08:58.490Z] [2024-06-03T03:08:58.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:08:58.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T03:08:59.090Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-03T03:08:59.090Z] 8998bd30e6a1: Pulling fs layer [2024-06-03T03:08:59.090Z] 04944245beec: Pulling fs layer [2024-06-03T03:08:59.090Z] 699f458cf7ca: Pulling fs layer [2024-06-03T03:08:59.090Z] 765212b225bb: Pulling fs layer [2024-06-03T03:08:59.090Z] f23df028b6ca: Pulling fs layer [2024-06-03T03:08:59.090Z] d65c8cfc05b1: Pulling fs layer [2024-06-03T03:08:59.090Z] 2437ff75d9bd: Pulling fs layer [2024-06-03T03:08:59.090Z] f23df028b6ca: Waiting [2024-06-03T03:08:59.090Z] d65c8cfc05b1: Waiting [2024-06-03T03:08:59.090Z] 2437ff75d9bd: Waiting [2024-06-03T03:08:59.090Z] 765212b225bb: Waiting [2024-06-03T03:08:59.090Z] 04944245beec: Verifying Checksum [2024-06-03T03:08:59.090Z] 04944245beec: Download complete [2024-06-03T03:08:59.090Z] 765212b225bb: Verifying Checksum [2024-06-03T03:08:59.090Z] 765212b225bb: Download complete [2024-06-03T03:08:59.090Z] f23df028b6ca: Verifying Checksum [2024-06-03T03:08:59.090Z] f23df028b6ca: Download complete [2024-06-03T03:08:59.090Z] d65c8cfc05b1: Download complete [2024-06-03T03:08:59.356Z] 699f458cf7ca: Verifying Checksum [2024-06-03T03:08:59.356Z] 699f458cf7ca: Download complete [2024-06-03T03:08:59.623Z] 8998bd30e6a1: Verifying Checksum [2024-06-03T03:08:59.623Z] 8998bd30e6a1: Download complete [2024-06-03T03:09:02.199Z] 2437ff75d9bd: Verifying Checksum [2024-06-03T03:09:02.199Z] 2437ff75d9bd: Download complete [2024-06-03T03:09:04.136Z] 8998bd30e6a1: Pull complete [2024-06-03T03:09:04.720Z] 04944245beec: Pull complete [2024-06-03T03:09:06.659Z] 699f458cf7ca: Pull complete [2024-06-03T03:09:06.659Z] 765212b225bb: Pull complete [2024-06-03T03:09:07.243Z] f23df028b6ca: Pull complete [2024-06-03T03:09:07.508Z] d65c8cfc05b1: Pull complete [2024-06-03T03:09:25.700Z] 2437ff75d9bd: Pull complete [2024-06-03T03:09:25.700Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-03T03:09:25.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-03T03:09:25.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:09:25.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-2681 does not seem to be running inside a container [2024-06-03T03:09:25.987Z] $ 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 [2024-06-03T03:09:28.470Z] $ docker top 6b19dbd1ef783b1f03e9a9a124b64556f4ca940846b0a520962ef6dff0ed400e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:09:29.312Z] ---> job-cost.sh [2024-06-03T03:09:29.312Z] lf-activate-venv: SKIPPING [2024-06-03T03:09:29.312Z] INFO: No Stack... [2024-06-03T03:09:29.578Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-03T03:09:30.539Z] INFO: Archiving Costs [Pipeline] sh [2024-06-03T03:09:31.176Z] + cat /w/workspace/device-sdk-c/75/archives/cost.csv [2024-06-03T03:09:31.176Z] + cut -d, -f6 [Pipeline] lock [2024-06-03T03:09:31.230Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [2024-06-03T03:09:31.239Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] did not exist. Created. [2024-06-03T03:09:31.245Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-03T03:09:31.903Z] /w/workspace/device-sdk-c/75@tmp/durable-ffe3d6b0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-03T03:09:32.538Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-03T03:09:32.564Z] Warning: overwriting stash ‘stack-cost’ [2024-06-03T03:09:33.002Z] Stashed 1 file(s) [Pipeline] } [2024-06-03T03:09:33.015Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-03T03:09:33.047Z] $ docker stop --time=1 6b19dbd1ef783b1f03e9a9a124b64556f4ca940846b0a520962ef6dff0ed400e [2024-06-03T03:09:34.556Z] $ 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 [2024-06-03T03:09:35.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-03T03:09:35.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:09:35.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:09:35.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:09:35.639Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:09:35.664Z] $ 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 [2024-06-03T03:09:35.989Z] $ docker top 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d -eo pid,comm [2024-06-03T03:09:36.037Z] 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). [2024-06-03T03:09:36.037Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-03T03:09:36.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T03:09:36.095Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T03:09:36.214Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T03:09:36.215Z] $ docker exec 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d ssh-agent [2024-06-03T03:09:36.318Z] SSH_AUTH_SOCK=/tmp/ssh-AuJa9wfU8CR1/agent.32 [2024-06-03T03:09:36.318Z] SSH_AGENT_PID=39 [2024-06-03T03:09:36.322Z] Running ssh-add (command line suppressed) [2024-06-03T03:09:36.411Z] 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) [2024-06-03T03:09:36.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T03:09:36.721Z] + git semver tag [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,888 [run_tag] DEBUG tag force:False [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,888 [check_head_tag] DEBUG check head tag [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,889 [execute] INFO git cat-file --batch-check [2024-06-03T03:09:36.980Z] 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=) [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,893 [execute] INFO git cat-file --batch [2024-06-03T03:09:36.980Z] 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=) [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,909 [execute] INFO git tag -a v3.0.3-dev.15 -m v3.0.3-dev.15 [2024-06-03T03:09:36.980Z] 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) [2024-06-03T03:09:36.980Z] 2024-06-03 03:09:36,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:36.980Z] 3.0.3-dev.15 [Pipeline] } [2024-06-03T03:09:36.985Z] $ docker exec --env ******** --env ******** 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d ssh-agent -k [2024-06-03T03:09:37.078Z] unset SSH_AUTH_SOCK; [2024-06-03T03:09:37.078Z] unset SSH_AGENT_PID; [2024-06-03T03:09:37.078Z] echo Agent pid 39 killed; [2024-06-03T03:09:37.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-03T03:09:37.424Z] + git semver [Pipeline] } [2024-06-03T03:09:37.691Z] $ docker stop --time=1 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d [2024-06-03T03:09:38.979Z] $ docker rm -f --volumes 25a5f306a3254a0e134f1fe642d25bd7e57d07221ec6a7f5ac954981116f745d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:09:39.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-03T03:09:39.406Z] [2024-06-03T03:09:39.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:09:39.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-03T03:09:39.725Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-06-03T03:09:39.725Z] ab5ef0e58194: Pulling fs layer [2024-06-03T03:09:39.725Z] 9712f1f96733: Pulling fs layer [2024-06-03T03:09:39.725Z] 63f879dbbcfc: Pulling fs layer [2024-06-03T03:09:39.725Z] 0d9ebad4ef96: Pulling fs layer [2024-06-03T03:09:39.725Z] e9a5061849ea: Pulling fs layer [2024-06-03T03:09:39.725Z] d747dcd14b5f: Pulling fs layer [2024-06-03T03:09:39.725Z] 2de7ff778b66: Pulling fs layer [2024-06-03T03:09:39.725Z] e9a5061849ea: Waiting [2024-06-03T03:09:39.725Z] d747dcd14b5f: Waiting [2024-06-03T03:09:39.725Z] 0d9ebad4ef96: Waiting [2024-06-03T03:09:39.725Z] 2de7ff778b66: Waiting [2024-06-03T03:09:39.725Z] 9712f1f96733: Verifying Checksum [2024-06-03T03:09:39.725Z] 9712f1f96733: Download complete [2024-06-03T03:09:40.296Z] 63f879dbbcfc: Verifying Checksum [2024-06-03T03:09:40.296Z] 63f879dbbcfc: Download complete [2024-06-03T03:09:40.296Z] 0d9ebad4ef96: Verifying Checksum [2024-06-03T03:09:40.296Z] 0d9ebad4ef96: Download complete [2024-06-03T03:09:40.296Z] d747dcd14b5f: Verifying Checksum [2024-06-03T03:09:40.296Z] d747dcd14b5f: Download complete [2024-06-03T03:09:40.296Z] e9a5061849ea: Verifying Checksum [2024-06-03T03:09:40.296Z] e9a5061849ea: Download complete [2024-06-03T03:09:40.556Z] ab5ef0e58194: Verifying Checksum [2024-06-03T03:09:40.556Z] ab5ef0e58194: Download complete [2024-06-03T03:09:40.556Z] 2de7ff778b66: Verifying Checksum [2024-06-03T03:09:40.556Z] 2de7ff778b66: Download complete [2024-06-03T03:09:43.087Z] ab5ef0e58194: Pull complete [2024-06-03T03:09:43.087Z] 9712f1f96733: Pull complete [2024-06-03T03:09:44.020Z] 63f879dbbcfc: Pull complete [2024-06-03T03:09:48.237Z] 0d9ebad4ef96: Pull complete [2024-06-03T03:09:48.237Z] e9a5061849ea: Pull complete [2024-06-03T03:09:48.237Z] d747dcd14b5f: Pull complete [2024-06-03T03:09:49.173Z] 2de7ff778b66: Pull complete [2024-06-03T03:09:49.173Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-06-03T03:09:49.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-06-03T03:09:49.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:09:49.283Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:09:49.394Z] $ 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 [2024-06-03T03:09:52.571Z] $ docker top 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-06-03T03:09:52.657Z] provisioning config files... [2024-06-03T03:09:52.677Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6619888015330565687tmp [2024-06-03T03:09:52.703Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14092583260883987538tmp [2024-06-03T03:09:52.750Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10496832000988746019tmp [Pipeline] { [Pipeline] echo [2024-06-03T03:09:52.789Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:09:53.089Z] ---> sigul-configuration.sh [2024-06-03T03:09:53.089Z] gpg: directory `/root/.gnupg' created [2024-06-03T03:09:53.089Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-06-03T03:09:53.089Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-06-03T03:09:53.089Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-06-03T03:09:53.089Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-06-03T03:09:53.089Z] gpg: CAST5 encrypted data [2024-06-03T03:09:53.089Z] gpg: encrypted with 1 passphrase [2024-06-03T03:09:53.089Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-06-03T03:09:53.399Z] + mkdir /home/jenkins [2024-06-03T03:09:53.399Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-06-03T03:09:53.700Z] + 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 [2024-06-03T03:09:53.711Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:09:54.007Z] ---> sigul-install.sh [2024-06-03T03:09:54.008Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-06-03T03:09:54.305Z] + git tag --list [2024-06-03T03:09:54.305Z] 0.7.0 [2024-06-03T03:09:54.305Z] 0.7.1 [2024-06-03T03:09:54.305Z] 1.0.0 [2024-06-03T03:09:54.305Z] v1.0.1 [2024-06-03T03:09:54.305Z] v1.0.2 [2024-06-03T03:09:54.305Z] v1.0.3 [2024-06-03T03:09:54.305Z] v1.1.0 [2024-06-03T03:09:54.305Z] v1.1.1 [2024-06-03T03:09:54.305Z] v1.2.0 [2024-06-03T03:09:54.305Z] v1.2.1 [2024-06-03T03:09:54.305Z] v1.2.2 [2024-06-03T03:09:54.305Z] v1.3.0 [2024-06-03T03:09:54.305Z] v1.3.1 [2024-06-03T03:09:54.305Z] v2.0.0 [2024-06-03T03:09:54.305Z] v2.1.0 [2024-06-03T03:09:54.305Z] v2.2.0 [2024-06-03T03:09:54.305Z] v2.3.0 [2024-06-03T03:09:54.305Z] v3.0 [2024-06-03T03:09:54.305Z] v3.0.0 [2024-06-03T03:09:54.305Z] v3.0.1 [2024-06-03T03:09:54.305Z] v3.0.2 [2024-06-03T03:09:54.305Z] v3.0.3-dev.1 [2024-06-03T03:09:54.305Z] v3.0.3-dev.10 [2024-06-03T03:09:54.305Z] v3.0.3-dev.11 [2024-06-03T03:09:54.305Z] v3.0.3-dev.12 [2024-06-03T03:09:54.305Z] v3.0.3-dev.13 [2024-06-03T03:09:54.305Z] v3.0.3-dev.14 [2024-06-03T03:09:54.305Z] v3.0.3-dev.15 [2024-06-03T03:09:54.305Z] v3.0.3-dev.2 [2024-06-03T03:09:54.305Z] v3.0.3-dev.3 [2024-06-03T03:09:54.305Z] v3.0.3-dev.4 [2024-06-03T03:09:54.305Z] v3.0.3-dev.5 [2024-06-03T03:09:54.305Z] v3.0.3-dev.6 [2024-06-03T03:09:54.305Z] v3.0.3-dev.7 [2024-06-03T03:09:54.305Z] v3.0.3-dev.8 [2024-06-03T03:09:54.305Z] v3.0.3-dev.9 [2024-06-03T03:09:54.305Z] v3.1 [2024-06-03T03:09:54.305Z] v3.1.0 [2024-06-03T03:09:54.305Z] v3.1.0-dev.1 [2024-06-03T03:09:54.305Z] v3.1.0-dev.2 [2024-06-03T03:09:54.305Z] v3.1.0-dev.3 [2024-06-03T03:09:54.305Z] v3.1.0-dev.4 [2024-06-03T03:09:54.305Z] v3.1.0-dev.5 [2024-06-03T03:09:54.306Z] v3.1.0-dev.6 [2024-06-03T03:09:54.306Z] v3.1.0-dev.7 [2024-06-03T03:09:54.306Z] v3.1.0-dev.8 [2024-06-03T03:09:54.306Z] v3.1.0-dev.9 [2024-06-03T03:09:54.306Z] v3.1.1 [2024-06-03T03:09:54.306Z] v3.1.1-dev.1 [Pipeline] sh [2024-06-03T03:09:54.608Z] + lftools sign git-tag v3.0.3-dev.15 [2024-06-03T03:09:55.177Z] Signing Git tag with Sigul... [2024-06-03T03:09:55.177Z] Signing v3.0.3-dev.15 [Pipeline] echo [2024-06-03T03:09:55.453Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:09:55.751Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-06-03T03:09:55.759Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-06-03T03:09:55.783Z] $ docker stop --time=1 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 [2024-06-03T03:09:57.061Z] $ docker rm -f --volumes 37d0ed6dc0eba6cc031813a642d1d6fa824bcd9ec1b1fa858c31270396b74377 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-06-03T03:09:57.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-03T03:09:57.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:09:57.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:09:57.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:09:57.868Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:09:57.893Z] $ 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 [2024-06-03T03:09:58.234Z] $ docker top 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 -eo pid,comm [2024-06-03T03:09:58.288Z] 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). [2024-06-03T03:09:58.288Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-03T03:09:58.342Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T03:09:58.342Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T03:09:58.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T03:09:58.455Z] $ docker exec 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 ssh-agent [2024-06-03T03:09:58.564Z] SSH_AUTH_SOCK=/tmp/ssh-6BxeWPinQxBQ/agent.31 [2024-06-03T03:09:58.564Z] SSH_AGENT_PID=37 [2024-06-03T03:09:58.570Z] Running ssh-add (command line suppressed) [2024-06-03T03:09:58.668Z] 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) [2024-06-03T03:09:58.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T03:09:58.983Z] + git semver bump pre [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,156 [bump_version] DEBUG bumping version:3.0.3-dev.15 on axis:pre with prefix:dev [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,156 [bump_version] DEBUG bumped version:3.0.3-dev.16 [2024-06-03T03:09:59.241Z] 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 [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,156 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,158 [execute] INFO git cat-file --batch-check [2024-06-03T03:09:59.241Z] 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=) [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,163 [execute] INFO git cat-file --batch [2024-06-03T03:09:59.241Z] 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=) [2024-06-03T03:09:59.241Z] 2024-06-03 03:09:59,169 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:09:59.241Z] 3.0.3-dev.16 [Pipeline] } [2024-06-03T03:09:59.247Z] $ docker exec --env ******** --env ******** 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 ssh-agent -k [2024-06-03T03:09:59.346Z] unset SSH_AUTH_SOCK; [2024-06-03T03:09:59.346Z] unset SSH_AGENT_PID; [2024-06-03T03:09:59.346Z] echo Agent pid 37 killed; [2024-06-03T03:09:59.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-03T03:09:59.693Z] + git semver [Pipeline] } [2024-06-03T03:09:59.961Z] $ docker stop --time=1 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 [2024-06-03T03:10:01.232Z] $ docker rm -f --volumes 7e45662760201c8fdb7421a8ed17ca1fece7da7e98ce4b9a450fc4326e668076 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-03T03:10:01.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-03T03:10:01.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:10:01.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-03T03:10:01.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:10:01.964Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:10:01.993Z] $ 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 [2024-06-03T03:10:02.331Z] $ docker top 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-03T03:10:02.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-03T03:10:02.432Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-03T03:10:02.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-03T03:10:02.527Z] $ docker exec 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac ssh-agent [2024-06-03T03:10:02.635Z] SSH_AUTH_SOCK=/tmp/ssh-OT6dafeWzi3Y/agent.31 [2024-06-03T03:10:02.635Z] SSH_AGENT_PID=37 [2024-06-03T03:10:02.639Z] Running ssh-add (command line suppressed) [2024-06-03T03:10:02.734Z] 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) [2024-06-03T03:10:02.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-03T03:10:03.042Z] + git semver push [2024-06-03T03:10:03.301Z] 2024-06-03 03:10:03,191 [run_push] DEBUG push [2024-06-03T03:10:03.301Z] 2024-06-03 03:10:03,192 [execute] INFO git cat-file --batch-check [2024-06-03T03:10:03.301Z] 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=) [2024-06-03T03:10:03.301Z] 2024-06-03 03:10:03,194 [execute] INFO git rev-list 66a80da5813a5943e78a6a33db5d611f62987caf -- [2024-06-03T03:10:03.301Z] 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) [2024-06-03T03:10:03.301Z] 2024-06-03 03:10:03,202 [execute] INFO git fetch -v origin [2024-06-03T03:10:03.301Z] 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) [2024-06-03T03:10:03.870Z] 2024-06-03 03:10:03,657 [run_push] DEBUG no remote changes detected [2024-06-03T03:10:03.870Z] 2024-06-03 03:10:03,658 [execute] INFO git push origin semver [2024-06-03T03:10:03.870Z] 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) [2024-06-03T03:10:04.439Z] 2024-06-03 03:10:04,387 [run_push] DEBUG push all version tags [2024-06-03T03:10:04.439Z] 2024-06-03 03:10:04,388 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-06-03T03:10:04.439Z] 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) [2024-06-03T03:10:05.378Z] 2024-06-03 03:10:05,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-06-03T03:10:05.378Z] 3.0.3-dev.16 [Pipeline] } [2024-06-03T03:10:05.383Z] $ docker exec --env ******** --env ******** 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac ssh-agent -k [2024-06-03T03:10:05.471Z] unset SSH_AUTH_SOCK; [2024-06-03T03:10:05.471Z] unset SSH_AGENT_PID; [2024-06-03T03:10:05.471Z] echo Agent pid 37 killed; [2024-06-03T03:10:05.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-03T03:10:05.806Z] + git semver [Pipeline] } [2024-06-03T03:10:06.075Z] $ docker stop --time=1 53521ff6fc06a4c7362c0349f826d24d7440663fd04bba952bbbc09b1e55a7ac [2024-06-03T03:10:07.354Z] $ 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 [2024-06-03T03:10:07.893Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-06-03T03:10:07.893Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-06-03T03:10:07.893Z] total 16 [2024-06-03T03:10:07.893Z] drwxr-xr-x 3 root root 4096 Jun 3 03:05 . [2024-06-03T03:10:07.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 03:09 .. [2024-06-03T03:10:07.893Z] drwxr-xr-x 2 root root 4096 Jun 3 03:05 cost [2024-06-03T03:10:07.893Z] -rw-r--r-- 1 root root 83 Jun 3 03:05 cost.csv [2024-06-03T03:10:07.893Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-06-03T03:10:07.893Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-06-03T03:10:07.893Z] total 16 [2024-06-03T03:10:07.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 03:05 . [2024-06-03T03:10:07.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 03:09 .. [2024-06-03T03:10:07.893Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 03:05 cost [2024-06-03T03:10:07.893Z] -rw-r--r-- 1 jenkins jenkins 83 Jun 3 03:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:08.183Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:09.037Z] ---> package-listing.sh [2024-06-03T03:10:09.037Z] ++ facter osfamily [2024-06-03T03:10:09.037Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-03T03:10:09.295Z] + OS_FAMILY=debian [2024-06-03T03:10:09.295Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-06-03T03:10:09.295Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-03T03:10:09.295Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-03T03:10:09.295Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-03T03:10:09.295Z] + PACKAGES=/tmp/packages_start.txt [2024-06-03T03:10:09.295Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-06-03T03:10:09.295Z] + PACKAGES=/tmp/packages_end.txt [2024-06-03T03:10:09.295Z] + case "${OS_FAMILY}" in [2024-06-03T03:10:09.295Z] + grep '^ii' [2024-06-03T03:10:09.295Z] + dpkg -l [2024-06-03T03:10:09.295Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-03T03:10:09.295Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-03T03:10:09.295Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-03T03:10:09.295Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-06-03T03:10:09.295Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-06-03T03:10:09.295Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-06-03T03:10:09.306Z] 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 [2024-06-03T03:10:09.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-03T03:10:10.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-03T03:10:10.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-03T03:10:10.226Z] prd-ubuntu20.04-docker-8c-8g-2679 does not seem to be running inside a container [2024-06-03T03:10:10.249Z] $ 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 [2024-06-03T03:10:10.440Z] $ docker top 35b6d3c52697adfe808ead08532e29423ef261b1552d33303fde94294d9144ef -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-03T03:10:10.789Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-03T03:10:11.071Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-03T03:10:11.355Z] + ls /var/log/sa-host [2024-06-03T03:10:11.355Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-03T03:10:11.508Z] provisioning config files... [2024-06-03T03:10:11.516Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config966629495374748476tmp [Pipeline] { [Pipeline] echo [2024-06-03T03:10:11.529Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:11.808Z] ---> create-netrc.sh [Pipeline] } [2024-06-03T03:10:11.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:12.156Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-03T03:10:12.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:12.449Z] ---> sudo-logs.sh [2024-06-03T03:10:12.450Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-03T03:10:12.480Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:12.762Z] ---> job-cost.sh [2024-06-03T03:10:12.762Z] lf-activate-venv: SKIPPING [2024-06-03T03:10:12.762Z] DEBUG: total: 0.2199999988079071 [2024-06-03T03:10:12.762Z] INFO: Retrieving Stack Cost... [2024-06-03T03:10:13.022Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-03T03:10:13.284Z] INFO: Archiving Costs [Pipeline] echo [2024-06-03T03:10:13.297Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-03T03:10:13.589Z] ---> logs-deploy.sh [2024-06-03T03:10:13.589Z] lf-activate-venv: SKIPPING [2024-06-03T03:10:13.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/75 [2024-06-03T03:10:13.589Z] INFO: archiving workspace using pattern(s): [2024-06-03T03:10:14.536Z] Archives upload complete. [2024-06-03T03:10:14.536Z] INFO: archiving logs to Nexus