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 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c 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-ssh8123514170463591826.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-ssh15158537936747709636.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-ssh11210513492327996269.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-ssh15763820910474567922.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-ssh11738633202966175735.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-26690 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 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c Merge succeeded, producing 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c Checking out Revision 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c # 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 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c # timeout=10 Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" First time build. Skipping changelog. > git rev-list --no-walk 4cb9380c29b0a5d10273cccf0d029e999cf1f39e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-03T10:00:06.295Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-03T10:00:06.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-03T10:00:06.411Z] ========================================================= [2024-01-03T10:00:06.412Z] EdgeX Global Pipelines Version Info [2024-01-03T10:00:06.412Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:00:07.516Z] ------------------- [2024-01-03T10:00:07.516Z] stable info: [2024-01-03T10:00:07.516Z] ------------------- [2024-01-03T10:00:07.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-03T10:00:07.516Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T10:00:07.516Z] Message: update stable to v1.0.258 [2024-01-03T10:00:07.776Z] ------------------- [2024-01-03T10:00:07.776Z] experimental info: [2024-01-03T10:00:07.776Z] ------------------- [2024-01-03T10:00:07.776Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-03T10:00:07.776Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T10:00:07.776Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-03T10:00:07.859Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-03T10:00:07.885Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-03T10:00:07.911Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-03T10:00:07.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-03T10:00:07.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-03T10:00:07.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-03T10:00:08.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-03T10:00:08.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-03T10:00:08.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-03T10:00:08.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-03T10:00:08.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-03T10:00:08.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-03T10:00:08.200Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-03T10:00:08.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-03T10:00:08.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-03T10:00:08.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-03T10:00:08.326Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-03T10:00:08.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-01-03T10:00:08.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-01-03T10:00:08.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-01-03T10:00:08.464Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] echo [2024-01-03T10:00:08.497Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a3a2c4 [Pipeline] echo [2024-01-03T10:00:08.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T10:00:08.623Z] provisioning config files... [2024-01-03T10:00:08.633Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config3255188088698448532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:00:08.963Z] ---> ****-login.sh [2024-01-03T10:00:08.964Z] nexus3.edgexfoundry.org:10001 [2024-01-03T10:00:09.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:09.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:09.227Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:09.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:09.227Z] [2024-01-03T10:00:09.227Z] Login Succeeded [2024-01-03T10:00:09.227Z] nexus3.edgexfoundry.org:10002 [2024-01-03T10:00:09.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:09.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:09.487Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:09.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:09.487Z] [2024-01-03T10:00:09.487Z] Login Succeeded [2024-01-03T10:00:09.487Z] nexus3.edgexfoundry.org:10003 [2024-01-03T10:00:09.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:09.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:09.487Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:09.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:09.487Z] [2024-01-03T10:00:09.487Z] Login Succeeded [2024-01-03T10:00:09.487Z] nexus3.edgexfoundry.org:10004 [2024-01-03T10:00:09.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:09.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:09.748Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:09.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:09.748Z] [2024-01-03T10:00:09.748Z] Login Succeeded [2024-01-03T10:00:09.748Z] ****.io [2024-01-03T10:00:09.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:10.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:10.318Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:10.318Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:10.318Z] [2024-01-03T10:00:10.318Z] Login Succeeded [2024-01-03T10:00:10.318Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T10:00:10.327Z] 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-03T10:00:10.801Z] + git rev-list -1 --merges 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c~1..0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] echo [2024-01-03T10:00:10.834Z] -----------> git rev-list -1 --merges 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c~1..0a3a2c435bfe856fc53d9f432e18122a0e1cd38c 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [false] [Pipeline] sh [2024-01-03T10:00:11.144Z] + git log --format=format:%s -1 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] echo [2024-01-03T10:00:11.160Z] ========================================================= [2024-01-03T10:00:11.160Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T10:00:11.160Z] ========================================================= 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-03T10:00:11.712Z] + git rev-list -1 --merges 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c~1..0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] echo [2024-01-03T10:00:11.723Z] -----------> git rev-list -1 --merges 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c~1..0a3a2c435bfe856fc53d9f432e18122a0e1cd38c 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [false] [Pipeline] sh [2024-01-03T10:00:12.022Z] + git log --format=format:%s -1 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] echo [2024-01-03T10:00:12.037Z] ========================================================= [2024-01-03T10:00:12.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T10:00:12.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-03T10:00:12.506Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-03T10:00:12.506Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-03T10:00:12.506Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-03T10:00:12.506Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-03T10:00:12.506Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-03T10:00:12.506Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-03T10:00:12.506Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:00:12.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:00:12.947Z] [2024-01-03T10:00:12.947Z] 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-03T10:00:13.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:00:13.305Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-03T10:00:13.305Z] b85a868b505f: Pulling fs layer [2024-01-03T10:00:13.305Z] e2be974225ed: Pulling fs layer [2024-01-03T10:00:13.305Z] 339a4e72a1f5: Pulling fs layer [2024-01-03T10:00:13.305Z] 988bab9f4d93: Pulling fs layer [2024-01-03T10:00:13.305Z] 1469e6f7b9e6: Pulling fs layer [2024-01-03T10:00:13.305Z] 988bab9f4d93: Waiting [2024-01-03T10:00:13.305Z] eaf3925da568: Pulling fs layer [2024-01-03T10:00:13.305Z] 1469e6f7b9e6: Waiting [2024-01-03T10:00:13.305Z] bab4dde63d76: Pulling fs layer [2024-01-03T10:00:13.305Z] bde34c3a00c8: Pulling fs layer [2024-01-03T10:00:13.305Z] b352a97aabf1: Pulling fs layer [2024-01-03T10:00:13.305Z] 4872d77fe225: Pulling fs layer [2024-01-03T10:00:13.305Z] eaf3925da568: Waiting [2024-01-03T10:00:13.305Z] bab4dde63d76: Waiting [2024-01-03T10:00:13.305Z] bde34c3a00c8: Waiting [2024-01-03T10:00:13.305Z] 5851b861e8e6: Pulling fs layer [2024-01-03T10:00:13.305Z] b352a97aabf1: Waiting [2024-01-03T10:00:13.305Z] 4872d77fe225: Waiting [2024-01-03T10:00:13.305Z] e2be974225ed: Verifying Checksum [2024-01-03T10:00:13.305Z] e2be974225ed: Download complete [2024-01-03T10:00:13.305Z] 988bab9f4d93: Download complete [2024-01-03T10:00:13.569Z] 1469e6f7b9e6: Verifying Checksum [2024-01-03T10:00:13.569Z] 1469e6f7b9e6: Download complete [2024-01-03T10:00:13.569Z] eaf3925da568: Verifying Checksum [2024-01-03T10:00:13.569Z] eaf3925da568: Download complete [2024-01-03T10:00:13.569Z] 339a4e72a1f5: Verifying Checksum [2024-01-03T10:00:13.569Z] 339a4e72a1f5: Download complete [2024-01-03T10:00:13.569Z] bde34c3a00c8: Download complete [2024-01-03T10:00:13.569Z] b352a97aabf1: Download complete [2024-01-03T10:00:13.569Z] 4872d77fe225: Verifying Checksum [2024-01-03T10:00:13.569Z] 4872d77fe225: Download complete [2024-01-03T10:00:13.569Z] 5851b861e8e6: Download complete [2024-01-03T10:00:13.569Z] b85a868b505f: Verifying Checksum [2024-01-03T10:00:13.569Z] b85a868b505f: Download complete [2024-01-03T10:00:13.831Z] bab4dde63d76: Verifying Checksum [2024-01-03T10:00:13.831Z] bab4dde63d76: Download complete [2024-01-03T10:00:14.770Z] b85a868b505f: Pull complete [2024-01-03T10:00:15.029Z] e2be974225ed: Pull complete [2024-01-03T10:00:15.292Z] 339a4e72a1f5: Pull complete [2024-01-03T10:00:15.553Z] 988bab9f4d93: Pull complete [2024-01-03T10:00:15.814Z] 1469e6f7b9e6: Pull complete [2024-01-03T10:00:15.814Z] eaf3925da568: Pull complete [2024-01-03T10:00:17.726Z] bab4dde63d76: Pull complete [2024-01-03T10:00:17.726Z] bde34c3a00c8: Pull complete [2024-01-03T10:00:17.986Z] b352a97aabf1: Pull complete [2024-01-03T10:00:17.986Z] 4872d77fe225: Pull complete [2024-01-03T10:00:18.246Z] 5851b861e8e6: Pull complete [2024-01-03T10:00:18.246Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-03T10:00:18.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:00:18.246Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:00:18.426Z] prd-ubuntu20.04-docker-8c-8g-26690 does not seem to be running inside a container [2024-01-03T10:00:18.458Z] $ 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-03T10:00:21.075Z] $ docker top f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 -eo pid,comm [2024-01-03T10:00:21.141Z] 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-03T10:00:21.141Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-03T10:00:21.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T10:00:21.231Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T10:00:21.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T10:00:21.349Z] $ docker exec f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 ssh-agent [2024-01-03T10:00:21.461Z] SSH_AUTH_SOCK=/tmp/ssh-NhHM6YsDYpe1/agent.32 [2024-01-03T10:00:21.461Z] SSH_AGENT_PID=38 [2024-01-03T10:00:21.468Z] Running ssh-add (command line suppressed) [2024-01-03T10:00:21.585Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_15118330467440643205.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_15118330467440643205.key) [2024-01-03T10:00:21.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T10:00:21.901Z] + git tag --points-at HEAD [Pipeline] } [2024-01-03T10:00:21.910Z] $ docker exec --env ******** --env ******** f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 ssh-agent -k [2024-01-03T10:00:22.013Z] unset SSH_AUTH_SOCK; [2024-01-03T10:00:22.013Z] unset SSH_AGENT_PID; [2024-01-03T10:00:22.013Z] echo Agent pid 38 killed; [2024-01-03T10:00:22.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-03T10:00:22.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T10:00:22.107Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T10:00:22.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T10:00:22.221Z] $ docker exec f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 ssh-agent [2024-01-03T10:00:22.330Z] SSH_AUTH_SOCK=/tmp/ssh-NeASIWxua2nm/agent.70 [2024-01-03T10:00:22.330Z] SSH_AGENT_PID=76 [2024-01-03T10:00:22.335Z] Running ssh-add (command line suppressed) [2024-01-03T10:00:22.435Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_1207499943941600291.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_1207499943941600291.key) [2024-01-03T10:00:22.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T10:00:22.759Z] + git semver init [2024-01-03T10:00:23.019Z] 2024-01-03 10:00:22,928 [run_init] DEBUG init version:0.0.0 force:False [2024-01-03T10:00:23.019Z] 2024-01-03 10:00:22,929 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-03T10:00:23.019Z] 2024-01-03 10:00:22,929 [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-03T10:00:23.019Z] 2024-01-03 10:00:22,930 [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-03T10:00:23.962Z] 2024-01-03 10:00:23,861 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude [2024-01-03T10:00:23.962Z] 2024-01-03 10:00:23,862 [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-03T10:00:23.962Z] 2024-01-03 10:00:23,863 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T10:00:23.962Z] 2024-01-03 10:00:23,868 [execute] INFO git cat-file --batch-check [2024-01-03T10:00:23.962Z] 2024-01-03 10:00:23,868 [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-03T10:00:23.962Z] 2024-01-03 10:00:23,875 [execute] INFO git cat-file --batch [2024-01-03T10:00:23.962Z] 2024-01-03 10:00:23,875 [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-03T10:00:23.962Z] 2024-01-03 10:00:23,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T10:00:23.962Z] 0.0.0 [Pipeline] } [2024-01-03T10:00:23.970Z] $ docker exec --env ******** --env ******** f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 ssh-agent -k [2024-01-03T10:00:24.100Z] unset SSH_AUTH_SOCK; [2024-01-03T10:00:24.101Z] unset SSH_AGENT_PID; [2024-01-03T10:00:24.101Z] echo Agent pid 76 killed; [2024-01-03T10:00:24.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-03T10:00:24.485Z] + git semver [Pipeline] } [2024-01-03T10:00:24.759Z] $ docker stop --time=1 f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 [2024-01-03T10:00:26.047Z] $ docker rm -f --volumes f44b4c0df1d52d9bb9a6d4a98fc34b4b7622976424352828ff7452b7e41d48b1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-03T10:00:26.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-03T10:00:26.646Z] Stashed 1 file(s) [Pipeline] echo [2024-01-03T10:00:26.648Z] [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-03T10:00:26.932Z] provisioning config files... [2024-01-03T10:00:26.944Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config2570999888220477299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:00:27.257Z] ---> ****-login.sh [2024-01-03T10:00:27.258Z] nexus3.edgexfoundry.org:10001 [2024-01-03T10:00:27.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:27.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:27.258Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:27.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:27.258Z] [2024-01-03T10:00:27.258Z] Login Succeeded [2024-01-03T10:00:27.258Z] nexus3.edgexfoundry.org:10002 [2024-01-03T10:00:27.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:27.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:27.258Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:27.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:27.258Z] [2024-01-03T10:00:27.258Z] Login Succeeded [2024-01-03T10:00:27.258Z] nexus3.edgexfoundry.org:10003 [2024-01-03T10:00:27.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:27.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:27.519Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:27.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:27.519Z] [2024-01-03T10:00:27.519Z] Login Succeeded [2024-01-03T10:00:27.519Z] nexus3.edgexfoundry.org:10004 [2024-01-03T10:00:27.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:27.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:27.519Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:27.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:27.519Z] [2024-01-03T10:00:27.519Z] Login Succeeded [2024-01-03T10:00:27.519Z] ****.io [2024-01-03T10:00:27.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:00:27.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:00:27.778Z] Configure a credential helper to remove this warning. See [2024-01-03T10:00:27.778Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:00:27.778Z] [2024-01-03T10:00:27.778Z] Login Succeeded [2024-01-03T10:00:27.778Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T10:00:27.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T10:00:27.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:00:27.950Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-03T10:00:27.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:00:28.008Z] ========================================================= [2024-01-03T10:00:28.008Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-03T10:00:28.008Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:00:28.369Z] + 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-03T10:00:28.369Z] Sending build context to Docker daemon 4.966MB [2024-01-03T10:00:28.369Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-03T10:00:28.369Z] Step 2/21 : FROM ${BASE} as builder [2024-01-03T10:00:28.369Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-03T10:00:28.369Z] 96526aa774ef: Pulling fs layer [2024-01-03T10:00:28.369Z] da60e534fd72: Pulling fs layer [2024-01-03T10:00:28.628Z] 96526aa774ef: Verifying Checksum [2024-01-03T10:00:28.628Z] 96526aa774ef: Download complete [2024-01-03T10:00:28.628Z] 96526aa774ef: Pull complete [2024-01-03T10:00:29.196Z] da60e534fd72: Verifying Checksum [2024-01-03T10:00:29.196Z] da60e534fd72: Download complete [2024-01-03T10:00:32.483Z] da60e534fd72: Pull complete [2024-01-03T10:00:32.483Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-03T10:00:32.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-03T10:00:32.483Z] ---> 6605166a5db4 [2024-01-03T10:00:32.483Z] 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-03T10:00:35.030Z] ---> Running in f371160518e5 [2024-01-03T10:00:35.030Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T10:00:35.293Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:00:35.293Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:00:35.293Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:00:35.552Z] Removing intermediate container f371160518e5 [2024-01-03T10:00:35.552Z] ---> ad7520590877 [2024-01-03T10:00:35.552Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:00:35.812Z] ---> Running in befd56e5db2c [2024-01-03T10:00:36.381Z] Removing intermediate container befd56e5db2c [2024-01-03T10:00:36.381Z] ---> 4ed04034ab8b [2024-01-03T10:00:36.381Z] 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-03T10:00:36.381Z] ---> Running in a9e62241325f [2024-01-03T10:00:36.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:36.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:37.165Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:37.738Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:00:37.738Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T10:00:37.738Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:00:37.738Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:00:38.309Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:00:38.569Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:00:38.569Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T10:00:38.828Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:00:38.828Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:00:38.828Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:00:38.828Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:00:38.828Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:00:38.828Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T10:00:38.828Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T10:00:38.828Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T10:00:38.828Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-03T10:00:38.828Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:00:38.828Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:00:38.828Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:00:38.828Z] OK: 336 MiB in 99 packages [2024-01-03T10:00:39.780Z] Removing intermediate container a9e62241325f [2024-01-03T10:00:39.780Z] ---> 86cc6bab0320 [2024-01-03T10:00:39.780Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-03T10:00:39.780Z] ---> Running in edf66ba57d78 [2024-01-03T10:00:40.350Z] Removing intermediate container edf66ba57d78 [2024-01-03T10:00:40.350Z] ---> 5f2d356aeb87 [2024-01-03T10:00:40.350Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-03T10:00:40.350Z] ---> 4a6dc922cded [2024-01-03T10:00:40.350Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-03T10:00:40.611Z] ---> ca2e5d18087d [2024-01-03T10:00:40.611Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-03T10:00:40.873Z] ---> d39eeaf54dac [2024-01-03T10:00:40.873Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-03T10:00:40.873Z] ---> c3732ec039dd [2024-01-03T10:00:40.873Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-03T10:00:41.133Z] ---> e6bd96cdd4cc [2024-01-03T10:00:41.133Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-03T10:00:41.133Z] ---> eed17005cf2a [2024-01-03T10:00:41.133Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T10:00:41.133Z] ---> Running in e170e9fb172b [2024-01-03T10:00:41.392Z] + CPPCHECK=false [2024-01-03T10:00:41.392Z] + DOCGEN=false [2024-01-03T10:00:41.392Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T10:00:41.392Z] + '[' 0 -gt 0 ] [2024-01-03T10:00:41.392Z] + readlink -f ./scripts/build.sh [2024-01-03T10:00:41.392Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-03T10:00:41.392Z] + dirname /tmp/sdk/scripts [2024-01-03T10:00:41.392Z] + ROOT=/tmp/sdk [2024-01-03T10:00:41.392Z] + cd /tmp/sdk [2024-01-03T10:00:41.392Z] + mkdir -p /tmp/sdk/build/release [2024-01-03T10:00:41.392Z] + cd /tmp/sdk/build/release [2024-01-03T10:00:41.392Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T10:00:41.651Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:00:41.651Z] -- Detecting C compiler ABI info [2024-01-03T10:00:41.651Z] -- Detecting C compiler ABI info - done [2024-01-03T10:00:41.651Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:00:41.651Z] -- Detecting C compile features [2024-01-03T10:00:41.651Z] -- Detecting C compile features - done [2024-01-03T10:00:41.651Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:00:41.651Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:00:41.651Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:00:41.651Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:00:41.651Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:00:41.651Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:00:41.651Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:00:41.651Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:00:41.651Z] -- /opt/iotech/iot/1.5/include [2024-01-03T10:00:41.651Z] -- C SDK 0.0.0 for Linux [2024-01-03T10:00:41.651Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:00:41.848Z] Still waiting to schedule task [2024-01-03T10:00:41.848Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-03T10:00:41.909Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:00:41.909Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:00:41.909Z] -- Configuring done (0.4s) [2024-01-03T10:00:41.909Z] -- Generating done (0.0s) [2024-01-03T10:00:41.909Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T10:00:41.909Z] + make all package [2024-01-03T10:00:41.909Z] + tee release.log [2024-01-03T10:00:41.909Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:00:42.168Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:00:42.168Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:00:42.426Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:00:42.426Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:00:42.426Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:00:42.993Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:00:42.993Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T10:00:42.993Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:00:42.993Z] 294 | while (privateConfig) [2024-01-03T10:00:42.993Z] | ^~~~~~~~~~~~~ [2024-01-03T10:00:42.993Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T10:00:42.993Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:00:42.993Z] | ^~~~~~~~~~~~~ [2024-01-03T10:00:42.993Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:00:42.993Z] 271 | while (result) [2024-01-03T10:00:42.993Z] | ^~~~~~ [2024-01-03T10:00:42.993Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T10:00:42.993Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:00:42.993Z] | ^~~~~~ [2024-01-03T10:00:42.993Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:00:42.993Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:00:43.253Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:00:43.513Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:00:43.513Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:00:43.772Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:00:43.772Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:00:43.772Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:00:44.031Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:00:44.031Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:00:44.291Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:00:44.549Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:00:44.549Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:00:44.807Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:00:45.742Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:00:45.742Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:00:46.001Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:00:46.001Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:00:46.001Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:00:46.259Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:00:46.520Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:00:46.779Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:00:46.779Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:00:46.779Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:00:47.039Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:00:47.039Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:00:47.039Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:00:47.039Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:00:47.039Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:00:47.039Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:00:47.039Z] | ^ [2024-01-03T10:00:47.039Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:00:47.039Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T10:00:47.039Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:00:47.039Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T10:00:47.039Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T10:00:47.039Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:00:47.299Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:00:47.299Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:00:47.559Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:00:47.559Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:00:47.559Z] [ 68%] Built target csdk [2024-01-03T10:00:47.559Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:00:47.818Z] [ 72%] Linking C executable template [2024-01-03T10:00:47.818Z] [ 72%] Built target template [2024-01-03T10:00:47.818Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:00:47.818Z] [ 76%] Linking C executable device-counter [2024-01-03T10:00:48.078Z] [ 76%] Built target device-counter [2024-01-03T10:00:48.078Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:00:48.078Z] [ 80%] Linking C executable device-random [2024-01-03T10:00:48.078Z] [ 80%] Built target device-random [2024-01-03T10:00:48.078Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:00:48.338Z] [ 84%] Linking C executable device-gyro [2024-01-03T10:00:48.338Z] [ 84%] Built target device-gyro [2024-01-03T10:00:48.338Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:00:48.338Z] [ 88%] Linking C executable device-bitfields [2024-01-03T10:00:48.599Z] [ 88%] Built target device-bitfields [2024-01-03T10:00:48.599Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:00:48.599Z] [ 92%] Linking C executable template-discovery [2024-01-03T10:00:48.599Z] [ 92%] Built target template-discovery [2024-01-03T10:00:48.860Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:00:48.860Z] [ 96%] Linking C executable device-file [2024-01-03T10:00:48.860Z] [ 96%] Built target device-file [2024-01-03T10:00:48.860Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:00:49.121Z] [100%] Linking C executable device-terminal [2024-01-03T10:00:49.121Z] [100%] Built target device-terminal [2024-01-03T10:00:49.121Z] Run CPack packaging tool... [2024-01-03T10:00:49.121Z] CPack: Create package using TGZ [2024-01-03T10:00:49.121Z] CPack: Install projects [2024-01-03T10:00:49.121Z] CPack: - Run preinstall target for: Csdk [2024-01-03T10:00:49.381Z] CPack: - Install project: Csdk [] [2024-01-03T10:00:49.381Z] CPack: Create package [2024-01-03T10:00:49.381Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T10:00:49.381Z] + '[' false '=' true ] [2024-01-03T10:00:49.381Z] + '[' false '=' true ] [2024-01-03T10:00:49.381Z] + mkdir -p /tmp/sdk/build/debug [2024-01-03T10:00:49.381Z] + cd /tmp/sdk/build/debug [2024-01-03T10:00:49.381Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T10:00:49.381Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:00:49.381Z] -- Detecting C compiler ABI info [2024-01-03T10:00:49.640Z] -- Detecting C compiler ABI info - done [2024-01-03T10:00:49.640Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:00:49.640Z] -- Detecting C compile features [2024-01-03T10:00:49.640Z] -- Detecting C compile features - done [2024-01-03T10:00:49.640Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:00:49.640Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:00:49.640Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:00:49.640Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:00:49.640Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:00:49.640Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:00:49.640Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:00:49.640Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:00:49.640Z] -- /opt/iotech/iot/1.5/include [2024-01-03T10:00:49.640Z] -- C SDK 0.0.0 for Linux [2024-01-03T10:00:49.640Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:00:49.640Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:00:49.899Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:00:49.900Z] -- Configuring done (0.4s) [2024-01-03T10:00:49.900Z] -- Generating done (0.0s) [2024-01-03T10:00:49.900Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T10:00:49.900Z] + make [2024-01-03T10:00:49.900Z] + tee debug.log [2024-01-03T10:00:49.900Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:00:49.900Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:00:50.159Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:00:50.159Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:00:50.159Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:00:50.159Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:00:50.418Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:00:50.418Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:00:50.418Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:00:50.678Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:00:50.678Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:00:50.678Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:00:50.936Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:00:50.936Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:00:50.936Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:00:50.936Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:00:51.195Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:00:51.195Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:00:51.195Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:00:51.195Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:00:51.453Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:00:51.712Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:00:51.712Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:00:51.712Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:00:51.712Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:00:51.971Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:00:51.971Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:00:52.231Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:00:52.231Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:00:52.231Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:00:52.490Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:00:52.490Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:00:52.490Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:00:52.490Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:00:52.490Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:00:52.490Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:00:52.490Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:00:52.490Z] | ^ [2024-01-03T10:00:52.490Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:00:52.490Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:00:52.749Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:00:52.749Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:00:52.749Z] [ 68%] Built target csdk [2024-01-03T10:00:52.749Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:00:52.749Z] [ 72%] Linking C executable template [2024-01-03T10:00:53.007Z] [ 72%] Built target template [2024-01-03T10:00:53.007Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:00:53.007Z] [ 76%] Linking C executable device-counter [2024-01-03T10:00:53.007Z] [ 76%] Built target device-counter [2024-01-03T10:00:53.007Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:00:53.266Z] [ 80%] Linking C executable device-random [2024-01-03T10:00:53.266Z] [ 80%] Built target device-random [2024-01-03T10:00:53.266Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:00:53.266Z] [ 84%] Linking C executable device-gyro [2024-01-03T10:00:53.266Z] [ 84%] Built target device-gyro [2024-01-03T10:00:53.266Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:00:53.526Z] [ 88%] Linking C executable device-bitfields [2024-01-03T10:00:53.526Z] [ 88%] Built target device-bitfields [2024-01-03T10:00:53.526Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:00:53.526Z] [ 92%] Linking C executable template-discovery [2024-01-03T10:00:53.526Z] [ 92%] Built target template-discovery [2024-01-03T10:00:53.791Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:00:53.791Z] [ 96%] Linking C executable device-file [2024-01-03T10:00:53.791Z] [ 96%] Built target device-file [2024-01-03T10:00:53.791Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:00:53.791Z] [100%] Linking C executable device-terminal [2024-01-03T10:00:54.050Z] [100%] Built target device-terminal [2024-01-03T10:00:54.050Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-03T10:00:54.050Z] [ 68%] Built target csdk [2024-01-03T10:00:54.050Z] [ 72%] Built target template [2024-01-03T10:00:54.050Z] [ 76%] Built target device-counter [2024-01-03T10:00:54.050Z] [ 80%] Built target device-random [2024-01-03T10:00:54.050Z] [ 84%] Built target device-gyro [2024-01-03T10:00:54.050Z] [ 88%] Built target device-bitfields [2024-01-03T10:00:54.050Z] [ 92%] Built target template-discovery [2024-01-03T10:00:54.050Z] [ 96%] Built target device-file [2024-01-03T10:00:54.050Z] [100%] Built target device-terminal [2024-01-03T10:00:54.350Z] Install the project... [2024-01-03T10:00:54.350Z] -- Install configuration: "Release" [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T10:00:54.350Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/devsdk [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T10:00:54.350Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T10:00:54.350Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T10:00:54.918Z] Removing intermediate container e170e9fb172b [2024-01-03T10:00:54.918Z] ---> 86d03c46847e [2024-01-03T10:00:54.918Z] Step 14/21 : FROM ${BASE} [2024-01-03T10:00:54.918Z] ---> 6605166a5db4 [2024-01-03T10:00:54.918Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-03T10:00:54.918Z] ---> Running in 50ddbaddb1f3 [2024-01-03T10:00:54.918Z] Removing intermediate container 50ddbaddb1f3 [2024-01-03T10:00:54.918Z] ---> 26ab20fbf293 [2024-01-03T10:00:54.918Z] 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-03T10:00:54.918Z] ---> Running in bb1739a7e94f [2024-01-03T10:00:55.184Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T10:00:55.793Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:00:55.793Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:00:55.793Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:00:56.055Z] Removing intermediate container bb1739a7e94f [2024-01-03T10:00:56.055Z] ---> 1029e57d0a04 [2024-01-03T10:00:56.055Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:00:56.055Z] ---> Running in 06c393ce4762 [2024-01-03T10:00:56.632Z] Removing intermediate container 06c393ce4762 [2024-01-03T10:00:56.632Z] ---> 0c3620e9f751 [2024-01-03T10:00:56.632Z] 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-03T10:00:56.632Z] ---> Running in 9303da4f930f [2024-01-03T10:00:56.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:56.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:57.175Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:00:57.743Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:00:57.743Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:00:57.743Z] (2/9) Installing curl (8.5.0-r0) [2024-01-03T10:00:57.743Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:00:57.743Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T10:00:57.743Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:00:57.743Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:00:58.310Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:00:58.569Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T10:00:58.858Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T10:00:58.858Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:00:58.858Z] OK: 331 MiB in 89 packages [2024-01-03T10:00:59.117Z] Removing intermediate container 9303da4f930f [2024-01-03T10:00:59.117Z] ---> bc7b72f77b5e [2024-01-03T10:00:59.117Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T10:00:59.376Z] ---> 46db2ac9d40a [2024-01-03T10:00:59.376Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T10:00:59.376Z] ---> 434707fb5c2b [2024-01-03T10:00:59.376Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T10:00:59.635Z] ---> 69fde72981fd [2024-01-03T10:00:59.635Z] Successfully built 69fde72981fd [2024-01-03T10:00:59.635Z] 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-03T10:01:00.187Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-03T10:01:00.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:01:00.291Z] prd-ubuntu20.04-docker-8c-8g-26690 does not seem to be running inside a container [2024-01-03T10:01:00.319Z] $ 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-03T10:01:00.648Z] $ docker top e6c97249da67b80a7c097dbbe02d52bbf372572a1a9b0313bf0407eac0bf240f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T10:01:01.024Z] + make test [2024-01-03T10:01:01.024Z] echo "make test" [2024-01-03T10:01:01.024Z] make test [Pipeline] } [2024-01-03T10:01:01.030Z] $ docker stop --time=1 e6c97249da67b80a7c097dbbe02d52bbf372572a1a9b0313bf0407eac0bf240f [2024-01-03T10:01:02.292Z] $ docker rm -f --volumes e6c97249da67b80a7c097dbbe02d52bbf372572a1a9b0313bf0407eac0bf240f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T10:01:03.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T10:01:03.339Z] + ls -al . [2024-01-03T10:01:03.339Z] total 212 [2024-01-03T10:01:03.339Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 10:00 . [2024-01-03T10:01:03.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:00 .. [2024-01-03T10:01:03.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 10:00 .git [2024-01-03T10:01:03.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 10:00 .github [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 10:00 .gitignore [2024-01-03T10:01:03.339Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 10:00 .semver [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 10:00 Attribution.txt [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 10:00 CHANGELOG.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 10:00 Doxyfile [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 10:00 GOVERNANCE.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 10:00 Jenkinsfile [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 10:00 LICENSE [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 10:00 Makefile [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 10:00 OWNERS.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 10:00 README.IOT.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 10:00 README.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 10:00 README.v3.md [2024-01-03T10:01:03.339Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 10:00 VERSION [2024-01-03T10:01:03.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:00 docs [2024-01-03T10:01:03.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:00 include [2024-01-03T10:01:03.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:00 scripts [2024-01-03T10:01:03.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:01:03.688Z] + 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=0a3a2c435bfe856fc53d9f432e18122a0e1cd38c --label arch=amd64 --label version=0.0.0 . [2024-01-03T10:01:03.688Z] Sending build context to Docker daemon 4.966MB [2024-01-03T10:01:03.688Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-03T10:01:03.688Z] Step 2/17 : FROM ${BASE} [2024-01-03T10:01:03.688Z] ---> 69fde72981fd [2024-01-03T10:01:03.688Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-03T10:01:03.946Z] ---> Running in 298173c6eec7 [2024-01-03T10:01:03.946Z] Removing intermediate container 298173c6eec7 [2024-01-03T10:01:03.946Z] ---> be5d5a986438 [2024-01-03T10:01:03.946Z] 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-03T10:01:03.946Z] ---> Running in cd8c3fd1c315 [2024-01-03T10:01:04.205Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T10:01:04.773Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:01:04.773Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:01:04.773Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:01:04.773Z] Removing intermediate container cd8c3fd1c315 [2024-01-03T10:01:04.773Z] ---> e6847ce35b7a [2024-01-03T10:01:04.773Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:01:04.773Z] ---> Running in 00ddb7a4d6bb [2024-01-03T10:01:05.339Z] Removing intermediate container 00ddb7a4d6bb [2024-01-03T10:01:05.340Z] ---> 2ec0e905cf1c [2024-01-03T10:01:05.340Z] 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-03T10:01:05.340Z] ---> Running in 85fb5a28892e [2024-01-03T10:01:05.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:01:05.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:01:05.908Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:01:06.476Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:01:06.476Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:01:06.736Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:01:06.736Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:01:06.736Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:01:06.736Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:01:06.736Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:01:06.736Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T10:01:06.736Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T10:01:06.736Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-03T10:01:06.736Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:01:06.736Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:01:06.995Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:01:06.995Z] OK: 336 MiB in 100 packages [2024-01-03T10:01:07.590Z] Removing intermediate container 85fb5a28892e [2024-01-03T10:01:07.590Z] ---> 488c2a3193ab [2024-01-03T10:01:07.590Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-03T10:01:07.590Z] ---> a3154b0c9694 [2024-01-03T10:01:07.590Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-03T10:01:07.850Z] ---> c5bc9707b564 [2024-01-03T10:01:07.850Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-03T10:01:07.850Z] ---> 95f8f3e17147 [2024-01-03T10:01:07.850Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-03T10:01:08.111Z] ---> 6ed8d0df7df1 [2024-01-03T10:01:08.111Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-03T10:01:08.111Z] ---> a96585c15b24 [2024-01-03T10:01:08.112Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T10:01:08.112Z] ---> 61244db0e4ff [2024-01-03T10:01:08.112Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-03T10:01:08.112Z] ---> Running in f9992a12dfec [2024-01-03T10:01:08.370Z] Removing intermediate container f9992a12dfec [2024-01-03T10:01:08.370Z] ---> 59b0a641c59a [2024-01-03T10:01:08.370Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-03T10:01:08.370Z] ---> Running in 1c3e59c746a4 [2024-01-03T10:01:08.370Z] Removing intermediate container 1c3e59c746a4 [2024-01-03T10:01:08.370Z] ---> 93f24e3e1138 [2024-01-03T10:01:08.370Z] Step 15/17 : LABEL arch=amd64 [2024-01-03T10:01:08.370Z] ---> Running in c3563e488108 [2024-01-03T10:01:08.629Z] Removing intermediate container c3563e488108 [2024-01-03T10:01:08.629Z] ---> d5d5be9bfdf4 [2024-01-03T10:01:08.629Z] Step 16/17 : LABEL git_sha=0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [2024-01-03T10:01:08.629Z] ---> Running in 30fd5b79e8ad [2024-01-03T10:01:08.629Z] Removing intermediate container 30fd5b79e8ad [2024-01-03T10:01:08.629Z] ---> 51012980f565 [2024-01-03T10:01:08.629Z] Step 17/17 : LABEL version=0.0.0 [2024-01-03T10:01:08.629Z] ---> Running in a849c878fc24 [2024-01-03T10:01:08.629Z] Removing intermediate container a849c878fc24 [2024-01-03T10:01:08.629Z] ---> f61c8b0c5ed7 [2024-01-03T10:01:08.629Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-03T10:01:08.629Z] Successfully built f61c8b0c5ed7 [2024-01-03T10:01:08.629Z] 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-03T10:01:09.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:01:09.358Z] [2024-01-03T10:01:09.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:01:09.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:01:09.683Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-03T10:01:09.683Z] 5eb5b503b376: Pulling fs layer [2024-01-03T10:01:09.683Z] 5c69ac0246d0: Pulling fs layer [2024-01-03T10:01:09.683Z] ec43610c2a17: Pulling fs layer [2024-01-03T10:01:09.683Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-03T10:01:09.683Z] 33b1e0a273af: Pulling fs layer [2024-01-03T10:01:09.683Z] 5d3b04190fa2: Pulling fs layer [2024-01-03T10:01:09.683Z] 3a2ae6a8a46f: Waiting [2024-01-03T10:01:09.683Z] 33b1e0a273af: Waiting [2024-01-03T10:01:09.683Z] 2f39f015ded8: Pulling fs layer [2024-01-03T10:01:09.683Z] 5d3b04190fa2: Waiting [2024-01-03T10:01:09.683Z] 2f39f015ded8: Waiting [2024-01-03T10:01:09.683Z] 5c69ac0246d0: Download complete [2024-01-03T10:01:09.683Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-03T10:01:09.683Z] 3a2ae6a8a46f: Download complete [2024-01-03T10:01:09.683Z] 33b1e0a273af: Verifying Checksum [2024-01-03T10:01:09.683Z] 33b1e0a273af: Download complete [2024-01-03T10:01:09.683Z] ec43610c2a17: Verifying Checksum [2024-01-03T10:01:09.683Z] ec43610c2a17: Download complete [2024-01-03T10:01:09.683Z] 5d3b04190fa2: Verifying Checksum [2024-01-03T10:01:09.683Z] 5d3b04190fa2: Download complete [2024-01-03T10:01:09.951Z] 5eb5b503b376: Verifying Checksum [2024-01-03T10:01:09.951Z] 5eb5b503b376: Download complete [2024-01-03T10:01:10.519Z] 2f39f015ded8: Download complete [2024-01-03T10:01:11.086Z] 5eb5b503b376: Pull complete [2024-01-03T10:01:11.345Z] 5c69ac0246d0: Pull complete [2024-01-03T10:01:11.914Z] ec43610c2a17: Pull complete [2024-01-03T10:01:11.914Z] 3a2ae6a8a46f: Pull complete [2024-01-03T10:01:12.173Z] 33b1e0a273af: Pull complete [2024-01-03T10:01:12.174Z] 5d3b04190fa2: Pull complete [2024-01-03T10:01:17.442Z] 2f39f015ded8: Pull complete [2024-01-03T10:01:17.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-03T10:01:17.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:01:17.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:01:17.614Z] prd-ubuntu20.04-docker-8c-8g-26690 does not seem to be running inside a container [2024-01-03T10:01:17.646Z] $ 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-03T10:01:22.679Z] $ docker top b8dd08ea97b747c9dab1684b22448c77272b8279d6dfe5b5b4bd7ae014bd7793 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:01:23.124Z] ---> job-cost.sh [2024-01-03T10:01:23.125Z] lf-activate-venv: SKIPPING [2024-01-03T10:01:23.125Z] INFO: No Stack... [2024-01-03T10:01:23.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T10:01:23.953Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T10:01:24.243Z] + + cut -d, -f6 [2024-01-03T10:01:24.243Z] cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv [Pipeline] lock [2024-01-03T10:01:24.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-6-stack-cost] [2024-01-03T10:01:24.267Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-6-stack-cost] did not exist. Created. [2024-01-03T10:01:24.267Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T10:01:24.615Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T10:01:24.659Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T10:01:24.666Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T10:01:24.724Z] $ docker stop --time=1 b8dd08ea97b747c9dab1684b22448c77272b8279d6dfe5b5b4bd7ae014bd7793 [2024-01-03T10:01:25.901Z] $ docker rm -f --volumes b8dd08ea97b747c9dab1684b22448c77272b8279d6dfe5b5b4bd7ae014bd7793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-03T10:02:26.070Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26691 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws [2024-01-03T10:02:26.108Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2024-01-03T10:02:29.180Z] Selected Git installation does not exist. Using Default [2024-01-03T10:02:29.180Z] The recommended git tool is: NONE [2024-01-03T10:02:37.825Z] using credential edgex-jenkins-ssh [2024-01-03T10:02:37.850Z] Cloning the remote Git repository [2024-01-03T10:02:37.906Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:02:38.018Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2024-01-03T10:02:38.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:02:38.275Z] > git --version # timeout=10 [2024-01-03T10:02:38.360Z] > git --version # 'git version 2.25.1' [2024-01-03T10:02:38.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T10:02:38.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T10:02:39.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T10:02:39.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T10:02:40.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T10:02:40.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:02:40.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T10:02:40.753Z] > 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-03T10:02:41.390Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-03T10:02:41.706Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-03T10:02:41.413Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T10:02:41.484Z] > git checkout -f 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c # timeout=10 [2024-01-03T10:02:42.575Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] [2024-01-03T10:02:42.575Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:02:42.575Z] total 16 [2024-01-03T10:02:42.575Z] drwxr-xr-x 3 root root 4096 Jan 3 10:01 . [2024-01-03T10:02:42.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 10:01 .. [2024-01-03T10:02:42.575Z] drwxr-xr-x 2 root root 4096 Jan 3 10:01 cost [2024-01-03T10:02:42.575Z] -rw-r--r-- 1 root root 84 Jan 3 10:01 cost.csv [2024-01-03T10:02:42.575Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:02:42.575Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:02:42.575Z] total 16 [2024-01-03T10:02:42.575Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 10:01 . [2024-01-03T10:02:42.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 10:01 .. [2024-01-03T10:02:42.575Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 10:01 cost [2024-01-03T10:02:42.575Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 3 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:42.872Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:43.759Z] ---> package-listing.sh [2024-01-03T10:02:43.760Z] ++ facter osfamily [2024-01-03T10:02:43.760Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-03T10:02:44.020Z] + OS_FAMILY=debian [2024-01-03T10:02:44.020Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 [2024-01-03T10:02:44.020Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-03T10:02:44.020Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-03T10:02:44.020Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-03T10:02:44.020Z] + PACKAGES=/tmp/packages_start.txt [2024-01-03T10:02:44.020Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T10:02:44.020Z] + PACKAGES=/tmp/packages_end.txt [2024-01-03T10:02:44.020Z] + case "${OS_FAMILY}" in [2024-01-03T10:02:44.020Z] + dpkg -l [2024-01-03T10:02:44.020Z] + grep '^ii' [2024-01-03T10:02:44.020Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-03T10:02:44.020Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-03T10:02:44.020Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-03T10:02:44.020Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T10:02:44.020Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [2024-01-03T10:02:44.020Z] + 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-03T10:02:44.032Z] 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-03T10:02:44.312Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:02:44.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:02:44.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:02:45.023Z] prd-ubuntu20.04-docker-8c-8g-26690 does not seem to be running inside a container [2024-01-03T10:02:45.051Z] $ 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-03T10:02:45.255Z] $ docker top 4a5b62841c93e71f95604f49ca7bc014351af05d4b09634e934960ecb5164c24 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T10:02:45.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-03T10:02:45.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-03T10:02:46.230Z] + ls /var/log/sa-host [2024-01-03T10:02:46.231Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T10:02:46.386Z] provisioning config files... [2024-01-03T10:02:46.395Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config12690952007333642244tmp [Pipeline] { [Pipeline] echo [2024-01-03T10:02:46.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:46.730Z] ---> create-netrc.sh [Pipeline] } [2024-01-03T10:02:46.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:47.116Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-03T10:02:47.125Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:47.412Z] ---> sudo-logs.sh [2024-01-03T10:02:47.412Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-03T10:02:47.470Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:47.754Z] ---> job-cost.sh [2024-01-03T10:02:47.754Z] lf-activate-venv: SKIPPING [2024-01-03T10:02:47.754Z] DEBUG: total: 0.2199999988079071 [2024-01-03T10:02:47.754Z] INFO: Retrieving Stack Cost... [2024-01-03T10:02:48.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T10:02:48.273Z] INFO: Archiving Costs [Pipeline] echo [2024-01-03T10:02:48.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:02:48.566Z] ---> logs-deploy.sh [2024-01-03T10:02:48.567Z] lf-activate-venv: SKIPPING [2024-01-03T10:02:48.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/6 [2024-01-03T10:02:48.567Z] INFO: archiving workspace using pattern(s): [2024-01-03T10:02:49.502Z] Archives upload complete. [2024-01-03T10:02:49.502Z] INFO: archiving logs to Nexus