Pull request #506 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than f82302835794dd089678c2b993c2bca3dcefec8b Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11266764521109192051.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-ssh11439021507318850429.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-506/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-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2009182369883160861.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-ssh12856470063827445812.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-506/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-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15108876319681312856.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-26651 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit f82302835794dd089678c2b993c2bca3dcefec8b Merge succeeded, producing f82302835794dd089678c2b993c2bca3dcefec8b Checking out Revision f82302835794dd089678c2b993c2bca3dcefec8b (PR-506) > git config core.sparsecheckout # timeout=10 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 Commit message: "When reading's value is string type, it will be released prematurely" First time build. Skipping changelog. > git rev-list --no-walk 14f0817b121f6b2e3684e1d244620a983d81da4a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-02T17:38:12.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-02T17:38:12.334Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-02T17:38:12.360Z] ========================================================= [2024-01-02T17:38:12.360Z] EdgeX Global Pipelines Version Info [2024-01-02T17:38:12.360Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:38:13.090Z] ------------------- [2024-01-02T17:38:13.090Z] stable info: [2024-01-02T17:38:13.090Z] ------------------- [2024-01-02T17:38:13.090Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-02T17:38:13.090Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-02T17:38:13.090Z] Message: update stable to v1.0.258 [2024-01-02T17:38:13.660Z] ------------------- [2024-01-02T17:38:13.660Z] experimental info: [2024-01-02T17:38:13.660Z] ------------------- [2024-01-02T17:38:13.660Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-02T17:38:13.660Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-02T17:38:13.660Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-02T17:38:13.753Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-02T17:38:13.778Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-02T17:38:13.806Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-02T17:38:13.832Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-02T17:38:13.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-02T17:38:13.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-02T17:38:13.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-02T17:38:13.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-02T17:38:13.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-02T17:38:14.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-02T17:38:14.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-02T17:38:14.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-02T17:38:14.124Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-02T17:38:14.157Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-02T17:38:14.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-02T17:38:14.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-02T17:38:14.248Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-02T17:38:14.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo [2024-01-02T17:38:14.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo [2024-01-02T17:38:14.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo [2024-01-02T17:38:14.390Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo [2024-01-02T17:38:14.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f823028 [Pipeline] echo [2024-01-02T17:38:14.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:38:14.546Z] provisioning config files... [2024-01-02T17:38:14.558Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config8211454770859309849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:38:14.894Z] ---> ****-login.sh [2024-01-02T17:38:14.894Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:38:15.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:15.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:15.156Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:15.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:15.156Z] [2024-01-02T17:38:15.156Z] Login Succeeded [2024-01-02T17:38:15.156Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:38:15.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:15.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:15.416Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:15.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:15.416Z] [2024-01-02T17:38:15.416Z] Login Succeeded [2024-01-02T17:38:15.416Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:38:15.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:15.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:15.416Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:15.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:15.416Z] [2024-01-02T17:38:15.416Z] Login Succeeded [2024-01-02T17:38:15.416Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:38:15.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:15.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:15.678Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:15.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:15.678Z] [2024-01-02T17:38:15.678Z] Login Succeeded [2024-01-02T17:38:15.678Z] ****.io [2024-01-02T17:38:15.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:15.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:15.939Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:15.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:15.939Z] [2024-01-02T17:38:15.939Z] Login Succeeded [2024-01-02T17:38:15.939Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:38:15.948Z] 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-02T17:38:16.450Z] + git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo [2024-01-02T17:38:16.476Z] -----------> git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b f82302835794dd089678c2b993c2bca3dcefec8b [false] [Pipeline] sh [2024-01-02T17:38:16.777Z] + git log --format=format:%s -1 f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo [2024-01-02T17:38:16.791Z] ========================================================= [2024-01-02T17:38:16.791Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-02T17:38:16.791Z] ========================================================= 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-02T17:38:17.338Z] + git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo [2024-01-02T17:38:17.352Z] -----------> git rev-list -1 --merges f82302835794dd089678c2b993c2bca3dcefec8b~1..f82302835794dd089678c2b993c2bca3dcefec8b f82302835794dd089678c2b993c2bca3dcefec8b [false] [Pipeline] sh [2024-01-02T17:38:17.656Z] + git log --format=format:%s -1 f82302835794dd089678c2b993c2bca3dcefec8b [Pipeline] echo [2024-01-02T17:38:17.672Z] ========================================================= [2024-01-02T17:38:17.672Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-02T17:38:17.672Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-02T17:38:18.156Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-02T17:38:18.156Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-02T17:38:18.156Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-02T17:38:18.156Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-02T17:38:18.156Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-02T17:38:18.156Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-02T17:38:18.156Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:38:18.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:38:18.590Z] [2024-01-02T17:38:18.590Z] 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-02T17:38:18.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:38:18.912Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-02T17:38:18.912Z] b85a868b505f: Pulling fs layer [2024-01-02T17:38:18.912Z] e2be974225ed: Pulling fs layer [2024-01-02T17:38:18.912Z] 339a4e72a1f5: Pulling fs layer [2024-01-02T17:38:18.912Z] 988bab9f4d93: Pulling fs layer [2024-01-02T17:38:18.912Z] 1469e6f7b9e6: Pulling fs layer [2024-01-02T17:38:18.912Z] eaf3925da568: Pulling fs layer [2024-01-02T17:38:18.912Z] bab4dde63d76: Pulling fs layer [2024-01-02T17:38:18.912Z] bde34c3a00c8: Pulling fs layer [2024-01-02T17:38:18.912Z] b352a97aabf1: Pulling fs layer [2024-01-02T17:38:18.912Z] 4872d77fe225: Pulling fs layer [2024-01-02T17:38:18.912Z] 5851b861e8e6: Pulling fs layer [2024-01-02T17:38:18.912Z] 988bab9f4d93: Waiting [2024-01-02T17:38:18.912Z] 1469e6f7b9e6: Waiting [2024-01-02T17:38:18.912Z] bab4dde63d76: Waiting [2024-01-02T17:38:18.912Z] 4872d77fe225: Waiting [2024-01-02T17:38:18.912Z] 5851b861e8e6: Waiting [2024-01-02T17:38:18.912Z] bde34c3a00c8: Waiting [2024-01-02T17:38:18.912Z] b352a97aabf1: Waiting [2024-01-02T17:38:18.912Z] e2be974225ed: Verifying Checksum [2024-01-02T17:38:18.912Z] e2be974225ed: Download complete [2024-01-02T17:38:18.912Z] 988bab9f4d93: Verifying Checksum [2024-01-02T17:38:18.912Z] 988bab9f4d93: Download complete [2024-01-02T17:38:18.912Z] 1469e6f7b9e6: Verifying Checksum [2024-01-02T17:38:18.912Z] 1469e6f7b9e6: Download complete [2024-01-02T17:38:18.912Z] 339a4e72a1f5: Verifying Checksum [2024-01-02T17:38:18.912Z] 339a4e72a1f5: Download complete [2024-01-02T17:38:18.912Z] eaf3925da568: Verifying Checksum [2024-01-02T17:38:18.912Z] eaf3925da568: Download complete [2024-01-02T17:38:19.174Z] bde34c3a00c8: Verifying Checksum [2024-01-02T17:38:19.174Z] bde34c3a00c8: Download complete [2024-01-02T17:38:19.174Z] b352a97aabf1: Verifying Checksum [2024-01-02T17:38:19.174Z] b352a97aabf1: Download complete [2024-01-02T17:38:19.174Z] 4872d77fe225: Verifying Checksum [2024-01-02T17:38:19.174Z] 4872d77fe225: Download complete [2024-01-02T17:38:19.174Z] 5851b861e8e6: Download complete [2024-01-02T17:38:19.174Z] b85a868b505f: Verifying Checksum [2024-01-02T17:38:19.174Z] b85a868b505f: Download complete [2024-01-02T17:38:19.433Z] bab4dde63d76: Verifying Checksum [2024-01-02T17:38:19.433Z] bab4dde63d76: Download complete [2024-01-02T17:38:20.370Z] b85a868b505f: Pull complete [2024-01-02T17:38:20.630Z] e2be974225ed: Pull complete [2024-01-02T17:38:21.200Z] 339a4e72a1f5: Pull complete [2024-01-02T17:38:21.200Z] 988bab9f4d93: Pull complete [2024-01-02T17:38:21.460Z] 1469e6f7b9e6: Pull complete [2024-01-02T17:38:21.460Z] eaf3925da568: Pull complete [2024-01-02T17:38:23.365Z] bab4dde63d76: Pull complete [2024-01-02T17:38:23.365Z] bde34c3a00c8: Pull complete [2024-01-02T17:38:23.626Z] b352a97aabf1: Pull complete [2024-01-02T17:38:23.626Z] 4872d77fe225: Pull complete [2024-01-02T17:38:23.626Z] 5851b861e8e6: Pull complete [2024-01-02T17:38:23.626Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-02T17:38:23.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:38:23.626Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:38:23.823Z] prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container [2024-01-02T17:38:23.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-02T17:38:26.583Z] $ docker top 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 -eo pid,comm [2024-01-02T17:38:26.639Z] 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-02T17:38:26.639Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-02T17:38:26.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-02T17:38:26.715Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-02T17:38:26.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-02T17:38:26.831Z] $ docker exec 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent [2024-01-02T17:38:26.939Z] SSH_AUTH_SOCK=/tmp/ssh-oIBCAdFjatxW/agent.32 [2024-01-02T17:38:26.939Z] SSH_AGENT_PID=38 [2024-01-02T17:38:26.944Z] Running ssh-add (command line suppressed) [2024-01-02T17:38:27.035Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_17100687573466443912.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_17100687573466443912.key) [2024-01-02T17:38:27.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-02T17:38:27.357Z] + git tag --points-at HEAD [Pipeline] } [2024-01-02T17:38:27.366Z] $ docker exec --env ******** --env ******** 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent -k [2024-01-02T17:38:27.463Z] unset SSH_AUTH_SOCK; [2024-01-02T17:38:27.464Z] unset SSH_AGENT_PID; [2024-01-02T17:38:27.464Z] echo Agent pid 38 killed; [2024-01-02T17:38:27.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-02T17:38:27.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-02T17:38:27.525Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-02T17:38:27.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-02T17:38:27.628Z] $ docker exec 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent [2024-01-02T17:38:27.737Z] SSH_AUTH_SOCK=/tmp/ssh-mBC7iB9nhOrv/agent.70 [2024-01-02T17:38:27.738Z] SSH_AGENT_PID=76 [2024-01-02T17:38:27.742Z] Running ssh-add (command line suppressed) [2024-01-02T17:38:27.835Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_4838595286547685792.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_4838595286547685792.key) [2024-01-02T17:38:27.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-02T17:38:28.143Z] + git semver init [2024-01-02T17:38:28.403Z] 2024-01-02 17:38:28,321 [run_init] DEBUG init version:0.0.0 force:False [2024-01-02T17:38:28.403Z] 2024-01-02 17:38:28,322 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-02T17:38:28.403Z] 2024-01-02 17:38:28,323 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-02T17:38:28.403Z] 2024-01-02 17:38:28,324 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506, universal_newlines=False, shell=None, istream=None) [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.git/info/exclude [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 with force:False [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,199 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,204 [execute] INFO git cat-file --batch-check [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,212 [execute] INFO git cat-file --batch [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-02T17:38:29.340Z] 2024-01-02 17:38:29,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-02T17:38:29.340Z] 0.0.0 [Pipeline] } [2024-01-02T17:38:29.348Z] $ docker exec --env ******** --env ******** 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 ssh-agent -k [2024-01-02T17:38:29.451Z] unset SSH_AUTH_SOCK; [2024-01-02T17:38:29.452Z] unset SSH_AGENT_PID; [2024-01-02T17:38:29.454Z] echo Agent pid 76 killed; [2024-01-02T17:38:29.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-02T17:38:29.821Z] + git semver [Pipeline] } [2024-01-02T17:38:30.093Z] $ docker stop --time=1 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 [2024-01-02T17:38:31.374Z] $ docker rm -f --volumes 434c16b4ae482bed36b64c6bff5db6f34369d57d8663777396d32f125dec5ee0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-02T17:38:31.748Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-02T17:38:31.970Z] Stashed 1 file(s) [Pipeline] echo [2024-01-02T17:38:31.973Z] [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-02T17:38:32.264Z] provisioning config files... [2024-01-02T17:38:32.275Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config15922942818169599597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:38:32.603Z] ---> ****-login.sh [2024-01-02T17:38:32.603Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:38:32.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:32.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:32.604Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:32.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:32.604Z] [2024-01-02T17:38:32.604Z] Login Succeeded [2024-01-02T17:38:32.604Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:38:32.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:32.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:32.604Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:32.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:32.604Z] [2024-01-02T17:38:32.604Z] Login Succeeded [2024-01-02T17:38:32.604Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:38:32.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:32.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:32.864Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:32.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:32.864Z] [2024-01-02T17:38:32.864Z] Login Succeeded [2024-01-02T17:38:32.864Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:38:32.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:32.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:32.865Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:32.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:32.865Z] [2024-01-02T17:38:32.865Z] Login Succeeded [2024-01-02T17:38:32.865Z] ****.io [2024-01-02T17:38:32.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:38:33.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:38:33.125Z] Configure a credential helper to remove this warning. See [2024-01-02T17:38:33.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:38:33.125Z] [2024-01-02T17:38:33.125Z] Login Succeeded [2024-01-02T17:38:33.125Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:38:33.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-02T17:38:33.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:38:33.287Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-02T17:38:33.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:38:33.349Z] ========================================================= [2024-01-02T17:38:33.349Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-02T17:38:33.349Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:38:33.720Z] + 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-02T17:38:33.720Z] Sending build context to Docker daemon 4.968MB [2024-01-02T17:38:33.720Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-02T17:38:33.720Z] Step 2/21 : FROM ${BASE} as builder [2024-01-02T17:38:33.720Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-02T17:38:33.720Z] 96526aa774ef: Pulling fs layer [2024-01-02T17:38:33.720Z] da60e534fd72: Pulling fs layer [2024-01-02T17:38:33.979Z] 96526aa774ef: Download complete [2024-01-02T17:38:33.979Z] 96526aa774ef: Pull complete [2024-01-02T17:38:34.915Z] da60e534fd72: Verifying Checksum [2024-01-02T17:38:34.915Z] da60e534fd72: Download complete [2024-01-02T17:38:38.213Z] da60e534fd72: Pull complete [2024-01-02T17:38:38.213Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-02T17:38:38.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-02T17:38:38.213Z] ---> 6605166a5db4 [2024-01-02T17:38:38.213Z] 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-02T17:38:40.128Z] ---> Running in eb713af4b0dc [2024-01-02T17:38:40.697Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-02T17:38:40.957Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:38:40.957Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:38:40.957Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:38:41.217Z] Removing intermediate container eb713af4b0dc [2024-01-02T17:38:41.217Z] ---> 99333145411d [2024-01-02T17:38:41.217Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:38:41.217Z] ---> Running in 65c18ff4ed74 [2024-01-02T17:38:41.791Z] Removing intermediate container 65c18ff4ed74 [2024-01-02T17:38:41.791Z] ---> b3fd8229fd60 [2024-01-02T17:38:41.791Z] 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-02T17:38:41.791Z] ---> Running in 19e14f90a128 [2024-01-02T17:38:42.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:38:42.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:38:42.570Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:38:43.139Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:38:43.140Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-02T17:38:43.140Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:38:43.140Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:38:43.708Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:38:43.967Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:38:43.967Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-02T17:38:43.967Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:38:43.967Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:38:43.967Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:38:43.967Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:38:43.967Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:38:44.225Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-02T17:38:44.225Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-02T17:38:44.225Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-02T17:38:44.225Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-02T17:38:44.225Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:38:44.225Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:38:44.225Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:38:44.225Z] OK: 336 MiB in 99 packages [2024-01-02T17:38:45.162Z] Removing intermediate container 19e14f90a128 [2024-01-02T17:38:45.162Z] ---> 295e8101924c [2024-01-02T17:38:45.162Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-02T17:38:45.162Z] ---> Running in eaced4b98063 [2024-01-02T17:38:45.741Z] Removing intermediate container eaced4b98063 [2024-01-02T17:38:45.741Z] ---> 6b25bbe18222 [2024-01-02T17:38:45.741Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-02T17:38:45.741Z] ---> 920cd67d275f [2024-01-02T17:38:45.741Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-02T17:38:46.000Z] ---> fbd603f246a3 [2024-01-02T17:38:46.000Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-02T17:38:46.001Z] ---> 208f5ebddd62 [2024-01-02T17:38:46.001Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-02T17:38:46.259Z] ---> f9fdfede7c22 [2024-01-02T17:38:46.259Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-02T17:38:46.259Z] ---> 179f994b69ea [2024-01-02T17:38:46.259Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-02T17:38:46.518Z] ---> af9afb3423c2 [2024-01-02T17:38:46.518Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-02T17:38:46.518Z] ---> Running in d9525485497f [2024-01-02T17:38:46.779Z] + CPPCHECK=false [2024-01-02T17:38:46.779Z] + DOCGEN=false [2024-01-02T17:38:46.779Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-02T17:38:46.779Z] + '[' 0 -gt 0 ] [2024-01-02T17:38:46.779Z] + readlink -f ./scripts/build.sh [2024-01-02T17:38:46.779Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-02T17:38:46.779Z] + dirname /tmp/sdk/scripts [2024-01-02T17:38:46.779Z] + ROOT=/tmp/sdk [2024-01-02T17:38:46.779Z] + cd /tmp/sdk [2024-01-02T17:38:46.779Z] + mkdir -p /tmp/sdk/build/release [2024-01-02T17:38:46.779Z] + cd /tmp/sdk/build/release [2024-01-02T17:38:46.779Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-02T17:38:46.779Z] -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:38:46.779Z] -- Detecting C compiler ABI info [2024-01-02T17:38:47.040Z] -- Detecting C compiler ABI info - done [2024-01-02T17:38:47.040Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:38:47.040Z] -- Detecting C compile features [2024-01-02T17:38:47.040Z] -- Detecting C compile features - done [2024-01-02T17:38:47.040Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:38:47.040Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:38:47.040Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:38:47.040Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:38:47.040Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:38:47.040Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:38:47.040Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:38:47.040Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:38:47.040Z] -- /opt/iotech/iot/1.5/include [2024-01-02T17:38:47.040Z] -- C SDK 0.0.0 for Linux [2024-01-02T17:38:47.040Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:38:47.040Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:38:47.175Z] Still waiting to schedule task [2024-01-02T17:38:47.175Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-02T17:38:47.301Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:38:47.301Z] -- Configuring done (0.4s) [2024-01-02T17:38:47.301Z] -- Generating done (0.0s) [2024-01-02T17:38:47.301Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-02T17:38:47.301Z] + make all package [2024-01-02T17:38:47.301Z] + tee release.log [2024-01-02T17:38:47.301Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:38:47.301Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:38:47.560Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:38:47.560Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:38:47.820Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:38:47.820Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:38:48.081Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:38:48.342Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-02T17:38:48.342Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:38:48.342Z] 294 | while (privateConfig) [2024-01-02T17:38:48.342Z] | ^~~~~~~~~~~~~ [2024-01-02T17:38:48.342Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-02T17:38:48.342Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:38:48.342Z] | ^~~~~~~~~~~~~ [2024-01-02T17:38:48.342Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:38:48.342Z] 271 | while (result) [2024-01-02T17:38:48.342Z] | ^~~~~~ [2024-01-02T17:38:48.342Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-02T17:38:48.342Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:38:48.342Z] | ^~~~~~ [2024-01-02T17:38:48.342Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:38:48.342Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:38:48.611Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:38:48.871Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:38:48.871Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:38:49.131Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:38:49.131Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:38:49.391Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:38:49.391Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:38:49.391Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:38:49.650Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:38:49.911Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:38:49.911Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:38:50.171Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:38:51.108Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:38:51.370Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:38:51.370Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:38:51.370Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:38:51.370Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:38:51.631Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:38:51.890Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:38:52.150Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:38:52.150Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:38:52.410Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:38:52.410Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:38:52.410Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:38:52.410Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:38:52.410Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:38:52.410Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:38:52.410Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:38:52.410Z] | ^ [2024-01-02T17:38:52.670Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:38:52.670Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-02T17:38:52.670Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:38:52.670Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-02T17:38:52.670Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-02T17:38:52.670Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:38:52.670Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:38:52.930Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:38:52.930Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:38:52.930Z] [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:38:52.930Z] [ 68%] Built target csdk [2024-01-02T17:38:52.930Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:38:53.191Z] [ 72%] Linking C executable template [2024-01-02T17:38:53.191Z] [ 72%] Built target template [2024-01-02T17:38:53.191Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:38:53.450Z] [ 76%] Linking C executable device-counter [2024-01-02T17:38:53.450Z] [ 76%] Built target device-counter [2024-01-02T17:38:53.450Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:38:53.450Z] [ 80%] Linking C executable device-random [2024-01-02T17:38:53.711Z] [ 80%] Built target device-random [2024-01-02T17:38:53.711Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:38:53.711Z] [ 84%] Linking C executable device-gyro [2024-01-02T17:38:53.711Z] [ 84%] Built target device-gyro [2024-01-02T17:38:53.711Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:38:53.970Z] [ 88%] Linking C executable device-bitfields [2024-01-02T17:38:53.970Z] [ 88%] Built target device-bitfields [2024-01-02T17:38:53.970Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:38:54.228Z] [ 92%] Linking C executable template-discovery [2024-01-02T17:38:54.228Z] [ 92%] Built target template-discovery [2024-01-02T17:38:54.228Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:38:54.228Z] [ 96%] Linking C executable device-file [2024-01-02T17:38:54.487Z] [ 96%] Built target device-file [2024-01-02T17:38:54.487Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:38:54.487Z] [100%] Linking C executable device-terminal [2024-01-02T17:38:54.487Z] [100%] Built target device-terminal [2024-01-02T17:38:54.487Z] Run CPack packaging tool... [2024-01-02T17:38:54.487Z] CPack: Create package using TGZ [2024-01-02T17:38:54.487Z] CPack: Install projects [2024-01-02T17:38:54.487Z] CPack: - Run preinstall target for: Csdk [2024-01-02T17:38:54.748Z] CPack: - Install project: Csdk [] [2024-01-02T17:38:54.748Z] CPack: Create package [2024-01-02T17:38:54.748Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-02T17:38:54.748Z] + '[' false '=' true ] [2024-01-02T17:38:54.748Z] + '[' false '=' true ] [2024-01-02T17:38:54.748Z] + mkdir -p /tmp/sdk/build/debug [2024-01-02T17:38:55.007Z] + cd /tmp/sdk/build/debug [2024-01-02T17:38:55.007Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-02T17:38:55.007Z] -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:38:55.007Z] -- Detecting C compiler ABI info [2024-01-02T17:38:55.007Z] -- Detecting C compiler ABI info - done [2024-01-02T17:38:55.007Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:38:55.007Z] -- Detecting C compile features [2024-01-02T17:38:55.007Z] -- Detecting C compile features - done [2024-01-02T17:38:55.007Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:38:55.266Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:38:55.266Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:38:55.266Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:38:55.266Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:38:55.266Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:38:55.266Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:38:55.266Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:38:55.266Z] -- /opt/iotech/iot/1.5/include [2024-01-02T17:38:55.266Z] -- C SDK 0.0.0 for Linux [2024-01-02T17:38:55.266Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:38:55.266Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:38:55.266Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:38:55.266Z] -- Configuring done (0.4s) [2024-01-02T17:38:55.266Z] -- Generating done (0.0s) [2024-01-02T17:38:55.266Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-02T17:38:55.266Z] + make [2024-01-02T17:38:55.266Z] + tee debug.log [2024-01-02T17:38:55.266Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:38:55.524Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:38:55.524Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:38:55.524Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:38:55.783Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:38:55.783Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:38:55.783Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:38:56.044Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:38:56.044Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:38:56.044Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:38:56.303Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:38:56.303Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:38:56.303Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:38:56.303Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:38:56.564Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:38:56.564Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:38:56.564Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:38:56.823Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:38:56.823Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:38:56.823Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:38:56.823Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:38:57.084Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:38:57.343Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:38:57.343Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:38:57.343Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:38:57.343Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:38:57.603Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:38:57.603Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:38:57.862Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:38:57.862Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:38:57.862Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:38:57.862Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:38:57.862Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:38:57.862Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:38:57.862Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:38:57.862Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:38:57.862Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:38:57.862Z] | ^ [2024-01-02T17:38:58.123Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:38:58.123Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:38:58.123Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:38:58.123Z] [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:38:58.385Z] [ 68%] Built target csdk [2024-01-02T17:38:58.385Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:38:58.385Z] [ 72%] Linking C executable template [2024-01-02T17:38:58.385Z] [ 72%] Built target template [2024-01-02T17:38:58.385Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:38:58.385Z] [ 76%] Linking C executable device-counter [2024-01-02T17:38:58.649Z] [ 76%] Built target device-counter [2024-01-02T17:38:58.649Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:38:58.649Z] [ 80%] Linking C executable device-random [2024-01-02T17:38:58.649Z] [ 80%] Built target device-random [2024-01-02T17:38:58.649Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:38:58.909Z] [ 84%] Linking C executable device-gyro [2024-01-02T17:38:58.909Z] [ 84%] Built target device-gyro [2024-01-02T17:38:58.909Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:38:58.909Z] [ 88%] Linking C executable device-bitfields [2024-01-02T17:38:58.909Z] [ 88%] Built target device-bitfields [2024-01-02T17:38:58.909Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:38:59.173Z] [ 92%] Linking C executable template-discovery [2024-01-02T17:38:59.173Z] [ 92%] Built target template-discovery [2024-01-02T17:38:59.173Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:38:59.173Z] [ 96%] Linking C executable device-file [2024-01-02T17:38:59.437Z] [ 96%] Built target device-file [2024-01-02T17:38:59.437Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:38:59.437Z] [100%] Linking C executable device-terminal [2024-01-02T17:38:59.437Z] [100%] Built target device-terminal [2024-01-02T17:38:59.437Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-02T17:38:59.699Z] [ 68%] Built target csdk [2024-01-02T17:38:59.699Z] [ 72%] Built target template [2024-01-02T17:38:59.699Z] [ 76%] Built target device-counter [2024-01-02T17:38:59.699Z] [ 80%] Built target device-random [2024-01-02T17:38:59.699Z] [ 84%] Built target device-gyro [2024-01-02T17:38:59.699Z] [ 88%] Built target device-bitfields [2024-01-02T17:38:59.699Z] [ 92%] Built target template-discovery [2024-01-02T17:38:59.699Z] [ 96%] Built target device-file [2024-01-02T17:38:59.699Z] [100%] Built target device-terminal [2024-01-02T17:38:59.699Z] Install the project... [2024-01-02T17:38:59.699Z] -- Install configuration: "Release" [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-02T17:38:59.699Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/devsdk [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-02T17:38:59.699Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-02T17:38:59.699Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-02T17:39:00.643Z] Removing intermediate container d9525485497f [2024-01-02T17:39:00.643Z] ---> 7be31284533c [2024-01-02T17:39:00.643Z] Step 14/21 : FROM ${BASE} [2024-01-02T17:39:00.643Z] ---> 6605166a5db4 [2024-01-02T17:39:00.643Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-02T17:39:00.643Z] ---> Running in b2073556b743 [2024-01-02T17:39:00.643Z] Removing intermediate container b2073556b743 [2024-01-02T17:39:00.643Z] ---> d42a4ed6808c [2024-01-02T17:39:00.643Z] 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-02T17:39:00.643Z] ---> Running in 4c14902f19e0 [2024-01-02T17:39:00.903Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-02T17:39:01.475Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:39:01.475Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:39:01.475Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:39:01.736Z] Removing intermediate container 4c14902f19e0 [2024-01-02T17:39:01.736Z] ---> 3dc4815189fe [2024-01-02T17:39:01.736Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:39:01.736Z] ---> Running in b32f090e9fd1 [2024-01-02T17:39:02.309Z] Removing intermediate container b32f090e9fd1 [2024-01-02T17:39:02.309Z] ---> 8ec650939600 [2024-01-02T17:39:02.309Z] 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-02T17:39:02.309Z] ---> Running in 826e5a453135 [2024-01-02T17:39:02.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:02.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:02.830Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:03.400Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:39:03.400Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:39:03.400Z] (2/9) Installing curl (8.5.0-r0) [2024-01-02T17:39:03.400Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:39:03.400Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-02T17:39:03.400Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:39:03.400Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:39:03.976Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:39:04.236Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-02T17:39:04.236Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-02T17:39:04.236Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:39:04.236Z] OK: 331 MiB in 89 packages [2024-01-02T17:39:04.805Z] Removing intermediate container 826e5a453135 [2024-01-02T17:39:04.805Z] ---> 382466b31fe2 [2024-01-02T17:39:04.805Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-02T17:39:04.805Z] ---> 530c1dcc865c [2024-01-02T17:39:04.805Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-02T17:39:05.065Z] ---> 70647720c1ec [2024-01-02T17:39:05.065Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-02T17:39:05.065Z] ---> 1038156d1f21 [2024-01-02T17:39:05.065Z] Successfully built 1038156d1f21 [2024-01-02T17:39:05.065Z] 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-02T17:39:05.606Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-02T17:39:05.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:39:05.717Z] prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container [2024-01-02T17:39:05.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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 ******** ci-base-image-x86_64 cat [2024-01-02T17:39:06.102Z] $ docker top 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:39:06.497Z] + make test [2024-01-02T17:39:06.497Z] echo "make test" [2024-01-02T17:39:06.497Z] make test [Pipeline] } [2024-01-02T17:39:06.504Z] $ docker stop --time=1 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 [2024-01-02T17:39:07.802Z] $ docker rm -f --volumes 75a698facc22aaeb4a2a96c10476573f29dafa26a1b86ae9a3dd38d4aef0ebc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:39:08.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-02T17:39:08.869Z] + ls -al . [2024-01-02T17:39:08.870Z] total 212 [2024-01-02T17:39:08.870Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 17:38 . [2024-01-02T17:39:08.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 .. [2024-01-02T17:39:08.870Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:38 .git [2024-01-02T17:39:08.870Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:38 .github [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:38 .gitignore [2024-01-02T17:39:08.870Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:38 .semver [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:38 Attribution.txt [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:38 CHANGELOG.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:38 Doxyfile [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:38 GOVERNANCE.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:38 Jenkinsfile [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:38 LICENSE [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:38 Makefile [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:38 OWNERS.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:38 README.IOT.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:38 README.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:38 README.v3.md [2024-01-02T17:39:08.870Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:38 VERSION [2024-01-02T17:39:08.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:38 docs [2024-01-02T17:39:08.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 include [2024-01-02T17:39:08.870Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:38 scripts [2024-01-02T17:39:08.870Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:39:09.221Z] + 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=f82302835794dd089678c2b993c2bca3dcefec8b --label arch=amd64 --label version=0.0.0 . [2024-01-02T17:39:09.221Z] Sending build context to Docker daemon 4.968MB [2024-01-02T17:39:09.221Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-02T17:39:09.221Z] Step 2/17 : FROM ${BASE} [2024-01-02T17:39:09.221Z] ---> 1038156d1f21 [2024-01-02T17:39:09.221Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-02T17:39:09.481Z] ---> Running in 024d827b49e5 [2024-01-02T17:39:09.481Z] Removing intermediate container 024d827b49e5 [2024-01-02T17:39:09.481Z] ---> ecda0c188390 [2024-01-02T17:39:09.481Z] 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-02T17:39:09.481Z] ---> Running in fad4887466de [2024-01-02T17:39:09.741Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-02T17:39:10.318Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:39:10.318Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:39:10.318Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:39:10.318Z] Removing intermediate container fad4887466de [2024-01-02T17:39:10.318Z] ---> 771ed280dfde [2024-01-02T17:39:10.318Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:39:10.318Z] ---> Running in 6c4fd89b85e9 [2024-01-02T17:39:10.887Z] Removing intermediate container 6c4fd89b85e9 [2024-01-02T17:39:10.887Z] ---> 93aa5818560d [2024-01-02T17:39:10.887Z] 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-02T17:39:10.887Z] ---> Running in 2650f7432e37 [2024-01-02T17:39:11.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:11.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:11.408Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:39:11.980Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:39:11.980Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:39:12.240Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:39:12.240Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:39:12.240Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:39:12.240Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:39:12.240Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:39:12.240Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-02T17:39:12.240Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-02T17:39:12.240Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-02T17:39:12.240Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:39:12.240Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:39:12.240Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:39:12.499Z] OK: 336 MiB in 100 packages [2024-01-02T17:39:13.066Z] Removing intermediate container 2650f7432e37 [2024-01-02T17:39:13.066Z] ---> 5fd84a31773a [2024-01-02T17:39:13.066Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-02T17:39:13.066Z] ---> bb1da239f15b [2024-01-02T17:39:13.066Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-02T17:39:13.328Z] ---> 6ea7a3c2e10d [2024-01-02T17:39:13.328Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-02T17:39:13.587Z] ---> 2df78faa52a5 [2024-01-02T17:39:13.587Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-02T17:39:13.587Z] ---> 92c63670413c [2024-01-02T17:39:13.587Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-02T17:39:13.852Z] ---> b7812b75dbd7 [2024-01-02T17:39:13.852Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-02T17:39:13.852Z] ---> 0eedc3a38c8f [2024-01-02T17:39:13.852Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-02T17:39:13.852Z] ---> Running in 18e7ce0572a3 [2024-01-02T17:39:14.116Z] Removing intermediate container 18e7ce0572a3 [2024-01-02T17:39:14.116Z] ---> 3daaabf2a2ac [2024-01-02T17:39:14.116Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-02T17:39:14.116Z] ---> Running in 6a98b354a584 [2024-01-02T17:39:14.116Z] Removing intermediate container 6a98b354a584 [2024-01-02T17:39:14.116Z] ---> cae0066bf980 [2024-01-02T17:39:14.116Z] Step 15/17 : LABEL arch=amd64 [2024-01-02T17:39:14.116Z] ---> Running in a9d8b4b6c017 [2024-01-02T17:39:14.116Z] Removing intermediate container a9d8b4b6c017 [2024-01-02T17:39:14.116Z] ---> b73e9a746372 [2024-01-02T17:39:14.116Z] Step 16/17 : LABEL git_sha=f82302835794dd089678c2b993c2bca3dcefec8b [2024-01-02T17:39:14.116Z] ---> Running in fd21fe823b4a [2024-01-02T17:39:14.376Z] Removing intermediate container fd21fe823b4a [2024-01-02T17:39:14.376Z] ---> 1c295dd9601b [2024-01-02T17:39:14.376Z] Step 17/17 : LABEL version=0.0.0 [2024-01-02T17:39:14.376Z] ---> Running in 503bd0d6ed92 [2024-01-02T17:39:14.376Z] Removing intermediate container 503bd0d6ed92 [2024-01-02T17:39:14.376Z] ---> 26cbe8c4bc91 [2024-01-02T17:39:14.376Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-02T17:39:14.376Z] Successfully built 26cbe8c4bc91 [2024-01-02T17:39:14.376Z] 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-02T17:39:15.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:39:15.139Z] [2024-01-02T17:39:15.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:39:15.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:39:15.462Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-02T17:39:15.462Z] 5eb5b503b376: Pulling fs layer [2024-01-02T17:39:15.462Z] 5c69ac0246d0: Pulling fs layer [2024-01-02T17:39:15.462Z] ec43610c2a17: Pulling fs layer [2024-01-02T17:39:15.462Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-02T17:39:15.462Z] 33b1e0a273af: Pulling fs layer [2024-01-02T17:39:15.462Z] 5d3b04190fa2: Pulling fs layer [2024-01-02T17:39:15.462Z] 2f39f015ded8: Pulling fs layer [2024-01-02T17:39:15.462Z] 3a2ae6a8a46f: Waiting [2024-01-02T17:39:15.462Z] 33b1e0a273af: Waiting [2024-01-02T17:39:15.462Z] 5d3b04190fa2: Waiting [2024-01-02T17:39:15.462Z] 5c69ac0246d0: Download complete [2024-01-02T17:39:15.462Z] 3a2ae6a8a46f: Download complete [2024-01-02T17:39:15.462Z] 33b1e0a273af: Verifying Checksum [2024-01-02T17:39:15.462Z] 33b1e0a273af: Download complete [2024-01-02T17:39:15.462Z] 5d3b04190fa2: Verifying Checksum [2024-01-02T17:39:15.462Z] 5d3b04190fa2: Download complete [2024-01-02T17:39:15.462Z] ec43610c2a17: Verifying Checksum [2024-01-02T17:39:15.462Z] ec43610c2a17: Download complete [2024-01-02T17:39:15.721Z] 5eb5b503b376: Verifying Checksum [2024-01-02T17:39:15.721Z] 5eb5b503b376: Download complete [2024-01-02T17:39:16.289Z] 2f39f015ded8: Download complete [2024-01-02T17:39:16.855Z] 5eb5b503b376: Pull complete [2024-01-02T17:39:17.113Z] 5c69ac0246d0: Pull complete [2024-01-02T17:39:17.683Z] ec43610c2a17: Pull complete [2024-01-02T17:39:17.683Z] 3a2ae6a8a46f: Pull complete [2024-01-02T17:39:17.943Z] 33b1e0a273af: Pull complete [2024-01-02T17:39:17.943Z] 5d3b04190fa2: Pull complete [2024-01-02T17:39:22.127Z] 2f39f015ded8: Pull complete [2024-01-02T17:39:22.127Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-02T17:39:22.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:39:22.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:39:22.339Z] prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container [2024-01-02T17:39:22.368Z] $ 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-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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-02T17:39:26.850Z] $ docker top 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:39:27.281Z] ---> job-cost.sh [2024-01-02T17:39:27.281Z] lf-activate-venv: SKIPPING [2024-01-02T17:39:27.281Z] INFO: No Stack... [2024-01-02T17:39:27.539Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:39:28.105Z] INFO: Archiving Costs [Pipeline] sh [2024-01-02T17:39:28.389Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/cost.csv [2024-01-02T17:39:28.389Z] + cut -d, -f6 [Pipeline] lock [2024-01-02T17:39:28.403Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [2024-01-02T17:39:28.411Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] did not exist. Created. [2024-01-02T17:39:28.412Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-02T17:39:28.758Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-02T17:39:28.830Z] Stashed 1 file(s) [Pipeline] } [2024-01-02T17:39:28.837Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-02T17:39:28.892Z] $ docker stop --time=1 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 [2024-01-02T17:39:30.049Z] $ docker rm -f --volumes 73509be984005dc7a28193711180eb8bb54dff184ca8a6b99e6ff39c9e323d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-02T17:40:21.544Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26652 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [Pipeline] { [Pipeline] ws [2024-01-02T17:40:21.577Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-01-02T17:40:24.648Z] Selected Git installation does not exist. Using Default [2024-01-02T17:40:24.649Z] The recommended git tool is: NONE [2024-01-02T17:40:29.988Z] using credential edgex-jenkins-ssh [2024-01-02T17:40:30.009Z] Cloning the remote Git repository [2024-01-02T17:40:30.053Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:40:30.139Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-01-02T17:40:30.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:40:30.282Z] > git --version # timeout=10 [2024-01-02T17:40:30.301Z] > git --version # 'git version 2.25.1' [2024-01-02T17:40:30.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:40:30.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-02T17:40:35.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-02T17:40:35.305Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-02T17:40:36.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-02T17:40:36.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:40:36.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:40:36.289Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-02T17:40:36.939Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit f82302835794dd089678c2b993c2bca3dcefec8b [2024-01-02T17:40:37.257Z] Merge succeeded, producing f82302835794dd089678c2b993c2bca3dcefec8b [2024-01-02T17:40:37.258Z] Checking out Revision f82302835794dd089678c2b993c2bca3dcefec8b (PR-506) [2024-01-02T17:40:36.960Z] > git config core.sparsecheckout # timeout=10 [2024-01-02T17:40:37.035Z] > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 [2024-01-02T17:40:37.159Z] > git remote # timeout=10 [2024-01-02T17:40:37.187Z] > git config --get remote.origin.url # timeout=10 [2024-01-02T17:40:37.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:40:37.216Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-02T17:40:37.242Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-02T17:40:37.268Z] > git config core.sparsecheckout # timeout=10 [2024-01-02T17:40:37.280Z] > git checkout -f f82302835794dd089678c2b993c2bca3dcefec8b # timeout=10 [2024-01-02T17:40:41.245Z] Commit message: "When reading's value is string type, it will be released prematurely" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:40:42.378Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-02T17:40:42.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-02T17:40:42.378Z] Dload Upload Total Spent Left Speed [2024-01-02T17:40:42.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 94641 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh [2024-01-02T17:40:42.716Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-02T17:40:43.076Z] + + sudo tee /etc/docker/daemon.new [2024-01-02T17:40:43.076Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-02T17:40:43.076Z] { [2024-01-02T17:40:43.076Z] "registry-mirrors": [ [2024-01-02T17:40:43.076Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-02T17:40:43.076Z] ], [2024-01-02T17:40:43.076Z] "bip": "10.250.0.254/24", [2024-01-02T17:40:43.076Z] "hosts": [ [2024-01-02T17:40:43.076Z] "tcp://0.0.0.0:5555", [2024-01-02T17:40:43.076Z] "unix:///var/run/docker.sock" [2024-01-02T17:40:43.076Z] ], [2024-01-02T17:40:43.076Z] "mtu": 1458, [2024-01-02T17:40:43.076Z] "selinux-enabled": true, [2024-01-02T17:40:43.076Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-02T17:40:43.076Z] } [Pipeline] sh [2024-01-02T17:40:43.419Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-02T17:40:43.747Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:41:02.064Z] provisioning config files... [2024-01-02T17:41:02.088Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config17699990015549039502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:41:02.541Z] ---> ****-login.sh [2024-01-02T17:41:02.541Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:41:02.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:41:03.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:41:03.080Z] Configure a credential helper to remove this warning. See [2024-01-02T17:41:03.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:41:03.081Z] [2024-01-02T17:41:03.081Z] Login Succeeded [2024-01-02T17:41:03.081Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:41:03.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:41:03.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:41:03.351Z] Configure a credential helper to remove this warning. See [2024-01-02T17:41:03.351Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:41:03.351Z] [2024-01-02T17:41:03.351Z] Login Succeeded [2024-01-02T17:41:03.351Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:41:03.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:41:03.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:41:03.622Z] Configure a credential helper to remove this warning. See [2024-01-02T17:41:03.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:41:03.622Z] [2024-01-02T17:41:03.622Z] Login Succeeded [2024-01-02T17:41:03.622Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:41:03.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:41:03.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:41:03.891Z] Configure a credential helper to remove this warning. See [2024-01-02T17:41:03.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:41:03.891Z] [2024-01-02T17:41:03.891Z] Login Succeeded [2024-01-02T17:41:03.891Z] ****.io [2024-01-02T17:41:04.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:41:04.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:41:04.431Z] Configure a credential helper to remove this warning. See [2024-01-02T17:41:04.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:41:04.431Z] [2024-01-02T17:41:04.431Z] Login Succeeded [2024-01-02T17:41:04.431Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:41:04.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-02T17:41:04.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:41:04.841Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-02T17:41:04.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:41:04.916Z] ========================================================= [2024-01-02T17:41:04.916Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-02T17:41:04.916Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:41:05.325Z] + 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-02T17:41:06.349Z] #0 building with "default" instance using docker driver [2024-01-02T17:41:06.349Z] [2024-01-02T17:41:06.349Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-02T17:41:06.349Z] #1 transferring dockerfile: 2.04kB 0.0s done [2024-01-02T17:41:06.349Z] #1 DONE 0.1s [2024-01-02T17:41:06.349Z] [2024-01-02T17:41:06.349Z] #2 [internal] load .dockerignore [2024-01-02T17:41:06.349Z] #2 transferring context: 2B done [2024-01-02T17:41:06.349Z] #2 DONE 0.1s [2024-01-02T17:41:06.349Z] [2024-01-02T17:41:06.349Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-02T17:41:06.640Z] #3 DONE 0.1s [2024-01-02T17:41:06.640Z] [2024-01-02T17:41:06.640Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-02T17:41:06.640Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-02T17:41:06.640Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-02T17:41:06.640Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-02T17:41:06.640Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-02T17:41:06.640Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-02T17:41:06.640Z] #4 ... [2024-01-02T17:41:06.640Z] [2024-01-02T17:41:06.640Z] #5 [internal] load build context [2024-01-02T17:41:06.640Z] #5 transferring context: 627.87kB 0.2s done [2024-01-02T17:41:06.640Z] #5 DONE 0.2s [2024-01-02T17:41:06.640Z] [2024-01-02T17:41:06.640Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-02T17:41:06.640Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-02T17:41:06.640Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-02T17:41:06.915Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 6.29MB / 109.51MB 0.3s [2024-01-02T17:41:07.187Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 14.93MB / 109.51MB 0.5s [2024-01-02T17:41:07.187Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-02T17:41:07.187Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 27.26MB / 109.51MB 0.7s [2024-01-02T17:41:07.453Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.23MB / 109.51MB 0.8s [2024-01-02T17:41:07.453Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 39.85MB / 109.51MB 0.9s [2024-01-02T17:41:07.721Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 53.48MB / 109.51MB 1.1s [2024-01-02T17:41:07.721Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 59.77MB / 109.51MB 1.2s [2024-01-02T17:41:07.988Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.40MB / 109.51MB 1.4s [2024-01-02T17:41:07.988Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 80.74MB / 109.51MB 1.5s [2024-01-02T17:41:08.256Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 87.03MB / 109.51MB 1.6s [2024-01-02T17:41:08.256Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 94.37MB / 109.51MB 1.7s [2024-01-02T17:41:08.522Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 100.66MB / 109.51MB 1.8s [2024-01-02T17:41:08.522Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s [2024-01-02T17:41:08.522Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done [2024-01-02T17:41:08.789Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-02T17:41:14.140Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-02T17:41:20.802Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.8s [2024-01-02T17:41:21.765Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.0s done [2024-01-02T17:41:22.033Z] #4 DONE 15.5s [2024-01-02T17:41:22.033Z] [2024-01-02T17:41:22.033Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-02T17:41:22.625Z] #6 0.735 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-02T17:41:23.212Z] #6 1.241 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:41:23.212Z] #6 1.241 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:41:23.212Z] #6 1.241 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:41:24.174Z] #6 DONE 2.0s [2024-01-02T17:41:24.174Z] [2024-01-02T17:41:24.174Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:41:24.758Z] #7 DONE 0.7s [2024-01-02T17:41:24.758Z] [2024-01-02T17:41:24.758Z] #8 [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-02T17:41:25.722Z] #8 0.916 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:25.988Z] #8 1.313 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:26.572Z] #8 1.886 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:27.534Z] #8 2.792 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:41:27.534Z] #8 2.822 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:41:27.534Z] #8 2.856 (2/9) Installing curl (8.5.0-r0) [2024-01-02T17:41:27.534Z] #8 2.871 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:41:27.534Z] #8 2.890 (4/9) Installing hiredis (1.1.0-r2) [2024-01-02T17:41:27.534Z] #8 2.896 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:41:27.801Z] #8 2.920 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:41:28.760Z] #8 3.677 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:41:28.761Z] #8 3.896 (8/9) Installing libcbor (0.10.2-r1) [2024-01-02T17:41:28.761Z] #8 3.904 (9/9) Installing libuuid (2.38.1-r8) [2024-01-02T17:41:28.761Z] #8 3.911 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:41:28.761Z] #8 3.955 OK: 327 MiB in 89 packages [2024-01-02T17:41:29.029Z] #8 DONE 4.3s [2024-01-02T17:41:29.029Z] [2024-01-02T17:41:29.029Z] #9 [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-02T17:41:29.029Z] #9 0.937 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:29.029Z] #9 1.320 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:29.029Z] #9 1.893 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:41:29.029Z] #9 2.816 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:41:29.029Z] #9 2.849 (1/17) Installing hiredis (1.1.0-r2) [2024-01-02T17:41:29.029Z] #9 2.879 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:41:29.029Z] #9 2.911 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:41:29.029Z] #9 3.708 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:41:29.029Z] #9 3.830 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:41:29.029Z] #9 4.080 (6/17) Installing libcbor (0.10.2-r1) [2024-01-02T17:41:29.029Z] #9 4.086 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:41:29.029Z] #9 4.108 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:41:29.029Z] #9 4.115 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:41:29.029Z] #9 4.128 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:41:29.029Z] #9 4.136 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:41:29.029Z] #9 4.183 (12/17) Installing libblkid (2.38.1-r8) [2024-01-02T17:41:29.029Z] #9 4.213 (13/17) Installing libuuid (2.38.1-r8) [2024-01-02T17:41:29.029Z] #9 4.220 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-02T17:41:29.029Z] #9 4.236 (15/17) Installing libmount (2.38.1-r8) [2024-01-02T17:41:29.029Z] #9 4.251 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:41:29.029Z] #9 4.261 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:41:29.297Z] #9 4.347 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:41:29.297Z] #9 4.394 OK: 333 MiB in 99 packages [2024-01-02T17:41:29.566Z] #9 DONE 4.7s [2024-01-02T17:41:29.566Z] [2024-01-02T17:41:29.566Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-02T17:41:32.908Z] #10 DONE 3.1s [2024-01-02T17:41:32.908Z] [2024-01-02T17:41:32.908Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-02T17:41:32.908Z] #11 DONE 0.1s [2024-01-02T17:41:32.908Z] [2024-01-02T17:41:32.908Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-02T17:41:32.908Z] #12 DONE 0.2s [2024-01-02T17:41:32.908Z] [2024-01-02T17:41:32.908Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-02T17:41:32.908Z] #13 DONE 0.1s [2024-01-02T17:41:33.177Z] [2024-01-02T17:41:33.177Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-02T17:41:33.177Z] #14 DONE 0.1s [2024-01-02T17:41:33.177Z] [2024-01-02T17:41:33.177Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-02T17:41:33.177Z] #15 DONE 0.1s [2024-01-02T17:41:33.177Z] [2024-01-02T17:41:33.177Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-02T17:41:33.177Z] #16 DONE 0.1s [2024-01-02T17:41:33.177Z] [2024-01-02T17:41:33.177Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-02T17:41:33.765Z] #17 0.552 + CPPCHECK=false [2024-01-02T17:41:33.765Z] #17 0.552 + DOCGEN=false [2024-01-02T17:41:33.765Z] #17 0.552 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-02T17:41:33.765Z] #17 0.552 + '[' 0 -gt 0 ] [2024-01-02T17:41:33.765Z] #17 0.554 + readlink -f ./scripts/build.sh [2024-01-02T17:41:33.765Z] #17 0.557 + dirname /tmp/sdk/scripts/build.sh [2024-01-02T17:41:33.765Z] #17 0.559 + dirname /tmp/sdk/scripts [2024-01-02T17:41:33.765Z] #17 0.560 + ROOT=/tmp/sdk [2024-01-02T17:41:33.765Z] #17 0.560 + cd /tmp/sdk [2024-01-02T17:41:33.765Z] #17 0.560 + mkdir -p /tmp/sdk/build/release [2024-01-02T17:41:33.765Z] #17 0.564 + cd /tmp/sdk/build/release [2024-01-02T17:41:33.765Z] #17 0.564 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-02T17:41:34.032Z] #17 0.872 -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:41:34.032Z] #17 0.933 -- Detecting C compiler ABI info [2024-01-02T17:41:34.619Z] #17 1.250 -- Detecting C compiler ABI info - done [2024-01-02T17:41:34.619Z] #17 1.332 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:41:34.619Z] #17 1.334 -- Detecting C compile features [2024-01-02T17:41:34.619Z] #17 1.337 -- Detecting C compile features - done [2024-01-02T17:41:34.619Z] #17 1.360 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:41:34.885Z] #17 1.538 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:41:34.885Z] #17 1.554 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:41:34.885Z] #17 1.569 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:41:34.885Z] #17 1.584 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:41:34.885Z] #17 1.599 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:41:34.885Z] #17 1.614 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:41:34.885Z] #17 1.629 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:41:34.885Z] #17 1.629 -- /opt/iotech/iot/1.5/include [2024-01-02T17:41:34.885Z] #17 1.630 -- C SDK 0.0.0 for Linux [2024-01-02T17:41:34.885Z] #17 1.641 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:41:35.152Z] #17 1.941 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:41:35.418Z] #17 2.096 -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:41:35.418Z] #17 2.201 -- Configuring done (1.6s) [2024-01-02T17:41:35.685Z] #17 2.451 -- Generating done (0.2s) [2024-01-02T17:41:35.685Z] #17 2.469 -- Build files have been written to: /tmp/sdk/build/release [2024-01-02T17:41:35.685Z] #17 2.491 + make all package [2024-01-02T17:41:35.685Z] #17 2.491 + tee release.log [2024-01-02T17:41:35.685Z] #17 2.607 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:41:36.638Z] #17 3.254 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:41:37.216Z] #17 4.033 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:41:37.797Z] #17 4.710 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:41:38.757Z] #17 5.442 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:41:39.336Z] #17 5.998 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:41:41.270Z] #17 7.925 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:41:42.226Z] #17 8.721 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-02T17:41:42.226Z] #17 8.722 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:41:42.226Z] #17 8.722 294 | while (privateConfig) [2024-01-02T17:41:42.226Z] #17 8.722 | ^~~~~~~~~~~~~ [2024-01-02T17:41:42.226Z] #17 8.722 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-02T17:41:42.226Z] #17 8.722 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:41:42.226Z] #17 8.722 | ^~~~~~~~~~~~~ [2024-01-02T17:41:42.226Z] #17 8.722 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:41:42.226Z] #17 8.722 271 | while (result) [2024-01-02T17:41:42.226Z] #17 8.722 | ^~~~~~ [2024-01-02T17:41:42.226Z] #17 8.722 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-02T17:41:42.226Z] #17 8.722 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:41:42.226Z] #17 8.722 | ^~~~~~ [2024-01-02T17:41:42.226Z] #17 9.028 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:41:42.491Z] #17 9.241 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:41:43.454Z] #17 10.07 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:41:45.390Z] #17 11.84 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:41:45.656Z] #17 12.41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:41:46.611Z] #17 13.21 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:41:47.191Z] #17 13.92 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:41:47.773Z] #17 14.38 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:41:48.729Z] #17 15.32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:41:48.993Z] #17 15.61 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:41:50.929Z] #17 17.55 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:41:51.195Z] #17 17.89 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:41:51.777Z] #17 18.45 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:41:53.187Z] #17 19.88 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:41:59.841Z] #17 26.31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:42:00.109Z] #17 26.92 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:42:00.693Z] #17 27.32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:42:01.276Z] #17 27.82 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:42:01.543Z] #17 28.13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:42:02.961Z] #17 29.50 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:42:04.898Z] #17 31.51 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:42:05.163Z] #17 31.93 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:42:06.120Z] #17 32.77 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:42:06.704Z] #17 33.33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:42:06.969Z] #17 33.60 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:42:06.969Z] #17 33.60 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:42:06.969Z] #17 33.60 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:42:06.969Z] #17 33.60 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:42:06.969Z] #17 33.60 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:42:06.969Z] #17 33.60 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:42:06.969Z] #17 33.60 | ^ [2024-01-02T17:42:08.380Z] #17 34.99 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:42:08.380Z] #17 34.99 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-02T17:42:08.380Z] #17 34.99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:42:08.380Z] #17 34.99 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-02T17:42:08.380Z] #17 34.99 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-02T17:42:08.380Z] #17 34.99 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:42:09.341Z] #17 35.98 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:42:09.922Z] #17 36.72 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:42:10.509Z] #17 37.06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:42:10.777Z] #17 37.55 [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:42:11.045Z] #17 37.76 [ 68%] Built target csdk [2024-01-02T17:42:11.045Z] #17 37.81 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:42:12.005Z] #17 38.62 [ 72%] Linking C executable template [2024-01-02T17:42:12.273Z] #17 38.93 [ 72%] Built target template [2024-01-02T17:42:12.273Z] #17 38.98 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:42:12.858Z] #17 39.50 [ 76%] Linking C executable device-counter [2024-01-02T17:42:13.123Z] #17 39.82 [ 76%] Built target device-counter [2024-01-02T17:42:13.123Z] #17 39.87 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:42:13.703Z] #17 40.38 [ 80%] Linking C executable device-random [2024-01-02T17:42:13.969Z] #17 40.70 [ 80%] Built target device-random [2024-01-02T17:42:13.969Z] #17 40.76 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:42:14.550Z] #17 41.22 [ 84%] Linking C executable device-gyro [2024-01-02T17:42:14.816Z] #17 41.54 [ 84%] Built target device-gyro [2024-01-02T17:42:14.816Z] #17 41.60 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:42:15.396Z] #17 42.09 [ 88%] Linking C executable device-bitfields [2024-01-02T17:42:15.662Z] #17 42.39 [ 88%] Built target device-bitfields [2024-01-02T17:42:15.662Z] #17 42.44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:42:16.616Z] #17 43.25 [ 92%] Linking C executable template-discovery [2024-01-02T17:42:16.885Z] #17 43.56 [ 92%] Built target template-discovery [2024-01-02T17:42:16.885Z] #17 43.62 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:42:17.469Z] #17 44.34 [ 96%] Linking C executable device-file [2024-01-02T17:42:17.736Z] #17 44.64 [ 96%] Built target device-file [2024-01-02T17:42:18.005Z] #17 44.70 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:42:18.588Z] #17 45.33 [100%] Linking C executable device-terminal [2024-01-02T17:42:18.854Z] #17 45.64 [100%] Built target device-terminal [2024-01-02T17:42:19.121Z] #17 45.69 Run CPack packaging tool... [2024-01-02T17:42:19.121Z] #17 45.74 CPack: Create package using TGZ [2024-01-02T17:42:19.121Z] #17 45.74 CPack: Install projects [2024-01-02T17:42:19.121Z] #17 45.74 CPack: - Run preinstall target for: Csdk [2024-01-02T17:42:19.706Z] #17 46.48 CPack: - Install project: Csdk [] [2024-01-02T17:42:19.706Z] #17 46.52 CPack: Create package [2024-01-02T17:42:19.972Z] #17 46.61 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-02T17:42:19.972Z] #17 46.61 + '[' false '=' true ] [2024-01-02T17:42:19.972Z] #17 46.61 + '[' false '=' true ] [2024-01-02T17:42:19.972Z] #17 46.61 + mkdir -p /tmp/sdk/build/debug [2024-01-02T17:42:19.972Z] #17 46.62 + cd /tmp/sdk/build/debug [2024-01-02T17:42:19.972Z] #17 46.62 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-02T17:42:20.239Z] #17 46.91 -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:42:20.239Z] #17 46.97 -- Detecting C compiler ABI info [2024-01-02T17:42:20.507Z] #17 47.31 -- Detecting C compiler ABI info - done [2024-01-02T17:42:20.507Z] #17 47.39 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:42:20.507Z] #17 47.39 -- Detecting C compile features [2024-01-02T17:42:20.507Z] #17 47.39 -- Detecting C compile features - done [2024-01-02T17:42:20.507Z] #17 47.42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:42:20.774Z] #17 47.60 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:42:20.774Z] #17 47.61 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:42:20.774Z] #17 47.63 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:42:20.774Z] #17 47.64 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:42:20.774Z] #17 47.66 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:42:20.774Z] #17 47.67 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:42:21.042Z] #17 47.69 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:42:21.042Z] #17 47.69 -- /opt/iotech/iot/1.5/include [2024-01-02T17:42:21.042Z] #17 47.69 -- C SDK 0.0.0 for Linux [2024-01-02T17:42:21.042Z] #17 47.70 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:42:21.308Z] #17 48.01 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:42:21.573Z] #17 48.17 -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:42:21.573Z] #17 48.27 -- Configuring done (1.6s) [2024-01-02T17:42:21.842Z] #17 48.52 -- Generating done (0.2s) [2024-01-02T17:42:21.842Z] #17 48.54 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-02T17:42:21.842Z] #17 48.56 + make [2024-01-02T17:42:21.842Z] #17 48.56 + tee debug.log [2024-01-02T17:42:21.842Z] #17 48.68 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:42:22.428Z] #17 49.06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:42:22.695Z] #17 49.44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:42:22.963Z] #17 49.78 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:42:23.228Z] #17 50.14 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:42:23.810Z] #17 50.49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:42:24.392Z] #17 51.13 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:42:24.975Z] #17 51.56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:42:24.975Z] #17 51.72 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:42:25.558Z] #17 52.14 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:42:26.144Z] #17 52.74 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:42:26.411Z] #17 53.06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:42:26.992Z] #17 53.46 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:42:26.992Z] #17 53.82 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:42:27.577Z] #17 54.15 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:42:27.577Z] #17 54.49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:42:28.159Z] #17 54.72 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:42:28.740Z] #17 55.44 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:42:29.007Z] #17 55.68 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:42:29.273Z] #17 55.89 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:42:29.854Z] #17 56.50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:42:30.817Z] #17 57.60 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:42:31.405Z] #17 57.94 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:42:31.670Z] #17 58.21 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:42:31.934Z] #17 58.51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:42:31.934Z] #17 58.76 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:42:32.517Z] #17 59.25 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:42:33.922Z] #17 60.52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:42:34.189Z] #17 60.77 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:42:34.456Z] #17 61.15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:42:34.721Z] #17 61.50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:42:34.988Z] #17 61.76 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:42:34.988Z] #17 61.76 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:42:34.988Z] #17 61.76 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:42:34.988Z] #17 61.76 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:42:34.988Z] #17 61.76 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:42:34.988Z] #17 61.76 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:42:34.988Z] #17 61.76 | ^ [2024-01-02T17:42:35.570Z] #17 62.28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:42:35.839Z] #17 62.63 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:42:36.106Z] #17 62.91 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:42:36.374Z] #17 63.19 [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:42:36.639Z] #17 63.43 [ 68%] Built target csdk [2024-01-02T17:42:36.639Z] #17 63.48 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:42:37.220Z] #17 63.82 [ 72%] Linking C executable template [2024-01-02T17:42:37.487Z] #17 64.13 [ 72%] Built target template [2024-01-02T17:42:37.487Z] #17 64.18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:42:37.753Z] #17 64.47 [ 76%] Linking C executable device-counter [2024-01-02T17:42:38.018Z] #17 64.78 [ 76%] Built target device-counter [2024-01-02T17:42:38.018Z] #17 64.83 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:42:38.284Z] #17 65.12 [ 80%] Linking C executable device-random [2024-01-02T17:42:38.868Z] #17 65.43 [ 80%] Built target device-random [2024-01-02T17:42:38.868Z] #17 65.48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:42:39.135Z] #17 65.76 [ 84%] Linking C executable device-gyro [2024-01-02T17:42:39.401Z] #17 66.05 [ 84%] Built target device-gyro [2024-01-02T17:42:39.402Z] #17 66.11 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:42:39.668Z] #17 66.39 [ 88%] Linking C executable device-bitfields [2024-01-02T17:42:39.935Z] #17 66.70 [ 88%] Built target device-bitfields [2024-01-02T17:42:39.935Z] #17 66.75 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:42:40.535Z] #17 67.11 [ 92%] Linking C executable template-discovery [2024-01-02T17:42:40.802Z] #17 67.41 [ 92%] Built target template-discovery [2024-01-02T17:42:40.802Z] #17 67.47 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:42:41.069Z] #17 67.79 [ 96%] Linking C executable device-file [2024-01-02T17:42:41.335Z] #17 68.11 [ 96%] Built target device-file [2024-01-02T17:42:41.335Z] #17 68.17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:42:41.918Z] #17 68.56 [100%] Linking C executable device-terminal [2024-01-02T17:42:42.184Z] #17 68.91 [100%] Built target device-terminal [2024-01-02T17:42:42.766Z] #17 69.45 make: Entering directory '/tmp/sdk/build/release' [2024-01-02T17:42:42.766Z] #17 69.62 [ 68%] Built target csdk [2024-01-02T17:42:42.766Z] #17 69.68 [ 72%] Built target template [2024-01-02T17:42:43.034Z] #17 69.74 [ 76%] Built target device-counter [2024-01-02T17:42:43.034Z] #17 69.79 [ 80%] Built target device-random [2024-01-02T17:42:43.034Z] #17 69.85 [ 84%] Built target device-gyro [2024-01-02T17:42:43.034Z] #17 69.91 [ 88%] Built target device-bitfields [2024-01-02T17:42:43.301Z] #17 69.96 [ 92%] Built target template-discovery [2024-01-02T17:42:43.301Z] #17 70.02 [ 96%] Built target device-file [2024-01-02T17:42:43.301Z] #17 70.07 [100%] Built target device-terminal [2024-01-02T17:42:43.301Z] #17 70.12 Install the project... [2024-01-02T17:42:43.572Z] #17 70.15 -- Install configuration: "Release" [2024-01-02T17:42:43.572Z] #17 70.15 -- Installing: /usr/local/lib/libcsdk.so [2024-01-02T17:42:43.572Z] #17 70.16 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-02T17:42:43.572Z] #17 70.16 -- Installing: /usr/local/include [2024-01-02T17:42:43.572Z] #17 70.16 -- Installing: /usr/local/include/devsdk [2024-01-02T17:42:43.572Z] #17 70.16 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-02T17:42:43.572Z] #17 70.16 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex/devices.h [2024-01-02T17:42:43.572Z] #17 70.17 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-02T17:42:43.572Z] #17 70.18 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-02T17:42:43.572Z] #17 70.18 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-02T17:42:43.572Z] #17 70.18 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-02T17:42:43.572Z] #17 70.19 make: Leaving directory '/tmp/sdk/build/release' [2024-01-02T17:42:43.573Z] #17 DONE 70.3s [2024-01-02T17:42:43.573Z] [2024-01-02T17:42:43.573Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-02T17:42:43.841Z] #18 DONE 0.1s [2024-01-02T17:42:43.841Z] [2024-01-02T17:42:43.841Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-02T17:42:43.841Z] #19 DONE 0.1s [2024-01-02T17:42:43.841Z] [2024-01-02T17:42:43.841Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-02T17:42:43.841Z] #20 DONE 0.1s [2024-01-02T17:42:43.841Z] [2024-01-02T17:42:43.841Z] #21 exporting to image [2024-01-02T17:42:43.841Z] #21 exporting layers [2024-01-02T17:42:44.111Z] #21 exporting layers 0.2s done [2024-01-02T17:42:44.111Z] #21 writing image sha256:532fce95aef27f86a0c2aa304512f2e420bbdb3e519ca65fa5e548ba01425b4b done [2024-01-02T17:42:44.111Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-02T17:42:44.111Z] #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:42:44.785Z] + docker inspect -f . ci-base-image-arm64 [2024-01-02T17:42:44.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:42:45.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-26652 does not seem to be running inside a container [2024-01-02T17:42:45.075Z] $ 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 ******** ci-base-image-arm64 cat [2024-01-02T17:42:46.118Z] $ docker top 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:42:46.636Z] + make test [2024-01-02T17:42:46.637Z] echo "make test" [2024-01-02T17:42:46.637Z] make test [Pipeline] } [2024-01-02T17:42:46.661Z] $ docker stop --time=1 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 [2024-01-02T17:42:48.173Z] $ docker rm -f --volumes 1429bb36720b5d4115149bb5247381b9875c35368db3e747e2cc352d211fe099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:42:48.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-02T17:42:49.191Z] + ls -al . [2024-01-02T17:42:49.191Z] total 208 [2024-01-02T17:42:49.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:40 . [2024-01-02T17:42:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 .. [2024-01-02T17:42:49.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:40 .git [2024-01-02T17:42:49.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:40 .github [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:40 .gitignore [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:40 Attribution.txt [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:40 CHANGELOG.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:40 Doxyfile [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:40 GOVERNANCE.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:40 Jenkinsfile [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:40 LICENSE [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:40 Makefile [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:40 OWNERS.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:40 README.IOT.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:40 README.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:40 README.v3.md [2024-01-02T17:42:49.191Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:38 VERSION [2024-01-02T17:42:49.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:40 docs [2024-01-02T17:42:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 include [2024-01-02T17:42:49.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:40 scripts [2024-01-02T17:42:49.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:42:49.585Z] + 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=f82302835794dd089678c2b993c2bca3dcefec8b --label arch=arm64 --label version=0.0.0 . [2024-01-02T17:42:50.169Z] #0 building with "default" instance using docker driver [2024-01-02T17:42:50.169Z] [2024-01-02T17:42:50.169Z] #1 [internal] load .dockerignore [2024-01-02T17:42:50.169Z] #1 transferring context: 2B done [2024-01-02T17:42:50.169Z] #1 DONE 0.0s [2024-01-02T17:42:50.169Z] [2024-01-02T17:42:50.169Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-02T17:42:50.169Z] #2 transferring dockerfile: 1.44kB done [2024-01-02T17:42:50.169Z] #2 DONE 0.0s [2024-01-02T17:42:50.438Z] [2024-01-02T17:42:50.438Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-02T17:42:50.438Z] #3 DONE 0.0s [2024-01-02T17:42:50.438Z] [2024-01-02T17:42:50.438Z] #4 [internal] load build context [2024-01-02T17:42:50.438Z] #4 transferring context: 8.55kB 0.1s done [2024-01-02T17:42:50.438Z] #4 DONE 0.1s [2024-01-02T17:42:50.438Z] [2024-01-02T17:42:50.438Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-02T17:42:50.438Z] #5 DONE 0.2s [2024-01-02T17:42:50.438Z] [2024-01-02T17:42:50.438Z] #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-02T17:42:51.026Z] #6 0.613 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-02T17:42:51.610Z] #6 1.117 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:42:51.610Z] #6 1.117 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:42:51.610Z] #6 1.118 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:42:51.610Z] #6 DONE 1.2s [2024-01-02T17:42:51.610Z] [2024-01-02T17:42:51.610Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:42:52.573Z] #7 DONE 0.8s [2024-01-02T17:42:52.573Z] [2024-01-02T17:42:52.573Z] #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-02T17:42:53.157Z] #8 0.739 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:42:53.740Z] #8 1.269 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:42:54.326Z] #8 1.824 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:42:55.286Z] #8 2.768 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:42:55.286Z] #8 2.808 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:42:55.552Z] #8 3.126 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:42:55.552Z] #8 3.145 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:42:55.552Z] #8 3.151 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:42:55.552Z] #8 3.162 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:42:55.552Z] #8 3.171 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:42:55.552Z] #8 3.197 (7/11) Installing libblkid (2.38.1-r8) [2024-01-02T17:42:55.553Z] #8 3.211 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-02T17:42:55.820Z] #8 3.243 (9/11) Installing libmount (2.38.1-r8) [2024-01-02T17:42:55.820Z] #8 3.261 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:42:55.820Z] #8 3.274 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:42:55.820Z] #8 3.348 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:42:55.820Z] #8 3.392 OK: 333 MiB in 100 packages [2024-01-02T17:42:57.762Z] #8 DONE 5.2s [2024-01-02T17:42:57.762Z] [2024-01-02T17:42:57.762Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-02T17:42:57.762Z] #9 DONE 0.1s [2024-01-02T17:42:57.762Z] [2024-01-02T17:42:57.762Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-02T17:42:58.038Z] #10 DONE 0.2s [2024-01-02T17:42:58.038Z] [2024-01-02T17:42:58.038Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-02T17:42:58.038Z] #11 DONE 0.1s [2024-01-02T17:42:58.038Z] [2024-01-02T17:42:58.038Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-02T17:42:58.038Z] #12 DONE 0.1s [2024-01-02T17:42:58.305Z] [2024-01-02T17:42:58.305Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-02T17:42:58.305Z] #13 DONE 0.1s [2024-01-02T17:42:58.305Z] [2024-01-02T17:42:58.305Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-02T17:42:58.305Z] #14 DONE 0.1s [2024-01-02T17:42:58.305Z] [2024-01-02T17:42:58.305Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-02T17:42:58.305Z] #15 DONE 0.1s [2024-01-02T17:42:58.305Z] [2024-01-02T17:42:58.305Z] #16 exporting to image [2024-01-02T17:42:58.305Z] #16 exporting layers [2024-01-02T17:42:58.570Z] #16 exporting layers 0.3s done [2024-01-02T17:42:58.834Z] #16 writing image sha256:4b8d8ff5be83234d7f4fdd5c730e84240c8c747880444582964e569b108fe348 done [2024-01-02T17:42:58.834Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-02T17:42:58.834Z] #16 DONE 0.3s [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-02T17:42:59.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:42:59.596Z] [2024-01-02T17:42:59.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:42:59.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:42:59.948Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-02T17:42:59.948Z] 8998bd30e6a1: Pulling fs layer [2024-01-02T17:42:59.948Z] 04944245beec: Pulling fs layer [2024-01-02T17:42:59.948Z] 699f458cf7ca: Pulling fs layer [2024-01-02T17:42:59.948Z] 765212b225bb: Pulling fs layer [2024-01-02T17:42:59.948Z] f23df028b6ca: Pulling fs layer [2024-01-02T17:42:59.948Z] d65c8cfc05b1: Pulling fs layer [2024-01-02T17:42:59.948Z] 2437ff75d9bd: Pulling fs layer [2024-01-02T17:42:59.948Z] 765212b225bb: Waiting [2024-01-02T17:42:59.948Z] d65c8cfc05b1: Waiting [2024-01-02T17:42:59.948Z] 2437ff75d9bd: Waiting [2024-01-02T17:43:00.214Z] 04944245beec: Verifying Checksum [2024-01-02T17:43:00.214Z] 04944245beec: Download complete [2024-01-02T17:43:00.214Z] 765212b225bb: Verifying Checksum [2024-01-02T17:43:00.214Z] 765212b225bb: Download complete [2024-01-02T17:43:00.214Z] f23df028b6ca: Verifying Checksum [2024-01-02T17:43:00.214Z] f23df028b6ca: Download complete [2024-01-02T17:43:00.214Z] d65c8cfc05b1: Verifying Checksum [2024-01-02T17:43:00.214Z] d65c8cfc05b1: Download complete [2024-01-02T17:43:00.214Z] 699f458cf7ca: Verifying Checksum [2024-01-02T17:43:00.214Z] 699f458cf7ca: Download complete [2024-01-02T17:43:00.795Z] 8998bd30e6a1: Verifying Checksum [2024-01-02T17:43:00.795Z] 8998bd30e6a1: Download complete [2024-01-02T17:43:02.734Z] 2437ff75d9bd: Verifying Checksum [2024-01-02T17:43:02.734Z] 2437ff75d9bd: Download complete [2024-01-02T17:43:06.981Z] 8998bd30e6a1: Pull complete [2024-01-02T17:43:07.247Z] 04944245beec: Pull complete [2024-01-02T17:43:09.180Z] 699f458cf7ca: Pull complete [2024-01-02T17:43:09.180Z] 765212b225bb: Pull complete [2024-01-02T17:43:11.750Z] f23df028b6ca: Pull complete [2024-01-02T17:43:11.750Z] d65c8cfc05b1: Pull complete [2024-01-02T17:43:33.799Z] 2437ff75d9bd: Pull complete [2024-01-02T17:43:33.799Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-02T17:43:33.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:43:33.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:43:34.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-26652 does not seem to be running inside a container [2024-01-02T17:43:34.125Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-02T17:43:35.389Z] $ docker top bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:35.899Z] ---> job-cost.sh [2024-01-02T17:43:36.163Z] lf-activate-venv: SKIPPING [2024-01-02T17:43:36.163Z] INFO: No Stack... [2024-01-02T17:43:36.429Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:43:37.384Z] INFO: Archiving Costs [Pipeline] sh [2024-01-02T17:43:37.699Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-01-02T17:43:37.699Z] + cut -d, -f6 [Pipeline] lock [2024-01-02T17:43:37.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [2024-01-02T17:43:37.759Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] did not exist. Created. [2024-01-02T17:43:37.759Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-02T17:43:38.150Z] /w/workspace/device-sdk-c/2@tmp/durable-f3b9c1c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-02T17:43:38.467Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-02T17:43:38.483Z] Warning: overwriting stash ‘stack-cost’ [2024-01-02T17:43:38.900Z] Stashed 1 file(s) [Pipeline] } [2024-01-02T17:43:38.906Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-02T17:43:38.994Z] $ docker stop --time=1 bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade [2024-01-02T17:43:42.866Z] $ docker rm -f --volumes bfbd409d706d665eed3624b7ffb2980ac253a131c3179907b03a1981fbf53ade [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-02T17:43:44.527Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives ] [2024-01-02T17:43:44.527Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-02T17:43:44.527Z] total 16 [2024-01-02T17:43:44.527Z] drwxr-xr-x 3 root root 4096 Jan 2 17:39 . [2024-01-02T17:43:44.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:39 .. [2024-01-02T17:43:44.527Z] drwxr-xr-x 2 root root 4096 Jan 2 17:39 cost [2024-01-02T17:43:44.527Z] -rw-r--r-- 1 root root 84 Jan 2 17:39 cost.csv [2024-01-02T17:43:44.527Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-02T17:43:44.527Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-02T17:43:44.527Z] total 16 [2024-01-02T17:43:44.527Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:39 . [2024-01-02T17:43:44.527Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:39 .. [2024-01-02T17:43:44.527Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:39 cost [2024-01-02T17:43:44.527Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 2 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:44.822Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:45.690Z] ---> package-listing.sh [2024-01-02T17:43:45.691Z] ++ facter osfamily [2024-01-02T17:43:45.691Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-02T17:43:45.950Z] + OS_FAMILY=debian [2024-01-02T17:43:45.950Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-506 [2024-01-02T17:43:45.950Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-02T17:43:45.951Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-02T17:43:45.951Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-02T17:43:45.951Z] + PACKAGES=/tmp/packages_start.txt [2024-01-02T17:43:45.951Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-02T17:43:45.951Z] + PACKAGES=/tmp/packages_end.txt [2024-01-02T17:43:45.951Z] + case "${OS_FAMILY}" in [2024-01-02T17:43:45.951Z] + dpkg -l [2024-01-02T17:43:45.951Z] + grep '^ii' [2024-01-02T17:43:45.951Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-02T17:43:45.951Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-02T17:43:45.951Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-02T17:43:45.951Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-02T17:43:45.951Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [2024-01-02T17:43:45.951Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [Pipeline] echo [2024-01-02T17:43:45.963Z] 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-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-02T17:43:46.243Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:43:46.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:43:46.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:43:46.973Z] prd-ubuntu20.04-docker-8c-8g-26651 does not seem to be running inside a container [2024-01-02T17:43:46.997Z] $ 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-506/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-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-02T17:43:47.194Z] $ docker top b8ea29c6b3d2439ef90082ef783e306afa3873394902d05c61c0b61d3516dde0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:43:47.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-02T17:43:47.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-02T17:43:48.177Z] + ls /var/log/sa-host [2024-01-02T17:43:48.177Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:43:48.361Z] provisioning config files... [2024-01-02T17:43:48.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config9858004445008889190tmp [Pipeline] { [Pipeline] echo [2024-01-02T17:43:48.436Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:48.721Z] ---> create-netrc.sh [Pipeline] } [2024-01-02T17:43:48.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:49.115Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-02T17:43:49.126Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:49.412Z] ---> sudo-logs.sh [2024-01-02T17:43:49.412Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-02T17:43:49.479Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:49.822Z] ---> job-cost.sh [2024-01-02T17:43:49.822Z] lf-activate-venv: SKIPPING [2024-01-02T17:43:49.822Z] DEBUG: total: 0.2199999988079071 [2024-01-02T17:43:49.822Z] INFO: Retrieving Stack Cost... [2024-01-02T17:43:50.088Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:43:50.371Z] INFO: Archiving Costs [Pipeline] echo [2024-01-02T17:43:50.399Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:43:50.717Z] ---> logs-deploy.sh [2024-01-02T17:43:50.717Z] lf-activate-venv: SKIPPING [2024-01-02T17:43:50.717Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-506/2 [2024-01-02T17:43:50.717Z] INFO: archiving workspace using pattern(s): [2024-01-02T17:43:51.656Z] Archives upload complete. [2024-01-02T17:43:51.656Z] INFO: archiving logs to Nexus