Pull request #505 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than 4cb9380c29b0a5d10273cccf0d029e999cf1f39e Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17544527634127174983.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-ssh425932969804039403.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18255605398415323416.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11636843849769448581.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4241131572364092537.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-26678’ is offline Running on prd-ubuntu20.04-docker-8c-8g-26680 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-505 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 4cb9380c29b0a5d10273cccf0d029e999cf1f39e Merge succeeded, producing 4cb9380c29b0a5d10273cccf0d029e999cf1f39e Checking out Revision 4cb9380c29b0a5d10273cccf0d029e999cf1f39e (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f 4cb9380c29b0a5d10273cccf0d029e999cf1f39e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cb9380c29b0a5d10273cccf0d029e999cf1f39e # timeout=10 Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" First time build. Skipping changelog. > git rev-list --no-walk 90b3118bed509ca868a5b22d375fbb2e248de3ad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-03T02:56:18.352Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-03T02:56:18.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-03T02:56:18.502Z] ========================================================= [2024-01-03T02:56:18.502Z] EdgeX Global Pipelines Version Info [2024-01-03T02:56:18.502Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:56:19.254Z] ------------------- [2024-01-03T02:56:19.254Z] stable info: [2024-01-03T02:56:19.254Z] ------------------- [2024-01-03T02:56:19.254Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-03T02:56:19.254Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T02:56:19.254Z] Message: update stable to v1.0.258 [2024-01-03T02:56:19.825Z] ------------------- [2024-01-03T02:56:19.825Z] experimental info: [2024-01-03T02:56:19.825Z] ------------------- [2024-01-03T02:56:19.825Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-03T02:56:19.825Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T02:56:19.825Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-03T02:56:19.903Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-03T02:56:19.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-03T02:56:19.950Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-03T02:56:19.975Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-03T02:56:20.002Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-03T02:56:20.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-03T02:56:20.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-03T02:56:20.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-03T02:56:20.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-03T02:56:20.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-03T02:56:20.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-03T02:56:20.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-03T02:56:20.243Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-03T02:56:20.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-03T02:56:20.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-03T02:56:20.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-03T02:56:20.372Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-03T02:56:20.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-01-03T02:56:20.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-01-03T02:56:20.470Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-01-03T02:56:20.504Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [Pipeline] echo [2024-01-03T02:56:20.539Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cb9380 [Pipeline] echo [2024-01-03T02:56:20.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T02:56:20.661Z] provisioning config files... [2024-01-03T02:56:20.675Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config18282565068601758632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:56:21.016Z] ---> ****-login.sh [2024-01-03T02:56:21.016Z] nexus3.edgexfoundry.org:10001 [2024-01-03T02:56:21.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:21.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:21.278Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:21.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:21.278Z] [2024-01-03T02:56:21.278Z] Login Succeeded [2024-01-03T02:56:21.278Z] nexus3.edgexfoundry.org:10002 [2024-01-03T02:56:21.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:21.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:21.537Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:21.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:21.537Z] [2024-01-03T02:56:21.537Z] Login Succeeded [2024-01-03T02:56:21.537Z] nexus3.edgexfoundry.org:10003 [2024-01-03T02:56:21.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:21.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:21.538Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:21.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:21.538Z] [2024-01-03T02:56:21.538Z] Login Succeeded [2024-01-03T02:56:21.538Z] nexus3.edgexfoundry.org:10004 [2024-01-03T02:56:21.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:21.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:21.538Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:21.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:21.538Z] [2024-01-03T02:56:21.538Z] Login Succeeded [2024-01-03T02:56:21.538Z] ****.io [2024-01-03T02:56:21.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:22.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:22.057Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:22.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:22.057Z] [2024-01-03T02:56:22.057Z] Login Succeeded [2024-01-03T02:56:22.057Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T02:56:22.067Z] 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-03T02:56:22.577Z] + git rev-list -1 --merges 4cb9380c29b0a5d10273cccf0d029e999cf1f39e~1..4cb9380c29b0a5d10273cccf0d029e999cf1f39e [Pipeline] echo [2024-01-03T02:56:22.608Z] -----------> git rev-list -1 --merges 4cb9380c29b0a5d10273cccf0d029e999cf1f39e~1..4cb9380c29b0a5d10273cccf0d029e999cf1f39e 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [false] [Pipeline] sh [2024-01-03T02:56:22.914Z] + git log --format=format:%s -1 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [Pipeline] echo [2024-01-03T02:56:22.930Z] ========================================================= [2024-01-03T02:56:22.930Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T02:56:22.930Z] ========================================================= 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-03T02:56:23.468Z] + git rev-list -1 --merges 4cb9380c29b0a5d10273cccf0d029e999cf1f39e~1..4cb9380c29b0a5d10273cccf0d029e999cf1f39e [Pipeline] echo [2024-01-03T02:56:23.478Z] -----------> git rev-list -1 --merges 4cb9380c29b0a5d10273cccf0d029e999cf1f39e~1..4cb9380c29b0a5d10273cccf0d029e999cf1f39e 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [false] [Pipeline] sh [2024-01-03T02:56:23.789Z] + git log --format=format:%s -1 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [Pipeline] echo [2024-01-03T02:56:23.806Z] ========================================================= [2024-01-03T02:56:23.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T02:56:23.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-03T02:56:24.206Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-03T02:56:24.206Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-03T02:56:24.206Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-03T02:56:24.206Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-03T02:56:24.206Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-03T02:56:24.206Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-03T02:56:24.206Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:56:24.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:56:24.585Z] [2024-01-03T02:56:24.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:56:24.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:56:24.901Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-03T02:56:24.901Z] b85a868b505f: Pulling fs layer [2024-01-03T02:56:24.901Z] e2be974225ed: Pulling fs layer [2024-01-03T02:56:24.901Z] 339a4e72a1f5: Pulling fs layer [2024-01-03T02:56:24.901Z] 988bab9f4d93: Pulling fs layer [2024-01-03T02:56:24.901Z] 1469e6f7b9e6: Pulling fs layer [2024-01-03T02:56:24.901Z] eaf3925da568: Pulling fs layer [2024-01-03T02:56:24.901Z] bab4dde63d76: Pulling fs layer [2024-01-03T02:56:24.901Z] bde34c3a00c8: Pulling fs layer [2024-01-03T02:56:24.901Z] b352a97aabf1: Pulling fs layer [2024-01-03T02:56:24.901Z] 4872d77fe225: Pulling fs layer [2024-01-03T02:56:24.901Z] 5851b861e8e6: Pulling fs layer [2024-01-03T02:56:24.901Z] 988bab9f4d93: Waiting [2024-01-03T02:56:24.901Z] 1469e6f7b9e6: Waiting [2024-01-03T02:56:24.901Z] eaf3925da568: Waiting [2024-01-03T02:56:24.901Z] bab4dde63d76: Waiting [2024-01-03T02:56:24.901Z] bde34c3a00c8: Waiting [2024-01-03T02:56:24.901Z] 5851b861e8e6: Waiting [2024-01-03T02:56:24.901Z] b352a97aabf1: Waiting [2024-01-03T02:56:24.901Z] 4872d77fe225: Waiting [2024-01-03T02:56:24.901Z] e2be974225ed: Verifying Checksum [2024-01-03T02:56:24.901Z] e2be974225ed: Download complete [2024-01-03T02:56:24.901Z] 988bab9f4d93: Verifying Checksum [2024-01-03T02:56:24.901Z] 988bab9f4d93: Download complete [2024-01-03T02:56:24.901Z] 1469e6f7b9e6: Verifying Checksum [2024-01-03T02:56:24.901Z] 1469e6f7b9e6: Download complete [2024-01-03T02:56:25.161Z] eaf3925da568: Verifying Checksum [2024-01-03T02:56:25.161Z] eaf3925da568: Download complete [2024-01-03T02:56:25.161Z] 339a4e72a1f5: Verifying Checksum [2024-01-03T02:56:25.161Z] 339a4e72a1f5: Download complete [2024-01-03T02:56:25.161Z] bde34c3a00c8: Verifying Checksum [2024-01-03T02:56:25.161Z] bde34c3a00c8: Download complete [2024-01-03T02:56:25.161Z] b352a97aabf1: Download complete [2024-01-03T02:56:25.161Z] 4872d77fe225: Verifying Checksum [2024-01-03T02:56:25.161Z] 4872d77fe225: Download complete [2024-01-03T02:56:25.161Z] 5851b861e8e6: Verifying Checksum [2024-01-03T02:56:25.161Z] 5851b861e8e6: Download complete [2024-01-03T02:56:25.161Z] b85a868b505f: Verifying Checksum [2024-01-03T02:56:25.161Z] b85a868b505f: Download complete [2024-01-03T02:56:25.420Z] bab4dde63d76: Verifying Checksum [2024-01-03T02:56:25.420Z] bab4dde63d76: Download complete [2024-01-03T02:56:26.362Z] b85a868b505f: Pull complete [2024-01-03T02:56:26.628Z] e2be974225ed: Pull complete [2024-01-03T02:56:26.891Z] 339a4e72a1f5: Pull complete [2024-01-03T02:56:27.152Z] 988bab9f4d93: Pull complete [2024-01-03T02:56:27.411Z] 1469e6f7b9e6: Pull complete [2024-01-03T02:56:27.411Z] eaf3925da568: Pull complete [2024-01-03T02:56:28.790Z] bab4dde63d76: Pull complete [2024-01-03T02:56:29.049Z] bde34c3a00c8: Pull complete [2024-01-03T02:56:29.049Z] b352a97aabf1: Pull complete [2024-01-03T02:56:29.049Z] 4872d77fe225: Pull complete [2024-01-03T02:56:29.308Z] 5851b861e8e6: Pull complete [2024-01-03T02:56:29.308Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-03T02:56:29.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:56:29.308Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:56:29.508Z] prd-ubuntu20.04-docker-8c-8g-26680 does not seem to be running inside a container [2024-01-03T02:56:29.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-03T02:56:33.844Z] $ docker top 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a -eo pid,comm [2024-01-03T02:56:33.897Z] 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-03T02:56:33.897Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-03T02:56:33.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T02:56:33.994Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T02:56:34.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T02:56:34.129Z] $ docker exec 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a ssh-agent [2024-01-03T02:56:34.227Z] SSH_AUTH_SOCK=/tmp/ssh-20lkhc75xT2W/agent.33 [2024-01-03T02:56:34.227Z] SSH_AGENT_PID=39 [2024-01-03T02:56:34.232Z] Running ssh-add (command line suppressed) [2024-01-03T02:56:34.325Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_8729797491630268474.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_8729797491630268474.key) [2024-01-03T02:56:34.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T02:56:34.640Z] + git tag --points-at HEAD [Pipeline] } [2024-01-03T02:56:34.656Z] $ docker exec --env ******** --env ******** 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a ssh-agent -k [2024-01-03T02:56:34.763Z] unset SSH_AUTH_SOCK; [2024-01-03T02:56:34.763Z] unset SSH_AGENT_PID; [2024-01-03T02:56:34.764Z] echo Agent pid 39 killed; [2024-01-03T02:56:34.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-03T02:56:34.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T02:56:34.892Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T02:56:34.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T02:56:35.002Z] $ docker exec 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a ssh-agent [2024-01-03T02:56:35.112Z] SSH_AUTH_SOCK=/tmp/ssh-QR3xuxmIAUbv/agent.71 [2024-01-03T02:56:35.112Z] SSH_AGENT_PID=77 [2024-01-03T02:56:35.116Z] Running ssh-add (command line suppressed) [2024-01-03T02:56:35.210Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_9431277738915003443.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_9431277738915003443.key) [2024-01-03T02:56:35.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T02:56:35.526Z] + git semver init [2024-01-03T02:56:35.785Z] 2024-01-03 02:56:35,728 [run_init] DEBUG init version:0.0.0 force:False [2024-01-03T02:56:35.785Z] 2024-01-03 02:56:35,729 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-03T02:56:35.785Z] 2024-01-03 02:56:35,730 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-03T02:56:35.786Z] 2024-01-03 02:56:35,730 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505, universal_newlines=False, shell=None, istream=None) [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,597 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,598 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 with force:False [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,598 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,602 [execute] INFO git cat-file --batch-check [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,609 [execute] INFO git cat-file --batch [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T02:56:36.724Z] 2024-01-03 02:56:36,615 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T02:56:36.724Z] 0.0.0 [Pipeline] } [2024-01-03T02:56:36.737Z] $ docker exec --env ******** --env ******** 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a ssh-agent -k [2024-01-03T02:56:36.821Z] unset SSH_AUTH_SOCK; [2024-01-03T02:56:36.822Z] unset SSH_AGENT_PID; [2024-01-03T02:56:36.822Z] echo Agent pid 77 killed; [2024-01-03T02:56:36.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-03T02:56:37.193Z] + git semver [Pipeline] } [2024-01-03T02:56:37.469Z] $ docker stop --time=1 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a [2024-01-03T02:56:38.736Z] $ docker rm -f --volumes 566f3ed847995e2f584e1bc50d8a833c87969f82483598c4dcca99fb7874e02a [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-03T02:56:39.096Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-03T02:56:39.345Z] Stashed 1 file(s) [Pipeline] echo [2024-01-03T02:56:39.349Z] [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-03T02:56:39.640Z] provisioning config files... [2024-01-03T02:56:39.650Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config3494516575556445109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:56:39.968Z] ---> ****-login.sh [2024-01-03T02:56:39.968Z] nexus3.edgexfoundry.org:10001 [2024-01-03T02:56:39.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:39.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:39.968Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:39.968Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:39.968Z] [2024-01-03T02:56:39.968Z] Login Succeeded [2024-01-03T02:56:39.968Z] nexus3.edgexfoundry.org:10002 [2024-01-03T02:56:39.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:39.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:39.968Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:39.968Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:39.968Z] [2024-01-03T02:56:39.968Z] Login Succeeded [2024-01-03T02:56:39.968Z] nexus3.edgexfoundry.org:10003 [2024-01-03T02:56:40.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:40.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:40.227Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:40.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:40.227Z] [2024-01-03T02:56:40.227Z] Login Succeeded [2024-01-03T02:56:40.227Z] nexus3.edgexfoundry.org:10004 [2024-01-03T02:56:40.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:40.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:40.228Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:40.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:40.228Z] [2024-01-03T02:56:40.228Z] Login Succeeded [2024-01-03T02:56:40.228Z] ****.io [2024-01-03T02:56:40.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:40.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:40.487Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:40.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:40.487Z] [2024-01-03T02:56:40.488Z] Login Succeeded [2024-01-03T02:56:40.488Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T02:56:40.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T02:56:40.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:56:40.663Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-03T02:56:40.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:56:40.723Z] ========================================================= [2024-01-03T02:56:40.723Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-03T02:56:40.723Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:56:41.092Z] + 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-03T02:56:41.092Z] Sending build context to Docker daemon 4.965MB [2024-01-03T02:56:41.092Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-03T02:56:41.092Z] Step 2/21 : FROM ${BASE} as builder [2024-01-03T02:56:41.092Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-03T02:56:41.092Z] 96526aa774ef: Pulling fs layer [2024-01-03T02:56:41.092Z] da60e534fd72: Pulling fs layer [2024-01-03T02:56:41.351Z] 96526aa774ef: Verifying Checksum [2024-01-03T02:56:41.351Z] 96526aa774ef: Download complete [2024-01-03T02:56:41.351Z] 96526aa774ef: Pull complete [2024-01-03T02:56:42.287Z] da60e534fd72: Verifying Checksum [2024-01-03T02:56:42.287Z] da60e534fd72: Download complete [2024-01-03T02:56:44.816Z] da60e534fd72: Pull complete [2024-01-03T02:56:44.816Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-03T02:56:44.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-03T02:56:44.816Z] ---> 6605166a5db4 [2024-01-03T02:56:44.816Z] 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-03T02:56:48.111Z] ---> Running in 7087885bb9e1 [2024-01-03T02:56:48.371Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-03T02:56:48.942Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:56:48.942Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:56:48.942Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:56:49.201Z] Removing intermediate container 7087885bb9e1 [2024-01-03T02:56:49.201Z] ---> b252f1d64a46 [2024-01-03T02:56:49.201Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:56:49.201Z] ---> Running in e0cd0164dd1d [2024-01-03T02:56:49.769Z] Removing intermediate container e0cd0164dd1d [2024-01-03T02:56:49.769Z] ---> 6b1967f29cea [2024-01-03T02:56:49.769Z] 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-03T02:56:49.769Z] ---> Running in 38879c498372 [2024-01-03T02:56:50.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:56:50.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:56:50.287Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:56:50.855Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:56:50.855Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T02:56:50.855Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:56:50.855Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:56:51.791Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:56:51.791Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:56:51.791Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T02:56:52.051Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:56:52.051Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:56:52.051Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:56:52.051Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:56:52.051Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:56:52.051Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T02:56:52.051Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T02:56:52.051Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T02:56:52.051Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-03T02:56:52.051Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:56:52.051Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:56:52.051Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:56:52.051Z] OK: 336 MiB in 99 packages [2024-01-03T02:56:52.989Z] Removing intermediate container 38879c498372 [2024-01-03T02:56:52.989Z] ---> b843649f5453 [2024-01-03T02:56:52.989Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-03T02:56:52.989Z] ---> Running in c07da5768a20 [2024-01-03T02:56:53.559Z] Removing intermediate container c07da5768a20 [2024-01-03T02:56:53.559Z] ---> 84f573512508 [2024-01-03T02:56:53.559Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-03T02:56:53.559Z] ---> 21b0632181ad [2024-01-03T02:56:53.559Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-03T02:56:53.819Z] ---> 3d95d8094ede [2024-01-03T02:56:53.819Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-03T02:56:53.819Z] ---> f910a1823e4f [2024-01-03T02:56:53.819Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-03T02:56:54.078Z] ---> 0be7194732a5 [2024-01-03T02:56:54.078Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-03T02:56:54.078Z] ---> 1f2a8395d6b6 [2024-01-03T02:56:54.078Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-03T02:56:54.337Z] ---> 5c28796c2726 [2024-01-03T02:56:54.337Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T02:56:54.337Z] ---> Running in 42be4b60eae2 [2024-01-03T02:56:54.543Z] Still waiting to schedule task [2024-01-03T02:56:54.543Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26679’ [2024-01-03T02:56:54.598Z] + CPPCHECK=false [2024-01-03T02:56:54.598Z] + DOCGEN=false [2024-01-03T02:56:54.598Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T02:56:54.598Z] + '[' 0 -gt 0 ] [2024-01-03T02:56:54.598Z] + readlink -f ./scripts/build.sh [2024-01-03T02:56:54.598Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-03T02:56:54.598Z] + dirname /tmp/sdk/scripts [2024-01-03T02:56:54.598Z] + ROOT=/tmp/sdk [2024-01-03T02:56:54.598Z] + cd /tmp/sdk [2024-01-03T02:56:54.598Z] + mkdir -p /tmp/sdk/build/release [2024-01-03T02:56:54.598Z] + cd /tmp/sdk/build/release [2024-01-03T02:56:54.598Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T02:56:54.598Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:56:54.598Z] -- Detecting C compiler ABI info [2024-01-03T02:56:54.856Z] -- Detecting C compiler ABI info - done [2024-01-03T02:56:54.856Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:56:54.856Z] -- Detecting C compile features [2024-01-03T02:56:54.856Z] -- Detecting C compile features - done [2024-01-03T02:56:54.856Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:56:54.856Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:56:54.856Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:56:54.856Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:56:54.856Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:56:54.856Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:56:54.856Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:56:54.856Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:56:54.856Z] -- /opt/iotech/iot/1.5/include [2024-01-03T02:56:54.856Z] -- C SDK 0.0.0 for Linux [2024-01-03T02:56:54.856Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:56:55.115Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:56:55.115Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:56:55.115Z] -- Configuring done (0.5s) [2024-01-03T02:56:55.115Z] -- Generating done (0.0s) [2024-01-03T02:56:55.115Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T02:56:55.115Z] + make all package [2024-01-03T02:56:55.115Z] + tee release.log [2024-01-03T02:56:55.115Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:56:55.374Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:56:55.374Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:56:55.632Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:56:55.632Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:56:55.891Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:56:56.149Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:56:56.149Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T02:56:56.149Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:56:56.149Z] 294 | while (privateConfig) [2024-01-03T02:56:56.149Z] | ^~~~~~~~~~~~~ [2024-01-03T02:56:56.149Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T02:56:56.149Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:56:56.149Z] | ^~~~~~~~~~~~~ [2024-01-03T02:56:56.149Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:56:56.149Z] 271 | while (result) [2024-01-03T02:56:56.149Z] | ^~~~~~ [2024-01-03T02:56:56.149Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T02:56:56.149Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:56:56.149Z] | ^~~~~~ [2024-01-03T02:56:56.149Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:56:56.407Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:56:56.407Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:56:56.668Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:56:56.926Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:56:56.926Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:56:57.185Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:56:57.185Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:56:57.444Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:56:57.444Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:56:57.702Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:56:57.702Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:56:57.961Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:56:57.961Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:56:59.347Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:56:59.347Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:56:59.347Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:56:59.347Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:56:59.347Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:56:59.608Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:56:59.870Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:57:00.129Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:57:00.129Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:57:00.129Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:57:00.388Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:57:00.388Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:57:00.388Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:57:00.388Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:57:00.388Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:57:00.388Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:57:00.388Z] | ^ [2024-01-03T02:57:00.388Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:57:00.388Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T02:57:00.388Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:57:00.388Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T02:57:00.388Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T02:57:00.388Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:57:00.654Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:57:00.654Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:57:00.917Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:57:00.917Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:57:00.917Z] [ 68%] Built target csdk [2024-01-03T02:57:00.917Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:57:01.180Z] [ 72%] Linking C executable template [2024-01-03T02:57:01.180Z] [ 72%] Built target template [2024-01-03T02:57:01.180Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:57:01.180Z] [ 76%] Linking C executable device-counter [2024-01-03T02:57:01.440Z] [ 76%] Built target device-counter [2024-01-03T02:57:01.440Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:57:01.440Z] [ 80%] Linking C executable device-random [2024-01-03T02:57:01.440Z] [ 80%] Built target device-random [2024-01-03T02:57:01.440Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:57:01.701Z] [ 84%] Linking C executable device-gyro [2024-01-03T02:57:01.701Z] [ 84%] Built target device-gyro [2024-01-03T02:57:01.701Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:57:01.701Z] [ 88%] Linking C executable device-bitfields [2024-01-03T02:57:01.960Z] [ 88%] Built target device-bitfields [2024-01-03T02:57:01.960Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:57:01.960Z] [ 92%] Linking C executable template-discovery [2024-01-03T02:57:02.221Z] [ 92%] Built target template-discovery [2024-01-03T02:57:02.221Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:57:02.221Z] [ 96%] Linking C executable device-file [2024-01-03T02:57:02.221Z] [ 96%] Built target device-file [2024-01-03T02:57:02.221Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:57:02.481Z] [100%] Linking C executable device-terminal [2024-01-03T02:57:02.481Z] [100%] Built target device-terminal [2024-01-03T02:57:02.481Z] Run CPack packaging tool... [2024-01-03T02:57:02.481Z] CPack: Create package using TGZ [2024-01-03T02:57:02.481Z] CPack: Install projects [2024-01-03T02:57:02.481Z] CPack: - Run preinstall target for: Csdk [2024-01-03T02:57:02.741Z] CPack: - Install project: Csdk [] [2024-01-03T02:57:02.741Z] CPack: Create package [2024-01-03T02:57:02.741Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T02:57:02.741Z] + '[' false '=' true ] [2024-01-03T02:57:02.741Z] + '[' false '=' true ] [2024-01-03T02:57:02.741Z] + mkdir -p /tmp/sdk/build/debug [2024-01-03T02:57:02.741Z] + cd /tmp/sdk/build/debug [2024-01-03T02:57:02.741Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T02:57:03.001Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:57:03.001Z] -- Detecting C compiler ABI info [2024-01-03T02:57:03.001Z] -- Detecting C compiler ABI info - done [2024-01-03T02:57:03.001Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:57:03.001Z] -- Detecting C compile features [2024-01-03T02:57:03.001Z] -- Detecting C compile features - done [2024-01-03T02:57:03.001Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:57:03.001Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:57:03.001Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:57:03.001Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:57:03.001Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:57:03.001Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:57:03.001Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:57:03.001Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:57:03.001Z] -- /opt/iotech/iot/1.5/include [2024-01-03T02:57:03.001Z] -- C SDK 0.0.0 for Linux [2024-01-03T02:57:03.001Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:57:03.261Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:57:03.261Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:57:03.261Z] -- Configuring done (0.4s) [2024-01-03T02:57:03.261Z] -- Generating done (0.0s) [2024-01-03T02:57:03.261Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T02:57:03.261Z] + make [2024-01-03T02:57:03.261Z] + tee debug.log [2024-01-03T02:57:03.261Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:57:03.261Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:57:03.520Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:57:03.520Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:57:03.520Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:57:03.780Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:57:03.780Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:57:03.780Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:57:03.780Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:57:04.040Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:57:04.040Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:57:04.040Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:57:04.299Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:57:04.299Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:57:04.299Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:57:04.559Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:57:04.559Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:57:04.559Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:57:04.559Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:57:04.819Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:57:04.819Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:57:05.077Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:57:05.077Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:57:05.077Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:57:05.077Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:57:05.337Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:57:05.337Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:57:05.596Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:57:05.596Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:57:05.596Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:57:05.856Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:57:05.856Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:57:05.856Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:57:05.856Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:57:05.856Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:57:05.856Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:57:05.856Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:57:05.856Z] | ^ [2024-01-03T02:57:05.856Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:57:06.115Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:57:06.115Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:57:06.115Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:57:06.115Z] [ 68%] Built target csdk [2024-01-03T02:57:06.115Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:57:06.375Z] [ 72%] Linking C executable template [2024-01-03T02:57:06.375Z] [ 72%] Built target template [2024-01-03T02:57:06.375Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:57:06.375Z] [ 76%] Linking C executable device-counter [2024-01-03T02:57:06.375Z] [ 76%] Built target device-counter [2024-01-03T02:57:06.375Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:57:06.636Z] [ 80%] Linking C executable device-random [2024-01-03T02:57:06.636Z] [ 80%] Built target device-random [2024-01-03T02:57:06.636Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:57:06.636Z] [ 84%] Linking C executable device-gyro [2024-01-03T02:57:06.636Z] [ 84%] Built target device-gyro [2024-01-03T02:57:06.900Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:57:06.900Z] [ 88%] Linking C executable device-bitfields [2024-01-03T02:57:06.900Z] [ 88%] Built target device-bitfields [2024-01-03T02:57:06.900Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:57:06.900Z] [ 92%] Linking C executable template-discovery [2024-01-03T02:57:07.161Z] [ 92%] Built target template-discovery [2024-01-03T02:57:07.161Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:57:07.161Z] [ 96%] Linking C executable device-file [2024-01-03T02:57:07.161Z] [ 96%] Built target device-file [2024-01-03T02:57:07.161Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:57:07.420Z] [100%] Linking C executable device-terminal [2024-01-03T02:57:07.420Z] [100%] Built target device-terminal [2024-01-03T02:57:07.420Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-03T02:57:07.420Z] [ 68%] Built target csdk [2024-01-03T02:57:07.420Z] [ 72%] Built target template [2024-01-03T02:57:07.420Z] [ 76%] Built target device-counter [2024-01-03T02:57:07.420Z] [ 80%] Built target device-random [2024-01-03T02:57:07.420Z] [ 84%] Built target device-gyro [2024-01-03T02:57:07.420Z] [ 88%] Built target device-bitfields [2024-01-03T02:57:07.420Z] [ 92%] Built target template-discovery [2024-01-03T02:57:07.680Z] [ 96%] Built target device-file [2024-01-03T02:57:07.680Z] [100%] Built target device-terminal [2024-01-03T02:57:07.680Z] Install the project... [2024-01-03T02:57:07.680Z] -- Install configuration: "Release" [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T02:57:07.680Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/devsdk [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T02:57:07.680Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T02:57:07.680Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T02:57:08.619Z] Removing intermediate container 42be4b60eae2 [2024-01-03T02:57:08.619Z] ---> 17b9b33d44e9 [2024-01-03T02:57:08.619Z] Step 14/21 : FROM ${BASE} [2024-01-03T02:57:08.619Z] ---> 6605166a5db4 [2024-01-03T02:57:08.619Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-03T02:57:08.619Z] ---> Running in f0fdb5fe91e0 [2024-01-03T02:57:08.619Z] Removing intermediate container f0fdb5fe91e0 [2024-01-03T02:57:08.619Z] ---> 6f66546bff91 [2024-01-03T02:57:08.619Z] 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-03T02:57:08.619Z] ---> Running in d497a7f11c90 [2024-01-03T02:57:08.878Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T02:57:09.138Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:57:09.138Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:57:09.138Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:57:09.397Z] Removing intermediate container d497a7f11c90 [2024-01-03T02:57:09.397Z] ---> abef5c4b7b29 [2024-01-03T02:57:09.397Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:57:09.397Z] ---> Running in e38e3adf95f1 [2024-01-03T02:57:09.966Z] Removing intermediate container e38e3adf95f1 [2024-01-03T02:57:09.966Z] ---> 8b7263f72bb7 [2024-01-03T02:57:09.966Z] 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-03T02:57:09.966Z] ---> Running in ad677517b7cb [2024-01-03T02:57:10.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:10.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:10.744Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:11.311Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:57:11.311Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:57:11.311Z] (2/9) Installing curl (8.5.0-r0) [2024-01-03T02:57:11.311Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:57:11.311Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T02:57:11.311Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:57:11.311Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:57:11.881Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:57:12.141Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T02:57:12.141Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T02:57:12.141Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:57:12.141Z] OK: 331 MiB in 89 packages [2024-01-03T02:57:12.753Z] Removing intermediate container ad677517b7cb [2024-01-03T02:57:12.754Z] ---> dfc658a0cdba [2024-01-03T02:57:12.754Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T02:57:12.754Z] ---> 561587732ded [2024-01-03T02:57:12.754Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T02:57:12.754Z] ---> fc0d7528fefd [2024-01-03T02:57:12.754Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T02:57:13.012Z] ---> 9cd42734249d [2024-01-03T02:57:13.012Z] Successfully built 9cd42734249d [2024-01-03T02:57:13.012Z] 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-03T02:57:13.564Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-03T02:57:13.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:57:13.670Z] prd-ubuntu20.04-docker-8c-8g-26680 does not seem to be running inside a container [2024-01-03T02:57:13.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-03T02:57:14.031Z] $ docker top 934555352d5129e37cfc911b10da78e4740004273878b2ff63b8b5c1b04b2d72 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T02:57:14.422Z] + make test [2024-01-03T02:57:14.422Z] echo "make test" [2024-01-03T02:57:14.422Z] make test [Pipeline] } [2024-01-03T02:57:14.434Z] $ docker stop --time=1 934555352d5129e37cfc911b10da78e4740004273878b2ff63b8b5c1b04b2d72 [2024-01-03T02:57:15.708Z] $ docker rm -f --volumes 934555352d5129e37cfc911b10da78e4740004273878b2ff63b8b5c1b04b2d72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T02:57:16.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T02:57:16.623Z] + ls -al . [2024-01-03T02:57:16.623Z] total 212 [2024-01-03T02:57:16.623Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 02:56 . [2024-01-03T02:57:16.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 .. [2024-01-03T02:57:16.623Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 02:56 .git [2024-01-03T02:57:16.623Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 02:56 .github [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 02:56 .gitignore [2024-01-03T02:57:16.623Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 02:56 .semver [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 02:56 Attribution.txt [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 02:56 CHANGELOG.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 02:56 Doxyfile [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 02:56 GOVERNANCE.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 02:56 Jenkinsfile [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 02:56 LICENSE [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 02:56 Makefile [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 02:56 OWNERS.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 02:56 README.IOT.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 02:56 README.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 02:56 README.v3.md [2024-01-03T02:57:16.623Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 02:56 VERSION [2024-01-03T02:57:16.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:56 docs [2024-01-03T02:57:16.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 include [2024-01-03T02:57:16.623Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:56 scripts [2024-01-03T02:57:16.623Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:57:16.975Z] + 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=4cb9380c29b0a5d10273cccf0d029e999cf1f39e --label arch=amd64 --label version=0.0.0 . [2024-01-03T02:57:16.975Z] Sending build context to Docker daemon 4.965MB [2024-01-03T02:57:16.975Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-03T02:57:16.975Z] Step 2/17 : FROM ${BASE} [2024-01-03T02:57:16.975Z] ---> 9cd42734249d [2024-01-03T02:57:16.975Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-03T02:57:17.234Z] ---> Running in 0834be155224 [2024-01-03T02:57:17.234Z] Removing intermediate container 0834be155224 [2024-01-03T02:57:17.234Z] ---> 1d8c54d431d9 [2024-01-03T02:57:17.234Z] 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-03T02:57:17.234Z] ---> Running in 32651b422f1b [2024-01-03T02:57:17.493Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T02:57:17.752Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:57:17.753Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:57:17.753Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:57:18.321Z] Removing intermediate container 32651b422f1b [2024-01-03T02:57:18.321Z] ---> 4344e9da4c9b [2024-01-03T02:57:18.321Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:57:18.321Z] ---> Running in 48c34d9eb606 [2024-01-03T02:57:18.579Z] Removing intermediate container 48c34d9eb606 [2024-01-03T02:57:18.579Z] ---> 0e153c381e64 [2024-01-03T02:57:18.579Z] 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-03T02:57:18.579Z] ---> Running in 064664cba11b [2024-01-03T02:57:18.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:19.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:19.123Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:57:19.690Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:57:19.690Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:57:19.949Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:57:19.949Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:57:19.949Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:57:19.949Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:57:19.949Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:57:19.949Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T02:57:19.949Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T02:57:19.949Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-03T02:57:19.949Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:57:19.949Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:57:20.291Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:57:20.291Z] OK: 336 MiB in 100 packages [2024-01-03T02:57:20.862Z] Removing intermediate container 064664cba11b [2024-01-03T02:57:20.862Z] ---> e302827b28d3 [2024-01-03T02:57:20.862Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-03T02:57:20.862Z] ---> afbe891d9966 [2024-01-03T02:57:20.862Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-03T02:57:20.862Z] ---> e0a43457bb73 [2024-01-03T02:57:20.862Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-03T02:57:21.121Z] ---> 57f48787a067 [2024-01-03T02:57:21.121Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-03T02:57:21.121Z] ---> 7c398a1abc8e [2024-01-03T02:57:21.121Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-03T02:57:21.381Z] ---> ecf424fa5912 [2024-01-03T02:57:21.381Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T02:57:21.381Z] ---> 8548df37dc5e [2024-01-03T02:57:21.381Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-03T02:57:21.381Z] ---> Running in 9ff587ed26b9 [2024-01-03T02:57:21.639Z] Removing intermediate container 9ff587ed26b9 [2024-01-03T02:57:21.639Z] ---> 03bea1d83e92 [2024-01-03T02:57:21.639Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-03T02:57:21.639Z] ---> Running in 6060dc717efa [2024-01-03T02:57:21.639Z] Removing intermediate container 6060dc717efa [2024-01-03T02:57:21.639Z] ---> 8627d662f00f [2024-01-03T02:57:21.639Z] Step 15/17 : LABEL arch=amd64 [2024-01-03T02:57:21.639Z] ---> Running in fde1b77316bc [2024-01-03T02:57:21.639Z] Removing intermediate container fde1b77316bc [2024-01-03T02:57:21.639Z] ---> c60873b3547f [2024-01-03T02:57:21.639Z] Step 16/17 : LABEL git_sha=4cb9380c29b0a5d10273cccf0d029e999cf1f39e [2024-01-03T02:57:21.639Z] ---> Running in 0bf66f47f171 [2024-01-03T02:57:21.899Z] Removing intermediate container 0bf66f47f171 [2024-01-03T02:57:21.899Z] ---> d93367c4e01d [2024-01-03T02:57:21.899Z] Step 17/17 : LABEL version=0.0.0 [2024-01-03T02:57:21.899Z] ---> Running in 44c4afe1476b [2024-01-03T02:57:21.899Z] Removing intermediate container 44c4afe1476b [2024-01-03T02:57:21.899Z] ---> 6471f2a4eb78 [2024-01-03T02:57:21.899Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-03T02:57:21.899Z] Successfully built 6471f2a4eb78 [2024-01-03T02:57:21.899Z] 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-03T02:57:22.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:57:22.633Z] [2024-01-03T02:57:22.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:57:22.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:57:22.965Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-03T02:57:22.965Z] 5eb5b503b376: Pulling fs layer [2024-01-03T02:57:22.965Z] 5c69ac0246d0: Pulling fs layer [2024-01-03T02:57:22.965Z] ec43610c2a17: Pulling fs layer [2024-01-03T02:57:22.965Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-03T02:57:22.965Z] 33b1e0a273af: Pulling fs layer [2024-01-03T02:57:22.965Z] 5d3b04190fa2: Pulling fs layer [2024-01-03T02:57:22.965Z] 2f39f015ded8: Pulling fs layer [2024-01-03T02:57:22.965Z] 33b1e0a273af: Waiting [2024-01-03T02:57:22.965Z] 5d3b04190fa2: Waiting [2024-01-03T02:57:22.965Z] 2f39f015ded8: Waiting [2024-01-03T02:57:22.965Z] 3a2ae6a8a46f: Waiting [2024-01-03T02:57:22.965Z] 5c69ac0246d0: Download complete [2024-01-03T02:57:22.965Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-03T02:57:22.965Z] 3a2ae6a8a46f: Download complete [2024-01-03T02:57:22.965Z] 33b1e0a273af: Download complete [2024-01-03T02:57:22.965Z] 5d3b04190fa2: Verifying Checksum [2024-01-03T02:57:22.965Z] 5d3b04190fa2: Download complete [2024-01-03T02:57:22.965Z] ec43610c2a17: Verifying Checksum [2024-01-03T02:57:22.965Z] ec43610c2a17: Download complete [2024-01-03T02:57:23.222Z] 5eb5b503b376: Verifying Checksum [2024-01-03T02:57:23.222Z] 5eb5b503b376: Download complete [2024-01-03T02:57:23.789Z] 2f39f015ded8: Download complete [2024-01-03T02:57:24.357Z] 5eb5b503b376: Pull complete [2024-01-03T02:57:24.357Z] 5c69ac0246d0: Pull complete [2024-01-03T02:57:24.924Z] ec43610c2a17: Pull complete [2024-01-03T02:57:24.924Z] 3a2ae6a8a46f: Pull complete [2024-01-03T02:57:25.181Z] 33b1e0a273af: Pull complete [2024-01-03T02:57:25.181Z] 5d3b04190fa2: Pull complete [2024-01-03T02:57:29.364Z] 2f39f015ded8: Pull complete [2024-01-03T02:57:29.364Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-03T02:57:29.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:57:29.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:57:29.547Z] prd-ubuntu20.04-docker-8c-8g-26680 does not seem to be running inside a container [2024-01-03T02:57:29.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-03T02:57:35.844Z] $ docker top b9166bafe97d460892ab5d5ed08d77b89bde8dd430be104d784d61986bfa9310 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:57:36.261Z] ---> job-cost.sh [2024-01-03T02:57:36.261Z] lf-activate-venv: SKIPPING [2024-01-03T02:57:36.261Z] INFO: No Stack... [2024-01-03T02:57:36.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T02:57:37.400Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T02:57:37.690Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv [2024-01-03T02:57:37.690Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T02:57:37.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [2024-01-03T02:57:37.714Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] did not exist. Created. [2024-01-03T02:57:37.714Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T02:57:38.066Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T02:57:38.161Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T02:57:38.168Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T02:57:38.231Z] $ docker stop --time=1 b9166bafe97d460892ab5d5ed08d77b89bde8dd430be104d784d61986bfa9310 [2024-01-03T02:57:39.396Z] $ docker rm -f --volumes b9166bafe97d460892ab5d5ed08d77b89bde8dd430be104d784d61986bfa9310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-03T03:00:02.024Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26681 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws [2024-01-03T03:00:02.066Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2024-01-03T03:00:02.130Z] Selected Git installation does not exist. Using Default [2024-01-03T03:00:02.130Z] The recommended git tool is: NONE [2024-01-03T03:00:08.555Z] using credential edgex-jenkins-ssh [2024-01-03T03:00:08.575Z] Cloning the remote Git repository [2024-01-03T03:00:08.616Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T03:00:08.700Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2024-01-03T03:00:08.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T03:00:08.840Z] > git --version # timeout=10 [2024-01-03T03:00:08.857Z] > git --version # 'git version 2.25.1' [2024-01-03T03:00:08.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T03:00:08.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T03:00:10.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T03:00:10.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T03:00:11.171Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T03:00:11.206Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T03:00:11.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T03:00:11.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-03T03:00:11.879Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [2024-01-03T03:00:12.188Z] Merge succeeded, producing 4cb9380c29b0a5d10273cccf0d029e999cf1f39e [2024-01-03T03:00:12.188Z] Checking out Revision 4cb9380c29b0a5d10273cccf0d029e999cf1f39e (PR-505) [2024-01-03T03:00:11.892Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T03:00:11.968Z] > git checkout -f 4cb9380c29b0a5d10273cccf0d029e999cf1f39e # timeout=10 [2024-01-03T03:00:12.086Z] > git remote # timeout=10 [2024-01-03T03:00:12.104Z] > git config --get remote.origin.url # timeout=10 [2024-01-03T03:00:12.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T03:00:12.139Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-03T03:00:12.163Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-03T03:00:12.191Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T03:00:12.205Z] > git checkout -f 4cb9380c29b0a5d10273cccf0d029e999cf1f39e # timeout=10 [2024-01-03T03:00:15.839Z] Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T03:00:19.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-03T03:00:19.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-03T03:00:19.475Z] Dload Upload Total Spent Left Speed [2024-01-03T03:00:19.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 213k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2024-01-03T03:00:19.812Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-03T03:00:20.146Z] + sudo tee /etc/docker/daemon.new [2024-01-03T03:00:20.146Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-03T03:00:20.146Z] { [2024-01-03T03:00:20.146Z] "registry-mirrors": [ [2024-01-03T03:00:20.146Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-03T03:00:20.146Z] ], [2024-01-03T03:00:20.146Z] "bip": "10.250.0.254/24", [2024-01-03T03:00:20.146Z] "hosts": [ [2024-01-03T03:00:20.146Z] "tcp://0.0.0.0:5555", [2024-01-03T03:00:20.146Z] "unix:///var/run/docker.sock" [2024-01-03T03:00:20.146Z] ], [2024-01-03T03:00:20.146Z] "mtu": 1458, [2024-01-03T03:00:20.146Z] "selinux-enabled": true, [2024-01-03T03:00:20.146Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-03T03:00:20.146Z] } [Pipeline] sh [2024-01-03T03:00:20.474Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-03T03:00:20.836Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T03:00:39.151Z] provisioning config files... [2024-01-03T03:00:39.174Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config16261630405294541815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:00:39.671Z] ---> ****-login.sh [2024-01-03T03:00:39.671Z] nexus3.edgexfoundry.org:10001 [2024-01-03T03:00:39.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T03:00:40.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T03:00:40.211Z] Configure a credential helper to remove this warning. See [2024-01-03T03:00:40.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T03:00:40.211Z] [2024-01-03T03:00:40.211Z] Login Succeeded [2024-01-03T03:00:40.211Z] nexus3.edgexfoundry.org:10002 [2024-01-03T03:00:40.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T03:00:40.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T03:00:40.479Z] Configure a credential helper to remove this warning. See [2024-01-03T03:00:40.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T03:00:40.479Z] [2024-01-03T03:00:40.479Z] Login Succeeded [2024-01-03T03:00:40.479Z] nexus3.edgexfoundry.org:10003 [2024-01-03T03:00:40.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T03:00:40.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T03:00:40.747Z] Configure a credential helper to remove this warning. See [2024-01-03T03:00:40.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T03:00:40.747Z] [2024-01-03T03:00:40.747Z] Login Succeeded [2024-01-03T03:00:40.747Z] nexus3.edgexfoundry.org:10004 [2024-01-03T03:00:41.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T03:00:41.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T03:00:41.017Z] Configure a credential helper to remove this warning. See [2024-01-03T03:00:41.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T03:00:41.017Z] [2024-01-03T03:00:41.017Z] Login Succeeded [2024-01-03T03:00:41.017Z] ****.io [2024-01-03T03:00:41.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T03:00:41.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T03:00:41.553Z] Configure a credential helper to remove this warning. See [2024-01-03T03:00:41.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T03:00:41.553Z] [2024-01-03T03:00:41.553Z] Login Succeeded [2024-01-03T03:00:41.553Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T03:00:41.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T03:00:41.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T03:00:41.964Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-03T03:00:42.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T03:00:42.045Z] ========================================================= [2024-01-03T03:00:42.045Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-03T03:00:42.045Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T03:00:42.464Z] + 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-03T03:00:43.428Z] #0 building with "default" instance using docker driver [2024-01-03T03:00:43.428Z] [2024-01-03T03:00:43.428Z] #1 [internal] load .dockerignore [2024-01-03T03:00:43.428Z] #1 transferring context: 2B done [2024-01-03T03:00:43.428Z] #1 DONE 0.1s [2024-01-03T03:00:43.428Z] [2024-01-03T03:00:43.428Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-03T03:00:43.428Z] #2 transferring dockerfile: 2.04kB 0.0s done [2024-01-03T03:00:43.428Z] #2 DONE 0.1s [2024-01-03T03:00:43.428Z] [2024-01-03T03:00:43.428Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-03T03:00:43.708Z] #3 DONE 0.1s [2024-01-03T03:00:43.708Z] [2024-01-03T03:00:43.708Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T03:00:43.708Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-03T03:00:43.977Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-03T03:00:43.977Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-03T03:00:43.977Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-03T03:00:43.977Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.12MB / 3.33MB 0.1s [2024-01-03T03:00:43.977Z] #4 ... [2024-01-03T03:00:43.977Z] [2024-01-03T03:00:43.977Z] #5 [internal] load build context [2024-01-03T03:00:43.977Z] #5 transferring context: 628.08kB 0.2s done [2024-01-03T03:00:43.977Z] #5 DONE 0.2s [2024-01-03T03:00:43.977Z] [2024-01-03T03:00:43.977Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T03:00:43.977Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-03T03:00:43.977Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-03T03:00:44.246Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.63MB / 109.51MB 0.4s [2024-01-03T03:00:44.246Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 24.93MB / 109.51MB 0.6s [2024-01-03T03:00:44.246Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-03T03:00:44.514Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 35.65MB / 109.51MB 0.8s [2024-01-03T03:00:44.785Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 41.94MB / 109.51MB 0.9s [2024-01-03T03:00:44.785Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 55.57MB / 109.51MB 1.1s [2024-01-03T03:00:45.052Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 62.91MB / 109.51MB 1.2s [2024-01-03T03:00:45.052Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 69.21MB / 109.51MB 1.3s [2024-01-03T03:00:45.319Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 75.98MB / 109.51MB 1.4s [2024-01-03T03:00:45.319Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 89.13MB / 109.51MB 1.6s [2024-01-03T03:00:45.586Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 95.42MB / 109.51MB 1.7s [2024-01-03T03:00:45.586Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 102.76MB / 109.51MB 1.8s [2024-01-03T03:00:45.586Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 1.9s [2024-01-03T03:00:48.933Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-03T03:00:48.933Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 4.7s done [2024-01-03T03:00:54.285Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-03T03:01:00.945Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.8s [2024-01-03T03:01:01.912Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.0s done [2024-01-03T03:01:02.502Z] #4 DONE 18.8s [2024-01-03T03:01:02.502Z] [2024-01-03T03:01:02.502Z] #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-03T03:01:03.460Z] #6 0.711 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T03:01:03.727Z] #6 1.240 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T03:01:03.727Z] #6 1.240 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T03:01:03.727Z] #6 1.240 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T03:01:04.688Z] #6 DONE 2.0s [2024-01-03T03:01:04.688Z] [2024-01-03T03:01:04.688Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T03:01:05.655Z] #7 DONE 0.7s [2024-01-03T03:01:05.655Z] [2024-01-03T03:01:05.655Z] #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-03T03:01:06.238Z] #8 0.926 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:06.505Z] #8 1.322 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:07.089Z] #8 1.900 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:08.052Z] #8 2.763 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T03:01:08.320Z] #8 2.791 (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T03:01:08.320Z] #8 2.806 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T03:01:08.320Z] #8 2.832 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T03:01:08.901Z] #8 3.625 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T03:01:09.171Z] #8 3.748 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T03:01:09.443Z] #8 4.050 (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T03:01:09.443Z] #8 4.074 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T03:01:09.443Z] #8 4.092 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T03:01:09.443Z] #8 4.098 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T03:01:09.443Z] #8 4.105 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T03:01:09.443Z] #8 4.143 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T03:01:09.443Z] #8 4.178 (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.200 (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.210 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.230 (15/17) Installing libmount (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.252 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.266 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T03:01:09.718Z] #8 4.365 Executing busybox-1.36.1-r4.trigger [2024-01-03T03:01:09.718Z] #8 4.408 OK: 333 MiB in 99 packages [2024-01-03T03:01:09.987Z] #8 ... [2024-01-03T03:01:09.987Z] [2024-01-03T03:01:09.988Z] #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-03T03:01:09.988Z] #9 0.924 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:09.988Z] #9 1.328 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:09.988Z] #9 1.908 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:01:09.988Z] #9 2.817 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T03:01:09.988Z] #9 2.844 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T03:01:09.988Z] #9 2.905 (2/9) Installing curl (8.5.0-r0) [2024-01-03T03:01:09.988Z] #9 2.919 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T03:01:09.988Z] #9 2.942 (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T03:01:09.988Z] #9 2.948 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T03:01:09.988Z] #9 2.981 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T03:01:09.988Z] #9 3.765 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T03:01:09.988Z] #9 4.065 (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T03:01:09.988Z] #9 4.076 (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T03:01:09.988Z] #9 4.086 Executing busybox-1.36.1-r4.trigger [2024-01-03T03:01:09.988Z] #9 4.133 OK: 327 MiB in 89 packages [2024-01-03T03:01:09.988Z] #9 DONE 4.5s [2024-01-03T03:01:09.988Z] [2024-01-03T03:01:09.988Z] #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-03T03:01:09.988Z] #8 DONE 4.7s [2024-01-03T03:01:09.988Z] [2024-01-03T03:01:09.988Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-03T03:01:10.955Z] #10 DONE 0.8s [2024-01-03T03:01:10.955Z] [2024-01-03T03:01:10.955Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-03T03:01:10.955Z] #11 DONE 0.1s [2024-01-03T03:01:10.955Z] [2024-01-03T03:01:10.955Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-03T03:01:10.955Z] #12 DONE 0.2s [2024-01-03T03:01:10.955Z] [2024-01-03T03:01:10.955Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-03T03:01:11.222Z] #13 DONE 0.1s [2024-01-03T03:01:11.222Z] [2024-01-03T03:01:11.222Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-03T03:01:11.222Z] #14 DONE 0.1s [2024-01-03T03:01:11.222Z] [2024-01-03T03:01:11.222Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-03T03:01:11.222Z] #15 DONE 0.1s [2024-01-03T03:01:11.489Z] [2024-01-03T03:01:11.489Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-03T03:01:11.489Z] #16 DONE 0.1s [2024-01-03T03:01:11.489Z] [2024-01-03T03:01:11.489Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T03:01:12.080Z] #17 0.567 + CPPCHECK=false [2024-01-03T03:01:12.080Z] #17 0.567 + DOCGEN=false [2024-01-03T03:01:12.080Z] #17 0.567 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T03:01:12.080Z] #17 0.567 + '[' 0 -gt 0 ] [2024-01-03T03:01:12.080Z] #17 0.569 + readlink -f ./scripts/build.sh [2024-01-03T03:01:12.080Z] #17 0.571 + dirname /tmp/sdk/scripts/build.sh [2024-01-03T03:01:12.080Z] #17 0.573 + dirname /tmp/sdk/scripts [2024-01-03T03:01:12.080Z] #17 0.575 + ROOT=/tmp/sdk [2024-01-03T03:01:12.080Z] #17 0.575 + cd /tmp/sdk [2024-01-03T03:01:12.080Z] #17 0.575 + mkdir -p /tmp/sdk/build/release [2024-01-03T03:01:12.080Z] #17 0.579 + cd /tmp/sdk/build/release [2024-01-03T03:01:12.080Z] #17 0.579 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T03:01:12.349Z] #17 0.903 -- The C compiler identification is GNU 12.2.1 [2024-01-03T03:01:12.618Z] #17 0.969 -- Detecting C compiler ABI info [2024-01-03T03:01:12.888Z] #17 1.319 -- Detecting C compiler ABI info - done [2024-01-03T03:01:12.888Z] #17 1.403 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T03:01:12.888Z] #17 1.405 -- Detecting C compile features [2024-01-03T03:01:12.888Z] #17 1.408 -- Detecting C compile features - done [2024-01-03T03:01:12.888Z] #17 1.432 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T03:01:13.157Z] #17 1.618 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T03:01:13.157Z] #17 1.635 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T03:01:13.157Z] #17 1.650 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T03:01:13.157Z] #17 1.665 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T03:01:13.157Z] #17 1.680 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T03:01:13.157Z] #17 1.695 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T03:01:13.157Z] #17 1.710 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T03:01:13.157Z] #17 1.711 -- /opt/iotech/iot/1.5/include [2024-01-03T03:01:13.157Z] #17 1.711 -- C SDK 0.0.0 for Linux [2024-01-03T03:01:13.157Z] #17 1.723 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T03:01:13.428Z] #17 2.052 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T03:01:13.698Z] #17 2.218 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T03:01:13.698Z] #17 2.323 -- Configuring done (1.7s) [2024-01-03T03:01:13.967Z] #17 2.572 -- Generating done (0.2s) [2024-01-03T03:01:13.967Z] #17 2.590 -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T03:01:14.235Z] #17 2.610 + make all package [2024-01-03T03:01:14.235Z] #17 2.610 + tee release.log [2024-01-03T03:01:14.235Z] #17 2.736 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T03:01:14.823Z] #17 3.393 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T03:01:15.784Z] #17 4.237 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T03:01:16.366Z] #17 4.934 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T03:01:17.325Z] #17 5.707 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T03:01:17.908Z] #17 6.293 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T03:01:19.846Z] #17 8.220 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T03:01:20.809Z] #17 9.006 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T03:01:20.809Z] #17 9.007 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T03:01:20.809Z] #17 9.007 294 | while (privateConfig) [2024-01-03T03:01:20.809Z] #17 9.007 | ^~~~~~~~~~~~~ [2024-01-03T03:01:20.809Z] #17 9.007 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T03:01:20.809Z] #17 9.007 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T03:01:20.809Z] #17 9.007 | ^~~~~~~~~~~~~ [2024-01-03T03:01:20.809Z] #17 9.008 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T03:01:20.809Z] #17 9.008 271 | while (result) [2024-01-03T03:01:20.809Z] #17 9.008 | ^~~~~~ [2024-01-03T03:01:20.809Z] #17 9.008 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T03:01:20.809Z] #17 9.008 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T03:01:20.809Z] #17 9.008 | ^~~~~~ [2024-01-03T03:01:20.809Z] #17 9.325 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T03:01:21.075Z] #17 9.538 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T03:01:22.029Z] #17 10.37 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T03:01:23.965Z] #17 12.16 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T03:01:24.231Z] #17 12.73 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T03:01:25.192Z] #17 13.53 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T03:01:26.154Z] #17 14.43 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T03:01:26.422Z] #17 15.02 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T03:01:27.383Z] #17 15.99 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T03:01:27.649Z] #17 16.29 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T03:01:29.591Z] #17 18.24 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T03:01:30.176Z] #17 18.58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T03:01:30.762Z] #17 19.14 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T03:01:32.170Z] #17 20.38 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T03:01:38.812Z] #17 26.71 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T03:01:38.812Z] #17 27.31 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T03:01:39.079Z] #17 27.70 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T03:01:39.666Z] #17 28.23 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T03:01:39.946Z] #17 28.54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T03:01:41.354Z] #17 29.92 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T03:01:43.937Z] #17 32.06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T03:01:44.204Z] #17 32.51 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T03:01:46.387Z] #17 33.38 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T03:01:46.387Z] #17 33.97 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T03:01:46.387Z] #17 34.25 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T03:01:46.387Z] #17 34.25 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T03:01:46.387Z] #17 34.25 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T03:01:46.387Z] #17 34.25 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T03:01:46.387Z] #17 34.25 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T03:01:46.387Z] #17 34.25 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T03:01:46.387Z] #17 34.25 | ^ [2024-01-03T03:01:47.349Z] #17 35.78 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T03:01:47.349Z] #17 35.78 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T03:01:47.349Z] #17 35.78 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T03:01:47.349Z] #17 35.78 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T03:01:47.349Z] #17 35.78 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T03:01:47.349Z] #17 35.78 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T03:01:48.309Z] #17 36.83 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T03:01:49.267Z] #17 37.65 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T03:01:49.534Z] #17 37.99 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T03:01:50.122Z] #17 38.49 [ 68%] Linking C shared library libcsdk.so [2024-01-03T03:01:50.122Z] #17 38.70 [ 68%] Built target csdk [2024-01-03T03:01:50.387Z] #17 38.75 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T03:01:50.971Z] #17 39.56 [ 72%] Linking C executable template [2024-01-03T03:01:51.563Z] #17 39.87 [ 72%] Built target template [2024-01-03T03:01:51.563Z] #17 39.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T03:01:51.833Z] #17 40.45 [ 76%] Linking C executable device-counter [2024-01-03T03:01:52.421Z] #17 40.75 [ 76%] Built target device-counter [2024-01-03T03:01:52.421Z] #17 40.81 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T03:01:52.687Z] #17 41.32 [ 80%] Linking C executable device-random [2024-01-03T03:01:55.198Z] #17 41.63 [ 80%] Built target device-random [2024-01-03T03:01:55.198Z] #17 41.69 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T03:01:55.198Z] #17 42.14 [ 84%] Linking C executable device-gyro [2024-01-03T03:01:55.198Z] #17 42.44 [ 84%] Built target device-gyro [2024-01-03T03:01:55.198Z] #17 42.49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T03:01:55.198Z] #17 42.97 [ 88%] Linking C executable device-bitfields [2024-01-03T03:01:55.198Z] #17 43.28 [ 88%] Built target device-bitfields [2024-01-03T03:01:55.198Z] #17 43.34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T03:01:55.465Z] #17 44.13 [ 92%] Linking C executable template-discovery [2024-01-03T03:01:56.048Z] #17 44.43 [ 92%] Built target template-discovery [2024-01-03T03:01:56.048Z] #17 44.49 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T03:01:56.640Z] #17 45.18 [ 96%] Linking C executable device-file [2024-01-03T03:01:56.908Z] #17 45.48 [ 96%] Built target device-file [2024-01-03T03:01:57.175Z] #17 45.53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T03:01:57.756Z] #17 46.18 [100%] Linking C executable device-terminal [2024-01-03T03:01:58.025Z] #17 46.60 [100%] Built target device-terminal [2024-01-03T03:01:58.025Z] #17 46.66 Run CPack packaging tool... [2024-01-03T03:01:58.308Z] #17 46.71 CPack: Create package using TGZ [2024-01-03T03:01:58.308Z] #17 46.71 CPack: Install projects [2024-01-03T03:01:58.308Z] #17 46.71 CPack: - Run preinstall target for: Csdk [2024-01-03T03:01:58.891Z] #17 47.56 CPack: - Install project: Csdk [] [2024-01-03T03:01:59.157Z] #17 47.60 CPack: Create package [2024-01-03T03:01:59.157Z] #17 47.69 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T03:01:59.157Z] #17 47.69 + '[' false '=' true ] [2024-01-03T03:01:59.157Z] #17 47.69 + '[' false '=' true ] [2024-01-03T03:01:59.157Z] #17 47.69 + mkdir -p /tmp/sdk/build/debug [2024-01-03T03:01:59.157Z] #17 47.70 + cd /tmp/sdk/build/debug [2024-01-03T03:01:59.157Z] #17 47.70 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T03:02:01.101Z] #17 49.20 -- The C compiler identification is GNU 12.2.1 [2024-01-03T03:02:01.101Z] #17 49.26 -- Detecting C compiler ABI info [2024-01-03T03:02:01.101Z] #17 49.61 -- Detecting C compiler ABI info - done [2024-01-03T03:02:01.101Z] #17 49.69 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T03:02:01.101Z] #17 49.69 -- Detecting C compile features [2024-01-03T03:02:01.101Z] #17 49.70 -- Detecting C compile features - done [2024-01-03T03:02:01.101Z] #17 49.72 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T03:02:01.366Z] #17 49.91 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T03:02:01.366Z] #17 49.92 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T03:02:01.366Z] #17 49.94 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T03:02:01.366Z] #17 49.95 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T03:02:01.366Z] #17 49.97 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T03:02:01.366Z] #17 49.99 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T03:02:01.634Z] #17 50.00 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T03:02:01.634Z] #17 50.00 -- /opt/iotech/iot/1.5/include [2024-01-03T03:02:01.634Z] #17 50.00 -- C SDK 0.0.0 for Linux [2024-01-03T03:02:01.634Z] #17 50.02 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T03:02:01.899Z] #17 50.36 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T03:02:01.899Z] #17 50.51 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T03:02:02.165Z] #17 50.63 -- Configuring done (2.9s) [2024-01-03T03:02:02.442Z] #17 50.89 -- Generating done (0.2s) [2024-01-03T03:02:02.442Z] #17 50.91 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T03:02:02.442Z] #17 50.94 + make [2024-01-03T03:02:02.442Z] #17 50.94 + tee debug.log [2024-01-03T03:02:02.707Z] #17 51.05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T03:02:02.975Z] #17 51.44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T03:02:03.559Z] #17 51.81 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T03:02:03.825Z] #17 52.16 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T03:02:04.092Z] #17 52.52 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T03:02:04.358Z] #17 52.87 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T03:02:04.939Z] #17 53.50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T03:02:05.524Z] #17 53.94 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T03:02:05.524Z] #17 54.10 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T03:02:06.124Z] #17 54.50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T03:02:06.708Z] #17 55.11 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T03:02:06.975Z] #17 55.43 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T03:02:07.560Z] #17 55.85 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T03:02:07.828Z] #17 56.20 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T03:02:08.096Z] #17 56.53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T03:02:08.362Z] #17 56.88 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T03:02:08.628Z] #17 57.10 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T03:02:09.591Z] #17 57.82 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T03:02:09.591Z] #17 58.06 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T03:02:09.857Z] #17 58.27 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T03:02:10.439Z] #17 58.89 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T03:02:11.393Z] #17 60.00 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T03:02:11.977Z] #17 60.35 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T03:02:12.245Z] #17 60.61 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T03:02:12.512Z] #17 60.93 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T03:02:12.780Z] #17 61.21 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T03:02:13.364Z] #17 61.72 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T03:02:14.322Z] #17 62.98 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T03:02:14.589Z] #17 63.26 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T03:02:15.199Z] #17 63.63 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T03:02:15.467Z] #17 64.00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T03:02:15.733Z] #17 64.26 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T03:02:15.733Z] #17 64.26 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T03:02:15.733Z] #17 64.26 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T03:02:15.733Z] #17 64.26 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T03:02:15.733Z] #17 64.26 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T03:02:15.733Z] #17 64.26 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T03:02:15.733Z] #17 64.26 | ^ [2024-01-03T03:02:16.311Z] #17 64.79 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T03:02:16.575Z] #17 65.14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T03:02:16.840Z] #17 65.42 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T03:02:17.108Z] #17 65.70 [ 68%] Linking C shared library libcsdk.so [2024-01-03T03:02:17.375Z] #17 65.94 [ 68%] Built target csdk [2024-01-03T03:02:17.375Z] #17 65.99 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T03:02:17.960Z] #17 66.33 [ 72%] Linking C executable template [2024-01-03T03:02:18.227Z] #17 66.65 [ 72%] Built target template [2024-01-03T03:02:18.227Z] #17 66.70 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T03:02:18.493Z] #17 66.98 [ 76%] Linking C executable device-counter [2024-01-03T03:02:18.758Z] #17 67.29 [ 76%] Built target device-counter [2024-01-03T03:02:18.758Z] #17 67.35 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T03:02:19.341Z] #17 67.63 [ 80%] Linking C executable device-random [2024-01-03T03:02:19.610Z] #17 67.92 [ 80%] Built target device-random [2024-01-03T03:02:19.610Z] #17 67.97 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T03:02:19.885Z] #17 68.24 [ 84%] Linking C executable device-gyro [2024-01-03T03:02:20.155Z] #17 68.54 [ 84%] Built target device-gyro [2024-01-03T03:02:20.155Z] #17 68.59 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T03:02:20.423Z] #17 68.88 [ 88%] Linking C executable device-bitfields [2024-01-03T03:02:20.690Z] #17 69.19 [ 88%] Built target device-bitfields [2024-01-03T03:02:20.690Z] #17 69.24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T03:02:20.955Z] #17 69.58 [ 92%] Linking C executable template-discovery [2024-01-03T03:02:21.539Z] #17 69.89 [ 92%] Built target template-discovery [2024-01-03T03:02:21.539Z] #17 69.94 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T03:02:21.815Z] #17 70.26 [ 96%] Linking C executable device-file [2024-01-03T03:02:22.082Z] #17 70.57 [ 96%] Built target device-file [2024-01-03T03:02:22.082Z] #17 70.62 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T03:02:22.668Z] #17 71.01 [100%] Linking C executable device-terminal [2024-01-03T03:02:22.668Z] #17 71.35 [100%] Built target device-terminal [2024-01-03T03:02:22.938Z] #17 71.39 make: Entering directory '/tmp/sdk/build/release' [2024-01-03T03:02:23.205Z] #17 71.53 [ 68%] Built target csdk [2024-01-03T03:02:23.205Z] #17 71.59 [ 72%] Built target template [2024-01-03T03:02:23.205Z] #17 71.65 [ 76%] Built target device-counter [2024-01-03T03:02:23.205Z] #17 71.70 [ 80%] Built target device-random [2024-01-03T03:02:23.205Z] #17 71.75 [ 84%] Built target device-gyro [2024-01-03T03:02:23.205Z] #17 71.80 [ 88%] Built target device-bitfields [2024-01-03T03:02:23.205Z] #17 71.86 [ 92%] Built target template-discovery [2024-01-03T03:02:23.473Z] #17 71.91 [ 96%] Built target device-file [2024-01-03T03:02:23.473Z] #17 71.97 [100%] Built target device-terminal [2024-01-03T03:02:23.473Z] #17 72.02 Install the project... [2024-01-03T03:02:23.473Z] #17 72.04 -- Install configuration: "Release" [2024-01-03T03:02:23.473Z] #17 72.04 -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T03:02:23.473Z] #17 72.05 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T03:02:23.473Z] #17 72.05 -- Installing: /usr/local/include [2024-01-03T03:02:23.473Z] #17 72.05 -- Installing: /usr/local/include/devsdk [2024-01-03T03:02:23.473Z] #17 72.05 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T03:02:23.473Z] #17 72.05 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T03:02:23.473Z] #17 72.06 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T03:02:23.473Z] #17 72.07 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T03:02:23.473Z] #17 72.07 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T03:02:23.742Z] #17 72.08 make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T03:02:23.742Z] #17 DONE 72.2s [2024-01-03T03:02:23.742Z] [2024-01-03T03:02:23.742Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T03:02:23.742Z] #18 DONE 0.1s [2024-01-03T03:02:24.010Z] [2024-01-03T03:02:24.010Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T03:02:24.010Z] #19 DONE 0.1s [2024-01-03T03:02:24.010Z] [2024-01-03T03:02:24.010Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T03:02:24.010Z] #20 DONE 0.1s [2024-01-03T03:02:24.010Z] [2024-01-03T03:02:24.010Z] #21 exporting to image [2024-01-03T03:02:24.010Z] #21 exporting layers [2024-01-03T03:02:24.276Z] #21 exporting layers 0.2s done [2024-01-03T03:02:24.276Z] #21 writing image sha256:600edd8b167260776e9a5c43fa0a251ed74e973f908daa88460688dcd514da1e done [2024-01-03T03:02:24.276Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2024-01-03T03:02:24.276Z] #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-03T03:02:24.971Z] + docker inspect -f . ci-base-image-arm64 [2024-01-03T03:02:24.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T03:02:25.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-26681 does not seem to be running inside a container [2024-01-03T03:02:25.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-03T03:02:26.246Z] $ docker top 2fc190d45c31ebc5ed9c9bfb2c1ff10104f8d5695c62145c545208fd76300e2a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T03:02:27.081Z] + make test [2024-01-03T03:02:27.081Z] echo "make test" [2024-01-03T03:02:27.081Z] make test [Pipeline] } [2024-01-03T03:02:27.096Z] $ docker stop --time=1 2fc190d45c31ebc5ed9c9bfb2c1ff10104f8d5695c62145c545208fd76300e2a [2024-01-03T03:02:32.005Z] $ docker rm -f --volumes 2fc190d45c31ebc5ed9c9bfb2c1ff10104f8d5695c62145c545208fd76300e2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T03:02:32.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T03:02:33.070Z] + ls -al . [2024-01-03T03:02:33.070Z] total 208 [2024-01-03T03:02:33.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 03:00 . [2024-01-03T03:02:33.070Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 03:00 .. [2024-01-03T03:02:33.070Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 03:00 .git [2024-01-03T03:02:33.070Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 03:00 .github [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 03:00 .gitignore [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 03:00 Attribution.txt [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 03:00 CHANGELOG.md [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 03:00 Doxyfile [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 03:00 GOVERNANCE.md [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 03:00 Jenkinsfile [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 03:00 LICENSE [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 03:00 Makefile [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 03:00 OWNERS.md [2024-01-03T03:02:33.070Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 03:00 README.IOT.md [2024-01-03T03:02:33.071Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 03:00 README.md [2024-01-03T03:02:33.071Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 03:00 README.v3.md [2024-01-03T03:02:33.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 02:56 VERSION [2024-01-03T03:02:33.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 03:00 docs [2024-01-03T03:02:33.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 03:00 include [2024-01-03T03:02:33.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 03:00 scripts [2024-01-03T03:02:33.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 03:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T03:02:33.469Z] + 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=4cb9380c29b0a5d10273cccf0d029e999cf1f39e --label arch=arm64 --label version=0.0.0 . [2024-01-03T03:02:34.053Z] #0 building with "default" instance using docker driver [2024-01-03T03:02:34.053Z] [2024-01-03T03:02:34.053Z] #1 [internal] load .dockerignore [2024-01-03T03:02:34.053Z] #1 transferring context: 2B done [2024-01-03T03:02:34.053Z] #1 DONE 0.0s [2024-01-03T03:02:34.053Z] [2024-01-03T03:02:34.053Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-03T03:02:34.053Z] #2 transferring dockerfile: 1.44kB done [2024-01-03T03:02:34.053Z] #2 DONE 0.0s [2024-01-03T03:02:34.053Z] [2024-01-03T03:02:34.053Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-03T03:02:34.053Z] #3 DONE 0.0s [2024-01-03T03:02:34.053Z] [2024-01-03T03:02:34.053Z] #4 [internal] load build context [2024-01-03T03:02:34.053Z] #4 transferring context: 8.55kB 0.1s done [2024-01-03T03:02:34.329Z] #4 DONE 0.1s [2024-01-03T03:02:34.329Z] [2024-01-03T03:02:34.329Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-03T03:02:34.329Z] #5 DONE 0.1s [2024-01-03T03:02:34.329Z] [2024-01-03T03:02:34.329Z] #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-03T03:02:34.913Z] #6 0.632 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T03:02:35.494Z] #6 1.148 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T03:02:35.494Z] #6 1.148 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T03:02:35.494Z] #6 1.149 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T03:02:35.494Z] #6 DONE 1.2s [2024-01-03T03:02:35.494Z] [2024-01-03T03:02:35.494Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T03:02:36.076Z] #7 DONE 0.7s [2024-01-03T03:02:36.345Z] [2024-01-03T03:02:36.345Z] #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-03T03:02:36.931Z] #8 0.722 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:02:37.884Z] #8 1.652 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T03:02:38.467Z] #8 2.216 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T03:02:39.427Z] #8 3.077 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T03:02:39.427Z] #8 3.114 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T03:02:39.693Z] #8 3.410 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T03:02:39.693Z] #8 3.426 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T03:02:39.693Z] #8 3.433 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T03:02:39.693Z] #8 3.438 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T03:02:39.693Z] #8 3.447 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T03:02:39.693Z] #8 3.474 (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T03:02:39.693Z] #8 3.497 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T03:02:39.961Z] #8 3.516 (9/11) Installing libmount (2.38.1-r8) [2024-01-03T03:02:39.961Z] #8 3.554 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T03:02:39.961Z] #8 3.567 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T03:02:39.961Z] #8 3.645 Executing busybox-1.36.1-r4.trigger [2024-01-03T03:02:39.961Z] #8 3.688 OK: 333 MiB in 100 packages [2024-01-03T03:02:40.229Z] #8 DONE 4.0s [2024-01-03T03:02:40.229Z] [2024-01-03T03:02:40.229Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-03T03:02:40.499Z] #9 DONE 0.1s [2024-01-03T03:02:40.499Z] [2024-01-03T03:02:40.499Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-03T03:02:40.499Z] #10 DONE 0.2s [2024-01-03T03:02:40.768Z] [2024-01-03T03:02:40.768Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-03T03:02:40.768Z] #11 DONE 0.1s [2024-01-03T03:02:40.768Z] [2024-01-03T03:02:40.768Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-03T03:02:40.768Z] #12 DONE 0.1s [2024-01-03T03:02:40.768Z] [2024-01-03T03:02:40.768Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-03T03:02:40.768Z] #13 DONE 0.1s [2024-01-03T03:02:41.038Z] [2024-01-03T03:02:41.038Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T03:02:41.038Z] #14 DONE 0.1s [2024-01-03T03:02:41.038Z] [2024-01-03T03:02:41.038Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-03T03:02:41.038Z] #15 DONE 0.1s [2024-01-03T03:02:41.038Z] [2024-01-03T03:02:41.038Z] #16 exporting to image [2024-01-03T03:02:41.038Z] #16 exporting layers [2024-01-03T03:02:41.310Z] #16 exporting layers 0.4s done [2024-01-03T03:02:41.310Z] #16 writing image sha256:2e84395c25dc03040aa9931cb234107a9f69a646724a5b4002e2c6fbdc17f544 0.0s done [2024-01-03T03:02:41.310Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-03T03:02:41.310Z] #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-03T03:02:42.354Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T03:02:42.354Z] [2024-01-03T03:02:42.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T03:02:42.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T03:02:42.713Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-03T03:02:42.713Z] 8998bd30e6a1: Pulling fs layer [2024-01-03T03:02:42.713Z] 04944245beec: Pulling fs layer [2024-01-03T03:02:42.713Z] 699f458cf7ca: Pulling fs layer [2024-01-03T03:02:42.713Z] 765212b225bb: Pulling fs layer [2024-01-03T03:02:42.713Z] f23df028b6ca: Pulling fs layer [2024-01-03T03:02:42.713Z] d65c8cfc05b1: Pulling fs layer [2024-01-03T03:02:42.713Z] 2437ff75d9bd: Pulling fs layer [2024-01-03T03:02:42.713Z] 765212b225bb: Waiting [2024-01-03T03:02:42.713Z] f23df028b6ca: Waiting [2024-01-03T03:02:42.713Z] d65c8cfc05b1: Waiting [2024-01-03T03:02:42.713Z] 2437ff75d9bd: Waiting [2024-01-03T03:02:42.981Z] 04944245beec: Verifying Checksum [2024-01-03T03:02:42.981Z] 04944245beec: Download complete [2024-01-03T03:02:42.981Z] 765212b225bb: Download complete [2024-01-03T03:02:42.981Z] f23df028b6ca: Verifying Checksum [2024-01-03T03:02:42.981Z] f23df028b6ca: Download complete [2024-01-03T03:02:42.981Z] d65c8cfc05b1: Verifying Checksum [2024-01-03T03:02:42.981Z] d65c8cfc05b1: Download complete [2024-01-03T03:02:43.246Z] 699f458cf7ca: Verifying Checksum [2024-01-03T03:02:43.246Z] 699f458cf7ca: Download complete [2024-01-03T03:02:43.513Z] 8998bd30e6a1: Verifying Checksum [2024-01-03T03:02:43.513Z] 8998bd30e6a1: Download complete [2024-01-03T03:02:45.454Z] 2437ff75d9bd: Verifying Checksum [2024-01-03T03:02:45.454Z] 2437ff75d9bd: Download complete [2024-01-03T03:02:52.108Z] 8998bd30e6a1: Pull complete [2024-01-03T03:02:52.108Z] 04944245beec: Pull complete [2024-01-03T03:02:53.529Z] 699f458cf7ca: Pull complete [2024-01-03T03:02:53.529Z] 765212b225bb: Pull complete [2024-01-03T03:02:54.111Z] f23df028b6ca: Pull complete [2024-01-03T03:02:54.111Z] d65c8cfc05b1: Pull complete [2024-01-03T03:03:17.639Z] 2437ff75d9bd: Pull complete [2024-01-03T03:03:17.639Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-03T03:03:17.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T03:03:17.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T03:03:17.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-26681 does not seem to be running inside a container [2024-01-03T03:03:17.980Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-03T03:03:19.259Z] $ docker top 123eee45f8f2a24abbd0c27375f8391eb86922d044487851cc8b7c9561801433 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:19.789Z] ---> job-cost.sh [2024-01-03T03:03:20.055Z] lf-activate-venv: SKIPPING [2024-01-03T03:03:20.055Z] INFO: No Stack... [2024-01-03T03:03:20.323Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T03:03:20.909Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T03:03:21.234Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2024-01-03T03:03:21.234Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T03:03:21.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [2024-01-03T03:03:21.278Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] did not exist. Created. [2024-01-03T03:03:21.278Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T03:03:21.665Z] /w/workspace/device-sdk-c/5@tmp/durable-41942615/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-03T03:03:21.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T03:03:22.004Z] Warning: overwriting stash ‘stack-cost’ [2024-01-03T03:03:22.422Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T03:03:22.433Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T03:03:22.507Z] $ docker stop --time=1 123eee45f8f2a24abbd0c27375f8391eb86922d044487851cc8b7c9561801433 [2024-01-03T03:03:23.882Z] $ docker rm -f --volumes 123eee45f8f2a24abbd0c27375f8391eb86922d044487851cc8b7c9561801433 [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-03T03:03:25.526Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] [2024-01-03T03:03:25.527Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T03:03:25.527Z] total 16 [2024-01-03T03:03:25.527Z] drwxr-xr-x 3 root root 4096 Jan 3 02:57 . [2024-01-03T03:03:25.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 02:57 .. [2024-01-03T03:03:25.527Z] drwxr-xr-x 2 root root 4096 Jan 3 02:57 cost [2024-01-03T03:03:25.527Z] -rw-r--r-- 1 root root 84 Jan 3 02:57 cost.csv [2024-01-03T03:03:25.527Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T03:03:25.527Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T03:03:25.527Z] total 16 [2024-01-03T03:03:25.527Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 02:57 . [2024-01-03T03:03:25.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 02:57 .. [2024-01-03T03:03:25.527Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 02:57 cost [2024-01-03T03:03:25.527Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 3 02:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:25.820Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:26.693Z] ---> package-listing.sh [2024-01-03T03:03:26.693Z] ++ facter osfamily [2024-01-03T03:03:26.693Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-03T03:03:26.954Z] + OS_FAMILY=debian [2024-01-03T03:03:26.955Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 [2024-01-03T03:03:26.955Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-03T03:03:26.955Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-03T03:03:26.955Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-03T03:03:26.955Z] + PACKAGES=/tmp/packages_start.txt [2024-01-03T03:03:26.955Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T03:03:26.955Z] + PACKAGES=/tmp/packages_end.txt [2024-01-03T03:03:26.955Z] + case "${OS_FAMILY}" in [2024-01-03T03:03:26.955Z] + dpkg -l [2024-01-03T03:03:26.955Z] + grep '^ii' [2024-01-03T03:03:26.955Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-03T03:03:26.955Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-03T03:03:26.955Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-03T03:03:26.955Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T03:03:26.955Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [2024-01-03T03:03:26.955Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [Pipeline] echo [2024-01-03T03:03:26.966Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-03T03:03:27.243Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T03:03:27.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T03:03:27.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T03:03:27.980Z] prd-ubuntu20.04-docker-8c-8g-26680 does not seem to be running inside a container [2024-01-03T03:03:28.008Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-03T03:03:28.210Z] $ docker top e954a9c16ff7ffd4b39ac319ec023bf69ee9b9feeb00c0af6b789ec8f8498c8b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T03:03:28.623Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-03T03:03:28.909Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-03T03:03:29.206Z] + ls /var/log/sa-host [2024-01-03T03:03:29.206Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T03:03:29.302Z] provisioning config files... [2024-01-03T03:03:29.309Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config7457677015519318831tmp [Pipeline] { [Pipeline] echo [2024-01-03T03:03:29.381Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:29.669Z] ---> create-netrc.sh [Pipeline] } [2024-01-03T03:03:29.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:30.069Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-03T03:03:30.077Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:30.361Z] ---> sudo-logs.sh [2024-01-03T03:03:30.361Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-03T03:03:30.413Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:30.696Z] ---> job-cost.sh [2024-01-03T03:03:30.697Z] lf-activate-venv: SKIPPING [2024-01-03T03:03:30.697Z] DEBUG: total: 0.2199999988079071 [2024-01-03T03:03:30.697Z] INFO: Retrieving Stack Cost... [2024-01-03T03:03:30.955Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T03:03:31.523Z] INFO: Archiving Costs [Pipeline] echo [2024-01-03T03:03:31.536Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T03:03:31.827Z] ---> logs-deploy.sh [2024-01-03T03:03:31.828Z] lf-activate-venv: SKIPPING [2024-01-03T03:03:31.828Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/5 [2024-01-03T03:03:31.828Z] INFO: archiving workspace using pattern(s): [2024-01-03T03:03:32.768Z] Archives upload complete. [2024-01-03T03:03:32.768Z] INFO: archiving logs to Nexus