Pull request #507 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 8846e62a99aeeb0fa2695d6366b087c2cd37edc5+c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c (ddde9dcefa651a57c47561742e3917feadebc493) 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-ssh5418673302055510104.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-ssh14244950723310245824.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5904907877116892022.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15987781541292390892.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6855750916572776343.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5501440343272156061.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-27631 in /w/workspace/edgexfoundry_device-sdk-c_PR-507 [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-507 # 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/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 Merge succeeded, producing 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 Checking out Revision 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 (PR-507) > git config core.sparsecheckout # timeout=10 > git checkout -f 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 # 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 c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 # timeout=10 Commit message: "fix: memory leaks in devsdk_post_readings function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-22T09:17:04.982Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-22T09:17:05.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-22T09:17:05.280Z] ========================================================= [2024-01-22T09:17:05.281Z] EdgeX Global Pipelines Version Info [2024-01-22T09:17:05.281Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:17:06.101Z] ------------------- [2024-01-22T09:17:06.101Z] stable info: [2024-01-22T09:17:06.101Z] ------------------- [2024-01-22T09:17:06.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-22T09:17:06.101Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-22T09:17:06.101Z] Message: update stable to v1.0.258 [2024-01-22T09:17:06.673Z] ------------------- [2024-01-22T09:17:06.673Z] experimental info: [2024-01-22T09:17:06.673Z] ------------------- [2024-01-22T09:17:06.674Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-22T09:17:06.674Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-22T09:17:06.674Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-22T09:17:06.906Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-22T09:17:06.970Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-22T09:17:07.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-22T09:17:07.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-22T09:17:07.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-22T09:17:07.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-22T09:17:07.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-22T09:17:07.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-22T09:17:07.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-22T09:17:07.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-22T09:17:07.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-22T09:17:07.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-22T09:17:07.606Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-22T09:17:07.662Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-22T09:17:07.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-22T09:17:07.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-22T09:17:07.858Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-22T09:17:07.920Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-507 [Pipeline] echo [2024-01-22T09:17:07.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-507 [Pipeline] echo [2024-01-22T09:17:08.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-507 [Pipeline] echo [2024-01-22T09:17:08.113Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [Pipeline] echo [2024-01-22T09:17:08.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8846e62 [Pipeline] echo [2024-01-22T09:17:08.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-22T09:17:08.472Z] provisioning config files... [2024-01-22T09:17:08.487Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/config7369778740018266026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:17:08.904Z] ---> ****-login.sh [2024-01-22T09:17:08.904Z] nexus3.edgexfoundry.org:10001 [2024-01-22T09:17:09.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:09.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:09.169Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:09.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:09.169Z] [2024-01-22T09:17:09.169Z] Login Succeeded [2024-01-22T09:17:09.169Z] nexus3.edgexfoundry.org:10002 [2024-01-22T09:17:09.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:09.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:09.429Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:09.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:09.429Z] [2024-01-22T09:17:09.429Z] Login Succeeded [2024-01-22T09:17:09.429Z] nexus3.edgexfoundry.org:10003 [2024-01-22T09:17:09.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:09.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:09.430Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:09.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:09.430Z] [2024-01-22T09:17:09.430Z] Login Succeeded [2024-01-22T09:17:09.430Z] nexus3.edgexfoundry.org:10004 [2024-01-22T09:17:09.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:09.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:09.689Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:09.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:09.689Z] [2024-01-22T09:17:09.689Z] Login Succeeded [2024-01-22T09:17:09.689Z] ****.io [2024-01-22T09:17:09.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:09.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:09.950Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:09.950Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:09.950Z] [2024-01-22T09:17:09.950Z] Login Succeeded [2024-01-22T09:17:09.950Z] ---> ****-login.sh ends [Pipeline] } [2024-01-22T09:17:09.982Z] 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-22T09:17:10.743Z] + git rev-list -1 --merges 8846e62a99aeeb0fa2695d6366b087c2cd37edc5~1..8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [Pipeline] echo [2024-01-22T09:17:10.792Z] -----------> git rev-list -1 --merges 8846e62a99aeeb0fa2695d6366b087c2cd37edc5~1..8846e62a99aeeb0fa2695d6366b087c2cd37edc5 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [false] [Pipeline] sh [2024-01-22T09:17:11.120Z] + git log --format=format:%s -1 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [Pipeline] echo [2024-01-22T09:17:11.158Z] ========================================================= [2024-01-22T09:17:11.158Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-22T09:17:11.158Z] ========================================================= 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-22T09:17:12.160Z] + git rev-list -1 --merges 8846e62a99aeeb0fa2695d6366b087c2cd37edc5~1..8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [Pipeline] echo [2024-01-22T09:17:12.194Z] -----------> git rev-list -1 --merges 8846e62a99aeeb0fa2695d6366b087c2cd37edc5~1..8846e62a99aeeb0fa2695d6366b087c2cd37edc5 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [false] [Pipeline] sh [2024-01-22T09:17:12.518Z] + git log --format=format:%s -1 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [Pipeline] echo [2024-01-22T09:17:12.550Z] ========================================================= [2024-01-22T09:17:12.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-22T09:17:12.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-22T09:17:13.074Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-22T09:17:13.074Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-22T09:17:13.074Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-22T09:17:13.074Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-22T09:17:13.074Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-22T09:17:13.074Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-22T09:17:13.074Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:17:13.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-22T09:17:13.579Z] [2024-01-22T09:17:13.579Z] 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-22T09:17:13.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-22T09:17:13.971Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-22T09:17:13.971Z] b85a868b505f: Pulling fs layer [2024-01-22T09:17:13.971Z] e2be974225ed: Pulling fs layer [2024-01-22T09:17:13.971Z] 339a4e72a1f5: Pulling fs layer [2024-01-22T09:17:13.971Z] 988bab9f4d93: Pulling fs layer [2024-01-22T09:17:13.971Z] 1469e6f7b9e6: Pulling fs layer [2024-01-22T09:17:13.971Z] eaf3925da568: Pulling fs layer [2024-01-22T09:17:13.971Z] bab4dde63d76: Pulling fs layer [2024-01-22T09:17:13.971Z] bde34c3a00c8: Pulling fs layer [2024-01-22T09:17:13.971Z] b352a97aabf1: Pulling fs layer [2024-01-22T09:17:13.971Z] 4872d77fe225: Pulling fs layer [2024-01-22T09:17:13.971Z] 5851b861e8e6: Pulling fs layer [2024-01-22T09:17:13.971Z] 988bab9f4d93: Waiting [2024-01-22T09:17:13.971Z] 1469e6f7b9e6: Waiting [2024-01-22T09:17:13.971Z] bde34c3a00c8: Waiting [2024-01-22T09:17:13.971Z] 4872d77fe225: Waiting [2024-01-22T09:17:13.971Z] eaf3925da568: Waiting [2024-01-22T09:17:13.971Z] 5851b861e8e6: Waiting [2024-01-22T09:17:13.971Z] b352a97aabf1: Waiting [2024-01-22T09:17:13.971Z] bab4dde63d76: Waiting [2024-01-22T09:17:13.971Z] e2be974225ed: Verifying Checksum [2024-01-22T09:17:13.971Z] e2be974225ed: Download complete [2024-01-22T09:17:13.971Z] 988bab9f4d93: Verifying Checksum [2024-01-22T09:17:13.971Z] 988bab9f4d93: Download complete [2024-01-22T09:17:14.232Z] 1469e6f7b9e6: Verifying Checksum [2024-01-22T09:17:14.233Z] 1469e6f7b9e6: Download complete [2024-01-22T09:17:14.233Z] eaf3925da568: Verifying Checksum [2024-01-22T09:17:14.233Z] eaf3925da568: Download complete [2024-01-22T09:17:14.233Z] 339a4e72a1f5: Verifying Checksum [2024-01-22T09:17:14.233Z] 339a4e72a1f5: Download complete [2024-01-22T09:17:14.233Z] bde34c3a00c8: Verifying Checksum [2024-01-22T09:17:14.233Z] bde34c3a00c8: Download complete [2024-01-22T09:17:14.233Z] b352a97aabf1: Verifying Checksum [2024-01-22T09:17:14.233Z] b352a97aabf1: Download complete [2024-01-22T09:17:14.233Z] 4872d77fe225: Verifying Checksum [2024-01-22T09:17:14.233Z] 4872d77fe225: Download complete [2024-01-22T09:17:14.233Z] 5851b861e8e6: Verifying Checksum [2024-01-22T09:17:14.233Z] 5851b861e8e6: Download complete [2024-01-22T09:17:14.233Z] b85a868b505f: Verifying Checksum [2024-01-22T09:17:14.233Z] b85a868b505f: Download complete [2024-01-22T09:17:14.492Z] bab4dde63d76: Verifying Checksum [2024-01-22T09:17:14.492Z] bab4dde63d76: Download complete [2024-01-22T09:17:15.871Z] b85a868b505f: Pull complete [2024-01-22T09:17:15.871Z] e2be974225ed: Pull complete [2024-01-22T09:17:16.131Z] 339a4e72a1f5: Pull complete [2024-01-22T09:17:16.131Z] 988bab9f4d93: Pull complete [2024-01-22T09:17:16.701Z] 1469e6f7b9e6: Pull complete [2024-01-22T09:17:16.701Z] eaf3925da568: Pull complete [2024-01-22T09:17:18.607Z] bab4dde63d76: Pull complete [2024-01-22T09:17:18.607Z] bde34c3a00c8: Pull complete [2024-01-22T09:17:18.607Z] b352a97aabf1: Pull complete [2024-01-22T09:17:18.607Z] 4872d77fe225: Pull complete [2024-01-22T09:17:18.607Z] 5851b861e8e6: Pull complete [2024-01-22T09:17:18.607Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-22T09:17:18.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-22T09:17:18.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:17:19.195Z] prd-ubuntu20.04-docker-8c-8g-27631 does not seem to be running inside a container [2024-01-22T09:17:19.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-507 -v /w/workspace/edgexfoundry_device-sdk-c_PR-507:/w/workspace/edgexfoundry_device-sdk-c_PR-507:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-22T09:17:23.526Z] $ docker top a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c -eo pid,comm [2024-01-22T09:17:23.574Z] 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-22T09:17:23.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-22T09:17:23.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-22T09:17:23.773Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-22T09:17:23.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-22T09:17:23.882Z] $ docker exec a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c ssh-agent [2024-01-22T09:17:23.981Z] SSH_AUTH_SOCK=/tmp/ssh-tGZSbAS46XAz/agent.33 [2024-01-22T09:17:23.981Z] SSH_AGENT_PID=39 [2024-01-22T09:17:23.987Z] Running ssh-add (command line suppressed) [2024-01-22T09:17:24.090Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/private_key_17509523418794517705.key (/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/private_key_17509523418794517705.key) [2024-01-22T09:17:24.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-22T09:17:24.454Z] + git tag --points-at HEAD [Pipeline] } [2024-01-22T09:17:24.484Z] $ docker exec --env ******** --env ******** a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c ssh-agent -k [2024-01-22T09:17:24.568Z] unset SSH_AUTH_SOCK; [2024-01-22T09:17:24.569Z] unset SSH_AGENT_PID; [2024-01-22T09:17:24.569Z] echo Agent pid 39 killed; [2024-01-22T09:17:24.576Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-22T09:17:24.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-22T09:17:24.756Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-22T09:17:24.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-22T09:17:24.866Z] $ docker exec a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c ssh-agent [2024-01-22T09:17:24.959Z] SSH_AUTH_SOCK=/tmp/ssh-Fsc3HaFpzkMH/agent.71 [2024-01-22T09:17:24.959Z] SSH_AGENT_PID=77 [2024-01-22T09:17:24.963Z] Running ssh-add (command line suppressed) [2024-01-22T09:17:25.062Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/private_key_7572265608148145331.key (/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/private_key_7572265608148145331.key) [2024-01-22T09:17:25.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-22T09:17:25.428Z] + git semver init [2024-01-22T09:17:25.689Z] 2024-01-22 09:17:25,590 [run_init] DEBUG init version:0.0.0 force:False [2024-01-22T09:17:25.689Z] 2024-01-22 09:17:25,590 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver [2024-01-22T09:17:25.689Z] 2024-01-22 09:17:25,591 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver [2024-01-22T09:17:25.689Z] 2024-01-22 09:17:25,591 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-507, universal_newlines=False, shell=None, istream=None) [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,450 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-507/.git/info/exclude [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,451 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver/PR-507 with force:False [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,451 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver/PR-507 [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,455 [execute] INFO git cat-file --batch-check [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver, universal_newlines=False, shell=None, istream=) [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,461 [execute] INFO git cat-file --batch [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver, universal_newlines=False, shell=None, istream=) [2024-01-22T09:17:26.628Z] 2024-01-22 09:17:26,466 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-507/.semver/PR-507 [2024-01-22T09:17:26.628Z] 0.0.0 [Pipeline] } [2024-01-22T09:17:26.656Z] $ docker exec --env ******** --env ******** a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c ssh-agent -k [2024-01-22T09:17:26.759Z] unset SSH_AUTH_SOCK; [2024-01-22T09:17:26.760Z] unset SSH_AGENT_PID; [2024-01-22T09:17:26.760Z] echo Agent pid 77 killed; [2024-01-22T09:17:26.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-22T09:17:27.285Z] + git semver [Pipeline] } [2024-01-22T09:17:27.574Z] $ docker stop --time=1 a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c [2024-01-22T09:17:28.883Z] $ docker rm -f --volumes a7f33c1c2837885edab3d4e311f26140c55854dc71e1b7b1e2dbdd40a2dfe54c [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-22T09:17:29.325Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-22T09:17:29.638Z] Stashed 1 file(s) [Pipeline] echo [2024-01-22T09:17:29.657Z] [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-22T09:17:30.407Z] provisioning config files... [2024-01-22T09:17:30.417Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/config15121562505903831931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:17:30.798Z] ---> ****-login.sh [2024-01-22T09:17:30.798Z] nexus3.edgexfoundry.org:10001 [2024-01-22T09:17:30.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:30.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:30.798Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:30.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:30.798Z] [2024-01-22T09:17:30.798Z] Login Succeeded [2024-01-22T09:17:30.798Z] nexus3.edgexfoundry.org:10002 [2024-01-22T09:17:30.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:30.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:30.799Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:30.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:30.799Z] [2024-01-22T09:17:30.799Z] Login Succeeded [2024-01-22T09:17:30.799Z] nexus3.edgexfoundry.org:10003 [2024-01-22T09:17:31.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:31.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:31.057Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:31.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:31.057Z] [2024-01-22T09:17:31.057Z] Login Succeeded [2024-01-22T09:17:31.057Z] nexus3.edgexfoundry.org:10004 [2024-01-22T09:17:31.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:31.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:31.057Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:31.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:31.057Z] [2024-01-22T09:17:31.057Z] Login Succeeded [2024-01-22T09:17:31.057Z] ****.io [2024-01-22T09:17:31.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:17:31.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:17:31.316Z] Configure a credential helper to remove this warning. See [2024-01-22T09:17:31.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:17:31.316Z] [2024-01-22T09:17:31.316Z] Login Succeeded [2024-01-22T09:17:31.316Z] ---> ****-login.sh ends [Pipeline] } [2024-01-22T09:17:31.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-22T09:17:31.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-22T09:17:31.715Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-22T09:17:31.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-22T09:17:31.833Z] ========================================================= [2024-01-22T09:17:31.833Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-22T09:17:31.833Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:17:32.393Z] + 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-22T09:17:32.393Z] Sending build context to Docker daemon 4.998MB [2024-01-22T09:17:32.393Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-22T09:17:32.393Z] Step 2/21 : FROM ${BASE} as builder [2024-01-22T09:17:32.393Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-22T09:17:32.393Z] 96526aa774ef: Pulling fs layer [2024-01-22T09:17:32.393Z] da60e534fd72: Pulling fs layer [2024-01-22T09:17:32.652Z] 96526aa774ef: Verifying Checksum [2024-01-22T09:17:32.652Z] 96526aa774ef: Download complete [2024-01-22T09:17:32.652Z] 96526aa774ef: Pull complete [2024-01-22T09:17:33.218Z] da60e534fd72: Verifying Checksum [2024-01-22T09:17:33.218Z] da60e534fd72: Download complete [2024-01-22T09:17:36.513Z] da60e534fd72: Pull complete [2024-01-22T09:17:36.513Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-22T09:17:36.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-22T09:17:36.513Z] ---> 6605166a5db4 [2024-01-22T09:17:36.513Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-22T09:17:39.057Z] ---> Running in 898e481e57bf [2024-01-22T09:17:39.318Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-22T09:17:39.886Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-22T09:17:39.886Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-22T09:17:39.886Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-22T09:17:40.145Z] Removing intermediate container 898e481e57bf [2024-01-22T09:17:40.145Z] ---> 610f7d8553c4 [2024-01-22T09:17:40.145Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-22T09:17:40.145Z] ---> Running in 13e4fa4717db [2024-01-22T09:17:40.712Z] Removing intermediate container 13e4fa4717db [2024-01-22T09:17:40.712Z] ---> 89f97811eea0 [2024-01-22T09:17:40.712Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-22T09:17:40.712Z] ---> Running in c5366a65d750 [2024-01-22T09:17:40.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:17:41.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-22T09:17:41.489Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:17:42.058Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:17:42.058Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-22T09:17:42.058Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-22T09:17:42.058Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-22T09:17:42.996Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-22T09:17:42.996Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-22T09:17:43.254Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-22T09:17:43.254Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-22T09:17:43.254Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-22T09:17:43.515Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-22T09:17:43.515Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-22T09:17:43.515Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-22T09:17:43.515Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-22T09:17:43.515Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-22T09:17:43.515Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-22T09:17:43.515Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-22T09:17:43.515Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-22T09:17:43.515Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-22T09:17:43.515Z] Executing busybox-1.36.1-r4.trigger [2024-01-22T09:17:43.515Z] OK: 336 MiB in 99 packages [2024-01-22T09:17:44.084Z] Removing intermediate container c5366a65d750 [2024-01-22T09:17:44.084Z] ---> 99fb6d4d6b13 [2024-01-22T09:17:44.084Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-22T09:17:44.343Z] ---> Running in 8a94e7aab2b6 [2024-01-22T09:17:44.919Z] Removing intermediate container 8a94e7aab2b6 [2024-01-22T09:17:44.919Z] ---> 9c667c0cc2ae [2024-01-22T09:17:44.919Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-22T09:17:44.919Z] ---> aadd0a277a8b [2024-01-22T09:17:44.919Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-22T09:17:45.163Z] Still waiting to schedule task [2024-01-22T09:17:45.163Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-22T09:17:45.180Z] ---> 6de29445fee0 [2024-01-22T09:17:45.180Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-22T09:17:45.180Z] ---> 0eb16f544a0e [2024-01-22T09:17:45.180Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-22T09:17:45.748Z] ---> a273b81a737e [2024-01-22T09:17:45.748Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-22T09:17:45.748Z] ---> f9606ea0a08e [2024-01-22T09:17:45.748Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-22T09:17:46.008Z] ---> db63bf78cec4 [2024-01-22T09:17:46.008Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-22T09:17:46.008Z] ---> Running in 4f68685ca54a [2024-01-22T09:17:46.268Z] + CPPCHECK=false [2024-01-22T09:17:46.268Z] + DOCGEN=false [2024-01-22T09:17:46.268Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-22T09:17:46.268Z] + '[' 0 -gt 0 ] [2024-01-22T09:17:46.268Z] + readlink -f ./scripts/build.sh [2024-01-22T09:17:46.268Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-22T09:17:46.268Z] + dirname /tmp/sdk/scripts [2024-01-22T09:17:46.268Z] + ROOT=/tmp/sdk [2024-01-22T09:17:46.268Z] + cd /tmp/sdk [2024-01-22T09:17:46.268Z] + mkdir -p /tmp/sdk/build/release [2024-01-22T09:17:46.268Z] + cd /tmp/sdk/build/release [2024-01-22T09:17:46.268Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-22T09:17:46.268Z] -- The C compiler identification is GNU 12.2.1 [2024-01-22T09:17:46.268Z] -- Detecting C compiler ABI info [2024-01-22T09:17:46.527Z] -- Detecting C compiler ABI info - done [2024-01-22T09:17:46.527Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-22T09:17:46.527Z] -- Detecting C compile features [2024-01-22T09:17:46.527Z] -- Detecting C compile features - done [2024-01-22T09:17:46.527Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-22T09:17:46.527Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-22T09:17:46.527Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-22T09:17:46.527Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-22T09:17:46.527Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-22T09:17:46.527Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-22T09:17:46.527Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-22T09:17:46.527Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-22T09:17:46.527Z] -- /opt/iotech/iot/1.5/include [2024-01-22T09:17:46.527Z] -- C SDK 0.0.0 for Linux [2024-01-22T09:17:46.527Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-22T09:17:46.527Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-22T09:17:46.527Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-22T09:17:46.527Z] -- Configuring done (0.4s) [2024-01-22T09:17:46.786Z] -- Generating done (0.0s) [2024-01-22T09:17:46.786Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-22T09:17:46.786Z] + make all package [2024-01-22T09:17:46.786Z] + tee release.log [2024-01-22T09:17:46.786Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-22T09:17:46.786Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-22T09:17:47.045Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-22T09:17:47.045Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-22T09:17:47.304Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-22T09:17:47.304Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-22T09:17:47.562Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-22T09:17:47.821Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-22T09:17:47.821Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:17:47.821Z] 294 | while (privateConfig) [2024-01-22T09:17:47.821Z] | ^~~~~~~~~~~~~ [2024-01-22T09:17:47.821Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-22T09:17:47.821Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-22T09:17:47.821Z] | ^~~~~~~~~~~~~ [2024-01-22T09:17:47.821Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:17:47.821Z] 271 | while (result) [2024-01-22T09:17:47.821Z] | ^~~~~~ [2024-01-22T09:17:47.821Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-22T09:17:47.821Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-22T09:17:47.821Z] | ^~~~~~ [2024-01-22T09:17:47.821Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-22T09:17:47.821Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-22T09:17:48.079Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-22T09:17:48.342Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-22T09:17:48.342Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-22T09:17:48.601Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-22T09:17:48.601Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-22T09:17:48.601Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-22T09:17:48.860Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-22T09:17:48.860Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-22T09:17:49.118Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-22T09:17:49.377Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-22T09:17:49.377Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-22T09:17:49.635Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-22T09:17:50.570Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-22T09:17:50.571Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-22T09:17:50.830Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-22T09:17:50.830Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-22T09:17:50.830Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-22T09:17:51.088Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-22T09:17:51.347Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-22T09:17:51.607Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-22T09:17:51.607Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-22T09:17:51.866Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-22T09:17:51.866Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-22T09:17:51.866Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:17:51.866Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-22T09:17:51.866Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:17:51.866Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:17:51.866Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-22T09:17:51.866Z] | ^ [2024-01-22T09:17:52.125Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:17:52.125Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-22T09:17:52.125Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:17:52.125Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-22T09:17:52.125Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-22T09:17:52.125Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:17:52.125Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-22T09:17:52.384Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-22T09:17:52.384Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-22T09:17:52.384Z] [ 68%] Linking C shared library libcsdk.so [2024-01-22T09:17:52.384Z] [ 68%] Built target csdk [2024-01-22T09:17:52.384Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-22T09:17:52.644Z] [ 72%] Linking C executable template [2024-01-22T09:17:52.644Z] [ 72%] Built target template [2024-01-22T09:17:52.644Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-22T09:17:52.903Z] [ 76%] Linking C executable device-counter [2024-01-22T09:17:52.903Z] [ 76%] Built target device-counter [2024-01-22T09:17:52.903Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-22T09:17:52.903Z] [ 80%] Linking C executable device-random [2024-01-22T09:17:53.162Z] [ 80%] Built target device-random [2024-01-22T09:17:53.162Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-22T09:17:53.162Z] [ 84%] Linking C executable device-gyro [2024-01-22T09:17:53.162Z] [ 84%] Built target device-gyro [2024-01-22T09:17:53.162Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-22T09:17:53.421Z] [ 88%] Linking C executable device-bitfields [2024-01-22T09:17:53.421Z] [ 88%] Built target device-bitfields [2024-01-22T09:17:53.421Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-22T09:17:53.421Z] [ 92%] Linking C executable template-discovery [2024-01-22T09:17:53.680Z] [ 92%] Built target template-discovery [2024-01-22T09:17:53.680Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-22T09:17:53.680Z] [ 96%] Linking C executable device-file [2024-01-22T09:17:53.680Z] [ 96%] Built target device-file [2024-01-22T09:17:53.939Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-22T09:17:53.939Z] [100%] Linking C executable device-terminal [2024-01-22T09:17:53.939Z] [100%] Built target device-terminal [2024-01-22T09:17:53.939Z] Run CPack packaging tool... [2024-01-22T09:17:53.939Z] CPack: Create package using TGZ [2024-01-22T09:17:53.939Z] CPack: Install projects [2024-01-22T09:17:53.939Z] CPack: - Run preinstall target for: Csdk [2024-01-22T09:17:54.199Z] CPack: - Install project: Csdk [] [2024-01-22T09:17:54.199Z] CPack: Create package [2024-01-22T09:17:54.199Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-22T09:17:54.199Z] + '[' false '=' true ] [2024-01-22T09:17:54.199Z] + '[' false '=' true ] [2024-01-22T09:17:54.199Z] + mkdir -p /tmp/sdk/build/debug [2024-01-22T09:17:54.199Z] + cd /tmp/sdk/build/debug [2024-01-22T09:17:54.199Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-22T09:17:54.459Z] -- The C compiler identification is GNU 12.2.1 [2024-01-22T09:17:54.459Z] -- Detecting C compiler ABI info [2024-01-22T09:17:54.459Z] -- Detecting C compiler ABI info - done [2024-01-22T09:17:54.459Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-22T09:17:54.459Z] -- Detecting C compile features [2024-01-22T09:17:54.459Z] -- Detecting C compile features - done [2024-01-22T09:17:54.459Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-22T09:17:54.459Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-22T09:17:54.459Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-22T09:17:54.459Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-22T09:17:54.459Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-22T09:17:54.459Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-22T09:17:54.459Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-22T09:17:54.459Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-22T09:17:54.459Z] -- /opt/iotech/iot/1.5/include [2024-01-22T09:17:54.459Z] -- C SDK 0.0.0 for Linux [2024-01-22T09:17:54.459Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-22T09:17:54.718Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-22T09:17:54.718Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-22T09:17:54.718Z] -- Configuring done (0.4s) [2024-01-22T09:17:54.718Z] -- Generating done (0.0s) [2024-01-22T09:17:54.718Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-22T09:17:54.718Z] + make [2024-01-22T09:17:54.718Z] + tee debug.log [2024-01-22T09:17:54.718Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-22T09:17:54.977Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-22T09:17:54.977Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-22T09:17:54.977Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-22T09:17:55.236Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-22T09:17:55.236Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-22T09:17:55.236Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-22T09:17:55.496Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-22T09:17:55.496Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-22T09:17:55.496Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-22T09:17:55.755Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-22T09:17:55.755Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-22T09:17:55.755Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-22T09:17:55.755Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-22T09:17:56.015Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-22T09:17:56.015Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-22T09:17:56.015Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-22T09:17:56.282Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-22T09:17:56.282Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-22T09:17:56.282Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-22T09:17:56.282Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-22T09:17:56.541Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-22T09:17:56.801Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-22T09:17:56.801Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-22T09:17:56.801Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-22T09:17:56.801Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-22T09:17:57.059Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-22T09:17:57.059Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-22T09:17:57.318Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-22T09:17:57.318Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-22T09:17:57.318Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-22T09:17:57.318Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-22T09:17:57.318Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:17:57.318Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-22T09:17:57.318Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:17:57.318Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:17:57.318Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-22T09:17:57.318Z] | ^ [2024-01-22T09:17:57.577Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-22T09:17:57.577Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-22T09:17:57.577Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-22T09:17:57.577Z] [ 68%] Linking C shared library libcsdk.so [2024-01-22T09:17:57.836Z] [ 68%] Built target csdk [2024-01-22T09:17:57.836Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-22T09:17:57.836Z] [ 72%] Linking C executable template [2024-01-22T09:17:57.836Z] [ 72%] Built target template [2024-01-22T09:17:57.836Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-22T09:17:58.096Z] [ 76%] Linking C executable device-counter [2024-01-22T09:17:58.096Z] [ 76%] Built target device-counter [2024-01-22T09:17:58.096Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-22T09:17:58.096Z] [ 80%] Linking C executable device-random [2024-01-22T09:17:58.096Z] [ 80%] Built target device-random [2024-01-22T09:17:58.096Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-22T09:17:58.355Z] [ 84%] Linking C executable device-gyro [2024-01-22T09:17:58.355Z] [ 84%] Built target device-gyro [2024-01-22T09:17:58.355Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-22T09:17:58.355Z] [ 88%] Linking C executable device-bitfields [2024-01-22T09:17:58.614Z] [ 88%] Built target device-bitfields [2024-01-22T09:17:58.614Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-22T09:17:58.614Z] [ 92%] Linking C executable template-discovery [2024-01-22T09:17:58.614Z] [ 92%] Built target template-discovery [2024-01-22T09:17:58.614Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-22T09:17:58.873Z] [ 96%] Linking C executable device-file [2024-01-22T09:17:58.873Z] [ 96%] Built target device-file [2024-01-22T09:17:58.873Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-22T09:17:58.873Z] [100%] Linking C executable device-terminal [2024-01-22T09:17:58.873Z] [100%] Built target device-terminal [2024-01-22T09:17:58.873Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-22T09:17:59.135Z] [ 68%] Built target csdk [2024-01-22T09:17:59.135Z] [ 72%] Built target template [2024-01-22T09:17:59.135Z] [ 76%] Built target device-counter [2024-01-22T09:17:59.135Z] [ 80%] Built target device-random [2024-01-22T09:17:59.135Z] [ 84%] Built target device-gyro [2024-01-22T09:17:59.135Z] [ 88%] Built target device-bitfields [2024-01-22T09:17:59.135Z] [ 92%] Built target template-discovery [2024-01-22T09:17:59.135Z] [ 96%] Built target device-file [2024-01-22T09:17:59.135Z] [100%] Built target device-terminal [2024-01-22T09:17:59.135Z] Install the project... [2024-01-22T09:17:59.135Z] -- Install configuration: "Release" [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-22T09:17:59.135Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/devsdk [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-22T09:17:59.135Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-22T09:17:59.135Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-22T09:18:00.072Z] Removing intermediate container 4f68685ca54a [2024-01-22T09:18:00.072Z] ---> b0e9a97248b3 [2024-01-22T09:18:00.072Z] Step 14/21 : FROM ${BASE} [2024-01-22T09:18:00.072Z] ---> 6605166a5db4 [2024-01-22T09:18:00.072Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-22T09:18:00.072Z] ---> Running in e9a31c4b64dd [2024-01-22T09:18:00.072Z] Removing intermediate container e9a31c4b64dd [2024-01-22T09:18:00.072Z] ---> 51eacd8658a5 [2024-01-22T09:18:00.072Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-22T09:18:00.333Z] ---> Running in b3473b949c90 [2024-01-22T09:18:00.593Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-22T09:18:00.851Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-22T09:18:00.851Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-22T09:18:00.851Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-22T09:18:01.109Z] Removing intermediate container b3473b949c90 [2024-01-22T09:18:01.109Z] ---> 2439e7040d7c [2024-01-22T09:18:01.109Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-22T09:18:01.109Z] ---> Running in ec876c2ed0cb [2024-01-22T09:18:01.679Z] Removing intermediate container ec876c2ed0cb [2024-01-22T09:18:01.679Z] ---> 9f899182b9a6 [2024-01-22T09:18:01.679Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-22T09:18:01.679Z] ---> Running in fbf4e64cd622 [2024-01-22T09:18:01.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:02.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:02.455Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:03.023Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:18:03.023Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-22T09:18:03.023Z] (2/9) Installing curl (8.5.0-r0) [2024-01-22T09:18:03.023Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-22T09:18:03.023Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-22T09:18:03.023Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-22T09:18:03.023Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-22T09:18:03.592Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-22T09:18:03.852Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-22T09:18:03.852Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-22T09:18:03.852Z] Executing busybox-1.36.1-r4.trigger [2024-01-22T09:18:03.852Z] OK: 331 MiB in 89 packages [2024-01-22T09:18:04.419Z] Removing intermediate container fbf4e64cd622 [2024-01-22T09:18:04.419Z] ---> 3861dca21d4f [2024-01-22T09:18:04.419Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-22T09:18:04.419Z] ---> 0996948901c4 [2024-01-22T09:18:04.419Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-22T09:18:04.684Z] ---> b136a0e69068 [2024-01-22T09:18:04.684Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-22T09:18:04.684Z] ---> 6c634f8eae10 [2024-01-22T09:18:04.684Z] Successfully built 6c634f8eae10 [2024-01-22T09:18:04.684Z] 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-22T09:18:05.563Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-22T09:18:05.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:18:05.773Z] prd-ubuntu20.04-docker-8c-8g-27631 does not seem to be running inside a container [2024-01-22T09:18:05.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-507 -v /w/workspace/edgexfoundry_device-sdk-c_PR-507:/w/workspace/edgexfoundry_device-sdk-c_PR-507:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-22T09:18:06.169Z] $ docker top b1c58be948dcf7fe3eb58469f0732c7c98a2109b4836a8da3c61f32a5998bde9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-22T09:18:06.608Z] + make test [2024-01-22T09:18:06.608Z] echo "make test" [2024-01-22T09:18:06.608Z] make test [Pipeline] } [2024-01-22T09:18:06.643Z] $ docker stop --time=1 b1c58be948dcf7fe3eb58469f0732c7c98a2109b4836a8da3c61f32a5998bde9 [2024-01-22T09:18:07.880Z] $ docker rm -f --volumes b1c58be948dcf7fe3eb58469f0732c7c98a2109b4836a8da3c61f32a5998bde9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-22T09:18:08.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-22T09:18:09.256Z] + ls -al . [2024-01-22T09:18:09.256Z] total 212 [2024-01-22T09:18:09.256Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 22 09:17 . [2024-01-22T09:18:09.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:16 .. [2024-01-22T09:18:09.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 09:17 .git [2024-01-22T09:18:09.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 09:17 .github [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 22 09:17 .gitignore [2024-01-22T09:18:09.256Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 22 09:17 .semver [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 22 09:17 Attribution.txt [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 22 09:17 CHANGELOG.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 22 09:17 Doxyfile [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 22 09:17 GOVERNANCE.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 22 09:17 Jenkinsfile [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 22 09:17 LICENSE [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 22 09:17 Makefile [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 22 09:17 OWNERS.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 22 09:17 README.IOT.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 22 09:17 README.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 22 09:17 README.v3.md [2024-01-22T09:18:09.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 09:17 VERSION [2024-01-22T09:18:09.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:17 docs [2024-01-22T09:18:09.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:17 include [2024-01-22T09:18:09.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:17 scripts [2024-01-22T09:18:09.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:18:09.698Z] + 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=8846e62a99aeeb0fa2695d6366b087c2cd37edc5 --label arch=amd64 --label version=0.0.0 . [2024-01-22T09:18:09.698Z] Sending build context to Docker daemon 4.998MB [2024-01-22T09:18:09.698Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-22T09:18:09.698Z] Step 2/17 : FROM ${BASE} [2024-01-22T09:18:09.698Z] ---> 6c634f8eae10 [2024-01-22T09:18:09.698Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-22T09:18:09.698Z] ---> Running in 70b98d733188 [2024-01-22T09:18:09.956Z] Removing intermediate container 70b98d733188 [2024-01-22T09:18:09.956Z] ---> 81b1d1085455 [2024-01-22T09:18:09.956Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-22T09:18:09.956Z] ---> Running in cf9c1b844fe9 [2024-01-22T09:18:10.215Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-22T09:18:10.473Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-22T09:18:10.474Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-22T09:18:10.474Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-22T09:18:10.731Z] Removing intermediate container cf9c1b844fe9 [2024-01-22T09:18:10.731Z] ---> e75aab8bf8f6 [2024-01-22T09:18:10.731Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-22T09:18:10.731Z] ---> Running in f8aee72b5b61 [2024-01-22T09:18:11.301Z] Removing intermediate container f8aee72b5b61 [2024-01-22T09:18:11.301Z] ---> 7ee437bda833 [2024-01-22T09:18:11.301Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-22T09:18:11.301Z] ---> Running in 6836c7631705 [2024-01-22T09:18:11.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:11.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:11.819Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-22T09:18:12.388Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:18:12.388Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-22T09:18:12.649Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-22T09:18:12.649Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-22T09:18:12.649Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-22T09:18:12.649Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-22T09:18:12.649Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-22T09:18:12.649Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-22T09:18:12.649Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-22T09:18:12.649Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-22T09:18:12.649Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-22T09:18:12.649Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-22T09:18:12.649Z] Executing busybox-1.36.1-r4.trigger [2024-01-22T09:18:12.649Z] OK: 336 MiB in 100 packages [2024-01-22T09:18:13.218Z] Removing intermediate container 6836c7631705 [2024-01-22T09:18:13.219Z] ---> 4f062395bc06 [2024-01-22T09:18:13.219Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-22T09:18:13.519Z] ---> 21002a3a1b5d [2024-01-22T09:18:13.519Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-22T09:18:13.787Z] ---> 5f04cf2aae68 [2024-01-22T09:18:13.787Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-22T09:18:13.787Z] ---> 5d082feadce8 [2024-01-22T09:18:13.787Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-22T09:18:13.787Z] ---> 8e0890e5b3ba [2024-01-22T09:18:13.787Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-22T09:18:14.046Z] ---> 932bff03ef15 [2024-01-22T09:18:14.046Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-22T09:18:14.046Z] ---> f856b6a922bc [2024-01-22T09:18:14.046Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-22T09:18:14.046Z] ---> Running in 5087ebc3cf18 [2024-01-22T09:18:14.303Z] Removing intermediate container 5087ebc3cf18 [2024-01-22T09:18:14.303Z] ---> 01b907afc3e4 [2024-01-22T09:18:14.303Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-22T09:18:14.303Z] ---> Running in e70e317d299f [2024-01-22T09:18:14.303Z] Removing intermediate container e70e317d299f [2024-01-22T09:18:14.303Z] ---> ed92beb0eb89 [2024-01-22T09:18:14.303Z] Step 15/17 : LABEL arch=amd64 [2024-01-22T09:18:14.303Z] ---> Running in 858bc4faf5f2 [2024-01-22T09:18:14.303Z] Removing intermediate container 858bc4faf5f2 [2024-01-22T09:18:14.303Z] ---> c5b518cfe825 [2024-01-22T09:18:14.303Z] Step 16/17 : LABEL git_sha=8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [2024-01-22T09:18:14.561Z] ---> Running in ca26fe3c0825 [2024-01-22T09:18:14.561Z] Removing intermediate container ca26fe3c0825 [2024-01-22T09:18:14.561Z] ---> 0cd0d1bdedd7 [2024-01-22T09:18:14.561Z] Step 17/17 : LABEL version=0.0.0 [2024-01-22T09:18:14.561Z] ---> Running in 09630f9c1aaa [2024-01-22T09:18:14.561Z] Removing intermediate container 09630f9c1aaa [2024-01-22T09:18:14.561Z] ---> dec1a2ca5ad7 [2024-01-22T09:18:14.561Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-22T09:18:14.561Z] Successfully built dec1a2ca5ad7 [2024-01-22T09:18:14.561Z] 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-22T09:18:15.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-22T09:18:15.802Z] [2024-01-22T09:18:15.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:18:16.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-22T09:18:16.198Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-22T09:18:16.198Z] 5eb5b503b376: Pulling fs layer [2024-01-22T09:18:16.198Z] 5c69ac0246d0: Pulling fs layer [2024-01-22T09:18:16.198Z] ec43610c2a17: Pulling fs layer [2024-01-22T09:18:16.198Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-22T09:18:16.198Z] 33b1e0a273af: Pulling fs layer [2024-01-22T09:18:16.198Z] 5d3b04190fa2: Pulling fs layer [2024-01-22T09:18:16.198Z] 2f39f015ded8: Pulling fs layer [2024-01-22T09:18:16.198Z] 33b1e0a273af: Waiting [2024-01-22T09:18:16.198Z] 3a2ae6a8a46f: Waiting [2024-01-22T09:18:16.198Z] 5d3b04190fa2: Waiting [2024-01-22T09:18:16.198Z] 5c69ac0246d0: Download complete [2024-01-22T09:18:16.198Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-22T09:18:16.198Z] 3a2ae6a8a46f: Download complete [2024-01-22T09:18:16.198Z] 33b1e0a273af: Download complete [2024-01-22T09:18:16.198Z] 5d3b04190fa2: Verifying Checksum [2024-01-22T09:18:16.198Z] 5d3b04190fa2: Download complete [2024-01-22T09:18:16.198Z] ec43610c2a17: Download complete [2024-01-22T09:18:16.457Z] 5eb5b503b376: Verifying Checksum [2024-01-22T09:18:16.457Z] 5eb5b503b376: Download complete [2024-01-22T09:18:17.024Z] 2f39f015ded8: Download complete [2024-01-22T09:18:17.589Z] 5eb5b503b376: Pull complete [2024-01-22T09:18:17.849Z] 5c69ac0246d0: Pull complete [2024-01-22T09:18:18.417Z] ec43610c2a17: Pull complete [2024-01-22T09:18:18.417Z] 3a2ae6a8a46f: Pull complete [2024-01-22T09:18:18.675Z] 33b1e0a273af: Pull complete [2024-01-22T09:18:18.675Z] 5d3b04190fa2: Pull complete [2024-01-22T09:18:22.876Z] 2f39f015ded8: Pull complete [2024-01-22T09:18:22.876Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-22T09:18:22.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-22T09:18:22.876Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:18:23.213Z] prd-ubuntu20.04-docker-8c-8g-27631 does not seem to be running inside a container [2024-01-22T09:18:23.248Z] $ 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-507 -v /w/workspace/edgexfoundry_device-sdk-c_PR-507:/w/workspace/edgexfoundry_device-sdk-c_PR-507:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-22T09:18:29.641Z] $ docker top a02f5fa9103c63cb5b11b807a854e4f6468b71d77d65efe474dd1a29fe3eb7a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:18:30.144Z] ---> job-cost.sh [2024-01-22T09:18:30.144Z] lf-activate-venv: SKIPPING [2024-01-22T09:18:30.144Z] INFO: No Stack... [2024-01-22T09:18:30.403Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-22T09:18:30.662Z] INFO: Archiving Costs [Pipeline] sh [2024-01-22T09:18:30.976Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives/cost.csv [2024-01-22T09:18:30.976Z] + cut -d, -f6 [Pipeline] lock [2024-01-22T09:18:31.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [2024-01-22T09:18:31.039Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] did not exist. Created. [2024-01-22T09:18:31.039Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-22T09:18:31.758Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-22T09:18:31.823Z] Stashed 1 file(s) [Pipeline] } [2024-01-22T09:18:31.869Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-22T09:18:32.005Z] $ docker stop --time=1 a02f5fa9103c63cb5b11b807a854e4f6468b71d77d65efe474dd1a29fe3eb7a7 [2024-01-22T09:18:33.150Z] $ docker rm -f --volumes a02f5fa9103c63cb5b11b807a854e4f6468b71d77d65efe474dd1a29fe3eb7a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-22T09:19:24.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27632 in /w/workspace/edgexfoundry_device-sdk-c_PR-507 [Pipeline] { [Pipeline] ws [2024-01-22T09:19:24.572Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-01-22T09:19:27.700Z] Selected Git installation does not exist. Using Default [2024-01-22T09:19:27.700Z] The recommended git tool is: NONE [2024-01-22T09:19:36.323Z] using credential edgex-jenkins-ssh [2024-01-22T09:19:36.342Z] Cloning the remote Git repository [2024-01-22T09:19:36.402Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-22T09:19:36.548Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-01-22T09:19:36.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-22T09:19:36.912Z] > git --version # timeout=10 [2024-01-22T09:19:37.001Z] > git --version # 'git version 2.25.1' [2024-01-22T09:19:37.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-22T09:19:37.251Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-22T09:19:38.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-22T09:19:38.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-22T09:19:40.029Z] Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [2024-01-22T09:19:40.392Z] Merge succeeded, producing 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 [2024-01-22T09:19:40.393Z] Checking out Revision 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 (PR-507) [2024-01-22T09:19:39.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-22T09:19:39.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-22T09:19:39.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-22T09:19:39.432Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/507/head:refs/remotes/origin/PR-507 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-22T09:19:40.049Z] > git config core.sparsecheckout # timeout=10 [2024-01-22T09:19:40.115Z] > git checkout -f 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 # timeout=10 [2024-01-22T09:19:40.250Z] > git remote # timeout=10 [2024-01-22T09:19:40.302Z] > git config --get remote.origin.url # timeout=10 [2024-01-22T09:19:40.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-22T09:19:40.341Z] > git merge c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 [2024-01-22T09:19:40.374Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-22T09:19:40.401Z] > git config core.sparsecheckout # timeout=10 [2024-01-22T09:19:40.422Z] > git checkout -f 8846e62a99aeeb0fa2695d6366b087c2cd37edc5 # timeout=10 [2024-01-22T09:19:43.958Z] Commit message: "fix: memory leaks in devsdk_post_readings function" [2024-01-22T09:19:44.013Z] > git --version # timeout=10 [2024-01-22T09:19:44.024Z] > git --version # 'git version 2.25.1' [2024-01-22T09:19:44.036Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-22T09:19:49.282Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-22T09:19:49.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-22T09:19:49.282Z] Dload Upload Total Spent Left Speed [2024-01-22T09:19:49.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82350 0 --:--:-- --:--:-- --:--:-- 81819 [Pipeline] sh [2024-01-22T09:19:49.622Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-22T09:19:49.959Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-22T09:19:49.960Z] + sudo tee /etc/docker/daemon.new [2024-01-22T09:19:49.960Z] { [2024-01-22T09:19:49.960Z] "registry-mirrors": [ [2024-01-22T09:19:49.960Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-22T09:19:49.960Z] ], [2024-01-22T09:19:49.960Z] "bip": "10.250.0.254/24", [2024-01-22T09:19:49.960Z] "hosts": [ [2024-01-22T09:19:49.960Z] "tcp://0.0.0.0:5555", [2024-01-22T09:19:49.960Z] "unix:///var/run/docker.sock" [2024-01-22T09:19:49.960Z] ], [2024-01-22T09:19:49.960Z] "mtu": 1458, [2024-01-22T09:19:49.960Z] "selinux-enabled": true, [2024-01-22T09:19:49.960Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-22T09:19:49.960Z] } [Pipeline] sh [2024-01-22T09:19:50.299Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-22T09:19:50.643Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-22T09:20:08.995Z] provisioning config files... [2024-01-22T09:20:09.020Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config6330225039244569027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:20:09.519Z] ---> ****-login.sh [2024-01-22T09:20:09.519Z] nexus3.edgexfoundry.org:10001 [2024-01-22T09:20:09.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:20:10.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:20:10.059Z] Configure a credential helper to remove this warning. See [2024-01-22T09:20:10.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:20:10.059Z] [2024-01-22T09:20:10.059Z] Login Succeeded [2024-01-22T09:20:10.059Z] nexus3.edgexfoundry.org:10002 [2024-01-22T09:20:10.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:20:10.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:20:10.330Z] Configure a credential helper to remove this warning. See [2024-01-22T09:20:10.330Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:20:10.330Z] [2024-01-22T09:20:10.330Z] Login Succeeded [2024-01-22T09:20:10.330Z] nexus3.edgexfoundry.org:10003 [2024-01-22T09:20:10.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:20:10.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:20:10.601Z] Configure a credential helper to remove this warning. See [2024-01-22T09:20:10.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:20:10.601Z] [2024-01-22T09:20:10.601Z] Login Succeeded [2024-01-22T09:20:10.601Z] nexus3.edgexfoundry.org:10004 [2024-01-22T09:20:10.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:20:10.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:20:10.870Z] Configure a credential helper to remove this warning. See [2024-01-22T09:20:10.871Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:20:10.871Z] [2024-01-22T09:20:10.871Z] Login Succeeded [2024-01-22T09:20:10.871Z] ****.io [2024-01-22T09:20:11.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-22T09:20:11.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-22T09:20:11.413Z] Configure a credential helper to remove this warning. See [2024-01-22T09:20:11.413Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-22T09:20:11.413Z] [2024-01-22T09:20:11.413Z] Login Succeeded [2024-01-22T09:20:11.413Z] ---> ****-login.sh ends [Pipeline] } [2024-01-22T09:20:11.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-22T09:20:11.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-22T09:20:12.013Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-22T09:20:12.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-22T09:20:12.140Z] ========================================================= [2024-01-22T09:20:12.140Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-22T09:20:12.140Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:20:12.690Z] + 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-22T09:20:13.654Z] #0 building with "default" instance using docker driver [2024-01-22T09:20:13.655Z] [2024-01-22T09:20:13.655Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-22T09:20:13.924Z] #1 transferring dockerfile: 2.04kB 0.0s done [2024-01-22T09:20:13.924Z] #1 DONE 0.1s [2024-01-22T09:20:13.924Z] [2024-01-22T09:20:13.924Z] #2 [internal] load .dockerignore [2024-01-22T09:20:13.924Z] #2 transferring context: 2B done [2024-01-22T09:20:13.924Z] #2 DONE 0.1s [2024-01-22T09:20:13.924Z] [2024-01-22T09:20:13.925Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-22T09:20:13.925Z] #3 DONE 0.1s [2024-01-22T09:20:13.925Z] [2024-01-22T09:20:13.925Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-22T09:20:13.925Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-22T09:20:14.199Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-22T09:20:14.199Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-22T09:20:14.199Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-22T09:20:14.199Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-22T09:20:14.199Z] #4 ... [2024-01-22T09:20:14.199Z] [2024-01-22T09:20:14.199Z] #5 [internal] load build context [2024-01-22T09:20:14.199Z] #5 transferring context: 627.84kB 0.1s done [2024-01-22T09:20:14.199Z] #5 DONE 0.2s [2024-01-22T09:20:14.199Z] [2024-01-22T09:20:14.199Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-22T09:20:14.199Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-22T09:20:14.199Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-22T09:20:14.475Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.20MB / 109.51MB 0.4s [2024-01-22T09:20:14.475Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17.69MB / 109.51MB 0.5s [2024-01-22T09:20:14.744Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-22T09:20:14.744Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 34.60MB / 109.51MB 0.8s [2024-01-22T09:20:15.011Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 40.89MB / 109.51MB 0.9s [2024-01-22T09:20:15.011Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 53.48MB / 109.51MB 1.1s [2024-01-22T09:20:15.279Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 59.77MB / 109.51MB 1.2s [2024-01-22T09:20:15.279Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 72.35MB / 109.51MB 1.4s [2024-01-22T09:20:15.546Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 90.18MB / 109.51MB 1.7s [2024-01-22T09:20:15.815Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 96.34MB / 109.51MB 1.8s [2024-01-22T09:20:16.084Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s [2024-01-22T09:20:18.664Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 4.4s done [2024-01-22T09:20:18.664Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-22T09:20:24.014Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.0s [2024-01-22T09:20:29.367Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10.2s [2024-01-22T09:20:31.956Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.4s done [2024-01-22T09:20:33.900Z] #4 DONE 19.6s [2024-01-22T09:20:33.900Z] [2024-01-22T09:20:33.900Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-22T09:20:34.478Z] #6 0.760 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-22T09:20:34.742Z] #6 1.280 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-22T09:20:34.742Z] #6 1.280 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-22T09:20:34.742Z] #6 1.280 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-22T09:20:35.695Z] #6 DONE 2.0s [2024-01-22T09:20:35.695Z] [2024-01-22T09:20:35.695Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-22T09:20:36.280Z] #7 DONE 0.7s [2024-01-22T09:20:36.549Z] [2024-01-22T09:20:36.549Z] #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-22T09:20:37.510Z] #8 1.101 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:38.089Z] #8 1.552 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:38.668Z] #8 2.126 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:39.626Z] #8 3.117 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:20:39.626Z] #8 3.145 (1/17) Installing hiredis (1.1.0-r2) [2024-01-22T09:20:39.626Z] #8 3.157 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-22T09:20:39.626Z] #8 3.181 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-22T09:20:40.585Z] #8 4.022 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-22T09:20:40.585Z] #8 4.183 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-22T09:20:40.850Z] #8 4.495 (6/17) Installing libcbor (0.10.2-r1) [2024-01-22T09:20:40.850Z] #8 4.501 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-22T09:20:40.850Z] #8 4.602 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-22T09:20:40.850Z] #8 4.607 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-22T09:20:40.850Z] #8 4.614 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-22T09:20:40.850Z] #8 4.622 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-22T09:20:40.850Z] #8 4.655 (12/17) Installing libblkid (2.38.1-r8) [2024-01-22T09:20:40.850Z] #8 4.670 (13/17) Installing libuuid (2.38.1-r8) [2024-01-22T09:20:41.123Z] #8 4.682 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-22T09:20:41.123Z] #8 4.698 (15/17) Installing libmount (2.38.1-r8) [2024-01-22T09:20:41.123Z] #8 4.738 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-22T09:20:41.123Z] #8 4.750 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-22T09:20:41.123Z] #8 ... [2024-01-22T09:20:41.123Z] [2024-01-22T09:20:41.123Z] #9 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-22T09:20:41.123Z] #9 1.073 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:41.123Z] #9 1.551 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:41.123Z] #9 2.139 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:20:41.123Z] #9 3.148 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:20:41.123Z] #9 3.184 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-22T09:20:41.123Z] #9 3.210 (2/9) Installing curl (8.5.0-r0) [2024-01-22T09:20:41.123Z] #9 3.221 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-22T09:20:41.123Z] #9 3.246 (4/9) Installing hiredis (1.1.0-r2) [2024-01-22T09:20:41.123Z] #9 3.254 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-22T09:20:41.123Z] #9 3.277 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-22T09:20:41.123Z] #9 4.033 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-22T09:20:41.123Z] #9 4.407 (8/9) Installing libcbor (0.10.2-r1) [2024-01-22T09:20:41.123Z] #9 4.413 (9/9) Installing libuuid (2.38.1-r8) [2024-01-22T09:20:41.123Z] #9 4.421 Executing busybox-1.36.1-r4.trigger [2024-01-22T09:20:41.123Z] #9 4.464 OK: 327 MiB in 89 packages [2024-01-22T09:20:41.123Z] #9 DONE 4.8s [2024-01-22T09:20:41.123Z] [2024-01-22T09:20:41.123Z] #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-22T09:20:41.123Z] #8 4.842 Executing busybox-1.36.1-r4.trigger [2024-01-22T09:20:41.123Z] #8 4.885 OK: 333 MiB in 99 packages [2024-01-22T09:20:41.391Z] #8 DONE 5.2s [2024-01-22T09:20:41.391Z] [2024-01-22T09:20:41.391Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-22T09:20:42.383Z] #10 DONE 0.8s [2024-01-22T09:20:42.384Z] [2024-01-22T09:20:42.384Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-22T09:20:42.384Z] #11 DONE 0.1s [2024-01-22T09:20:42.651Z] [2024-01-22T09:20:42.651Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-22T09:20:42.651Z] #12 DONE 0.2s [2024-01-22T09:20:42.651Z] [2024-01-22T09:20:42.651Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-22T09:20:42.651Z] #13 DONE 0.1s [2024-01-22T09:20:42.919Z] [2024-01-22T09:20:42.919Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-22T09:20:42.919Z] #14 DONE 0.1s [2024-01-22T09:20:42.919Z] [2024-01-22T09:20:42.919Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-22T09:20:42.919Z] #15 DONE 0.1s [2024-01-22T09:20:42.919Z] [2024-01-22T09:20:42.919Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-22T09:20:42.919Z] #16 DONE 0.1s [2024-01-22T09:20:43.188Z] [2024-01-22T09:20:43.188Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-22T09:20:43.455Z] #17 0.570 + CPPCHECK=false [2024-01-22T09:20:43.455Z] #17 0.570 + DOCGEN=false [2024-01-22T09:20:43.455Z] #17 0.570 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-22T09:20:43.455Z] #17 0.570 + '[' 0 -gt 0 ] [2024-01-22T09:20:43.721Z] #17 0.573 + readlink -f ./scripts/build.sh [2024-01-22T09:20:43.721Z] #17 0.575 + dirname /tmp/sdk/scripts/build.sh [2024-01-22T09:20:43.721Z] #17 0.579 + dirname /tmp/sdk/scripts [2024-01-22T09:20:43.721Z] #17 0.579 + ROOT=/tmp/sdk [2024-01-22T09:20:43.721Z] #17 0.579 + cd /tmp/sdk [2024-01-22T09:20:43.721Z] #17 0.579 + mkdir -p /tmp/sdk/build/release [2024-01-22T09:20:43.722Z] #17 0.582 + cd /tmp/sdk/build/release [2024-01-22T09:20:43.722Z] #17 0.582 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-22T09:20:43.988Z] #17 0.911 -- The C compiler identification is GNU 12.2.1 [2024-01-22T09:20:43.988Z] #17 0.971 -- Detecting C compiler ABI info [2024-01-22T09:20:44.256Z] #17 1.301 -- Detecting C compiler ABI info - done [2024-01-22T09:20:44.256Z] #17 1.382 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-22T09:20:44.256Z] #17 1.383 -- Detecting C compile features [2024-01-22T09:20:44.256Z] #17 1.387 -- Detecting C compile features - done [2024-01-22T09:20:44.256Z] #17 1.410 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-22T09:20:44.523Z] #17 1.589 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-22T09:20:44.523Z] #17 1.606 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-22T09:20:44.523Z] #17 1.621 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-22T09:20:44.523Z] #17 1.637 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-22T09:20:44.523Z] #17 1.652 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-22T09:20:44.523Z] #17 1.667 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-22T09:20:44.793Z] #17 1.682 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-22T09:20:44.793Z] #17 1.683 -- /opt/iotech/iot/1.5/include [2024-01-22T09:20:44.793Z] #17 1.683 -- C SDK 0.0.0 for Linux [2024-01-22T09:20:44.793Z] #17 1.695 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-22T09:20:45.059Z] #17 2.006 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-22T09:20:45.329Z] #17 2.166 -- Found Curses: /usr/lib/libcurses.so [2024-01-22T09:20:45.329Z] #17 2.272 -- Configuring done (1.7s) [2024-01-22T09:20:45.599Z] #17 2.526 -- Generating done (0.2s) [2024-01-22T09:20:45.599Z] #17 2.544 -- Build files have been written to: /tmp/sdk/build/release [2024-01-22T09:20:45.599Z] #17 2.565 + make all package [2024-01-22T09:20:45.599Z] #17 2.565 + tee release.log [2024-01-22T09:20:45.865Z] #17 2.689 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-22T09:20:46.455Z] #17 3.345 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-22T09:20:47.039Z] #17 4.140 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-22T09:20:47.998Z] #17 4.834 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-22T09:20:48.578Z] #17 5.562 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-22T09:20:49.160Z] #17 6.139 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-22T09:20:51.745Z] #17 8.411 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-22T09:20:52.326Z] #17 9.204 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-22T09:20:52.326Z] #17 9.205 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:20:52.326Z] #17 9.205 294 | while (privateConfig) [2024-01-22T09:20:52.326Z] #17 9.205 | ^~~~~~~~~~~~~ [2024-01-22T09:20:52.326Z] #17 9.205 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-22T09:20:52.326Z] #17 9.205 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-22T09:20:52.326Z] #17 9.205 | ^~~~~~~~~~~~~ [2024-01-22T09:20:52.326Z] #17 9.205 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:20:52.326Z] #17 9.205 271 | while (result) [2024-01-22T09:20:52.326Z] #17 9.205 | ^~~~~~ [2024-01-22T09:20:52.326Z] #17 9.205 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-22T09:20:52.326Z] #17 9.205 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-22T09:20:52.326Z] #17 9.205 | ^~~~~~ [2024-01-22T09:20:52.592Z] #17 9.521 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-22T09:20:52.859Z] #17 9.737 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-22T09:20:53.813Z] #17 10.59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-22T09:20:55.216Z] #17 12.36 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-22T09:20:55.798Z] #17 12.93 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-22T09:20:56.756Z] #17 13.71 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-22T09:20:57.335Z] #17 14.42 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-22T09:20:57.916Z] #17 14.89 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-22T09:20:58.873Z] #17 15.85 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-22T09:20:59.138Z] #17 16.15 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-22T09:21:01.075Z] #17 18.12 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-22T09:21:01.344Z] #17 18.45 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-22T09:21:01.923Z] #17 19.00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-22T09:21:03.322Z] #17 20.21 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-22T09:21:09.944Z] #17 26.51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-22T09:21:09.944Z] #17 27.10 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-22T09:21:10.525Z] #17 27.49 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-22T09:21:11.106Z] #17 28.00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-22T09:21:11.372Z] #17 28.30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-22T09:21:12.772Z] #17 29.66 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-22T09:21:14.711Z] #17 31.69 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-22T09:21:15.295Z] #17 32.12 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-22T09:21:15.875Z] #17 32.96 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-22T09:21:16.455Z] #17 33.53 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-22T09:21:16.721Z] #17 33.81 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-22T09:21:16.987Z] #17 33.81 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:21:16.987Z] #17 33.81 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-22T09:21:16.987Z] #17 33.81 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:21:16.987Z] #17 33.81 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:21:16.987Z] #17 33.81 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-22T09:21:16.987Z] #17 33.81 | ^ [2024-01-22T09:21:18.392Z] #17 35.22 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-22T09:21:18.392Z] #17 35.22 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-22T09:21:18.392Z] #17 35.22 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:21:18.392Z] #17 35.22 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-22T09:21:18.392Z] #17 35.22 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-22T09:21:18.392Z] #17 35.22 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:21:19.350Z] #17 36.23 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-22T09:21:19.928Z] #17 36.96 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-22T09:21:20.508Z] #17 37.30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-22T09:21:20.773Z] #17 37.80 [ 68%] Linking C shared library libcsdk.so [2024-01-22T09:21:21.039Z] #17 38.00 [ 68%] Built target csdk [2024-01-22T09:21:21.039Z] #17 38.05 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-22T09:21:21.993Z] #17 38.83 [ 72%] Linking C executable template [2024-01-22T09:21:22.261Z] #17 39.13 [ 72%] Built target template [2024-01-22T09:21:22.261Z] #17 39.18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-22T09:21:22.845Z] #17 39.69 [ 76%] Linking C executable device-counter [2024-01-22T09:21:23.112Z] #17 39.99 [ 76%] Built target device-counter [2024-01-22T09:21:23.112Z] #17 40.04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-22T09:21:23.695Z] #17 40.53 [ 80%] Linking C executable device-random [2024-01-22T09:21:23.963Z] #17 40.83 [ 80%] Built target device-random [2024-01-22T09:21:23.963Z] #17 40.88 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-22T09:21:24.231Z] #17 41.34 [ 84%] Linking C executable device-gyro [2024-01-22T09:21:24.817Z] #17 41.64 [ 84%] Built target device-gyro [2024-01-22T09:21:24.817Z] #17 41.70 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-22T09:21:25.400Z] #17 42.18 [ 88%] Linking C executable device-bitfields [2024-01-22T09:21:25.665Z] #17 42.49 [ 88%] Built target device-bitfields [2024-01-22T09:21:25.665Z] #17 42.54 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-22T09:21:26.247Z] #17 43.35 [ 92%] Linking C executable template-discovery [2024-01-22T09:21:26.830Z] #17 43.65 [ 92%] Built target template-discovery [2024-01-22T09:21:26.830Z] #17 43.70 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-22T09:21:31.539Z] #17 44.40 [ 96%] Linking C executable device-file [2024-01-22T09:21:31.540Z] #17 44.72 [ 96%] Built target device-file [2024-01-22T09:21:31.540Z] #17 44.78 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-22T09:21:31.540Z] #17 45.40 [100%] Linking C executable device-terminal [2024-01-22T09:21:31.540Z] #17 45.72 [100%] Built target device-terminal [2024-01-22T09:21:31.540Z] #17 45.77 Run CPack packaging tool... [2024-01-22T09:21:31.540Z] #17 45.81 CPack: Create package using TGZ [2024-01-22T09:21:31.540Z] #17 45.82 CPack: Install projects [2024-01-22T09:21:31.540Z] #17 45.82 CPack: - Run preinstall target for: Csdk [2024-01-22T09:21:31.540Z] #17 46.58 CPack: - Install project: Csdk [] [2024-01-22T09:21:31.540Z] #17 46.61 CPack: Create package [2024-01-22T09:21:31.540Z] #17 46.70 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-22T09:21:31.540Z] #17 46.71 + '[' false '=' true ] [2024-01-22T09:21:31.540Z] #17 46.71 + '[' false '=' true ] [2024-01-22T09:21:31.540Z] #17 46.71 + mkdir -p /tmp/sdk/build/debug [2024-01-22T09:21:31.540Z] #17 46.71 + cd /tmp/sdk/build/debug [2024-01-22T09:21:31.540Z] #17 46.71 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-22T09:21:31.807Z] #17 48.76 -- The C compiler identification is GNU 12.2.1 [2024-01-22T09:21:31.807Z] #17 48.82 -- Detecting C compiler ABI info [2024-01-22T09:21:32.074Z] #17 49.15 -- Detecting C compiler ABI info - done [2024-01-22T09:21:32.343Z] #17 49.23 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-22T09:21:32.343Z] #17 49.23 -- Detecting C compile features [2024-01-22T09:21:32.343Z] #17 49.24 -- Detecting C compile features - done [2024-01-22T09:21:32.343Z] #17 49.26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-22T09:21:32.343Z] #17 49.45 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-22T09:21:32.343Z] #17 49.46 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-22T09:21:32.610Z] #17 49.48 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-22T09:21:32.610Z] #17 49.49 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-22T09:21:32.610Z] #17 49.51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-22T09:21:32.610Z] #17 49.52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-22T09:21:32.610Z] #17 49.54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-22T09:21:32.610Z] #17 49.54 -- /opt/iotech/iot/1.5/include [2024-01-22T09:21:32.610Z] #17 49.54 -- C SDK 0.0.0 for Linux [2024-01-22T09:21:32.610Z] #17 49.55 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-22T09:21:32.878Z] #17 49.86 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-22T09:21:32.878Z] #17 50.02 -- Found Curses: /usr/lib/libcurses.so [2024-01-22T09:21:33.145Z] #17 50.13 -- Configuring done (3.4s) [2024-01-22T09:21:33.411Z] #17 50.38 -- Generating done (0.2s) [2024-01-22T09:21:33.411Z] #17 50.39 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-22T09:21:33.411Z] #17 50.41 + make [2024-01-22T09:21:33.411Z] #17 50.41 + tee debug.log [2024-01-22T09:21:33.411Z] #17 50.53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-22T09:21:33.990Z] #17 50.90 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-22T09:21:34.255Z] #17 51.26 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-22T09:21:34.835Z] #17 51.60 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-22T09:21:35.101Z] #17 51.95 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-22T09:21:35.366Z] #17 52.30 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-22T09:21:35.947Z] #17 52.94 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-22T09:21:36.527Z] #17 53.36 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-22T09:21:36.527Z] #17 53.52 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-22T09:21:36.795Z] #17 53.92 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-22T09:21:37.378Z] #17 54.51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-22T09:21:37.964Z] #17 54.83 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-22T09:21:38.232Z] #17 55.22 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-22T09:21:38.499Z] #17 55.57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-22T09:21:39.085Z] #17 55.88 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-22T09:21:39.351Z] #17 56.22 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-22T09:21:39.617Z] #17 56.44 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-22T09:21:40.199Z] #17 57.15 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-22T09:21:40.465Z] #17 57.38 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-22T09:21:40.465Z] #17 57.59 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-22T09:21:41.046Z] #17 58.19 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-22T09:21:42.450Z] #17 59.30 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-22T09:21:42.723Z] #17 59.64 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-22T09:21:42.990Z] #17 59.90 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-22T09:21:43.254Z] #17 60.20 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-22T09:21:43.520Z] #17 60.46 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-22T09:21:44.102Z] #17 60.96 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-22T09:21:45.059Z] #17 62.24 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-22T09:21:45.324Z] #17 62.50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-22T09:21:45.904Z] #17 62.87 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-22T09:21:46.169Z] #17 63.22 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-22T09:21:46.435Z] #17 63.47 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-22T09:21:46.700Z] #17 63.47 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:21:46.700Z] #17 63.47 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-22T09:21:46.700Z] #17 63.47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-22T09:21:46.700Z] #17 63.48 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-22T09:21:46.700Z] #17 63.48 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-22T09:21:46.701Z] #17 63.48 | ^ [2024-01-22T09:21:46.966Z] #17 63.99 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-22T09:21:47.232Z] #17 64.34 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-22T09:21:47.498Z] #17 64.61 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-22T09:21:47.765Z] #17 64.89 [ 68%] Linking C shared library libcsdk.so [2024-01-22T09:21:48.031Z] #17 65.12 [ 68%] Built target csdk [2024-01-22T09:21:48.031Z] #17 65.18 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-22T09:21:48.610Z] #17 65.52 [ 72%] Linking C executable template [2024-01-22T09:21:48.875Z] #17 65.82 [ 72%] Built target template [2024-01-22T09:21:48.875Z] #17 65.88 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-22T09:21:49.140Z] #17 66.15 [ 76%] Linking C executable device-counter [2024-01-22T09:21:49.405Z] #17 66.46 [ 76%] Built target device-counter [2024-01-22T09:21:49.405Z] #17 66.51 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-22T09:21:49.672Z] #17 66.79 [ 80%] Linking C executable device-random [2024-01-22T09:21:50.257Z] #17 67.14 [ 80%] Built target device-random [2024-01-22T09:21:50.257Z] #17 67.20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-22T09:21:50.522Z] #17 67.48 [ 84%] Linking C executable device-gyro [2024-01-22T09:21:50.789Z] #17 67.79 [ 84%] Built target device-gyro [2024-01-22T09:21:50.789Z] #17 67.85 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-22T09:21:51.057Z] #17 68.13 [ 88%] Linking C executable device-bitfields [2024-01-22T09:21:51.640Z] #17 68.43 [ 88%] Built target device-bitfields [2024-01-22T09:21:51.640Z] #17 68.48 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-22T09:21:51.907Z] #17 68.83 [ 92%] Linking C executable template-discovery [2024-01-22T09:21:52.174Z] #17 69.19 [ 92%] Built target template-discovery [2024-01-22T09:21:52.174Z] #17 69.25 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-22T09:21:52.757Z] #17 69.57 [ 96%] Linking C executable device-file [2024-01-22T09:21:53.023Z] #17 69.88 [ 96%] Built target device-file [2024-01-22T09:21:53.023Z] #17 69.93 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-22T09:21:53.291Z] #17 70.33 [100%] Linking C executable device-terminal [2024-01-22T09:21:53.875Z] #17 70.65 [100%] Built target device-terminal [2024-01-22T09:21:53.875Z] #17 70.68 make: Entering directory '/tmp/sdk/build/release' [2024-01-22T09:21:53.875Z] #17 70.83 [ 68%] Built target csdk [2024-01-22T09:21:53.875Z] #17 70.89 [ 72%] Built target template [2024-01-22T09:21:53.875Z] #17 70.94 [ 76%] Built target device-counter [2024-01-22T09:21:53.875Z] #17 70.99 [ 80%] Built target device-random [2024-01-22T09:21:54.144Z] #17 71.05 [ 84%] Built target device-gyro [2024-01-22T09:21:54.144Z] #17 71.10 [ 88%] Built target device-bitfields [2024-01-22T09:21:54.144Z] #17 71.16 [ 92%] Built target template-discovery [2024-01-22T09:21:54.144Z] #17 71.21 [ 96%] Built target device-file [2024-01-22T09:21:54.425Z] #17 71.27 [100%] Built target device-terminal [2024-01-22T09:21:54.425Z] #17 71.32 Install the project... [2024-01-22T09:21:54.425Z] #17 71.35 -- Install configuration: "Release" [2024-01-22T09:21:54.425Z] #17 71.35 -- Installing: /usr/local/lib/libcsdk.so [2024-01-22T09:21:54.425Z] #17 71.36 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-22T09:21:54.425Z] #17 71.36 -- Installing: /usr/local/include [2024-01-22T09:21:54.425Z] #17 71.36 -- Installing: /usr/local/include/devsdk [2024-01-22T09:21:54.425Z] #17 71.36 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-22T09:21:54.425Z] #17 71.36 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/devices.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-22T09:21:54.425Z] #17 71.37 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-22T09:21:54.425Z] #17 71.38 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-22T09:21:54.425Z] #17 71.38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-22T09:21:54.425Z] #17 71.39 make: Leaving directory '/tmp/sdk/build/release' [2024-01-22T09:21:54.694Z] #17 DONE 71.5s [2024-01-22T09:21:54.694Z] [2024-01-22T09:21:54.694Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-22T09:21:54.694Z] #18 DONE 0.2s [2024-01-22T09:21:54.694Z] [2024-01-22T09:21:54.694Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-22T09:21:54.960Z] #19 DONE 0.1s [2024-01-22T09:21:54.960Z] [2024-01-22T09:21:54.960Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-22T09:21:54.960Z] #20 DONE 0.1s [2024-01-22T09:21:54.960Z] [2024-01-22T09:21:54.960Z] #21 exporting to image [2024-01-22T09:21:54.960Z] #21 exporting layers [2024-01-22T09:21:55.227Z] #21 exporting layers 0.2s done [2024-01-22T09:21:55.227Z] #21 writing image sha256:a4a0a8bd9a62a2b7d0f30ed647a5bbbf3aefd0dfada5e9decc8acbfba71f53d5 done [2024-01-22T09:21:55.227Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-22T09:21:55.227Z] #21 DONE 0.2s [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-22T09:21:56.224Z] + docker inspect -f . ci-base-image-arm64 [2024-01-22T09:21:56.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:21:56.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-27632 does not seem to be running inside a container [2024-01-22T09:21:56.628Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-22T09:21:59.601Z] $ docker top dc799f8bdb44b4a9f20ed13d6ccd33879cc209e92cb7f1dbf4ef39c76a6d5f76 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-22T09:22:00.181Z] + make test [2024-01-22T09:22:00.453Z] echo "make test" [2024-01-22T09:22:00.453Z] make test [Pipeline] } [2024-01-22T09:22:00.492Z] $ docker stop --time=1 dc799f8bdb44b4a9f20ed13d6ccd33879cc209e92cb7f1dbf4ef39c76a6d5f76 [2024-01-22T09:22:02.034Z] $ docker rm -f --volumes dc799f8bdb44b4a9f20ed13d6ccd33879cc209e92cb7f1dbf4ef39c76a6d5f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-22T09:22:03.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-22T09:22:03.612Z] + ls -al . [2024-01-22T09:22:03.613Z] total 208 [2024-01-22T09:22:03.613Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 09:19 . [2024-01-22T09:22:03.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:19 .. [2024-01-22T09:22:03.613Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 09:19 .git [2024-01-22T09:22:03.613Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 09:19 .github [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 22 09:19 .gitignore [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 22 09:19 Attribution.txt [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 22 09:19 CHANGELOG.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 22 09:19 Doxyfile [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 22 09:19 GOVERNANCE.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 22 09:19 Jenkinsfile [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 22 09:19 LICENSE [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 22 09:19 Makefile [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 22 09:19 OWNERS.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 22 09:19 README.IOT.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 22 09:19 README.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 22 09:19 README.v3.md [2024-01-22T09:22:03.613Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 09:17 VERSION [2024-01-22T09:22:03.613Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:19 docs [2024-01-22T09:22:03.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:19 include [2024-01-22T09:22:03.613Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 09:19 scripts [2024-01-22T09:22:03.613Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 09:19 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:22:04.092Z] + 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=8846e62a99aeeb0fa2695d6366b087c2cd37edc5 --label arch=arm64 --label version=0.0.0 . [2024-01-22T09:22:04.672Z] #0 building with "default" instance using docker driver [2024-01-22T09:22:04.672Z] [2024-01-22T09:22:04.672Z] #1 [internal] load .dockerignore [2024-01-22T09:22:04.672Z] #1 transferring context: 2B done [2024-01-22T09:22:04.672Z] #1 DONE 0.0s [2024-01-22T09:22:04.672Z] [2024-01-22T09:22:04.672Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-22T09:22:04.672Z] #2 transferring dockerfile: 1.44kB 0.0s done [2024-01-22T09:22:04.672Z] #2 DONE 0.0s [2024-01-22T09:22:04.941Z] [2024-01-22T09:22:04.941Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-22T09:22:04.941Z] #3 DONE 0.0s [2024-01-22T09:22:04.941Z] [2024-01-22T09:22:04.941Z] #4 [internal] load build context [2024-01-22T09:22:04.941Z] #4 transferring context: 8.55kB 0.1s done [2024-01-22T09:22:04.941Z] #4 DONE 0.1s [2024-01-22T09:22:04.941Z] [2024-01-22T09:22:04.941Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-22T09:22:04.941Z] #5 DONE 0.2s [2024-01-22T09:22:04.941Z] [2024-01-22T09:22:04.941Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-22T09:22:05.524Z] #6 0.587 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-22T09:22:06.107Z] #6 1.108 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-22T09:22:06.107Z] #6 1.109 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-22T09:22:06.107Z] #6 1.109 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-22T09:22:06.107Z] #6 DONE 1.2s [2024-01-22T09:22:06.107Z] [2024-01-22T09:22:06.107Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-22T09:22:07.073Z] #7 DONE 0.8s [2024-01-22T09:22:07.073Z] [2024-01-22T09:22:07.073Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-22T09:22:07.654Z] #8 0.658 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:22:07.921Z] #8 1.061 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-22T09:22:08.502Z] #8 1.625 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-22T09:22:09.457Z] #8 2.505 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-22T09:22:09.457Z] #8 2.536 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-22T09:22:09.723Z] #8 2.835 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-22T09:22:09.723Z] #8 2.850 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-22T09:22:09.723Z] #8 2.860 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-22T09:22:09.723Z] #8 2.865 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-22T09:22:09.723Z] #8 2.872 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-22T09:22:09.723Z] #8 2.896 (7/11) Installing libblkid (2.38.1-r8) [2024-01-22T09:22:09.723Z] #8 2.908 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-22T09:22:09.723Z] #8 2.922 (9/11) Installing libmount (2.38.1-r8) [2024-01-22T09:22:09.723Z] #8 2.935 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-22T09:22:09.723Z] #8 2.946 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-22T09:22:09.723Z] #8 3.014 Executing busybox-1.36.1-r4.trigger [2024-01-22T09:22:09.993Z] #8 3.059 OK: 333 MiB in 100 packages [2024-01-22T09:22:14.236Z] #8 DONE 6.9s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-22T09:22:14.236Z] #9 DONE 0.1s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-22T09:22:14.236Z] #10 DONE 0.2s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-22T09:22:14.236Z] #11 DONE 0.1s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-22T09:22:14.236Z] #12 DONE 0.1s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-22T09:22:14.236Z] #13 DONE 0.1s [2024-01-22T09:22:14.236Z] [2024-01-22T09:22:14.236Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-22T09:22:14.502Z] #14 DONE 0.1s [2024-01-22T09:22:14.502Z] [2024-01-22T09:22:14.502Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-22T09:22:14.502Z] #15 DONE 0.1s [2024-01-22T09:22:14.502Z] [2024-01-22T09:22:14.502Z] #16 exporting to image [2024-01-22T09:22:14.502Z] #16 exporting layers [2024-01-22T09:22:15.080Z] #16 exporting layers 0.4s done [2024-01-22T09:22:15.080Z] #16 writing image sha256:df48ad7db0509ad24a42b53351b08dfbe76d669eaf4691ee36f0cb13c31ec335 done [2024-01-22T09:22:15.080Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-22T09:22:15.080Z] #16 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:22:16.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-22T09:22:16.232Z] [2024-01-22T09:22:16.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:22:16.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-22T09:22:16.934Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-22T09:22:16.934Z] 8998bd30e6a1: Pulling fs layer [2024-01-22T09:22:16.934Z] 04944245beec: Pulling fs layer [2024-01-22T09:22:16.934Z] 699f458cf7ca: Pulling fs layer [2024-01-22T09:22:16.934Z] 765212b225bb: Pulling fs layer [2024-01-22T09:22:16.934Z] f23df028b6ca: Pulling fs layer [2024-01-22T09:22:16.934Z] d65c8cfc05b1: Pulling fs layer [2024-01-22T09:22:16.934Z] 2437ff75d9bd: Pulling fs layer [2024-01-22T09:22:16.934Z] 765212b225bb: Waiting [2024-01-22T09:22:16.934Z] f23df028b6ca: Waiting [2024-01-22T09:22:16.934Z] d65c8cfc05b1: Waiting [2024-01-22T09:22:16.934Z] 2437ff75d9bd: Waiting [2024-01-22T09:22:16.934Z] 04944245beec: Verifying Checksum [2024-01-22T09:22:16.934Z] 04944245beec: Download complete [2024-01-22T09:22:16.934Z] 765212b225bb: Verifying Checksum [2024-01-22T09:22:16.934Z] 765212b225bb: Download complete [2024-01-22T09:22:17.200Z] f23df028b6ca: Download complete [2024-01-22T09:22:17.200Z] d65c8cfc05b1: Verifying Checksum [2024-01-22T09:22:17.200Z] d65c8cfc05b1: Download complete [2024-01-22T09:22:17.200Z] 699f458cf7ca: Verifying Checksum [2024-01-22T09:22:17.200Z] 699f458cf7ca: Download complete [2024-01-22T09:22:17.465Z] 8998bd30e6a1: Verifying Checksum [2024-01-22T09:22:17.465Z] 8998bd30e6a1: Download complete [2024-01-22T09:22:19.404Z] 2437ff75d9bd: Verifying Checksum [2024-01-22T09:22:19.404Z] 2437ff75d9bd: Download complete [2024-01-22T09:22:23.653Z] 8998bd30e6a1: Pull complete [2024-01-22T09:22:28.987Z] 04944245beec: Pull complete [2024-01-22T09:22:30.929Z] 699f458cf7ca: Pull complete [2024-01-22T09:22:30.929Z] 765212b225bb: Pull complete [2024-01-22T09:22:31.512Z] f23df028b6ca: Pull complete [2024-01-22T09:22:31.512Z] d65c8cfc05b1: Pull complete [2024-01-22T09:22:58.185Z] 2437ff75d9bd: Pull complete [2024-01-22T09:22:58.185Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-22T09:22:58.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-22T09:22:58.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:22:58.623Z] prd-ubuntu20.04-docker-arm64-4c-16g-27632 does not seem to be running inside a container [2024-01-22T09:22:58.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-22T09:23:00.182Z] $ docker top 46941423b52aa345e94817e12fd37cff06771586ba341df62a61a0e72ef2eb2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:00.767Z] ---> job-cost.sh [2024-01-22T09:23:01.036Z] lf-activate-venv: SKIPPING [2024-01-22T09:23:01.036Z] INFO: No Stack... [2024-01-22T09:23:01.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-22T09:23:01.878Z] INFO: Archiving Costs [Pipeline] sh [2024-01-22T09:23:02.215Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-01-22T09:23:02.215Z] + cut -d, -f6 [Pipeline] lock [2024-01-22T09:23:02.282Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [2024-01-22T09:23:02.287Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] did not exist. Created. [2024-01-22T09:23:02.287Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-22T09:23:02.774Z] /w/workspace/device-sdk-c/1@tmp/durable-17cdd46a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-22T09:23:03.118Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-22T09:23:03.155Z] Warning: overwriting stash ‘stack-cost’ [2024-01-22T09:23:03.573Z] Stashed 1 file(s) [Pipeline] } [2024-01-22T09:23:03.590Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-22T09:23:03.757Z] $ docker stop --time=1 46941423b52aa345e94817e12fd37cff06771586ba341df62a61a0e72ef2eb2a [2024-01-22T09:23:05.162Z] $ docker rm -f --volumes 46941423b52aa345e94817e12fd37cff06771586ba341df62a61a0e72ef2eb2a [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-22T09:23:08.139Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives ] [2024-01-22T09:23:08.139Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives [2024-01-22T09:23:08.139Z] total 16 [2024-01-22T09:23:08.139Z] drwxr-xr-x 3 root root 4096 Jan 22 09:18 . [2024-01-22T09:23:08.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 09:18 .. [2024-01-22T09:23:08.139Z] drwxr-xr-x 2 root root 4096 Jan 22 09:18 cost [2024-01-22T09:23:08.139Z] -rw-r--r-- 1 root root 84 Jan 22 09:18 cost.csv [2024-01-22T09:23:08.139Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives [2024-01-22T09:23:08.139Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives [2024-01-22T09:23:08.139Z] total 16 [2024-01-22T09:23:08.139Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 22 09:18 . [2024-01-22T09:23:08.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 09:18 .. [2024-01-22T09:23:08.139Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 22 09:18 cost [2024-01-22T09:23:08.139Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 22 09:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:08.478Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:09.376Z] ---> package-listing.sh [2024-01-22T09:23:09.376Z] ++ facter osfamily [2024-01-22T09:23:09.376Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-22T09:23:09.638Z] + OS_FAMILY=debian [2024-01-22T09:23:09.638Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-507 [2024-01-22T09:23:09.638Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-22T09:23:09.638Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-22T09:23:09.638Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-22T09:23:09.638Z] + PACKAGES=/tmp/packages_start.txt [2024-01-22T09:23:09.638Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-507 ']' [2024-01-22T09:23:09.638Z] + PACKAGES=/tmp/packages_end.txt [2024-01-22T09:23:09.638Z] + case "${OS_FAMILY}" in [2024-01-22T09:23:09.638Z] + dpkg -l [2024-01-22T09:23:09.638Z] + grep '^ii' [2024-01-22T09:23:09.638Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-22T09:23:09.638Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-22T09:23:09.638Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-22T09:23:09.638Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-507 ']' [2024-01-22T09:23:09.638Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives/ [2024-01-22T09:23:09.638Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-507/archives/ [Pipeline] echo [2024-01-22T09:23:09.678Z] 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-507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-22T09:23:09.974Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-22T09:23:10.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-22T09:23:10.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-22T09:23:10.938Z] prd-ubuntu20.04-docker-8c-8g-27631 does not seem to be running inside a container [2024-01-22T09:23:10.999Z] $ 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-507/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-507 -v /w/workspace/edgexfoundry_device-sdk-c_PR-507:/w/workspace/edgexfoundry_device-sdk-c_PR-507:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-22T09:23:11.520Z] $ docker top fdb61ec3d93bdb5bff380df368267892c8184ccee64fd94260e8104063ea0fa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-22T09:23:12.009Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-22T09:23:12.316Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-22T09:23:12.629Z] + ls /var/log/sa-host [2024-01-22T09:23:12.629Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-22T09:23:12.914Z] provisioning config files... [2024-01-22T09:23:12.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-507@tmp/config4058400511843509842tmp [Pipeline] { [Pipeline] echo [2024-01-22T09:23:13.062Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:13.383Z] ---> create-netrc.sh [Pipeline] } [2024-01-22T09:23:13.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:13.909Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-22T09:23:13.944Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:14.258Z] ---> sudo-logs.sh [2024-01-22T09:23:14.258Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-22T09:23:14.377Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:14.694Z] ---> job-cost.sh [2024-01-22T09:23:14.694Z] lf-activate-venv: SKIPPING [2024-01-22T09:23:14.694Z] DEBUG: total: 0.2199999988079071 [2024-01-22T09:23:14.694Z] INFO: Retrieving Stack Cost... [2024-01-22T09:23:14.954Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-22T09:23:15.214Z] INFO: Archiving Costs [Pipeline] echo [2024-01-22T09:23:15.252Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-22T09:23:15.569Z] ---> logs-deploy.sh [2024-01-22T09:23:15.569Z] lf-activate-venv: SKIPPING [2024-01-22T09:23:15.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-507/1 [2024-01-22T09:23:15.569Z] INFO: archiving workspace using pattern(s): [2024-01-22T09:23:16.506Z] Archives upload complete. [2024-01-22T09:23:16.506Z] INFO: archiving logs to Nexus