Pull request #505 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 ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than 0c22d75adc2a30cf428884ed451b94b7eae7f58f Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh9536346263684585659.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2038545154632485147.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5885546238167614112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11226793082315234831.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1615274159834896033.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26729 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [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-505 # 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 > 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 0c22d75adc2a30cf428884ed451b94b7eae7f58f Merge succeeded, producing 0c22d75adc2a30cf428884ed451b94b7eae7f58f Checking out Revision 0c22d75adc2a30cf428884ed451b94b7eae7f58f (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f 0c22d75adc2a30cf428884ed451b94b7eae7f58f # 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c22d75adc2a30cf428884ed451b94b7eae7f58f # timeout=10 Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-04T08:39:10.952Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-04T08:39:11.053Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-04T08:39:11.089Z] ========================================================= [2024-01-04T08:39:11.089Z] EdgeX Global Pipelines Version Info [2024-01-04T08:39:11.089Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fd46e9e60c32ba487b2e2c66f64027456f520892 # timeout=10 [2024-01-04T08:39:11.857Z] ------------------- [2024-01-04T08:39:11.857Z] stable info: [2024-01-04T08:39:11.858Z] ------------------- [2024-01-04T08:39:11.858Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-04T08:39:11.858Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-04T08:39:11.858Z] Message: update stable to v1.0.258 [2024-01-04T08:39:12.430Z] ------------------- [2024-01-04T08:39:12.430Z] experimental info: [2024-01-04T08:39:12.430Z] ------------------- [2024-01-04T08:39:12.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-04T08:39:12.430Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-04T08:39:12.430Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-04T08:39:12.518Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-04T08:39:12.546Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-04T08:39:12.572Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-04T08:39:12.595Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-04T08:39:12.624Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-04T08:39:12.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-04T08:39:12.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-04T08:39:12.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-04T08:39:12.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-04T08:39:12.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-04T08:39:12.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-04T08:39:12.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-04T08:39:12.852Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-04T08:39:12.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-04T08:39:12.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-04T08:39:12.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-04T08:39:12.989Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-04T08:39:13.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-01-04T08:39:13.056Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-01-04T08:39:13.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-01-04T08:39:13.119Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c22d75adc2a30cf428884ed451b94b7eae7f58f [Pipeline] echo [2024-01-04T08:39:13.150Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c22d75 [Pipeline] echo [2024-01-04T08:39:13.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-04T08:39:13.263Z] provisioning config files... [2024-01-04T08:39:13.279Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config8940099894058087753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:39:13.630Z] ---> ****-login.sh [2024-01-04T08:39:13.630Z] nexus3.edgexfoundry.org:10001 [2024-01-04T08:39:13.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:13.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:13.892Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:13.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:13.893Z] [2024-01-04T08:39:13.893Z] Login Succeeded [2024-01-04T08:39:13.893Z] nexus3.edgexfoundry.org:10002 [2024-01-04T08:39:14.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:14.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:14.153Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:14.153Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:14.153Z] [2024-01-04T08:39:14.153Z] Login Succeeded [2024-01-04T08:39:14.153Z] nexus3.edgexfoundry.org:10003 [2024-01-04T08:39:14.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:14.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:14.154Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:14.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:14.154Z] [2024-01-04T08:39:14.154Z] Login Succeeded [2024-01-04T08:39:14.154Z] nexus3.edgexfoundry.org:10004 [2024-01-04T08:39:14.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:14.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:14.414Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:14.414Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:14.414Z] [2024-01-04T08:39:14.414Z] Login Succeeded [2024-01-04T08:39:14.414Z] ****.io [2024-01-04T08:39:14.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:14.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:14.675Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:14.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:14.675Z] [2024-01-04T08:39:14.675Z] Login Succeeded [2024-01-04T08:39:14.675Z] ---> ****-login.sh ends [Pipeline] } [2024-01-04T08:39:14.683Z] 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-01-04T08:39:15.168Z] + git rev-list -1 --merges 0c22d75adc2a30cf428884ed451b94b7eae7f58f~1..0c22d75adc2a30cf428884ed451b94b7eae7f58f [Pipeline] echo [2024-01-04T08:39:15.200Z] -----------> git rev-list -1 --merges 0c22d75adc2a30cf428884ed451b94b7eae7f58f~1..0c22d75adc2a30cf428884ed451b94b7eae7f58f 0c22d75adc2a30cf428884ed451b94b7eae7f58f [false] [Pipeline] sh [2024-01-04T08:39:15.506Z] + git log --format=format:%s -1 0c22d75adc2a30cf428884ed451b94b7eae7f58f [Pipeline] echo [2024-01-04T08:39:15.524Z] ========================================================= [2024-01-04T08:39:15.524Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-04T08:39:15.524Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-04T08:39:16.088Z] + git rev-list -1 --merges 0c22d75adc2a30cf428884ed451b94b7eae7f58f~1..0c22d75adc2a30cf428884ed451b94b7eae7f58f [Pipeline] echo [2024-01-04T08:39:16.103Z] -----------> git rev-list -1 --merges 0c22d75adc2a30cf428884ed451b94b7eae7f58f~1..0c22d75adc2a30cf428884ed451b94b7eae7f58f 0c22d75adc2a30cf428884ed451b94b7eae7f58f [false] [Pipeline] sh [2024-01-04T08:39:16.409Z] + git log --format=format:%s -1 0c22d75adc2a30cf428884ed451b94b7eae7f58f [Pipeline] echo [2024-01-04T08:39:16.425Z] ========================================================= [2024-01-04T08:39:16.425Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-04T08:39:16.425Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-04T08:39:16.962Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-04T08:39:16.962Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-04T08:39:16.962Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-04T08:39:16.962Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-04T08:39:16.962Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-04T08:39:16.962Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-04T08:39:16.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:39:17.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-04T08:39:17.411Z] [2024-01-04T08:39:17.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:39:17.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-04T08:39:17.730Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-04T08:39:17.730Z] b85a868b505f: Pulling fs layer [2024-01-04T08:39:17.730Z] e2be974225ed: Pulling fs layer [2024-01-04T08:39:17.730Z] 339a4e72a1f5: Pulling fs layer [2024-01-04T08:39:17.730Z] 988bab9f4d93: Pulling fs layer [2024-01-04T08:39:17.730Z] 1469e6f7b9e6: Pulling fs layer [2024-01-04T08:39:17.730Z] eaf3925da568: Pulling fs layer [2024-01-04T08:39:17.730Z] bab4dde63d76: Pulling fs layer [2024-01-04T08:39:17.730Z] bde34c3a00c8: Pulling fs layer [2024-01-04T08:39:17.730Z] b352a97aabf1: Pulling fs layer [2024-01-04T08:39:17.730Z] 4872d77fe225: Pulling fs layer [2024-01-04T08:39:17.730Z] 5851b861e8e6: Pulling fs layer [2024-01-04T08:39:17.730Z] bab4dde63d76: Waiting [2024-01-04T08:39:17.730Z] 988bab9f4d93: Waiting [2024-01-04T08:39:17.730Z] eaf3925da568: Waiting [2024-01-04T08:39:17.730Z] bde34c3a00c8: Waiting [2024-01-04T08:39:17.730Z] 1469e6f7b9e6: Waiting [2024-01-04T08:39:17.730Z] b352a97aabf1: Waiting [2024-01-04T08:39:17.730Z] 5851b861e8e6: Waiting [2024-01-04T08:39:17.730Z] 4872d77fe225: Waiting [2024-01-04T08:39:17.730Z] e2be974225ed: Verifying Checksum [2024-01-04T08:39:17.730Z] e2be974225ed: Download complete [2024-01-04T08:39:17.730Z] 988bab9f4d93: Verifying Checksum [2024-01-04T08:39:17.730Z] 988bab9f4d93: Download complete [2024-01-04T08:39:17.730Z] 1469e6f7b9e6: Verifying Checksum [2024-01-04T08:39:17.730Z] 1469e6f7b9e6: Download complete [2024-01-04T08:39:17.990Z] eaf3925da568: Verifying Checksum [2024-01-04T08:39:17.990Z] eaf3925da568: Download complete [2024-01-04T08:39:17.990Z] 339a4e72a1f5: Verifying Checksum [2024-01-04T08:39:17.990Z] 339a4e72a1f5: Download complete [2024-01-04T08:39:17.990Z] bde34c3a00c8: Verifying Checksum [2024-01-04T08:39:17.990Z] bde34c3a00c8: Download complete [2024-01-04T08:39:17.990Z] b352a97aabf1: Verifying Checksum [2024-01-04T08:39:17.990Z] b352a97aabf1: Download complete [2024-01-04T08:39:17.990Z] 4872d77fe225: Verifying Checksum [2024-01-04T08:39:17.990Z] 4872d77fe225: Download complete [2024-01-04T08:39:17.990Z] 5851b861e8e6: Download complete [2024-01-04T08:39:17.990Z] b85a868b505f: Verifying Checksum [2024-01-04T08:39:17.990Z] b85a868b505f: Download complete [2024-01-04T08:39:18.249Z] bab4dde63d76: Download complete [2024-01-04T08:39:19.196Z] b85a868b505f: Pull complete [2024-01-04T08:39:19.457Z] e2be974225ed: Pull complete [2024-01-04T08:39:20.034Z] 339a4e72a1f5: Pull complete [2024-01-04T08:39:20.034Z] 988bab9f4d93: Pull complete [2024-01-04T08:39:20.314Z] 1469e6f7b9e6: Pull complete [2024-01-04T08:39:20.314Z] eaf3925da568: Pull complete [2024-01-04T08:39:22.224Z] bab4dde63d76: Pull complete [2024-01-04T08:39:22.485Z] bde34c3a00c8: Pull complete [2024-01-04T08:39:22.485Z] b352a97aabf1: Pull complete [2024-01-04T08:39:22.485Z] 4872d77fe225: Pull complete [2024-01-04T08:39:22.745Z] 5851b861e8e6: Pull complete [2024-01-04T08:39:22.745Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-04T08:39:22.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-04T08:39:22.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:39:22.932Z] prd-ubuntu20.04-docker-8c-8g-26729 does not seem to be running inside a container [2024-01-04T08:39:22.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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-01-04T08:39:27.885Z] $ docker top 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 -eo pid,comm [2024-01-04T08:39:27.945Z] 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-01-04T08:39:27.945Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-04T08:39:28.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-04T08:39:28.051Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-04T08:39:28.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-04T08:39:28.174Z] $ docker exec 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 ssh-agent [2024-01-04T08:39:28.291Z] SSH_AUTH_SOCK=/tmp/ssh-F4N2Wswh244x/agent.31 [2024-01-04T08:39:28.291Z] SSH_AGENT_PID=37 [2024-01-04T08:39:28.298Z] Running ssh-add (command line suppressed) [2024-01-04T08:39:28.412Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_10387111954043802924.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_10387111954043802924.key) [2024-01-04T08:39:28.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-04T08:39:28.732Z] + git tag --points-at HEAD [Pipeline] } [2024-01-04T08:39:28.744Z] $ docker exec --env ******** --env ******** 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 ssh-agent -k [2024-01-04T08:39:28.842Z] unset SSH_AUTH_SOCK; [2024-01-04T08:39:28.843Z] unset SSH_AGENT_PID; [2024-01-04T08:39:28.843Z] echo Agent pid 37 killed; [2024-01-04T08:39:28.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-04T08:39:28.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-04T08:39:28.911Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-04T08:39:29.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-04T08:39:29.037Z] $ docker exec 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 ssh-agent [2024-01-04T08:39:29.160Z] SSH_AUTH_SOCK=/tmp/ssh-r9RMENXD0s6J/agent.69 [2024-01-04T08:39:29.160Z] SSH_AGENT_PID=75 [2024-01-04T08:39:29.165Z] Running ssh-add (command line suppressed) [2024-01-04T08:39:29.269Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_6962235681024599079.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_6962235681024599079.key) [2024-01-04T08:39:29.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-04T08:39:29.588Z] + git semver init [2024-01-04T08:39:29.847Z] 2024-01-04 08:39:29,766 [run_init] DEBUG init version:0.0.0 force:False [2024-01-04T08:39:29.847Z] 2024-01-04 08:39:29,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-04T08:39:29.847Z] 2024-01-04 08:39:29,767 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-04T08:39:29.847Z] 2024-01-04 08:39:29,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505, universal_newlines=False, shell=None, istream=None) [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,712 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 with force:False [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,713 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,717 [execute] INFO git cat-file --batch-check [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,724 [execute] INFO git cat-file --batch [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-04T08:39:30.787Z] 2024-01-04 08:39:30,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-04T08:39:30.787Z] 0.0.0 [Pipeline] } [2024-01-04T08:39:30.799Z] $ docker exec --env ******** --env ******** 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 ssh-agent -k [2024-01-04T08:39:30.903Z] unset SSH_AUTH_SOCK; [2024-01-04T08:39:30.903Z] unset SSH_AGENT_PID; [2024-01-04T08:39:30.904Z] echo Agent pid 75 killed; [2024-01-04T08:39:30.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-04T08:39:31.303Z] + git semver [Pipeline] } [2024-01-04T08:39:31.578Z] $ docker stop --time=1 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 [2024-01-04T08:39:32.895Z] $ docker rm -f --volumes 486effbc1367861e31fa12b6f46b1093a50097bb8ad5440ea3ae3484df68c165 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-04T08:39:33.272Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-04T08:39:33.593Z] Stashed 1 file(s) [Pipeline] echo [2024-01-04T08:39:33.597Z] [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-04T08:39:33.909Z] provisioning config files... [2024-01-04T08:39:33.917Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config13541629088290482982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:39:34.234Z] ---> ****-login.sh [2024-01-04T08:39:34.234Z] nexus3.edgexfoundry.org:10001 [2024-01-04T08:39:34.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:34.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:34.235Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:34.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:34.235Z] [2024-01-04T08:39:34.235Z] Login Succeeded [2024-01-04T08:39:34.235Z] nexus3.edgexfoundry.org:10002 [2024-01-04T08:39:34.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:34.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:34.235Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:34.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:34.235Z] [2024-01-04T08:39:34.235Z] Login Succeeded [2024-01-04T08:39:34.235Z] nexus3.edgexfoundry.org:10003 [2024-01-04T08:39:34.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:34.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:34.495Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:34.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:34.495Z] [2024-01-04T08:39:34.495Z] Login Succeeded [2024-01-04T08:39:34.495Z] nexus3.edgexfoundry.org:10004 [2024-01-04T08:39:34.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:34.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:34.495Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:34.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:34.495Z] [2024-01-04T08:39:34.495Z] Login Succeeded [2024-01-04T08:39:34.495Z] ****.io [2024-01-04T08:39:34.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:39:35.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:39:35.015Z] Configure a credential helper to remove this warning. See [2024-01-04T08:39:35.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:39:35.015Z] [2024-01-04T08:39:35.015Z] Login Succeeded [2024-01-04T08:39:35.015Z] ---> ****-login.sh ends [Pipeline] } [2024-01-04T08:39:35.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-04T08:39:35.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-04T08:39:35.220Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-04T08:39:35.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-04T08:39:35.281Z] ========================================================= [2024-01-04T08:39:35.282Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-04T08:39:35.282Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:39:35.653Z] + 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-01-04T08:39:35.653Z] Sending build context to Docker daemon 4.965MB [2024-01-04T08:39:35.653Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-04T08:39:35.653Z] Step 2/21 : FROM ${BASE} as builder [2024-01-04T08:39:35.653Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-04T08:39:35.653Z] 96526aa774ef: Pulling fs layer [2024-01-04T08:39:35.653Z] da60e534fd72: Pulling fs layer [2024-01-04T08:39:35.913Z] 96526aa774ef: Verifying Checksum [2024-01-04T08:39:35.913Z] 96526aa774ef: Download complete [2024-01-04T08:39:35.913Z] 96526aa774ef: Pull complete [2024-01-04T08:39:36.859Z] da60e534fd72: Verifying Checksum [2024-01-04T08:39:36.859Z] da60e534fd72: Download complete [2024-01-04T08:39:40.154Z] da60e534fd72: Pull complete [2024-01-04T08:39:40.154Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-04T08:39:40.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-04T08:39:40.154Z] ---> 6605166a5db4 [2024-01-04T08:39:40.154Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-04T08:39:45.438Z] ---> Running in e6b4a87c102e [2024-01-04T08:39:45.438Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-04T08:39:45.438Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-04T08:39:45.438Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-04T08:39:45.438Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-04T08:39:45.697Z] Removing intermediate container e6b4a87c102e [2024-01-04T08:39:45.697Z] ---> 4f416cd7ce9b [2024-01-04T08:39:45.697Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-04T08:39:45.955Z] ---> Running in d79dd350d7d2 [2024-01-04T08:39:46.524Z] Removing intermediate container d79dd350d7d2 [2024-01-04T08:39:46.524Z] ---> c9880b5fba87 [2024-01-04T08:39:46.524Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-04T08:39:46.524Z] ---> Running in 19fecb187ddb [2024-01-04T08:39:46.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:39:48.801Z] Still waiting to schedule task [2024-01-04T08:39:48.801Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-04T08:39:49.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-04T08:39:49.582Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:39:50.152Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:39:50.152Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-04T08:39:50.152Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-04T08:39:50.152Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-04T08:39:50.721Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-04T08:39:50.981Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-04T08:39:51.241Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-04T08:39:51.241Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-04T08:39:51.241Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-04T08:39:51.241Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-04T08:39:51.241Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-04T08:39:51.241Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-04T08:39:51.241Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-04T08:39:51.241Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-04T08:39:51.241Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-04T08:39:51.501Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-04T08:39:51.501Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-04T08:39:51.501Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-04T08:39:51.501Z] Executing busybox-1.36.1-r4.trigger [2024-01-04T08:39:51.501Z] OK: 336 MiB in 99 packages [2024-01-04T08:39:52.444Z] Removing intermediate container 19fecb187ddb [2024-01-04T08:39:52.444Z] ---> 66d99d054dbc [2024-01-04T08:39:52.444Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-04T08:39:52.444Z] ---> Running in a9df24a9cee2 [2024-01-04T08:39:53.016Z] Removing intermediate container a9df24a9cee2 [2024-01-04T08:39:53.016Z] ---> 801d60e76850 [2024-01-04T08:39:53.016Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-04T08:39:53.016Z] ---> dd2b8c086a5f [2024-01-04T08:39:53.016Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-04T08:39:53.275Z] ---> 801c491e4306 [2024-01-04T08:39:53.275Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-04T08:39:53.535Z] ---> dae2ba2ff8b0 [2024-01-04T08:39:53.535Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-04T08:39:53.820Z] ---> e6f1f1795af3 [2024-01-04T08:39:53.820Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-04T08:39:53.820Z] ---> 8fa79620f124 [2024-01-04T08:39:53.820Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-04T08:39:54.080Z] ---> 7bc49415a7de [2024-01-04T08:39:54.080Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-04T08:39:54.080Z] ---> Running in d710acbc3765 [2024-01-04T08:39:54.339Z] + CPPCHECK=false [2024-01-04T08:39:54.339Z] + DOCGEN=false [2024-01-04T08:39:54.339Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-04T08:39:54.339Z] + '[' 0 -gt 0 ] [2024-01-04T08:39:54.339Z] + readlink -f ./scripts/build.sh [2024-01-04T08:39:54.339Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-04T08:39:54.339Z] + dirname /tmp/sdk/scripts [2024-01-04T08:39:54.339Z] + ROOT=/tmp/sdk [2024-01-04T08:39:54.339Z] + cd /tmp/sdk [2024-01-04T08:39:54.339Z] + mkdir -p /tmp/sdk/build/release [2024-01-04T08:39:54.339Z] + cd /tmp/sdk/build/release [2024-01-04T08:39:54.339Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-04T08:39:54.339Z] -- The C compiler identification is GNU 12.2.1 [2024-01-04T08:39:54.339Z] -- Detecting C compiler ABI info [2024-01-04T08:39:54.600Z] -- Detecting C compiler ABI info - done [2024-01-04T08:39:54.600Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-04T08:39:54.600Z] -- Detecting C compile features [2024-01-04T08:39:54.600Z] -- Detecting C compile features - done [2024-01-04T08:39:54.600Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-04T08:39:54.600Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-04T08:39:54.600Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-04T08:39:54.600Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-04T08:39:54.600Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-04T08:39:54.600Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-04T08:39:54.600Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-04T08:39:54.600Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-04T08:39:54.600Z] -- /opt/iotech/iot/1.5/include [2024-01-04T08:39:54.600Z] -- C SDK 0.0.0 for Linux [2024-01-04T08:39:54.600Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-04T08:39:54.600Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-04T08:39:54.860Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-04T08:39:54.860Z] -- Configuring done (0.4s) [2024-01-04T08:39:54.860Z] -- Generating done (0.0s) [2024-01-04T08:39:54.860Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-04T08:39:54.860Z] + make all package [2024-01-04T08:39:54.860Z] + tee release.log [2024-01-04T08:39:54.860Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-04T08:39:54.860Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-04T08:39:55.124Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-04T08:39:55.124Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-04T08:39:55.389Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-04T08:39:55.389Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-04T08:39:55.654Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-04T08:39:55.915Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-04T08:39:55.915Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:39:55.915Z] 294 | while (privateConfig) [2024-01-04T08:39:55.915Z] | ^~~~~~~~~~~~~ [2024-01-04T08:39:55.915Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-04T08:39:55.915Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-04T08:39:55.915Z] | ^~~~~~~~~~~~~ [2024-01-04T08:39:55.915Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:39:55.915Z] 271 | while (result) [2024-01-04T08:39:55.915Z] | ^~~~~~ [2024-01-04T08:39:55.915Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-04T08:39:55.915Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-04T08:39:55.915Z] | ^~~~~~ [2024-01-04T08:39:55.915Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-04T08:39:55.915Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-04T08:39:56.175Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-04T08:39:56.434Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-04T08:39:56.434Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-04T08:39:56.694Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-04T08:39:56.694Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-04T08:39:56.694Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-04T08:39:56.954Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-04T08:39:56.954Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-04T08:39:57.213Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-04T08:39:57.473Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-04T08:39:57.473Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-04T08:39:57.732Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-04T08:39:58.673Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-04T08:39:58.673Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-04T08:39:58.934Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-04T08:39:58.934Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-04T08:39:58.934Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-04T08:39:59.192Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-04T08:39:59.453Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-04T08:39:59.712Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-04T08:39:59.712Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-04T08:39:59.972Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-04T08:39:59.972Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-04T08:39:59.972Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:39:59.972Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-04T08:39:59.972Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:39:59.972Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:39:59.972Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-04T08:39:59.972Z] | ^ [2024-01-04T08:40:00.232Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:40:00.233Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-04T08:40:00.233Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:40:00.233Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-04T08:40:00.233Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-04T08:40:00.233Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:40:00.233Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-04T08:40:00.492Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-04T08:40:00.492Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-04T08:40:00.492Z] [ 68%] Linking C shared library libcsdk.so [2024-01-04T08:40:00.492Z] [ 68%] Built target csdk [2024-01-04T08:40:00.492Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-04T08:40:00.752Z] [ 72%] Linking C executable template [2024-01-04T08:40:00.752Z] [ 72%] Built target template [2024-01-04T08:40:00.752Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-04T08:40:01.011Z] [ 76%] Linking C executable device-counter [2024-01-04T08:40:01.011Z] [ 76%] Built target device-counter [2024-01-04T08:40:01.011Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-04T08:40:01.011Z] [ 80%] Linking C executable device-random [2024-01-04T08:40:01.278Z] [ 80%] Built target device-random [2024-01-04T08:40:01.278Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-04T08:40:01.278Z] [ 84%] Linking C executable device-gyro [2024-01-04T08:40:01.278Z] [ 84%] Built target device-gyro [2024-01-04T08:40:01.278Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-04T08:40:01.542Z] [ 88%] Linking C executable device-bitfields [2024-01-04T08:40:01.542Z] [ 88%] Built target device-bitfields [2024-01-04T08:40:01.542Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-04T08:40:01.801Z] [ 92%] Linking C executable template-discovery [2024-01-04T08:40:01.801Z] [ 92%] Built target template-discovery [2024-01-04T08:40:01.801Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-04T08:40:01.801Z] [ 96%] Linking C executable device-file [2024-01-04T08:40:02.062Z] [ 96%] Built target device-file [2024-01-04T08:40:02.062Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-04T08:40:02.062Z] [100%] Linking C executable device-terminal [2024-01-04T08:40:02.062Z] [100%] Built target device-terminal [2024-01-04T08:40:02.062Z] Run CPack packaging tool... [2024-01-04T08:40:02.062Z] CPack: Create package using TGZ [2024-01-04T08:40:02.062Z] CPack: Install projects [2024-01-04T08:40:02.062Z] CPack: - Run preinstall target for: Csdk [2024-01-04T08:40:02.322Z] CPack: - Install project: Csdk [] [2024-01-04T08:40:02.322Z] CPack: Create package [2024-01-04T08:40:02.322Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-04T08:40:02.322Z] + '[' false '=' true ] [2024-01-04T08:40:02.322Z] + '[' false '=' true ] [2024-01-04T08:40:02.322Z] + mkdir -p /tmp/sdk/build/debug [2024-01-04T08:40:02.322Z] + cd /tmp/sdk/build/debug [2024-01-04T08:40:02.322Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-04T08:40:02.584Z] -- The C compiler identification is GNU 12.2.1 [2024-01-04T08:40:02.584Z] -- Detecting C compiler ABI info [2024-01-04T08:40:02.584Z] -- Detecting C compiler ABI info - done [2024-01-04T08:40:02.584Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-04T08:40:02.584Z] -- Detecting C compile features [2024-01-04T08:40:02.584Z] -- Detecting C compile features - done [2024-01-04T08:40:02.584Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-04T08:40:02.584Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-04T08:40:02.584Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-04T08:40:02.584Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-04T08:40:02.584Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-04T08:40:02.584Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-04T08:40:02.843Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-04T08:40:02.843Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-04T08:40:02.843Z] -- /opt/iotech/iot/1.5/include [2024-01-04T08:40:02.843Z] -- C SDK 0.0.0 for Linux [2024-01-04T08:40:02.843Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-04T08:40:02.843Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-04T08:40:02.843Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-04T08:40:02.843Z] -- Configuring done (0.4s) [2024-01-04T08:40:02.843Z] -- Generating done (0.0s) [2024-01-04T08:40:02.843Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-04T08:40:02.843Z] + make [2024-01-04T08:40:02.843Z] + tee debug.log [2024-01-04T08:40:02.843Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-04T08:40:03.103Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-04T08:40:03.103Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-04T08:40:03.103Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-04T08:40:03.362Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-04T08:40:03.363Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-04T08:40:03.363Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-04T08:40:03.623Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-04T08:40:03.623Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-04T08:40:03.623Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-04T08:40:03.623Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-04T08:40:03.882Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-04T08:40:03.882Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-04T08:40:03.882Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-04T08:40:03.882Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-04T08:40:04.142Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-04T08:40:04.142Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-04T08:40:04.142Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-04T08:40:04.403Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-04T08:40:04.403Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-04T08:40:04.403Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-04T08:40:04.664Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-04T08:40:04.664Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-04T08:40:04.924Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-04T08:40:04.924Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-04T08:40:04.924Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-04T08:40:04.924Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-04T08:40:05.185Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-04T08:40:05.185Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-04T08:40:05.445Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-04T08:40:05.445Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-04T08:40:05.445Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-04T08:40:05.445Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:40:05.445Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-04T08:40:05.445Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:40:05.445Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:40:05.445Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-04T08:40:05.445Z] | ^ [2024-01-04T08:40:05.705Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-04T08:40:05.705Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-04T08:40:05.705Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-04T08:40:05.705Z] [ 68%] Linking C shared library libcsdk.so [2024-01-04T08:40:05.964Z] [ 68%] Built target csdk [2024-01-04T08:40:05.964Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-04T08:40:05.964Z] [ 72%] Linking C executable template [2024-01-04T08:40:05.964Z] [ 72%] Built target template [2024-01-04T08:40:05.964Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-04T08:40:05.964Z] [ 76%] Linking C executable device-counter [2024-01-04T08:40:06.224Z] [ 76%] Built target device-counter [2024-01-04T08:40:06.224Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-04T08:40:06.224Z] [ 80%] Linking C executable device-random [2024-01-04T08:40:06.224Z] [ 80%] Built target device-random [2024-01-04T08:40:06.224Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-04T08:40:06.224Z] [ 84%] Linking C executable device-gyro [2024-01-04T08:40:06.484Z] [ 84%] Built target device-gyro [2024-01-04T08:40:06.484Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-04T08:40:06.484Z] [ 88%] Linking C executable device-bitfields [2024-01-04T08:40:06.484Z] [ 88%] Built target device-bitfields [2024-01-04T08:40:06.484Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-04T08:40:06.743Z] [ 92%] Linking C executable template-discovery [2024-01-04T08:40:06.743Z] [ 92%] Built target template-discovery [2024-01-04T08:40:06.743Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-04T08:40:06.743Z] [ 96%] Linking C executable device-file [2024-01-04T08:40:06.743Z] [ 96%] Built target device-file [2024-01-04T08:40:06.743Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-04T08:40:07.003Z] [100%] Linking C executable device-terminal [2024-01-04T08:40:07.003Z] [100%] Built target device-terminal [2024-01-04T08:40:07.003Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-04T08:40:07.003Z] [ 68%] Built target csdk [2024-01-04T08:40:07.003Z] [ 72%] Built target template [2024-01-04T08:40:07.003Z] [ 76%] Built target device-counter [2024-01-04T08:40:07.003Z] [ 80%] Built target device-random [2024-01-04T08:40:07.003Z] [ 84%] Built target device-gyro [2024-01-04T08:40:07.262Z] [ 88%] Built target device-bitfields [2024-01-04T08:40:07.262Z] [ 92%] Built target template-discovery [2024-01-04T08:40:07.262Z] [ 96%] Built target device-file [2024-01-04T08:40:07.262Z] [100%] Built target device-terminal [2024-01-04T08:40:07.262Z] Install the project... [2024-01-04T08:40:07.262Z] -- Install configuration: "Release" [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-04T08:40:07.262Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/devsdk [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-04T08:40:07.262Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-04T08:40:07.262Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-04T08:40:08.659Z] Removing intermediate container d710acbc3765 [2024-01-04T08:40:08.659Z] ---> 08da432d09fa [2024-01-04T08:40:08.659Z] Step 14/21 : FROM ${BASE} [2024-01-04T08:40:08.659Z] ---> 6605166a5db4 [2024-01-04T08:40:08.659Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-04T08:40:08.659Z] ---> Running in 59f2d4ee50cb [2024-01-04T08:40:08.659Z] Removing intermediate container 59f2d4ee50cb [2024-01-04T08:40:08.659Z] ---> 7f854b5b2bfe [2024-01-04T08:40:08.659Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-04T08:40:08.659Z] ---> Running in e73f29451099 [2024-01-04T08:40:08.919Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-04T08:40:09.487Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-04T08:40:09.487Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-04T08:40:09.487Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-04T08:40:09.746Z] Removing intermediate container e73f29451099 [2024-01-04T08:40:09.746Z] ---> c4326132a788 [2024-01-04T08:40:09.746Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-04T08:40:09.746Z] ---> Running in 0c02f386756c [2024-01-04T08:40:10.313Z] Removing intermediate container 0c02f386756c [2024-01-04T08:40:10.313Z] ---> 71969664a588 [2024-01-04T08:40:10.313Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-04T08:40:10.313Z] ---> Running in 3b9adcdd98ab [2024-01-04T08:40:10.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:10.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:11.089Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:11.348Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:40:11.348Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-04T08:40:11.607Z] (2/9) Installing curl (8.5.0-r0) [2024-01-04T08:40:11.607Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-04T08:40:11.607Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-04T08:40:11.607Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-04T08:40:11.607Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-04T08:40:12.174Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-04T08:40:12.434Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-04T08:40:12.434Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-04T08:40:12.434Z] Executing busybox-1.36.1-r4.trigger [2024-01-04T08:40:12.434Z] OK: 331 MiB in 89 packages [2024-01-04T08:40:13.422Z] Removing intermediate container 3b9adcdd98ab [2024-01-04T08:40:13.422Z] ---> 462e906b2229 [2024-01-04T08:40:13.422Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-04T08:40:13.682Z] ---> cad6ca39136c [2024-01-04T08:40:13.682Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-04T08:40:13.942Z] ---> e218adff43bb [2024-01-04T08:40:13.942Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-04T08:40:14.201Z] ---> 8fc5a0871b76 [2024-01-04T08:40:14.201Z] Successfully built 8fc5a0871b76 [2024-01-04T08:40:14.201Z] 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-01-04T08:40:14.825Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-04T08:40:14.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:40:14.933Z] prd-ubuntu20.04-docker-8c-8g-26729 does not seem to be running inside a container [2024-01-04T08:40:14.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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-01-04T08:40:15.326Z] $ docker top bad7beb5be444f752f4dde4101704b5287c2f558be4463749207f55c677e3ae8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-04T08:40:15.704Z] + make test [2024-01-04T08:40:15.704Z] echo "make test" [2024-01-04T08:40:15.704Z] make test [Pipeline] } [2024-01-04T08:40:15.722Z] $ docker stop --time=1 bad7beb5be444f752f4dde4101704b5287c2f558be4463749207f55c677e3ae8 [2024-01-04T08:40:17.373Z] $ docker rm -f --volumes bad7beb5be444f752f4dde4101704b5287c2f558be4463749207f55c677e3ae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-04T08:40:18.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-04T08:40:18.486Z] + ls -al . [2024-01-04T08:40:18.486Z] total 212 [2024-01-04T08:40:18.486Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 08:39 . [2024-01-04T08:40:18.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:39 .. [2024-01-04T08:40:18.486Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 08:39 .git [2024-01-04T08:40:18.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 08:39 .github [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 4 08:39 .gitignore [2024-01-04T08:40:18.486Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 08:39 .semver [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 4 08:39 Attribution.txt [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 4 08:39 CHANGELOG.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 4 08:39 Doxyfile [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 08:39 GOVERNANCE.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 4 08:39 Jenkinsfile [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 08:39 LICENSE [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 4 08:39 Makefile [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 08:39 OWNERS.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 4 08:39 README.IOT.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 4 08:39 README.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 4 08:39 README.v3.md [2024-01-04T08:40:18.486Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 08:39 VERSION [2024-01-04T08:40:18.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 08:39 docs [2024-01-04T08:40:18.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:39 include [2024-01-04T08:40:18.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 08:39 scripts [2024-01-04T08:40:18.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:39 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:40:18.866Z] + 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=0c22d75adc2a30cf428884ed451b94b7eae7f58f --label arch=amd64 --label version=0.0.0 . [2024-01-04T08:40:18.867Z] Sending build context to Docker daemon 4.965MB [2024-01-04T08:40:18.867Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-04T08:40:18.867Z] Step 2/17 : FROM ${BASE} [2024-01-04T08:40:18.867Z] ---> 8fc5a0871b76 [2024-01-04T08:40:18.867Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-04T08:40:19.126Z] ---> Running in 86ae721799a0 [2024-01-04T08:40:19.126Z] Removing intermediate container 86ae721799a0 [2024-01-04T08:40:19.126Z] ---> 13c29a09b7ef [2024-01-04T08:40:19.126Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-04T08:40:19.126Z] ---> Running in f6eed7d5c953 [2024-01-04T08:40:19.386Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-04T08:40:19.953Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-04T08:40:19.953Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-04T08:40:19.953Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-04T08:40:20.212Z] Removing intermediate container f6eed7d5c953 [2024-01-04T08:40:20.213Z] ---> bb54f49ba02c [2024-01-04T08:40:20.213Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-04T08:40:20.213Z] ---> Running in 8750945fca45 [2024-01-04T08:40:21.620Z] Removing intermediate container 8750945fca45 [2024-01-04T08:40:21.620Z] ---> 5f0e5e44a918 [2024-01-04T08:40:21.620Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-04T08:40:21.620Z] ---> Running in 0aa2e5458e80 [2024-01-04T08:40:22.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:22.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:22.448Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-04T08:40:23.032Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:40:23.032Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-04T08:40:23.292Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-04T08:40:23.292Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-04T08:40:23.292Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-04T08:40:23.292Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-04T08:40:23.292Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-04T08:40:23.292Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-04T08:40:23.292Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-04T08:40:23.292Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-04T08:40:23.292Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-04T08:40:23.292Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-04T08:40:23.292Z] Executing busybox-1.36.1-r4.trigger [2024-01-04T08:40:23.292Z] OK: 336 MiB in 100 packages [2024-01-04T08:40:24.306Z] Removing intermediate container 0aa2e5458e80 [2024-01-04T08:40:24.306Z] ---> b297f9c6b1c4 [2024-01-04T08:40:24.306Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-04T08:40:24.306Z] ---> 116e9cbe5358 [2024-01-04T08:40:24.306Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-04T08:40:24.567Z] ---> 1c414e786a30 [2024-01-04T08:40:24.567Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-04T08:40:24.567Z] ---> 2e40de8b9b6b [2024-01-04T08:40:24.567Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-04T08:40:24.826Z] ---> 498a732449b8 [2024-01-04T08:40:24.826Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-04T08:40:24.826Z] ---> f1867a5d29da [2024-01-04T08:40:24.826Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-04T08:40:25.086Z] ---> 863060ec05c1 [2024-01-04T08:40:25.086Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-04T08:40:25.086Z] ---> Running in 27fc58fe32f8 [2024-01-04T08:40:25.086Z] Removing intermediate container 27fc58fe32f8 [2024-01-04T08:40:25.086Z] ---> 1ce2cca6bd1d [2024-01-04T08:40:25.086Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-04T08:40:25.086Z] ---> Running in b69829269dfb [2024-01-04T08:40:25.345Z] Removing intermediate container b69829269dfb [2024-01-04T08:40:25.345Z] ---> fa7a14e67b62 [2024-01-04T08:40:25.345Z] Step 15/17 : LABEL arch=amd64 [2024-01-04T08:40:25.345Z] ---> Running in 686d0231019b [2024-01-04T08:40:25.345Z] Removing intermediate container 686d0231019b [2024-01-04T08:40:25.345Z] ---> 6c85fbb2014c [2024-01-04T08:40:25.345Z] Step 16/17 : LABEL git_sha=0c22d75adc2a30cf428884ed451b94b7eae7f58f [2024-01-04T08:40:25.345Z] ---> Running in 923c79e0298c [2024-01-04T08:40:25.345Z] Removing intermediate container 923c79e0298c [2024-01-04T08:40:25.345Z] ---> d24a936cb7b8 [2024-01-04T08:40:25.345Z] Step 17/17 : LABEL version=0.0.0 [2024-01-04T08:40:25.606Z] ---> Running in d6dcb1379067 [2024-01-04T08:40:25.606Z] Removing intermediate container d6dcb1379067 [2024-01-04T08:40:25.606Z] ---> 81ffba72611d [2024-01-04T08:40:25.606Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-04T08:40:25.606Z] Successfully built 81ffba72611d [2024-01-04T08:40:25.606Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:40:26.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-04T08:40:26.361Z] [2024-01-04T08:40:26.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:40:26.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-04T08:40:26.681Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-04T08:40:26.681Z] 5eb5b503b376: Pulling fs layer [2024-01-04T08:40:26.681Z] 5c69ac0246d0: Pulling fs layer [2024-01-04T08:40:26.681Z] ec43610c2a17: Pulling fs layer [2024-01-04T08:40:26.681Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-04T08:40:26.681Z] 3a2ae6a8a46f: Waiting [2024-01-04T08:40:26.681Z] 33b1e0a273af: Pulling fs layer [2024-01-04T08:40:26.681Z] 5d3b04190fa2: Pulling fs layer [2024-01-04T08:40:26.681Z] 2f39f015ded8: Pulling fs layer [2024-01-04T08:40:26.681Z] 5d3b04190fa2: Waiting [2024-01-04T08:40:26.681Z] 33b1e0a273af: Waiting [2024-01-04T08:40:26.681Z] 5c69ac0246d0: Verifying Checksum [2024-01-04T08:40:26.681Z] 5c69ac0246d0: Download complete [2024-01-04T08:40:26.681Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-04T08:40:26.681Z] 3a2ae6a8a46f: Download complete [2024-01-04T08:40:26.681Z] 33b1e0a273af: Verifying Checksum [2024-01-04T08:40:26.681Z] 33b1e0a273af: Download complete [2024-01-04T08:40:26.681Z] 5d3b04190fa2: Download complete [2024-01-04T08:40:26.681Z] ec43610c2a17: Verifying Checksum [2024-01-04T08:40:26.681Z] ec43610c2a17: Download complete [2024-01-04T08:40:26.942Z] 5eb5b503b376: Verifying Checksum [2024-01-04T08:40:26.942Z] 5eb5b503b376: Download complete [2024-01-04T08:40:27.508Z] 2f39f015ded8: Download complete [2024-01-04T08:40:28.077Z] 5eb5b503b376: Pull complete [2024-01-04T08:40:28.077Z] 5c69ac0246d0: Pull complete [2024-01-04T08:40:28.646Z] ec43610c2a17: Pull complete [2024-01-04T08:40:28.646Z] 3a2ae6a8a46f: Pull complete [2024-01-04T08:40:28.905Z] 33b1e0a273af: Pull complete [2024-01-04T08:40:28.905Z] 5d3b04190fa2: Pull complete [2024-01-04T08:40:33.094Z] 2f39f015ded8: Pull complete [2024-01-04T08:40:33.094Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-04T08:40:33.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-04T08:40:33.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:40:33.293Z] prd-ubuntu20.04-docker-8c-8g-26729 does not seem to be running inside a container [2024-01-04T08:40:33.343Z] $ 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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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-01-04T08:40:42.838Z] $ docker top bdbf77b982f44eca2f92e6647ce25a5ac4ed6a7120b166f1943db5b18e6ab354 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:40:43.287Z] ---> job-cost.sh [2024-01-04T08:40:43.287Z] lf-activate-venv: SKIPPING [2024-01-04T08:40:43.287Z] INFO: No Stack... [2024-01-04T08:40:43.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-04T08:40:44.116Z] INFO: Archiving Costs [Pipeline] sh [2024-01-04T08:40:44.414Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv [2024-01-04T08:40:44.414Z] + cut -d, -f6 [Pipeline] lock [2024-01-04T08:40:44.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [2024-01-04T08:40:44.438Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] did not exist. Created. [2024-01-04T08:40:44.438Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-04T08:40:44.788Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-04T08:40:44.826Z] Stashed 1 file(s) [Pipeline] } [2024-01-04T08:40:44.835Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-04T08:40:44.909Z] $ docker stop --time=1 bdbf77b982f44eca2f92e6647ce25a5ac4ed6a7120b166f1943db5b18e6ab354 [2024-01-04T08:40:46.056Z] $ docker rm -f --volumes bdbf77b982f44eca2f92e6647ce25a5ac4ed6a7120b166f1943db5b18e6ab354 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-04T08:41:25.358Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26730 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws [2024-01-04T08:41:25.392Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2024-01-04T08:41:28.462Z] Selected Git installation does not exist. Using Default [2024-01-04T08:41:28.462Z] The recommended git tool is: NONE [2024-01-04T08:41:33.374Z] using credential edgex-jenkins-ssh [2024-01-04T08:41:33.401Z] Cloning the remote Git repository [2024-01-04T08:41:33.445Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-04T08:41:33.532Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2024-01-04T08:41:33.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-04T08:41:33.669Z] > git --version # timeout=10 [2024-01-04T08:41:33.688Z] > git --version # 'git version 2.25.1' [2024-01-04T08:41:33.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-04T08:41:33.837Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-04T08:41:38.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-04T08:41:38.144Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-04T08:41:39.603Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 0c22d75adc2a30cf428884ed451b94b7eae7f58f [2024-01-04T08:41:39.932Z] Merge succeeded, producing 0c22d75adc2a30cf428884ed451b94b7eae7f58f [2024-01-04T08:41:39.932Z] Checking out Revision 0c22d75adc2a30cf428884ed451b94b7eae7f58f (PR-505) [2024-01-04T08:41:38.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-04T08:41:38.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-04T08:41:38.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-04T08:41:38.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-04T08:41:39.621Z] > git config core.sparsecheckout # timeout=10 [2024-01-04T08:41:39.736Z] > git checkout -f 0c22d75adc2a30cf428884ed451b94b7eae7f58f # timeout=10 [2024-01-04T08:41:39.852Z] > git remote # timeout=10 [2024-01-04T08:41:39.869Z] > git config --get remote.origin.url # timeout=10 [2024-01-04T08:41:39.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-04T08:41:39.895Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-04T08:41:39.919Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-04T08:41:39.939Z] > git config core.sparsecheckout # timeout=10 [2024-01-04T08:41:39.952Z] > git checkout -f 0c22d75adc2a30cf428884ed451b94b7eae7f58f # timeout=10 [2024-01-04T08:41:43.502Z] Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-04T08:41:44.668Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-04T08:41:44.668Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-04T08:41:44.668Z] Dload Upload Total Spent Left Speed [2024-01-04T08:41:44.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 90286 0 --:--:-- --:--:-- --:--:-- 90286 100 12682 100 12682 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-01-04T08:41:44.998Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-04T08:41:45.326Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-04T08:41:45.326Z] + sudo tee /etc/docker/daemon.new [2024-01-04T08:41:45.326Z] { [2024-01-04T08:41:45.326Z] "registry-mirrors": [ [2024-01-04T08:41:45.326Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-04T08:41:45.326Z] ], [2024-01-04T08:41:45.326Z] "bip": "10.250.0.254/24", [2024-01-04T08:41:45.326Z] "hosts": [ [2024-01-04T08:41:45.326Z] "tcp://0.0.0.0:5555", [2024-01-04T08:41:45.326Z] "unix:///var/run/docker.sock" [2024-01-04T08:41:45.326Z] ], [2024-01-04T08:41:45.326Z] "mtu": 1458, [2024-01-04T08:41:45.326Z] "selinux-enabled": true, [2024-01-04T08:41:45.326Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-04T08:41:45.326Z] } [Pipeline] sh [2024-01-04T08:41:45.651Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-04T08:41:45.976Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-04T08:42:08.135Z] provisioning config files... [2024-01-04T08:42:08.160Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config9393405429420498669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:42:08.589Z] ---> ****-login.sh [2024-01-04T08:42:08.589Z] nexus3.edgexfoundry.org:10001 [2024-01-04T08:42:08.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:42:09.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:42:09.131Z] Configure a credential helper to remove this warning. See [2024-01-04T08:42:09.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:42:09.131Z] [2024-01-04T08:42:09.131Z] Login Succeeded [2024-01-04T08:42:09.131Z] nexus3.edgexfoundry.org:10002 [2024-01-04T08:42:09.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:42:09.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:42:09.401Z] Configure a credential helper to remove this warning. See [2024-01-04T08:42:09.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:42:09.401Z] [2024-01-04T08:42:09.401Z] Login Succeeded [2024-01-04T08:42:09.401Z] nexus3.edgexfoundry.org:10003 [2024-01-04T08:42:09.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:42:09.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:42:09.680Z] Configure a credential helper to remove this warning. See [2024-01-04T08:42:09.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:42:09.680Z] [2024-01-04T08:42:09.680Z] Login Succeeded [2024-01-04T08:42:09.680Z] nexus3.edgexfoundry.org:10004 [2024-01-04T08:42:09.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:42:09.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:42:09.946Z] Configure a credential helper to remove this warning. See [2024-01-04T08:42:09.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:42:09.946Z] [2024-01-04T08:42:09.946Z] Login Succeeded [2024-01-04T08:42:09.946Z] ****.io [2024-01-04T08:42:09.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-04T08:42:10.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-04T08:42:10.216Z] Configure a credential helper to remove this warning. See [2024-01-04T08:42:10.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-04T08:42:10.216Z] [2024-01-04T08:42:10.216Z] Login Succeeded [2024-01-04T08:42:10.216Z] ---> ****-login.sh ends [Pipeline] } [2024-01-04T08:42:10.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-04T08:42:10.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-04T08:42:10.667Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-04T08:42:10.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-04T08:42:10.748Z] ========================================================= [2024-01-04T08:42:10.748Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-04T08:42:10.748Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:42:11.180Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-01-04T08:42:12.142Z] #0 building with "default" instance using docker driver [2024-01-04T08:42:12.142Z] [2024-01-04T08:42:12.142Z] #1 [internal] load .dockerignore [2024-01-04T08:42:12.142Z] #1 transferring context: [2024-01-04T08:42:12.412Z] #1 transferring context: 2B done [2024-01-04T08:42:12.412Z] #1 DONE 0.1s [2024-01-04T08:42:12.412Z] [2024-01-04T08:42:12.412Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-04T08:42:12.412Z] #2 transferring dockerfile: 2.04kB done [2024-01-04T08:42:12.412Z] #2 DONE 0.1s [2024-01-04T08:42:12.412Z] [2024-01-04T08:42:12.412Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-04T08:42:12.412Z] #3 DONE 0.1s [2024-01-04T08:42:12.412Z] [2024-01-04T08:42:12.412Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-04T08:42:12.412Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-04T08:42:12.412Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-04T08:42:12.412Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-04T08:42:12.412Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-04T08:42:12.412Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-04T08:42:12.688Z] #4 ... [2024-01-04T08:42:12.688Z] [2024-01-04T08:42:12.688Z] #5 [internal] load build context [2024-01-04T08:42:12.688Z] #5 transferring context: 628.02kB 0.1s done [2024-01-04T08:42:12.688Z] #5 DONE 0.2s [2024-01-04T08:42:12.688Z] [2024-01-04T08:42:12.688Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-04T08:42:12.688Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-04T08:42:12.688Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-04T08:42:12.688Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 14.68MB / 109.51MB 0.4s [2024-01-04T08:42:12.956Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 20.97MB / 109.51MB 0.5s [2024-01-04T08:42:12.956Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-04T08:42:13.224Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 30.41MB / 109.51MB 0.7s [2024-01-04T08:42:13.224Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 44.04MB / 109.51MB 0.9s [2024-01-04T08:42:13.491Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 50.33MB / 109.51MB 1.0s [2024-01-04T08:42:13.491Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 62.91MB / 109.51MB 1.2s [2024-01-04T08:42:13.758Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 69.21MB / 109.51MB 1.3s [2024-01-04T08:42:13.758Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 76.55MB / 109.51MB 1.4s [2024-01-04T08:42:14.025Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 82.84MB / 109.51MB 1.5s [2024-01-04T08:42:14.025Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 96.47MB / 109.51MB 1.7s [2024-01-04T08:42:14.291Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 102.76MB / 109.51MB 1.8s [2024-01-04T08:42:14.291Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s [2024-01-04T08:42:14.567Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s done [2024-01-04T08:42:14.567Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-04T08:42:19.911Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-04T08:42:25.254Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10.4s [2024-01-04T08:42:26.211Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.5s done [2024-01-04T08:42:26.477Z] #4 DONE 14.0s [2024-01-04T08:42:26.477Z] [2024-01-04T08:42:26.477Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-04T08:42:27.059Z] #6 0.669 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-04T08:42:27.639Z] #6 1.171 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-04T08:42:27.639Z] #6 1.172 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-04T08:42:27.639Z] #6 1.173 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-04T08:42:28.599Z] #6 DONE 1.9s [2024-01-04T08:42:28.599Z] [2024-01-04T08:42:28.599Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-04T08:42:28.866Z] #7 DONE 0.7s [2024-01-04T08:42:29.135Z] [2024-01-04T08:42:29.135Z] #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-04T08:42:30.089Z] #8 0.875 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:30.356Z] #8 1.178 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:30.621Z] #8 1.746 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:32.023Z] #8 2.639 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:42:32.023Z] #8 2.672 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-04T08:42:32.023Z] #8 2.698 (2/9) Installing curl (8.5.0-r0) [2024-01-04T08:42:32.023Z] #8 2.712 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-04T08:42:32.023Z] #8 2.811 (4/9) Installing hiredis (1.1.0-r2) [2024-01-04T08:42:32.023Z] #8 2.817 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-04T08:42:32.023Z] #8 2.865 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-04T08:42:32.605Z] #8 3.646 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-04T08:42:32.871Z] #8 3.874 (8/9) Installing libcbor (0.10.2-r1) [2024-01-04T08:42:32.871Z] #8 3.885 (9/9) Installing libuuid (2.38.1-r8) [2024-01-04T08:42:32.871Z] #8 3.892 Executing busybox-1.36.1-r4.trigger [2024-01-04T08:42:32.871Z] #8 3.932 OK: 327 MiB in 89 packages [2024-01-04T08:42:33.465Z] #8 DONE 4.3s [2024-01-04T08:42:33.465Z] [2024-01-04T08:42:33.465Z] #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-04T08:42:33.465Z] #9 0.770 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:33.465Z] #9 1.176 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:33.465Z] #9 1.748 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:42:33.465Z] #9 2.637 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:42:33.465Z] #9 2.670 (1/17) Installing hiredis (1.1.0-r2) [2024-01-04T08:42:33.465Z] #9 2.679 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-04T08:42:33.465Z] #9 2.707 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-04T08:42:33.465Z] #9 3.450 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-04T08:42:33.465Z] #9 3.568 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-04T08:42:33.465Z] #9 3.787 (6/17) Installing libcbor (0.10.2-r1) [2024-01-04T08:42:33.465Z] #9 3.873 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-04T08:42:33.465Z] #9 3.889 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-04T08:42:33.465Z] #9 3.976 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-04T08:42:33.465Z] #9 3.982 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-04T08:42:33.465Z] #9 3.990 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-04T08:42:33.465Z] #9 4.028 (12/17) Installing libblkid (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.043 (13/17) Installing libuuid (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.050 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.068 (15/17) Installing libmount (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.086 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.179 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-04T08:42:33.465Z] #9 4.255 Executing busybox-1.36.1-r4.trigger [2024-01-04T08:42:33.465Z] #9 4.304 OK: 333 MiB in 99 packages [2024-01-04T08:42:33.735Z] #9 DONE 4.6s [2024-01-04T08:42:33.735Z] [2024-01-04T08:42:33.735Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-04T08:42:34.315Z] #10 DONE 0.7s [2024-01-04T08:42:34.315Z] [2024-01-04T08:42:34.315Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-04T08:42:34.315Z] #11 DONE 0.1s [2024-01-04T08:42:34.581Z] [2024-01-04T08:42:34.581Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-04T08:42:34.581Z] #12 DONE 0.2s [2024-01-04T08:42:34.581Z] [2024-01-04T08:42:34.581Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-04T08:42:34.848Z] #13 DONE 0.1s [2024-01-04T08:42:34.848Z] [2024-01-04T08:42:34.848Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-04T08:42:34.848Z] #14 DONE 0.1s [2024-01-04T08:42:34.848Z] [2024-01-04T08:42:34.848Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-04T08:42:34.848Z] #15 DONE 0.1s [2024-01-04T08:42:34.848Z] [2024-01-04T08:42:34.848Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-04T08:42:35.115Z] #16 DONE 0.1s [2024-01-04T08:42:35.115Z] [2024-01-04T08:42:35.115Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-04T08:42:35.696Z] #17 0.616 + CPPCHECK=false [2024-01-04T08:42:35.696Z] #17 0.616 + DOCGEN=false [2024-01-04T08:42:35.696Z] #17 0.616 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-04T08:42:35.696Z] #17 0.617 + '[' 0 -gt 0 ] [2024-01-04T08:42:35.696Z] #17 0.619 + readlink -f ./scripts/build.sh [2024-01-04T08:42:35.696Z] #17 0.621 + dirname /tmp/sdk/scripts/build.sh [2024-01-04T08:42:35.696Z] #17 0.623 + dirname /tmp/sdk/scripts [2024-01-04T08:42:35.696Z] #17 0.624 + ROOT=/tmp/sdk [2024-01-04T08:42:35.696Z] #17 0.624 + cd /tmp/sdk [2024-01-04T08:42:35.696Z] #17 0.624 + mkdir -p /tmp/sdk/build/release [2024-01-04T08:42:35.696Z] #17 0.628 + cd /tmp/sdk/build/release [2024-01-04T08:42:35.696Z] #17 0.628 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-04T08:42:35.962Z] #17 0.934 -- The C compiler identification is GNU 12.2.1 [2024-01-04T08:42:35.963Z] #17 0.993 -- Detecting C compiler ABI info [2024-01-04T08:42:36.542Z] #17 1.303 -- Detecting C compiler ABI info - done [2024-01-04T08:42:36.542Z] #17 1.385 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-04T08:42:36.543Z] #17 1.387 -- Detecting C compile features [2024-01-04T08:42:36.543Z] #17 1.390 -- Detecting C compile features - done [2024-01-04T08:42:36.543Z] #17 1.413 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-04T08:42:36.543Z] #17 1.583 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-04T08:42:36.543Z] #17 1.599 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-04T08:42:36.543Z] #17 1.614 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-04T08:42:36.543Z] #17 1.629 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-04T08:42:36.543Z] #17 1.644 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-04T08:42:36.543Z] #17 1.658 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-04T08:42:36.543Z] #17 1.674 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-04T08:42:36.808Z] #17 1.674 -- /opt/iotech/iot/1.5/include [2024-01-04T08:42:36.808Z] #17 1.675 -- C SDK 0.0.0 for Linux [2024-01-04T08:42:36.808Z] #17 1.686 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-04T08:42:37.073Z] #17 1.982 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-04T08:42:37.339Z] #17 2.131 -- Found Curses: /usr/lib/libcurses.so [2024-01-04T08:42:37.339Z] #17 2.235 -- Configuring done (1.6s) [2024-01-04T08:42:37.606Z] #17 2.481 -- Generating done (0.2s) [2024-01-04T08:42:37.606Z] #17 2.499 -- Build files have been written to: /tmp/sdk/build/release [2024-01-04T08:42:37.606Z] #17 2.520 + make all package [2024-01-04T08:42:37.606Z] #17 2.520 + tee release.log [2024-01-04T08:42:37.606Z] #17 2.635 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-04T08:42:38.560Z] #17 3.286 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-04T08:42:39.137Z] #17 4.079 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-04T08:42:39.717Z] #17 4.733 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-04T08:42:40.673Z] #17 5.464 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-04T08:42:40.940Z] #17 6.018 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-04T08:42:42.872Z] #17 7.921 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-04T08:42:43.828Z] #17 8.698 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-04T08:42:43.828Z] #17 8.699 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:42:43.828Z] #17 8.699 294 | while (privateConfig) [2024-01-04T08:42:43.828Z] #17 8.699 | ^~~~~~~~~~~~~ [2024-01-04T08:42:43.828Z] #17 8.699 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-04T08:42:43.828Z] #17 8.699 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-04T08:42:43.828Z] #17 8.699 | ^~~~~~~~~~~~~ [2024-01-04T08:42:43.828Z] #17 8.699 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:42:43.828Z] #17 8.699 271 | while (result) [2024-01-04T08:42:43.828Z] #17 8.699 | ^~~~~~ [2024-01-04T08:42:43.828Z] #17 8.699 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-04T08:42:43.828Z] #17 8.699 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-04T08:42:43.828Z] #17 8.699 | ^~~~~~ [2024-01-04T08:42:44.094Z] #17 9.003 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-04T08:42:44.359Z] #17 9.214 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-04T08:42:44.939Z] #17 10.02 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-04T08:42:46.870Z] #17 11.76 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-04T08:42:47.451Z] #17 12.33 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-04T08:42:48.407Z] #17 13.10 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-04T08:42:48.991Z] #17 13.80 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-04T08:42:49.260Z] #17 14.26 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-04T08:42:50.216Z] #17 15.21 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-04T08:42:50.486Z] #17 15.50 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-04T08:42:52.435Z] #17 17.42 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-04T08:42:53.013Z] #17 17.74 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-04T08:42:53.280Z] #17 18.28 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-04T08:42:54.687Z] #17 19.47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-04T08:43:01.342Z] #17 25.68 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-04T08:43:01.342Z] #17 26.26 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-04T08:43:01.608Z] #17 26.64 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-04T08:43:02.191Z] #17 27.14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-04T08:43:02.456Z] #17 27.45 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-04T08:43:03.858Z] #17 28.79 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-04T08:43:05.796Z] #17 30.79 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-04T08:43:06.376Z] #17 31.21 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-04T08:43:06.958Z] #17 32.03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-04T08:43:07.538Z] #17 32.59 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-04T08:43:07.802Z] #17 32.85 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-04T08:43:08.067Z] #17 32.86 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:43:08.067Z] #17 32.86 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-04T08:43:08.067Z] #17 32.86 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:43:08.067Z] #17 32.86 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:43:08.067Z] #17 32.86 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-04T08:43:08.067Z] #17 32.86 | ^ [2024-01-04T08:43:09.469Z] #17 34.23 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-04T08:43:09.469Z] #17 34.23 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-04T08:43:09.469Z] #17 34.23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:43:09.469Z] #17 34.24 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-04T08:43:09.469Z] #17 34.24 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-04T08:43:09.469Z] #17 34.24 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:43:10.422Z] #17 35.23 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-04T08:43:11.001Z] #17 35.96 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-04T08:43:11.582Z] #17 36.30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-04T08:43:11.849Z] #17 36.79 [ 68%] Linking C shared library libcsdk.so [2024-01-04T08:43:11.849Z] #17 36.99 [ 68%] Built target csdk [2024-01-04T08:43:12.115Z] #17 37.04 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-04T08:43:13.078Z] #17 37.84 [ 72%] Linking C executable template [2024-01-04T08:43:13.078Z] #17 38.19 [ 72%] Built target template [2024-01-04T08:43:13.343Z] #17 38.25 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-04T08:43:13.923Z] #17 38.77 [ 76%] Linking C executable device-counter [2024-01-04T08:43:13.923Z] #17 39.06 [ 76%] Built target device-counter [2024-01-04T08:43:14.187Z] #17 39.11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-04T08:43:14.772Z] #17 39.59 [ 80%] Linking C executable device-random [2024-01-04T08:43:15.037Z] #17 39.87 [ 80%] Built target device-random [2024-01-04T08:43:15.037Z] #17 39.92 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-04T08:43:15.303Z] #17 40.36 [ 84%] Linking C executable device-gyro [2024-01-04T08:43:15.569Z] #17 40.65 [ 84%] Built target device-gyro [2024-01-04T08:43:15.833Z] #17 40.70 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-04T08:43:16.413Z] #17 41.19 [ 88%] Linking C executable device-bitfields [2024-01-04T08:43:16.413Z] #17 41.48 [ 88%] Built target device-bitfields [2024-01-04T08:43:16.413Z] #17 41.54 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-04T08:43:17.372Z] #17 42.35 [ 92%] Linking C executable template-discovery [2024-01-04T08:43:17.638Z] #17 42.66 [ 92%] Built target template-discovery [2024-01-04T08:43:17.638Z] #17 42.71 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-04T08:43:18.596Z] #17 43.40 [ 96%] Linking C executable device-file [2024-01-04T08:43:18.862Z] #17 43.71 [ 96%] Built target device-file [2024-01-04T08:43:18.862Z] #17 43.77 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-04T08:43:19.445Z] #17 44.38 [100%] Linking C executable device-terminal [2024-01-04T08:43:19.711Z] #17 44.70 [100%] Built target device-terminal [2024-01-04T08:43:19.711Z] #17 44.75 Run CPack packaging tool... [2024-01-04T08:43:19.711Z] #17 44.80 CPack: Create package using TGZ [2024-01-04T08:43:19.979Z] #17 44.80 CPack: Install projects [2024-01-04T08:43:19.979Z] #17 44.80 CPack: - Run preinstall target for: Csdk [2024-01-04T08:43:20.562Z] #17 45.52 CPack: - Install project: Csdk [] [2024-01-04T08:43:20.562Z] #17 45.56 CPack: Create package [2024-01-04T08:43:20.562Z] #17 45.65 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-04T08:43:20.828Z] #17 45.65 + '[' false '=' true ] [2024-01-04T08:43:20.828Z] #17 45.65 + '[' false '=' true ] [2024-01-04T08:43:20.828Z] #17 45.65 + mkdir -p /tmp/sdk/build/debug [2024-01-04T08:43:20.828Z] #17 45.66 + cd /tmp/sdk/build/debug [2024-01-04T08:43:20.828Z] #17 45.66 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-04T08:43:20.828Z] #17 45.94 -- The C compiler identification is GNU 12.2.1 [2024-01-04T08:43:21.094Z] #17 46.00 -- Detecting C compiler ABI info [2024-01-04T08:43:21.359Z] #17 46.30 -- Detecting C compiler ABI info - done [2024-01-04T08:43:21.359Z] #17 46.39 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-04T08:43:21.624Z] #17 46.39 -- Detecting C compile features [2024-01-04T08:43:21.624Z] #17 46.39 -- Detecting C compile features - done [2024-01-04T08:43:21.624Z] #17 46.41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-04T08:43:21.624Z] #17 46.58 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-04T08:43:21.624Z] #17 46.60 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-04T08:43:21.624Z] #17 46.61 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-04T08:43:21.624Z] #17 46.63 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-04T08:43:21.624Z] #17 46.64 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-04T08:43:21.890Z] #17 46.66 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-04T08:43:21.890Z] #17 46.67 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-04T08:43:21.890Z] #17 46.67 -- /opt/iotech/iot/1.5/include [2024-01-04T08:43:21.890Z] #17 46.67 -- C SDK 0.0.0 for Linux [2024-01-04T08:43:21.890Z] #17 46.68 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-04T08:43:22.156Z] #17 46.98 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-04T08:43:22.156Z] #17 47.13 -- Found Curses: /usr/lib/libcurses.so [2024-01-04T08:43:22.156Z] #17 47.23 -- Configuring done (1.6s) [2024-01-04T08:43:22.423Z] #17 47.48 -- Generating done (0.2s) [2024-01-04T08:43:22.423Z] #17 47.50 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-04T08:43:22.690Z] #17 47.52 + make [2024-01-04T08:43:22.690Z] #17 47.52 + tee debug.log [2024-01-04T08:43:22.690Z] #17 47.63 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-04T08:43:22.956Z] #17 48.00 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-04T08:43:23.539Z] #17 48.37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-04T08:43:23.805Z] #17 48.71 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-04T08:43:24.070Z] #17 49.06 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-04T08:43:24.335Z] #17 49.40 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-04T08:43:25.291Z] #17 50.02 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-04T08:43:25.556Z] #17 50.45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-04T08:43:25.820Z] #17 50.61 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-04T08:43:26.085Z] #17 51.01 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-04T08:43:26.664Z] #17 51.60 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-04T08:43:26.930Z] #17 51.91 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-04T08:43:27.513Z] #17 52.30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-04T08:43:27.513Z] #17 52.64 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-04T08:43:28.094Z] #17 52.95 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-04T08:43:28.359Z] #17 53.30 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-04T08:43:28.624Z] #17 53.51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-04T08:43:29.204Z] #17 54.22 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-04T08:43:29.469Z] #17 54.44 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-04T08:43:29.734Z] #17 54.65 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-04T08:43:30.313Z] #17 55.25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-04T08:43:31.716Z] #17 56.34 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-04T08:43:31.716Z] #17 56.68 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-04T08:43:31.983Z] #17 56.93 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-04T08:43:32.250Z] #17 57.24 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-04T08:43:32.515Z] #17 57.50 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-04T08:43:33.097Z] #17 57.99 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-04T08:43:34.502Z] #17 59.25 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-04T08:43:34.502Z] #17 59.51 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-04T08:43:34.768Z] #17 59.87 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-04T08:43:35.346Z] #17 60.21 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-04T08:43:35.346Z] #17 60.46 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-04T08:43:35.612Z] #17 60.46 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:43:35.612Z] #17 60.46 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-04T08:43:35.612Z] #17 60.46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-04T08:43:35.612Z] #17 60.46 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-04T08:43:35.612Z] #17 60.46 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-04T08:43:35.612Z] #17 60.46 | ^ [2024-01-04T08:43:36.193Z] #17 60.97 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-04T08:43:36.193Z] #17 61.31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-04T08:43:36.458Z] #17 61.58 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-04T08:43:36.723Z] #17 61.85 [ 68%] Linking C shared library libcsdk.so [2024-01-04T08:43:37.303Z] #17 62.09 [ 68%] Built target csdk [2024-01-04T08:43:37.303Z] #17 62.14 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-04T08:43:37.568Z] #17 62.47 [ 72%] Linking C executable template [2024-01-04T08:43:37.833Z] #17 62.76 [ 72%] Built target template [2024-01-04T08:43:37.833Z] #17 62.81 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-04T08:43:38.099Z] #17 63.08 [ 76%] Linking C executable device-counter [2024-01-04T08:43:38.365Z] #17 63.36 [ 76%] Built target device-counter [2024-01-04T08:43:38.365Z] #17 63.41 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-04T08:43:38.945Z] #17 63.69 [ 80%] Linking C executable device-random [2024-01-04T08:43:39.211Z] #17 63.97 [ 80%] Built target device-random [2024-01-04T08:43:39.211Z] #17 64.02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-04T08:43:39.479Z] #17 64.28 [ 84%] Linking C executable device-gyro [2024-01-04T08:43:39.746Z] #17 64.57 [ 84%] Built target device-gyro [2024-01-04T08:43:39.746Z] #17 64.61 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-04T08:43:40.013Z] #17 64.89 [ 88%] Linking C executable device-bitfields [2024-01-04T08:43:40.279Z] #17 65.17 [ 88%] Built target device-bitfields [2024-01-04T08:43:40.280Z] #17 65.23 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-04T08:43:40.545Z] #17 65.56 [ 92%] Linking C executable template-discovery [2024-01-04T08:43:40.812Z] #17 65.85 [ 92%] Built target template-discovery [2024-01-04T08:43:41.077Z] #17 65.90 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-04T08:43:41.343Z] #17 66.21 [ 96%] Linking C executable device-file [2024-01-04T08:43:41.609Z] #17 66.51 [ 96%] Built target device-file [2024-01-04T08:43:41.609Z] #17 66.56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-04T08:43:41.873Z] #17 66.93 [100%] Linking C executable device-terminal [2024-01-04T08:43:42.143Z] #17 67.24 [100%] Built target device-terminal [2024-01-04T08:43:42.143Z] #17 67.28 make: Entering directory '/tmp/sdk/build/release' [2024-01-04T08:43:42.409Z] #17 67.42 [ 68%] Built target csdk [2024-01-04T08:43:42.409Z] #17 67.48 [ 72%] Built target template [2024-01-04T08:43:42.409Z] #17 67.53 [ 76%] Built target device-counter [2024-01-04T08:43:42.675Z] #17 67.59 [ 80%] Built target device-random [2024-01-04T08:43:42.675Z] #17 67.64 [ 84%] Built target device-gyro [2024-01-04T08:43:42.675Z] #17 67.69 [ 88%] Built target device-bitfields [2024-01-04T08:43:42.675Z] #17 67.74 [ 92%] Built target template-discovery [2024-01-04T08:43:42.945Z] #17 67.79 [ 96%] Built target device-file [2024-01-04T08:43:42.945Z] #17 67.85 [100%] Built target device-terminal [2024-01-04T08:43:42.945Z] #17 67.90 Install the project... [2024-01-04T08:43:42.945Z] #17 67.92 -- Install configuration: "Release" [2024-01-04T08:43:42.945Z] #17 67.92 -- Installing: /usr/local/lib/libcsdk.so [2024-01-04T08:43:42.945Z] #17 67.93 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/devsdk [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/edgex [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-04T08:43:42.945Z] #17 67.93 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-04T08:43:42.945Z] #17 67.94 -- Installing: /usr/local/include/edgex/devices.h [2024-01-04T08:43:42.945Z] #17 67.94 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-04T08:43:42.945Z] #17 67.94 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-04T08:43:42.945Z] #17 67.94 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-04T08:43:42.945Z] #17 67.94 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-04T08:43:42.945Z] #17 67.95 make: Leaving directory '/tmp/sdk/build/release' [2024-01-04T08:43:42.945Z] #17 DONE 68.0s [2024-01-04T08:43:42.945Z] [2024-01-04T08:43:42.945Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-04T08:43:43.214Z] #18 DONE 0.2s [2024-01-04T08:43:43.214Z] [2024-01-04T08:43:43.214Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-04T08:43:43.214Z] #19 DONE 0.1s [2024-01-04T08:43:43.478Z] [2024-01-04T08:43:43.478Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-04T08:43:43.478Z] #20 DONE 0.1s [2024-01-04T08:43:43.478Z] [2024-01-04T08:43:43.478Z] #21 exporting to image [2024-01-04T08:43:43.478Z] #21 exporting layers [2024-01-04T08:43:43.743Z] #21 exporting layers 0.2s done [2024-01-04T08:43:43.743Z] #21 writing image sha256:e02b96bb491d61c73e50eb8f2e10c13255bfe36173c9672a88135f308e5878a9 done [2024-01-04T08:43:43.743Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-04T08:43:43.743Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:43:44.404Z] + docker inspect -f . ci-base-image-arm64 [2024-01-04T08:43:44.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:43:44.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-26730 does not seem to be running inside a container [2024-01-04T08:43:44.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-arm64 cat [2024-01-04T08:43:49.484Z] $ docker top 477e96da20d45cd0aa55491f89bca84549cc1de310570899d8c93df136df999c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-04T08:43:49.998Z] + make test [2024-01-04T08:43:49.998Z] echo "make test" [2024-01-04T08:43:49.998Z] make test [Pipeline] } [2024-01-04T08:43:50.020Z] $ docker stop --time=1 477e96da20d45cd0aa55491f89bca84549cc1de310570899d8c93df136df999c [2024-01-04T08:43:51.509Z] $ docker rm -f --volumes 477e96da20d45cd0aa55491f89bca84549cc1de310570899d8c93df136df999c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-04T08:43:52.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-04T08:43:52.588Z] + ls -al . [2024-01-04T08:43:52.588Z] total 208 [2024-01-04T08:43:52.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 08:41 . [2024-01-04T08:43:52.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:41 .. [2024-01-04T08:43:52.588Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 08:41 .git [2024-01-04T08:43:52.588Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 08:41 .github [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 4 08:41 .gitignore [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 4 08:41 Attribution.txt [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 4 08:41 CHANGELOG.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 4 08:41 Doxyfile [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 08:41 GOVERNANCE.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 4 08:41 Jenkinsfile [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 08:41 LICENSE [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 4 08:41 Makefile [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 08:41 OWNERS.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 4 08:41 README.IOT.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 4 08:41 README.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 4 08:41 README.v3.md [2024-01-04T08:43:52.588Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 08:39 VERSION [2024-01-04T08:43:52.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 08:41 docs [2024-01-04T08:43:52.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:41 include [2024-01-04T08:43:52.588Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 08:41 scripts [2024-01-04T08:43:52.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 08:41 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:43:53.009Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0c22d75adc2a30cf428884ed451b94b7eae7f58f --label arch=arm64 --label version=0.0.0 . [2024-01-04T08:43:53.595Z] #0 building with "default" instance using docker driver [2024-01-04T08:43:53.595Z] [2024-01-04T08:43:53.595Z] #1 [internal] load .dockerignore [2024-01-04T08:43:53.595Z] #1 transferring context: 2B done [2024-01-04T08:43:53.595Z] #1 DONE 0.0s [2024-01-04T08:43:53.595Z] [2024-01-04T08:43:53.595Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-04T08:43:53.595Z] #2 transferring dockerfile: 1.44kB done [2024-01-04T08:43:53.595Z] #2 DONE 0.0s [2024-01-04T08:43:53.595Z] [2024-01-04T08:43:53.595Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-04T08:43:53.595Z] #3 DONE 0.0s [2024-01-04T08:43:53.595Z] [2024-01-04T08:43:53.595Z] #4 [internal] load build context [2024-01-04T08:43:53.595Z] #4 transferring context: 8.55kB 0.1s done [2024-01-04T08:43:53.862Z] #4 DONE 0.1s [2024-01-04T08:43:53.862Z] [2024-01-04T08:43:53.862Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-04T08:43:53.862Z] #5 DONE 0.2s [2024-01-04T08:43:53.862Z] [2024-01-04T08:43:53.862Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-04T08:43:54.442Z] #6 0.589 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-04T08:43:55.031Z] #6 1.093 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-04T08:43:55.031Z] #6 1.093 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-04T08:43:55.031Z] #6 1.093 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-04T08:43:55.031Z] #6 DONE 1.2s [2024-01-04T08:43:55.298Z] [2024-01-04T08:43:55.298Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-04T08:43:55.880Z] #7 DONE 0.8s [2024-01-04T08:43:55.880Z] [2024-01-04T08:43:55.880Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-04T08:43:56.835Z] #8 0.713 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:43:57.101Z] #8 1.073 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-04T08:43:57.366Z] #8 1.603 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-04T08:43:58.318Z] #8 2.470 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-04T08:43:58.318Z] #8 2.496 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-04T08:43:58.583Z] #8 2.802 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-04T08:43:58.583Z] #8 2.818 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-04T08:43:58.583Z] #8 2.825 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-04T08:43:58.583Z] #8 2.830 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-04T08:43:58.583Z] #8 2.837 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-04T08:43:58.583Z] #8 2.861 (7/11) Installing libblkid (2.38.1-r8) [2024-01-04T08:43:58.583Z] #8 2.874 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-04T08:43:58.851Z] #8 2.889 (9/11) Installing libmount (2.38.1-r8) [2024-01-04T08:43:58.851Z] #8 2.905 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-04T08:43:58.851Z] #8 2.916 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-04T08:43:58.851Z] #8 2.986 Executing busybox-1.36.1-r4.trigger [2024-01-04T08:43:58.851Z] #8 3.028 OK: 333 MiB in 100 packages [2024-01-04T08:43:59.119Z] #8 DONE 3.3s [2024-01-04T08:43:59.119Z] [2024-01-04T08:43:59.119Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-04T08:43:59.119Z] #9 DONE 0.1s [2024-01-04T08:43:59.387Z] [2024-01-04T08:43:59.387Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-04T08:43:59.652Z] #10 DONE 0.2s [2024-01-04T08:43:59.652Z] [2024-01-04T08:43:59.652Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-04T08:43:59.652Z] #11 DONE 0.1s [2024-01-04T08:43:59.652Z] [2024-01-04T08:43:59.652Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-04T08:43:59.652Z] #12 DONE 0.1s [2024-01-04T08:43:59.919Z] [2024-01-04T08:43:59.919Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-04T08:43:59.919Z] #13 DONE 0.1s [2024-01-04T08:43:59.919Z] [2024-01-04T08:43:59.919Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-04T08:43:59.919Z] #14 DONE 0.1s [2024-01-04T08:43:59.919Z] [2024-01-04T08:43:59.919Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-04T08:43:59.919Z] #15 DONE 0.1s [2024-01-04T08:44:00.185Z] [2024-01-04T08:44:00.185Z] #16 exporting to image [2024-01-04T08:44:00.185Z] #16 exporting layers [2024-01-04T08:44:00.449Z] #16 exporting layers 0.4s done [2024-01-04T08:44:00.449Z] #16 writing image sha256:782f6cc2fec1d061681a0ffedc1a7103ae01b7a120029943cc5ee545bb37f3c8 [2024-01-04T08:44:00.449Z] #16 writing image sha256:782f6cc2fec1d061681a0ffedc1a7103ae01b7a120029943cc5ee545bb37f3c8 done [2024-01-04T08:44:00.449Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-04T08:44:00.449Z] #16 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:44:01.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-04T08:44:01.172Z] [2024-01-04T08:44:01.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:44:01.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-04T08:44:02.935Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-04T08:44:02.935Z] 8998bd30e6a1: Pulling fs layer [2024-01-04T08:44:02.935Z] 04944245beec: Pulling fs layer [2024-01-04T08:44:02.935Z] 699f458cf7ca: Pulling fs layer [2024-01-04T08:44:02.935Z] 765212b225bb: Pulling fs layer [2024-01-04T08:44:02.935Z] f23df028b6ca: Pulling fs layer [2024-01-04T08:44:02.935Z] 765212b225bb: Waiting [2024-01-04T08:44:02.935Z] d65c8cfc05b1: Pulling fs layer [2024-01-04T08:44:02.935Z] f23df028b6ca: Waiting [2024-01-04T08:44:02.935Z] 2437ff75d9bd: Pulling fs layer [2024-01-04T08:44:02.935Z] d65c8cfc05b1: Waiting [2024-01-04T08:44:02.935Z] 2437ff75d9bd: Waiting [2024-01-04T08:44:02.935Z] 04944245beec: Verifying Checksum [2024-01-04T08:44:02.935Z] 04944245beec: Download complete [2024-01-04T08:44:02.935Z] 765212b225bb: Verifying Checksum [2024-01-04T08:44:02.935Z] 765212b225bb: Download complete [2024-01-04T08:44:03.202Z] f23df028b6ca: Download complete [2024-01-04T08:44:03.202Z] d65c8cfc05b1: Verifying Checksum [2024-01-04T08:44:03.202Z] d65c8cfc05b1: Download complete [2024-01-04T08:44:03.202Z] 699f458cf7ca: Verifying Checksum [2024-01-04T08:44:03.202Z] 699f458cf7ca: Download complete [2024-01-04T08:44:03.468Z] 8998bd30e6a1: Verifying Checksum [2024-01-04T08:44:03.468Z] 8998bd30e6a1: Download complete [2024-01-04T08:44:05.408Z] 2437ff75d9bd: Verifying Checksum [2024-01-04T08:44:05.408Z] 2437ff75d9bd: Download complete [2024-01-04T08:44:09.657Z] 8998bd30e6a1: Pull complete [2024-01-04T08:44:10.240Z] 04944245beec: Pull complete [2024-01-04T08:44:12.186Z] 699f458cf7ca: Pull complete [2024-01-04T08:44:12.186Z] 765212b225bb: Pull complete [2024-01-04T08:44:12.769Z] f23df028b6ca: Pull complete [2024-01-04T08:44:12.770Z] d65c8cfc05b1: Pull complete [2024-01-04T08:44:39.452Z] 2437ff75d9bd: Pull complete [2024-01-04T08:44:39.452Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-04T08:44:39.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-04T08:44:39.452Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:44:39.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-26730 does not seem to be running inside a container [2024-01-04T08:44:39.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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:arm64 cat [2024-01-04T08:44:41.024Z] $ docker top 8337beb6eb9226e744c24867e5512d68f72b880798b25308d2aacb1c82f55750 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:41.593Z] ---> job-cost.sh [2024-01-04T08:44:41.858Z] lf-activate-venv: SKIPPING [2024-01-04T08:44:41.858Z] INFO: No Stack... [2024-01-04T08:44:42.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-04T08:44:43.020Z] INFO: Archiving Costs [Pipeline] sh [2024-01-04T08:44:43.337Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2024-01-04T08:44:43.337Z] + cut -d, -f6 [Pipeline] lock [2024-01-04T08:44:43.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [2024-01-04T08:44:43.404Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] did not exist. Created. [2024-01-04T08:44:43.404Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-04T08:44:43.801Z] /w/workspace/device-sdk-c/8@tmp/durable-d38c6bea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-04T08:44:44.121Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-04T08:44:44.170Z] Warning: overwriting stash ‘stack-cost’ [2024-01-04T08:44:44.596Z] Stashed 1 file(s) [Pipeline] } [2024-01-04T08:44:44.602Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-04T08:44:44.681Z] $ docker stop --time=1 8337beb6eb9226e744c24867e5512d68f72b880798b25308d2aacb1c82f55750 [2024-01-04T08:44:46.187Z] $ docker rm -f --volumes 8337beb6eb9226e744c24867e5512d68f72b880798b25308d2aacb1c82f55750 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-01-04T08:44:47.932Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] [2024-01-04T08:44:47.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-04T08:44:47.932Z] total 16 [2024-01-04T08:44:47.932Z] drwxr-xr-x 3 root root 4096 Jan 4 08:40 . [2024-01-04T08:44:47.932Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 08:40 .. [2024-01-04T08:44:47.932Z] drwxr-xr-x 2 root root 4096 Jan 4 08:40 cost [2024-01-04T08:44:47.932Z] -rw-r--r-- 1 root root 84 Jan 4 08:40 cost.csv [2024-01-04T08:44:47.932Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-04T08:44:47.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-04T08:44:47.932Z] total 16 [2024-01-04T08:44:47.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 08:40 . [2024-01-04T08:44:47.932Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 08:40 .. [2024-01-04T08:44:47.932Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 08:40 cost [2024-01-04T08:44:47.932Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 4 08:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:48.233Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:49.097Z] ---> package-listing.sh [2024-01-04T08:44:49.097Z] ++ facter osfamily [2024-01-04T08:44:49.097Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-04T08:44:49.357Z] + OS_FAMILY=debian [2024-01-04T08:44:49.357Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 [2024-01-04T08:44:49.357Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-04T08:44:49.357Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-04T08:44:49.357Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-04T08:44:49.357Z] + PACKAGES=/tmp/packages_start.txt [2024-01-04T08:44:49.357Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-04T08:44:49.357Z] + PACKAGES=/tmp/packages_end.txt [2024-01-04T08:44:49.357Z] + case "${OS_FAMILY}" in [2024-01-04T08:44:49.357Z] + dpkg -l [2024-01-04T08:44:49.357Z] + grep '^ii' [2024-01-04T08:44:49.357Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-04T08:44:49.357Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-04T08:44:49.357Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-04T08:44:49.357Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-04T08:44:49.357Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [2024-01-04T08:44:49.357Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [Pipeline] echo [2024-01-04T08:44:49.369Z] 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-04T08:44:49.646Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-04T08:44:50.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-04T08:44:50.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-04T08:44:50.367Z] prd-ubuntu20.04-docker-8c-8g-26729 does not seem to be running inside a container [2024-01-04T08:44:50.407Z] $ 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-505/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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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-01-04T08:44:50.596Z] $ docker top b57c946656b544b30616846bf6080bc52e084042f78f125f678f716c7bc32d1c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-04T08:44:50.979Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-04T08:44:51.262Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-04T08:44:51.547Z] + ls /var/log/sa-host [2024-01-04T08:44:51.548Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-04T08:44:51.725Z] provisioning config files... [2024-01-04T08:44:51.733Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config3708503776880432540tmp [Pipeline] { [Pipeline] echo [2024-01-04T08:44:51.808Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:52.089Z] ---> create-netrc.sh [Pipeline] } [2024-01-04T08:44:52.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:52.486Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-04T08:44:52.498Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:52.788Z] ---> sudo-logs.sh [2024-01-04T08:44:52.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-04T08:44:52.841Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:53.125Z] ---> job-cost.sh [2024-01-04T08:44:53.125Z] lf-activate-venv: SKIPPING [2024-01-04T08:44:53.125Z] DEBUG: total: 0.2199999988079071 [2024-01-04T08:44:53.125Z] INFO: Retrieving Stack Cost... [2024-01-04T08:44:53.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-04T08:44:53.642Z] INFO: Archiving Costs [Pipeline] echo [2024-01-04T08:44:53.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-04T08:44:53.940Z] ---> logs-deploy.sh [2024-01-04T08:44:53.940Z] lf-activate-venv: SKIPPING [2024-01-04T08:44:53.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/8 [2024-01-04T08:44:53.940Z] INFO: archiving workspace using pattern(s): [2024-01-04T08:44:54.879Z] Archives upload complete. [2024-01-04T08:44:54.879Z] INFO: archiving logs to Nexus