Pull request #514 opened 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 Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 30a24dda2410b85b52167bc1398eb9d9a2b4959b rather than 931961d2fe8efa0f08eb657fb22586ee44e66ecf Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b 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-ssh3664410456437713266.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh11250152829023325096.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4583688983147868596.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6844543114604573285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7397543536575152664.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13662584577956321292.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-11673 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [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-514 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 931961d2fe8efa0f08eb657fb22586ee44e66ecf Merge succeeded, producing 931961d2fe8efa0f08eb657fb22586ee44e66ecf Checking out Revision 931961d2fe8efa0f08eb657fb22586ee44e66ecf (PR-514) > 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/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 Commit message: "feat: add discovery delete function and register into discover/template.c" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-26T14:11:13.263Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-26T14:11:13.481Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-26T14:11:13.602Z] ========================================================= [2024-09-26T14:11:13.602Z] EdgeX Global Pipelines Version Info [2024-09-26T14:11:13.602Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:11:14.385Z] ------------------- [2024-09-26T14:11:14.385Z] stable info: [2024-09-26T14:11:14.385Z] ------------------- [2024-09-26T14:11:14.385Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T14:11:14.385Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T14:11:14.385Z] Message: update stable to v1.0.264 [2024-09-26T14:11:14.955Z] ------------------- [2024-09-26T14:11:14.955Z] experimental info: [2024-09-26T14:11:14.955Z] ------------------- [2024-09-26T14:11:14.955Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T14:11:14.955Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T14:11:14.955Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-26T14:11:15.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-26T14:11:15.258Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-26T14:11:15.312Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-26T14:11:15.369Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-26T14:11:15.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-26T14:11:15.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-26T14:11:15.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-26T14:11:15.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-26T14:11:15.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-26T14:11:15.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-26T14:11:15.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-26T14:11:15.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-26T14:11:15.885Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-26T14:11:15.951Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-26T14:11:16.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-26T14:11:16.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-26T14:11:16.117Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-26T14:11:16.172Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo [2024-09-26T14:11:16.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo [2024-09-26T14:11:16.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo [2024-09-26T14:11:16.326Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo [2024-09-26T14:11:16.376Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 931961d [Pipeline] echo [2024-09-26T14:11:16.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T14:11:16.577Z] provisioning config files... [2024-09-26T14:11:16.591Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config12906004414328323063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:11:17.018Z] ---> ****-login.sh [2024-09-26T14:11:17.018Z] nexus3.edgexfoundry.org:10001 [2024-09-26T14:11:17.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:17.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:17.278Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:17.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:17.278Z] [2024-09-26T14:11:17.278Z] Login Succeeded [2024-09-26T14:11:17.278Z] nexus3.edgexfoundry.org:10002 [2024-09-26T14:11:17.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:17.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:17.279Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:17.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:17.279Z] [2024-09-26T14:11:17.279Z] Login Succeeded [2024-09-26T14:11:17.279Z] nexus3.edgexfoundry.org:10003 [2024-09-26T14:11:17.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:17.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:17.539Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:17.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:17.539Z] [2024-09-26T14:11:17.539Z] Login Succeeded [2024-09-26T14:11:17.539Z] nexus3.edgexfoundry.org:10004 [2024-09-26T14:11:17.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:17.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:17.539Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:17.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:17.539Z] [2024-09-26T14:11:17.539Z] Login Succeeded [2024-09-26T14:11:17.539Z] ****.io [2024-09-26T14:11:17.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:17.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:17.800Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:17.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:17.800Z] [2024-09-26T14:11:17.800Z] Login Succeeded [2024-09-26T14:11:17.800Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T14:11:17.836Z] 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-09-26T14:11:18.530Z] + git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo [2024-09-26T14:11:18.583Z] -----------> git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf 931961d2fe8efa0f08eb657fb22586ee44e66ecf [false] [Pipeline] sh [2024-09-26T14:11:18.908Z] + git log --format=format:%s -1 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo [2024-09-26T14:11:18.959Z] ========================================================= [2024-09-26T14:11:18.959Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T14:11:18.959Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-26T14:11:20.132Z] + git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo [2024-09-26T14:11:20.171Z] -----------> git rev-list -1 --merges 931961d2fe8efa0f08eb657fb22586ee44e66ecf~1..931961d2fe8efa0f08eb657fb22586ee44e66ecf 931961d2fe8efa0f08eb657fb22586ee44e66ecf [false] [Pipeline] sh [2024-09-26T14:11:20.502Z] + git log --format=format:%s -1 931961d2fe8efa0f08eb657fb22586ee44e66ecf [Pipeline] echo [2024-09-26T14:11:20.538Z] ========================================================= [2024-09-26T14:11:20.538Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T14:11:20.538Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-26T14:11:21.067Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T14:11:21.067Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-26T14:11:21.067Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-26T14:11:21.067Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-26T14:11:21.067Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-26T14:11:21.067Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-26T14:11:21.067Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:11:21.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T14:11:21.585Z] [2024-09-26T14:11:21.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:11:21.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T14:11:21.987Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-26T14:11:21.987Z] b85a868b505f: Pulling fs layer [2024-09-26T14:11:21.987Z] e2be974225ed: Pulling fs layer [2024-09-26T14:11:21.987Z] 339a4e72a1f5: Pulling fs layer [2024-09-26T14:11:21.987Z] 988bab9f4d93: Pulling fs layer [2024-09-26T14:11:21.987Z] 1469e6f7b9e6: Pulling fs layer [2024-09-26T14:11:21.987Z] eaf3925da568: Pulling fs layer [2024-09-26T14:11:21.987Z] bab4dde63d76: Pulling fs layer [2024-09-26T14:11:21.987Z] bde34c3a00c8: Pulling fs layer [2024-09-26T14:11:21.987Z] b352a97aabf1: Pulling fs layer [2024-09-26T14:11:21.987Z] 4872d77fe225: Pulling fs layer [2024-09-26T14:11:21.987Z] 5851b861e8e6: Pulling fs layer [2024-09-26T14:11:21.987Z] bde34c3a00c8: Waiting [2024-09-26T14:11:21.987Z] 988bab9f4d93: Waiting [2024-09-26T14:11:21.987Z] 1469e6f7b9e6: Waiting [2024-09-26T14:11:21.987Z] b352a97aabf1: Waiting [2024-09-26T14:11:21.987Z] bab4dde63d76: Waiting [2024-09-26T14:11:21.987Z] 5851b861e8e6: Waiting [2024-09-26T14:11:21.987Z] 4872d77fe225: Waiting [2024-09-26T14:11:21.987Z] e2be974225ed: Verifying Checksum [2024-09-26T14:11:21.987Z] e2be974225ed: Download complete [2024-09-26T14:11:21.987Z] 988bab9f4d93: Verifying Checksum [2024-09-26T14:11:21.987Z] 988bab9f4d93: Download complete [2024-09-26T14:11:21.987Z] 1469e6f7b9e6: Verifying Checksum [2024-09-26T14:11:21.987Z] 1469e6f7b9e6: Download complete [2024-09-26T14:11:21.987Z] 339a4e72a1f5: Download complete [2024-09-26T14:11:21.987Z] eaf3925da568: Verifying Checksum [2024-09-26T14:11:21.987Z] eaf3925da568: Download complete [2024-09-26T14:11:22.247Z] bde34c3a00c8: Verifying Checksum [2024-09-26T14:11:22.247Z] bde34c3a00c8: Download complete [2024-09-26T14:11:22.247Z] b352a97aabf1: Download complete [2024-09-26T14:11:22.247Z] 4872d77fe225: Verifying Checksum [2024-09-26T14:11:22.247Z] 4872d77fe225: Download complete [2024-09-26T14:11:22.247Z] 5851b861e8e6: Download complete [2024-09-26T14:11:22.247Z] b85a868b505f: Verifying Checksum [2024-09-26T14:11:22.247Z] b85a868b505f: Download complete [2024-09-26T14:11:22.507Z] bab4dde63d76: Verifying Checksum [2024-09-26T14:11:22.507Z] bab4dde63d76: Download complete [2024-09-26T14:11:23.445Z] b85a868b505f: Pull complete [2024-09-26T14:11:23.704Z] e2be974225ed: Pull complete [2024-09-26T14:11:24.275Z] 339a4e72a1f5: Pull complete [2024-09-26T14:11:24.275Z] 988bab9f4d93: Pull complete [2024-09-26T14:11:24.535Z] 1469e6f7b9e6: Pull complete [2024-09-26T14:11:24.535Z] eaf3925da568: Pull complete [2024-09-26T14:11:25.916Z] bab4dde63d76: Pull complete [2024-09-26T14:11:26.176Z] bde34c3a00c8: Pull complete [2024-09-26T14:11:26.176Z] b352a97aabf1: Pull complete [2024-09-26T14:11:26.176Z] 4872d77fe225: Pull complete [2024-09-26T14:11:26.437Z] 5851b861e8e6: Pull complete [2024-09-26T14:11:26.437Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-26T14:11:26.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T14:11:26.437Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:11:26.724Z] prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container [2024-09-26T14:11:26.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-26T14:11:29.512Z] $ docker top d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 -eo pid,comm [2024-09-26T14:11:29.568Z] 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-09-26T14:11:29.568Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T14:11:29.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T14:11:29.745Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T14:11:29.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T14:11:29.843Z] $ docker exec d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent [2024-09-26T14:11:29.944Z] SSH_AUTH_SOCK=/tmp/ssh-IJ9mIyiACRJk/agent.31 [2024-09-26T14:11:29.944Z] SSH_AGENT_PID=37 [2024-09-26T14:11:29.950Z] Running ssh-add (command line suppressed) [2024-09-26T14:11:30.047Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12766135618788562826.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12766135618788562826.key) [2024-09-26T14:11:30.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T14:11:30.415Z] + git tag --points-at HEAD [Pipeline] } [2024-09-26T14:11:30.443Z] $ docker exec --env ******** --env ******** d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent -k [2024-09-26T14:11:30.546Z] unset SSH_AUTH_SOCK; [2024-09-26T14:11:30.546Z] unset SSH_AGENT_PID; [2024-09-26T14:11:30.546Z] echo Agent pid 37 killed; [2024-09-26T14:11:30.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-26T14:11:30.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T14:11:30.675Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T14:11:30.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T14:11:30.774Z] $ docker exec d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent [2024-09-26T14:11:30.875Z] SSH_AUTH_SOCK=/tmp/ssh-y97hTyLnEMo0/agent.70 [2024-09-26T14:11:30.875Z] SSH_AGENT_PID=76 [2024-09-26T14:11:30.880Z] Running ssh-add (command line suppressed) [2024-09-26T14:11:30.968Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_3788379011457821805.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_3788379011457821805.key) [2024-09-26T14:11:30.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T14:11:31.323Z] + git semver init [2024-09-26T14:11:31.582Z] 2024-09-26 14:11:31,506 [run_init] DEBUG init version:0.0.0 force:False [2024-09-26T14:11:31.582Z] 2024-09-26 14:11:31,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver [2024-09-26T14:11:31.582Z] 2024-09-26 14:11:31,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver [2024-09-26T14:11:31.582Z] 2024-09-26 14:11:31,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514, universal_newlines=False, shell=None, istream=None) [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,291 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.git/info/exclude [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 with force:False [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,291 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,296 [execute] INFO git cat-file --batch-check [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,302 [execute] INFO git cat-file --batch [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T14:11:32.517Z] 2024-09-26 14:11:32,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 [2024-09-26T14:11:32.517Z] 0.0.0 [Pipeline] } [2024-09-26T14:11:32.542Z] $ docker exec --env ******** --env ******** d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 ssh-agent -k [2024-09-26T14:11:32.642Z] unset SSH_AUTH_SOCK; [2024-09-26T14:11:32.642Z] unset SSH_AGENT_PID; [2024-09-26T14:11:32.643Z] echo Agent pid 76 killed; [2024-09-26T14:11:32.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T14:11:33.120Z] + git semver [Pipeline] } [2024-09-26T14:11:33.409Z] $ docker stop --time=1 d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 [2024-09-26T14:11:34.693Z] $ docker rm -f --volumes d69f52861bdf4f5d1eb433213702a0135501a0f577a643a2976aa2032158e645 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-26T14:11:35.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-26T14:11:35.404Z] Stashed 1 file(s) [Pipeline] echo [2024-09-26T14:11:35.433Z] [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-09-26T14:11:36.057Z] provisioning config files... [2024-09-26T14:11:36.067Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config5184781332055829107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:11:36.442Z] ---> ****-login.sh [2024-09-26T14:11:36.442Z] nexus3.edgexfoundry.org:10001 [2024-09-26T14:11:36.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:36.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:36.442Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:36.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:36.442Z] [2024-09-26T14:11:36.442Z] Login Succeeded [2024-09-26T14:11:36.442Z] nexus3.edgexfoundry.org:10002 [2024-09-26T14:11:36.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:36.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:36.442Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:36.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:36.442Z] [2024-09-26T14:11:36.442Z] Login Succeeded [2024-09-26T14:11:36.442Z] nexus3.edgexfoundry.org:10003 [2024-09-26T14:11:36.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:36.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:36.704Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:36.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:36.704Z] [2024-09-26T14:11:36.704Z] Login Succeeded [2024-09-26T14:11:36.704Z] nexus3.edgexfoundry.org:10004 [2024-09-26T14:11:36.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:36.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:36.704Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:36.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:36.704Z] [2024-09-26T14:11:36.704Z] Login Succeeded [2024-09-26T14:11:36.704Z] ****.io [2024-09-26T14:11:36.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:11:36.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:11:36.965Z] Configure a credential helper to remove this warning. See [2024-09-26T14:11:36.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:11:36.965Z] [2024-09-26T14:11:36.965Z] Login Succeeded [2024-09-26T14:11:36.965Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T14:11:37.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T14:11:37.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T14:11:37.291Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-26T14:11:37.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T14:11:37.385Z] ========================================================= [2024-09-26T14:11:37.385Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-26T14:11:37.385Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:11:37.830Z] + 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-09-26T14:11:37.830Z] Sending build context to Docker daemon 5.268MB [2024-09-26T14:11:37.830Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T14:11:37.830Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T14:11:37.830Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-26T14:11:37.830Z] 96526aa774ef: Pulling fs layer [2024-09-26T14:11:37.830Z] da60e534fd72: Pulling fs layer [2024-09-26T14:11:38.088Z] 96526aa774ef: Verifying Checksum [2024-09-26T14:11:38.088Z] 96526aa774ef: Download complete [2024-09-26T14:11:38.088Z] 96526aa774ef: Pull complete [2024-09-26T14:11:39.024Z] da60e534fd72: Verifying Checksum [2024-09-26T14:11:39.025Z] da60e534fd72: Download complete [2024-09-26T14:11:41.561Z] da60e534fd72: Pull complete [2024-09-26T14:11:41.561Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-26T14:11:41.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-26T14:11:41.561Z] ---> 6605166a5db4 [2024-09-26T14:11:41.561Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:11:44.098Z] ---> Running in 05efd4d00065 [2024-09-26T14:11:44.098Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-26T14:11:44.668Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:11:44.668Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:11:44.668Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:11:44.668Z] Removing intermediate container 05efd4d00065 [2024-09-26T14:11:44.668Z] ---> b211b0dc388f [2024-09-26T14:11:44.668Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:11:44.928Z] ---> Running in 46f383151013 [2024-09-26T14:11:45.500Z] Removing intermediate container 46f383151013 [2024-09-26T14:11:45.500Z] ---> 1ff187220bde [2024-09-26T14:11:45.500Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-26T14:11:45.500Z] ---> Running in 5247f052e095 [2024-09-26T14:11:45.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:11:46.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:11:46.021Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:11:46.592Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:11:46.592Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T14:11:46.592Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T14:11:46.851Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T14:11:46.851Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T14:11:47.787Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T14:11:47.787Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T14:11:47.787Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T14:11:48.047Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T14:11:48.047Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T14:11:48.047Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T14:11:48.047Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T14:11:48.047Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T14:11:48.047Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T14:11:48.047Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T14:11:48.047Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T14:11:48.047Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T14:11:48.047Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T14:11:48.047Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:11:48.047Z] OK: 336 MiB in 99 packages [2024-09-26T14:11:48.614Z] Removing intermediate container 5247f052e095 [2024-09-26T14:11:48.614Z] ---> 0ddc84381302 [2024-09-26T14:11:48.614Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T14:11:48.614Z] ---> Running in c7d46d089999 [2024-09-26T14:11:49.181Z] Removing intermediate container c7d46d089999 [2024-09-26T14:11:49.181Z] ---> eb5453e3a9de [2024-09-26T14:11:49.181Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T14:11:49.439Z] ---> 9a2dc0810093 [2024-09-26T14:11:49.439Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T14:11:49.439Z] ---> 431184cd6986 [2024-09-26T14:11:49.439Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T14:11:49.697Z] ---> 509bf2ab602f [2024-09-26T14:11:49.697Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T14:11:49.697Z] ---> 2164a9005543 [2024-09-26T14:11:49.697Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T14:11:49.956Z] ---> ec650bd5c319 [2024-09-26T14:11:49.956Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T14:11:49.956Z] ---> 951ae25a84f0 [2024-09-26T14:11:49.956Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T14:11:49.956Z] ---> Running in 41613f8d902b [2024-09-26T14:11:50.215Z] + CPPCHECK=false [2024-09-26T14:11:50.215Z] + DOCGEN=false [2024-09-26T14:11:50.215Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T14:11:50.215Z] + '[' 0 -gt 0 ] [2024-09-26T14:11:50.215Z] + readlink -f ./scripts/build.sh [2024-09-26T14:11:50.215Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T14:11:50.215Z] + dirname /tmp/sdk/scripts [2024-09-26T14:11:50.215Z] + ROOT=/tmp/sdk [2024-09-26T14:11:50.215Z] + cd /tmp/sdk [2024-09-26T14:11:50.215Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T14:11:50.215Z] + cd /tmp/sdk/build/release [2024-09-26T14:11:50.215Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T14:11:50.475Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T14:11:50.475Z] -- Detecting C compiler ABI info [2024-09-26T14:11:50.475Z] -- Detecting C compiler ABI info - done [2024-09-26T14:11:50.475Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T14:11:50.475Z] -- Detecting C compile features [2024-09-26T14:11:50.475Z] -- Detecting C compile features - done [2024-09-26T14:11:50.475Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T14:11:50.475Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T14:11:50.475Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T14:11:50.475Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T14:11:50.475Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T14:11:50.475Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T14:11:50.475Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T14:11:50.475Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T14:11:50.475Z] -- /opt/iotech/iot/1.5/include [2024-09-26T14:11:50.475Z] -- C SDK 0.0.0 for Linux [2024-09-26T14:11:50.475Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T14:11:50.735Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T14:11:50.735Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T14:11:50.735Z] -- Configuring done (0.4s) [2024-09-26T14:11:50.735Z] -- Generating done (0.0s) [2024-09-26T14:11:50.735Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T14:11:50.735Z] + make all package [2024-09-26T14:11:50.735Z] + tee release.log [2024-09-26T14:11:50.735Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T14:11:50.843Z] Still waiting to schedule task [2024-09-26T14:11:50.843Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-26T14:11:50.995Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T14:11:50.995Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T14:11:51.255Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T14:11:51.255Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T14:11:51.255Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T14:11:51.823Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T14:11:51.823Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T14:11:51.823Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:11:51.823Z] 294 | while (privateConfig) [2024-09-26T14:11:51.823Z] | ^~~~~~~~~~~~~ [2024-09-26T14:11:51.823Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T14:11:51.823Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T14:11:51.823Z] | ^~~~~~~~~~~~~ [2024-09-26T14:11:51.823Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:11:51.823Z] 271 | while (result) [2024-09-26T14:11:51.823Z] | ^~~~~~ [2024-09-26T14:11:51.823Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T14:11:51.823Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T14:11:51.823Z] | ^~~~~~ [2024-09-26T14:11:51.823Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T14:11:51.823Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T14:11:52.081Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T14:11:52.342Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T14:11:52.342Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T14:11:52.601Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T14:11:52.601Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T14:11:52.860Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T14:11:52.860Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T14:11:52.860Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T14:11:53.428Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T14:11:53.428Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T14:11:53.428Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T14:11:53.688Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T14:11:54.626Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T14:11:54.626Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T14:11:54.626Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T14:11:54.885Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T14:11:54.885Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T14:11:55.144Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T14:11:55.404Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T14:11:55.404Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T14:11:55.662Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T14:11:55.662Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T14:11:55.662Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T14:11:55.662Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:11:55.662Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T14:11:55.662Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:11:55.662Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:11:55.662Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T14:11:55.662Z] | ^ [2024-09-26T14:11:55.921Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:11:55.921Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T14:11:55.921Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:11:55.921Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T14:11:55.921Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T14:11:55.921Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:11:56.180Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T14:11:56.180Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T14:11:56.180Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T14:11:56.438Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T14:11:56.438Z] [ 68%] Built target csdk [2024-09-26T14:11:56.438Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T14:11:56.438Z] [ 72%] Linking C executable template [2024-09-26T14:11:56.697Z] [ 72%] Built target template [2024-09-26T14:11:56.697Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T14:11:56.697Z] [ 76%] Linking C executable device-counter [2024-09-26T14:11:56.697Z] [ 76%] Built target device-counter [2024-09-26T14:11:56.697Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T14:11:56.954Z] [ 80%] Linking C executable device-random [2024-09-26T14:11:56.954Z] [ 80%] Built target device-random [2024-09-26T14:11:56.954Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T14:11:56.954Z] [ 84%] Linking C executable device-gyro [2024-09-26T14:11:57.214Z] [ 84%] Built target device-gyro [2024-09-26T14:11:57.214Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T14:11:57.214Z] [ 88%] Linking C executable device-bitfields [2024-09-26T14:11:57.214Z] [ 88%] Built target device-bitfields [2024-09-26T14:11:57.214Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T14:11:57.473Z] [ 92%] Linking C executable template-discovery [2024-09-26T14:11:57.473Z] [ 92%] Built target template-discovery [2024-09-26T14:11:57.473Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T14:11:57.731Z] [ 96%] Linking C executable device-file [2024-09-26T14:11:57.731Z] [ 96%] Built target device-file [2024-09-26T14:11:57.731Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T14:11:57.731Z] [100%] Linking C executable device-terminal [2024-09-26T14:11:57.989Z] [100%] Built target device-terminal [2024-09-26T14:11:57.989Z] Run CPack packaging tool... [2024-09-26T14:11:57.989Z] CPack: Create package using TGZ [2024-09-26T14:11:57.989Z] CPack: Install projects [2024-09-26T14:11:57.989Z] CPack: - Run preinstall target for: Csdk [2024-09-26T14:11:58.247Z] CPack: - Install project: Csdk [] [2024-09-26T14:11:58.247Z] CPack: Create package [2024-09-26T14:11:58.247Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-26T14:11:58.247Z] + '[' false '=' true ] [2024-09-26T14:11:58.247Z] + '[' false '=' true ] [2024-09-26T14:11:58.247Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T14:11:58.247Z] + cd /tmp/sdk/build/debug [2024-09-26T14:11:58.247Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T14:11:58.247Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T14:11:58.247Z] -- Detecting C compiler ABI info [2024-09-26T14:11:58.505Z] -- Detecting C compiler ABI info - done [2024-09-26T14:11:58.505Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T14:11:58.505Z] -- Detecting C compile features [2024-09-26T14:11:58.505Z] -- Detecting C compile features - done [2024-09-26T14:11:58.505Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T14:11:58.505Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T14:11:58.505Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T14:11:58.505Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T14:11:58.505Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T14:11:58.505Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T14:11:58.505Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T14:11:58.505Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T14:11:58.505Z] -- /opt/iotech/iot/1.5/include [2024-09-26T14:11:58.505Z] -- C SDK 0.0.0 for Linux [2024-09-26T14:11:58.505Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T14:11:58.505Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T14:11:58.505Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T14:11:58.505Z] -- Configuring done (0.4s) [2024-09-26T14:11:58.763Z] -- Generating done (0.0s) [2024-09-26T14:11:58.763Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T14:11:58.763Z] + make [2024-09-26T14:11:58.763Z] + tee debug.log [2024-09-26T14:11:58.763Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T14:11:58.763Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T14:11:58.763Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T14:11:59.022Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T14:11:59.022Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T14:11:59.022Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T14:11:59.281Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T14:11:59.281Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T14:11:59.281Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T14:11:59.281Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T14:11:59.539Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T14:11:59.539Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T14:11:59.539Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T14:11:59.797Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T14:11:59.797Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T14:11:59.797Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T14:11:59.797Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T14:12:00.057Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T14:12:00.057Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T14:12:00.057Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T14:12:00.330Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T14:12:00.330Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T14:12:00.589Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T14:12:00.589Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T14:12:00.589Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T14:12:00.589Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T14:12:00.589Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T14:12:00.848Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T14:12:00.848Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T14:12:01.109Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T14:12:01.109Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T14:12:01.109Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T14:12:01.109Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:12:01.109Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T14:12:01.109Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:12:01.109Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:12:01.109Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T14:12:01.109Z] | ^ [2024-09-26T14:12:01.109Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T14:12:01.370Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T14:12:01.370Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T14:12:01.370Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T14:12:01.370Z] [ 68%] Built target csdk [2024-09-26T14:12:01.370Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T14:12:01.633Z] [ 72%] Linking C executable template [2024-09-26T14:12:01.633Z] [ 72%] Built target template [2024-09-26T14:12:01.633Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T14:12:01.633Z] [ 76%] Linking C executable device-counter [2024-09-26T14:12:01.892Z] [ 76%] Built target device-counter [2024-09-26T14:12:01.892Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T14:12:01.893Z] [ 80%] Linking C executable device-random [2024-09-26T14:12:01.893Z] [ 80%] Built target device-random [2024-09-26T14:12:01.893Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T14:12:01.893Z] [ 84%] Linking C executable device-gyro [2024-09-26T14:12:02.157Z] [ 84%] Built target device-gyro [2024-09-26T14:12:02.157Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T14:12:02.157Z] [ 88%] Linking C executable device-bitfields [2024-09-26T14:12:02.157Z] [ 88%] Built target device-bitfields [2024-09-26T14:12:02.157Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T14:12:02.416Z] [ 92%] Linking C executable template-discovery [2024-09-26T14:12:02.416Z] [ 92%] Built target template-discovery [2024-09-26T14:12:02.416Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T14:12:02.416Z] [ 96%] Linking C executable device-file [2024-09-26T14:12:02.416Z] [ 96%] Built target device-file [2024-09-26T14:12:02.416Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T14:12:02.681Z] [100%] Linking C executable device-terminal [2024-09-26T14:12:02.681Z] [100%] Built target device-terminal [2024-09-26T14:12:02.681Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T14:12:02.681Z] [ 68%] Built target csdk [2024-09-26T14:12:02.681Z] [ 72%] Built target template [2024-09-26T14:12:02.681Z] [ 76%] Built target device-counter [2024-09-26T14:12:02.681Z] [ 80%] Built target device-random [2024-09-26T14:12:02.681Z] [ 84%] Built target device-gyro [2024-09-26T14:12:02.942Z] [ 88%] Built target device-bitfields [2024-09-26T14:12:02.942Z] [ 92%] Built target template-discovery [2024-09-26T14:12:02.942Z] [ 96%] Built target device-file [2024-09-26T14:12:02.942Z] [100%] Built target device-terminal [2024-09-26T14:12:02.942Z] Install the project... [2024-09-26T14:12:02.942Z] -- Install configuration: "Release" [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T14:12:02.942Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/devsdk [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T14:12:02.942Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T14:12:02.942Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T14:12:03.530Z] Removing intermediate container 41613f8d902b [2024-09-26T14:12:03.530Z] ---> d4f4a9b99488 [2024-09-26T14:12:03.530Z] Step 14/22 : FROM ${BASE} [2024-09-26T14:12:03.530Z] ---> 6605166a5db4 [2024-09-26T14:12:03.530Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T14:12:03.530Z] ---> Running in b1235347524e [2024-09-26T14:12:03.791Z] Removing intermediate container b1235347524e [2024-09-26T14:12:03.791Z] ---> 184e0702b9fc [2024-09-26T14:12:03.791Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:12:03.791Z] ---> Running in d885d2cda825 [2024-09-26T14:12:04.051Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T14:12:04.310Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:12:04.310Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:12:04.310Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:12:04.570Z] Removing intermediate container d885d2cda825 [2024-09-26T14:12:04.570Z] ---> 3c5cd57f084a [2024-09-26T14:12:04.570Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:12:04.570Z] ---> Running in 07ec7759e181 [2024-09-26T14:12:05.138Z] Removing intermediate container 07ec7759e181 [2024-09-26T14:12:05.138Z] ---> 9f4d09f330e0 [2024-09-26T14:12:05.138Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-26T14:12:05.138Z] ---> Running in ad0ecdab6539 [2024-09-26T14:12:05.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:05.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:05.658Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:06.227Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:12:06.227Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T14:12:06.227Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T14:12:06.227Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T14:12:06.227Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T14:12:06.227Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T14:12:06.227Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T14:12:06.227Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T14:12:06.227Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T14:12:06.796Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T14:12:07.056Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T14:12:07.056Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:12:07.056Z] OK: 331 MiB in 90 packages [2024-09-26T14:12:07.624Z] Removing intermediate container ad0ecdab6539 [2024-09-26T14:12:07.624Z] ---> 713e9577f092 [2024-09-26T14:12:07.624Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T14:12:07.624Z] ---> Running in 2894100214ce [2024-09-26T14:12:07.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:07.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:08.143Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:08.712Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:12:08.712Z] Upgrading critical system libraries and apk-tools: [2024-09-26T14:12:08.712Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T14:12:08.712Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:12:08.712Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T14:12:08.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:08.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:08.712Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:09.281Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:12:09.281Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:12:09.281Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T14:12:09.281Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:12:09.281Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T14:12:09.281Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:12:09.281Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:12:09.281Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:12:09.281Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T14:12:09.281Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T14:12:09.281Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T14:12:09.544Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:12:09.544Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T14:12:09.544Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:12:09.544Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:12:09.544Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:12:09.544Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T14:12:09.544Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T14:12:09.544Z] OK: 331 MiB in 90 packages [2024-09-26T14:12:10.480Z] Removing intermediate container 2894100214ce [2024-09-26T14:12:10.480Z] ---> fa0e4ba1819a [2024-09-26T14:12:10.480Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T14:12:10.480Z] ---> 353586477022 [2024-09-26T14:12:10.480Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T14:12:10.740Z] ---> 83b3d990be95 [2024-09-26T14:12:10.741Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T14:12:10.741Z] ---> 699dbc408e92 [2024-09-26T14:12:10.741Z] Successfully built 699dbc408e92 [2024-09-26T14:12:10.741Z] 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-09-26T14:12:11.479Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-26T14:12:11.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:12:11.656Z] prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container [2024-09-26T14:12:11.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 ******** ci-base-image-x86_64 cat [2024-09-26T14:12:12.000Z] $ docker top ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T14:12:12.415Z] + make test [2024-09-26T14:12:12.416Z] echo "make test" [2024-09-26T14:12:12.416Z] make test [Pipeline] } [2024-09-26T14:12:12.450Z] $ docker stop --time=1 ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b [2024-09-26T14:12:13.711Z] $ docker rm -f --volumes ef6c891d95094b6f8ad30a5368444005e2680132119f77ed878c1c3110ca900b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T14:12:14.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T14:12:14.926Z] + ls -al . [2024-09-26T14:12:14.926Z] total 212 [2024-09-26T14:12:14.926Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 14:11 . [2024-09-26T14:12:14.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 .. [2024-09-26T14:12:14.926Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:11 .git [2024-09-26T14:12:14.926Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:11 .github [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:11 .gitignore [2024-09-26T14:12:14.926Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:11 .semver [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:11 Attribution.txt [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:11 CHANGELOG.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:11 Doxyfile [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:11 GOVERNANCE.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:11 Jenkinsfile [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:11 LICENSE [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:11 Makefile [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:11 OWNERS.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:11 README.IOT.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:11 README.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:11 README.v3.md [2024-09-26T14:12:14.926Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:11 VERSION [2024-09-26T14:12:14.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:11 docs [2024-09-26T14:12:14.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 include [2024-09-26T14:12:14.926Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:11 scripts [2024-09-26T14:12:14.926Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:12:15.353Z] + 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=931961d2fe8efa0f08eb657fb22586ee44e66ecf --label arch=amd64 --label version=0.0.0 . [2024-09-26T14:12:15.353Z] Sending build context to Docker daemon 5.268MB [2024-09-26T14:12:15.353Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T14:12:15.353Z] Step 2/18 : FROM ${BASE} [2024-09-26T14:12:15.353Z] ---> 699dbc408e92 [2024-09-26T14:12:15.353Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T14:12:15.353Z] ---> Running in aa10dd96c90d [2024-09-26T14:12:15.614Z] Removing intermediate container aa10dd96c90d [2024-09-26T14:12:15.614Z] ---> 60ed2d8193f8 [2024-09-26T14:12:15.614Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:12:15.614Z] ---> Running in 87f3d20b8eab [2024-09-26T14:12:15.872Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-26T14:12:16.131Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:12:16.131Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:12:16.131Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:12:16.391Z] Removing intermediate container 87f3d20b8eab [2024-09-26T14:12:16.391Z] ---> 250ddde414f9 [2024-09-26T14:12:16.391Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:12:16.391Z] ---> Running in bbbe3734e277 [2024-09-26T14:12:16.959Z] Removing intermediate container bbbe3734e277 [2024-09-26T14:12:16.959Z] ---> 0bc28c04e02a [2024-09-26T14:12:16.959Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-26T14:12:16.959Z] ---> Running in 7ce58c642cc1 [2024-09-26T14:12:17.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:17.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:17.478Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:18.047Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:12:18.047Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T14:12:18.312Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T14:12:18.312Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T14:12:18.312Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T14:12:18.312Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T14:12:18.312Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T14:12:18.312Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T14:12:18.312Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T14:12:18.312Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T14:12:18.312Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T14:12:18.312Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T14:12:18.312Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T14:12:18.312Z] OK: 337 MiB in 101 packages [2024-09-26T14:12:18.880Z] Removing intermediate container 7ce58c642cc1 [2024-09-26T14:12:18.880Z] ---> de2b95a13871 [2024-09-26T14:12:18.880Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T14:12:18.880Z] ---> Running in 7316594d5574 [2024-09-26T14:12:19.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:19.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:19.400Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T14:12:19.661Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:12:19.661Z] OK: 337 MiB in 101 packages [2024-09-26T14:12:20.231Z] Removing intermediate container 7316594d5574 [2024-09-26T14:12:20.231Z] ---> eb0d875c9294 [2024-09-26T14:12:20.231Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T14:12:20.231Z] ---> 816899b18b94 [2024-09-26T14:12:20.231Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T14:12:20.491Z] ---> 6f611e5cb9c7 [2024-09-26T14:12:20.491Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T14:12:20.491Z] ---> 9214c7192e7d [2024-09-26T14:12:20.491Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T14:12:20.491Z] ---> 0b9ee4e83685 [2024-09-26T14:12:20.491Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T14:12:20.752Z] ---> d72a4a6832a0 [2024-09-26T14:12:20.752Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T14:12:20.752Z] ---> d95828d047f5 [2024-09-26T14:12:20.752Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T14:12:20.752Z] ---> Running in 3249ec86a09f [2024-09-26T14:12:21.011Z] Removing intermediate container 3249ec86a09f [2024-09-26T14:12:21.011Z] ---> 6572c7715615 [2024-09-26T14:12:21.011Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T14:12:21.011Z] ---> Running in 575ad4cc24f7 [2024-09-26T14:12:21.011Z] Removing intermediate container 575ad4cc24f7 [2024-09-26T14:12:21.011Z] ---> fc20b0c1fc93 [2024-09-26T14:12:21.011Z] Step 16/18 : LABEL arch=amd64 [2024-09-26T14:12:21.011Z] ---> Running in 8853accfad72 [2024-09-26T14:12:21.011Z] Removing intermediate container 8853accfad72 [2024-09-26T14:12:21.011Z] ---> 63ccb045a01f [2024-09-26T14:12:21.011Z] Step 17/18 : LABEL git_sha=931961d2fe8efa0f08eb657fb22586ee44e66ecf [2024-09-26T14:12:21.011Z] ---> Running in 3c486e9c4376 [2024-09-26T14:12:21.272Z] Removing intermediate container 3c486e9c4376 [2024-09-26T14:12:21.272Z] ---> 2226513168db [2024-09-26T14:12:21.272Z] Step 18/18 : LABEL version=0.0.0 [2024-09-26T14:12:21.272Z] ---> Running in 21e783a9de2b [2024-09-26T14:12:21.272Z] Removing intermediate container 21e783a9de2b [2024-09-26T14:12:21.272Z] ---> ee7d9aa9360f [2024-09-26T14:12:21.272Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T14:12:21.272Z] Successfully built ee7d9aa9360f [2024-09-26T14:12:21.272Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:12:22.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T14:12:22.363Z] [2024-09-26T14:12:22.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:12:22.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T14:12:22.765Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-26T14:12:22.765Z] 5eb5b503b376: Pulling fs layer [2024-09-26T14:12:22.765Z] 5c69ac0246d0: Pulling fs layer [2024-09-26T14:12:22.765Z] ec43610c2a17: Pulling fs layer [2024-09-26T14:12:22.765Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-26T14:12:22.765Z] 33b1e0a273af: Pulling fs layer [2024-09-26T14:12:22.765Z] 5d3b04190fa2: Pulling fs layer [2024-09-26T14:12:22.765Z] 2f39f015ded8: Pulling fs layer [2024-09-26T14:12:22.765Z] 3a2ae6a8a46f: Waiting [2024-09-26T14:12:22.765Z] 5d3b04190fa2: Waiting [2024-09-26T14:12:22.765Z] 33b1e0a273af: Waiting [2024-09-26T14:12:22.765Z] 5c69ac0246d0: Download complete [2024-09-26T14:12:22.765Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-26T14:12:22.765Z] 33b1e0a273af: Verifying Checksum [2024-09-26T14:12:22.765Z] 33b1e0a273af: Download complete [2024-09-26T14:12:22.765Z] 5d3b04190fa2: Verifying Checksum [2024-09-26T14:12:22.765Z] 5d3b04190fa2: Download complete [2024-09-26T14:12:22.765Z] ec43610c2a17: Download complete [2024-09-26T14:12:23.022Z] 5eb5b503b376: Verifying Checksum [2024-09-26T14:12:23.023Z] 5eb5b503b376: Download complete [2024-09-26T14:12:23.591Z] 2f39f015ded8: Download complete [2024-09-26T14:12:24.159Z] 5eb5b503b376: Pull complete [2024-09-26T14:12:24.425Z] 5c69ac0246d0: Pull complete [2024-09-26T14:12:24.683Z] ec43610c2a17: Pull complete [2024-09-26T14:12:24.942Z] 3a2ae6a8a46f: Pull complete [2024-09-26T14:12:24.942Z] 33b1e0a273af: Pull complete [2024-09-26T14:12:25.200Z] 5d3b04190fa2: Pull complete [2024-09-26T14:12:29.396Z] 2f39f015ded8: Pull complete [2024-09-26T14:12:29.396Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-26T14:12:29.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T14:12:29.396Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:12:29.649Z] prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container [2024-09-26T14:12:29.673Z] $ 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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-26T14:12:34.540Z] $ docker top 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:12:35.030Z] ---> job-cost.sh [2024-09-26T14:12:35.030Z] lf-activate-venv: SKIPPING [2024-09-26T14:12:35.030Z] INFO: No Stack... [2024-09-26T14:12:35.289Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T14:12:35.549Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T14:12:35.884Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/cost.csv [2024-09-26T14:12:35.884Z] + cut -d, -f6 [Pipeline] lock [2024-09-26T14:12:35.938Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [2024-09-26T14:12:35.946Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] did not exist. Created. [2024-09-26T14:12:35.954Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T14:12:36.370Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-26T14:12:36.448Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T14:12:36.467Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T14:12:36.556Z] $ docker stop --time=1 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 [2024-09-26T14:12:37.713Z] $ docker rm -f --volumes 2dfc48a52cf78a468986dab0e720ea9948e7651f246d00318f5554399edca9f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-26T14:13:38.807Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11674 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] ws [2024-09-26T14:13:38.882Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-09-26T14:13:41.990Z] Selected Git installation does not exist. Using Default [2024-09-26T14:13:41.990Z] The recommended git tool is: NONE [2024-09-26T14:13:49.182Z] using credential edgex-jenkins-ssh [2024-09-26T14:13:49.204Z] Cloning the remote Git repository [2024-09-26T14:13:49.243Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T14:13:49.343Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-09-26T14:13:49.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T14:13:49.520Z] > git --version # timeout=10 [2024-09-26T14:13:49.548Z] > git --version # 'git version 2.25.1' [2024-09-26T14:13:49.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T14:13:49.740Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T14:13:50.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-26T14:13:50.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T14:13:51.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-26T14:13:52.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T14:13:52.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T14:13:52.045Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-26T14:13:52.647Z] Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 931961d2fe8efa0f08eb657fb22586ee44e66ecf [2024-09-26T14:13:52.963Z] Merge succeeded, producing 931961d2fe8efa0f08eb657fb22586ee44e66ecf [2024-09-26T14:13:52.964Z] Checking out Revision 931961d2fe8efa0f08eb657fb22586ee44e66ecf (PR-514) [2024-09-26T14:13:52.663Z] > git config core.sparsecheckout # timeout=10 [2024-09-26T14:13:52.724Z] > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 [2024-09-26T14:13:52.837Z] > git remote # timeout=10 [2024-09-26T14:13:52.853Z] > git config --get remote.origin.url # timeout=10 [2024-09-26T14:13:52.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T14:13:52.914Z] > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [2024-09-26T14:13:52.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-26T14:13:52.967Z] > git config core.sparsecheckout # timeout=10 [2024-09-26T14:13:52.988Z] > git checkout -f 931961d2fe8efa0f08eb657fb22586ee44e66ecf # timeout=10 [2024-09-26T14:13:56.630Z] Commit message: "feat: add discovery delete function and register into discover/template.c" [2024-09-26T14:13:56.697Z] > git --version # timeout=10 [2024-09-26T14:13:56.709Z] > git --version # 'git version 2.25.1' [2024-09-26T14:13:56.723Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T14:13:58.699Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-26T14:13:58.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-26T14:13:58.699Z] Dload Upload Total Spent Left Speed [2024-09-26T14:13:58.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-09-26T14:13:59.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-26T14:13:59.417Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-09-26T14:13:59.417Z] /etc/docker/daemon.json [2024-09-26T14:13:59.417Z] { [2024-09-26T14:13:59.417Z] "registry-mirrors": [ [2024-09-26T14:13:59.417Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-26T14:13:59.417Z] ], [2024-09-26T14:13:59.417Z] "bip": "10.250.0.254/24", [2024-09-26T14:13:59.417Z] "hosts": [ [2024-09-26T14:13:59.417Z] "tcp://0.0.0.0:5555", [2024-09-26T14:13:59.417Z] "unix:///var/run/docker.sock" [2024-09-26T14:13:59.417Z] ], [2024-09-26T14:13:59.417Z] "mtu": 1458, [2024-09-26T14:13:59.417Z] "selinux-enabled": true, [2024-09-26T14:13:59.417Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-26T14:13:59.417Z] } [Pipeline] sh [2024-09-26T14:13:59.775Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-26T14:14:00.131Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T14:14:18.495Z] provisioning config files... [2024-09-26T14:14:18.525Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9651356832947974339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:14:19.049Z] ---> ****-login.sh [2024-09-26T14:14:19.049Z] nexus3.edgexfoundry.org:10001 [2024-09-26T14:14:19.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:14:19.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:14:19.593Z] Configure a credential helper to remove this warning. See [2024-09-26T14:14:19.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:14:19.593Z] [2024-09-26T14:14:19.593Z] Login Succeeded [2024-09-26T14:14:19.593Z] nexus3.edgexfoundry.org:10002 [2024-09-26T14:14:19.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:14:20.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:14:20.133Z] Configure a credential helper to remove this warning. See [2024-09-26T14:14:20.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:14:20.133Z] [2024-09-26T14:14:20.133Z] Login Succeeded [2024-09-26T14:14:20.133Z] nexus3.edgexfoundry.org:10003 [2024-09-26T14:14:20.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:14:20.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:14:20.406Z] Configure a credential helper to remove this warning. See [2024-09-26T14:14:20.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:14:20.406Z] [2024-09-26T14:14:20.406Z] Login Succeeded [2024-09-26T14:14:20.406Z] nexus3.edgexfoundry.org:10004 [2024-09-26T14:14:20.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:14:20.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:14:20.950Z] Configure a credential helper to remove this warning. See [2024-09-26T14:14:20.950Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:14:20.950Z] [2024-09-26T14:14:20.950Z] Login Succeeded [2024-09-26T14:14:20.950Z] ****.io [2024-09-26T14:14:20.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T14:14:21.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T14:14:21.219Z] Configure a credential helper to remove this warning. See [2024-09-26T14:14:21.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T14:14:21.219Z] [2024-09-26T14:14:21.219Z] Login Succeeded [2024-09-26T14:14:21.219Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T14:14:21.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T14:14:21.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T14:14:21.795Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-26T14:14:21.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T14:14:21.892Z] ========================================================= [2024-09-26T14:14:21.892Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-26T14:14:21.892Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:14:22.386Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-09-26T14:14:22.980Z] Sending build context to Docker daemon 3.223MB [2024-09-26T14:14:22.980Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T14:14:22.980Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T14:14:22.980Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-26T14:14:22.980Z] 579b34f0a95b: Pulling fs layer [2024-09-26T14:14:22.980Z] e71477ac5e1b: Pulling fs layer [2024-09-26T14:14:23.250Z] 579b34f0a95b: Verifying Checksum [2024-09-26T14:14:23.250Z] 579b34f0a95b: Download complete [2024-09-26T14:14:23.837Z] 579b34f0a95b: Pull complete [2024-09-26T14:14:25.794Z] e71477ac5e1b: Verifying Checksum [2024-09-26T14:14:25.794Z] e71477ac5e1b: Download complete [2024-09-26T14:14:38.105Z] e71477ac5e1b: Pull complete [2024-09-26T14:14:38.105Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-26T14:14:38.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-26T14:14:38.105Z] ---> 2b552cad5dd9 [2024-09-26T14:14:38.105Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:14:38.105Z] ---> Running in f7fe3a31f72f [2024-09-26T14:14:39.074Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T14:14:39.663Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:14:39.663Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:14:39.663Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:14:40.258Z] Removing intermediate container f7fe3a31f72f [2024-09-26T14:14:40.258Z] ---> 99d6fca2c046 [2024-09-26T14:14:40.258Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:14:40.538Z] ---> Running in 16679a783b34 [2024-09-26T14:14:41.965Z] Removing intermediate container 16679a783b34 [2024-09-26T14:14:41.965Z] ---> 575b3f161082 [2024-09-26T14:14:41.965Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-26T14:14:41.965Z] ---> Running in b9a179d2d423 [2024-09-26T14:14:42.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:14:43.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:14:43.798Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:14:44.761Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:14:44.761Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T14:14:45.029Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T14:14:45.029Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T14:14:45.029Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T14:14:45.994Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T14:14:45.994Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T14:14:46.262Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T14:14:46.262Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T14:14:46.262Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T14:14:46.262Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T14:14:46.529Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T14:14:46.529Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T14:14:46.529Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T14:14:46.529Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T14:14:46.529Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T14:14:46.529Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T14:14:46.529Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T14:14:47.116Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:14:47.116Z] OK: 333 MiB in 99 packages [2024-09-26T14:14:48.531Z] Removing intermediate container b9a179d2d423 [2024-09-26T14:14:48.531Z] ---> 16762fc84337 [2024-09-26T14:14:48.531Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T14:14:48.531Z] ---> Running in 2597bc76e052 [2024-09-26T14:14:49.948Z] Removing intermediate container 2597bc76e052 [2024-09-26T14:14:49.949Z] ---> 6a5aceab2556 [2024-09-26T14:14:49.949Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T14:14:50.534Z] ---> a3b7707be0bd [2024-09-26T14:14:50.534Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T14:14:51.121Z] ---> b1ba512d3c6a [2024-09-26T14:14:51.121Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T14:14:51.705Z] ---> a20c4e6510fc [2024-09-26T14:14:51.705Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T14:14:51.987Z] ---> 4a00825f706a [2024-09-26T14:14:51.987Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T14:14:52.573Z] ---> f4866a8036f5 [2024-09-26T14:14:52.573Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T14:14:53.168Z] ---> 56a1d203e8bc [2024-09-26T14:14:53.168Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T14:14:53.168Z] ---> Running in b8e0854a6813 [2024-09-26T14:14:55.776Z] + CPPCHECK=false [2024-09-26T14:14:55.776Z] + DOCGEN=false [2024-09-26T14:14:55.776Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T14:14:55.776Z] + '[' 0 -gt 0 ] [2024-09-26T14:14:55.776Z] + readlink -f ./scripts/build.sh [2024-09-26T14:14:55.776Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T14:14:55.776Z] + dirname /tmp/sdk/scripts [2024-09-26T14:14:55.776Z] + ROOT=/tmp/sdk [2024-09-26T14:14:55.776Z] + cd /tmp/sdk [2024-09-26T14:14:55.776Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T14:14:55.776Z] + cd /tmp/sdk/build/release [2024-09-26T14:14:55.776Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T14:14:55.776Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T14:14:55.776Z] -- Detecting C compiler ABI info [2024-09-26T14:14:56.041Z] -- Detecting C compiler ABI info - done [2024-09-26T14:14:56.307Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T14:14:56.307Z] -- Detecting C compile features [2024-09-26T14:14:56.307Z] -- Detecting C compile features - done [2024-09-26T14:14:56.307Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T14:14:56.307Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T14:14:56.574Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T14:14:56.574Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T14:14:56.574Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T14:14:56.574Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T14:14:56.574Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T14:14:56.574Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T14:14:56.574Z] -- /opt/iotech/iot/1.5/include [2024-09-26T14:14:56.574Z] -- C SDK 0.0.0 for Linux [2024-09-26T14:14:56.574Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T14:14:56.840Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T14:14:57.110Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T14:14:57.110Z] -- Configuring done (1.8s) [2024-09-26T14:14:57.376Z] -- Generating done (0.2s) [2024-09-26T14:14:57.376Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T14:14:57.376Z] + make all package [2024-09-26T14:14:57.376Z] + tee release.log [2024-09-26T14:14:57.642Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T14:14:58.226Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T14:14:59.180Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T14:14:59.774Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T14:15:00.728Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T14:15:01.310Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T14:15:03.894Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T14:15:04.473Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T14:15:04.473Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:15:04.473Z] 294 | while (privateConfig) [2024-09-26T14:15:04.473Z] | ^~~~~~~~~~~~~ [2024-09-26T14:15:04.473Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T14:15:04.473Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T14:15:04.473Z] | ^~~~~~~~~~~~~ [2024-09-26T14:15:04.473Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:15:04.473Z] 271 | while (result) [2024-09-26T14:15:04.474Z] | ^~~~~~ [2024-09-26T14:15:04.474Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T14:15:04.474Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T14:15:04.474Z] | ^~~~~~ [2024-09-26T14:15:04.739Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T14:15:05.004Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T14:15:05.959Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T14:15:07.917Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T14:15:08.183Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T14:15:09.137Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T14:15:10.101Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T14:15:10.368Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T14:15:11.779Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T14:15:11.779Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T14:15:14.361Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T14:15:14.361Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T14:15:14.948Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T14:15:16.363Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T14:15:23.024Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T14:15:23.610Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T14:15:23.880Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T14:15:24.467Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T14:15:24.736Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T14:15:26.148Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T14:15:28.734Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T14:15:29.002Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T14:15:29.966Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T14:15:30.236Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T14:15:30.501Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T14:15:30.501Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:15:30.501Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T14:15:30.501Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:15:30.501Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:15:30.501Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T14:15:30.501Z] | ^ [2024-09-26T14:15:32.435Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T14:15:32.435Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T14:15:32.435Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:15:32.435Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T14:15:32.435Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T14:15:32.435Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:15:33.388Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T14:15:33.968Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T14:15:34.234Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T14:15:34.821Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T14:15:35.088Z] [ 68%] Built target csdk [2024-09-26T14:15:35.088Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T14:15:36.044Z] [ 72%] Linking C executable template [2024-09-26T14:15:36.309Z] [ 72%] Built target template [2024-09-26T14:15:36.309Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T14:15:36.889Z] [ 76%] Linking C executable device-counter [2024-09-26T14:15:37.155Z] [ 76%] Built target device-counter [2024-09-26T14:15:37.155Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T14:15:37.735Z] [ 80%] Linking C executable device-random [2024-09-26T14:15:38.001Z] [ 80%] Built target device-random [2024-09-26T14:15:38.001Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T14:15:38.580Z] [ 84%] Linking C executable device-gyro [2024-09-26T14:15:38.846Z] [ 84%] Built target device-gyro [2024-09-26T14:15:38.846Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T14:15:39.427Z] [ 88%] Linking C executable device-bitfields [2024-09-26T14:15:39.692Z] [ 88%] Built target device-bitfields [2024-09-26T14:15:39.692Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T14:15:40.649Z] [ 92%] Linking C executable template-discovery [2024-09-26T14:15:40.914Z] [ 92%] Built target template-discovery [2024-09-26T14:15:40.914Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T14:15:41.506Z] [ 96%] Linking C executable device-file [2024-09-26T14:15:42.088Z] [ 96%] Built target device-file [2024-09-26T14:15:42.088Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T14:15:42.669Z] [100%] Linking C executable device-terminal [2024-09-26T14:15:42.938Z] [100%] Built target device-terminal [2024-09-26T14:15:42.938Z] Run CPack packaging tool... [2024-09-26T14:15:42.938Z] CPack: Create package using TGZ [2024-09-26T14:15:42.938Z] CPack: Install projects [2024-09-26T14:15:42.938Z] CPack: - Run preinstall target for: Csdk [2024-09-26T14:15:43.909Z] CPack: - Install project: Csdk [] [2024-09-26T14:15:43.909Z] CPack: Create package [2024-09-26T14:15:43.909Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-26T14:15:43.909Z] + '[' false '=' true ] [2024-09-26T14:15:43.909Z] + '[' false '=' true ] [2024-09-26T14:15:43.909Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T14:15:43.909Z] + cd /tmp/sdk/build/debug [2024-09-26T14:15:43.909Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T14:15:44.255Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T14:15:44.526Z] -- Detecting C compiler ABI info [2024-09-26T14:15:44.797Z] -- Detecting C compiler ABI info - done [2024-09-26T14:15:44.797Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T14:15:44.797Z] -- Detecting C compile features [2024-09-26T14:15:44.797Z] -- Detecting C compile features - done [2024-09-26T14:15:44.797Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T14:15:45.069Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T14:15:45.069Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T14:15:45.069Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T14:15:45.069Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T14:15:45.069Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T14:15:45.069Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T14:15:45.069Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T14:15:45.069Z] -- /opt/iotech/iot/1.5/include [2024-09-26T14:15:45.069Z] -- C SDK 0.0.0 for Linux [2024-09-26T14:15:45.069Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T14:15:45.667Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T14:15:45.667Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T14:15:45.667Z] -- Configuring done (1.8s) [2024-09-26T14:15:45.936Z] -- Generating done (0.2s) [2024-09-26T14:15:46.210Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T14:15:46.210Z] + make [2024-09-26T14:15:46.210Z] + tee debug.log [2024-09-26T14:15:46.210Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T14:15:46.808Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T14:15:47.072Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T14:15:47.340Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T14:15:47.921Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T14:15:48.187Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T14:15:48.776Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T14:15:49.359Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T14:15:49.359Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T14:15:49.939Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T14:15:50.517Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T14:15:50.782Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T14:15:51.364Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T14:15:51.643Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T14:15:51.908Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T14:15:52.492Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T14:15:52.492Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T14:15:53.446Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T14:15:53.446Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T14:15:53.713Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T14:15:54.294Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T14:15:55.706Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T14:15:55.706Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T14:15:55.975Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T14:15:56.556Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T14:15:56.556Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T14:15:57.136Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T14:15:58.547Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T14:15:58.812Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T14:15:59.078Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T14:15:59.659Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T14:15:59.659Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T14:15:59.659Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:15:59.659Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T14:15:59.659Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T14:15:59.659Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T14:15:59.659Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T14:15:59.659Z] | ^ [2024-09-26T14:16:00.240Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T14:16:00.821Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T14:16:00.821Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T14:16:01.412Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T14:16:01.412Z] [ 68%] Built target csdk [2024-09-26T14:16:01.677Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T14:16:01.942Z] [ 72%] Linking C executable template [2024-09-26T14:16:02.208Z] [ 72%] Built target template [2024-09-26T14:16:02.208Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T14:16:02.474Z] [ 76%] Linking C executable device-counter [2024-09-26T14:16:03.055Z] [ 76%] Built target device-counter [2024-09-26T14:16:03.055Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T14:16:03.320Z] [ 80%] Linking C executable device-random [2024-09-26T14:16:03.584Z] [ 80%] Built target device-random [2024-09-26T14:16:03.584Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T14:16:03.849Z] [ 84%] Linking C executable device-gyro [2024-09-26T14:16:04.431Z] [ 84%] Built target device-gyro [2024-09-26T14:16:04.431Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T14:16:04.697Z] [ 88%] Linking C executable device-bitfields [2024-09-26T14:16:04.962Z] [ 88%] Built target device-bitfields [2024-09-26T14:16:04.962Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T14:16:05.228Z] [ 92%] Linking C executable template-discovery [2024-09-26T14:16:05.811Z] [ 92%] Built target template-discovery [2024-09-26T14:16:05.811Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T14:16:06.077Z] [ 96%] Linking C executable device-file [2024-09-26T14:16:06.342Z] [ 96%] Built target device-file [2024-09-26T14:16:06.342Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T14:16:06.923Z] [100%] Linking C executable device-terminal [2024-09-26T14:16:07.191Z] [100%] Built target device-terminal [2024-09-26T14:16:07.191Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T14:16:07.457Z] [ 68%] Built target csdk [2024-09-26T14:16:07.457Z] [ 72%] Built target template [2024-09-26T14:16:07.457Z] [ 76%] Built target device-counter [2024-09-26T14:16:07.457Z] [ 80%] Built target device-random [2024-09-26T14:16:07.724Z] [ 84%] Built target device-gyro [2024-09-26T14:16:07.724Z] [ 88%] Built target device-bitfields [2024-09-26T14:16:07.724Z] [ 92%] Built target template-discovery [2024-09-26T14:16:07.724Z] [ 96%] Built target device-file [2024-09-26T14:16:07.724Z] [100%] Built target device-terminal [2024-09-26T14:16:07.992Z] Install the project... [2024-09-26T14:16:07.992Z] -- Install configuration: "Release" [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T14:16:07.992Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/devsdk [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T14:16:07.992Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T14:16:07.992Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T14:16:09.398Z] Removing intermediate container b8e0854a6813 [2024-09-26T14:16:09.398Z] ---> e28f4ff5fcf6 [2024-09-26T14:16:09.398Z] Step 14/22 : FROM ${BASE} [2024-09-26T14:16:09.398Z] ---> 2b552cad5dd9 [2024-09-26T14:16:09.398Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T14:16:09.398Z] ---> Running in 3ffc669a9dbe [2024-09-26T14:16:09.664Z] Removing intermediate container 3ffc669a9dbe [2024-09-26T14:16:09.664Z] ---> 52cd868ca5c2 [2024-09-26T14:16:09.664Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:16:09.664Z] ---> Running in d23f178cedc8 [2024-09-26T14:16:10.618Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T14:16:11.197Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:16:11.197Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:16:11.197Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:16:11.784Z] Removing intermediate container d23f178cedc8 [2024-09-26T14:16:11.784Z] ---> 8e3a8b03b6ac [2024-09-26T14:16:11.784Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:16:11.784Z] ---> Running in f61964e7f1ab [2024-09-26T14:16:13.198Z] Removing intermediate container f61964e7f1ab [2024-09-26T14:16:13.198Z] ---> 2a0c410386f2 [2024-09-26T14:16:13.198Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-26T14:16:13.198Z] ---> Running in 256b5eafad88 [2024-09-26T14:16:14.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:14.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:14.996Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:15.950Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:16:15.950Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T14:16:15.950Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T14:16:15.950Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T14:16:15.950Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T14:16:16.216Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T14:16:16.216Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T14:16:16.216Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T14:16:16.216Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T14:16:16.796Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T14:16:17.062Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T14:16:17.062Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:16:17.062Z] OK: 328 MiB in 90 packages [2024-09-26T14:16:18.018Z] Removing intermediate container 256b5eafad88 [2024-09-26T14:16:18.018Z] ---> ec78000f0e29 [2024-09-26T14:16:18.018Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T14:16:18.286Z] ---> Running in f89bb2c45a75 [2024-09-26T14:16:19.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:19.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:19.825Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:20.782Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:16:20.782Z] Upgrading critical system libraries and apk-tools: [2024-09-26T14:16:20.782Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T14:16:20.782Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T14:16:20.782Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T14:16:21.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:21.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:21.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:22.534Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:16:22.534Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:16:22.534Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T14:16:22.534Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:16:22.534Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T14:16:22.799Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:16:22.799Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:16:22.799Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T14:16:22.799Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T14:16:22.799Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T14:16:23.063Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T14:16:23.063Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T14:16:23.329Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T14:16:23.912Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:16:23.912Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:16:23.912Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T14:16:24.179Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T14:16:24.179Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T14:16:24.445Z] OK: 328 MiB in 90 packages [2024-09-26T14:16:26.396Z] Removing intermediate container f89bb2c45a75 [2024-09-26T14:16:26.396Z] ---> d1beffa929c0 [2024-09-26T14:16:26.396Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T14:16:26.662Z] ---> eb58f05e206a [2024-09-26T14:16:26.662Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T14:16:27.255Z] ---> b2c6e55bec68 [2024-09-26T14:16:27.255Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T14:16:27.523Z] ---> 5c1418ea450e [2024-09-26T14:16:27.790Z] Successfully built 5c1418ea450e [2024-09-26T14:16:27.790Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:16:28.576Z] + docker inspect -f . ci-base-image-arm64 [2024-09-26T14:16:28.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:16:28.894Z] prd-ubuntu20.04-docker-arm64-4c-16g-11674 does not seem to be running inside a container [2024-09-26T14:16:28.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2024-09-26T14:16:30.157Z] $ docker top 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T14:16:31.083Z] + make test [2024-09-26T14:16:31.083Z] echo "make test" [2024-09-26T14:16:31.083Z] make test [Pipeline] } [2024-09-26T14:16:31.125Z] $ docker stop --time=1 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca [2024-09-26T14:16:32.793Z] $ docker rm -f --volumes 926abfc090d24f16457535e829201e136bfb592f054a4b9869a398e128c7bbca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T14:16:33.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T14:16:34.075Z] + ls -al . [2024-09-26T14:16:34.075Z] total 208 [2024-09-26T14:16:34.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:13 . [2024-09-26T14:16:34.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 .. [2024-09-26T14:16:34.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 14:13 .git [2024-09-26T14:16:34.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 14:13 .github [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 14:13 .gitignore [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 14:13 Attribution.txt [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 14:13 CHANGELOG.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 14:13 Doxyfile [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 14:13 GOVERNANCE.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 14:13 Jenkinsfile [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 14:13 LICENSE [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 14:13 Makefile [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 14:13 OWNERS.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 14:13 README.IOT.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 14:13 README.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 14:13 README.v3.md [2024-09-26T14:16:34.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 14:11 VERSION [2024-09-26T14:16:34.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:13 docs [2024-09-26T14:16:34.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 include [2024-09-26T14:16:34.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 14:13 scripts [2024-09-26T14:16:34.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 14:13 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:16:34.521Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=931961d2fe8efa0f08eb657fb22586ee44e66ecf --label arch=arm64 --label version=0.0.0 . [2024-09-26T14:16:35.104Z] Sending build context to Docker daemon 3.223MB [2024-09-26T14:16:35.104Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T14:16:35.104Z] Step 2/18 : FROM ${BASE} [2024-09-26T14:16:35.104Z] ---> 5c1418ea450e [2024-09-26T14:16:35.104Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T14:16:35.104Z] ---> Running in eca5d1f73c9c [2024-09-26T14:16:35.372Z] Removing intermediate container eca5d1f73c9c [2024-09-26T14:16:35.372Z] ---> eff388544c2c [2024-09-26T14:16:35.372Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-26T14:16:35.644Z] ---> Running in 5968c61bf149 [2024-09-26T14:16:36.603Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T14:16:36.868Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T14:16:36.868Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T14:16:36.868Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T14:16:37.829Z] Removing intermediate container 5968c61bf149 [2024-09-26T14:16:37.829Z] ---> aa8582c32a34 [2024-09-26T14:16:37.829Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T14:16:37.829Z] ---> Running in 5edba8e8883d [2024-09-26T14:16:39.259Z] Removing intermediate container 5edba8e8883d [2024-09-26T14:16:39.259Z] ---> 793daf0b4d4e [2024-09-26T14:16:39.259Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-26T14:16:39.259Z] ---> Running in d38e1e0c3246 [2024-09-26T14:16:40.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:40.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:41.064Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:42.021Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:16:42.021Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T14:16:42.290Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T14:16:42.290Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T14:16:42.290Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T14:16:42.290Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T14:16:42.290Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T14:16:42.290Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T14:16:42.290Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T14:16:42.290Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T14:16:42.290Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T14:16:42.290Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T14:16:42.290Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T14:16:42.556Z] OK: 334 MiB in 101 packages [2024-09-26T14:16:43.967Z] Removing intermediate container d38e1e0c3246 [2024-09-26T14:16:43.967Z] ---> bc8ce9863afd [2024-09-26T14:16:43.967Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T14:16:43.967Z] ---> Running in 151da1d04044 [2024-09-26T14:16:44.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:45.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:45.463Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T14:16:46.417Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T14:16:46.417Z] OK: 334 MiB in 101 packages [2024-09-26T14:16:47.378Z] Removing intermediate container 151da1d04044 [2024-09-26T14:16:47.378Z] ---> cca0380b6101 [2024-09-26T14:16:47.378Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T14:16:47.962Z] ---> ef2cdaec536c [2024-09-26T14:16:47.962Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T14:16:48.922Z] ---> b7115a07c05d [2024-09-26T14:16:48.922Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T14:16:49.187Z] ---> fd1dcc7d9cda [2024-09-26T14:16:49.187Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T14:16:49.772Z] ---> ae8c4d45ef1a [2024-09-26T14:16:49.772Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T14:16:50.038Z] ---> 0ccb3bed3837 [2024-09-26T14:16:50.038Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T14:16:50.619Z] ---> 83b49d9368bf [2024-09-26T14:16:50.619Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T14:16:50.619Z] ---> Running in d40f0e07f427 [2024-09-26T14:16:50.884Z] Removing intermediate container d40f0e07f427 [2024-09-26T14:16:50.884Z] ---> 7c2257810dd8 [2024-09-26T14:16:50.884Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T14:16:50.884Z] ---> Running in 952fc53c5e26 [2024-09-26T14:16:51.151Z] Removing intermediate container 952fc53c5e26 [2024-09-26T14:16:51.151Z] ---> 3596c1c71bfb [2024-09-26T14:16:51.151Z] Step 16/18 : LABEL arch=arm64 [2024-09-26T14:16:51.151Z] ---> Running in c0bc15ec738a [2024-09-26T14:16:51.424Z] Removing intermediate container c0bc15ec738a [2024-09-26T14:16:51.424Z] ---> 9261707a7f11 [2024-09-26T14:16:51.424Z] Step 17/18 : LABEL git_sha=931961d2fe8efa0f08eb657fb22586ee44e66ecf [2024-09-26T14:16:51.688Z] ---> Running in a0ad69b301c7 [2024-09-26T14:16:51.954Z] Removing intermediate container a0ad69b301c7 [2024-09-26T14:16:51.954Z] ---> 53f9b75e9ea7 [2024-09-26T14:16:51.954Z] Step 18/18 : LABEL version=0.0.0 [2024-09-26T14:16:51.954Z] ---> Running in 7cf76c97067e [2024-09-26T14:16:52.218Z] Removing intermediate container 7cf76c97067e [2024-09-26T14:16:52.218Z] ---> 30008f6746a6 [2024-09-26T14:16:52.218Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T14:16:52.218Z] Successfully built 30008f6746a6 [2024-09-26T14:16:52.218Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:16:53.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T14:16:53.133Z] [2024-09-26T14:16:53.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:16:53.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T14:16:53.833Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-26T14:16:53.833Z] 8998bd30e6a1: Pulling fs layer [2024-09-26T14:16:53.833Z] 04944245beec: Pulling fs layer [2024-09-26T14:16:53.833Z] 699f458cf7ca: Pulling fs layer [2024-09-26T14:16:53.833Z] 765212b225bb: Pulling fs layer [2024-09-26T14:16:53.833Z] f23df028b6ca: Pulling fs layer [2024-09-26T14:16:53.833Z] d65c8cfc05b1: Pulling fs layer [2024-09-26T14:16:53.833Z] 2437ff75d9bd: Pulling fs layer [2024-09-26T14:16:53.833Z] f23df028b6ca: Waiting [2024-09-26T14:16:53.833Z] d65c8cfc05b1: Waiting [2024-09-26T14:16:53.833Z] 2437ff75d9bd: Waiting [2024-09-26T14:16:53.833Z] 765212b225bb: Waiting [2024-09-26T14:16:53.833Z] 04944245beec: Verifying Checksum [2024-09-26T14:16:53.833Z] 04944245beec: Download complete [2024-09-26T14:16:53.833Z] 765212b225bb: Verifying Checksum [2024-09-26T14:16:53.833Z] 765212b225bb: Download complete [2024-09-26T14:16:53.833Z] f23df028b6ca: Verifying Checksum [2024-09-26T14:16:53.833Z] f23df028b6ca: Download complete [2024-09-26T14:16:54.102Z] d65c8cfc05b1: Verifying Checksum [2024-09-26T14:16:54.102Z] d65c8cfc05b1: Download complete [2024-09-26T14:16:54.102Z] 699f458cf7ca: Verifying Checksum [2024-09-26T14:16:54.102Z] 699f458cf7ca: Download complete [2024-09-26T14:16:54.369Z] 8998bd30e6a1: Verifying Checksum [2024-09-26T14:16:54.369Z] 8998bd30e6a1: Download complete [2024-09-26T14:16:56.949Z] 2437ff75d9bd: Verifying Checksum [2024-09-26T14:16:56.949Z] 2437ff75d9bd: Download complete [2024-09-26T14:16:59.519Z] 8998bd30e6a1: Pull complete [2024-09-26T14:16:59.519Z] 04944245beec: Pull complete [2024-09-26T14:17:00.920Z] 699f458cf7ca: Pull complete [2024-09-26T14:17:01.187Z] 765212b225bb: Pull complete [2024-09-26T14:17:02.144Z] f23df028b6ca: Pull complete [2024-09-26T14:17:02.478Z] d65c8cfc05b1: Pull complete [2024-09-26T14:17:20.713Z] 2437ff75d9bd: Pull complete [2024-09-26T14:17:20.713Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-26T14:17:20.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T14:17:20.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:17:21.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-11674 does not seem to be running inside a container [2024-09-26T14:17:21.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-26T14:17:23.399Z] $ docker top 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:24.327Z] ---> job-cost.sh [2024-09-26T14:17:24.327Z] lf-activate-venv: SKIPPING [2024-09-26T14:17:24.327Z] INFO: No Stack... [2024-09-26T14:17:24.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-26T14:17:25.546Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T14:17:25.883Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-09-26T14:17:25.884Z] + cut -d, -f6 [Pipeline] lock [2024-09-26T14:17:25.966Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [2024-09-26T14:17:25.973Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] did not exist. Created. [2024-09-26T14:17:25.985Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T14:17:26.416Z] /w/workspace/device-sdk-c/1@tmp/durable-f2358eda/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-26T14:17:26.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-26T14:17:26.811Z] Warning: overwriting stash ‘stack-cost’ [2024-09-26T14:17:27.245Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T14:17:27.268Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T14:17:27.365Z] $ docker stop --time=1 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a [2024-09-26T14:17:28.827Z] $ docker rm -f --volumes 5aef3c659958ad3d7b873a9be8ffff036f5f66d08171b09ba4e89091d663e46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-26T14:17:30.973Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives ] [2024-09-26T14:17:30.973Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T14:17:30.973Z] total 16 [2024-09-26T14:17:30.973Z] drwxr-xr-x 3 root root 4096 Sep 26 14:12 . [2024-09-26T14:17:30.973Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:12 .. [2024-09-26T14:17:30.973Z] drwxr-xr-x 2 root root 4096 Sep 26 14:12 cost [2024-09-26T14:17:30.973Z] -rw-r--r-- 1 root root 84 Sep 26 14:12 cost.csv [2024-09-26T14:17:30.973Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T14:17:30.973Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T14:17:30.973Z] total 16 [2024-09-26T14:17:30.973Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 14:12 . [2024-09-26T14:17:30.973Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 14:12 .. [2024-09-26T14:17:30.973Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 14:12 cost [2024-09-26T14:17:30.973Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 26 14:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:31.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:32.234Z] ---> package-listing.sh [2024-09-26T14:17:32.234Z] ++ facter osfamily [2024-09-26T14:17:32.234Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-26T14:17:32.495Z] + OS_FAMILY=debian [2024-09-26T14:17:32.495Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-514 [2024-09-26T14:17:32.495Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-26T14:17:32.495Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-26T14:17:32.495Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-26T14:17:32.495Z] + PACKAGES=/tmp/packages_start.txt [2024-09-26T14:17:32.495Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' [2024-09-26T14:17:32.495Z] + PACKAGES=/tmp/packages_end.txt [2024-09-26T14:17:32.495Z] + case "${OS_FAMILY}" in [2024-09-26T14:17:32.495Z] + dpkg -l [2024-09-26T14:17:32.495Z] + grep '^ii' [2024-09-26T14:17:32.495Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-26T14:17:32.495Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-26T14:17:32.495Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-26T14:17:32.495Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' [2024-09-26T14:17:32.495Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [2024-09-26T14:17:32.495Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [Pipeline] echo [2024-09-26T14:17:32.537Z] 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-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-26T14:17:32.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T14:17:33.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T14:17:33.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T14:17:33.669Z] prd-ubuntu20.04-docker-8c-8g-11673 does not seem to be running inside a container [2024-09-26T14:17:33.694Z] $ 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-514/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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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-lftools-log-publisher:latest cat [2024-09-26T14:17:33.886Z] $ docker top 468988b7e82f168ac0828363f87dc5deff223629cc095060bbaf741c0e73a334 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T14:17:34.302Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-26T14:17:34.624Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-26T14:17:34.944Z] + ls /var/log/sa-host [2024-09-26T14:17:34.944Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T14:17:35.189Z] provisioning config files... [2024-09-26T14:17:35.198Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config4499984076376129159tmp [Pipeline] { [Pipeline] echo [2024-09-26T14:17:35.272Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:35.599Z] ---> create-netrc.sh [Pipeline] } [2024-09-26T14:17:35.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:36.072Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-26T14:17:36.110Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:36.434Z] ---> sudo-logs.sh [2024-09-26T14:17:36.434Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-26T14:17:36.540Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:36.861Z] ---> job-cost.sh [2024-09-26T14:17:36.861Z] lf-activate-venv: SKIPPING [2024-09-26T14:17:36.861Z] DEBUG: total: 0.2199999988079071 [2024-09-26T14:17:36.861Z] INFO: Retrieving Stack Cost... [2024-09-26T14:17:37.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T14:17:37.379Z] INFO: Archiving Costs [Pipeline] echo [2024-09-26T14:17:37.416Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T14:17:37.733Z] ---> logs-deploy.sh [2024-09-26T14:17:37.733Z] lf-activate-venv: SKIPPING [2024-09-26T14:17:37.733Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-514/1 [2024-09-26T14:17:37.733Z] INFO: archiving workspace using pattern(s): [2024-09-26T14:17:38.669Z] Archives upload complete. [2024-09-26T14:17:38.669Z] INFO: archiving logs to Nexus