Branch indexing 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 lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+cc49468877935c119f35277098ef123672d1c8b2 (ca0b565b56a12434f120ed829c60bc53a2b32de1) 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-ssh1761525018548767795.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17737448990968357567.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11405311954022534497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2079466426138325961.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10883013172239527435.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26786 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [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-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 Checking out Revision d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # 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 cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 # timeout=10 Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" > git rev-list --no-walk 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-05T18:57:55.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-05T18:57:55.187Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-05T18:57:55.211Z] ========================================================= [2024-01-05T18:57:55.211Z] EdgeX Global Pipelines Version Info [2024-01-05T18:57:55.211Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:57:55.943Z] ------------------- [2024-01-05T18:57:55.943Z] stable info: [2024-01-05T18:57:55.943Z] ------------------- [2024-01-05T18:57:55.943Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-05T18:57:55.943Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:57:55.943Z] Message: update stable to v1.0.258 [2024-01-05T18:57:56.517Z] ------------------- [2024-01-05T18:57:56.517Z] experimental info: [2024-01-05T18:57:56.517Z] ------------------- [2024-01-05T18:57:56.517Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-05T18:57:56.517Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:57:56.517Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-05T18:57:56.599Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-05T18:57:56.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-05T18:57:56.657Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-05T18:57:56.686Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-05T18:57:56.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-05T18:57:56.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-05T18:57:56.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-05T18:57:56.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-05T18:57:56.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-05T18:57:56.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-05T18:57:56.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-05T18:57:56.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-05T18:57:56.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-05T18:57:57.035Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-05T18:57:57.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-05T18:57:57.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-05T18:57:57.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-05T18:57:57.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-01-05T18:57:57.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-01-05T18:57:57.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-01-05T18:57:57.298Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [Pipeline] echo [2024-01-05T18:57:57.331Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8fab68 [Pipeline] echo [2024-01-05T18:57:57.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T18:57:57.439Z] provisioning config files... [2024-01-05T18:57:57.456Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config16348460600714755639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:57:57.796Z] ---> ****-login.sh [2024-01-05T18:57:57.796Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:57:58.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:57:58.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:57:58.057Z] Configure a credential helper to remove this warning. See [2024-01-05T18:57:58.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:57:58.057Z] [2024-01-05T18:57:58.057Z] Login Succeeded [2024-01-05T18:57:58.057Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:57:58.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:57:58.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:57:58.316Z] Configure a credential helper to remove this warning. See [2024-01-05T18:57:58.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:57:58.316Z] [2024-01-05T18:57:58.316Z] Login Succeeded [2024-01-05T18:57:58.316Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:57:58.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:57:58.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:57:58.316Z] Configure a credential helper to remove this warning. See [2024-01-05T18:57:58.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:57:58.316Z] [2024-01-05T18:57:58.316Z] Login Succeeded [2024-01-05T18:57:58.316Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:57:58.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:57:58.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:57:58.578Z] Configure a credential helper to remove this warning. See [2024-01-05T18:57:58.578Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:57:58.578Z] [2024-01-05T18:57:58.578Z] Login Succeeded [2024-01-05T18:57:58.578Z] ****.io [2024-01-05T18:57:58.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:57:58.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:57:58.838Z] Configure a credential helper to remove this warning. See [2024-01-05T18:57:58.838Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:57:58.838Z] [2024-01-05T18:57:58.838Z] Login Succeeded [2024-01-05T18:57:58.838Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:57:58.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-01-05T18:57:59.346Z] + git rev-list -1 --merges d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845~1..d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [Pipeline] echo [2024-01-05T18:57:59.379Z] -----------> git rev-list -1 --merges d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845~1..d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [2024-01-05T18:57:59.379Z] d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [false] [Pipeline] sh [2024-01-05T18:57:59.682Z] + git log --format=format:%s -1 d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [Pipeline] echo [2024-01-05T18:57:59.698Z] ========================================================= [2024-01-05T18:57:59.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:57:59.698Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-05T18:58:00.252Z] + git rev-list -1 --merges d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845~1..d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [Pipeline] echo [2024-01-05T18:58:00.267Z] -----------> git rev-list -1 --merges d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845~1..d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [2024-01-05T18:58:00.267Z] d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [false] [Pipeline] sh [2024-01-05T18:58:00.570Z] + git log --format=format:%s -1 d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [Pipeline] echo [2024-01-05T18:58:00.588Z] ========================================================= [2024-01-05T18:58:00.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:58:00.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-05T18:58:00.999Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T18:58:00.999Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-05T18:58:00.999Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-05T18:58:00.999Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-05T18:58:00.999Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-05T18:58:00.999Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-05T18:58:00.999Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:01.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:58:01.428Z] [2024-01-05T18:58:01.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:01.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:58:01.749Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-05T18:58:01.749Z] b85a868b505f: Pulling fs layer [2024-01-05T18:58:01.749Z] e2be974225ed: Pulling fs layer [2024-01-05T18:58:01.749Z] 339a4e72a1f5: Pulling fs layer [2024-01-05T18:58:01.749Z] 988bab9f4d93: Pulling fs layer [2024-01-05T18:58:01.749Z] 1469e6f7b9e6: Pulling fs layer [2024-01-05T18:58:01.749Z] eaf3925da568: Pulling fs layer [2024-01-05T18:58:01.749Z] bab4dde63d76: Pulling fs layer [2024-01-05T18:58:01.749Z] bde34c3a00c8: Pulling fs layer [2024-01-05T18:58:01.749Z] b352a97aabf1: Pulling fs layer [2024-01-05T18:58:01.749Z] 4872d77fe225: Pulling fs layer [2024-01-05T18:58:01.749Z] 5851b861e8e6: Pulling fs layer [2024-01-05T18:58:01.749Z] 988bab9f4d93: Waiting [2024-01-05T18:58:01.749Z] 1469e6f7b9e6: Waiting [2024-01-05T18:58:01.749Z] eaf3925da568: Waiting [2024-01-05T18:58:01.749Z] bab4dde63d76: Waiting [2024-01-05T18:58:01.749Z] bde34c3a00c8: Waiting [2024-01-05T18:58:01.749Z] b352a97aabf1: Waiting [2024-01-05T18:58:01.749Z] 4872d77fe225: Waiting [2024-01-05T18:58:01.749Z] 5851b861e8e6: Waiting [2024-01-05T18:58:01.749Z] 988bab9f4d93: Verifying Checksum [2024-01-05T18:58:01.749Z] 988bab9f4d93: Download complete [2024-01-05T18:58:01.749Z] 339a4e72a1f5: Verifying Checksum [2024-01-05T18:58:01.749Z] 339a4e72a1f5: Download complete [2024-01-05T18:58:02.008Z] eaf3925da568: Verifying Checksum [2024-01-05T18:58:02.008Z] eaf3925da568: Download complete [2024-01-05T18:58:02.008Z] 1469e6f7b9e6: Verifying Checksum [2024-01-05T18:58:02.008Z] 1469e6f7b9e6: Download complete [2024-01-05T18:58:02.008Z] bde34c3a00c8: Verifying Checksum [2024-01-05T18:58:02.008Z] bde34c3a00c8: Download complete [2024-01-05T18:58:02.008Z] b352a97aabf1: Verifying Checksum [2024-01-05T18:58:02.008Z] b352a97aabf1: Download complete [2024-01-05T18:58:02.008Z] 4872d77fe225: Verifying Checksum [2024-01-05T18:58:02.008Z] 4872d77fe225: Download complete [2024-01-05T18:58:02.008Z] 5851b861e8e6: Verifying Checksum [2024-01-05T18:58:02.008Z] 5851b861e8e6: Download complete [2024-01-05T18:58:02.008Z] b85a868b505f: Verifying Checksum [2024-01-05T18:58:02.008Z] b85a868b505f: Download complete [2024-01-05T18:58:02.268Z] bab4dde63d76: Verifying Checksum [2024-01-05T18:58:02.268Z] bab4dde63d76: Download complete [2024-01-05T18:58:03.205Z] b85a868b505f: Pull complete [2024-01-05T18:58:03.469Z] e2be974225ed: Pull complete [2024-01-05T18:58:04.038Z] 339a4e72a1f5: Pull complete [2024-01-05T18:58:04.038Z] 988bab9f4d93: Pull complete [2024-01-05T18:58:04.298Z] 1469e6f7b9e6: Pull complete [2024-01-05T18:58:04.298Z] eaf3925da568: Pull complete [2024-01-05T18:58:06.213Z] bab4dde63d76: Pull complete [2024-01-05T18:58:06.213Z] bde34c3a00c8: Pull complete [2024-01-05T18:58:06.474Z] b352a97aabf1: Pull complete [2024-01-05T18:58:06.474Z] 4872d77fe225: Pull complete [2024-01-05T18:58:06.735Z] 5851b861e8e6: Pull complete [2024-01-05T18:58:06.735Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-05T18:58:06.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:58:06.735Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:58:06.937Z] prd-ubuntu20.04-docker-8c-8g-26786 does not seem to be running inside a container [2024-01-05T18:58:06.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-05T18:58:10.767Z] $ docker top 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 -eo pid,comm [2024-01-05T18:58:10.828Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-01-05T18:58:10.828Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T18:58:10.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:58:10.931Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:58:11.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:58:11.049Z] $ docker exec 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 ssh-agent [2024-01-05T18:58:11.151Z] SSH_AUTH_SOCK=/tmp/ssh-onPpMnSTEAvy/agent.31 [2024-01-05T18:58:11.151Z] SSH_AGENT_PID=37 [2024-01-05T18:58:11.157Z] Running ssh-add (command line suppressed) [2024-01-05T18:58:11.261Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_2458710256744442987.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_2458710256744442987.key) [2024-01-05T18:58:11.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:58:11.583Z] + git tag --points-at HEAD [Pipeline] } [2024-01-05T18:58:11.594Z] $ docker exec --env ******** --env ******** 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 ssh-agent -k [2024-01-05T18:58:11.719Z] unset SSH_AUTH_SOCK; [2024-01-05T18:58:11.720Z] unset SSH_AGENT_PID; [2024-01-05T18:58:11.720Z] echo Agent pid 37 killed; [2024-01-05T18:58:11.732Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-05T18:58:11.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:58:11.800Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:58:11.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:58:11.925Z] $ docker exec 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 ssh-agent [2024-01-05T18:58:12.032Z] SSH_AUTH_SOCK=/tmp/ssh-sXYtXVX5I9UV/agent.69 [2024-01-05T18:58:12.032Z] SSH_AGENT_PID=75 [2024-01-05T18:58:12.037Z] Running ssh-add (command line suppressed) [2024-01-05T18:58:12.135Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_14287871558590771968.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_14287871558590771968.key) [2024-01-05T18:58:12.149Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:58:12.475Z] + git semver init [2024-01-05T18:58:12.739Z] 2024-01-05 18:58:12,676 [run_init] DEBUG init version:0.0.0 force:False [2024-01-05T18:58:12.739Z] 2024-01-05 18:58:12,676 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-05T18:58:12.739Z] 2024-01-05 18:58:12,677 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-05T18:58:12.739Z] 2024-01-05 18:58:12,677 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,566 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,566 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,566 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,571 [execute] INFO git cat-file --batch-check [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,577 [execute] INFO git cat-file --batch [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:58:13.682Z] 2024-01-05 18:58:13,584 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-05T18:58:13.682Z] 0.0.0 [Pipeline] } [2024-01-05T18:58:13.692Z] $ docker exec --env ******** --env ******** 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 ssh-agent -k [2024-01-05T18:58:13.793Z] unset SSH_AUTH_SOCK; [2024-01-05T18:58:13.793Z] unset SSH_AGENT_PID; [2024-01-05T18:58:13.794Z] echo Agent pid 75 killed; [2024-01-05T18:58:13.806Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T18:58:14.187Z] + git semver [Pipeline] } [2024-01-05T18:58:14.459Z] $ docker stop --time=1 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 [2024-01-05T18:58:15.764Z] $ docker rm -f --volumes 0f2c8cfbdc5bf6317ab6aa757d3bcec1ba44f2f7b58dd46c88a6ec83d0423e11 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-05T18:58:16.142Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-05T18:58:16.418Z] Stashed 1 file(s) [Pipeline] echo [2024-01-05T18:58:16.422Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T18:58:16.726Z] provisioning config files... [2024-01-05T18:58:16.734Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config3009942824933116476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:58:17.063Z] ---> ****-login.sh [2024-01-05T18:58:17.063Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:58:17.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:17.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:17.063Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:17.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:17.063Z] [2024-01-05T18:58:17.063Z] Login Succeeded [2024-01-05T18:58:17.063Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:58:17.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:17.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:17.063Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:17.063Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:17.063Z] [2024-01-05T18:58:17.063Z] Login Succeeded [2024-01-05T18:58:17.063Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:58:17.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:17.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:17.325Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:17.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:17.325Z] [2024-01-05T18:58:17.325Z] Login Succeeded [2024-01-05T18:58:17.325Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:58:17.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:17.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:17.325Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:17.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:17.325Z] [2024-01-05T18:58:17.325Z] Login Succeeded [2024-01-05T18:58:17.325Z] ****.io [2024-01-05T18:58:17.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:17.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:17.584Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:17.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:17.584Z] [2024-01-05T18:58:17.584Z] Login Succeeded [2024-01-05T18:58:17.584Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:58:17.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T18:58:17.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:58:17.777Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-05T18:58:17.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:58:17.846Z] ========================================================= [2024-01-05T18:58:17.846Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-05T18:58:17.846Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:18.220Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-01-05T18:58:18.221Z] Sending build context to Docker daemon 4.977MB [2024-01-05T18:58:18.221Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-01-05T18:58:18.221Z] Step 2/22 : FROM ${BASE} as builder [2024-01-05T18:58:18.221Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-05T18:58:18.221Z] 96526aa774ef: Pulling fs layer [2024-01-05T18:58:18.221Z] da60e534fd72: Pulling fs layer [2024-01-05T18:58:18.480Z] 96526aa774ef: Verifying Checksum [2024-01-05T18:58:18.480Z] 96526aa774ef: Download complete [2024-01-05T18:58:18.480Z] 96526aa774ef: Pull complete [2024-01-05T18:58:19.050Z] da60e534fd72: Download complete [2024-01-05T18:58:22.337Z] da60e534fd72: Pull complete [2024-01-05T18:58:22.337Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-05T18:58:22.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-05T18:58:22.337Z] ---> 6605166a5db4 [2024-01-05T18:58:22.337Z] 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-01-05T18:58:25.631Z] ---> Running in 7c6640a9726b [2024-01-05T18:58:25.889Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T18:58:26.465Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:58:26.465Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:58:26.465Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:58:26.725Z] Removing intermediate container 7c6640a9726b [2024-01-05T18:58:26.725Z] ---> f0fb14000055 [2024-01-05T18:58:26.725Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:58:26.725Z] ---> Running in 4c01373b80c8 [2024-01-05T18:58:27.301Z] Removing intermediate container 4c01373b80c8 [2024-01-05T18:58:27.301Z] ---> 14d18d5dea4a [2024-01-05T18:58:27.301Z] 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-01-05T18:58:27.301Z] ---> Running in 6d3654c2eaf4 [2024-01-05T18:58:27.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:27.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:27.824Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:28.393Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:28.393Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T18:58:28.393Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:58:28.393Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:58:29.334Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:58:29.334Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:58:29.334Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T18:58:29.334Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:58:29.334Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:58:29.334Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:58:29.334Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:58:29.334Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:58:29.334Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T18:58:29.595Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T18:58:29.595Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T18:58:29.595Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-05T18:58:29.595Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:58:29.595Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:58:29.595Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:58:29.595Z] OK: 336 MiB in 99 packages [2024-01-05T18:58:30.164Z] Removing intermediate container 6d3654c2eaf4 [2024-01-05T18:58:30.164Z] ---> f9b97a3eb4ba [2024-01-05T18:58:30.164Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-01-05T18:58:30.164Z] ---> Running in e5bcae77baf7 [2024-01-05T18:58:30.731Z] Removing intermediate container e5bcae77baf7 [2024-01-05T18:58:30.731Z] ---> a716282dc70b [2024-01-05T18:58:30.731Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-01-05T18:58:30.991Z] ---> 7e3bb5104647 [2024-01-05T18:58:30.991Z] Step 8/22 : COPY src /tmp/sdk/src [2024-01-05T18:58:31.250Z] ---> 7c3d35cb4756 [2024-01-05T18:58:31.250Z] Step 9/22 : COPY include /tmp/sdk/include [2024-01-05T18:58:31.250Z] ---> 4e20c6cded84 [2024-01-05T18:58:31.250Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-01-05T18:58:31.508Z] ---> 36d5344d3d74 [2024-01-05T18:58:31.508Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-01-05T18:58:31.508Z] ---> 70b8fd1d559c [2024-01-05T18:58:31.508Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-01-05T18:58:31.631Z] Still waiting to schedule task [2024-01-05T18:58:31.631Z] ‘prd-centos7-blackbox-4c-2g-26441’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-01-05T18:58:31.631Z] ‘prd-centos7-blackbox-4c-2g-26442’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-01-05T18:58:31.632Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-26788’ is offline [2024-01-05T18:58:31.767Z] ---> 719541540fda [2024-01-05T18:58:31.767Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T18:58:31.767Z] ---> Running in 0d97f4ce4e03 [2024-01-05T18:58:32.026Z] + CPPCHECK=false [2024-01-05T18:58:32.026Z] + DOCGEN=false [2024-01-05T18:58:32.026Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T18:58:32.026Z] + '[' 0 -gt 0 ] [2024-01-05T18:58:32.026Z] + readlink -f ./scripts/build.sh [2024-01-05T18:58:32.026Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-05T18:58:32.026Z] + dirname /tmp/sdk/scripts [2024-01-05T18:58:32.026Z] + ROOT=/tmp/sdk [2024-01-05T18:58:32.026Z] + cd /tmp/sdk [2024-01-05T18:58:32.026Z] + mkdir -p /tmp/sdk/build/release [2024-01-05T18:58:32.026Z] + cd /tmp/sdk/build/release [2024-01-05T18:58:32.026Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T18:58:32.026Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:58:32.026Z] -- Detecting C compiler ABI info [2024-01-05T18:58:32.285Z] -- Detecting C compiler ABI info - done [2024-01-05T18:58:32.285Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:58:32.285Z] -- Detecting C compile features [2024-01-05T18:58:32.285Z] -- Detecting C compile features - done [2024-01-05T18:58:32.285Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:58:32.285Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:58:32.285Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:58:32.285Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:58:32.285Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:58:32.285Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:58:32.285Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:58:32.285Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:58:32.285Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:58:32.285Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:58:32.285Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:58:32.285Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:58:32.285Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:58:32.285Z] -- Configuring done (0.4s) [2024-01-05T18:58:32.545Z] -- Generating done (0.0s) [2024-01-05T18:58:32.545Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T18:58:32.545Z] + make all package [2024-01-05T18:58:32.545Z] + tee release.log [2024-01-05T18:58:32.545Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:58:32.545Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:58:32.806Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:58:32.806Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:58:33.065Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:58:33.065Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:58:33.324Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:58:33.583Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T18:58:33.583Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:58:33.583Z] 294 | while (privateConfig) [2024-01-05T18:58:33.583Z] | ^~~~~~~~~~~~~ [2024-01-05T18:58:33.583Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T18:58:33.583Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:58:33.583Z] | ^~~~~~~~~~~~~ [2024-01-05T18:58:33.583Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:58:33.583Z] 271 | while (result) [2024-01-05T18:58:33.583Z] | ^~~~~~ [2024-01-05T18:58:33.583Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T18:58:33.583Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:58:33.583Z] | ^~~~~~ [2024-01-05T18:58:33.583Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:58:33.583Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:58:33.583Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:58:34.151Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:58:34.151Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:58:34.151Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:58:34.410Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:58:34.410Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:58:34.669Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:58:34.669Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:58:34.929Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:58:34.929Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:58:35.189Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:58:35.189Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:58:36.568Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:58:36.568Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:58:36.568Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:58:36.568Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:58:36.568Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:58:36.828Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:58:37.087Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:58:37.346Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:58:37.346Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:58:37.346Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:58:37.607Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:58:37.607Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:58:37.607Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:58:37.607Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:58:37.607Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:58:37.607Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:58:37.607Z] | ^ [2024-01-05T18:58:37.607Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:58:37.607Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T18:58:37.607Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:58:37.607Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T18:58:37.607Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T18:58:37.607Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:58:37.866Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:58:37.866Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:58:38.127Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:58:38.127Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:58:38.127Z] [ 68%] Built target csdk [2024-01-05T18:58:38.127Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:58:38.387Z] [ 72%] Linking C executable template [2024-01-05T18:58:38.387Z] [ 72%] Built target template [2024-01-05T18:58:38.387Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:58:38.387Z] [ 76%] Linking C executable device-counter [2024-01-05T18:58:38.646Z] [ 76%] Built target device-counter [2024-01-05T18:58:38.646Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:58:38.646Z] [ 80%] Linking C executable device-random [2024-01-05T18:58:38.646Z] [ 80%] Built target device-random [2024-01-05T18:58:38.646Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:58:38.907Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:58:38.907Z] [ 84%] Built target device-gyro [2024-01-05T18:58:38.907Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:58:38.907Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:58:39.166Z] [ 88%] Built target device-bitfields [2024-01-05T18:58:39.166Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:58:39.166Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:58:39.166Z] [ 92%] Built target template-discovery [2024-01-05T18:58:39.426Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:58:39.426Z] [ 96%] Linking C executable device-file [2024-01-05T18:58:39.426Z] [ 96%] Built target device-file [2024-01-05T18:58:39.426Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:58:39.685Z] [100%] Linking C executable device-terminal [2024-01-05T18:58:39.685Z] [100%] Built target device-terminal [2024-01-05T18:58:39.685Z] Run CPack packaging tool... [2024-01-05T18:58:39.685Z] CPack: Create package using TGZ [2024-01-05T18:58:39.685Z] CPack: Install projects [2024-01-05T18:58:39.685Z] CPack: - Run preinstall target for: Csdk [2024-01-05T18:58:39.944Z] CPack: - Install project: Csdk [] [2024-01-05T18:58:39.944Z] CPack: Create package [2024-01-05T18:58:39.944Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T18:58:39.944Z] + '[' false '=' true ] [2024-01-05T18:58:39.944Z] + '[' false '=' true ] [2024-01-05T18:58:39.944Z] + mkdir -p /tmp/sdk/build/debug [2024-01-05T18:58:39.944Z] + cd /tmp/sdk/build/debug [2024-01-05T18:58:39.944Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T18:58:39.944Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:58:39.944Z] -- Detecting C compiler ABI info [2024-01-05T18:58:40.202Z] -- Detecting C compiler ABI info - done [2024-01-05T18:58:40.202Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:58:40.202Z] -- Detecting C compile features [2024-01-05T18:58:40.202Z] -- Detecting C compile features - done [2024-01-05T18:58:40.202Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:58:40.202Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:58:40.202Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:58:40.202Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:58:40.202Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:58:40.202Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:58:40.202Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:58:40.202Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:58:40.202Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:58:40.202Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:58:40.202Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:58:40.202Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:58:40.460Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:58:40.460Z] -- Configuring done (0.4s) [2024-01-05T18:58:40.460Z] -- Generating done (0.0s) [2024-01-05T18:58:40.460Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T18:58:40.460Z] + + maketee [2024-01-05T18:58:40.460Z] debug.log [2024-01-05T18:58:40.460Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:58:40.460Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:58:40.718Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:58:40.718Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:58:40.718Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:58:40.718Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:58:40.978Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:58:40.978Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:58:40.978Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:58:41.236Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:58:41.236Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:58:41.236Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:58:41.496Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:58:41.496Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:58:41.496Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:58:41.496Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:58:41.758Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:58:41.758Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:58:41.758Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:58:41.758Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:58:42.017Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:58:42.277Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:58:42.277Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:58:42.277Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:58:42.277Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:58:42.277Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:58:42.538Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:58:42.797Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:58:42.797Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:58:42.797Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:58:42.797Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:58:43.057Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:58:43.057Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:58:43.057Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:58:43.057Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:58:43.057Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:58:43.057Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:58:43.057Z] | ^ [2024-01-05T18:58:43.057Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:58:43.057Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:58:43.057Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:58:43.317Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:58:43.317Z] [ 68%] Built target csdk [2024-01-05T18:58:43.317Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:58:43.317Z] [ 72%] Linking C executable template [2024-01-05T18:58:43.317Z] [ 72%] Built target template [2024-01-05T18:58:43.317Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:58:43.577Z] [ 76%] Linking C executable device-counter [2024-01-05T18:58:43.577Z] [ 76%] Built target device-counter [2024-01-05T18:58:43.577Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:58:43.577Z] [ 80%] Linking C executable device-random [2024-01-05T18:58:43.577Z] [ 80%] Built target device-random [2024-01-05T18:58:43.836Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:58:43.836Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:58:43.836Z] [ 84%] Built target device-gyro [2024-01-05T18:58:43.836Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:58:43.836Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:58:44.096Z] [ 88%] Built target device-bitfields [2024-01-05T18:58:44.096Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:58:44.096Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:58:44.096Z] [ 92%] Built target template-discovery [2024-01-05T18:58:44.096Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:58:44.096Z] [ 96%] Linking C executable device-file [2024-01-05T18:58:44.393Z] [ 96%] Built target device-file [2024-01-05T18:58:44.393Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:58:44.393Z] [100%] Linking C executable device-terminal [2024-01-05T18:58:44.393Z] [100%] Built target device-terminal [2024-01-05T18:58:44.393Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-05T18:58:44.652Z] [ 68%] Built target csdk [2024-01-05T18:58:44.652Z] [ 72%] Built target template [2024-01-05T18:58:44.652Z] [ 76%] Built target device-counter [2024-01-05T18:58:44.652Z] [ 80%] Built target device-random [2024-01-05T18:58:44.652Z] [ 84%] Built target device-gyro [2024-01-05T18:58:44.652Z] [ 88%] Built target device-bitfields [2024-01-05T18:58:44.652Z] [ 92%] Built target template-discovery [2024-01-05T18:58:44.652Z] [ 96%] Built target device-file [2024-01-05T18:58:44.652Z] [100%] Built target device-terminal [2024-01-05T18:58:44.652Z] Install the project... [2024-01-05T18:58:44.652Z] -- Install configuration: "Release" [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T18:58:44.652Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/devsdk [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T18:58:44.652Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T18:58:44.652Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T18:58:45.238Z] Removing intermediate container 0d97f4ce4e03 [2024-01-05T18:58:45.238Z] ---> 44acad0847e9 [2024-01-05T18:58:45.238Z] Step 14/22 : FROM ${BASE} [2024-01-05T18:58:45.238Z] ---> 6605166a5db4 [2024-01-05T18:58:45.238Z] Step 15/22 : LABEL maintainer="IOTech " [2024-01-05T18:58:45.497Z] ---> Running in c15958aa936d [2024-01-05T18:58:45.497Z] Removing intermediate container c15958aa936d [2024-01-05T18:58:45.497Z] ---> 989318079a86 [2024-01-05T18:58:45.497Z] 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-01-05T18:58:45.497Z] ---> Running in 34cf88018404 [2024-01-05T18:58:45.758Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T18:58:46.327Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:58:46.327Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:58:46.327Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:58:46.587Z] Removing intermediate container 34cf88018404 [2024-01-05T18:58:46.587Z] ---> e65364be0090 [2024-01-05T18:58:46.587Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:58:46.587Z] ---> Running in c5c37434b30b [2024-01-05T18:58:47.156Z] Removing intermediate container c5c37434b30b [2024-01-05T18:58:47.156Z] ---> 6a02343c546e [2024-01-05T18:58:47.156Z] 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-01-05T18:58:47.156Z] ---> Running in f83a01e19f0f [2024-01-05T18:58:47.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:47.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:47.940Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:48.508Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:48.508Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:58:48.508Z] (2/10) Installing curl (8.5.0-r0) [2024-01-05T18:58:48.508Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:58:48.508Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-01-05T18:58:48.508Z] (5/10) Installing hiredis (1.1.0-r2) [2024-01-05T18:58:48.508Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:58:48.508Z] (7/10) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:58:49.446Z] (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:58:49.706Z] (9/10) Installing libcbor (0.10.2-r1) [2024-01-05T18:58:49.706Z] (10/10) Installing libuuid (2.38.1-r8) [2024-01-05T18:58:49.706Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:58:49.706Z] OK: 331 MiB in 90 packages [2024-01-05T18:58:50.275Z] Removing intermediate container f83a01e19f0f [2024-01-05T18:58:50.275Z] ---> 35c8df7e37d4 [2024-01-05T18:58:50.275Z] Step 19/22 : RUN apk --no-cache upgrade [2024-01-05T18:58:50.275Z] ---> Running in e9006a01b380 [2024-01-05T18:58:50.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:50.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:50.798Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:51.367Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:51.367Z] (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T18:58:51.367Z] Executing busybox-1.36.1-r5.post-upgrade [2024-01-05T18:58:51.367Z] (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T18:58:51.367Z] (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T18:58:51.367Z] (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T18:58:51.367Z] (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T18:58:51.367Z] (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T18:58:51.367Z] Executing busybox-1.36.1-r5.trigger [2024-01-05T18:58:51.367Z] Executing ca-certificates-20230506-r0.trigger [2024-01-05T18:58:51.367Z] OK: 331 MiB in 90 packages [2024-01-05T18:58:52.315Z] Removing intermediate container e9006a01b380 [2024-01-05T18:58:52.315Z] ---> b64dc0a738f7 [2024-01-05T18:58:52.315Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T18:58:52.315Z] ---> cc1655c1d998 [2024-01-05T18:58:52.315Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T18:58:52.315Z] ---> c4d78bf83a02 [2024-01-05T18:58:52.315Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T18:58:52.574Z] ---> df017536e8f0 [2024-01-05T18:58:52.574Z] Successfully built df017536e8f0 [2024-01-05T18:58:52.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:53.172Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-05T18:58:53.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:58:53.283Z] prd-ubuntu20.04-docker-8c-8g-26786 does not seem to be running inside a container [2024-01-05T18:58:53.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-05T18:58:53.634Z] $ docker top 12c099bf9f79d1a1034b3cd66c5878531431b45ba5d87c7c8ca6a3540354a6d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T18:58:54.024Z] + make test [2024-01-05T18:58:54.024Z] echo "make test" [2024-01-05T18:58:54.024Z] make test [Pipeline] } [2024-01-05T18:58:54.034Z] $ docker stop --time=1 12c099bf9f79d1a1034b3cd66c5878531431b45ba5d87c7c8ca6a3540354a6d2 [2024-01-05T18:58:55.443Z] $ docker rm -f --volumes 12c099bf9f79d1a1034b3cd66c5878531431b45ba5d87c7c8ca6a3540354a6d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T18:58:56.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T18:58:56.382Z] + ls -al . [2024-01-05T18:58:56.382Z] total 212 [2024-01-05T18:58:56.382Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 18:58 . [2024-01-05T18:58:56.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:57 .. [2024-01-05T18:58:56.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:58 .git [2024-01-05T18:58:56.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 18:57 .github [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 18:57 .gitignore [2024-01-05T18:58:56.382Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:58 .semver [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 18:57 Attribution.txt [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 18:57 CHANGELOG.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 18:57 Doxyfile [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 18:57 GOVERNANCE.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 18:57 Jenkinsfile [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 18:57 LICENSE [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 18:57 Makefile [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 18:57 OWNERS.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 18:57 README.IOT.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 18:57 README.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 18:57 README.v3.md [2024-01-05T18:58:56.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:58 VERSION [2024-01-05T18:58:56.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:57 docs [2024-01-05T18:58:56.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:57 include [2024-01-05T18:58:56.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:57 scripts [2024-01-05T18:58:56.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:56.739Z] + 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=d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 --label arch=amd64 --label version=0.0.0 . [2024-01-05T18:58:56.739Z] Sending build context to Docker daemon 4.977MB [2024-01-05T18:58:56.739Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-01-05T18:58:56.739Z] Step 2/18 : FROM ${BASE} [2024-01-05T18:58:56.739Z] ---> df017536e8f0 [2024-01-05T18:58:56.739Z] Step 3/18 : LABEL maintainer="IOTech " [2024-01-05T18:58:56.739Z] ---> Running in 7e32d033a4f1 [2024-01-05T18:58:56.739Z] Removing intermediate container 7e32d033a4f1 [2024-01-05T18:58:56.739Z] ---> 02b68f8ad9fa [2024-01-05T18:58:56.739Z] 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-01-05T18:58:56.739Z] ---> Running in 3b94648ed39b [2024-01-05T18:58:56.998Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T18:58:57.567Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:58:57.567Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:58:57.567Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:58:57.827Z] Removing intermediate container 3b94648ed39b [2024-01-05T18:58:57.827Z] ---> 57902c7dc03e [2024-01-05T18:58:57.827Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:58:57.827Z] ---> Running in d3dcafbe1e1f [2024-01-05T18:58:58.403Z] Removing intermediate container d3dcafbe1e1f [2024-01-05T18:58:58.403Z] ---> 7aa883b24f2c [2024-01-05T18:58:58.404Z] 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-01-05T18:58:58.404Z] ---> Running in 85551b1c228a [2024-01-05T18:58:58.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:58.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:58.957Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:58:59.553Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:59.553Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:58:59.819Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:58:59.819Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:58:59.819Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:58:59.819Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:58:59.819Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:58:59.819Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T18:58:59.819Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T18:58:59.819Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-05T18:58:59.819Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:58:59.819Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:58:59.819Z] Executing busybox-1.36.1-r5.trigger [2024-01-05T18:58:59.819Z] OK: 337 MiB in 101 packages [2024-01-05T18:59:00.386Z] Removing intermediate container 85551b1c228a [2024-01-05T18:59:00.386Z] ---> e7d890ab6cfa [2024-01-05T18:59:00.386Z] Step 7/18 : RUN apk --no-cache upgrade [2024-01-05T18:59:00.386Z] ---> Running in f5636117a758 [2024-01-05T18:59:00.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:59:00.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:59:00.906Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:59:01.474Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:59:01.474Z] OK: 337 MiB in 101 packages [2024-01-05T18:59:01.732Z] Removing intermediate container f5636117a758 [2024-01-05T18:59:01.732Z] ---> 2ee493c1b372 [2024-01-05T18:59:01.732Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-01-05T18:59:01.732Z] ---> 7b0a385cac5c [2024-01-05T18:59:01.732Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-01-05T18:59:01.992Z] ---> 6f621f2b3bf2 [2024-01-05T18:59:01.992Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-01-05T18:59:02.250Z] ---> a807424437ee [2024-01-05T18:59:02.250Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-01-05T18:59:02.250Z] ---> 532c8a27fdf8 [2024-01-05T18:59:02.250Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-01-05T18:59:02.250Z] ---> f0b1767046ad [2024-01-05T18:59:02.250Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T18:59:02.509Z] ---> 1da07f2f7179 [2024-01-05T18:59:02.509Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-01-05T18:59:02.509Z] ---> Running in ea19d6eabf19 [2024-01-05T18:59:02.509Z] Removing intermediate container ea19d6eabf19 [2024-01-05T18:59:02.509Z] ---> d3e21ccee3a9 [2024-01-05T18:59:02.509Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-05T18:59:02.509Z] ---> Running in a4f82b46402a [2024-01-05T18:59:02.768Z] Removing intermediate container a4f82b46402a [2024-01-05T18:59:02.768Z] ---> 3617dcc28b17 [2024-01-05T18:59:02.768Z] Step 16/18 : LABEL arch=amd64 [2024-01-05T18:59:02.768Z] ---> Running in 17eb44658022 [2024-01-05T18:59:02.768Z] Removing intermediate container 17eb44658022 [2024-01-05T18:59:02.768Z] ---> 3e4837ee64a8 [2024-01-05T18:59:02.768Z] Step 17/18 : LABEL git_sha=d8fab684bcff33d3fa2e1ef0f9f6a427fcd04845 [2024-01-05T18:59:02.768Z] ---> Running in b6dc90c33e50 [2024-01-05T18:59:02.768Z] Removing intermediate container b6dc90c33e50 [2024-01-05T18:59:02.768Z] ---> 36c14857fe62 [2024-01-05T18:59:02.768Z] Step 18/18 : LABEL version=0.0.0 [2024-01-05T18:59:02.768Z] ---> Running in ef5f76ba123f [2024-01-05T18:59:03.027Z] Removing intermediate container ef5f76ba123f [2024-01-05T18:59:03.027Z] ---> 09a665311a21 [2024-01-05T18:59:03.027Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-05T18:59:03.027Z] Successfully built 09a665311a21 [2024-01-05T18:59:03.027Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:59:03.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:59:03.785Z] [2024-01-05T18:59:03.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:59:04.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:59:04.102Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-05T18:59:04.102Z] 5eb5b503b376: Pulling fs layer [2024-01-05T18:59:04.102Z] 5c69ac0246d0: Pulling fs layer [2024-01-05T18:59:04.102Z] ec43610c2a17: Pulling fs layer [2024-01-05T18:59:04.102Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-05T18:59:04.102Z] 33b1e0a273af: Pulling fs layer [2024-01-05T18:59:04.102Z] 5d3b04190fa2: Pulling fs layer [2024-01-05T18:59:04.102Z] 2f39f015ded8: Pulling fs layer [2024-01-05T18:59:04.102Z] 3a2ae6a8a46f: Waiting [2024-01-05T18:59:04.102Z] 33b1e0a273af: Waiting [2024-01-05T18:59:04.102Z] 2f39f015ded8: Waiting [2024-01-05T18:59:04.102Z] 5d3b04190fa2: Waiting [2024-01-05T18:59:04.102Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-05T18:59:04.102Z] 3a2ae6a8a46f: Download complete [2024-01-05T18:59:04.102Z] 33b1e0a273af: Verifying Checksum [2024-01-05T18:59:04.102Z] 33b1e0a273af: Download complete [2024-01-05T18:59:04.102Z] 5d3b04190fa2: Download complete [2024-01-05T18:59:04.102Z] ec43610c2a17: Verifying Checksum [2024-01-05T18:59:04.102Z] ec43610c2a17: Download complete [2024-01-05T18:59:04.359Z] 5eb5b503b376: Verifying Checksum [2024-01-05T18:59:04.359Z] 5eb5b503b376: Download complete [2024-01-05T18:59:04.924Z] 2f39f015ded8: Verifying Checksum [2024-01-05T18:59:04.924Z] 2f39f015ded8: Download complete [2024-01-05T18:59:05.492Z] 5eb5b503b376: Pull complete [2024-01-05T18:59:05.751Z] 5c69ac0246d0: Pull complete [2024-01-05T18:59:06.009Z] ec43610c2a17: Pull complete [2024-01-05T18:59:06.268Z] 3a2ae6a8a46f: Pull complete [2024-01-05T18:59:06.529Z] 33b1e0a273af: Pull complete [2024-01-05T18:59:06.529Z] 5d3b04190fa2: Pull complete [2024-01-05T18:59:10.753Z] 2f39f015ded8: Pull complete [2024-01-05T18:59:10.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-05T18:59:10.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:59:10.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:59:10.922Z] prd-ubuntu20.04-docker-8c-8g-26786 does not seem to be running inside a container [2024-01-05T18:59:10.952Z] $ 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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T18:59:16.103Z] $ docker top 644e2ef89aff77c2f85f8e56206f79bed8e8661d515ac3b05a7981767d2c7708 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:59:16.522Z] ---> job-cost.sh [2024-01-05T18:59:16.522Z] lf-activate-venv: SKIPPING [2024-01-05T18:59:16.522Z] INFO: No Stack... [2024-01-05T18:59:16.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T18:59:17.079Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T18:59:17.373Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-01-05T18:59:17.374Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T18:59:17.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [2024-01-05T18:59:17.396Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] did not exist. Created. [2024-01-05T18:59:17.396Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T18:59:17.765Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T18:59:17.803Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T18:59:17.813Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T18:59:17.876Z] $ docker stop --time=1 644e2ef89aff77c2f85f8e56206f79bed8e8661d515ac3b05a7981767d2c7708 [2024-01-05T18:59:19.021Z] $ docker rm -f --volumes 644e2ef89aff77c2f85f8e56206f79bed8e8661d515ac3b05a7981767d2c7708 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-05T19:01:19.228Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26789 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-01-05T19:01:19.261Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-01-05T19:01:19.322Z] Selected Git installation does not exist. Using Default [2024-01-05T19:01:19.322Z] The recommended git tool is: NONE [2024-01-05T19:01:25.191Z] using credential edgex-jenkins-ssh [2024-01-05T19:01:25.221Z] Cloning the remote Git repository [2024-01-05T19:01:25.275Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T19:01:25.379Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-01-05T19:01:25.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T19:01:25.545Z] > git --version # timeout=10 [2024-01-05T19:01:25.566Z] > git --version # 'git version 2.25.1' [2024-01-05T19:01:25.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T19:01:25.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T19:01:26.819Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T19:01:26.840Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T19:01:27.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T19:01:27.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T19:01:27.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T19:01:27.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-05T19:01:28.382Z] Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-01-05T19:01:28.772Z] Merge succeeded, producing f77a82f9a490ee0637cf83a2c7aa789f714b602c [2024-01-05T19:01:28.772Z] Checking out Revision f77a82f9a490ee0637cf83a2c7aa789f714b602c (PR-496) [2024-01-05T19:01:28.399Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T19:01:28.469Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-01-05T19:01:28.586Z] > git remote # timeout=10 [2024-01-05T19:01:28.605Z] > git config --get remote.origin.url # timeout=10 [2024-01-05T19:01:28.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T19:01:28.636Z] > git merge cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 [2024-01-05T19:01:28.751Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-05T19:01:28.779Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T19:01:28.795Z] > git checkout -f f77a82f9a490ee0637cf83a2c7aa789f714b602c # timeout=10 [2024-01-05T19:01:32.361Z] Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" [2024-01-05T19:01:32.368Z] > git rev-list --no-walk 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T19:01:33.707Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-05T19:01:33.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-05T19:01:33.707Z] Dload Upload Total Spent Left Speed [2024-01-05T19:01:33.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 190k 0 --:--:-- --:--:-- --:--:-- 193k [Pipeline] sh [2024-01-05T19:01:34.162Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-05T19:01:34.498Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-05T19:01:34.498Z] + sudo tee /etc/docker/daemon.new [2024-01-05T19:01:34.498Z] { [2024-01-05T19:01:34.498Z] "registry-mirrors": [ [2024-01-05T19:01:34.498Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-05T19:01:34.498Z] ], [2024-01-05T19:01:34.498Z] "bip": "10.250.0.254/24", [2024-01-05T19:01:34.498Z] "hosts": [ [2024-01-05T19:01:34.498Z] "tcp://0.0.0.0:5555", [2024-01-05T19:01:34.498Z] "unix:///var/run/docker.sock" [2024-01-05T19:01:34.498Z] ], [2024-01-05T19:01:34.498Z] "mtu": 1458, [2024-01-05T19:01:34.498Z] "selinux-enabled": true, [2024-01-05T19:01:34.498Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-05T19:01:34.498Z] } [Pipeline] sh [2024-01-05T19:01:34.824Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-05T19:01:35.153Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T19:01:53.456Z] provisioning config files... [2024-01-05T19:01:53.492Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config240797415169076027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:53.956Z] ---> ****-login.sh [2024-01-05T19:01:53.956Z] nexus3.edgexfoundry.org:10001 [2024-01-05T19:01:54.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:01:54.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:01:54.496Z] Configure a credential helper to remove this warning. See [2024-01-05T19:01:54.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:01:54.496Z] [2024-01-05T19:01:54.496Z] Login Succeeded [2024-01-05T19:01:54.496Z] nexus3.edgexfoundry.org:10002 [2024-01-05T19:01:54.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:01:54.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:01:54.767Z] Configure a credential helper to remove this warning. See [2024-01-05T19:01:54.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:01:54.767Z] [2024-01-05T19:01:54.767Z] Login Succeeded [2024-01-05T19:01:54.767Z] nexus3.edgexfoundry.org:10003 [2024-01-05T19:01:54.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:01:55.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:01:55.036Z] Configure a credential helper to remove this warning. See [2024-01-05T19:01:55.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:01:55.036Z] [2024-01-05T19:01:55.036Z] Login Succeeded [2024-01-05T19:01:55.036Z] nexus3.edgexfoundry.org:10004 [2024-01-05T19:01:55.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:01:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:01:55.304Z] Configure a credential helper to remove this warning. See [2024-01-05T19:01:55.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:01:55.304Z] [2024-01-05T19:01:55.304Z] Login Succeeded [2024-01-05T19:01:55.304Z] ****.io [2024-01-05T19:01:55.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:01:55.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:01:55.842Z] Configure a credential helper to remove this warning. See [2024-01-05T19:01:55.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:01:55.842Z] [2024-01-05T19:01:55.842Z] Login Succeeded [2024-01-05T19:01:55.842Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T19:01:55.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T19:01:56.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T19:01:56.286Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-05T19:01:56.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T19:01:56.370Z] ========================================================= [2024-01-05T19:01:56.370Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-05T19:01:56.370Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:01:56.794Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-01-05T19:01:57.756Z] #0 building with "default" instance using docker driver [2024-01-05T19:01:57.756Z] [2024-01-05T19:01:57.756Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-05T19:01:58.028Z] #1 transferring dockerfile: 2.16kB 0.0s done [2024-01-05T19:01:58.028Z] #1 DONE 0.1s [2024-01-05T19:01:58.028Z] [2024-01-05T19:01:58.028Z] #2 [internal] load .dockerignore [2024-01-05T19:01:58.028Z] #2 transferring context: 2B done [2024-01-05T19:01:58.028Z] #2 DONE 0.1s [2024-01-05T19:01:58.028Z] [2024-01-05T19:01:58.028Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-05T19:01:58.028Z] #3 DONE 0.1s [2024-01-05T19:01:58.028Z] [2024-01-05T19:01:58.028Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T19:01:58.028Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-05T19:01:58.028Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 729.09kB / 3.33MB 0.1s [2024-01-05T19:01:58.028Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-05T19:01:58.028Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-05T19:01:58.028Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-05T19:01:58.298Z] #4 ... [2024-01-05T19:01:58.298Z] [2024-01-05T19:01:58.298Z] #5 [internal] load build context [2024-01-05T19:01:58.298Z] #5 transferring context: 628.08kB 0.1s done [2024-01-05T19:01:58.298Z] #5 DONE 0.2s [2024-01-05T19:01:58.298Z] [2024-01-05T19:01:58.298Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T19:01:58.298Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-05T19:01:58.298Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 6.29MB / 109.51MB 0.3s [2024-01-05T19:01:58.298Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-05T19:01:58.569Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 15.10MB / 109.51MB 0.5s [2024-01-05T19:01:58.569Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-05T19:01:58.840Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 29.88MB / 109.51MB 0.8s [2024-01-05T19:01:59.108Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 39.85MB / 109.51MB 1.0s [2024-01-05T19:01:59.108Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 51.38MB / 109.51MB 1.2s [2024-01-05T19:01:59.377Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 57.67MB / 109.51MB 1.3s [2024-01-05T19:01:59.646Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 69.21MB / 109.51MB 1.5s [2024-01-05T19:01:59.646Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 81.79MB / 109.51MB 1.7s [2024-01-05T19:01:59.915Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 98.57MB / 109.51MB 2.0s [2024-01-05T19:02:00.194Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 104.86MB / 109.51MB 2.1s [2024-01-05T19:02:00.464Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.3s done [2024-01-05T19:02:00.464Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-05T19:02:05.825Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-05T19:02:12.486Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.8s [2024-01-05T19:02:13.452Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.0s done [2024-01-05T19:02:13.726Z] #4 DONE 15.7s [2024-01-05T19:02:14.005Z] [2024-01-05T19:02:14.005Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T19:02:14.593Z] #6 0.740 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T19:02:15.181Z] #6 1.277 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T19:02:15.181Z] #6 1.279 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T19:02:15.181Z] #6 1.280 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T19:02:16.147Z] #6 DONE 2.2s [2024-01-05T19:02:16.147Z] [2024-01-05T19:02:16.147Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T19:02:16.734Z] #7 DONE 0.8s [2024-01-05T19:02:17.006Z] [2024-01-05T19:02:17.006Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-05T19:02:17.975Z] #8 0.942 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:17.975Z] #8 1.293 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:18.560Z] #8 1.836 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:19.523Z] #8 2.802 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:02:19.523Z] #8 2.850 (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T19:02:19.523Z] #8 2.864 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T19:02:19.523Z] #8 2.893 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T19:02:20.485Z] #8 3.658 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T19:02:20.485Z] #8 3.775 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T19:02:20.753Z] #8 4.069 (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T19:02:21.024Z] #8 4.078 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T19:02:21.024Z] #8 4.099 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T19:02:21.024Z] #8 4.112 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T19:02:21.024Z] #8 4.121 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T19:02:21.024Z] #8 4.130 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T19:02:21.024Z] #8 4.167 (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.186 (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.195 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.217 (15/17) Installing libmount (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.233 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.246 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T19:02:21.024Z] #8 4.323 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:02:21.294Z] #8 ... [2024-01-05T19:02:21.294Z] [2024-01-05T19:02:21.295Z] #9 [stage-1 4/8] 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-01-05T19:02:21.295Z] #9 0.993 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:21.295Z] #9 1.322 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:21.295Z] #9 1.866 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:21.295Z] #9 2.797 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:02:21.295Z] #9 2.840 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T19:02:21.295Z] #9 2.871 (2/10) Installing curl (8.5.0-r0) [2024-01-05T19:02:21.295Z] #9 2.883 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T19:02:21.295Z] #9 2.902 (4/10) Installing dumb-init (1.2.5-r2) [2024-01-05T19:02:21.295Z] #9 2.911 (5/10) Installing hiredis (1.1.0-r2) [2024-01-05T19:02:21.295Z] #9 2.918 (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-05T19:02:21.295Z] #9 2.944 (7/10) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T19:02:21.295Z] #9 3.715 (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T19:02:21.295Z] #9 3.950 (9/10) Installing libcbor (0.10.2-r1) [2024-01-05T19:02:21.295Z] #9 3.957 (10/10) Installing libuuid (2.38.1-r8) [2024-01-05T19:02:21.295Z] #9 3.970 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:02:21.295Z] #9 4.021 OK: 328 MiB in 90 packages [2024-01-05T19:02:21.295Z] #9 DONE 4.4s [2024-01-05T19:02:21.295Z] [2024-01-05T19:02:21.295Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-05T19:02:21.295Z] #8 4.395 OK: 333 MiB in 99 packages [2024-01-05T19:02:21.569Z] #8 DONE 4.8s [2024-01-05T19:02:21.569Z] [2024-01-05T19:02:21.569Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-05T19:02:23.524Z] #10 DONE 1.5s [2024-01-05T19:02:23.525Z] [2024-01-05T19:02:23.525Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-05T19:02:23.525Z] #11 DONE 0.1s [2024-01-05T19:02:23.525Z] [2024-01-05T19:02:23.525Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-05T19:02:23.525Z] #12 DONE 0.2s [2024-01-05T19:02:23.525Z] [2024-01-05T19:02:23.525Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-05T19:02:23.525Z] #13 DONE 0.1s [2024-01-05T19:02:23.525Z] [2024-01-05T19:02:23.525Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-05T19:02:23.794Z] #14 DONE 0.1s [2024-01-05T19:02:23.794Z] [2024-01-05T19:02:23.794Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-05T19:02:23.794Z] #15 DONE 0.1s [2024-01-05T19:02:23.794Z] [2024-01-05T19:02:23.794Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-05T19:02:23.794Z] #16 DONE 0.1s [2024-01-05T19:02:23.794Z] [2024-01-05T19:02:23.794Z] #17 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-05T19:02:23.794Z] #17 1.849 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:23.794Z] #17 2.307 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:24.379Z] #17 3.011 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:25.342Z] #17 3.950 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:02:25.342Z] #17 3.999 (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T19:02:25.342Z] #17 4.046 Executing busybox-1.36.1-r5.post-upgrade [2024-01-05T19:02:25.342Z] #17 4.105 (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T19:02:25.342Z] #17 4.112 (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T19:02:25.342Z] #17 4.217 (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T19:02:25.342Z] #17 4.240 (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-05T19:02:25.342Z] #17 4.248 (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r1) [2024-01-05T19:02:25.614Z] #17 4.366 Executing busybox-1.36.1-r5.trigger [2024-01-05T19:02:25.614Z] #17 4.383 Executing ca-certificates-20230506-r0.trigger [2024-01-05T19:02:25.896Z] #17 4.623 OK: 328 MiB in 90 packages [2024-01-05T19:02:26.170Z] #17 DONE 5.0s [2024-01-05T19:02:26.170Z] [2024-01-05T19:02:26.170Z] #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T19:02:26.170Z] #18 0.644 + CPPCHECK=false [2024-01-05T19:02:26.170Z] #18 0.644 + DOCGEN=false [2024-01-05T19:02:26.170Z] #18 0.644 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T19:02:26.170Z] #18 0.644 + '[' 0 -gt 0 ] [2024-01-05T19:02:26.170Z] #18 0.646 + readlink -f ./scripts/build.sh [2024-01-05T19:02:26.170Z] #18 0.649 + dirname /tmp/sdk/scripts/build.sh [2024-01-05T19:02:26.170Z] #18 0.651 + dirname /tmp/sdk/scripts [2024-01-05T19:02:26.170Z] #18 0.652 + ROOT=/tmp/sdk [2024-01-05T19:02:26.170Z] #18 0.652 + cd /tmp/sdk [2024-01-05T19:02:26.170Z] #18 0.653 + mkdir -p /tmp/sdk/build/release [2024-01-05T19:02:26.170Z] #18 0.655 + cd /tmp/sdk/build/release [2024-01-05T19:02:26.170Z] #18 0.655 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T19:02:26.170Z] #18 1.027 -- The C compiler identification is GNU 12.2.1 [2024-01-05T19:02:26.170Z] #18 1.103 -- Detecting C compiler ABI info [2024-01-05T19:02:26.170Z] #18 1.488 -- Detecting C compiler ABI info - done [2024-01-05T19:02:26.170Z] #18 1.602 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T19:02:26.170Z] #18 1.605 -- Detecting C compile features [2024-01-05T19:02:26.170Z] #18 1.609 -- Detecting C compile features - done [2024-01-05T19:02:26.170Z] #18 1.636 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T19:02:26.170Z] #18 1.852 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T19:02:26.170Z] #18 1.873 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T19:02:26.170Z] #18 1.891 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T19:02:26.170Z] #18 1.909 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T19:02:26.170Z] #18 1.929 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T19:02:26.170Z] #18 1.960 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T19:02:26.170Z] #18 1.985 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T19:02:26.170Z] #18 1.985 -- /opt/iotech/iot/1.5/include [2024-01-05T19:02:26.170Z] #18 1.986 -- C SDK 0.0.0 for Linux [2024-01-05T19:02:26.171Z] #18 2.000 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T19:02:26.171Z] #18 2.405 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T19:02:26.438Z] #18 2.609 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T19:02:26.706Z] #18 2.742 -- Configuring done (2.1s) [2024-01-05T19:02:26.974Z] #18 3.017 -- Generating done (0.2s) [2024-01-05T19:02:26.974Z] #18 3.037 -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T19:02:26.974Z] #18 3.062 + make+ tee release.log [2024-01-05T19:02:26.974Z] #18 3.063 all package [2024-01-05T19:02:27.241Z] #18 3.197 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T19:02:27.825Z] #18 3.979 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T19:02:28.787Z] #18 4.941 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T19:02:29.749Z] #18 5.750 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T19:02:30.711Z] #18 6.671 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T19:02:31.298Z] #18 7.343 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T19:02:33.884Z] #18 9.709 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T19:02:34.469Z] #18 10.67 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T19:02:34.469Z] #18 10.67 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:02:34.469Z] #18 10.67 294 | while (privateConfig) [2024-01-05T19:02:34.469Z] #18 10.67 | ^~~~~~~~~~~~~ [2024-01-05T19:02:34.469Z] #18 10.67 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T19:02:34.469Z] #18 10.67 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T19:02:34.469Z] #18 10.67 | ^~~~~~~~~~~~~ [2024-01-05T19:02:34.469Z] #18 10.67 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:02:34.469Z] #18 10.67 271 | while (result) [2024-01-05T19:02:34.469Z] #18 10.67 | ^~~~~~ [2024-01-05T19:02:34.469Z] #18 10.67 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T19:02:34.469Z] #18 10.67 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T19:02:34.469Z] #18 10.67 | ^~~~~~ [2024-01-05T19:02:34.738Z] #18 11.04 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T19:02:35.006Z] #18 11.29 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T19:02:36.416Z] #18 12.28 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T19:02:38.370Z] #18 14.40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T19:02:38.955Z] #18 15.06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T19:02:39.917Z] #18 15.98 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T19:02:40.879Z] #18 16.83 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T19:02:41.146Z] #18 17.38 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T19:02:42.562Z] #18 18.54 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T19:02:42.829Z] #18 18.89 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T19:02:45.428Z] #18 21.17 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T19:02:45.428Z] #18 21.57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T19:02:46.017Z] #18 22.16 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T19:02:47.427Z] #18 23.39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T19:02:54.185Z] #18 30.33 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T19:02:55.168Z] #18 31.11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T19:02:55.442Z] #18 31.59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T19:02:56.040Z] #18 32.24 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T19:02:56.634Z] #18 32.57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T19:02:58.042Z] #18 34.08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T19:03:00.622Z] #18 36.18 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T19:03:00.622Z] #18 36.61 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T19:03:01.206Z] #18 37.48 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T19:03:01.789Z] #18 38.07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T19:03:02.057Z] #18 38.35 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T19:03:02.324Z] #18 38.35 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:03:02.324Z] #18 38.35 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T19:03:02.324Z] #18 38.35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:03:02.324Z] #18 38.35 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:03:02.324Z] #18 38.35 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T19:03:02.324Z] #18 38.35 | ^ [2024-01-05T19:03:03.730Z] #18 39.77 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:03:03.730Z] #18 39.77 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T19:03:03.730Z] #18 39.77 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:03:03.730Z] #18 39.77 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T19:03:03.730Z] #18 39.77 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T19:03:03.730Z] #18 39.77 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:03:04.689Z] #18 40.78 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T19:03:05.646Z] #18 41.53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T19:03:05.646Z] #18 41.87 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T19:03:06.228Z] #18 42.37 [ 68%] Linking C shared library libcsdk.so [2024-01-05T19:03:06.494Z] #18 42.57 [ 68%] Built target csdk [2024-01-05T19:03:06.494Z] #18 42.62 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T19:03:07.452Z] #18 43.42 [ 72%] Linking C executable template [2024-01-05T19:03:07.718Z] #18 43.73 [ 72%] Built target template [2024-01-05T19:03:07.718Z] #18 43.78 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T19:03:08.301Z] #18 44.31 [ 76%] Linking C executable device-counter [2024-01-05T19:03:08.566Z] #18 44.61 [ 76%] Built target device-counter [2024-01-05T19:03:08.566Z] #18 44.67 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T19:03:09.149Z] #18 45.17 [ 80%] Linking C executable device-random [2024-01-05T19:03:09.416Z] #18 45.49 [ 80%] Built target device-random [2024-01-05T19:03:09.416Z] #18 45.54 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T19:03:10.014Z] #18 46.00 [ 84%] Linking C executable device-gyro [2024-01-05T19:03:10.280Z] #18 46.30 [ 84%] Built target device-gyro [2024-01-05T19:03:10.280Z] #18 46.36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T19:03:10.861Z] #18 46.87 [ 88%] Linking C executable device-bitfields [2024-01-05T19:03:11.129Z] #18 47.18 [ 88%] Built target device-bitfields [2024-01-05T19:03:11.129Z] #18 47.23 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T19:03:12.087Z] #18 48.07 [ 92%] Linking C executable template-discovery [2024-01-05T19:03:12.353Z] #18 48.37 [ 92%] Built target template-discovery [2024-01-05T19:03:12.354Z] #18 48.42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T19:03:12.938Z] #18 49.13 [ 96%] Linking C executable device-file [2024-01-05T19:03:13.521Z] #18 49.44 [ 96%] Built target device-file [2024-01-05T19:03:13.521Z] #18 49.50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T19:03:14.104Z] #18 50.11 [100%] Linking C executable device-terminal [2024-01-05T19:03:14.370Z] #18 50.44 [100%] Built target device-terminal [2024-01-05T19:03:16.948Z] #18 53.13 Run CPack packaging tool... [2024-01-05T19:03:16.948Z] #18 53.17 CPack: Create package using TGZ [2024-01-05T19:03:17.216Z] #18 53.17 CPack: Install projects [2024-01-05T19:03:17.216Z] #18 53.17 CPack: - Run preinstall target for: Csdk [2024-01-05T19:03:17.808Z] #18 53.90 CPack: - Install project: Csdk [] [2024-01-05T19:03:17.808Z] #18 53.93 CPack: Create package [2024-01-05T19:03:17.808Z] #18 54.02 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T19:03:18.074Z] #18 54.03 + '[' false '=' true ] [2024-01-05T19:03:18.074Z] #18 54.03 + '[' false '=' true ] [2024-01-05T19:03:18.074Z] #18 54.03 + mkdir -p /tmp/sdk/build/debug [2024-01-05T19:03:18.074Z] #18 54.03 + cd /tmp/sdk/build/debug [2024-01-05T19:03:18.074Z] #18 54.03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T19:03:18.340Z] #18 54.33 -- The C compiler identification is GNU 12.2.1 [2024-01-05T19:03:18.340Z] #18 54.39 -- Detecting C compiler ABI info [2024-01-05T19:03:18.609Z] #18 54.72 -- Detecting C compiler ABI info - done [2024-01-05T19:03:18.609Z] #18 54.80 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T19:03:18.609Z] #18 54.80 -- Detecting C compile features [2024-01-05T19:03:18.609Z] #18 54.81 -- Detecting C compile features - done [2024-01-05T19:03:18.609Z] #18 54.83 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T19:03:18.877Z] #18 55.00 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T19:03:18.877Z] #18 55.02 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T19:03:18.877Z] #18 55.03 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T19:03:18.877Z] #18 55.05 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T19:03:18.877Z] #18 55.06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T19:03:18.877Z] #18 55.08 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T19:03:18.877Z] #18 55.09 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T19:03:18.877Z] #18 55.09 -- /opt/iotech/iot/1.5/include [2024-01-05T19:03:18.877Z] #18 55.09 -- C SDK 0.0.0 for Linux [2024-01-05T19:03:18.877Z] #18 55.11 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T19:03:19.460Z] #18 55.43 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T19:03:19.460Z] #18 55.58 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T19:03:19.727Z] #18 55.69 -- Configuring done (1.6s) [2024-01-05T19:03:19.727Z] #18 55.94 -- Generating done (0.2s) [2024-01-05T19:03:19.994Z] #18 55.95 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T19:03:19.994Z] #18 55.98 + make [2024-01-05T19:03:19.994Z] #18 55.98 + tee debug.log [2024-01-05T19:03:19.994Z] #18 56.10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T19:03:20.259Z] #18 56.48 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T19:03:20.842Z] #18 56.86 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T19:03:21.109Z] #18 57.21 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T19:03:21.375Z] #18 57.57 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T19:03:21.956Z] #18 57.92 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T19:03:22.539Z] #18 58.58 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T19:03:22.805Z] #18 59.02 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T19:03:23.071Z] #18 59.19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T19:03:23.337Z] #18 59.60 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T19:03:24.300Z] #18 60.21 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T19:03:24.566Z] #18 60.54 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T19:03:24.833Z] #18 60.94 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T19:03:25.099Z] #18 61.29 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T19:03:25.682Z] #18 61.61 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T19:03:25.682Z] #18 61.96 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T19:03:25.947Z] #18 62.18 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T19:03:26.904Z] #18 62.91 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T19:03:26.904Z] #18 63.14 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T19:03:27.172Z] #18 63.35 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T19:03:27.752Z] #18 63.96 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T19:03:29.159Z] #18 65.06 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T19:03:29.426Z] #18 65.41 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T19:03:29.695Z] #18 65.68 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T19:03:29.962Z] #18 65.98 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T19:03:29.962Z] #18 66.26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T19:03:30.543Z] #18 66.77 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T19:03:31.953Z] #18 68.07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T19:03:32.220Z] #18 68.33 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T19:03:32.486Z] #18 68.71 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T19:03:33.070Z] #18 69.07 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T19:03:33.070Z] #18 69.34 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T19:03:33.336Z] #18 69.34 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:03:33.336Z] #18 69.34 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T19:03:33.336Z] #18 69.34 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:03:33.336Z] #18 69.34 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:03:33.336Z] #18 69.34 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T19:03:33.336Z] #18 69.34 | ^ [2024-01-05T19:03:33.919Z] #18 69.87 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T19:03:33.919Z] #18 70.22 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T19:03:34.186Z] #18 70.50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T19:03:34.770Z] #18 70.78 [ 68%] Linking C shared library libcsdk.so [2024-01-05T19:03:34.770Z] #18 71.03 [ 68%] Built target csdk [2024-01-05T19:03:34.770Z] #18 71.08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T19:03:35.350Z] #18 71.41 [ 72%] Linking C executable template [2024-01-05T19:03:35.616Z] #18 71.71 [ 72%] Built target template [2024-01-05T19:03:35.616Z] #18 71.76 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T19:03:35.881Z] #18 72.05 [ 76%] Linking C executable device-counter [2024-01-05T19:03:36.152Z] #18 72.35 [ 76%] Built target device-counter [2024-01-05T19:03:36.152Z] #18 72.40 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T19:03:36.418Z] #18 72.69 [ 80%] Linking C executable device-random [2024-01-05T19:03:36.685Z] #18 72.98 [ 80%] Built target device-random [2024-01-05T19:03:36.951Z] #18 73.04 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T19:03:37.219Z] #18 73.31 [ 84%] Linking C executable device-gyro [2024-01-05T19:03:37.485Z] #18 73.62 [ 84%] Built target device-gyro [2024-01-05T19:03:37.485Z] #18 73.67 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T19:03:37.750Z] #18 73.95 [ 88%] Linking C executable device-bitfields [2024-01-05T19:03:38.018Z] #18 74.26 [ 88%] Built target device-bitfields [2024-01-05T19:03:38.018Z] #18 74.31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T19:03:38.599Z] #18 74.66 [ 92%] Linking C executable template-discovery [2024-01-05T19:03:38.866Z] #18 74.96 [ 92%] Built target template-discovery [2024-01-05T19:03:38.866Z] #18 75.01 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T19:03:39.132Z] #18 75.33 [ 96%] Linking C executable device-file [2024-01-05T19:03:39.397Z] #18 75.63 [ 96%] Built target device-file [2024-01-05T19:03:39.665Z] #18 75.68 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T19:03:39.932Z] #18 76.07 [100%] Linking C executable device-terminal [2024-01-05T19:03:40.514Z] #18 76.41 [100%] Built target device-terminal [2024-01-05T19:03:40.514Z] #18 76.44 make: Entering directory '/tmp/sdk/build/release' [2024-01-05T19:03:40.514Z] #18 76.60 [ 68%] Built target csdk [2024-01-05T19:03:40.514Z] #18 76.65 [ 72%] Built target template [2024-01-05T19:03:40.514Z] #18 76.71 [ 76%] Built target device-counter [2024-01-05T19:03:40.514Z] #18 76.76 [ 80%] Built target device-random [2024-01-05T19:03:40.783Z] #18 76.81 [ 84%] Built target device-gyro [2024-01-05T19:03:40.783Z] #18 76.87 [ 88%] Built target device-bitfields [2024-01-05T19:03:40.783Z] #18 76.92 [ 92%] Built target template-discovery [2024-01-05T19:03:40.783Z] #18 76.97 [ 96%] Built target device-file [2024-01-05T19:03:40.783Z] #18 77.03 [100%] Built target device-terminal [2024-01-05T19:03:40.783Z] #18 77.08 Install the project... [2024-01-05T19:03:41.060Z] #18 77.10 -- Install configuration: "Release" [2024-01-05T19:03:41.060Z] #18 77.10 -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T19:03:41.060Z] #18 77.11 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/devsdk [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/edgex [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T19:03:41.060Z] #18 77.11 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T19:03:41.060Z] #18 77.12 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T19:03:41.060Z] #18 77.14 make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T19:03:41.060Z] #18 DONE 77.3s [2024-01-05T19:03:41.060Z] [2024-01-05T19:03:41.060Z] #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T19:03:41.329Z] #19 DONE 0.1s [2024-01-05T19:03:41.329Z] [2024-01-05T19:03:41.329Z] #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T19:03:41.329Z] #20 DONE 0.1s [2024-01-05T19:03:41.595Z] [2024-01-05T19:03:41.595Z] #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T19:03:41.595Z] #21 DONE 0.1s [2024-01-05T19:03:41.595Z] [2024-01-05T19:03:41.595Z] #22 exporting to image [2024-01-05T19:03:41.595Z] #22 exporting layers [2024-01-05T19:03:41.861Z] #22 exporting layers 0.3s done [2024-01-05T19:03:41.861Z] #22 writing image sha256:8d953339411027a3af23ba23358f456ddf43d4c2d456984ab6bc5cdeb824163c done [2024-01-05T19:03:41.862Z] #22 naming to docker.io/library/ci-base-image-arm64 done [2024-01-05T19:03:41.862Z] #22 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:03:42.522Z] + docker inspect -f . ci-base-image-arm64 [2024-01-05T19:03:42.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:03:42.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-26789 does not seem to be running inside a container [2024-01-05T19:03:42.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-05T19:03:45.634Z] $ docker top f3f8c97dd8bace2c744c3238b9ccc89ca43d69abebabe446a4bd4b848a5a9ad1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:03:46.147Z] + make test [2024-01-05T19:03:46.147Z] echo "make test" [2024-01-05T19:03:46.147Z] make test [Pipeline] } [2024-01-05T19:03:46.164Z] $ docker stop --time=1 f3f8c97dd8bace2c744c3238b9ccc89ca43d69abebabe446a4bd4b848a5a9ad1 [2024-01-05T19:03:47.675Z] $ docker rm -f --volumes f3f8c97dd8bace2c744c3238b9ccc89ca43d69abebabe446a4bd4b848a5a9ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T19:03:48.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T19:03:48.730Z] + ls -al . [2024-01-05T19:03:48.730Z] total 208 [2024-01-05T19:03:48.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 19:01 . [2024-01-05T19:03:48.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 19:01 .. [2024-01-05T19:03:48.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 19:01 .git [2024-01-05T19:03:48.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 19:01 .github [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 19:01 .gitignore [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 19:01 Attribution.txt [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 19:01 CHANGELOG.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 19:01 Doxyfile [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 19:01 GOVERNANCE.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 19:01 Jenkinsfile [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 19:01 LICENSE [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 19:01 Makefile [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 19:01 OWNERS.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 19:01 README.IOT.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 19:01 README.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 19:01 README.v3.md [2024-01-05T19:03:48.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:58 VERSION [2024-01-05T19:03:48.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 19:01 docs [2024-01-05T19:03:48.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 19:01 include [2024-01-05T19:03:48.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 19:01 scripts [2024-01-05T19:03:48.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 19:01 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:03:49.128Z] + 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=f77a82f9a490ee0637cf83a2c7aa789f714b602c --label arch=arm64 --label version=0.0.0 . [2024-01-05T19:03:49.711Z] #0 building with "default" instance using docker driver [2024-01-05T19:03:49.711Z] [2024-01-05T19:03:49.711Z] #1 [internal] load .dockerignore [2024-01-05T19:03:49.711Z] #1 transferring context: 2B done [2024-01-05T19:03:49.711Z] #1 DONE 0.0s [2024-01-05T19:03:49.711Z] [2024-01-05T19:03:49.711Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-05T19:03:49.711Z] #2 transferring dockerfile: 1.56kB done [2024-01-05T19:03:49.711Z] #2 DONE 0.1s [2024-01-05T19:03:49.711Z] [2024-01-05T19:03:49.711Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-05T19:03:49.711Z] #3 DONE 0.0s [2024-01-05T19:03:49.711Z] [2024-01-05T19:03:49.711Z] #4 [internal] load build context [2024-01-05T19:03:49.711Z] #4 transferring context: 8.55kB 0.1s done [2024-01-05T19:03:49.983Z] #4 DONE 0.1s [2024-01-05T19:03:49.983Z] [2024-01-05T19:03:49.983Z] #5 [ 1/12] FROM docker.io/library/ci-base-image-arm64 [2024-01-05T19:03:49.983Z] #5 DONE 0.2s [2024-01-05T19:03:50.250Z] [2024-01-05T19:03:50.250Z] #6 [ 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T19:03:50.830Z] #6 0.603 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T19:03:51.097Z] #6 1.121 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T19:03:51.097Z] #6 1.121 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T19:03:51.097Z] #6 1.121 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T19:03:51.097Z] #6 DONE 1.2s [2024-01-05T19:03:51.364Z] [2024-01-05T19:03:51.364Z] #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T19:03:51.946Z] #7 DONE 0.8s [2024-01-05T19:03:51.946Z] [2024-01-05T19:03:51.946Z] #8 [ 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-01-05T19:03:52.903Z] #8 0.735 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:53.167Z] #8 1.127 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:53.749Z] #8 1.718 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:54.702Z] #8 2.670 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:03:54.702Z] #8 2.717 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T19:03:54.967Z] #8 3.032 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T19:03:55.234Z] #8 3.050 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T19:03:55.234Z] #8 3.056 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T19:03:55.234Z] #8 3.062 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T19:03:55.234Z] #8 3.071 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T19:03:55.234Z] #8 3.099 (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T19:03:55.234Z] #8 3.115 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T19:03:55.234Z] #8 3.131 (9/11) Installing libmount (2.38.1-r8) [2024-01-05T19:03:55.234Z] #8 3.146 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T19:03:55.234Z] #8 3.159 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T19:03:55.234Z] #8 3.235 Executing busybox-1.36.1-r5.trigger [2024-01-05T19:03:55.234Z] #8 3.280 OK: 334 MiB in 101 packages [2024-01-05T19:03:55.500Z] #8 DONE 3.6s [2024-01-05T19:03:55.767Z] [2024-01-05T19:03:55.767Z] #9 [ 5/12] RUN apk --no-cache upgrade [2024-01-05T19:03:56.728Z] #9 0.797 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:56.728Z] #9 1.092 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:57.309Z] #9 1.572 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:03:58.268Z] #9 2.459 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:03:58.268Z] #9 2.517 OK: 334 MiB in 101 packages [2024-01-05T19:03:58.873Z] #9 DONE 3.2s [2024-01-05T19:03:58.873Z] [2024-01-05T19:03:58.873Z] #10 [ 6/12] COPY VERSION /edgex-c-sdk/ [2024-01-05T19:03:59.139Z] #10 DONE 0.1s [2024-01-05T19:03:59.139Z] [2024-01-05T19:03:59.139Z] #11 [ 7/12] COPY src /edgex-c-sdk/src/ [2024-01-05T19:03:59.139Z] #11 DONE 0.2s [2024-01-05T19:03:59.139Z] [2024-01-05T19:03:59.139Z] #12 [ 8/12] COPY include /edgex-c-sdk/include/ [2024-01-05T19:03:59.409Z] #12 DONE 0.1s [2024-01-05T19:03:59.409Z] [2024-01-05T19:03:59.409Z] #13 [ 9/12] COPY scripts /edgex-c-sdk/scripts [2024-01-05T19:03:59.409Z] #13 DONE 0.1s [2024-01-05T19:03:59.409Z] [2024-01-05T19:03:59.409Z] #14 [10/12] COPY LICENSE /edgex-c-sdk/ [2024-01-05T19:03:59.409Z] #14 DONE 0.1s [2024-01-05T19:03:59.409Z] [2024-01-05T19:03:59.409Z] #15 [11/12] COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T19:03:59.409Z] #15 DONE 0.1s [2024-01-05T19:03:59.409Z] [2024-01-05T19:03:59.409Z] #16 [12/12] WORKDIR /edgex-c-sdk [2024-01-05T19:03:59.674Z] #16 DONE 0.1s [2024-01-05T19:03:59.674Z] [2024-01-05T19:03:59.674Z] #17 exporting to image [2024-01-05T19:03:59.674Z] #17 exporting layers [2024-01-05T19:03:59.939Z] #17 exporting layers 0.4s done [2024-01-05T19:03:59.939Z] #17 writing image sha256:7c490e6f78c427fbb69d5c8f8fbb5c312bd6637561ad1b5c62d00a572bc877cb done [2024-01-05T19:03:59.939Z] #17 naming to docker.io/library/device-sdk-arm64 done [2024-01-05T19:03:59.939Z] #17 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:04:00.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:04:00.652Z] [2024-01-05T19:04:00.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:04:01.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:04:01.004Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-05T19:04:01.004Z] 8998bd30e6a1: Pulling fs layer [2024-01-05T19:04:01.005Z] 04944245beec: Pulling fs layer [2024-01-05T19:04:01.005Z] 699f458cf7ca: Pulling fs layer [2024-01-05T19:04:01.005Z] 765212b225bb: Pulling fs layer [2024-01-05T19:04:01.005Z] f23df028b6ca: Pulling fs layer [2024-01-05T19:04:01.005Z] d65c8cfc05b1: Pulling fs layer [2024-01-05T19:04:01.005Z] 2437ff75d9bd: Pulling fs layer [2024-01-05T19:04:01.005Z] f23df028b6ca: Waiting [2024-01-05T19:04:01.005Z] d65c8cfc05b1: Waiting [2024-01-05T19:04:01.005Z] 765212b225bb: Waiting [2024-01-05T19:04:01.005Z] 2437ff75d9bd: Waiting [2024-01-05T19:04:01.271Z] 04944245beec: Verifying Checksum [2024-01-05T19:04:01.271Z] 04944245beec: Download complete [2024-01-05T19:04:01.271Z] 765212b225bb: Download complete [2024-01-05T19:04:01.271Z] f23df028b6ca: Verifying Checksum [2024-01-05T19:04:01.271Z] f23df028b6ca: Download complete [2024-01-05T19:04:01.271Z] d65c8cfc05b1: Verifying Checksum [2024-01-05T19:04:01.271Z] d65c8cfc05b1: Download complete [2024-01-05T19:04:01.537Z] 699f458cf7ca: Verifying Checksum [2024-01-05T19:04:01.537Z] 699f458cf7ca: Download complete [2024-01-05T19:04:01.804Z] 8998bd30e6a1: Verifying Checksum [2024-01-05T19:04:01.804Z] 8998bd30e6a1: Download complete [2024-01-05T19:04:03.750Z] 2437ff75d9bd: Verifying Checksum [2024-01-05T19:04:03.750Z] 2437ff75d9bd: Download complete [2024-01-05T19:04:08.020Z] 8998bd30e6a1: Pull complete [2024-01-05T19:04:08.291Z] 04944245beec: Pull complete [2024-01-05T19:04:13.634Z] 699f458cf7ca: Pull complete [2024-01-05T19:04:13.634Z] 765212b225bb: Pull complete [2024-01-05T19:04:13.904Z] f23df028b6ca: Pull complete [2024-01-05T19:04:13.904Z] d65c8cfc05b1: Pull complete [2024-01-05T19:04:36.006Z] 2437ff75d9bd: Pull complete [2024-01-05T19:04:36.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-05T19:04:36.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:04:36.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:04:36.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-26789 does not seem to be running inside a container [2024-01-05T19:04:36.384Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-05T19:04:37.721Z] $ docker top 1b9be80c5a25bf3d862e7501df7b64431dfc1cd88ee98195986f02238c6d0b73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:38.266Z] ---> job-cost.sh [2024-01-05T19:04:38.534Z] lf-activate-venv: SKIPPING [2024-01-05T19:04:38.534Z] INFO: No Stack... [2024-01-05T19:04:41.097Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:04:41.677Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T19:04:41.991Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-01-05T19:04:41.991Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T19:04:42.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [2024-01-05T19:04:42.053Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] did not exist. Created. [2024-01-05T19:04:42.053Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T19:04:42.449Z] /w/workspace/device-sdk-c/2@tmp/durable-4094bd00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-05T19:04:42.763Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T19:04:42.814Z] Warning: overwriting stash ‘stack-cost’ [2024-01-05T19:04:43.254Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T19:04:43.272Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T19:04:43.354Z] $ docker stop --time=1 1b9be80c5a25bf3d862e7501df7b64431dfc1cd88ee98195986f02238c6d0b73 [2024-01-05T19:04:44.732Z] $ docker rm -f --volumes 1b9be80c5a25bf3d862e7501df7b64431dfc1cd88ee98195986f02238c6d0b73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-01-05T19:04:46.459Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-01-05T19:04:46.459Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-05T19:04:46.459Z] total 16 [2024-01-05T19:04:46.459Z] drwxr-xr-x 3 root root 4096 Jan 5 18:59 . [2024-01-05T19:04:46.459Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:59 .. [2024-01-05T19:04:46.459Z] drwxr-xr-x 2 root root 4096 Jan 5 18:59 cost [2024-01-05T19:04:46.459Z] -rw-r--r-- 1 root root 84 Jan 5 18:59 cost.csv [2024-01-05T19:04:46.459Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-05T19:04:46.459Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-05T19:04:46.459Z] total 16 [2024-01-05T19:04:46.459Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:59 . [2024-01-05T19:04:46.459Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:59 .. [2024-01-05T19:04:46.459Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 5 18:59 cost [2024-01-05T19:04:46.459Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 5 18:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:46.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:47.621Z] ---> package-listing.sh [2024-01-05T19:04:47.622Z] ++ facter osfamily [2024-01-05T19:04:47.622Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-05T19:04:47.880Z] + OS_FAMILY=debian [2024-01-05T19:04:47.880Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-01-05T19:04:47.880Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-05T19:04:47.880Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-05T19:04:47.880Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-05T19:04:47.880Z] + PACKAGES=/tmp/packages_start.txt [2024-01-05T19:04:47.880Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-05T19:04:47.880Z] + PACKAGES=/tmp/packages_end.txt [2024-01-05T19:04:47.880Z] + case "${OS_FAMILY}" in [2024-01-05T19:04:47.881Z] + dpkg -l [2024-01-05T19:04:47.881Z] + grep '^ii' [2024-01-05T19:04:47.881Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-05T19:04:47.881Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-05T19:04:47.881Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-05T19:04:47.881Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-05T19:04:47.881Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-01-05T19:04:47.881Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo [2024-01-05T19:04:47.890Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-05T19:04:48.179Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:04:48.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T19:04:48.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:04:48.921Z] prd-ubuntu20.04-docker-8c-8g-26786 does not seem to be running inside a container [2024-01-05T19:04:48.946Z] $ 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-496/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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T19:04:49.181Z] $ docker top 8f05a028e217dd185cdca9a507ca6ce1520d6975fdad9e578d05dfa6efb1b402 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:04:49.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-05T19:04:49.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-05T19:04:50.188Z] + ls /var/log/sa-host [2024-01-05T19:04:50.188Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T19:04:50.294Z] provisioning config files... [2024-01-05T19:04:50.327Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config17909889351929861250tmp [Pipeline] { [Pipeline] echo [2024-01-05T19:04:50.376Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:50.660Z] ---> create-netrc.sh [Pipeline] } [2024-01-05T19:04:50.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:51.073Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-05T19:04:51.083Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:51.366Z] ---> sudo-logs.sh [2024-01-05T19:04:51.366Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-05T19:04:51.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:51.734Z] ---> job-cost.sh [2024-01-05T19:04:51.734Z] lf-activate-venv: SKIPPING [2024-01-05T19:04:51.734Z] DEBUG: total: 0.2199999988079071 [2024-01-05T19:04:51.734Z] INFO: Retrieving Stack Cost... [2024-01-05T19:04:51.994Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:04:52.253Z] INFO: Archiving Costs [Pipeline] echo [2024-01-05T19:04:52.264Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:04:52.548Z] ---> logs-deploy.sh [2024-01-05T19:04:52.548Z] lf-activate-venv: SKIPPING [2024-01-05T19:04:52.548Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/2 [2024-01-05T19:04:52.548Z] INFO: archiving workspace using pattern(s): [2024-01-05T19:04:53.494Z] Archives upload complete. [2024-01-05T19:04:53.494Z] INFO: archiving logs to Nexus