Pull request #508 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 1ada961f16dfd6d0f05326518af38c4a60e3ba3d+6bdae90b977cdeecb957260a94da902cfcf10c29 (acec98aec4354a81182daa424ef40584e7acbd8e) 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-ssh1788809103166376533.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-ssh4541659218372140589.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-508/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-508/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh44817532672318426.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-ssh15135395570717780201.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-508/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-508/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9863930421842565464.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27794 in /w/workspace/edgexfoundry_device-sdk-c_PR-508 [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-508 # 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/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 1ada961f16dfd6d0f05326518af38c4a60e3ba3d Merge succeeded, producing 1ada961f16dfd6d0f05326518af38c4a60e3ba3d Checking out Revision 1ada961f16dfd6d0f05326518af38c4a60e3ba3d (PR-508) > git config core.sparsecheckout # timeout=10 > git checkout -f 1ada961f16dfd6d0f05326518af38c4a60e3ba3d # 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 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ada961f16dfd6d0f05326518af38c4a60e3ba3d # timeout=10 Commit message: "fix: edgex_device_read does not read labels" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-24T09:26:33.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-24T09:26:33.346Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-24T09:26:33.378Z] ========================================================= [2024-01-24T09:26:33.378Z] EdgeX Global Pipelines Version Info [2024-01-24T09:26:33.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:26:34.101Z] ------------------- [2024-01-24T09:26:34.101Z] stable info: [2024-01-24T09:26:34.101Z] ------------------- [2024-01-24T09:26:34.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-24T09:26:34.101Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-24T09:26:34.101Z] Message: update stable to v1.0.258 > git rev-list --no-walk 7a8c810441e40b896cce4a73f358e5b48ad0d479 # timeout=10 [2024-01-24T09:26:34.672Z] ------------------- [2024-01-24T09:26:34.672Z] experimental info: [2024-01-24T09:26:34.672Z] ------------------- [2024-01-24T09:26:34.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-24T09:26:34.672Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-24T09:26:34.672Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-24T09:26:34.780Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-24T09:26:34.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-24T09:26:34.829Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-24T09:26:34.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-24T09:26:34.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-24T09:26:34.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-24T09:26:34.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-24T09:26:34.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-24T09:26:35.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-24T09:26:35.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-24T09:26:35.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-24T09:26:35.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-24T09:26:35.149Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-24T09:26:35.186Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-24T09:26:35.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-24T09:26:35.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-24T09:26:35.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-24T09:26:35.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo [2024-01-24T09:26:35.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo [2024-01-24T09:26:35.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo [2024-01-24T09:26:35.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [Pipeline] echo [2024-01-24T09:26:35.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ada961 [Pipeline] echo [2024-01-24T09:26:35.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T09:26:35.571Z] provisioning config files... [2024-01-24T09:26:36.542Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config16121023309142014381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:26:39.915Z] ---> ****-login.sh [2024-01-24T09:26:39.915Z] nexus3.edgexfoundry.org:10001 [2024-01-24T09:26:40.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:40.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:40.177Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:40.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:40.177Z] [2024-01-24T09:26:41.828Z] Login Succeeded [2024-01-24T09:26:41.828Z] nexus3.edgexfoundry.org:10002 [2024-01-24T09:26:41.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:42.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:42.089Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:42.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:42.089Z] [2024-01-24T09:26:42.089Z] Login Succeeded [2024-01-24T09:26:42.089Z] nexus3.edgexfoundry.org:10003 [2024-01-24T09:26:42.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:42.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:42.089Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:42.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:42.089Z] [2024-01-24T09:26:42.089Z] Login Succeeded [2024-01-24T09:26:42.089Z] nexus3.edgexfoundry.org:10004 [2024-01-24T09:26:42.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:42.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:42.349Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:42.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:42.349Z] [2024-01-24T09:26:42.349Z] Login Succeeded [2024-01-24T09:26:42.350Z] ****.io [2024-01-24T09:26:42.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:42.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:42.612Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:42.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:42.613Z] [2024-01-24T09:26:42.613Z] Login Succeeded [2024-01-24T09:26:42.613Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T09:26:42.619Z] 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-24T09:26:43.089Z] + git rev-list -1 --merges 1ada961f16dfd6d0f05326518af38c4a60e3ba3d~1..1ada961f16dfd6d0f05326518af38c4a60e3ba3d [Pipeline] echo [2024-01-24T09:26:43.114Z] -----------> git rev-list -1 --merges 1ada961f16dfd6d0f05326518af38c4a60e3ba3d~1..1ada961f16dfd6d0f05326518af38c4a60e3ba3d 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [false] [Pipeline] sh [2024-01-24T09:26:43.415Z] + git log --format=format:%s -1 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [Pipeline] echo [2024-01-24T09:26:43.430Z] ========================================================= [2024-01-24T09:26:43.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-24T09:26:43.430Z] ========================================================= 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-24T09:26:43.968Z] + git rev-list -1 --merges 1ada961f16dfd6d0f05326518af38c4a60e3ba3d~1..1ada961f16dfd6d0f05326518af38c4a60e3ba3d [Pipeline] echo [2024-01-24T09:26:43.980Z] -----------> git rev-list -1 --merges 1ada961f16dfd6d0f05326518af38c4a60e3ba3d~1..1ada961f16dfd6d0f05326518af38c4a60e3ba3d 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [false] [Pipeline] sh [2024-01-24T09:26:44.285Z] + git log --format=format:%s -1 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [Pipeline] echo [2024-01-24T09:26:44.300Z] ========================================================= [2024-01-24T09:26:44.300Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-24T09:26:44.300Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-24T09:26:44.770Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-24T09:26:44.770Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-24T09:26:44.770Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-24T09:26:44.770Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-24T09:26:44.770Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-24T09:26:44.770Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-24T09:26:44.770Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:26:45.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T09:26:45.124Z] [2024-01-24T09:26:45.124Z] 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-24T09:26:45.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T09:26:45.446Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-24T09:26:45.446Z] b85a868b505f: Pulling fs layer [2024-01-24T09:26:45.446Z] e2be974225ed: Pulling fs layer [2024-01-24T09:26:45.446Z] 339a4e72a1f5: Pulling fs layer [2024-01-24T09:26:45.446Z] 988bab9f4d93: Pulling fs layer [2024-01-24T09:26:45.446Z] 1469e6f7b9e6: Pulling fs layer [2024-01-24T09:26:45.446Z] eaf3925da568: Pulling fs layer [2024-01-24T09:26:45.446Z] bab4dde63d76: Pulling fs layer [2024-01-24T09:26:45.446Z] bde34c3a00c8: Pulling fs layer [2024-01-24T09:26:45.446Z] b352a97aabf1: Pulling fs layer [2024-01-24T09:26:45.446Z] 4872d77fe225: Pulling fs layer [2024-01-24T09:26:45.446Z] 5851b861e8e6: Pulling fs layer [2024-01-24T09:26:45.446Z] eaf3925da568: Waiting [2024-01-24T09:26:45.446Z] 988bab9f4d93: Waiting [2024-01-24T09:26:45.446Z] bab4dde63d76: Waiting [2024-01-24T09:26:45.446Z] 1469e6f7b9e6: Waiting [2024-01-24T09:26:45.446Z] bde34c3a00c8: Waiting [2024-01-24T09:26:45.446Z] b352a97aabf1: Waiting [2024-01-24T09:26:45.446Z] 5851b861e8e6: Waiting [2024-01-24T09:26:45.446Z] e2be974225ed: Verifying Checksum [2024-01-24T09:26:45.446Z] e2be974225ed: Download complete [2024-01-24T09:26:45.446Z] 988bab9f4d93: Verifying Checksum [2024-01-24T09:26:45.446Z] 988bab9f4d93: Download complete [2024-01-24T09:26:45.446Z] 1469e6f7b9e6: Verifying Checksum [2024-01-24T09:26:45.446Z] 1469e6f7b9e6: Download complete [2024-01-24T09:26:45.446Z] eaf3925da568: Verifying Checksum [2024-01-24T09:26:45.446Z] eaf3925da568: Download complete [2024-01-24T09:26:45.446Z] 339a4e72a1f5: Verifying Checksum [2024-01-24T09:26:45.446Z] 339a4e72a1f5: Download complete [2024-01-24T09:26:45.705Z] bde34c3a00c8: Verifying Checksum [2024-01-24T09:26:45.705Z] bde34c3a00c8: Download complete [2024-01-24T09:26:45.705Z] b352a97aabf1: Verifying Checksum [2024-01-24T09:26:45.705Z] b352a97aabf1: Download complete [2024-01-24T09:26:45.705Z] 4872d77fe225: Verifying Checksum [2024-01-24T09:26:45.705Z] 4872d77fe225: Download complete [2024-01-24T09:26:45.705Z] 5851b861e8e6: Verifying Checksum [2024-01-24T09:26:45.705Z] 5851b861e8e6: Download complete [2024-01-24T09:26:45.705Z] b85a868b505f: Verifying Checksum [2024-01-24T09:26:45.705Z] b85a868b505f: Download complete [2024-01-24T09:26:45.963Z] bab4dde63d76: Verifying Checksum [2024-01-24T09:26:45.963Z] bab4dde63d76: Download complete [2024-01-24T09:26:46.900Z] b85a868b505f: Pull complete [2024-01-24T09:26:47.158Z] e2be974225ed: Pull complete [2024-01-24T09:26:47.724Z] 339a4e72a1f5: Pull complete [2024-01-24T09:26:47.724Z] 988bab9f4d93: Pull complete [2024-01-24T09:26:47.983Z] 1469e6f7b9e6: Pull complete [2024-01-24T09:26:47.983Z] eaf3925da568: Pull complete [2024-01-24T09:26:49.888Z] bab4dde63d76: Pull complete [2024-01-24T09:26:49.888Z] bde34c3a00c8: Pull complete [2024-01-24T09:26:49.888Z] b352a97aabf1: Pull complete [2024-01-24T09:26:50.148Z] 4872d77fe225: Pull complete [2024-01-24T09:26:50.148Z] 5851b861e8e6: Pull complete [2024-01-24T09:26:50.148Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-24T09:26:50.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T09:26:50.148Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:26:50.351Z] prd-ubuntu20.04-docker-8c-8g-27794 does not seem to be running inside a container [2024-01-24T09:26:50.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@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-devops/py-git-semver:0.1.4 cat [2024-01-24T09:26:53.699Z] $ docker top 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 -eo pid,comm [2024-01-24T09:26:53.753Z] 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-24T09:26:53.753Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-24T09:26:53.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-24T09:26:53.846Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-24T09:26:53.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-24T09:26:53.964Z] $ docker exec 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 ssh-agent [2024-01-24T09:26:54.081Z] SSH_AUTH_SOCK=/tmp/ssh-c6mt0esmbwuz/agent.32 [2024-01-24T09:26:54.081Z] SSH_AGENT_PID=38 [2024-01-24T09:26:54.088Z] Running ssh-add (command line suppressed) [2024-01-24T09:26:54.198Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_15040354922042107391.key (/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_15040354922042107391.key) [2024-01-24T09:26:54.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-24T09:26:54.523Z] + git tag --points-at HEAD [Pipeline] } [2024-01-24T09:26:54.538Z] $ docker exec --env ******** --env ******** 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 ssh-agent -k [2024-01-24T09:26:54.625Z] unset SSH_AUTH_SOCK; [2024-01-24T09:26:54.625Z] unset SSH_AGENT_PID; [2024-01-24T09:26:54.625Z] echo Agent pid 38 killed; [2024-01-24T09:26:54.633Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-24T09:26:54.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-24T09:26:54.691Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-24T09:26:54.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-24T09:26:54.814Z] $ docker exec 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 ssh-agent [2024-01-24T09:26:54.933Z] SSH_AUTH_SOCK=/tmp/ssh-wcgG5mgB2noP/agent.70 [2024-01-24T09:26:54.933Z] SSH_AGENT_PID=76 [2024-01-24T09:26:54.940Z] Running ssh-add (command line suppressed) [2024-01-24T09:26:55.052Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_157752347438874427.key (/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_157752347438874427.key) [2024-01-24T09:26:55.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-24T09:26:55.365Z] + git semver init [2024-01-24T09:26:55.625Z] 2024-01-24 09:26:55,553 [run_init] DEBUG init version:0.0.0 force:False [2024-01-24T09:26:55.625Z] 2024-01-24 09:26:55,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver [2024-01-24T09:26:55.625Z] 2024-01-24 09:26:55,554 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver [2024-01-24T09:26:55.625Z] 2024-01-24 09:26:55,554 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508, universal_newlines=False, shell=None, istream=None) [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,456 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.git/info/exclude [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,457 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 with force:False [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,457 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,461 [execute] INFO git cat-file --batch-check [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver, universal_newlines=False, shell=None, istream=) [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,467 [execute] INFO git cat-file --batch [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver, universal_newlines=False, shell=None, istream=) [2024-01-24T09:26:56.564Z] 2024-01-24 09:26:56,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 [2024-01-24T09:26:56.564Z] 0.0.0 [Pipeline] } [2024-01-24T09:26:56.576Z] $ docker exec --env ******** --env ******** 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 ssh-agent -k [2024-01-24T09:26:56.678Z] unset SSH_AUTH_SOCK; [2024-01-24T09:26:56.679Z] unset SSH_AGENT_PID; [2024-01-24T09:26:56.679Z] echo Agent pid 76 killed; [2024-01-24T09:26:56.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-24T09:26:57.057Z] + git semver [Pipeline] } [2024-01-24T09:26:57.332Z] $ docker stop --time=1 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 [2024-01-24T09:26:58.657Z] $ docker rm -f --volumes 21b82044e4e47e899d832b9b1a531a76afbc85f23363c2d8934740706a22e834 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-24T09:26:59.030Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-24T09:26:59.333Z] Stashed 1 file(s) [Pipeline] echo [2024-01-24T09:26:59.337Z] [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-24T09:26:59.613Z] provisioning config files... [2024-01-24T09:26:59.621Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config2578157741861740819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:26:59.934Z] ---> ****-login.sh [2024-01-24T09:26:59.934Z] nexus3.edgexfoundry.org:10001 [2024-01-24T09:26:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:59.934Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:59.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:59.934Z] [2024-01-24T09:26:59.934Z] Login Succeeded [2024-01-24T09:26:59.934Z] nexus3.edgexfoundry.org:10002 [2024-01-24T09:26:59.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:26:59.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:26:59.934Z] Configure a credential helper to remove this warning. See [2024-01-24T09:26:59.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:26:59.934Z] [2024-01-24T09:26:59.934Z] Login Succeeded [2024-01-24T09:26:59.934Z] nexus3.edgexfoundry.org:10003 [2024-01-24T09:27:00.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:27:00.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:27:00.194Z] Configure a credential helper to remove this warning. See [2024-01-24T09:27:00.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:27:00.194Z] [2024-01-24T09:27:00.194Z] Login Succeeded [2024-01-24T09:27:00.194Z] nexus3.edgexfoundry.org:10004 [2024-01-24T09:27:00.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:27:00.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:27:00.194Z] Configure a credential helper to remove this warning. See [2024-01-24T09:27:00.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:27:00.194Z] [2024-01-24T09:27:00.194Z] Login Succeeded [2024-01-24T09:27:00.194Z] ****.io [2024-01-24T09:27:00.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:27:00.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:27:00.455Z] Configure a credential helper to remove this warning. See [2024-01-24T09:27:00.456Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:27:00.456Z] [2024-01-24T09:27:00.456Z] Login Succeeded [2024-01-24T09:27:00.456Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T09:27:00.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-24T09:27:00.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T09:27:00.636Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-24T09:27:00.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T09:27:00.691Z] ========================================================= [2024-01-24T09:27:00.691Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-24T09:27:00.691Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:27:01.051Z] + 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-24T09:27:01.051Z] Sending build context to Docker daemon 4.999MB [2024-01-24T09:27:01.051Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-24T09:27:01.051Z] Step 2/21 : FROM ${BASE} as builder [2024-01-24T09:27:01.051Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-24T09:27:01.051Z] 96526aa774ef: Pulling fs layer [2024-01-24T09:27:01.051Z] da60e534fd72: Pulling fs layer [2024-01-24T09:27:01.310Z] 96526aa774ef: Verifying Checksum [2024-01-24T09:27:01.310Z] 96526aa774ef: Download complete [2024-01-24T09:27:01.310Z] 96526aa774ef: Pull complete [2024-01-24T09:27:02.246Z] da60e534fd72: Verifying Checksum [2024-01-24T09:27:02.246Z] da60e534fd72: Download complete [2024-01-24T09:27:05.526Z] da60e534fd72: Pull complete [2024-01-24T09:27:05.526Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-24T09:27:05.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-24T09:27:05.526Z] ---> 6605166a5db4 [2024-01-24T09:27:05.526Z] 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-24T09:27:07.433Z] ---> Running in 29e38d8856da [2024-01-24T09:27:08.001Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-24T09:27:08.260Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T09:27:08.260Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T09:27:08.260Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T09:27:08.518Z] Removing intermediate container 29e38d8856da [2024-01-24T09:27:08.518Z] ---> 3272c8997064 [2024-01-24T09:27:08.518Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T09:27:08.518Z] ---> Running in 31fc12825b44 [2024-01-24T09:27:09.085Z] Removing intermediate container 31fc12825b44 [2024-01-24T09:27:09.085Z] ---> a2d572e816bc [2024-01-24T09:27:09.085Z] 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-24T09:27:09.085Z] ---> Running in 34485480bacc [2024-01-24T09:27:09.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:09.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:09.864Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:10.434Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:27:10.434Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-24T09:27:10.434Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-24T09:27:10.434Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T09:27:11.372Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T09:27:11.372Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T09:27:11.372Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-24T09:27:11.372Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-24T09:27:11.372Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T09:27:11.372Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T09:27:11.372Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T09:27:11.372Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T09:27:11.372Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-24T09:27:11.372Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-24T09:27:11.372Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-24T09:27:11.631Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-24T09:27:11.631Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-24T09:27:11.631Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-24T09:27:11.631Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T09:27:11.631Z] OK: 336 MiB in 99 packages [2024-01-24T09:27:12.202Z] Removing intermediate container 34485480bacc [2024-01-24T09:27:12.202Z] ---> 4faa7a80684e [2024-01-24T09:27:12.202Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-24T09:27:12.202Z] ---> Running in 69d022ca9439 [2024-01-24T09:27:12.771Z] Removing intermediate container 69d022ca9439 [2024-01-24T09:27:12.771Z] ---> d22ca98883a8 [2024-01-24T09:27:12.771Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-24T09:27:12.771Z] ---> 970b2cfa8f1c [2024-01-24T09:27:12.771Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-24T09:27:13.030Z] ---> 7602a0e97223 [2024-01-24T09:27:13.030Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-24T09:27:13.293Z] ---> b0a7f2ed8a2c [2024-01-24T09:27:13.293Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-24T09:27:13.293Z] ---> f5877df26c8f [2024-01-24T09:27:13.293Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-24T09:27:13.554Z] ---> 9503e72c7f2c [2024-01-24T09:27:13.554Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-24T09:27:13.554Z] ---> 98da9ad9b3cb [2024-01-24T09:27:13.554Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-24T09:27:13.817Z] ---> Running in 34882b67affc [2024-01-24T09:27:13.817Z] + CPPCHECK=false [2024-01-24T09:27:13.817Z] + DOCGEN=false [2024-01-24T09:27:13.817Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-24T09:27:13.817Z] + '[' 0 -gt 0 ] [2024-01-24T09:27:14.077Z] + readlink -f ./scripts/build.sh [2024-01-24T09:27:14.077Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-24T09:27:14.077Z] + dirname /tmp/sdk/scripts [2024-01-24T09:27:14.077Z] + ROOT=/tmp/sdk [2024-01-24T09:27:14.077Z] + cd /tmp/sdk [2024-01-24T09:27:14.077Z] + mkdir -p /tmp/sdk/build/release [2024-01-24T09:27:14.077Z] + cd /tmp/sdk/build/release [2024-01-24T09:27:14.077Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-24T09:27:14.077Z] -- The C compiler identification is GNU 12.2.1 [2024-01-24T09:27:14.077Z] -- Detecting C compiler ABI info [2024-01-24T09:27:14.077Z] -- Detecting C compiler ABI info - done [2024-01-24T09:27:14.077Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T09:27:14.077Z] -- Detecting C compile features [2024-01-24T09:27:14.077Z] -- Detecting C compile features - done [2024-01-24T09:27:14.077Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T09:27:14.077Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T09:27:14.077Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T09:27:14.077Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T09:27:14.336Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T09:27:14.336Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T09:27:14.336Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T09:27:14.336Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T09:27:14.336Z] -- /opt/iotech/iot/1.5/include [2024-01-24T09:27:14.336Z] -- C SDK 0.0.0 for Linux [2024-01-24T09:27:14.336Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T09:27:14.336Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T09:27:14.336Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-24T09:27:14.336Z] -- Configuring done (0.4s) [2024-01-24T09:27:14.336Z] -- Generating done (0.0s) [2024-01-24T09:27:14.336Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-24T09:27:14.336Z] + make all package [2024-01-24T09:27:14.336Z] + tee release.log [2024-01-24T09:27:14.530Z] Still waiting to schedule task [2024-01-24T09:27:14.530Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-24T09:27:14.596Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T09:27:14.596Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T09:27:14.857Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T09:27:14.857Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T09:27:14.857Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T09:27:15.117Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T09:27:15.377Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T09:27:15.377Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-24T09:27:15.377Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:27:15.377Z] 294 | while (privateConfig) [2024-01-24T09:27:15.377Z] | ^~~~~~~~~~~~~ [2024-01-24T09:27:15.377Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-24T09:27:15.377Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T09:27:15.377Z] | ^~~~~~~~~~~~~ [2024-01-24T09:27:15.377Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:27:15.377Z] 271 | while (result) [2024-01-24T09:27:15.377Z] | ^~~~~~ [2024-01-24T09:27:15.377Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-24T09:27:15.377Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T09:27:15.377Z] | ^~~~~~ [2024-01-24T09:27:15.637Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T09:27:15.637Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T09:27:15.637Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T09:27:15.896Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T09:27:16.155Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T09:27:16.155Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T09:27:16.416Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T09:27:16.416Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T09:27:16.677Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T09:27:16.677Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T09:27:16.938Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T09:27:16.938Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T09:27:17.198Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T09:27:17.198Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T09:27:18.581Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T09:27:18.581Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T09:27:18.581Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T09:27:18.581Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T09:27:18.581Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T09:27:18.840Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T09:27:19.408Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T09:27:19.408Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T09:27:19.408Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T09:27:19.668Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T09:27:19.668Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T09:27:19.668Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:27:19.668Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T09:27:19.668Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:27:19.668Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:27:19.668Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T09:27:19.668Z] | ^ [2024-01-24T09:27:19.927Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:27:19.927Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-24T09:27:19.927Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:27:19.927Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-24T09:27:19.927Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-24T09:27:19.927Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:27:19.927Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T09:27:19.927Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T09:27:20.188Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T09:27:20.188Z] [ 68%] Linking C shared library libcsdk.so [2024-01-24T09:27:20.188Z] [ 68%] Built target csdk [2024-01-24T09:27:20.188Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T09:27:20.450Z] [ 72%] Linking C executable template [2024-01-24T09:27:20.450Z] [ 72%] Built target template [2024-01-24T09:27:20.450Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T09:27:20.710Z] [ 76%] Linking C executable device-counter [2024-01-24T09:27:20.710Z] [ 76%] Built target device-counter [2024-01-24T09:27:20.710Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T09:27:20.710Z] [ 80%] Linking C executable device-random [2024-01-24T09:27:20.971Z] [ 80%] Built target device-random [2024-01-24T09:27:20.971Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T09:27:20.971Z] [ 84%] Linking C executable device-gyro [2024-01-24T09:27:20.971Z] [ 84%] Built target device-gyro [2024-01-24T09:27:20.971Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T09:27:21.232Z] [ 88%] Linking C executable device-bitfields [2024-01-24T09:27:21.232Z] [ 88%] Built target device-bitfields [2024-01-24T09:27:21.232Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T09:27:21.232Z] [ 92%] Linking C executable template-discovery [2024-01-24T09:27:21.492Z] [ 92%] Built target template-discovery [2024-01-24T09:27:21.492Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T09:27:21.492Z] [ 96%] Linking C executable device-file [2024-01-24T09:27:21.492Z] [ 96%] Built target device-file [2024-01-24T09:27:21.753Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T09:27:21.753Z] [100%] Linking C executable device-terminal [2024-01-24T09:27:21.753Z] [100%] Built target device-terminal [2024-01-24T09:27:21.753Z] Run CPack packaging tool... [2024-01-24T09:27:21.753Z] CPack: Create package using TGZ [2024-01-24T09:27:21.753Z] CPack: Install projects [2024-01-24T09:27:21.753Z] CPack: - Run preinstall target for: Csdk [2024-01-24T09:27:22.018Z] CPack: - Install project: Csdk [] [2024-01-24T09:27:22.018Z] CPack: Create package [2024-01-24T09:27:22.018Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-24T09:27:22.018Z] + '[' false '=' true ] [2024-01-24T09:27:22.018Z] + '[' false '=' true ] [2024-01-24T09:27:22.018Z] + mkdir -p /tmp/sdk/build/debug [2024-01-24T09:27:22.018Z] + cd /tmp/sdk/build/debug [2024-01-24T09:27:22.018Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-24T09:27:22.277Z] -- The C compiler identification is GNU 12.2.1 [2024-01-24T09:27:22.277Z] -- Detecting C compiler ABI info [2024-01-24T09:27:22.277Z] -- Detecting C compiler ABI info - done [2024-01-24T09:27:22.277Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T09:27:22.277Z] -- Detecting C compile features [2024-01-24T09:27:22.277Z] -- Detecting C compile features - done [2024-01-24T09:27:22.277Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T09:27:22.277Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T09:27:22.277Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T09:27:22.277Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T09:27:22.277Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T09:27:22.277Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T09:27:22.277Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T09:27:22.277Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T09:27:22.277Z] -- /opt/iotech/iot/1.5/include [2024-01-24T09:27:22.277Z] -- C SDK 0.0.0 for Linux [2024-01-24T09:27:22.277Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T09:27:22.540Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T09:27:22.540Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-24T09:27:22.540Z] -- Configuring done (0.4s) [2024-01-24T09:27:22.540Z] -- Generating done (0.0s) [2024-01-24T09:27:22.540Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-24T09:27:22.540Z] + make [2024-01-24T09:27:22.540Z] + tee debug.log [2024-01-24T09:27:22.540Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T09:27:22.800Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T09:27:22.800Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T09:27:22.800Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T09:27:22.800Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T09:27:23.060Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T09:27:23.060Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T09:27:23.320Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T09:27:23.320Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T09:27:23.320Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T09:27:23.320Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T09:27:23.581Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T09:27:23.581Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T09:27:23.581Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T09:27:23.581Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T09:27:23.841Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T09:27:23.841Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T09:27:23.841Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T09:27:24.100Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T09:27:24.100Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T09:27:24.100Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T09:27:24.360Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T09:27:24.360Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T09:27:24.360Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T09:27:24.618Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T09:27:24.618Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T09:27:24.618Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T09:27:24.877Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T09:27:24.877Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T09:27:25.137Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T09:27:25.137Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T09:27:25.137Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T09:27:25.137Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:27:25.137Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T09:27:25.137Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:27:25.137Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:27:25.137Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T09:27:25.137Z] | ^ [2024-01-24T09:27:25.137Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T09:27:25.396Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T09:27:25.396Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T09:27:25.397Z] [ 68%] Linking C shared library libcsdk.so [2024-01-24T09:27:25.397Z] [ 68%] Built target csdk [2024-01-24T09:27:25.397Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T09:27:25.656Z] [ 72%] Linking C executable template [2024-01-24T09:27:25.656Z] [ 72%] Built target template [2024-01-24T09:27:25.656Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T09:27:25.656Z] [ 76%] Linking C executable device-counter [2024-01-24T09:27:25.656Z] [ 76%] Built target device-counter [2024-01-24T09:27:25.656Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T09:27:25.915Z] [ 80%] Linking C executable device-random [2024-01-24T09:27:25.915Z] [ 80%] Built target device-random [2024-01-24T09:27:25.915Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T09:27:25.915Z] [ 84%] Linking C executable device-gyro [2024-01-24T09:27:25.915Z] [ 84%] Built target device-gyro [2024-01-24T09:27:25.915Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T09:27:26.174Z] [ 88%] Linking C executable device-bitfields [2024-01-24T09:27:26.174Z] [ 88%] Built target device-bitfields [2024-01-24T09:27:26.174Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T09:27:26.174Z] [ 92%] Linking C executable template-discovery [2024-01-24T09:27:26.433Z] [ 92%] Built target template-discovery [2024-01-24T09:27:26.433Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T09:27:26.433Z] [ 96%] Linking C executable device-file [2024-01-24T09:27:26.433Z] [ 96%] Built target device-file [2024-01-24T09:27:26.433Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T09:27:26.433Z] [100%] Linking C executable device-terminal [2024-01-24T09:27:26.692Z] [100%] Built target device-terminal [2024-01-24T09:27:26.692Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-24T09:27:26.692Z] [ 68%] Built target csdk [2024-01-24T09:27:26.692Z] [ 72%] Built target template [2024-01-24T09:27:26.692Z] [ 76%] Built target device-counter [2024-01-24T09:27:26.692Z] [ 80%] Built target device-random [2024-01-24T09:27:26.692Z] [ 84%] Built target device-gyro [2024-01-24T09:27:26.692Z] [ 88%] Built target device-bitfields [2024-01-24T09:27:26.692Z] [ 92%] Built target template-discovery [2024-01-24T09:27:26.952Z] [ 96%] Built target device-file [2024-01-24T09:27:26.952Z] [100%] Built target device-terminal [2024-01-24T09:27:26.952Z] Install the project... [2024-01-24T09:27:26.952Z] -- Install configuration: "Release" [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-24T09:27:26.952Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/devsdk [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-24T09:27:26.952Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-24T09:27:26.952Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-24T09:27:27.891Z] Removing intermediate container 34882b67affc [2024-01-24T09:27:27.891Z] ---> 15da6ac59c54 [2024-01-24T09:27:27.891Z] Step 14/21 : FROM ${BASE} [2024-01-24T09:27:27.891Z] ---> 6605166a5db4 [2024-01-24T09:27:27.891Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-24T09:27:27.891Z] ---> Running in eee9cf382445 [2024-01-24T09:27:27.891Z] Removing intermediate container eee9cf382445 [2024-01-24T09:27:27.891Z] ---> f8502f7032d0 [2024-01-24T09:27:27.891Z] 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-24T09:27:27.891Z] ---> Running in d6b191bf00b6 [2024-01-24T09:27:28.149Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-24T09:27:28.409Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T09:27:28.409Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T09:27:28.409Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T09:27:28.668Z] Removing intermediate container d6b191bf00b6 [2024-01-24T09:27:28.668Z] ---> 86659c5f097a [2024-01-24T09:27:28.668Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T09:27:28.668Z] ---> Running in 88beeee0d5b7 [2024-01-24T09:27:29.237Z] Removing intermediate container 88beeee0d5b7 [2024-01-24T09:27:29.237Z] ---> a1f440a6d9a7 [2024-01-24T09:27:29.237Z] 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-24T09:27:29.237Z] ---> Running in 449f1ce7bba2 [2024-01-24T09:27:29.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:29.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:30.063Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:30.630Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:27:30.630Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T09:27:30.630Z] (2/9) Installing curl (8.5.0-r0) [2024-01-24T09:27:30.630Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T09:27:30.630Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-24T09:27:30.630Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-24T09:27:30.630Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T09:27:31.200Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T09:27:31.459Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-24T09:27:31.459Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-24T09:27:31.459Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T09:27:31.459Z] OK: 331 MiB in 89 packages [2024-01-24T09:27:32.027Z] Removing intermediate container 449f1ce7bba2 [2024-01-24T09:27:32.027Z] ---> 1d2c16d4bfa6 [2024-01-24T09:27:32.027Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-24T09:27:32.027Z] ---> 77c4c8ec02a3 [2024-01-24T09:27:32.027Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-24T09:27:32.287Z] ---> cf6c4fcd1487 [2024-01-24T09:27:32.287Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-24T09:27:32.287Z] ---> deb2c71b9ec2 [2024-01-24T09:27:32.287Z] Successfully built deb2c71b9ec2 [2024-01-24T09:27:32.287Z] 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-24T09:27:32.852Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-24T09:27:32.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:27:32.960Z] prd-ubuntu20.04-docker-8c-8g-27794 does not seem to be running inside a container [2024-01-24T09:27:32.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-24T09:27:33.302Z] $ docker top 44c08ee56f840a08d7b44342ae920438bc8674f67ed974cb2d9c7104f51b2fa1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T09:27:33.682Z] + make test [2024-01-24T09:27:33.683Z] echo "make test" [2024-01-24T09:27:33.683Z] make test [Pipeline] } [2024-01-24T09:27:33.694Z] $ docker stop --time=1 44c08ee56f840a08d7b44342ae920438bc8674f67ed974cb2d9c7104f51b2fa1 [2024-01-24T09:27:35.051Z] $ docker rm -f --volumes 44c08ee56f840a08d7b44342ae920438bc8674f67ed974cb2d9c7104f51b2fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T09:27:35.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-24T09:27:36.200Z] + ls -al . [2024-01-24T09:27:36.200Z] total 212 [2024-01-24T09:27:36.200Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 24 09:26 . [2024-01-24T09:27:36.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:26 .. [2024-01-24T09:27:36.200Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 09:26 .git [2024-01-24T09:27:36.200Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 09:26 .github [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 24 09:26 .gitignore [2024-01-24T09:27:36.200Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 09:26 .semver [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 24 09:26 Attribution.txt [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 24 09:26 CHANGELOG.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 24 09:26 Doxyfile [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 09:26 GOVERNANCE.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 24 09:26 Jenkinsfile [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 24 09:26 LICENSE [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 24 09:26 Makefile [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 24 09:26 OWNERS.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 24 09:26 README.IOT.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 24 09:26 README.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 24 09:26 README.v3.md [2024-01-24T09:27:36.200Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 09:26 VERSION [2024-01-24T09:27:36.200Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 09:26 docs [2024-01-24T09:27:36.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:26 include [2024-01-24T09:27:36.200Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 09:26 scripts [2024-01-24T09:27:36.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:27:36.548Z] + 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=1ada961f16dfd6d0f05326518af38c4a60e3ba3d --label arch=amd64 --label version=0.0.0 . [2024-01-24T09:27:36.548Z] Sending build context to Docker daemon 4.999MB [2024-01-24T09:27:36.548Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-24T09:27:36.548Z] Step 2/17 : FROM ${BASE} [2024-01-24T09:27:36.548Z] ---> deb2c71b9ec2 [2024-01-24T09:27:36.548Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-24T09:27:36.548Z] ---> Running in 6ed8278a433b [2024-01-24T09:27:36.807Z] Removing intermediate container 6ed8278a433b [2024-01-24T09:27:36.807Z] ---> ff1d032b14bc [2024-01-24T09:27:36.807Z] 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-24T09:27:36.807Z] ---> Running in e9551d20da5c [2024-01-24T09:27:37.068Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-24T09:27:37.331Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T09:27:37.331Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T09:27:37.331Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T09:27:37.589Z] Removing intermediate container e9551d20da5c [2024-01-24T09:27:37.589Z] ---> 1d25a92d5dc9 [2024-01-24T09:27:37.589Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T09:27:37.589Z] ---> Running in 2dcb3088fcd4 [2024-01-24T09:27:38.157Z] Removing intermediate container 2dcb3088fcd4 [2024-01-24T09:27:38.157Z] ---> dd885889c85f [2024-01-24T09:27:38.157Z] 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-24T09:27:38.157Z] ---> Running in 15bafc1044e2 [2024-01-24T09:27:38.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:38.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:38.677Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T09:27:39.246Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:27:39.246Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T09:27:39.505Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-24T09:27:39.505Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T09:27:39.505Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T09:27:39.505Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T09:27:39.505Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T09:27:39.505Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-24T09:27:39.505Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-24T09:27:39.505Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-24T09:27:39.505Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-24T09:27:39.505Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-24T09:27:39.505Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T09:27:39.505Z] OK: 336 MiB in 100 packages [2024-01-24T09:27:40.072Z] Removing intermediate container 15bafc1044e2 [2024-01-24T09:27:40.072Z] ---> 6c2a21e3171c [2024-01-24T09:27:40.072Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-24T09:27:40.332Z] ---> c3f750b0451e [2024-01-24T09:27:40.332Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-24T09:27:40.590Z] ---> b8a3597deed3 [2024-01-24T09:27:40.590Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-24T09:27:40.590Z] ---> 5a866648f86c [2024-01-24T09:27:40.590Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-24T09:27:40.850Z] ---> 63fcc581457c [2024-01-24T09:27:40.850Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-24T09:27:40.850Z] ---> 4afb1940d25e [2024-01-24T09:27:40.850Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-24T09:27:40.850Z] ---> abe78d53a4dd [2024-01-24T09:27:40.850Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-24T09:27:40.850Z] ---> Running in 934686ce8ed1 [2024-01-24T09:27:41.108Z] Removing intermediate container 934686ce8ed1 [2024-01-24T09:27:41.108Z] ---> f4765e24fd01 [2024-01-24T09:27:41.108Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-24T09:27:41.108Z] ---> Running in 849560ec5996 [2024-01-24T09:27:41.108Z] Removing intermediate container 849560ec5996 [2024-01-24T09:27:41.108Z] ---> fadeb5178e58 [2024-01-24T09:27:41.108Z] Step 15/17 : LABEL arch=amd64 [2024-01-24T09:27:41.108Z] ---> Running in 16e3dc7ef58c [2024-01-24T09:27:41.108Z] Removing intermediate container 16e3dc7ef58c [2024-01-24T09:27:41.108Z] ---> 877078148331 [2024-01-24T09:27:41.108Z] Step 16/17 : LABEL git_sha=1ada961f16dfd6d0f05326518af38c4a60e3ba3d [2024-01-24T09:27:41.108Z] ---> Running in 0e000f707cd6 [2024-01-24T09:27:41.366Z] Removing intermediate container 0e000f707cd6 [2024-01-24T09:27:41.366Z] ---> 418e9eed3d40 [2024-01-24T09:27:41.366Z] Step 17/17 : LABEL version=0.0.0 [2024-01-24T09:27:41.366Z] ---> Running in bc2e06ce6df2 [2024-01-24T09:27:41.366Z] Removing intermediate container bc2e06ce6df2 [2024-01-24T09:27:41.366Z] ---> 820e6c853172 [2024-01-24T09:27:41.366Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-01-24T09:27:41.366Z] Successfully built 820e6c853172 [2024-01-24T09:27:41.366Z] 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-24T09:27:42.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T09:27:42.155Z] [2024-01-24T09:27:42.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:27:42.469Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T09:27:42.470Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-24T09:27:42.470Z] 5eb5b503b376: Pulling fs layer [2024-01-24T09:27:42.470Z] 5c69ac0246d0: Pulling fs layer [2024-01-24T09:27:42.470Z] ec43610c2a17: Pulling fs layer [2024-01-24T09:27:42.470Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-24T09:27:42.470Z] 33b1e0a273af: Pulling fs layer [2024-01-24T09:27:42.470Z] 5d3b04190fa2: Pulling fs layer [2024-01-24T09:27:42.470Z] 2f39f015ded8: Pulling fs layer [2024-01-24T09:27:42.470Z] 3a2ae6a8a46f: Waiting [2024-01-24T09:27:42.470Z] 2f39f015ded8: Waiting [2024-01-24T09:27:42.470Z] 5d3b04190fa2: Waiting [2024-01-24T09:27:42.470Z] 5c69ac0246d0: Download complete [2024-01-24T09:27:42.470Z] 3a2ae6a8a46f: Download complete [2024-01-24T09:27:42.470Z] 33b1e0a273af: Verifying Checksum [2024-01-24T09:27:42.470Z] 33b1e0a273af: Download complete [2024-01-24T09:27:42.470Z] 5d3b04190fa2: Download complete [2024-01-24T09:27:42.728Z] ec43610c2a17: Verifying Checksum [2024-01-24T09:27:42.728Z] ec43610c2a17: Download complete [2024-01-24T09:27:42.728Z] 5eb5b503b376: Verifying Checksum [2024-01-24T09:27:42.728Z] 5eb5b503b376: Download complete [2024-01-24T09:27:43.294Z] 2f39f015ded8: Download complete [2024-01-24T09:27:43.863Z] 5eb5b503b376: Pull complete [2024-01-24T09:27:44.122Z] 5c69ac0246d0: Pull complete [2024-01-24T09:27:44.381Z] ec43610c2a17: Pull complete [2024-01-24T09:27:44.381Z] 3a2ae6a8a46f: Pull complete [2024-01-24T09:27:44.639Z] 33b1e0a273af: Pull complete [2024-01-24T09:27:44.639Z] 5d3b04190fa2: Pull complete [2024-01-24T09:27:48.826Z] 2f39f015ded8: Pull complete [2024-01-24T09:27:48.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-24T09:27:48.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T09:27:48.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:27:48.991Z] prd-ubuntu20.04-docker-8c-8g-27794 does not seem to be running inside a container [2024-01-24T09:27:49.027Z] $ 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-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-24T09:27:53.626Z] $ docker top 1a6ed44c3eb59a44088eb7ddc6e8898c4c3d6ab425a0ecf0f28dd7e32e51df83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:27:54.020Z] ---> job-cost.sh [2024-01-24T09:27:54.020Z] lf-activate-venv: SKIPPING [2024-01-24T09:27:54.020Z] INFO: No Stack... [2024-01-24T09:27:54.281Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T09:27:54.540Z] INFO: Archiving Costs [Pipeline] sh [2024-01-24T09:27:54.831Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/cost.csv [2024-01-24T09:27:54.831Z] + cut -d, -f6 [Pipeline] lock [2024-01-24T09:27:54.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [2024-01-24T09:27:54.851Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] did not exist. Created. [2024-01-24T09:27:54.851Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-24T09:27:55.198Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-24T09:27:55.263Z] Stashed 1 file(s) [Pipeline] } [2024-01-24T09:27:55.271Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-24T09:27:55.330Z] $ docker stop --time=1 1a6ed44c3eb59a44088eb7ddc6e8898c4c3d6ab425a0ecf0f28dd7e32e51df83 [2024-01-24T09:27:56.476Z] $ docker rm -f --volumes 1a6ed44c3eb59a44088eb7ddc6e8898c4c3d6ab425a0ecf0f28dd7e32e51df83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-24T09:28:58.738Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27795 in /w/workspace/edgexfoundry_device-sdk-c_PR-508 [Pipeline] { [Pipeline] ws [2024-01-24T09:28:58.773Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-01-24T09:28:58.830Z] Selected Git installation does not exist. Using Default [2024-01-24T09:28:58.830Z] The recommended git tool is: NONE [2024-01-24T09:29:04.223Z] using credential edgex-jenkins-ssh [2024-01-24T09:29:04.243Z] Cloning the remote Git repository [2024-01-24T09:29:04.292Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T09:29:04.406Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-01-24T09:29:04.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T09:29:04.553Z] > git --version # timeout=10 [2024-01-24T09:29:04.573Z] > git --version # 'git version 2.25.1' [2024-01-24T09:29:04.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T09:29:04.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-24T09:29:05.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-24T09:29:05.820Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-24T09:29:07.231Z] Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [2024-01-24T09:29:07.537Z] Merge succeeded, producing 1ada961f16dfd6d0f05326518af38c4a60e3ba3d [2024-01-24T09:29:07.538Z] Checking out Revision 1ada961f16dfd6d0f05326518af38c4a60e3ba3d (PR-508) [2024-01-24T09:29:06.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-24T09:29:06.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T09:29:06.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T09:29:06.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-24T09:29:07.252Z] > git config core.sparsecheckout # timeout=10 [2024-01-24T09:29:07.309Z] > git checkout -f 1ada961f16dfd6d0f05326518af38c4a60e3ba3d # timeout=10 [2024-01-24T09:29:07.421Z] > git remote # timeout=10 [2024-01-24T09:29:07.444Z] > git config --get remote.origin.url # timeout=10 [2024-01-24T09:29:07.467Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T09:29:07.479Z] > git merge 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [2024-01-24T09:29:07.524Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-24T09:29:07.545Z] > git config core.sparsecheckout # timeout=10 [2024-01-24T09:29:07.558Z] > git checkout -f 1ada961f16dfd6d0f05326518af38c4a60e3ba3d # timeout=10 [2024-01-24T09:29:12.469Z] Commit message: "fix: edgex_device_read does not read labels" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T09:29:13.523Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-24T09:29:13.523Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-24T09:29:13.523Z] Dload Upload Total Spent Left Speed [2024-01-24T09:29:13.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 91898 0 --:--:-- --:--:-- --:--:-- 91898 [Pipeline] sh [2024-01-24T09:29:13.917Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-24T09:29:14.244Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-24T09:29:14.244Z] + sudo tee /etc/docker/daemon.new [2024-01-24T09:29:14.244Z] { [2024-01-24T09:29:14.244Z] "registry-mirrors": [ [2024-01-24T09:29:14.244Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-24T09:29:14.244Z] ], [2024-01-24T09:29:14.244Z] "bip": "10.250.0.254/24", [2024-01-24T09:29:14.244Z] "hosts": [ [2024-01-24T09:29:14.244Z] "tcp://0.0.0.0:5555", [2024-01-24T09:29:14.244Z] "unix:///var/run/docker.sock" [2024-01-24T09:29:14.244Z] ], [2024-01-24T09:29:14.244Z] "mtu": 1458, [2024-01-24T09:29:14.244Z] "selinux-enabled": true, [2024-01-24T09:29:14.244Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-24T09:29:14.244Z] } [Pipeline] sh [2024-01-24T09:29:14.568Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-24T09:29:14.895Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T09:29:33.172Z] provisioning config files... [2024-01-24T09:29:33.194Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config12038925975593209920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:29:33.642Z] ---> ****-login.sh [2024-01-24T09:29:33.642Z] nexus3.edgexfoundry.org:10001 [2024-01-24T09:29:33.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:29:34.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:29:34.176Z] Configure a credential helper to remove this warning. See [2024-01-24T09:29:34.176Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:29:34.176Z] [2024-01-24T09:29:34.176Z] Login Succeeded [2024-01-24T09:29:34.176Z] nexus3.edgexfoundry.org:10002 [2024-01-24T09:29:34.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:29:34.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:29:34.447Z] Configure a credential helper to remove this warning. See [2024-01-24T09:29:34.447Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:29:34.447Z] [2024-01-24T09:29:34.447Z] Login Succeeded [2024-01-24T09:29:34.447Z] nexus3.edgexfoundry.org:10003 [2024-01-24T09:29:34.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:29:34.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:29:34.716Z] Configure a credential helper to remove this warning. See [2024-01-24T09:29:34.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:29:34.716Z] [2024-01-24T09:29:34.716Z] Login Succeeded [2024-01-24T09:29:34.716Z] nexus3.edgexfoundry.org:10004 [2024-01-24T09:29:34.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:29:34.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:29:34.985Z] Configure a credential helper to remove this warning. See [2024-01-24T09:29:34.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:29:34.985Z] [2024-01-24T09:29:34.985Z] Login Succeeded [2024-01-24T09:29:34.985Z] ****.io [2024-01-24T09:29:35.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T09:29:35.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T09:29:35.522Z] Configure a credential helper to remove this warning. See [2024-01-24T09:29:35.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T09:29:35.522Z] [2024-01-24T09:29:35.522Z] Login Succeeded [2024-01-24T09:29:35.522Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T09:29:35.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-24T09:29:35.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T09:29:35.965Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-24T09:29:36.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T09:29:36.042Z] ========================================================= [2024-01-24T09:29:36.043Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-24T09:29:36.043Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:29:36.456Z] + 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-24T09:29:37.430Z] #0 building with "default" instance using docker driver [2024-01-24T09:29:37.430Z] [2024-01-24T09:29:37.430Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-24T09:29:37.430Z] #1 transferring dockerfile: 2.04kB done [2024-01-24T09:29:37.430Z] #1 DONE 0.1s [2024-01-24T09:29:37.430Z] [2024-01-24T09:29:37.430Z] #2 [internal] load .dockerignore [2024-01-24T09:29:37.430Z] #2 transferring context: 2B done [2024-01-24T09:29:37.430Z] #2 DONE 0.1s [2024-01-24T09:29:37.430Z] [2024-01-24T09:29:37.430Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-24T09:29:37.700Z] #3 DONE 0.1s [2024-01-24T09:29:37.700Z] [2024-01-24T09:29:37.700Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-24T09:29:37.700Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-24T09:29:37.700Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0B / 3.33MB 0.1s [2024-01-24T09:29:37.700Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 425.98kB / 109.51MB 0.1s [2024-01-24T09:29:37.700Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-24T09:29:37.700Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-24T09:29:37.973Z] #4 ... [2024-01-24T09:29:37.973Z] [2024-01-24T09:29:37.973Z] #5 [internal] load build context [2024-01-24T09:29:37.973Z] #5 transferring context: 628.49kB 0.1s done [2024-01-24T09:29:37.973Z] #5 DONE 0.2s [2024-01-24T09:29:37.973Z] [2024-01-24T09:29:37.973Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-24T09:29:37.973Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.15MB / 3.33MB 0.2s [2024-01-24T09:29:37.973Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-24T09:29:37.973Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 8.39MB / 109.51MB 0.3s [2024-01-24T09:29:37.973Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.1s [2024-01-24T09:29:38.242Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 18.93MB / 109.51MB 0.5s [2024-01-24T09:29:38.242Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-24T09:29:38.510Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 31.46MB / 109.51MB 0.7s [2024-01-24T09:29:38.781Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 41.94MB / 109.51MB 0.9s [2024-01-24T09:29:38.781Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 54.33MB / 109.51MB 1.1s [2024-01-24T09:29:39.053Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 66.06MB / 109.51MB 1.3s [2024-01-24T09:29:39.322Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 84.93MB / 109.51MB 1.6s [2024-01-24T09:29:39.322Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 91.23MB / 109.51MB 1.7s [2024-01-24T09:29:39.589Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 97.52MB / 109.51MB 1.8s [2024-01-24T09:29:39.589Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 103.81MB / 109.51MB 1.9s [2024-01-24T09:29:39.856Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s [2024-01-24T09:29:41.264Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 3.1s done [2024-01-24T09:29:41.264Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-24T09:29:46.609Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-24T09:29:53.271Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.2s [2024-01-24T09:29:53.545Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.5s done [2024-01-24T09:29:54.965Z] #4 DONE 17.3s [2024-01-24T09:29:54.965Z] [2024-01-24T09:29:54.965Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T09:29:55.926Z] #6 0.711 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-24T09:29:56.193Z] #6 1.230 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T09:29:56.193Z] #6 1.230 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T09:29:56.193Z] #6 1.230 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T09:29:57.149Z] #6 DONE 2.1s [2024-01-24T09:29:57.149Z] [2024-01-24T09:29:57.149Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T09:29:58.106Z] #7 DONE 0.8s [2024-01-24T09:29:58.106Z] [2024-01-24T09:29:58.106Z] #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-24T09:29:58.690Z] #8 0.782 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:29:59.269Z] #8 1.285 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T09:29:59.849Z] #8 1.899 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:30:00.809Z] #8 2.841 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:30:00.809Z] #8 2.871 (1/17) Installing hiredis (1.1.0-r2) [2024-01-24T09:30:00.809Z] #8 2.880 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-24T09:30:00.809Z] #8 2.909 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T09:30:01.771Z] #8 3.665 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T09:30:01.771Z] #8 3.784 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T09:30:02.053Z] #8 4.074 (6/17) Installing libcbor (0.10.2-r1) [2024-01-24T09:30:02.053Z] #8 4.082 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-24T09:30:02.053Z] #8 4.103 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T09:30:02.053Z] #8 4.108 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T09:30:02.053Z] #8 4.114 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T09:30:02.053Z] #8 4.121 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T09:30:02.053Z] #8 4.154 (12/17) Installing libblkid (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.171 (13/17) Installing libuuid (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.177 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.196 (15/17) Installing libmount (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.210 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.222 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-24T09:30:02.053Z] #8 4.298 Executing busybox-1.36.1-r4.trigger [2024-01-24T09:30:02.327Z] #8 ... [2024-01-24T09:30:02.327Z] [2024-01-24T09:30:02.327Z] #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-24T09:30:02.327Z] #9 0.847 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:30:02.327Z] #9 1.281 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T09:30:02.327Z] #9 1.913 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:30:02.327Z] #9 2.842 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:30:02.327Z] #9 2.871 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T09:30:02.327Z] #9 2.899 (2/9) Installing curl (8.5.0-r0) [2024-01-24T09:30:02.327Z] #9 2.912 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T09:30:02.327Z] #9 2.928 (4/9) Installing hiredis (1.1.0-r2) [2024-01-24T09:30:02.327Z] #9 2.934 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-24T09:30:02.327Z] #9 2.956 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T09:30:02.327Z] #9 3.711 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T09:30:02.327Z] #9 3.932 (8/9) Installing libcbor (0.10.2-r1) [2024-01-24T09:30:02.327Z] #9 3.939 (9/9) Installing libuuid (2.38.1-r8) [2024-01-24T09:30:02.327Z] #9 3.948 Executing busybox-1.36.1-r4.trigger [2024-01-24T09:30:02.327Z] #9 3.995 OK: 327 MiB in 89 packages [2024-01-24T09:30:02.327Z] #9 DONE 4.4s [2024-01-24T09:30:02.327Z] [2024-01-24T09:30:02.327Z] #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-24T09:30:02.327Z] #8 4.358 OK: 333 MiB in 99 packages [2024-01-24T09:30:02.601Z] #8 DONE 4.6s [2024-01-24T09:30:02.601Z] [2024-01-24T09:30:02.601Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-24T09:30:03.559Z] #10 DONE 0.7s [2024-01-24T09:30:03.559Z] [2024-01-24T09:30:03.559Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-24T09:30:03.559Z] #11 DONE 0.1s [2024-01-24T09:30:03.559Z] [2024-01-24T09:30:03.559Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-24T09:30:03.559Z] #12 DONE 0.2s [2024-01-24T09:30:03.559Z] [2024-01-24T09:30:03.559Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-24T09:30:03.559Z] #13 DONE 0.1s [2024-01-24T09:30:03.828Z] [2024-01-24T09:30:03.828Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-24T09:30:03.828Z] #14 DONE 0.1s [2024-01-24T09:30:03.828Z] [2024-01-24T09:30:03.828Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-24T09:30:03.828Z] #15 DONE 0.1s [2024-01-24T09:30:03.828Z] [2024-01-24T09:30:03.828Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-24T09:30:04.094Z] #16 DONE 0.1s [2024-01-24T09:30:04.094Z] [2024-01-24T09:30:04.094Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-24T09:30:04.674Z] #17 0.596 + CPPCHECK=false [2024-01-24T09:30:04.674Z] #17 0.596 + DOCGEN=false [2024-01-24T09:30:04.674Z] #17 0.596 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-24T09:30:04.674Z] #17 0.596 + '[' 0 -gt 0 ] [2024-01-24T09:30:04.674Z] #17 0.599 + readlink -f ./scripts/build.sh [2024-01-24T09:30:04.674Z] #17 0.601 + dirname /tmp/sdk/scripts/build.sh [2024-01-24T09:30:04.674Z] #17 0.604 + dirname /tmp/sdk/scripts [2024-01-24T09:30:04.674Z] #17 0.605 + ROOT=/tmp/sdk [2024-01-24T09:30:04.674Z] #17 0.605 + cd /tmp/sdk [2024-01-24T09:30:04.674Z] #17 0.605 + mkdir -p /tmp/sdk/build/release [2024-01-24T09:30:04.674Z] #17 0.608 + cd /tmp/sdk/build/release [2024-01-24T09:30:04.674Z] #17 0.608 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-24T09:30:04.941Z] #17 0.932 -- The C compiler identification is GNU 12.2.1 [2024-01-24T09:30:04.941Z] #17 0.995 -- Detecting C compiler ABI info [2024-01-24T09:30:05.206Z] #17 1.334 -- Detecting C compiler ABI info - done [2024-01-24T09:30:05.472Z] #17 1.419 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T09:30:05.472Z] #17 1.421 -- Detecting C compile features [2024-01-24T09:30:05.472Z] #17 1.424 -- Detecting C compile features - done [2024-01-24T09:30:05.472Z] #17 1.449 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T09:30:05.739Z] #17 1.645 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T09:30:05.739Z] #17 1.662 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T09:30:05.739Z] #17 1.679 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T09:30:05.739Z] #17 1.694 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T09:30:05.739Z] #17 1.710 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T09:30:05.739Z] #17 1.725 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T09:30:05.739Z] #17 1.742 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T09:30:05.739Z] #17 1.743 -- /opt/iotech/iot/1.5/include [2024-01-24T09:30:05.739Z] #17 1.743 -- C SDK 0.0.0 for Linux [2024-01-24T09:30:05.739Z] #17 1.757 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T09:30:06.325Z] #17 2.081 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T09:30:06.325Z] #17 2.257 -- Found Curses: /usr/lib/libcurses.so [2024-01-24T09:30:06.325Z] #17 2.366 -- Configuring done (1.7s) [2024-01-24T09:30:06.905Z] #17 2.635 -- Generating done (0.2s) [2024-01-24T09:30:06.905Z] #17 2.654 -- Build files have been written to: /tmp/sdk/build/release [2024-01-24T09:30:06.905Z] #17 2.680 + make all package [2024-01-24T09:30:06.905Z] #17 2.680 + tee release.log [2024-01-24T09:30:06.905Z] #17 2.807 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T09:30:07.486Z] #17 3.439 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T09:30:08.440Z] #17 4.317 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T09:30:09.399Z] #17 5.033 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T09:30:09.666Z] #17 5.768 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T09:30:10.625Z] #17 6.394 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T09:30:12.566Z] #17 8.502 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T09:30:13.526Z] #17 9.353 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-24T09:30:13.526Z] #17 9.353 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:30:13.526Z] #17 9.353 294 | while (privateConfig) [2024-01-24T09:30:13.526Z] #17 9.353 | ^~~~~~~~~~~~~ [2024-01-24T09:30:13.526Z] #17 9.353 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-24T09:30:13.526Z] #17 9.353 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T09:30:13.526Z] #17 9.353 | ^~~~~~~~~~~~~ [2024-01-24T09:30:13.526Z] #17 9.354 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:30:13.526Z] #17 9.354 271 | while (result) [2024-01-24T09:30:13.526Z] #17 9.354 | ^~~~~~ [2024-01-24T09:30:13.526Z] #17 9.354 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-24T09:30:13.526Z] #17 9.354 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T09:30:13.526Z] #17 9.354 | ^~~~~~ [2024-01-24T09:30:13.793Z] #17 9.683 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T09:30:14.060Z] #17 9.902 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T09:30:15.021Z] #17 10.72 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T09:30:16.962Z] #17 12.61 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T09:30:17.230Z] #17 13.20 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T09:30:18.186Z] #17 14.00 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T09:30:18.767Z] #17 14.73 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T09:30:19.348Z] #17 15.19 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T09:30:20.305Z] #17 16.21 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T09:30:20.571Z] #17 16.53 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T09:30:22.508Z] #17 18.48 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T09:30:23.096Z] #17 18.81 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T09:30:23.361Z] #17 19.37 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T09:30:24.764Z] #17 20.59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T09:30:31.416Z] #17 26.91 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T09:30:31.682Z] #17 27.51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T09:30:31.950Z] #17 27.89 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T09:30:32.538Z] #17 28.40 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T09:30:32.806Z] #17 28.71 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T09:30:34.215Z] #17 30.12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T09:30:36.157Z] #17 32.28 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T09:30:36.738Z] #17 32.71 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T09:30:37.696Z] #17 33.55 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T09:30:38.278Z] #17 34.12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T09:30:38.545Z] #17 34.39 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T09:30:38.545Z] #17 34.39 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:30:38.545Z] #17 34.39 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T09:30:38.545Z] #17 34.39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:30:38.545Z] #17 34.39 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:30:38.545Z] #17 34.39 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T09:30:38.545Z] #17 34.39 | ^ [2024-01-24T09:30:39.949Z] #17 35.80 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T09:30:39.949Z] #17 35.80 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-24T09:30:39.949Z] #17 35.80 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:30:39.949Z] #17 35.80 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-24T09:30:39.949Z] #17 35.80 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-24T09:30:39.949Z] #17 35.80 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:30:40.905Z] #17 36.82 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T09:30:41.863Z] #17 37.56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T09:30:41.863Z] #17 37.91 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T09:30:42.446Z] #17 38.41 [ 68%] Linking C shared library libcsdk.so [2024-01-24T09:30:42.712Z] #17 38.61 [ 68%] Built target csdk [2024-01-24T09:30:42.712Z] #17 38.66 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T09:30:43.670Z] #17 39.43 [ 72%] Linking C executable template [2024-01-24T09:30:43.937Z] #17 39.74 [ 72%] Built target template [2024-01-24T09:30:43.937Z] #17 39.79 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T09:30:44.203Z] #17 40.29 [ 76%] Linking C executable device-counter [2024-01-24T09:30:44.469Z] #17 40.58 [ 76%] Built target device-counter [2024-01-24T09:30:44.735Z] #17 40.63 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T09:30:45.319Z] #17 41.12 [ 80%] Linking C executable device-random [2024-01-24T09:30:45.586Z] #17 41.41 [ 80%] Built target device-random [2024-01-24T09:30:45.586Z] #17 41.46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T09:30:45.853Z] #17 41.91 [ 84%] Linking C executable device-gyro [2024-01-24T09:30:46.120Z] #17 42.20 [ 84%] Built target device-gyro [2024-01-24T09:30:46.385Z] #17 42.26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T09:30:46.967Z] #17 42.74 [ 88%] Linking C executable device-bitfields [2024-01-24T09:30:46.967Z] #17 43.03 [ 88%] Built target device-bitfields [2024-01-24T09:30:46.967Z] #17 43.08 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T09:30:47.926Z] #17 43.89 [ 92%] Linking C executable template-discovery [2024-01-24T09:30:48.194Z] #17 44.20 [ 92%] Built target template-discovery [2024-01-24T09:30:48.194Z] #17 44.25 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T09:30:49.152Z] #17 44.95 [ 96%] Linking C executable device-file [2024-01-24T09:30:49.152Z] #17 45.27 [ 96%] Built target device-file [2024-01-24T09:30:49.417Z] #17 45.33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T09:30:50.000Z] #17 45.94 [100%] Linking C executable device-terminal [2024-01-24T09:30:50.267Z] #17 46.27 [100%] Built target device-terminal [2024-01-24T09:30:50.534Z] #17 46.33 Run CPack packaging tool... [2024-01-24T09:30:50.535Z] #17 46.37 CPack: Create package using TGZ [2024-01-24T09:30:50.535Z] #17 46.37 CPack: Install projects [2024-01-24T09:30:50.535Z] #17 46.37 CPack: - Run preinstall target for: Csdk [2024-01-24T09:30:51.117Z] #17 47.15 CPack: - Install project: Csdk [] [2024-01-24T09:30:51.117Z] #17 47.19 CPack: Create package [2024-01-24T09:30:51.383Z] #17 47.28 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-24T09:30:51.383Z] #17 47.28 + '[' false '=' true ] [2024-01-24T09:30:51.383Z] #17 47.28 + '[' false '=' true ] [2024-01-24T09:30:51.383Z] #17 47.28 + mkdir -p /tmp/sdk/build/debug [2024-01-24T09:30:51.383Z] #17 47.29 + cd /tmp/sdk/build/debug [2024-01-24T09:30:51.383Z] #17 47.29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-24T09:30:51.650Z] #17 47.60 -- The C compiler identification is GNU 12.2.1 [2024-01-24T09:30:51.650Z] #17 47.67 -- Detecting C compiler ABI info [2024-01-24T09:30:51.914Z] #17 47.99 -- Detecting C compiler ABI info - done [2024-01-24T09:30:52.184Z] #17 48.08 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T09:30:52.184Z] #17 48.08 -- Detecting C compile features [2024-01-24T09:30:52.184Z] #17 48.08 -- Detecting C compile features - done [2024-01-24T09:30:52.184Z] #17 48.10 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T09:30:52.184Z] #17 48.29 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T09:30:52.184Z] #17 48.31 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T09:30:52.452Z] #17 48.32 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T09:30:52.452Z] #17 48.34 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T09:30:52.452Z] #17 48.35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T09:30:52.452Z] #17 48.36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T09:30:52.452Z] #17 48.38 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T09:30:52.452Z] #17 48.38 -- /opt/iotech/iot/1.5/include [2024-01-24T09:30:52.452Z] #17 48.38 -- C SDK 0.0.0 for Linux [2024-01-24T09:30:52.452Z] #17 48.39 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T09:30:52.720Z] #17 48.71 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T09:30:52.988Z] #17 48.88 -- Found Curses: /usr/lib/libcurses.so [2024-01-24T09:30:52.988Z] #17 48.98 -- Configuring done (1.7s) [2024-01-24T09:30:53.254Z] #17 49.23 -- Generating done (0.2s) [2024-01-24T09:30:53.254Z] #17 49.25 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-24T09:30:53.254Z] #17 49.27 + make [2024-01-24T09:30:53.254Z] #17 49.27 + tee debug.log [2024-01-24T09:30:53.254Z] #17 49.39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T09:30:53.840Z] #17 49.76 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T09:30:54.105Z] #17 50.12 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T09:30:54.687Z] #17 50.45 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T09:30:54.951Z] #17 50.80 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T09:30:55.215Z] #17 51.14 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T09:30:55.794Z] #17 51.78 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T09:30:56.376Z] #17 52.21 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T09:30:56.376Z] #17 52.36 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T09:30:56.642Z] #17 52.77 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T09:30:57.226Z] #17 53.37 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T09:30:57.807Z] #17 53.69 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T09:30:58.077Z] #17 54.09 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T09:30:58.660Z] #17 54.44 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T09:30:58.925Z] #17 54.76 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T09:30:59.195Z] #17 55.12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T09:30:59.460Z] #17 55.33 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T09:31:00.048Z] #17 56.04 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T09:31:00.314Z] #17 56.27 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T09:31:00.586Z] #17 56.50 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T09:31:01.169Z] #17 57.11 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T09:31:02.576Z] #17 58.22 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T09:31:02.576Z] #17 58.58 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T09:31:02.843Z] #17 58.83 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T09:31:03.424Z] #17 59.14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T09:31:03.424Z] #17 59.40 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T09:31:04.006Z] #17 59.89 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T09:31:05.413Z] #17 61.15 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T09:31:05.413Z] #17 61.41 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T09:31:05.999Z] #17 61.81 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T09:31:06.267Z] #17 62.18 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T09:31:06.533Z] #17 62.43 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T09:31:06.533Z] #17 62.43 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:31:06.533Z] #17 62.43 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T09:31:06.533Z] #17 62.43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T09:31:06.533Z] #17 62.43 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T09:31:06.533Z] #17 62.43 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T09:31:06.533Z] #17 62.43 | ^ [2024-01-24T09:31:07.117Z] #17 62.95 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T09:31:07.385Z] #17 63.30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T09:31:07.653Z] #17 63.58 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T09:31:07.921Z] #17 63.85 [ 68%] Linking C shared library libcsdk.so [2024-01-24T09:31:08.188Z] #17 64.11 [ 68%] Built target csdk [2024-01-24T09:31:08.188Z] #17 64.17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T09:31:08.456Z] #17 64.50 [ 72%] Linking C executable template [2024-01-24T09:31:09.041Z] #17 64.87 [ 72%] Built target template [2024-01-24T09:31:09.041Z] #17 64.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T09:31:09.308Z] #17 65.22 [ 76%] Linking C executable device-counter [2024-01-24T09:31:09.576Z] #17 65.59 [ 76%] Built target device-counter [2024-01-24T09:31:09.844Z] #17 65.65 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T09:31:10.113Z] #17 65.94 [ 80%] Linking C executable device-random [2024-01-24T09:31:10.378Z] #17 66.25 [ 80%] Built target device-random [2024-01-24T09:31:10.378Z] #17 66.31 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T09:31:10.643Z] #17 66.58 [ 84%] Linking C executable device-gyro [2024-01-24T09:31:10.908Z] #17 66.87 [ 84%] Built target device-gyro [2024-01-24T09:31:10.908Z] #17 66.93 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T09:31:11.488Z] #17 67.23 [ 88%] Linking C executable device-bitfields [2024-01-24T09:31:11.488Z] #17 67.62 [ 88%] Built target device-bitfields [2024-01-24T09:31:11.753Z] #17 67.68 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T09:31:12.018Z] #17 68.04 [ 92%] Linking C executable template-discovery [2024-01-24T09:31:12.605Z] #17 68.34 [ 92%] Built target template-discovery [2024-01-24T09:31:12.605Z] #17 68.40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T09:31:12.871Z] #17 68.72 [ 96%] Linking C executable device-file [2024-01-24T09:31:13.137Z] #17 69.02 [ 96%] Built target device-file [2024-01-24T09:31:13.138Z] #17 69.07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T09:31:13.404Z] #17 69.45 [100%] Linking C executable device-terminal [2024-01-24T09:31:13.671Z] #17 69.77 [100%] Built target device-terminal [2024-01-24T09:31:13.671Z] #17 69.81 make: Entering directory '/tmp/sdk/build/release' [2024-01-24T09:31:14.253Z] #17 69.97 [ 68%] Built target csdk [2024-01-24T09:31:14.253Z] #17 70.02 [ 72%] Built target template [2024-01-24T09:31:14.253Z] #17 70.08 [ 76%] Built target device-counter [2024-01-24T09:31:14.253Z] #17 70.14 [ 80%] Built target device-random [2024-01-24T09:31:14.253Z] #17 70.20 [ 84%] Built target device-gyro [2024-01-24T09:31:14.253Z] #17 70.26 [ 88%] Built target device-bitfields [2024-01-24T09:31:14.253Z] #17 70.32 [ 92%] Built target template-discovery [2024-01-24T09:31:14.521Z] #17 70.38 [ 96%] Built target device-file [2024-01-24T09:31:14.521Z] #17 70.43 [100%] Built target device-terminal [2024-01-24T09:31:14.521Z] #17 70.48 Install the project... [2024-01-24T09:31:14.521Z] #17 70.51 -- Install configuration: "Release" [2024-01-24T09:31:14.521Z] #17 70.51 -- Installing: /usr/local/lib/libcsdk.so [2024-01-24T09:31:14.521Z] #17 70.52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/devsdk [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/edgex [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-24T09:31:14.521Z] #17 70.52 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/include/edgex/devices.h [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-24T09:31:14.521Z] #17 70.53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-24T09:31:14.521Z] #17 70.54 make: Leaving directory '/tmp/sdk/build/release' [2024-01-24T09:31:14.521Z] #17 DONE 70.7s [2024-01-24T09:31:14.791Z] [2024-01-24T09:31:14.791Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-24T09:31:14.791Z] #18 DONE 0.1s [2024-01-24T09:31:15.057Z] [2024-01-24T09:31:15.057Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-24T09:31:15.057Z] #19 DONE 0.1s [2024-01-24T09:31:15.057Z] [2024-01-24T09:31:15.057Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-24T09:31:15.057Z] #20 DONE 0.1s [2024-01-24T09:31:15.324Z] [2024-01-24T09:31:15.324Z] #21 exporting to image [2024-01-24T09:31:15.324Z] #21 exporting layers [2024-01-24T09:31:15.324Z] #21 exporting layers 0.3s done [2024-01-24T09:31:15.591Z] #21 writing image sha256:de07d9dd5f2e8fe489b12610326ab8d771735da0db529a443bdad145090e4982 done [2024-01-24T09:31:15.591Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-24T09:31:15.591Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:31:16.259Z] + docker inspect -f . ci-base-image-arm64 [2024-01-24T09:31:16.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:31:16.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-27795 does not seem to be running inside a container [2024-01-24T09:31:16.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-24T09:31:17.693Z] $ docker top 316da1fb3f35bf94442b927f38f9d664765eaef4815e18fa2edfa1117176815e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T09:31:18.209Z] + make test [2024-01-24T09:31:18.209Z] echo "make test" [2024-01-24T09:31:18.474Z] make test [Pipeline] } [2024-01-24T09:31:18.495Z] $ docker stop --time=1 316da1fb3f35bf94442b927f38f9d664765eaef4815e18fa2edfa1117176815e [2024-01-24T09:31:24.164Z] $ docker rm -f --volumes 316da1fb3f35bf94442b927f38f9d664765eaef4815e18fa2edfa1117176815e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T09:31:24.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-24T09:31:25.256Z] + ls -al . [2024-01-24T09:31:25.257Z] total 208 [2024-01-24T09:31:25.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 09:29 . [2024-01-24T09:31:25.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:29 .. [2024-01-24T09:31:25.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 09:29 .git [2024-01-24T09:31:25.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 09:29 .github [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 24 09:29 .gitignore [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 24 09:29 Attribution.txt [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 24 09:29 CHANGELOG.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 24 09:29 Doxyfile [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 09:29 GOVERNANCE.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 24 09:29 Jenkinsfile [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 24 09:29 LICENSE [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 24 09:29 Makefile [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 24 09:29 OWNERS.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 24 09:29 README.IOT.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 24 09:29 README.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 24 09:29 README.v3.md [2024-01-24T09:31:25.257Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 09:26 VERSION [2024-01-24T09:31:25.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 09:29 docs [2024-01-24T09:31:25.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:29 include [2024-01-24T09:31:25.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 09:29 scripts [2024-01-24T09:31:25.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 09:29 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:31:25.659Z] + 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=1ada961f16dfd6d0f05326518af38c4a60e3ba3d --label arch=arm64 --label version=0.0.0 . [2024-01-24T09:31:26.639Z] #0 building with "default" instance using docker driver [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #1 [internal] load .dockerignore [2024-01-24T09:31:26.640Z] #1 transferring context: 2B done [2024-01-24T09:31:26.640Z] #1 DONE 0.0s [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-24T09:31:26.640Z] #2 transferring dockerfile: 1.44kB 0.0s done [2024-01-24T09:31:26.640Z] #2 DONE 0.0s [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-24T09:31:26.640Z] #3 DONE 0.0s [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #4 [internal] load build context [2024-01-24T09:31:26.640Z] #4 transferring context: 8.55kB 0.1s done [2024-01-24T09:31:26.640Z] #4 DONE 0.1s [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-24T09:31:26.640Z] #5 DONE 0.2s [2024-01-24T09:31:26.640Z] [2024-01-24T09:31:26.640Z] #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-24T09:31:27.231Z] #6 0.615 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-24T09:31:27.819Z] #6 1.121 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T09:31:27.819Z] #6 1.121 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T09:31:27.819Z] #6 1.121 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T09:31:27.819Z] #6 DONE 1.2s [2024-01-24T09:31:27.819Z] [2024-01-24T09:31:27.819Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T09:31:28.791Z] #7 DONE 0.8s [2024-01-24T09:31:28.791Z] [2024-01-24T09:31:28.791Z] #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-24T09:31:29.374Z] #8 0.771 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:31:29.956Z] #8 1.147 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T09:31:30.223Z] #8 1.694 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T09:31:31.178Z] #8 2.550 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T09:31:31.178Z] #8 2.587 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T09:31:31.448Z] #8 2.888 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-24T09:31:31.448Z] #8 2.905 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T09:31:31.448Z] #8 2.911 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T09:31:31.448Z] #8 2.917 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T09:31:31.448Z] #8 2.923 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T09:31:31.448Z] #8 2.948 (7/11) Installing libblkid (2.38.1-r8) [2024-01-24T09:31:31.448Z] #8 2.962 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-24T09:31:31.716Z] #8 2.977 (9/11) Installing libmount (2.38.1-r8) [2024-01-24T09:31:31.716Z] #8 2.992 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-24T09:31:31.716Z] #8 3.003 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-24T09:31:31.716Z] #8 3.075 Executing busybox-1.36.1-r4.trigger [2024-01-24T09:31:31.716Z] #8 3.117 OK: 333 MiB in 100 packages [2024-01-24T09:31:31.985Z] #8 DONE 3.4s [2024-01-24T09:31:31.985Z] [2024-01-24T09:31:31.985Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-24T09:31:31.985Z] #9 DONE 0.1s [2024-01-24T09:31:32.254Z] [2024-01-24T09:31:32.254Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-24T09:31:32.254Z] #10 DONE 0.2s [2024-01-24T09:31:32.254Z] [2024-01-24T09:31:32.254Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-24T09:31:32.532Z] #11 DONE 0.1s [2024-01-24T09:31:32.532Z] [2024-01-24T09:31:32.532Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-24T09:31:32.532Z] #12 DONE 0.1s [2024-01-24T09:31:32.532Z] [2024-01-24T09:31:32.532Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-24T09:31:32.532Z] #13 DONE 0.1s [2024-01-24T09:31:32.532Z] [2024-01-24T09:31:32.532Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-24T09:31:32.800Z] #14 DONE 0.1s [2024-01-24T09:31:32.800Z] [2024-01-24T09:31:32.800Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-24T09:31:32.800Z] #15 DONE 0.1s [2024-01-24T09:31:32.800Z] [2024-01-24T09:31:32.800Z] #16 exporting to image [2024-01-24T09:31:32.800Z] #16 exporting layers [2024-01-24T09:31:33.383Z] #16 exporting layers 0.4s done [2024-01-24T09:31:33.383Z] #16 writing image sha256:a90daa6f6e455a36a11d0aa87a41a5e274cfd4b4cf45f745349fe57dad4f3ff9 done [2024-01-24T09:31:33.383Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-24T09:31:33.383Z] #16 DONE 0.5s [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-24T09:31:34.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T09:31:34.133Z] [2024-01-24T09:31:34.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:31:34.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T09:31:37.080Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-24T09:31:37.080Z] 8998bd30e6a1: Pulling fs layer [2024-01-24T09:31:37.080Z] 04944245beec: Pulling fs layer [2024-01-24T09:31:37.080Z] 699f458cf7ca: Pulling fs layer [2024-01-24T09:31:37.080Z] 765212b225bb: Pulling fs layer [2024-01-24T09:31:37.080Z] f23df028b6ca: Pulling fs layer [2024-01-24T09:31:37.080Z] d65c8cfc05b1: Pulling fs layer [2024-01-24T09:31:37.080Z] 2437ff75d9bd: Pulling fs layer [2024-01-24T09:31:37.080Z] f23df028b6ca: Waiting [2024-01-24T09:31:37.080Z] 2437ff75d9bd: Waiting [2024-01-24T09:31:37.080Z] d65c8cfc05b1: Waiting [2024-01-24T09:31:37.080Z] 765212b225bb: Waiting [2024-01-24T09:31:37.080Z] 04944245beec: Verifying Checksum [2024-01-24T09:31:37.080Z] 04944245beec: Download complete [2024-01-24T09:31:37.080Z] 765212b225bb: Download complete [2024-01-24T09:31:37.080Z] f23df028b6ca: Verifying Checksum [2024-01-24T09:31:37.080Z] f23df028b6ca: Download complete [2024-01-24T09:31:37.350Z] d65c8cfc05b1: Verifying Checksum [2024-01-24T09:31:37.350Z] d65c8cfc05b1: Download complete [2024-01-24T09:31:37.350Z] 699f458cf7ca: Verifying Checksum [2024-01-24T09:31:37.350Z] 699f458cf7ca: Download complete [2024-01-24T09:31:37.618Z] 8998bd30e6a1: Verifying Checksum [2024-01-24T09:31:37.618Z] 8998bd30e6a1: Download complete [2024-01-24T09:31:39.565Z] 2437ff75d9bd: Verifying Checksum [2024-01-24T09:31:39.565Z] 2437ff75d9bd: Download complete [2024-01-24T09:31:43.835Z] 8998bd30e6a1: Pull complete [2024-01-24T09:31:44.106Z] 04944245beec: Pull complete [2024-01-24T09:31:46.061Z] 699f458cf7ca: Pull complete [2024-01-24T09:31:46.061Z] 765212b225bb: Pull complete [2024-01-24T09:31:46.645Z] f23df028b6ca: Pull complete [2024-01-24T09:31:46.645Z] d65c8cfc05b1: Pull complete [2024-01-24T09:32:08.709Z] 2437ff75d9bd: Pull complete [2024-01-24T09:32:08.709Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-24T09:32:08.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T09:32:08.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:32:08.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-27795 does not seem to be running inside a container [2024-01-24T09:32:09.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-24T09:32:10.411Z] $ docker top b81e12f3932ad09a68fce33f41416a435c1cc4b8b4e80f8f22eb0d382f5e6c8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:10.952Z] ---> job-cost.sh [2024-01-24T09:32:11.220Z] lf-activate-venv: SKIPPING [2024-01-24T09:32:11.220Z] INFO: No Stack... [2024-01-24T09:32:11.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T09:32:12.444Z] INFO: Archiving Costs [Pipeline] sh [2024-01-24T09:32:12.769Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-01-24T09:32:12.769Z] + cut -d, -f6 [Pipeline] lock [2024-01-24T09:32:12.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [2024-01-24T09:32:12.837Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] did not exist. Created. [2024-01-24T09:32:12.837Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-24T09:32:13.242Z] /w/workspace/device-sdk-c/2@tmp/durable-f15429af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-24T09:32:13.566Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-24T09:32:13.582Z] Warning: overwriting stash ‘stack-cost’ [2024-01-24T09:32:14.029Z] Stashed 1 file(s) [Pipeline] } [2024-01-24T09:32:14.036Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-508-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-24T09:32:14.122Z] $ docker stop --time=1 b81e12f3932ad09a68fce33f41416a435c1cc4b8b4e80f8f22eb0d382f5e6c8a [2024-01-24T09:32:15.515Z] $ docker rm -f --volumes b81e12f3932ad09a68fce33f41416a435c1cc4b8b4e80f8f22eb0d382f5e6c8a [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-24T09:32:17.194Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives ] [2024-01-24T09:32:17.194Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T09:32:17.194Z] total 16 [2024-01-24T09:32:17.194Z] drwxr-xr-x 3 root root 4096 Jan 24 09:27 . [2024-01-24T09:32:17.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 09:27 .. [2024-01-24T09:32:17.194Z] drwxr-xr-x 2 root root 4096 Jan 24 09:27 cost [2024-01-24T09:32:17.194Z] -rw-r--r-- 1 root root 84 Jan 24 09:27 cost.csv [2024-01-24T09:32:17.194Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T09:32:17.194Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T09:32:17.194Z] total 16 [2024-01-24T09:32:17.194Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 09:27 . [2024-01-24T09:32:17.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 09:27 .. [2024-01-24T09:32:17.194Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 09:27 cost [2024-01-24T09:32:17.194Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 24 09:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:17.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:18.346Z] ---> package-listing.sh [2024-01-24T09:32:18.346Z] ++ facter osfamily [2024-01-24T09:32:18.346Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-24T09:32:18.605Z] + OS_FAMILY=debian [2024-01-24T09:32:18.605Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-508 [2024-01-24T09:32:18.605Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-24T09:32:18.605Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-24T09:32:18.605Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-24T09:32:18.605Z] + PACKAGES=/tmp/packages_start.txt [2024-01-24T09:32:18.605Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-508 ']' [2024-01-24T09:32:18.605Z] + PACKAGES=/tmp/packages_end.txt [2024-01-24T09:32:18.605Z] + case "${OS_FAMILY}" in [2024-01-24T09:32:18.605Z] + dpkg -l [2024-01-24T09:32:18.605Z] + grep '^ii' [2024-01-24T09:32:18.605Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-24T09:32:18.605Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-24T09:32:18.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-24T09:32:18.605Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-508 ']' [2024-01-24T09:32:18.605Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/ [2024-01-24T09:32:18.605Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/ [Pipeline] echo [2024-01-24T09:32:18.617Z] 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-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-24T09:32:18.893Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T09:32:19.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T09:32:19.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T09:32:19.629Z] prd-ubuntu20.04-docker-8c-8g-27794 does not seem to be running inside a container [2024-01-24T09:32:19.657Z] $ 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-508/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-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-24T09:32:19.890Z] $ docker top b86cd02446c4d500402d2bc2a77f8cc0f0708965a5350da3de87b20d7cf36191 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T09:32:20.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-24T09:32:20.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-24T09:32:20.970Z] + ls /var/log/sa-host [2024-01-24T09:32:20.970Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T09:32:21.082Z] provisioning config files... [2024-01-24T09:32:21.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config11465416494074157143tmp [Pipeline] { [Pipeline] echo [2024-01-24T09:32:21.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:21.484Z] ---> create-netrc.sh [Pipeline] } [2024-01-24T09:32:21.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:21.879Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-24T09:32:21.889Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:22.178Z] ---> sudo-logs.sh [2024-01-24T09:32:22.178Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-24T09:32:22.229Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:22.514Z] ---> job-cost.sh [2024-01-24T09:32:22.514Z] lf-activate-venv: SKIPPING [2024-01-24T09:32:22.514Z] DEBUG: total: 0.2199999988079071 [2024-01-24T09:32:22.514Z] INFO: Retrieving Stack Cost... [2024-01-24T09:32:22.774Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T09:32:23.342Z] INFO: Archiving Costs [Pipeline] echo [2024-01-24T09:32:23.355Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T09:32:23.638Z] ---> logs-deploy.sh [2024-01-24T09:32:23.638Z] lf-activate-venv: SKIPPING [2024-01-24T09:32:23.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-508/2 [2024-01-24T09:32:23.638Z] INFO: archiving workspace using pattern(s): [2024-01-24T09:32:24.574Z] Archives upload complete. [2024-01-24T09:32:24.575Z] INFO: archiving logs to Nexus