Pull request #530 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e+62fc64c90db9bc421ef18031b23432b09bce4dbe (6be8d70b2f49f4ace99291d07eae1d0cf3b49fbf) 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-ssh7442865954548415705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh10349129174299368380.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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/PR-530/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/PR-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14535927369262808827.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh10206588630760217424.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/PR-530/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/PR-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10992275793350016271.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-34606 in /w/workspace/edgexfoundry_device-sdk-c_PR-530 [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_PR-530 # 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 Merging remotes/origin/main commit 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e Checking out Revision 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e (PR-530) > git config core.sparsecheckout # timeout=10 > git checkout -f 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e # timeout=10 Commit message: "feat!: Drop support for Consul" First time build. Skipping changelog. > git rev-list --no-walk 21325a94564d5324722348dd653aebd425836c02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-06T06:47:23.078Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T06:47:23.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T06:47:23.164Z] ========================================================= [2024-12-06T06:47:23.165Z] EdgeX Global Pipelines Version Info [2024-12-06T06:47:23.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:47:23.889Z] ------------------- [2024-12-06T06:47:23.889Z] stable info: [2024-12-06T06:47:23.889Z] ------------------- [2024-12-06T06:47:23.889Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T06:47:23.890Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T06:47:23.890Z] Message: update stable to v1.0.269 [2024-12-06T06:47:24.459Z] ------------------- [2024-12-06T06:47:24.459Z] experimental info: [2024-12-06T06:47:24.459Z] ------------------- [2024-12-06T06:47:24.459Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T06:47:24.459Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T06:47:24.459Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T06:47:24.544Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T06:47:24.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T06:47:24.586Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T06:47:24.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T06:47:24.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T06:47:24.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T06:47:24.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T06:47:24.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T06:47:24.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T06:47:24.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T06:47:24.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T06:47:24.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T06:47:24.801Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T06:47:24.825Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T06:47:24.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T06:47:24.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T06:47:24.892Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T06:47:24.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-530 [Pipeline] echo [2024-12-06T06:47:24.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-530 [Pipeline] echo [2024-12-06T06:47:24.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-530 [Pipeline] echo [2024-12-06T06:47:24.976Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [Pipeline] echo [2024-12-06T06:47:24.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3516101 [Pipeline] echo [2024-12-06T06:47:25.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T06:47:25.081Z] provisioning config files... [2024-12-06T06:47:25.098Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config6619995750663297366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:47:25.437Z] ---> ****-login.sh [2024-12-06T06:47:25.437Z] nexus3.edgexfoundry.org:10001 [2024-12-06T06:47:25.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:25.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:25.979Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:25.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:25.979Z] [2024-12-06T06:47:25.979Z] Login Succeeded [2024-12-06T06:47:25.979Z] nexus3.edgexfoundry.org:10002 [2024-12-06T06:47:25.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:25.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:25.980Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:25.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:25.980Z] [2024-12-06T06:47:25.980Z] Login Succeeded [2024-12-06T06:47:25.980Z] nexus3.edgexfoundry.org:10003 [2024-12-06T06:47:25.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:25.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:25.980Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:25.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:25.980Z] [2024-12-06T06:47:25.980Z] Login Succeeded [2024-12-06T06:47:25.980Z] nexus3.edgexfoundry.org:10004 [2024-12-06T06:47:26.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:26.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:26.261Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:26.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:26.261Z] [2024-12-06T06:47:26.261Z] Login Succeeded [2024-12-06T06:47:26.261Z] ****.io [2024-12-06T06:47:26.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:26.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:26.523Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:26.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:26.523Z] [2024-12-06T06:47:26.523Z] Login Succeeded [2024-12-06T06:47:26.523Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T06:47:26.535Z] 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-12-06T06:47:26.953Z] + git rev-list -1 --merges 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e~1..3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [Pipeline] echo [2024-12-06T06:47:26.983Z] -----------> git rev-list -1 --merges 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e~1..3516101ad1b00c20e67e2c97c5ffd4b0ec17126e 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [false] [Pipeline] sh [2024-12-06T06:47:27.287Z] + git log --format=format:%s -1 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [Pipeline] echo [2024-12-06T06:47:27.304Z] ========================================================= [2024-12-06T06:47:27.304Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T06:47:27.304Z] ========================================================= 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-12-06T06:47:27.762Z] + git rev-list -1 --merges 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e~1..3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [Pipeline] echo [2024-12-06T06:47:27.775Z] -----------> git rev-list -1 --merges 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e~1..3516101ad1b00c20e67e2c97c5ffd4b0ec17126e 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [false] [Pipeline] sh [2024-12-06T06:47:28.076Z] + git log --format=format:%s -1 3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [Pipeline] echo [2024-12-06T06:47:28.092Z] ========================================================= [2024-12-06T06:47:28.092Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T06:47:28.092Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T06:47:28.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T06:47:28.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T06:47:28.526Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T06:47:28.526Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T06:47:28.526Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-06T06:47:28.526Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-06T06:47:28.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:47:28.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:47:28.945Z] [2024-12-06T06:47:28.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:47:29.237Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:47:29.237Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T06:47:29.237Z] b85a868b505f: Pulling fs layer [2024-12-06T06:47:29.237Z] e2be974225ed: Pulling fs layer [2024-12-06T06:47:29.237Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T06:47:29.237Z] 988bab9f4d93: Pulling fs layer [2024-12-06T06:47:29.237Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T06:47:29.237Z] eaf3925da568: Pulling fs layer [2024-12-06T06:47:29.237Z] bab4dde63d76: Pulling fs layer [2024-12-06T06:47:29.237Z] bde34c3a00c8: Pulling fs layer [2024-12-06T06:47:29.237Z] b352a97aabf1: Pulling fs layer [2024-12-06T06:47:29.237Z] 4872d77fe225: Pulling fs layer [2024-12-06T06:47:29.237Z] 5851b861e8e6: Pulling fs layer [2024-12-06T06:47:29.237Z] 988bab9f4d93: Waiting [2024-12-06T06:47:29.237Z] bde34c3a00c8: Waiting [2024-12-06T06:47:29.237Z] b352a97aabf1: Waiting [2024-12-06T06:47:29.237Z] eaf3925da568: Waiting [2024-12-06T06:47:29.237Z] bab4dde63d76: Waiting [2024-12-06T06:47:29.237Z] 4872d77fe225: Waiting [2024-12-06T06:47:29.237Z] 1469e6f7b9e6: Waiting [2024-12-06T06:47:29.237Z] e2be974225ed: Download complete [2024-12-06T06:47:29.237Z] 988bab9f4d93: Verifying Checksum [2024-12-06T06:47:29.237Z] 988bab9f4d93: Download complete [2024-12-06T06:47:29.237Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T06:47:29.237Z] 1469e6f7b9e6: Download complete [2024-12-06T06:47:29.237Z] eaf3925da568: Verifying Checksum [2024-12-06T06:47:29.237Z] eaf3925da568: Download complete [2024-12-06T06:47:29.494Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T06:47:29.494Z] 339a4e72a1f5: Download complete [2024-12-06T06:47:29.494Z] bde34c3a00c8: Download complete [2024-12-06T06:47:29.494Z] b352a97aabf1: Download complete [2024-12-06T06:47:29.494Z] 4872d77fe225: Verifying Checksum [2024-12-06T06:47:29.495Z] 4872d77fe225: Download complete [2024-12-06T06:47:29.495Z] 5851b861e8e6: Verifying Checksum [2024-12-06T06:47:29.495Z] 5851b861e8e6: Download complete [2024-12-06T06:47:29.495Z] b85a868b505f: Verifying Checksum [2024-12-06T06:47:29.495Z] b85a868b505f: Download complete [2024-12-06T06:47:29.753Z] bab4dde63d76: Verifying Checksum [2024-12-06T06:47:29.753Z] bab4dde63d76: Download complete [2024-12-06T06:47:30.690Z] b85a868b505f: Pull complete [2024-12-06T06:47:30.948Z] e2be974225ed: Pull complete [2024-12-06T06:47:31.206Z] 339a4e72a1f5: Pull complete [2024-12-06T06:47:31.467Z] 988bab9f4d93: Pull complete [2024-12-06T06:47:31.725Z] 1469e6f7b9e6: Pull complete [2024-12-06T06:47:31.725Z] eaf3925da568: Pull complete [2024-12-06T06:47:33.623Z] bab4dde63d76: Pull complete [2024-12-06T06:47:33.623Z] bde34c3a00c8: Pull complete [2024-12-06T06:47:33.623Z] b352a97aabf1: Pull complete [2024-12-06T06:47:33.623Z] 4872d77fe225: Pull complete [2024-12-06T06:47:33.883Z] 5851b861e8e6: Pull complete [2024-12-06T06:47:33.883Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T06:47:33.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:47:33.883Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:47:34.039Z] prd-ubuntu20.04-docker-8c-8g-34606 does not seem to be running inside a container [2024-12-06T06:47:34.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-06T06:47:36.025Z] $ docker top a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 -eo pid,comm [2024-12-06T06:47:36.084Z] 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-12-06T06:47:36.084Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T06:47:36.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T06:47:36.140Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T06:47:36.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T06:47:36.251Z] $ docker exec a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 ssh-agent [2024-12-06T06:47:36.363Z] SSH_AUTH_SOCK=/tmp/ssh-xduKB4uLfwNY/agent.32 [2024-12-06T06:47:36.363Z] SSH_AGENT_PID=38 [2024-12-06T06:47:36.370Z] Running ssh-add (command line suppressed) [2024-12-06T06:47:36.478Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17242205660033352148.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_17242205660033352148.key) [2024-12-06T06:47:36.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T06:47:36.796Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T06:47:36.804Z] $ docker exec --env ******** --env ******** a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 ssh-agent -k [2024-12-06T06:47:36.901Z] unset SSH_AUTH_SOCK; [2024-12-06T06:47:36.901Z] unset SSH_AGENT_PID; [2024-12-06T06:47:36.901Z] echo Agent pid 38 killed; [2024-12-06T06:47:36.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T06:47:36.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T06:47:36.947Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T06:47:37.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T06:47:37.053Z] $ docker exec a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 ssh-agent [2024-12-06T06:47:37.175Z] SSH_AUTH_SOCK=/tmp/ssh-R6EAlmNbuA44/agent.72 [2024-12-06T06:47:37.175Z] SSH_AGENT_PID=78 [2024-12-06T06:47:37.180Z] Running ssh-add (command line suppressed) [2024-12-06T06:47:37.281Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_6594964227607087441.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_6594964227607087441.key) [2024-12-06T06:47:37.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T06:47:37.595Z] + git semver init [2024-12-06T06:47:37.855Z] 2024-12-06 06:47:37,765 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T06:47:37.855Z] 2024-12-06 06:47:37,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver [2024-12-06T06:47:37.855Z] 2024-12-06 06:47:37,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver [2024-12-06T06:47:37.855Z] 2024-12-06 06:47:37,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530, universal_newlines=False, shell=None, istream=None) [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,594 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.git/info/exclude [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 with force:False [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,595 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,599 [execute] INFO git cat-file --batch-check [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,606 [execute] INFO git cat-file --batch [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T06:47:38.796Z] 2024-12-06 06:47:38,612 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 [2024-12-06T06:47:38.796Z] 0.0.0 [Pipeline] } [2024-12-06T06:47:38.802Z] $ docker exec --env ******** --env ******** a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 ssh-agent -k [2024-12-06T06:47:38.907Z] unset SSH_AUTH_SOCK; [2024-12-06T06:47:38.907Z] unset SSH_AGENT_PID; [2024-12-06T06:47:38.907Z] echo Agent pid 78 killed; [2024-12-06T06:47:38.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T06:47:39.249Z] + git semver [Pipeline] } [2024-12-06T06:47:39.523Z] $ docker stop --time=1 a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 [2024-12-06T06:47:40.822Z] $ docker rm -f --volumes a3207b97c86d39cdabac893811b04d282bba571dc11d1f4fc9f7de56431a38b5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T06:47:41.178Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T06:47:41.399Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T06:47:41.403Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T06:47:41.713Z] provisioning config files... [Pipeline] // stage [Pipeline] } [2024-12-06T06:47:41.723Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config6465443859191463296tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:47:42.034Z] ---> ****-login.sh [2024-12-06T06:47:42.034Z] nexus3.edgexfoundry.org:10001 [2024-12-06T06:47:42.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:42.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:42.034Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:42.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:42.034Z] [2024-12-06T06:47:42.034Z] Login Succeeded [2024-12-06T06:47:42.034Z] nexus3.edgexfoundry.org:10002 [2024-12-06T06:47:42.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:42.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:42.034Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:42.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:42.034Z] [2024-12-06T06:47:42.034Z] Login Succeeded [2024-12-06T06:47:42.034Z] nexus3.edgexfoundry.org:10003 [2024-12-06T06:47:42.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:42.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:42.295Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:42.295Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:42.295Z] [2024-12-06T06:47:42.295Z] Login Succeeded [2024-12-06T06:47:42.295Z] nexus3.edgexfoundry.org:10004 [2024-12-06T06:47:42.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:42.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:42.295Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:42.295Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:42.295Z] [2024-12-06T06:47:42.295Z] Login Succeeded [2024-12-06T06:47:42.295Z] ****.io [2024-12-06T06:47:42.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:47:42.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:47:42.555Z] Configure a credential helper to remove this warning. See [2024-12-06T06:47:42.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:47:42.555Z] [2024-12-06T06:47:42.555Z] Login Succeeded [2024-12-06T06:47:42.555Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T06:47:42.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T06:47:42.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T06:47:42.668Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T06:47:42.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T06:47:42.704Z] ========================================================= [2024-12-06T06:47:42.704Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T06:47:42.704Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:47:43.025Z] + 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-12-06T06:47:43.026Z] Sending build context to Docker daemon 5.212MB [2024-12-06T06:47:43.026Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T06:47:43.026Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T06:47:43.026Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T06:47:43.026Z] 96526aa774ef: Pulling fs layer [2024-12-06T06:47:43.026Z] da60e534fd72: Pulling fs layer [2024-12-06T06:47:43.284Z] 96526aa774ef: Verifying Checksum [2024-12-06T06:47:43.284Z] 96526aa774ef: Download complete [2024-12-06T06:47:43.284Z] 96526aa774ef: Pull complete [2024-12-06T06:47:43.852Z] da60e534fd72: Verifying Checksum [2024-12-06T06:47:43.852Z] da60e534fd72: Download complete [2024-12-06T06:47:47.141Z] da60e534fd72: Pull complete [2024-12-06T06:47:47.141Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T06:47:47.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T06:47:47.141Z] ---> 6605166a5db4 [2024-12-06T06:47:47.141Z] 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-12-06T06:47:48.081Z] ---> Running in e5033b3b4b80 [2024-12-06T06:47:48.339Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-06T06:47:48.912Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T06:47:48.912Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T06:47:48.912Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T06:47:49.171Z] Removing intermediate container e5033b3b4b80 [2024-12-06T06:47:49.171Z] ---> 90558f1045ed [2024-12-06T06:47:49.171Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T06:47:49.171Z] ---> Running in 0f0bd327a9d3 [2024-12-06T06:47:49.740Z] Removing intermediate container 0f0bd327a9d3 [2024-12-06T06:47:49.740Z] ---> 79e23f53ed9b [2024-12-06T06:47:49.740Z] 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 [2024-12-06T06:47:49.740Z] ---> Running in a5196d887dbf [2024-12-06T06:47:50.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:47:50.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:47:50.521Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:47:51.090Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:47:51.090Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T06:47:51.090Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T06:47:51.659Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T06:47:51.919Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T06:47:52.178Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T06:47:52.178Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T06:47:52.178Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T06:47:52.178Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T06:47:52.178Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T06:47:52.178Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T06:47:52.178Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T06:47:52.178Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T06:47:52.178Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T06:47:52.178Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T06:47:52.178Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T06:47:52.178Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T06:47:52.178Z] OK: 336 MiB in 97 packages [2024-12-06T06:47:52.746Z] Removing intermediate container a5196d887dbf [2024-12-06T06:47:52.746Z] ---> c5d917084680 [2024-12-06T06:47:52.746Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T06:47:52.746Z] ---> Running in c7fbca798086 [2024-12-06T06:47:53.314Z] Removing intermediate container c7fbca798086 [2024-12-06T06:47:53.314Z] ---> e3455519edc4 [2024-12-06T06:47:53.314Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T06:47:53.593Z] ---> 334ee33eac63 [2024-12-06T06:47:53.593Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T06:47:53.852Z] ---> 2911ad25f548 [2024-12-06T06:47:53.852Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T06:47:53.852Z] ---> b0f2c5bbab0b [2024-12-06T06:47:53.852Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T06:47:54.111Z] ---> b1ff0c599fae [2024-12-06T06:47:54.111Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T06:47:54.111Z] ---> fb78ac993b28 [2024-12-06T06:47:54.111Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T06:47:54.370Z] ---> 7b4762f46c1e [2024-12-06T06:47:54.370Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T06:47:54.370Z] ---> Running in 1ae95e2f1e94 [2024-12-06T06:47:54.630Z] + CPPCHECK=false [2024-12-06T06:47:54.630Z] + DOCGEN=false [2024-12-06T06:47:54.630Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T06:47:54.630Z] + '[' 0 -gt 0 ] [2024-12-06T06:47:54.630Z] + readlink -f ./scripts/build.sh [2024-12-06T06:47:54.630Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T06:47:54.630Z] + dirname /tmp/sdk/scripts [2024-12-06T06:47:54.630Z] + ROOT=/tmp/sdk [2024-12-06T06:47:54.630Z] + cd /tmp/sdk [2024-12-06T06:47:54.630Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T06:47:54.630Z] + cd /tmp/sdk/build/release [2024-12-06T06:47:54.630Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T06:47:54.630Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T06:47:54.630Z] -- Detecting C compiler ABI info [2024-12-06T06:47:54.889Z] -- Detecting C compiler ABI info - done [2024-12-06T06:47:54.889Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T06:47:54.889Z] -- Detecting C compile features [2024-12-06T06:47:54.889Z] -- Detecting C compile features - done [2024-12-06T06:47:54.889Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T06:47:54.889Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T06:47:54.889Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T06:47:54.889Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T06:47:54.889Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T06:47:54.889Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T06:47:54.889Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T06:47:54.889Z] -- /opt/iotech/iot/1.5/include [2024-12-06T06:47:54.889Z] -- C SDK 0.0.0 for Linux [2024-12-06T06:47:54.889Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T06:47:54.889Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T06:47:55.153Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T06:47:55.153Z] -- Configuring done (0.4s) [2024-12-06T06:47:55.153Z] -- Generating done (0.0s) [2024-12-06T06:47:55.153Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T06:47:55.153Z] + make all package [2024-12-06T06:47:55.153Z] + tee release.log [2024-12-06T06:47:55.153Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T06:47:55.153Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:47:55.153Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:47:55.153Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T06:47:55.153Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T06:47:55.153Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T06:47:55.153Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:47:55.153Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:47:55.153Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:47:55.153Z] | | [2024-12-06T06:47:55.153Z] | size_t {aka long unsigned int} [2024-12-06T06:47:55.153Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:47:55.153Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:47:55.153Z] | ^~~~~~~~~~~ [2024-12-06T06:47:55.153Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T06:47:55.153Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:47:55.153Z] | ~^ [2024-12-06T06:47:55.153Z] | | [2024-12-06T06:47:55.153Z] | int [2024-12-06T06:47:55.153Z] | %ld [2024-12-06T06:47:55.153Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T06:47:55.413Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T06:47:55.413Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T06:47:55.696Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T06:47:55.957Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T06:47:55.957Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T06:47:55.957Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T06:47:56.529Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T06:47:56.529Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T06:47:56.529Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T06:47:56.788Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T06:47:56.788Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T06:47:57.047Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T06:47:57.047Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T06:47:57.306Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T06:47:57.306Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T06:47:57.306Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T06:47:57.306Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T06:47:57.306Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T06:47:57.306Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T06:47:57.306Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T06:47:57.306Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T06:47:57.306Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T06:47:57.306Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T06:47:57.306Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:47:57.306Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:47:57.306Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:47:57.306Z] | ^~~~~~~~~~~ [2024-12-06T06:47:57.306Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T06:47:57.306Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T06:47:57.306Z] | ~^ [2024-12-06T06:47:57.306Z] | | [2024-12-06T06:47:57.306Z] | char * [2024-12-06T06:47:57.566Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T06:47:57.825Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T06:47:57.825Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T06:47:59.207Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T06:47:59.207Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T06:47:59.207Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T06:47:59.207Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T06:47:59.207Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T06:47:59.466Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T06:47:59.725Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T06:47:59.984Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T06:47:59.984Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T06:47:59.984Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:48:00.243Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:48:00.243Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T06:48:00.243Z] | ^ [2024-12-06T06:48:00.243Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:48:00.243Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:48:00.243Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:48:00.243Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:00.243Z] | | [2024-12-06T06:48:00.243Z] | uint64_t {aka long unsigned int} [2024-12-06T06:48:00.243Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T06:48:00.243Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~ [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T06:48:00.243Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:48:00.243Z] | ~^ [2024-12-06T06:48:00.243Z] | | [2024-12-06T06:48:00.243Z] | int [2024-12-06T06:48:00.243Z] | %ld [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:48:00.243Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:00.243Z] | | [2024-12-06T06:48:00.243Z] | size_t {aka long unsigned int} [2024-12-06T06:48:00.243Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:48:00.243Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~ [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T06:48:00.243Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:00.243Z] | ~^ [2024-12-06T06:48:00.243Z] | | [2024-12-06T06:48:00.243Z] | int [2024-12-06T06:48:00.243Z] | %ld [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T06:48:00.243Z] 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:00.243Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-06T06:48:00.243Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-06T06:48:00.243Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:00.502Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T06:48:00.502Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T06:48:00.761Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T06:48:00.761Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T06:48:00.761Z] [ 68%] Built target csdk [2024-12-06T06:48:00.761Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T06:48:01.019Z] [ 72%] Linking C executable template [2024-12-06T06:48:01.019Z] [ 72%] Built target template [2024-12-06T06:48:01.019Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T06:48:01.019Z] [ 76%] Linking C executable device-counter [2024-12-06T06:48:01.278Z] [ 76%] Built target device-counter [2024-12-06T06:48:01.278Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T06:48:01.278Z] [ 80%] Linking C executable device-random [2024-12-06T06:48:01.278Z] [ 80%] Built target device-random [2024-12-06T06:48:01.278Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T06:48:01.539Z] [ 84%] Linking C executable device-gyro [2024-12-06T06:48:01.539Z] [ 84%] Built target device-gyro [2024-12-06T06:48:01.539Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T06:48:01.539Z] [ 88%] Linking C executable device-bitfields [2024-12-06T06:48:01.798Z] [ 88%] Built target device-bitfields [2024-12-06T06:48:01.798Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T06:48:01.798Z] [ 92%] Linking C executable template-discovery [2024-12-06T06:48:02.062Z] [ 92%] Built target template-discovery [2024-12-06T06:48:02.062Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T06:48:02.062Z] [ 96%] Linking C executable device-file [2024-12-06T06:48:02.062Z] [ 96%] Built target device-file [2024-12-06T06:48:02.062Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T06:48:02.323Z] [100%] Linking C executable device-terminal [2024-12-06T06:48:02.323Z] [100%] Built target device-terminal [2024-12-06T06:48:02.323Z] Run CPack packaging tool... [2024-12-06T06:48:02.323Z] CPack: Create package using TGZ [2024-12-06T06:48:02.323Z] CPack: Install projects [2024-12-06T06:48:02.323Z] CPack: - Run preinstall target for: Csdk [2024-12-06T06:48:02.583Z] CPack: - Install project: Csdk [] [2024-12-06T06:48:02.583Z] CPack: Create package [2024-12-06T06:48:02.583Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-12-06T06:48:02.583Z] + '[' false '=' true ] [2024-12-06T06:48:02.583Z] + '[' false '=' true ] [2024-12-06T06:48:02.583Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T06:48:02.584Z] + cd /tmp/sdk/build/debug [2024-12-06T06:48:02.584Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T06:48:02.584Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T06:48:02.843Z] -- Detecting C compiler ABI info [2024-12-06T06:48:02.843Z] -- Detecting C compiler ABI info - done [2024-12-06T06:48:02.843Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T06:48:02.843Z] -- Detecting C compile features [2024-12-06T06:48:02.843Z] -- Detecting C compile features - done [2024-12-06T06:48:02.843Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T06:48:02.843Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T06:48:02.843Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T06:48:02.843Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T06:48:02.843Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T06:48:02.843Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T06:48:02.843Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T06:48:02.843Z] -- /opt/iotech/iot/1.5/include [2024-12-06T06:48:02.843Z] -- C SDK 0.0.0 for Linux [2024-12-06T06:48:02.843Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T06:48:03.101Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T06:48:03.101Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T06:48:03.101Z] -- Configuring done (0.4s) [2024-12-06T06:48:03.101Z] -- Generating done (0.0s) [2024-12-06T06:48:03.101Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T06:48:03.101Z] + make [2024-12-06T06:48:03.101Z] + tee debug.log [2024-12-06T06:48:03.101Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T06:48:03.101Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:48:03.101Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:48:03.101Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T06:48:03.101Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T06:48:03.101Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T06:48:03.101Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:48:03.101Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:03.101Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:03.101Z] | | [2024-12-06T06:48:03.101Z] | size_t {aka long unsigned int} [2024-12-06T06:48:03.101Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:48:03.101Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:48:03.101Z] | ^~~~~~~~~~~ [2024-12-06T06:48:03.101Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T06:48:03.101Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:03.101Z] | ~^ [2024-12-06T06:48:03.101Z] | | [2024-12-06T06:48:03.101Z] | int [2024-12-06T06:48:03.101Z] | %ld [2024-12-06T06:48:03.101Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T06:48:03.361Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T06:48:03.361Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T06:48:03.361Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T06:48:03.620Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T06:48:03.620Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T06:48:03.620Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T06:48:03.880Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T06:48:03.880Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T06:48:03.880Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T06:48:03.880Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T06:48:04.139Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T06:48:04.139Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T06:48:04.139Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T06:48:04.398Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T06:48:04.398Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T06:48:04.398Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T06:48:04.398Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T06:48:04.398Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T06:48:04.398Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T06:48:04.398Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T06:48:04.398Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T06:48:04.398Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T06:48:04.398Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T06:48:04.398Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:04.398Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:48:04.398Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:48:04.398Z] | ^~~~~~~~~~~ [2024-12-06T06:48:04.398Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T06:48:04.398Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T06:48:04.398Z] | ~^ [2024-12-06T06:48:04.398Z] | | [2024-12-06T06:48:04.398Z] | char * [2024-12-06T06:48:04.398Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T06:48:04.398Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T06:48:04.658Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T06:48:04.917Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T06:48:04.917Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T06:48:04.917Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T06:48:04.917Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T06:48:05.178Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T06:48:05.178Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T06:48:05.439Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T06:48:05.439Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T06:48:05.439Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T06:48:05.700Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:48:05.700Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T06:48:05.700Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:48:05.700Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T06:48:05.700Z] | ^ [2024-12-06T06:48:05.700Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:48:05.700Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:48:05.700Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:48:05.700Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:48:05.700Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:05.700Z] | | [2024-12-06T06:48:05.700Z] | uint64_t {aka long unsigned int} [2024-12-06T06:48:05.700Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T06:48:05.700Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T06:48:05.700Z] | ^~~~~~~~~~~ [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T06:48:05.700Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:48:05.700Z] | ~^ [2024-12-06T06:48:05.700Z] | | [2024-12-06T06:48:05.700Z] | int [2024-12-06T06:48:05.700Z] | %ld [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:48:05.700Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:05.700Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:48:05.700Z] | | [2024-12-06T06:48:05.700Z] | size_t {aka long unsigned int} [2024-12-06T06:48:05.700Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:48:05.700Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:48:05.700Z] | ^~~~~~~~~~~ [2024-12-06T06:48:05.700Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T06:48:05.700Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:48:05.700Z] | ~^ [2024-12-06T06:48:05.700Z] | | [2024-12-06T06:48:05.700Z] | int [2024-12-06T06:48:05.700Z] | %ld [2024-12-06T06:48:05.700Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T06:48:05.700Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T06:48:05.961Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T06:48:05.961Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T06:48:05.961Z] [ 68%] Built target csdk [2024-12-06T06:48:05.961Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T06:48:05.961Z] [ 72%] Linking C executable template [2024-12-06T06:48:06.222Z] [ 72%] Built target template [2024-12-06T06:48:06.222Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T06:48:06.222Z] [ 76%] Linking C executable device-counter [2024-12-06T06:48:06.222Z] [ 76%] Built target device-counter [2024-12-06T06:48:06.222Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T06:48:06.222Z] [ 80%] Linking C executable device-random [2024-12-06T06:48:06.482Z] [ 80%] Built target device-random [2024-12-06T06:48:06.482Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T06:48:06.482Z] [ 84%] Linking C executable device-gyro [2024-12-06T06:48:06.482Z] [ 84%] Built target device-gyro [2024-12-06T06:48:06.482Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T06:48:06.743Z] [ 88%] Linking C executable device-bitfields [2024-12-06T06:48:06.743Z] [ 88%] Built target device-bitfields [2024-12-06T06:48:06.743Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T06:48:06.743Z] [ 92%] Linking C executable template-discovery [2024-12-06T06:48:06.743Z] [ 92%] Built target template-discovery [2024-12-06T06:48:06.743Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T06:48:07.003Z] [ 96%] Linking C executable device-file [2024-12-06T06:48:07.003Z] [ 96%] Built target device-file [2024-12-06T06:48:07.003Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T06:48:07.003Z] [100%] Linking C executable device-terminal [2024-12-06T06:48:07.262Z] [100%] Built target device-terminal [2024-12-06T06:48:07.262Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T06:48:07.262Z] [ 68%] Built target csdk [2024-12-06T06:48:07.262Z] [ 72%] Built target template [2024-12-06T06:48:07.262Z] [ 76%] Built target device-counter [2024-12-06T06:48:07.262Z] [ 80%] Built target device-random [2024-12-06T06:48:07.262Z] [ 84%] Built target device-gyro [2024-12-06T06:48:07.262Z] [ 88%] Built target device-bitfields [2024-12-06T06:48:07.262Z] [ 92%] Built target template-discovery [2024-12-06T06:48:07.262Z] [ 96%] Built target device-file [2024-12-06T06:48:07.569Z] [100%] Built target device-terminal [2024-12-06T06:48:07.569Z] Install the project... [2024-12-06T06:48:07.569Z] -- Install configuration: "Release" [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-06T06:48:07.569Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/devsdk [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-06T06:48:07.569Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-06T06:48:07.569Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T06:48:08.136Z] Removing intermediate container 1ae95e2f1e94 [2024-12-06T06:48:08.136Z] ---> 212317efa33d [2024-12-06T06:48:08.136Z] Step 14/22 : FROM ${BASE} [2024-12-06T06:48:08.136Z] ---> 6605166a5db4 [2024-12-06T06:48:08.136Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-06T06:48:08.136Z] ---> Running in 8db6021a68ca [2024-12-06T06:48:08.136Z] Removing intermediate container 8db6021a68ca [2024-12-06T06:48:08.136Z] ---> 3784268bdb05 [2024-12-06T06:48:08.136Z] 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-12-06T06:48:08.136Z] ---> Running in 0d3229b7b3b7 [2024-12-06T06:48:08.395Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T06:48:08.964Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T06:48:08.964Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T06:48:08.964Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T06:48:09.229Z] Removing intermediate container 0d3229b7b3b7 [2024-12-06T06:48:09.229Z] ---> 0f077107cab4 [2024-12-06T06:48:09.229Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T06:48:09.229Z] ---> Running in 6391ddb7174f [2024-12-06T06:48:09.799Z] Removing intermediate container 6391ddb7174f [2024-12-06T06:48:09.799Z] ---> fb519568fa94 [2024-12-06T06:48:09.799Z] 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 dumb-init [2024-12-06T06:48:09.799Z] ---> Running in 7d14d5a2090f [2024-12-06T06:48:10.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:10.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:10.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:11.146Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:48:11.146Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T06:48:11.146Z] (2/8) Installing curl (8.9.1-r1) [2024-12-06T06:48:11.146Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T06:48:11.146Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-06T06:48:11.146Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-06T06:48:11.146Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T06:48:11.713Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T06:48:11.973Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-06T06:48:11.973Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T06:48:11.973Z] OK: 331 MiB in 88 packages [2024-12-06T06:48:12.541Z] Removing intermediate container 7d14d5a2090f [2024-12-06T06:48:12.541Z] ---> 07030f14ad6a [2024-12-06T06:48:12.541Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-06T06:48:12.541Z] ---> Running in ee6f31d5e00e [2024-12-06T06:48:12.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:12.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:13.059Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:13.628Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:48:13.628Z] Upgrading critical system libraries and apk-tools: [2024-12-06T06:48:13.628Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-06T06:48:13.628Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T06:48:13.628Z] Continuing the upgrade transaction with new apk-tools: [2024-12-06T06:48:13.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:13.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:13.628Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:14.196Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:48:14.196Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T06:48:14.457Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-06T06:48:14.457Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T06:48:14.457Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-06T06:48:14.457Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T06:48:14.457Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T06:48:14.457Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T06:48:14.457Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-06T06:48:14.457Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-06T06:48:14.457Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-06T06:48:14.457Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T06:48:14.457Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-06T06:48:14.717Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T06:48:14.717Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T06:48:14.717Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T06:48:14.717Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T06:48:14.717Z] Executing ca-certificates-20240226-r0.trigger [2024-12-06T06:48:14.717Z] OK: 331 MiB in 88 packages [2024-12-06T06:48:15.654Z] Removing intermediate container ee6f31d5e00e [2024-12-06T06:48:15.654Z] ---> 7e4e9da48838 [2024-12-06T06:48:15.654Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-06T06:48:15.654Z] ---> fadca809e9ff [2024-12-06T06:48:15.654Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-06T06:48:15.654Z] ---> 103af53e13f1 [2024-12-06T06:48:15.654Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-06T06:48:15.913Z] ---> 30f676a1a0c6 [2024-12-06T06:48:15.913Z] Successfully built 30f676a1a0c6 [2024-12-06T06:48:15.913Z] 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-12-06T06:48:16.323Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-06T06:48:16.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:48:16.413Z] prd-ubuntu20.04-docker-8c-8g-34606 does not seem to be running inside a container [2024-12-06T06:48:16.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-12-06T06:48:16.803Z] $ docker top 1e5f92d5e057a2f2ab366391ecf52acab97047ceda08384ea7454217eaffb2b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T06:48:17.157Z] + make test [2024-12-06T06:48:17.158Z] echo "make test" [2024-12-06T06:48:17.158Z] make test [Pipeline] } [2024-12-06T06:48:17.164Z] $ docker stop --time=1 1e5f92d5e057a2f2ab366391ecf52acab97047ceda08384ea7454217eaffb2b9 [2024-12-06T06:48:18.443Z] $ docker rm -f --volumes 1e5f92d5e057a2f2ab366391ecf52acab97047ceda08384ea7454217eaffb2b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-06T06:48:19.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-06T06:48:19.395Z] + ls -al . [2024-12-06T06:48:19.395Z] total 212 [2024-12-06T06:48:19.395Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 06:47 . [2024-12-06T06:48:19.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:47 .. [2024-12-06T06:48:19.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 06:47 .git [2024-12-06T06:48:19.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 06:47 .github [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 06:47 .gitignore [2024-12-06T06:48:19.395Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:47 .semver [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 06:47 Attribution.txt [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 06:47 CHANGELOG.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 06:47 Doxyfile [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 06:47 GOVERNANCE.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 06:47 Jenkinsfile [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 06:47 LICENSE [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 06:47 Makefile [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 06:47 OWNERS.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 06:47 README.IOT.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 06:47 README.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 06:47 README.v3.md [2024-12-06T06:48:19.395Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 06:47 VERSION [2024-12-06T06:48:19.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 06:47 docs [2024-12-06T06:48:19.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:47 include [2024-12-06T06:48:19.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 06:47 scripts [2024-12-06T06:48:19.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 06:47 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:48:19.714Z] + 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=3516101ad1b00c20e67e2c97c5ffd4b0ec17126e --label arch=amd64 --label version=0.0.0 . [2024-12-06T06:48:19.714Z] Sending build context to Docker daemon 5.212MB [2024-12-06T06:48:19.714Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-06T06:48:19.714Z] Step 2/18 : FROM ${BASE} [2024-12-06T06:48:19.714Z] ---> 30f676a1a0c6 [2024-12-06T06:48:19.714Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-06T06:48:19.714Z] ---> Running in 504c23c2a662 [2024-12-06T06:48:19.974Z] Removing intermediate container 504c23c2a662 [2024-12-06T06:48:19.974Z] ---> c5e2cf10c81a [2024-12-06T06:48:19.974Z] 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-12-06T06:48:19.974Z] ---> Running in 5cc29a74cfd5 [2024-12-06T06:48:20.233Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-06T06:48:20.493Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T06:48:20.493Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T06:48:20.493Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T06:48:20.770Z] Removing intermediate container 5cc29a74cfd5 [2024-12-06T06:48:20.770Z] ---> d5eadf5c2405 [2024-12-06T06:48:20.770Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T06:48:21.029Z] ---> Running in 658129ac975e [2024-12-06T06:48:21.597Z] Removing intermediate container 658129ac975e [2024-12-06T06:48:21.597Z] ---> c5c8c0915b22 [2024-12-06T06:48:21.597Z] 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 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-12-06T06:48:21.597Z] ---> Running in dc6aadf998dc [2024-12-06T06:48:21.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:21.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:22.122Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:22.693Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:48:22.693Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T06:48:22.954Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-06T06:48:22.954Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T06:48:22.954Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T06:48:22.954Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T06:48:22.954Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T06:48:22.954Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-06T06:48:22.954Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-06T06:48:22.954Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-06T06:48:22.954Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-06T06:48:22.954Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-06T06:48:22.954Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T06:48:22.954Z] OK: 336 MiB in 99 packages [2024-12-06T06:48:23.523Z] Removing intermediate container dc6aadf998dc [2024-12-06T06:48:23.523Z] ---> 51c429ad2d07 [2024-12-06T06:48:23.523Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-06T06:48:23.523Z] ---> Running in 26d06baa5691 [2024-12-06T06:48:23.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:24.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:24.043Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:48:24.615Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:48:24.615Z] OK: 336 MiB in 99 packages [2024-12-06T06:48:24.876Z] Removing intermediate container 26d06baa5691 [2024-12-06T06:48:24.876Z] ---> 37104519d422 [2024-12-06T06:48:24.876Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-06T06:48:25.138Z] ---> c0ccd80a4ea5 [2024-12-06T06:48:25.138Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-06T06:48:25.397Z] ---> 8983a60859ad [2024-12-06T06:48:25.397Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-06T06:48:25.397Z] ---> 1de81e599e09 [2024-12-06T06:48:25.397Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-06T06:48:25.657Z] ---> c08fcba9478b [2024-12-06T06:48:25.657Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-06T06:48:25.657Z] ---> 56a89b608d93 [2024-12-06T06:48:25.657Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-06T06:48:25.915Z] ---> 3005aa832eec [2024-12-06T06:48:25.915Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-06T06:48:25.915Z] ---> Running in 5dbcbe17a1d6 [2024-12-06T06:48:25.915Z] Removing intermediate container 5dbcbe17a1d6 [2024-12-06T06:48:25.915Z] ---> 3808ec60f5a4 [2024-12-06T06:48:25.915Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-06T06:48:25.915Z] ---> Running in 157a9d02072e [2024-12-06T06:48:26.173Z] Removing intermediate container 157a9d02072e [2024-12-06T06:48:26.173Z] ---> 8c9f82276ac0 [2024-12-06T06:48:26.173Z] Step 16/18 : LABEL arch=amd64 [2024-12-06T06:48:26.173Z] ---> Running in c28b6cfb2ff2 [2024-12-06T06:48:26.173Z] Removing intermediate container c28b6cfb2ff2 [2024-12-06T06:48:26.173Z] ---> 65eca3bf568a [2024-12-06T06:48:26.173Z] Step 17/18 : LABEL git_sha=3516101ad1b00c20e67e2c97c5ffd4b0ec17126e [2024-12-06T06:48:26.173Z] ---> Running in 088bce7a67df [2024-12-06T06:48:26.432Z] Removing intermediate container 088bce7a67df [2024-12-06T06:48:26.432Z] ---> 2f92c6bd27de [2024-12-06T06:48:26.432Z] Step 18/18 : LABEL version=0.0.0 [2024-12-06T06:48:26.432Z] ---> Running in fc66261275ff [2024-12-06T06:48:26.432Z] Removing intermediate container fc66261275ff [2024-12-06T06:48:26.432Z] ---> 8bce2fb00b48 [2024-12-06T06:48:26.432Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-12-06T06:48:26.432Z] Successfully built 8bce2fb00b48 [2024-12-06T06:48:26.432Z] 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-12-06T06:48:26.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:48:26.930Z] [2024-12-06T06:48:26.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:48:27.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:48:27.233Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T06:48:27.233Z] 5eb5b503b376: Pulling fs layer [2024-12-06T06:48:27.233Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T06:48:27.233Z] ec43610c2a17: Pulling fs layer [2024-12-06T06:48:27.233Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T06:48:27.233Z] 33b1e0a273af: Pulling fs layer [2024-12-06T06:48:27.233Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T06:48:27.233Z] 2f39f015ded8: Pulling fs layer [2024-12-06T06:48:27.233Z] 3a2ae6a8a46f: Waiting [2024-12-06T06:48:27.233Z] 33b1e0a273af: Waiting [2024-12-06T06:48:27.233Z] 5d3b04190fa2: Waiting [2024-12-06T06:48:27.233Z] 2f39f015ded8: Waiting [2024-12-06T06:48:27.233Z] 5c69ac0246d0: Verifying Checksum [2024-12-06T06:48:27.233Z] 5c69ac0246d0: Download complete [2024-12-06T06:48:27.233Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-06T06:48:27.233Z] 3a2ae6a8a46f: Download complete [2024-12-06T06:48:27.233Z] 33b1e0a273af: Verifying Checksum [2024-12-06T06:48:27.233Z] 33b1e0a273af: Download complete [2024-12-06T06:48:27.233Z] ec43610c2a17: Download complete [2024-12-06T06:48:27.492Z] 5eb5b503b376: Download complete [2024-12-06T06:48:28.059Z] 2f39f015ded8: Download complete [2024-12-06T06:48:28.625Z] 5eb5b503b376: Pull complete [2024-12-06T06:48:28.884Z] 5c69ac0246d0: Pull complete [2024-12-06T06:48:29.142Z] ec43610c2a17: Pull complete [2024-12-06T06:48:29.402Z] 3a2ae6a8a46f: Pull complete [2024-12-06T06:48:29.402Z] 33b1e0a273af: Pull complete [2024-12-06T06:48:29.661Z] 5d3b04190fa2: Pull complete [2024-12-06T06:48:33.854Z] 2f39f015ded8: Pull complete [2024-12-06T06:48:33.854Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T06:48:33.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:48:33.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:48:33.957Z] prd-ubuntu20.04-docker-8c-8g-34606 does not seem to be running inside a container [2024-12-06T06:48:33.984Z] $ 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_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T06:48:36.297Z] $ docker top 701a2e60e42252aa75906456ec06775ae604b69d7829a9adedea0e556a3af83b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:36.721Z] ---> job-cost.sh [2024-12-06T06:48:36.721Z] lf-activate-venv: SKIPPING [2024-12-06T06:48:36.721Z] INFO: No Stack... [2024-12-06T06:48:36.988Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T06:48:37.247Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T06:48:37.538Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/cost.csv [2024-12-06T06:48:37.539Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T06:48:37.549Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-3-stack-cost] [2024-12-06T06:48:37.562Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-530-3-stack-cost] did not exist. Created. [2024-12-06T06:48:37.568Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T06:48:37.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T06:48:37.931Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T06:48:37.940Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T06:48:37.962Z] $ docker stop --time=1 701a2e60e42252aa75906456ec06775ae604b69d7829a9adedea0e556a3af83b [2024-12-06T06:48:39.130Z] $ docker rm -f --volumes 701a2e60e42252aa75906456ec06775ae604b69d7829a9adedea0e556a3af83b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-12-06T06:48:39.853Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives ] [2024-12-06T06:48:39.853Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:48:39.853Z] total 16 [2024-12-06T06:48:39.853Z] drwxr-xr-x 3 root root 4096 Dec 6 06:48 . [2024-12-06T06:48:39.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:48 .. [2024-12-06T06:48:39.853Z] drwxr-xr-x 2 root root 4096 Dec 6 06:48 cost [2024-12-06T06:48:39.853Z] -rw-r--r-- 1 root root 84 Dec 6 06:48 cost.csv [2024-12-06T06:48:39.853Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:48:39.853Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:48:39.853Z] total 16 [2024-12-06T06:48:39.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:48 . [2024-12-06T06:48:39.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:48 .. [2024-12-06T06:48:39.853Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 06:48 cost [2024-12-06T06:48:39.853Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 6 06:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:40.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:41.016Z] ---> package-listing.sh [2024-12-06T06:48:41.016Z] ++ facter osfamily [2024-12-06T06:48:41.016Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T06:48:41.275Z] + OS_FAMILY=debian [2024-12-06T06:48:41.275Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-530 [2024-12-06T06:48:41.275Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T06:48:41.275Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T06:48:41.275Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T06:48:41.275Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T06:48:41.275Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' [2024-12-06T06:48:41.275Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T06:48:41.275Z] + case "${OS_FAMILY}" in [2024-12-06T06:48:41.275Z] + dpkg -l [2024-12-06T06:48:41.275Z] + grep '^ii' [2024-12-06T06:48:41.275Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T06:48:41.275Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T06:48:41.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T06:48:41.276Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' [2024-12-06T06:48:41.276Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [2024-12-06T06:48:41.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [Pipeline] echo [2024-12-06T06:48:41.288Z] 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_PR-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-06T06:48:41.567Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:48:42.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:48:42.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:48:42.206Z] prd-ubuntu20.04-docker-8c-8g-34606 does not seem to be running inside a container [2024-12-06T06:48:42.232Z] $ 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_PR-530/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_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T06:48:42.416Z] $ docker top 0719666ac6dbc636307f0ea3ab8e715e5e3671a6e714e9097fdb46ee9a684525 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T06:48:42.795Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T06:48:43.088Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T06:48:43.379Z] + ls /var/log/sa-host [2024-12-06T06:48:43.379Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T06:48:43.546Z] provisioning config files... [2024-12-06T06:48:43.555Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config4606602921245276915tmp [Pipeline] { [Pipeline] echo [2024-12-06T06:48:43.577Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:43.863Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T06:48:43.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:44.219Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T06:48:44.236Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:44.532Z] ---> sudo-logs.sh [2024-12-06T06:48:44.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T06:48:44.570Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:44.854Z] ---> job-cost.sh [2024-12-06T06:48:44.854Z] lf-activate-venv: SKIPPING [2024-12-06T06:48:44.854Z] DEBUG: total: 0.2199999988079071 [2024-12-06T06:48:44.854Z] INFO: Retrieving Stack Cost... [2024-12-06T06:48:45.113Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T06:48:45.372Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T06:48:45.384Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:48:45.668Z] ---> logs-deploy.sh [2024-12-06T06:48:45.668Z] lf-activate-venv: SKIPPING [2024-12-06T06:48:45.668Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-530/3 [2024-12-06T06:48:45.668Z] INFO: archiving workspace using pattern(s): [2024-12-06T06:48:46.606Z] Archives upload complete. [2024-12-06T06:48:46.866Z] INFO: archiving logs to Nexus