Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+9db6249cb5b64beed6f22149c866398dbcee266e (35f151fcfbaf320708025bfb90e2c2ca2895f6e8) 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-ssh15441385541500402417.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-ssh13058057374932491575.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1648380826010449480.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-ssh2388830104068852145.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1449010130910898010.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-27921 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9db6249cb5b64beed6f22149c866398dbcee266e into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 0031032c98cacaef459ac1109545c8ce5946c010 Checking out Revision 0031032c98cacaef459ac1109545c8ce5946c010 (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0031032c98cacaef459ac1109545c8ce5946c010 # timeout=10 Commit message: "Merge commit '9db6249cb5b64beed6f22149c866398dbcee266e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e248b6bd68f06e2413c905020bbcb77bc4cbd132 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-25T18:56:26.728Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-25T18:56:26.790Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-25T18:56:26.819Z] ========================================================= [2024-01-25T18:56:26.819Z] EdgeX Global Pipelines Version Info [2024-01-25T18:56:26.819Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:56:28.980Z] ------------------- [2024-01-25T18:56:28.980Z] stable info: [2024-01-25T18:56:28.980Z] ------------------- [2024-01-25T18:56:28.980Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-25T18:56:28.980Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T18:56:28.980Z] Message: update stable to v1.0.258 [2024-01-25T18:56:29.551Z] ------------------- [2024-01-25T18:56:29.551Z] experimental info: [2024-01-25T18:56:29.551Z] ------------------- [2024-01-25T18:56:29.551Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-25T18:56:29.551Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T18:56:29.551Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-25T18:56:29.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-25T18:56:29.652Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-25T18:56:29.677Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-25T18:56:29.703Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-25T18:56:29.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-25T18:56:29.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-25T18:56:29.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-25T18:56:29.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-25T18:56:29.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-25T18:56:29.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-25T18:56:29.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-25T18:56:30.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-25T18:56:30.033Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-25T18:56:30.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T18:56:30.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-25T18:56:30.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-25T18:56:30.151Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-25T18:56:30.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-01-25T18:56:30.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-01-25T18:56:30.232Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-01-25T18:56:30.269Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0031032c98cacaef459ac1109545c8ce5946c010 [Pipeline] echo [2024-01-25T18:56:30.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0031032 [Pipeline] echo [2024-01-25T18:56:30.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T18:56:30.409Z] provisioning config files... [2024-01-25T18:56:30.421Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config10165617260658371730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:56:30.757Z] ---> ****-login.sh [2024-01-25T18:56:30.757Z] nexus3.edgexfoundry.org:10001 [2024-01-25T18:56:31.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:31.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:31.016Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:31.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:31.016Z] [2024-01-25T18:56:31.016Z] Login Succeeded [2024-01-25T18:56:31.016Z] nexus3.edgexfoundry.org:10002 [2024-01-25T18:56:31.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:31.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:31.282Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:31.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:31.282Z] [2024-01-25T18:56:31.282Z] Login Succeeded [2024-01-25T18:56:31.282Z] nexus3.edgexfoundry.org:10003 [2024-01-25T18:56:31.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:31.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:31.282Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:31.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:31.282Z] [2024-01-25T18:56:31.282Z] Login Succeeded [2024-01-25T18:56:31.283Z] nexus3.edgexfoundry.org:10004 [2024-01-25T18:56:31.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:31.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:31.542Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:31.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:31.543Z] [2024-01-25T18:56:31.543Z] Login Succeeded [2024-01-25T18:56:31.543Z] ****.io [2024-01-25T18:56:31.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:31.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:31.802Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:31.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:31.802Z] [2024-01-25T18:56:31.802Z] Login Succeeded [2024-01-25T18:56:31.802Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T18:56:31.810Z] 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-25T18:56:32.295Z] + git rev-list -1 --merges 0031032c98cacaef459ac1109545c8ce5946c010~1..0031032c98cacaef459ac1109545c8ce5946c010 [Pipeline] echo [2024-01-25T18:56:32.323Z] -----------> git rev-list -1 --merges 0031032c98cacaef459ac1109545c8ce5946c010~1..0031032c98cacaef459ac1109545c8ce5946c010 0031032c98cacaef459ac1109545c8ce5946c010 [2024-01-25T18:56:32.323Z] 0031032c98cacaef459ac1109545c8ce5946c010 [false] [Pipeline] sh [2024-01-25T18:56:32.626Z] + git log --format=format:%s -1 0031032c98cacaef459ac1109545c8ce5946c010 [Pipeline] echo [2024-01-25T18:56:32.643Z] ========================================================= [2024-01-25T18:56:32.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T18:56:32.643Z] ========================================================= 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-25T18:56:33.176Z] + git rev-list -1 --merges 0031032c98cacaef459ac1109545c8ce5946c010~1..0031032c98cacaef459ac1109545c8ce5946c010 [Pipeline] echo [2024-01-25T18:56:33.188Z] -----------> git rev-list -1 --merges 0031032c98cacaef459ac1109545c8ce5946c010~1..0031032c98cacaef459ac1109545c8ce5946c010 0031032c98cacaef459ac1109545c8ce5946c010 [2024-01-25T18:56:33.188Z] 0031032c98cacaef459ac1109545c8ce5946c010 [false] [Pipeline] sh [2024-01-25T18:56:33.490Z] + git log --format=format:%s -1 0031032c98cacaef459ac1109545c8ce5946c010 [Pipeline] echo [2024-01-25T18:56:33.505Z] ========================================================= [2024-01-25T18:56:33.505Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T18:56:33.505Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-25T18:56:33.909Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T18:56:33.909Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-25T18:56:33.909Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-25T18:56:33.909Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-25T18:56:33.909Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-25T18:56:33.909Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-25T18:56:33.909Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:56:34.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:56:34.278Z] [2024-01-25T18:56:34.278Z] 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-25T18:56:34.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:56:34.596Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-25T18:56:34.596Z] b85a868b505f: Pulling fs layer [2024-01-25T18:56:34.596Z] e2be974225ed: Pulling fs layer [2024-01-25T18:56:34.596Z] 339a4e72a1f5: Pulling fs layer [2024-01-25T18:56:34.596Z] 988bab9f4d93: Pulling fs layer [2024-01-25T18:56:34.596Z] 1469e6f7b9e6: Pulling fs layer [2024-01-25T18:56:34.596Z] eaf3925da568: Pulling fs layer [2024-01-25T18:56:34.596Z] bab4dde63d76: Pulling fs layer [2024-01-25T18:56:34.596Z] bde34c3a00c8: Pulling fs layer [2024-01-25T18:56:34.596Z] b352a97aabf1: Pulling fs layer [2024-01-25T18:56:34.596Z] 4872d77fe225: Pulling fs layer [2024-01-25T18:56:34.596Z] 5851b861e8e6: Pulling fs layer [2024-01-25T18:56:34.596Z] bab4dde63d76: Waiting [2024-01-25T18:56:34.596Z] bde34c3a00c8: Waiting [2024-01-25T18:56:34.596Z] b352a97aabf1: Waiting [2024-01-25T18:56:34.596Z] 988bab9f4d93: Waiting [2024-01-25T18:56:34.596Z] 4872d77fe225: Waiting [2024-01-25T18:56:34.596Z] eaf3925da568: Waiting [2024-01-25T18:56:34.596Z] 5851b861e8e6: Waiting [2024-01-25T18:56:34.596Z] 1469e6f7b9e6: Waiting [2024-01-25T18:56:34.596Z] e2be974225ed: Download complete [2024-01-25T18:56:34.596Z] 988bab9f4d93: Verifying Checksum [2024-01-25T18:56:34.596Z] 988bab9f4d93: Download complete [2024-01-25T18:56:34.859Z] 1469e6f7b9e6: Verifying Checksum [2024-01-25T18:56:34.859Z] 1469e6f7b9e6: Download complete [2024-01-25T18:56:34.859Z] 339a4e72a1f5: Verifying Checksum [2024-01-25T18:56:34.859Z] 339a4e72a1f5: Download complete [2024-01-25T18:56:34.859Z] eaf3925da568: Verifying Checksum [2024-01-25T18:56:34.859Z] eaf3925da568: Download complete [2024-01-25T18:56:34.859Z] bde34c3a00c8: Verifying Checksum [2024-01-25T18:56:34.859Z] bde34c3a00c8: Download complete [2024-01-25T18:56:34.859Z] b352a97aabf1: Verifying Checksum [2024-01-25T18:56:34.859Z] b352a97aabf1: Download complete [2024-01-25T18:56:34.859Z] 4872d77fe225: Verifying Checksum [2024-01-25T18:56:34.859Z] 4872d77fe225: Download complete [2024-01-25T18:56:34.859Z] 5851b861e8e6: Download complete [2024-01-25T18:56:34.859Z] b85a868b505f: Download complete [2024-01-25T18:56:35.430Z] bab4dde63d76: Verifying Checksum [2024-01-25T18:56:35.430Z] bab4dde63d76: Download complete [2024-01-25T18:56:36.809Z] b85a868b505f: Pull complete [2024-01-25T18:56:36.809Z] e2be974225ed: Pull complete [2024-01-25T18:56:37.405Z] 339a4e72a1f5: Pull complete [2024-01-25T18:56:37.405Z] 988bab9f4d93: Pull complete [2024-01-25T18:56:37.666Z] 1469e6f7b9e6: Pull complete [2024-01-25T18:56:37.666Z] eaf3925da568: Pull complete [2024-01-25T18:56:39.582Z] bab4dde63d76: Pull complete [2024-01-25T18:56:39.582Z] bde34c3a00c8: Pull complete [2024-01-25T18:56:39.842Z] b352a97aabf1: Pull complete [2024-01-25T18:56:39.842Z] 4872d77fe225: Pull complete [2024-01-25T18:56:39.842Z] 5851b861e8e6: Pull complete [2024-01-25T18:56:39.842Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-25T18:56:39.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:56:39.842Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:56:40.032Z] prd-ubuntu20.04-docker-8c-8g-27921 does not seem to be running inside a container [2024-01-25T18:56:40.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T18:56:43.478Z] $ docker top 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f -eo pid,comm [2024-01-25T18:56:43.536Z] 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-25T18:56:43.536Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T18:56:43.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T18:56:43.619Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T18:56:43.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T18:56:43.743Z] $ docker exec 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f ssh-agent [2024-01-25T18:56:43.850Z] SSH_AUTH_SOCK=/tmp/ssh-4vuOiUQ3oPfA/agent.33 [2024-01-25T18:56:43.850Z] SSH_AGENT_PID=39 [2024-01-25T18:56:43.856Z] Running ssh-add (command line suppressed) [2024-01-25T18:56:43.956Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_7923845147087383094.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_7923845147087383094.key) [2024-01-25T18:56:43.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T18:56:44.280Z] + git tag --points-at HEAD [Pipeline] } [2024-01-25T18:56:44.286Z] $ docker exec --env ******** --env ******** 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f ssh-agent -k [2024-01-25T18:56:44.386Z] unset SSH_AUTH_SOCK; [2024-01-25T18:56:44.386Z] unset SSH_AGENT_PID; [2024-01-25T18:56:44.386Z] echo Agent pid 39 killed; [2024-01-25T18:56:44.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-25T18:56:44.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T18:56:44.463Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T18:56:44.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T18:56:44.573Z] $ docker exec 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f ssh-agent [2024-01-25T18:56:44.691Z] SSH_AUTH_SOCK=/tmp/ssh-tJ9WRt4EaP0G/agent.71 [2024-01-25T18:56:44.691Z] SSH_AGENT_PID=77 [2024-01-25T18:56:44.696Z] Running ssh-add (command line suppressed) [2024-01-25T18:56:44.787Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_14245358569843903455.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_14245358569843903455.key) [2024-01-25T18:56:44.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T18:56:45.170Z] + git semver init [2024-01-25T18:56:45.429Z] 2024-01-25 18:56:45,368 [run_init] DEBUG init version:0.0.0 force:False [2024-01-25T18:56:45.429Z] 2024-01-25 18:56:45,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-25T18:56:45.429Z] 2024-01-25 18:56:45,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-25T18:56:45.429Z] 2024-01-25 18:56:45,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,246 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,247 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,252 [execute] INFO git cat-file --batch-check [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,259 [execute] INFO git cat-file --batch [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T18:56:46.366Z] 2024-01-25 18:56:46,266 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-25T18:56:46.366Z] 0.0.0 [Pipeline] } [2024-01-25T18:56:46.370Z] $ docker exec --env ******** --env ******** 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f ssh-agent -k [2024-01-25T18:56:46.477Z] unset SSH_AUTH_SOCK; [2024-01-25T18:56:46.478Z] unset SSH_AGENT_PID; [2024-01-25T18:56:46.478Z] echo Agent pid 77 killed; [2024-01-25T18:56:46.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T18:56:46.857Z] + git semver [Pipeline] } [2024-01-25T18:56:47.122Z] $ docker stop --time=1 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f [2024-01-25T18:56:48.398Z] $ docker rm -f --volumes 174cbf7ee818bd310198d917c6d6ada925cc2bfc4f8f9246582f752a4c76e96f [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T18:56:48.770Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-25T18:56:49.029Z] Stashed 1 file(s) [Pipeline] echo [2024-01-25T18:56:49.032Z] [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-25T18:56:49.298Z] provisioning config files... [2024-01-25T18:56:49.310Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config6841583677310774992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:56:49.630Z] ---> ****-login.sh [2024-01-25T18:56:49.630Z] nexus3.edgexfoundry.org:10001 [2024-01-25T18:56:49.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:49.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:49.631Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:49.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:49.631Z] [2024-01-25T18:56:49.631Z] Login Succeeded [2024-01-25T18:56:49.631Z] nexus3.edgexfoundry.org:10002 [2024-01-25T18:56:49.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:49.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:49.631Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:49.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:49.631Z] [2024-01-25T18:56:49.631Z] Login Succeeded [2024-01-25T18:56:49.631Z] nexus3.edgexfoundry.org:10003 [2024-01-25T18:56:49.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:49.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:49.891Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:49.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:49.891Z] [2024-01-25T18:56:49.891Z] Login Succeeded [2024-01-25T18:56:49.891Z] nexus3.edgexfoundry.org:10004 [2024-01-25T18:56:49.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:49.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:49.891Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:49.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:49.891Z] [2024-01-25T18:56:49.891Z] Login Succeeded [2024-01-25T18:56:49.891Z] ****.io [2024-01-25T18:56:50.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:56:50.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:56:50.150Z] Configure a credential helper to remove this warning. See [2024-01-25T18:56:50.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:56:50.150Z] [2024-01-25T18:56:50.150Z] Login Succeeded [2024-01-25T18:56:50.150Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T18:56:50.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T18:56:50.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:56:50.331Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-25T18:56:50.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:56:50.391Z] ========================================================= [2024-01-25T18:56:50.391Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-25T18:56:50.391Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:56:50.756Z] + 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-25T18:56:50.756Z] Sending build context to Docker daemon 5.002MB [2024-01-25T18:56:50.757Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-01-25T18:56:50.757Z] Step 2/22 : FROM ${BASE} as builder [2024-01-25T18:56:50.757Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-25T18:56:50.757Z] 96526aa774ef: Pulling fs layer [2024-01-25T18:56:50.757Z] da60e534fd72: Pulling fs layer [2024-01-25T18:56:51.015Z] 96526aa774ef: Verifying Checksum [2024-01-25T18:56:51.015Z] 96526aa774ef: Download complete [2024-01-25T18:56:51.015Z] 96526aa774ef: Pull complete [2024-01-25T18:56:51.952Z] da60e534fd72: Verifying Checksum [2024-01-25T18:56:51.952Z] da60e534fd72: Download complete [2024-01-25T18:56:55.239Z] da60e534fd72: Pull complete [2024-01-25T18:56:55.239Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-25T18:56:55.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-25T18:56:55.239Z] ---> 6605166a5db4 [2024-01-25T18:56:55.239Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T18:56:57.146Z] ---> Running in 8488e2179a72 [2024-01-25T18:56:57.715Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T18:56:57.975Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T18:56:57.975Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T18:56:57.975Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T18:56:58.233Z] Removing intermediate container 8488e2179a72 [2024-01-25T18:56:58.233Z] ---> 372d220a591f [2024-01-25T18:56:58.233Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T18:56:58.233Z] ---> Running in dea144601137 [2024-01-25T18:56:58.803Z] Removing intermediate container dea144601137 [2024-01-25T18:56:58.803Z] ---> 784450a8a425 [2024-01-25T18:56:58.803Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-25T18:56:58.803Z] ---> Running in 4377df59a481 [2024-01-25T18:56:59.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:56:59.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:56:59.474Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:00.043Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T18:57:00.043Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-25T18:57:00.043Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-25T18:57:00.043Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T18:57:00.610Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T18:57:00.868Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T18:57:00.868Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-25T18:57:00.868Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-25T18:57:00.868Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T18:57:01.127Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T18:57:01.127Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T18:57:01.127Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T18:57:01.127Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-25T18:57:01.127Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-25T18:57:01.127Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-25T18:57:01.127Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-25T18:57:01.127Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-25T18:57:01.127Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-25T18:57:01.127Z] Executing busybox-1.36.1-r4.trigger [2024-01-25T18:57:01.127Z] OK: 336 MiB in 99 packages [2024-01-25T18:57:01.694Z] Removing intermediate container 4377df59a481 [2024-01-25T18:57:01.694Z] ---> df7c76aecbcd [2024-01-25T18:57:01.694Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-01-25T18:57:01.694Z] ---> Running in 4bd487ddfe59 [2024-01-25T18:57:02.261Z] Removing intermediate container 4bd487ddfe59 [2024-01-25T18:57:02.261Z] ---> ec93d67aa72f [2024-01-25T18:57:02.261Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-01-25T18:57:02.536Z] ---> ee31380c3397 [2024-01-25T18:57:02.536Z] Step 8/22 : COPY src /tmp/sdk/src [2024-01-25T18:57:02.797Z] ---> 9d305550b6e3 [2024-01-25T18:57:02.797Z] Step 9/22 : COPY include /tmp/sdk/include [2024-01-25T18:57:02.797Z] ---> 4e9ac1aa619e [2024-01-25T18:57:02.797Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-01-25T18:57:03.055Z] ---> 8b0c2b561752 [2024-01-25T18:57:03.055Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-01-25T18:57:03.055Z] ---> c171b3b7c1e5 [2024-01-25T18:57:03.055Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-01-25T18:57:03.314Z] ---> 1e0e850c90d1 [2024-01-25T18:57:03.314Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-25T18:57:03.314Z] ---> Running in 37c514986f79 [2024-01-25T18:57:03.573Z] + CPPCHECK=false [2024-01-25T18:57:03.573Z] + DOCGEN=false [2024-01-25T18:57:03.573Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-25T18:57:03.573Z] + '[' 0 -gt 0 ] [2024-01-25T18:57:03.573Z] + readlink -f ./scripts/build.sh [2024-01-25T18:57:03.573Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-25T18:57:03.573Z] + dirname /tmp/sdk/scripts [2024-01-25T18:57:03.573Z] + ROOT=/tmp/sdk [2024-01-25T18:57:03.573Z] + cd /tmp/sdk [2024-01-25T18:57:03.573Z] + mkdir -p /tmp/sdk/build/release [2024-01-25T18:57:03.573Z] + cd /tmp/sdk/build/release [2024-01-25T18:57:03.573Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-25T18:57:03.573Z] -- The C compiler identification is GNU 12.2.1 [2024-01-25T18:57:03.573Z] -- Detecting C compiler ABI info [2024-01-25T18:57:03.833Z] -- Detecting C compiler ABI info - done [2024-01-25T18:57:03.833Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T18:57:03.833Z] -- Detecting C compile features [2024-01-25T18:57:03.833Z] -- Detecting C compile features - done [2024-01-25T18:57:03.833Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T18:57:03.833Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T18:57:03.833Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T18:57:03.833Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T18:57:03.833Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T18:57:03.833Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T18:57:03.833Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T18:57:03.833Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T18:57:03.833Z] -- /opt/iotech/iot/1.5/include [2024-01-25T18:57:03.833Z] -- C SDK 0.0.0 for Linux [2024-01-25T18:57:03.833Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T18:57:03.833Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T18:57:04.093Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-25T18:57:04.093Z] -- Configuring done (0.4s) [2024-01-25T18:57:04.093Z] -- Generating done (0.0s) [2024-01-25T18:57:04.093Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-25T18:57:04.093Z] + + tee release.logmake [2024-01-25T18:57:04.093Z] all package [2024-01-25T18:57:04.093Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T18:57:04.207Z] Still waiting to schedule task [2024-01-25T18:57:04.208Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-27919’ [2024-01-25T18:57:04.352Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T18:57:04.352Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T18:57:04.352Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T18:57:04.614Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T18:57:04.614Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T18:57:04.874Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T18:57:05.133Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-25T18:57:05.133Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T18:57:05.133Z] 294 | while (privateConfig) [2024-01-25T18:57:05.133Z] | ^~~~~~~~~~~~~ [2024-01-25T18:57:05.133Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-25T18:57:05.133Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T18:57:05.133Z] | ^~~~~~~~~~~~~ [2024-01-25T18:57:05.133Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T18:57:05.133Z] 271 | while (result) [2024-01-25T18:57:05.133Z] | ^~~~~~ [2024-01-25T18:57:05.133Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-25T18:57:05.133Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T18:57:05.133Z] | ^~~~~~ [2024-01-25T18:57:05.133Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T18:57:05.133Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T18:57:05.391Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T18:57:05.651Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T18:57:05.651Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T18:57:05.916Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T18:57:05.916Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T18:57:06.175Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T18:57:06.175Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T18:57:06.435Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T18:57:06.695Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T18:57:06.695Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T18:57:06.695Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T18:57:06.954Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T18:57:07.892Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T18:57:08.151Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T18:57:08.151Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T18:57:08.151Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T18:57:08.413Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T18:57:08.671Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T18:57:08.930Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T18:57:08.930Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T18:57:09.191Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T18:57:09.191Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T18:57:09.191Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T18:57:09.191Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T18:57:09.191Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T18:57:09.191Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T18:57:09.191Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T18:57:09.191Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T18:57:09.191Z] | ^ [2024-01-25T18:57:09.452Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T18:57:09.452Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-25T18:57:09.452Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T18:57:09.452Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-25T18:57:09.452Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-25T18:57:09.452Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-25T18:57:09.712Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T18:57:09.712Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T18:57:09.712Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T18:57:09.972Z] [ 68%] Linking C shared library libcsdk.so [2024-01-25T18:57:09.972Z] [ 68%] Built target csdk [2024-01-25T18:57:09.972Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T18:57:09.972Z] [ 72%] Linking C executable template [2024-01-25T18:57:10.233Z] [ 72%] Built target template [2024-01-25T18:57:10.233Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T18:57:10.233Z] [ 76%] Linking C executable device-counter [2024-01-25T18:57:10.233Z] [ 76%] Built target device-counter [2024-01-25T18:57:10.492Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T18:57:10.492Z] [ 80%] Linking C executable device-random [2024-01-25T18:57:10.492Z] [ 80%] Built target device-random [2024-01-25T18:57:10.492Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T18:57:10.753Z] [ 84%] Linking C executable device-gyro [2024-01-25T18:57:10.753Z] [ 84%] Built target device-gyro [2024-01-25T18:57:10.753Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T18:57:10.753Z] [ 88%] Linking C executable device-bitfields [2024-01-25T18:57:10.753Z] [ 88%] Built target device-bitfields [2024-01-25T18:57:11.016Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T18:57:11.016Z] [ 92%] Linking C executable template-discovery [2024-01-25T18:57:11.016Z] [ 92%] Built target template-discovery [2024-01-25T18:57:11.016Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T18:57:11.275Z] [ 96%] Linking C executable device-file [2024-01-25T18:57:11.275Z] [ 96%] Built target device-file [2024-01-25T18:57:11.275Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T18:57:11.534Z] [100%] Linking C executable device-terminal [2024-01-25T18:57:11.535Z] [100%] Built target device-terminal [2024-01-25T18:57:11.535Z] Run CPack packaging tool... [2024-01-25T18:57:11.535Z] CPack: Create package using TGZ [2024-01-25T18:57:11.535Z] CPack: Install projects [2024-01-25T18:57:11.535Z] CPack: - Run preinstall target for: Csdk [2024-01-25T18:57:11.794Z] CPack: - Install project: Csdk [] [2024-01-25T18:57:11.794Z] CPack: Create package [2024-01-25T18:57:11.794Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-25T18:57:11.794Z] + '[' false '=' true ] [2024-01-25T18:57:11.794Z] + '[' false '=' true ] [2024-01-25T18:57:11.794Z] + mkdir -p /tmp/sdk/build/debug [2024-01-25T18:57:11.794Z] + cd /tmp/sdk/build/debug [2024-01-25T18:57:11.794Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-25T18:57:11.794Z] -- The C compiler identification is GNU 12.2.1 [2024-01-25T18:57:12.053Z] -- Detecting C compiler ABI info [2024-01-25T18:57:12.053Z] -- Detecting C compiler ABI info - done [2024-01-25T18:57:12.053Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T18:57:12.053Z] -- Detecting C compile features [2024-01-25T18:57:12.053Z] -- Detecting C compile features - done [2024-01-25T18:57:12.053Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T18:57:12.053Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T18:57:12.053Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T18:57:12.053Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T18:57:12.053Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T18:57:12.053Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T18:57:12.053Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T18:57:12.053Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T18:57:12.053Z] -- /opt/iotech/iot/1.5/include [2024-01-25T18:57:12.053Z] -- C SDK 0.0.0 for Linux [2024-01-25T18:57:12.053Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T18:57:12.311Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T18:57:12.311Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-25T18:57:12.311Z] -- Configuring done (0.4s) [2024-01-25T18:57:12.311Z] -- Generating done (0.0s) [2024-01-25T18:57:12.311Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-25T18:57:12.311Z] + make [2024-01-25T18:57:12.311Z] + tee debug.log [2024-01-25T18:57:12.311Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T18:57:12.571Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T18:57:12.571Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T18:57:12.571Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T18:57:12.571Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T18:57:12.831Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T18:57:12.831Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T18:57:12.831Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T18:57:13.118Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T18:57:13.118Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T18:57:13.118Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T18:57:13.376Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T18:57:13.376Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T18:57:13.376Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T18:57:13.376Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T18:57:13.635Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T18:57:13.635Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T18:57:13.635Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T18:57:13.897Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T18:57:13.897Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T18:57:13.897Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T18:57:14.158Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T18:57:14.158Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T18:57:14.158Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T18:57:14.418Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T18:57:14.418Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T18:57:14.418Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T18:57:14.679Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T18:57:14.679Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T18:57:14.939Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T18:57:14.940Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T18:57:14.940Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T18:57:14.940Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T18:57:14.940Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T18:57:14.940Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T18:57:14.940Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T18:57:14.940Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T18:57:14.940Z] | ^ [2024-01-25T18:57:14.940Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T18:57:15.201Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T18:57:15.201Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T18:57:15.201Z] [ 68%] Linking C shared library libcsdk.so [2024-01-25T18:57:15.201Z] [ 68%] Built target csdk [2024-01-25T18:57:15.201Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T18:57:15.460Z] [ 72%] Linking C executable template [2024-01-25T18:57:15.460Z] [ 72%] Built target template [2024-01-25T18:57:15.460Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T18:57:15.460Z] [ 76%] Linking C executable device-counter [2024-01-25T18:57:15.460Z] [ 76%] Built target device-counter [2024-01-25T18:57:15.719Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T18:57:15.719Z] [ 80%] Linking C executable device-random [2024-01-25T18:57:15.719Z] [ 80%] Built target device-random [2024-01-25T18:57:15.719Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T18:57:15.719Z] [ 84%] Linking C executable device-gyro [2024-01-25T18:57:15.977Z] [ 84%] Built target device-gyro [2024-01-25T18:57:15.977Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T18:57:15.977Z] [ 88%] Linking C executable device-bitfields [2024-01-25T18:57:15.977Z] [ 88%] Built target device-bitfields [2024-01-25T18:57:15.977Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T18:57:15.977Z] [ 92%] Linking C executable template-discovery [2024-01-25T18:57:16.237Z] [ 92%] Built target template-discovery [2024-01-25T18:57:16.237Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T18:57:16.237Z] [ 96%] Linking C executable device-file [2024-01-25T18:57:16.237Z] [ 96%] Built target device-file [2024-01-25T18:57:16.237Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T18:57:16.497Z] [100%] Linking C executable device-terminal [2024-01-25T18:57:16.497Z] [100%] Built target device-terminal [2024-01-25T18:57:16.497Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-25T18:57:16.497Z] [ 68%] Built target csdk [2024-01-25T18:57:16.497Z] [ 72%] Built target template [2024-01-25T18:57:16.497Z] [ 76%] Built target device-counter [2024-01-25T18:57:16.497Z] [ 80%] Built target device-random [2024-01-25T18:57:16.497Z] [ 84%] Built target device-gyro [2024-01-25T18:57:16.757Z] [ 88%] Built target device-bitfields [2024-01-25T18:57:16.757Z] [ 92%] Built target template-discovery [2024-01-25T18:57:16.757Z] [ 96%] Built target device-file [2024-01-25T18:57:16.757Z] [100%] Built target device-terminal [2024-01-25T18:57:16.757Z] Install the project... [2024-01-25T18:57:16.757Z] -- Install configuration: "Release" [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-25T18:57:16.757Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/devsdk [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-25T18:57:16.757Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-25T18:57:16.757Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-25T18:57:17.325Z] Removing intermediate container 37c514986f79 [2024-01-25T18:57:17.325Z] ---> a0237135b4a1 [2024-01-25T18:57:17.325Z] Step 14/22 : FROM ${BASE} [2024-01-25T18:57:17.325Z] ---> 6605166a5db4 [2024-01-25T18:57:17.325Z] Step 15/22 : LABEL maintainer="IOTech " [2024-01-25T18:57:17.325Z] ---> Running in c8aee0afc364 [2024-01-25T18:57:17.585Z] Removing intermediate container c8aee0afc364 [2024-01-25T18:57:17.585Z] ---> 70ad2a960399 [2024-01-25T18:57:17.585Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T18:57:17.585Z] ---> Running in 979cde954a75 [2024-01-25T18:57:17.846Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T18:57:18.106Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T18:57:18.106Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T18:57:18.106Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T18:57:18.365Z] Removing intermediate container 979cde954a75 [2024-01-25T18:57:18.365Z] ---> 8385b4ce14c2 [2024-01-25T18:57:18.365Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T18:57:18.365Z] ---> Running in 1f1385814aa7 [2024-01-25T18:57:18.936Z] Removing intermediate container 1f1385814aa7 [2024-01-25T18:57:18.936Z] ---> 8862aeaf7ffc [2024-01-25T18:57:18.936Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-01-25T18:57:19.195Z] ---> Running in bc790588e88a [2024-01-25T18:57:19.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:19.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:19.718Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:20.289Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T18:57:20.289Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T18:57:20.289Z] (2/10) Installing curl (8.5.0-r0) [2024-01-25T18:57:20.289Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T18:57:20.289Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-01-25T18:57:20.289Z] (5/10) Installing hiredis (1.1.0-r2) [2024-01-25T18:57:20.289Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-25T18:57:20.289Z] (7/10) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T18:57:20.861Z] (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T18:57:21.121Z] (9/10) Installing libcbor (0.10.2-r1) [2024-01-25T18:57:21.121Z] (10/10) Installing libuuid (2.38.1-r8) [2024-01-25T18:57:21.121Z] Executing busybox-1.36.1-r4.trigger [2024-01-25T18:57:21.121Z] OK: 331 MiB in 90 packages [2024-01-25T18:57:21.691Z] Removing intermediate container bc790588e88a [2024-01-25T18:57:21.691Z] ---> 23dbd7589586 [2024-01-25T18:57:21.691Z] Step 19/22 : RUN apk --no-cache upgrade [2024-01-25T18:57:21.691Z] ---> Running in 7f67c5443f30 [2024-01-25T18:57:21.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:22.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:22.210Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:22.779Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T18:57:22.779Z] (1/9) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T18:57:22.779Z] Executing busybox-1.36.1-r5.post-upgrade [2024-01-25T18:57:22.779Z] (2/9) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T18:57:22.779Z] (3/9) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T18:57:22.779Z] (4/9) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T18:57:22.779Z] (5/9) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T18:57:22.779Z] (6/9) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T18:57:22.779Z] (7/9) Upgrading gnutls (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T18:57:22.779Z] (8/9) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T18:57:22.779Z] (9/9) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T18:57:22.779Z] Executing busybox-1.36.1-r5.trigger [2024-01-25T18:57:22.779Z] Executing ca-certificates-20230506-r0.trigger [2024-01-25T18:57:23.105Z] OK: 331 MiB in 90 packages [2024-01-25T18:57:23.673Z] Removing intermediate container 7f67c5443f30 [2024-01-25T18:57:23.673Z] ---> a48844eac6d4 [2024-01-25T18:57:23.673Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-25T18:57:23.930Z] ---> 0fe27fcd8633 [2024-01-25T18:57:23.930Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-25T18:57:23.930Z] ---> f5f090499bac [2024-01-25T18:57:23.930Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-25T18:57:24.190Z] ---> 24dc64659442 [2024-01-25T18:57:24.190Z] Successfully built 24dc64659442 [2024-01-25T18:57:24.190Z] 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-25T18:57:24.720Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T18:57:24.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:57:24.830Z] prd-ubuntu20.04-docker-8c-8g-27921 does not seem to be running inside a container [2024-01-25T18:57:24.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-25T18:57:25.210Z] $ docker top 97cd75632a61ac7a2e4c3d1c2a28221f4404227c05f5e281834b2330f8eb4f68 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:57:25.613Z] + make test [2024-01-25T18:57:25.613Z] echo "make test" [2024-01-25T18:57:25.613Z] make test [Pipeline] } [2024-01-25T18:57:25.624Z] $ docker stop --time=1 97cd75632a61ac7a2e4c3d1c2a28221f4404227c05f5e281834b2330f8eb4f68 [2024-01-25T18:57:26.863Z] $ docker rm -f --volumes 97cd75632a61ac7a2e4c3d1c2a28221f4404227c05f5e281834b2330f8eb4f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T18:57:27.503Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T18:57:27.793Z] + ls -al . [2024-01-25T18:57:27.793Z] total 212 [2024-01-25T18:57:27.793Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 18:56 . [2024-01-25T18:57:27.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:56 .. [2024-01-25T18:57:27.793Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:56 .git [2024-01-25T18:57:27.793Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:56 .github [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 18:56 .gitignore [2024-01-25T18:57:27.793Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:56 .semver [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 18:56 Attribution.txt [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 18:56 CHANGELOG.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 18:56 Doxyfile [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:56 GOVERNANCE.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 18:56 Jenkinsfile [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 18:56 LICENSE [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 18:56 Makefile [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 18:56 OWNERS.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 18:56 README.IOT.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 18:56 README.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 18:56 README.v3.md [2024-01-25T18:57:27.793Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:56 VERSION [2024-01-25T18:57:27.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:56 docs [2024-01-25T18:57:27.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:56 include [2024-01-25T18:57:27.793Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:56 scripts [2024-01-25T18:57:27.793Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:57:28.143Z] + 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=0031032c98cacaef459ac1109545c8ce5946c010 --label arch=amd64 --label version=0.0.0 . [2024-01-25T18:57:28.143Z] Sending build context to Docker daemon 5.002MB [2024-01-25T18:57:28.143Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-01-25T18:57:28.143Z] Step 2/18 : FROM ${BASE} [2024-01-25T18:57:28.143Z] ---> 24dc64659442 [2024-01-25T18:57:28.143Z] Step 3/18 : LABEL maintainer="IOTech " [2024-01-25T18:57:28.143Z] ---> Running in 07eaf74eb3ce [2024-01-25T18:57:28.404Z] Removing intermediate container 07eaf74eb3ce [2024-01-25T18:57:28.404Z] ---> de03ee4be64a [2024-01-25T18:57:28.404Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T18:57:28.404Z] ---> Running in 3ae27d80538f [2024-01-25T18:57:28.665Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-25T18:57:28.925Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T18:57:28.925Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T18:57:28.925Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T18:57:29.186Z] Removing intermediate container 3ae27d80538f [2024-01-25T18:57:29.186Z] ---> 8a7c52152a76 [2024-01-25T18:57:29.186Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T18:57:29.186Z] ---> Running in f091a38526f7 [2024-01-25T18:57:29.754Z] Removing intermediate container f091a38526f7 [2024-01-25T18:57:29.754Z] ---> ecffebae53d2 [2024-01-25T18:57:29.754Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-01-25T18:57:29.754Z] ---> Running in d67cbffc0616 [2024-01-25T18:57:30.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:30.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:30.531Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:31.098Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T18:57:31.098Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T18:57:31.358Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-25T18:57:31.358Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T18:57:31.358Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T18:57:31.358Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T18:57:31.358Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T18:57:31.358Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-25T18:57:31.620Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-25T18:57:31.620Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-25T18:57:31.620Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-25T18:57:31.620Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-25T18:57:31.620Z] Executing busybox-1.36.1-r5.trigger [2024-01-25T18:57:31.620Z] OK: 337 MiB in 101 packages [2024-01-25T18:57:32.218Z] Removing intermediate container d67cbffc0616 [2024-01-25T18:57:32.218Z] ---> ff5fe1ef88b2 [2024-01-25T18:57:32.218Z] Step 7/18 : RUN apk --no-cache upgrade [2024-01-25T18:57:32.218Z] ---> Running in 168dcd916271 [2024-01-25T18:57:32.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:32.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:32.478Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:57:33.049Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T18:57:33.049Z] OK: 337 MiB in 101 packages [2024-01-25T18:57:33.307Z] Removing intermediate container 168dcd916271 [2024-01-25T18:57:33.307Z] ---> 2998fd2d6f1a [2024-01-25T18:57:33.307Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-01-25T18:57:33.566Z] ---> c5a5d6111321 [2024-01-25T18:57:33.566Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-01-25T18:57:33.825Z] ---> 047ef4a2a162 [2024-01-25T18:57:33.825Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-01-25T18:57:33.825Z] ---> 1bae26f1f2f0 [2024-01-25T18:57:33.825Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-01-25T18:57:34.084Z] ---> 3d562f218e8d [2024-01-25T18:57:34.084Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-01-25T18:57:34.084Z] ---> 2ac140dd9ff5 [2024-01-25T18:57:34.084Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-25T18:57:34.345Z] ---> 5f4bf13950ea [2024-01-25T18:57:34.345Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-01-25T18:57:34.345Z] ---> Running in d61c4d06b00c [2024-01-25T18:57:34.345Z] Removing intermediate container d61c4d06b00c [2024-01-25T18:57:34.345Z] ---> f2e48e652a3f [2024-01-25T18:57:34.345Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-25T18:57:34.345Z] ---> Running in 1b86644bee53 [2024-01-25T18:57:34.605Z] Removing intermediate container 1b86644bee53 [2024-01-25T18:57:34.605Z] ---> 590aa69c6fcc [2024-01-25T18:57:34.605Z] Step 16/18 : LABEL arch=amd64 [2024-01-25T18:57:34.605Z] ---> Running in 748b01826a3a [2024-01-25T18:57:34.605Z] Removing intermediate container 748b01826a3a [2024-01-25T18:57:34.606Z] ---> 81999466975a [2024-01-25T18:57:34.606Z] Step 17/18 : LABEL git_sha=0031032c98cacaef459ac1109545c8ce5946c010 [2024-01-25T18:57:34.606Z] ---> Running in e73ca6486753 [2024-01-25T18:57:34.606Z] Removing intermediate container e73ca6486753 [2024-01-25T18:57:34.606Z] ---> 5b1530456fca [2024-01-25T18:57:34.606Z] Step 18/18 : LABEL version=0.0.0 [2024-01-25T18:57:34.606Z] ---> Running in 0cd22901551f [2024-01-25T18:57:34.865Z] Removing intermediate container 0cd22901551f [2024-01-25T18:57:34.865Z] ---> d31a21e8157d [2024-01-25T18:57:34.865Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-25T18:57:34.865Z] Successfully built d31a21e8157d [2024-01-25T18:57:34.865Z] 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-25T18:57:35.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:57:35.604Z] [2024-01-25T18:57:35.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:57:35.929Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:57:35.929Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-25T18:57:35.929Z] 5eb5b503b376: Pulling fs layer [2024-01-25T18:57:35.929Z] 5c69ac0246d0: Pulling fs layer [2024-01-25T18:57:35.929Z] ec43610c2a17: Pulling fs layer [2024-01-25T18:57:35.929Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-25T18:57:35.929Z] 33b1e0a273af: Pulling fs layer [2024-01-25T18:57:35.929Z] 5d3b04190fa2: Pulling fs layer [2024-01-25T18:57:35.929Z] 2f39f015ded8: Pulling fs layer [2024-01-25T18:57:35.929Z] 3a2ae6a8a46f: Waiting [2024-01-25T18:57:35.929Z] 33b1e0a273af: Waiting [2024-01-25T18:57:35.929Z] 5d3b04190fa2: Waiting [2024-01-25T18:57:35.929Z] 2f39f015ded8: Waiting [2024-01-25T18:57:35.929Z] 5c69ac0246d0: Verifying Checksum [2024-01-25T18:57:35.929Z] 5c69ac0246d0: Download complete [2024-01-25T18:57:35.929Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-25T18:57:35.929Z] 3a2ae6a8a46f: Download complete [2024-01-25T18:57:35.929Z] 33b1e0a273af: Verifying Checksum [2024-01-25T18:57:35.929Z] 33b1e0a273af: Download complete [2024-01-25T18:57:35.929Z] 5d3b04190fa2: Download complete [2024-01-25T18:57:35.929Z] ec43610c2a17: Verifying Checksum [2024-01-25T18:57:35.929Z] ec43610c2a17: Download complete [2024-01-25T18:57:36.187Z] 5eb5b503b376: Verifying Checksum [2024-01-25T18:57:36.187Z] 5eb5b503b376: Download complete [2024-01-25T18:57:36.755Z] 2f39f015ded8: Download complete [2024-01-25T18:57:37.690Z] 5eb5b503b376: Pull complete [2024-01-25T18:57:37.690Z] 5c69ac0246d0: Pull complete [2024-01-25T18:57:38.267Z] ec43610c2a17: Pull complete [2024-01-25T18:57:38.267Z] 3a2ae6a8a46f: Pull complete [2024-01-25T18:57:38.267Z] 33b1e0a273af: Pull complete [2024-01-25T18:57:38.525Z] 5d3b04190fa2: Pull complete [2024-01-25T18:57:43.801Z] 2f39f015ded8: Pull complete [2024-01-25T18:57:43.801Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-25T18:57:43.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:57:43.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:57:43.967Z] prd-ubuntu20.04-docker-8c-8g-27921 does not seem to be running inside a container [2024-01-25T18:57:43.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-25T18:57:49.075Z] $ docker top 705b90bf00c43b0cdf675968a0d284d389f17b50672a360c147e9b7ea21fbf46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:57:49.504Z] ---> job-cost.sh [2024-01-25T18:57:49.505Z] lf-activate-venv: SKIPPING [2024-01-25T18:57:49.505Z] INFO: No Stack... [2024-01-25T18:57:49.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T18:57:50.333Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T18:57:50.627Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-01-25T18:57:50.627Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T18:57:50.642Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [2024-01-25T18:57:50.650Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] did not exist. Created. [2024-01-25T18:57:50.650Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T18:57:51.003Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T18:57:51.050Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T18:57:51.055Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T18:57:51.116Z] $ docker stop --time=1 705b90bf00c43b0cdf675968a0d284d389f17b50672a360c147e9b7ea21fbf46 [2024-01-25T18:57:52.279Z] $ docker rm -f --volumes 705b90bf00c43b0cdf675968a0d284d389f17b50672a360c147e9b7ea21fbf46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-25T19:00:06.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27923 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-01-25T19:00:06.889Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2024-01-25T19:00:09.962Z] Selected Git installation does not exist. Using Default [2024-01-25T19:00:09.962Z] The recommended git tool is: NONE [2024-01-25T19:00:19.227Z] using credential edgex-jenkins-ssh [2024-01-25T19:00:19.249Z] Cloning the remote Git repository [2024-01-25T19:00:19.298Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-25T19:00:19.407Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2024-01-25T19:00:19.569Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-25T19:00:19.570Z] > git --version # timeout=10 [2024-01-25T19:00:19.591Z] > git --version # 'git version 2.25.1' [2024-01-25T19:00:19.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T19:00:19.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T19:00:20.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-25T19:00:20.994Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T19:00:22.644Z] Merging remotes/origin/main commit 9db6249cb5b64beed6f22149c866398dbcee266e into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-01-25T19:00:21.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-25T19:00:21.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-25T19:00:21.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T19:00:22.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-25T19:00:22.667Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T19:00:22.734Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-01-25T19:00:22.870Z] > git remote # timeout=10 [2024-01-25T19:00:22.893Z] > git config --get remote.origin.url # timeout=10 [2024-01-25T19:00:22.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T19:00:22.927Z] > git merge 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 [2024-01-25T19:00:23.079Z] Merge succeeded, producing bca1b49ac5df6988ad03e5ad4a63aa627d45501d [2024-01-25T19:00:23.079Z] Checking out Revision bca1b49ac5df6988ad03e5ad4a63aa627d45501d (PR-496) [2024-01-25T19:00:23.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-25T19:00:23.087Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T19:00:23.103Z] > git checkout -f bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [2024-01-25T19:00:26.724Z] Commit message: "Merge commit '9db6249cb5b64beed6f22149c866398dbcee266e' into HEAD" [2024-01-25T19:00:26.761Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T19:00:26.734Z] > git rev-list --no-walk e248b6bd68f06e2413c905020bbcb77bc4cbd132 # timeout=10 [2024-01-25T19:00:28.064Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-25T19:00:28.064Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T19:00:28.064Z] Dload Upload Total Spent Left Speed [2024-01-25T19:00:28.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh [2024-01-25T19:00:28.522Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-25T19:00:28.865Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-01-25T19:00:28.865Z] sudo tee /etc/docker/daemon.new [2024-01-25T19:00:28.865Z] { [2024-01-25T19:00:28.865Z] "registry-mirrors": [ [2024-01-25T19:00:28.865Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-25T19:00:28.865Z] ], [2024-01-25T19:00:28.865Z] "bip": "10.250.0.254/24", [2024-01-25T19:00:28.865Z] "hosts": [ [2024-01-25T19:00:28.865Z] "tcp://0.0.0.0:5555", [2024-01-25T19:00:28.865Z] "unix:///var/run/docker.sock" [2024-01-25T19:00:28.865Z] ], [2024-01-25T19:00:28.865Z] "mtu": 1458, [2024-01-25T19:00:28.865Z] "selinux-enabled": true, [2024-01-25T19:00:28.865Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-25T19:00:28.865Z] } [Pipeline] sh [2024-01-25T19:00:29.201Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-25T19:00:29.530Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T19:00:47.816Z] provisioning config files... [2024-01-25T19:00:47.845Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config5640013392256418249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:00:48.286Z] ---> ****-login.sh [2024-01-25T19:00:48.286Z] nexus3.edgexfoundry.org:10001 [2024-01-25T19:00:48.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T19:00:48.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T19:00:48.824Z] Configure a credential helper to remove this warning. See [2024-01-25T19:00:48.824Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T19:00:48.824Z] [2024-01-25T19:00:48.824Z] Login Succeeded [2024-01-25T19:00:48.824Z] nexus3.edgexfoundry.org:10002 [2024-01-25T19:00:49.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T19:00:49.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T19:00:49.095Z] Configure a credential helper to remove this warning. See [2024-01-25T19:00:49.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T19:00:49.095Z] [2024-01-25T19:00:49.095Z] Login Succeeded [2024-01-25T19:00:49.095Z] nexus3.edgexfoundry.org:10003 [2024-01-25T19:00:49.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T19:00:49.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T19:00:49.366Z] Configure a credential helper to remove this warning. See [2024-01-25T19:00:49.366Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T19:00:49.366Z] [2024-01-25T19:00:49.366Z] Login Succeeded [2024-01-25T19:00:49.366Z] nexus3.edgexfoundry.org:10004 [2024-01-25T19:00:49.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T19:00:49.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T19:00:49.634Z] Configure a credential helper to remove this warning. See [2024-01-25T19:00:49.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T19:00:49.634Z] [2024-01-25T19:00:49.634Z] Login Succeeded [2024-01-25T19:00:49.634Z] ****.io [2024-01-25T19:00:49.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T19:00:50.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T19:00:50.173Z] Configure a credential helper to remove this warning. See [2024-01-25T19:00:50.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T19:00:50.173Z] [2024-01-25T19:00:50.173Z] Login Succeeded [2024-01-25T19:00:50.173Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T19:00:50.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T19:00:50.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T19:00:50.607Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-25T19:00:50.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T19:00:50.675Z] ========================================================= [2024-01-25T19:00:50.675Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-25T19:00:50.675Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T19:00:51.094Z] + 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-25T19:00:52.511Z] #0 building with "default" instance using docker driver [2024-01-25T19:00:52.511Z] [2024-01-25T19:00:52.511Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-25T19:00:52.511Z] #1 transferring dockerfile: 2.16kB done [2024-01-25T19:00:52.511Z] #1 DONE 0.1s [2024-01-25T19:00:52.511Z] [2024-01-25T19:00:52.511Z] #2 [internal] load .dockerignore [2024-01-25T19:00:52.511Z] #2 transferring context: 2B done [2024-01-25T19:00:52.511Z] #2 DONE 0.1s [2024-01-25T19:00:52.511Z] [2024-01-25T19:00:52.511Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-25T19:00:52.511Z] #3 DONE 0.1s [2024-01-25T19:00:52.511Z] [2024-01-25T19:00:52.511Z] #4 [stage-1 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-25T19:00:52.511Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-25T19:00:52.782Z] #4 ... [2024-01-25T19:00:52.782Z] [2024-01-25T19:00:52.782Z] #5 [internal] load build context [2024-01-25T19:00:52.782Z] #5 transferring context: 628.60kB 0.2s done [2024-01-25T19:00:52.782Z] #5 DONE 0.2s [2024-01-25T19:00:52.782Z] [2024-01-25T19:00:52.782Z] #4 [stage-1 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-25T19:00:52.782Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-25T19:00:52.782Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-25T19:00:52.782Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 2.10MB / 3.33MB 0.2s [2024-01-25T19:00:52.782Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 4.19MB / 109.51MB 0.2s [2024-01-25T19:00:52.782Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-25T19:00:52.782Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-25T19:00:52.782Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.63MB / 109.51MB 0.4s [2024-01-25T19:00:53.051Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-25T19:00:53.051Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 27.26MB / 109.51MB 0.7s [2024-01-25T19:00:53.319Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 38.04MB / 109.51MB 0.9s [2024-01-25T19:00:53.591Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 49.28MB / 109.51MB 1.1s [2024-01-25T19:00:53.591Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 55.57MB / 109.51MB 1.2s [2024-01-25T19:00:53.884Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 61.87MB / 109.51MB 1.3s [2024-01-25T19:00:53.884Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.40MB / 109.51MB 1.5s [2024-01-25T19:00:54.153Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 79.21MB / 109.51MB 1.6s [2024-01-25T19:00:54.153Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 91.06MB / 109.51MB 1.8s [2024-01-25T19:00:54.419Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 108.00MB / 109.51MB 2.1s [2024-01-25T19:00:54.686Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.3s done [2024-01-25T19:00:54.686Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-25T19:01:00.057Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-25T19:01:06.739Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.6s [2024-01-25T19:01:07.700Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.9s done [2024-01-25T19:01:07.968Z] #4 DONE 15.6s [2024-01-25T19:01:07.968Z] [2024-01-25T19:01:07.968Z] #6 [stage-1 2/8] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T19:01:08.931Z] #6 0.699 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T19:01:09.203Z] #6 1.238 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T19:01:09.472Z] #6 1.238 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T19:01:09.472Z] #6 1.239 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T19:01:12.829Z] #6 DONE 4.3s [2024-01-25T19:01:12.829Z] [2024-01-25T19:01:12.829Z] #7 [stage-1 3/8] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T19:01:13.422Z] #7 DONE 0.9s [2024-01-25T19:01:13.422Z] [2024-01-25T19:01:13.422Z] #8 [stage-1 4/8] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-01-25T19:01:14.385Z] #8 0.956 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:14.385Z] #8 1.297 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:14.972Z] #8 1.866 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:15.938Z] #8 2.814 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T19:01:15.938Z] #8 2.858 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T19:01:15.938Z] #8 2.881 (2/10) Installing curl (8.5.0-r0) [2024-01-25T19:01:16.207Z] #8 2.895 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T19:01:16.207Z] #8 2.914 (4/10) Installing dumb-init (1.2.5-r2) [2024-01-25T19:01:16.207Z] #8 2.922 (5/10) Installing hiredis (1.1.0-r2) [2024-01-25T19:01:16.207Z] #8 2.929 (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-25T19:01:16.207Z] #8 2.954 (7/10) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T19:01:17.171Z] #8 3.725 (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T19:01:17.171Z] #8 3.951 (9/10) Installing libcbor (0.10.2-r1) [2024-01-25T19:01:17.171Z] #8 3.959 (10/10) Installing libuuid (2.38.1-r8) [2024-01-25T19:01:17.171Z] #8 3.967 Executing busybox-1.36.1-r4.trigger [2024-01-25T19:01:17.171Z] #8 4.013 OK: 328 MiB in 90 packages [2024-01-25T19:01:17.755Z] #8 DONE 4.4s [2024-01-25T19:01:17.755Z] [2024-01-25T19:01:17.755Z] #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-25T19:01:17.755Z] #9 0.811 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:17.755Z] #9 1.239 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:17.755Z] #9 1.885 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:17.755Z] #9 2.802 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T19:01:17.755Z] #9 2.833 (1/17) Installing hiredis (1.1.0-r2) [2024-01-25T19:01:17.755Z] #9 2.863 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-25T19:01:17.755Z] #9 2.890 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T19:01:17.755Z] #9 3.697 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T19:01:17.755Z] #9 3.827 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T19:01:17.755Z] #9 4.072 (6/17) Installing libcbor (0.10.2-r1) [2024-01-25T19:01:17.755Z] #9 4.079 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-25T19:01:17.755Z] #9 4.098 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T19:01:17.755Z] #9 4.105 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T19:01:17.755Z] #9 4.113 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T19:01:17.755Z] #9 4.122 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T19:01:17.755Z] #9 4.152 (12/17) Installing libblkid (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.166 (13/17) Installing libuuid (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.172 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.188 (15/17) Installing libmount (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.206 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.218 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-25T19:01:17.755Z] #9 4.301 Executing busybox-1.36.1-r4.trigger [2024-01-25T19:01:17.755Z] #9 4.347 OK: 333 MiB in 99 packages [2024-01-25T19:01:17.755Z] #9 DONE 4.7s [2024-01-25T19:01:17.755Z] [2024-01-25T19:01:17.755Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-25T19:01:19.173Z] #10 DONE 0.9s [2024-01-25T19:01:19.173Z] [2024-01-25T19:01:19.173Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-25T19:01:19.173Z] #11 DONE 0.1s [2024-01-25T19:01:19.173Z] [2024-01-25T19:01:19.173Z] #12 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-25T19:01:19.173Z] #12 1.006 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:19.173Z] #12 1.398 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:19.173Z] #12 ... [2024-01-25T19:01:19.173Z] [2024-01-25T19:01:19.173Z] #13 [builder 7/12] COPY src /tmp/sdk/src [2024-01-25T19:01:19.173Z] #13 DONE 0.2s [2024-01-25T19:01:19.173Z] [2024-01-25T19:01:19.173Z] #14 [builder 8/12] COPY include /tmp/sdk/include [2024-01-25T19:01:19.173Z] #14 DONE 0.1s [2024-01-25T19:01:19.173Z] [2024-01-25T19:01:19.173Z] #12 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-25T19:01:19.440Z] #12 ... [2024-01-25T19:01:19.440Z] [2024-01-25T19:01:19.440Z] #15 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-25T19:01:19.440Z] #15 DONE 0.1s [2024-01-25T19:01:19.440Z] [2024-01-25T19:01:19.440Z] #16 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-25T19:01:19.440Z] #16 DONE 0.1s [2024-01-25T19:01:19.440Z] [2024-01-25T19:01:19.440Z] #17 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-25T19:01:19.707Z] #17 DONE 0.1s [2024-01-25T19:01:19.707Z] [2024-01-25T19:01:19.707Z] #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-25T19:01:20.299Z] #18 0.657 + CPPCHECK=false [2024-01-25T19:01:20.299Z] #18 0.657 + DOCGEN=false [2024-01-25T19:01:20.299Z] #18 0.657 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-25T19:01:20.299Z] #18 0.657 + '[' 0 -gt 0 ] [2024-01-25T19:01:20.299Z] #18 0.659 + readlink -f ./scripts/build.sh [2024-01-25T19:01:20.299Z] #18 0.662 + dirname /tmp/sdk/scripts/build.sh [2024-01-25T19:01:20.299Z] #18 0.665 + dirname /tmp/sdk/scripts [2024-01-25T19:01:20.299Z] #18 0.666 + ROOT=/tmp/sdk [2024-01-25T19:01:20.299Z] #18 0.666 + cd /tmp/sdk [2024-01-25T19:01:20.299Z] #18 0.667 + mkdir -p /tmp/sdk/build/release [2024-01-25T19:01:20.299Z] #18 0.670 + cd /tmp/sdk/build/release [2024-01-25T19:01:20.299Z] #18 0.670 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-25T19:01:20.582Z] #18 1.048 -- The C compiler identification is GNU 12.2.1 [2024-01-25T19:01:20.849Z] #18 1.124 -- Detecting C compiler ABI info [2024-01-25T19:01:21.117Z] #18 1.524 -- Detecting C compiler ABI info - done [2024-01-25T19:01:21.388Z] #18 1.633 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T19:01:21.388Z] #18 1.637 -- Detecting C compile features [2024-01-25T19:01:21.388Z] #18 1.642 -- Detecting C compile features - done [2024-01-25T19:01:21.388Z] #18 1.669 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T19:01:21.388Z] #18 1.879 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T19:01:21.388Z] #18 1.897 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T19:01:21.388Z] #18 1.915 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T19:01:21.388Z] #18 1.931 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T19:01:21.388Z] #18 1.948 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T19:01:21.388Z] #18 1.966 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T19:01:21.673Z] #18 2.001 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T19:01:21.673Z] #18 2.001 -- /opt/iotech/iot/1.5/include [2024-01-25T19:01:21.673Z] #18 2.002 -- C SDK 0.0.0 for Linux [2024-01-25T19:01:21.673Z] #18 2.019 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T19:01:21.944Z] #18 ... [2024-01-25T19:01:21.944Z] [2024-01-25T19:01:21.944Z] #12 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-25T19:01:21.944Z] #12 2.016 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:01:21.944Z] #12 3.011 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T19:01:21.944Z] #12 3.055 (1/9) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T19:01:21.944Z] #12 3.108 Executing busybox-1.36.1-r5.post-upgrade [2024-01-25T19:01:21.944Z] #12 3.168 (2/9) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T19:01:21.944Z] #12 3.174 (3/9) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T19:01:21.944Z] #12 3.276 (4/9) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T19:01:21.944Z] #12 3.295 (5/9) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-25T19:01:21.944Z] #12 3.303 (6/9) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-25T19:01:21.944Z] #12 3.412 (7/9) Upgrading gnutls (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T19:01:21.944Z] #12 3.466 (8/9) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T19:01:21.944Z] #12 3.555 (9/9) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.3-r0) [2024-01-25T19:01:21.944Z] #12 3.665 Executing busybox-1.36.1-r5.trigger [2024-01-25T19:01:21.944Z] #12 3.681 Executing ca-certificates-20230506-r0.trigger [2024-01-25T19:01:21.944Z] #12 3.922 OK: 328 MiB in 90 packages [2024-01-25T19:01:21.944Z] #12 DONE 4.3s [2024-01-25T19:01:22.210Z] [2024-01-25T19:01:22.210Z] #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-25T19:01:22.210Z] #18 2.450 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T19:01:22.210Z] #18 2.642 -- Found Curses: /usr/lib/libcurses.so [2024-01-25T19:01:22.477Z] #18 2.781 -- Configuring done (2.1s) [2024-01-25T19:01:22.744Z] #18 3.060 -- Generating done (0.3s) [2024-01-25T19:01:22.744Z] #18 3.080 -- Build files have been written to: /tmp/sdk/build/release [2024-01-25T19:01:22.744Z] #18 3.105 + make all package [2024-01-25T19:01:22.744Z] #18 3.106 + tee release.log [2024-01-25T19:01:22.744Z] #18 3.237 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T19:01:23.705Z] #18 4.021 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T19:01:24.666Z] #18 4.975 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T19:01:25.639Z] #18 5.782 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T19:01:26.225Z] #18 6.712 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T19:01:27.184Z] #18 7.425 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T19:01:29.762Z] #18 9.874 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T19:01:30.732Z] #18 10.88 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-25T19:01:30.732Z] #18 10.88 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T19:01:30.732Z] #18 10.88 294 | while (privateConfig) [2024-01-25T19:01:30.732Z] #18 10.88 | ^~~~~~~~~~~~~ [2024-01-25T19:01:30.732Z] #18 10.88 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-25T19:01:30.732Z] #18 10.88 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T19:01:30.732Z] #18 10.88 | ^~~~~~~~~~~~~ [2024-01-25T19:01:30.732Z] #18 10.88 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T19:01:30.732Z] #18 10.88 271 | while (result) [2024-01-25T19:01:30.732Z] #18 10.88 | ^~~~~~ [2024-01-25T19:01:30.732Z] #18 10.88 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-25T19:01:30.732Z] #18 10.88 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T19:01:30.732Z] #18 10.88 | ^~~~~~ [2024-01-25T19:01:30.732Z] #18 11.23 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T19:01:31.315Z] #18 11.47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T19:01:32.278Z] #18 12.44 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T19:01:34.220Z] #18 14.55 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T19:01:34.800Z] #18 15.21 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T19:01:35.757Z] #18 16.08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T19:01:36.735Z] #18 16.89 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T19:01:37.004Z] #18 17.47 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T19:01:38.417Z] #18 18.62 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T19:01:38.697Z] #18 18.94 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T19:01:40.638Z] #18 21.10 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T19:01:41.221Z] #18 21.48 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T19:01:41.805Z] #18 22.10 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T19:01:43.273Z] #18 23.61 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T19:01:51.475Z] #18 31.08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T19:01:51.475Z] #18 31.81 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T19:01:51.741Z] #18 32.20 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T19:01:52.323Z] #18 32.76 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T19:01:52.591Z] #18 33.10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T19:01:54.527Z] #18 34.57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T19:01:56.469Z] #18 36.68 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T19:01:56.737Z] #18 37.14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T19:01:57.698Z] #18 38.11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T19:01:58.281Z] #18 38.71 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T19:01:58.547Z] #18 38.99 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T19:01:58.547Z] #18 38.99 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T19:01:58.547Z] #18 38.99 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T19:01:58.547Z] #18 38.99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T19:01:58.547Z] #18 38.99 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T19:01:58.547Z] #18 38.99 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T19:01:58.547Z] #18 38.99 | ^ [2024-01-25T19:02:00.665Z] #18 40.71 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T19:02:00.665Z] #18 40.71 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-25T19:02:00.665Z] #18 40.71 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T19:02:00.665Z] #18 40.71 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-25T19:02:00.665Z] #18 40.71 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-25T19:02:00.665Z] #18 40.71 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-25T19:02:01.643Z] #18 41.99 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T19:02:02.639Z] #18 42.85 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T19:02:02.912Z] #18 43.26 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T19:02:03.502Z] #18 43.88 [ 68%] Linking C shared library libcsdk.so [2024-01-25T19:02:03.768Z] #18 44.11 [ 68%] Built target csdk [2024-01-25T19:02:03.768Z] #18 44.17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T19:02:04.728Z] #18 45.17 [ 72%] Linking C executable template [2024-01-25T19:02:05.313Z] #18 45.57 [ 72%] Built target template [2024-01-25T19:02:05.313Z] #18 45.64 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T19:02:05.898Z] #18 46.28 [ 76%] Linking C executable device-counter [2024-01-25T19:02:06.165Z] #18 46.63 [ 76%] Built target device-counter [2024-01-25T19:02:06.165Z] #18 46.69 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T19:02:06.760Z] #18 47.26 [ 80%] Linking C executable device-random [2024-01-25T19:02:07.344Z] #18 47.60 [ 80%] Built target device-random [2024-01-25T19:02:07.344Z] #18 47.65 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T19:02:07.929Z] #18 48.17 [ 84%] Linking C executable device-gyro [2024-01-25T19:02:08.197Z] #18 48.49 [ 84%] Built target device-gyro [2024-01-25T19:02:08.197Z] #18 48.54 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T19:02:08.778Z] #18 49.10 [ 88%] Linking C executable device-bitfields [2024-01-25T19:02:09.045Z] #18 49.43 [ 88%] Built target device-bitfields [2024-01-25T19:02:09.045Z] #18 49.49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T19:02:10.000Z] #18 50.29 [ 92%] Linking C executable template-discovery [2024-01-25T19:02:10.266Z] #18 50.60 [ 92%] Built target template-discovery [2024-01-25T19:02:10.266Z] #18 50.66 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T19:02:11.231Z] #18 51.46 [ 96%] Linking C executable device-file [2024-01-25T19:02:11.502Z] #18 51.78 [ 96%] Built target device-file [2024-01-25T19:02:11.502Z] #18 51.84 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T19:02:12.085Z] #18 52.55 [100%] Linking C executable device-terminal [2024-01-25T19:02:12.667Z] #18 52.90 [100%] Built target device-terminal [2024-01-25T19:02:12.667Z] #18 52.96 Run CPack packaging tool... [2024-01-25T19:02:12.667Z] #18 53.00 CPack: Create package using TGZ [2024-01-25T19:02:12.667Z] #18 53.00 CPack: Install projects [2024-01-25T19:02:12.667Z] #18 53.00 CPack: - Run preinstall target for: Csdk [2024-01-25T19:02:13.250Z] #18 53.82 CPack: - Install project: Csdk [] [2024-01-25T19:02:13.518Z] #18 53.86 CPack: Create package [2024-01-25T19:02:13.518Z] #18 53.94 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-25T19:02:13.518Z] #18 53.95 + '[' false '=' true ] [2024-01-25T19:02:13.518Z] #18 53.95 + '[' false '=' true ] [2024-01-25T19:02:13.518Z] #18 53.95 + mkdir -p /tmp/sdk/build/debug [2024-01-25T19:02:13.518Z] #18 53.95 + cd /tmp/sdk/build/debug [2024-01-25T19:02:13.518Z] #18 53.95 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-25T19:02:13.785Z] #18 54.29 -- The C compiler identification is GNU 12.2.1 [2024-01-25T19:02:13.785Z] #18 54.36 -- Detecting C compiler ABI info [2024-01-25T19:02:14.369Z] #18 54.71 -- Detecting C compiler ABI info - done [2024-01-25T19:02:14.369Z] #18 54.81 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T19:02:14.369Z] #18 54.82 -- Detecting C compile features [2024-01-25T19:02:14.369Z] #18 54.82 -- Detecting C compile features - done [2024-01-25T19:02:14.369Z] #18 54.84 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T19:02:14.637Z] #18 55.03 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T19:02:14.637Z] #18 55.05 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T19:02:14.637Z] #18 55.07 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T19:02:14.637Z] #18 55.08 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T19:02:14.637Z] #18 55.10 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T19:02:14.637Z] #18 55.12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T19:02:14.637Z] #18 55.13 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T19:02:14.637Z] #18 55.13 -- /opt/iotech/iot/1.5/include [2024-01-25T19:02:14.637Z] #18 55.13 -- C SDK 0.0.0 for Linux [2024-01-25T19:02:14.637Z] #18 55.15 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T19:02:14.904Z] #18 55.49 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T19:02:15.488Z] #18 55.66 -- Found Curses: /usr/lib/libcurses.so [2024-01-25T19:02:15.488Z] #18 55.79 -- Configuring done (1.8s) [2024-01-25T19:02:15.488Z] #18 56.06 -- Generating done (0.2s) [2024-01-25T19:02:15.756Z] #18 56.08 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-25T19:02:15.756Z] #18 56.11 + make [2024-01-25T19:02:15.756Z] #18 56.11 + tee debug.log [2024-01-25T19:02:16.025Z] #18 56.24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T19:02:16.291Z] #18 56.67 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T19:02:16.558Z] #18 57.11 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T19:02:17.141Z] #18 57.49 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T19:02:17.738Z] #18 57.91 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T19:02:18.004Z] #18 58.32 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T19:02:18.588Z] #18 59.06 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T19:02:19.171Z] #18 59.56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T19:02:19.437Z] #18 59.74 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T19:02:19.707Z] #18 60.21 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T19:02:20.669Z] #18 60.93 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T19:02:20.937Z] #18 61.31 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T19:02:21.521Z] #18 61.76 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T19:02:21.797Z] #18 62.17 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T19:02:22.064Z] #18 62.53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T19:02:22.648Z] #18 62.95 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T19:02:22.648Z] #18 63.21 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T19:02:24.230Z] #18 64.05 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T19:02:24.230Z] #18 64.31 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T19:02:24.230Z] #18 64.55 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T19:02:24.813Z] #18 65.24 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T19:02:26.221Z] #18 66.51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T19:02:26.487Z] #18 66.89 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T19:02:26.753Z] #18 67.19 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T19:02:27.020Z] #18 67.55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T19:02:27.603Z] #18 67.85 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T19:02:27.869Z] #18 68.42 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T19:02:29.813Z] #18 69.90 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T19:02:29.813Z] #18 70.19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T19:02:30.080Z] #18 70.62 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T19:02:30.666Z] #18 71.03 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T19:02:30.932Z] #18 71.33 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T19:02:30.933Z] #18 71.33 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T19:02:30.933Z] #18 71.33 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T19:02:30.933Z] #18 71.33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T19:02:30.933Z] #18 71.33 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T19:02:30.933Z] #18 71.33 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T19:02:30.933Z] #18 71.33 | ^ [2024-01-25T19:02:31.515Z] #18 71.92 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T19:02:31.783Z] #18 72.33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T19:02:32.366Z] #18 72.64 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T19:02:32.634Z] #18 72.96 [ 68%] Linking C shared library libcsdk.so [2024-01-25T19:02:32.634Z] #18 73.22 [ 68%] Built target csdk [2024-01-25T19:02:32.901Z] #18 73.28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T19:02:33.484Z] #18 73.68 [ 72%] Linking C executable template [2024-01-25T19:02:33.752Z] #18 74.01 [ 72%] Built target template [2024-01-25T19:02:33.752Z] #18 74.07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T19:02:34.018Z] #18 74.39 [ 76%] Linking C executable device-counter [2024-01-25T19:02:34.285Z] #18 74.71 [ 76%] Built target device-counter [2024-01-25T19:02:34.286Z] #18 74.76 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T19:02:34.552Z] #18 75.10 [ 80%] Linking C executable device-random [2024-01-25T19:02:35.137Z] #18 75.41 [ 80%] Built target device-random [2024-01-25T19:02:35.137Z] #18 75.47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T19:02:35.403Z] #18 75.79 [ 84%] Linking C executable device-gyro [2024-01-25T19:02:35.669Z] #18 76.10 [ 84%] Built target device-gyro [2024-01-25T19:02:35.934Z] #18 76.15 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T19:02:36.199Z] #18 76.45 [ 88%] Linking C executable device-bitfields [2024-01-25T19:02:36.465Z] #18 76.77 [ 88%] Built target device-bitfields [2024-01-25T19:02:36.465Z] #18 76.83 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T19:02:36.732Z] #18 77.17 [ 92%] Linking C executable template-discovery [2024-01-25T19:02:37.312Z] #18 77.48 [ 92%] Built target template-discovery [2024-01-25T19:02:37.312Z] #18 77.53 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T19:02:37.577Z] #18 77.85 [ 96%] Linking C executable device-file [2024-01-25T19:02:37.842Z] #18 78.16 [ 96%] Built target device-file [2024-01-25T19:02:37.842Z] #18 78.21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T19:02:38.107Z] #18 78.60 [100%] Linking C executable device-terminal [2024-01-25T19:02:38.372Z] #18 78.91 [100%] Built target device-terminal [2024-01-25T19:02:38.639Z] #18 79.05 make: Entering directory '/tmp/sdk/build/release' [2024-01-25T19:02:38.904Z] #18 79.21 [ 68%] Built target csdk [2024-01-25T19:02:38.904Z] #18 79.26 [ 72%] Built target template [2024-01-25T19:02:38.904Z] #18 79.32 [ 76%] Built target device-counter [2024-01-25T19:02:38.904Z] #18 79.37 [ 80%] Built target device-random [2024-01-25T19:02:38.904Z] #18 79.43 [ 84%] Built target device-gyro [2024-01-25T19:02:38.904Z] #18 79.48 [ 88%] Built target device-bitfields [2024-01-25T19:02:39.169Z] #18 79.54 [ 92%] Built target template-discovery [2024-01-25T19:02:39.169Z] #18 79.59 [ 96%] Built target device-file [2024-01-25T19:02:39.169Z] #18 79.64 [100%] Built target device-terminal [2024-01-25T19:02:39.169Z] #18 79.70 Install the project... [2024-01-25T19:02:39.445Z] #18 79.72 -- Install configuration: "Release" [2024-01-25T19:02:39.445Z] #18 79.72 -- Installing: /usr/local/lib/libcsdk.so [2024-01-25T19:02:39.445Z] #18 79.73 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/devsdk [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/edgex [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-25T19:02:39.445Z] #18 79.73 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-25T19:02:39.445Z] #18 79.74 -- Installing: /usr/local/include/edgex/devices.h [2024-01-25T19:02:39.445Z] #18 79.74 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-25T19:02:39.445Z] #18 79.74 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-25T19:02:39.445Z] #18 79.74 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-25T19:02:39.445Z] #18 79.74 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-25T19:02:39.445Z] #18 79.75 make: Leaving directory '/tmp/sdk/build/release' [2024-01-25T19:02:39.445Z] #18 DONE 79.9s [2024-01-25T19:02:39.445Z] [2024-01-25T19:02:39.445Z] #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-25T19:02:39.711Z] #19 DONE 0.1s [2024-01-25T19:02:39.711Z] [2024-01-25T19:02:39.711Z] #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-25T19:02:39.711Z] #20 DONE 0.1s [2024-01-25T19:02:39.711Z] [2024-01-25T19:02:39.711Z] #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-25T19:02:39.711Z] #21 DONE 0.1s [2024-01-25T19:02:39.981Z] [2024-01-25T19:02:39.981Z] #22 exporting to image [2024-01-25T19:02:39.981Z] #22 exporting layers [2024-01-25T19:02:40.245Z] #22 exporting layers 0.4s done [2024-01-25T19:02:40.245Z] #22 writing image sha256:4488ef7babb335996d060776c27ac29d2a5c856ce050030da01acdce9fd729cf [2024-01-25T19:02:40.245Z] #22 writing image sha256:4488ef7babb335996d060776c27ac29d2a5c856ce050030da01acdce9fd729cf done [2024-01-25T19:02:40.245Z] #22 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-25T19:02:40.245Z] #22 DONE 0.4s [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-25T19:02:40.881Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T19:02:40.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T19:02:41.103Z] prd-ubuntu20.04-docker-arm64-4c-16g-27923 does not seem to be running inside a container [2024-01-25T19:02:41.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-25T19:02:42.396Z] $ docker top 880fe5e846c5e54411c86779a42ab4f4641a4279905de2c24dab01914e5a9a6a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T19:02:42.927Z] + make test [2024-01-25T19:02:42.927Z] echo "make test" [2024-01-25T19:02:42.927Z] make test [Pipeline] } [2024-01-25T19:02:42.952Z] $ docker stop --time=1 880fe5e846c5e54411c86779a42ab4f4641a4279905de2c24dab01914e5a9a6a [2024-01-25T19:02:44.512Z] $ docker rm -f --volumes 880fe5e846c5e54411c86779a42ab4f4641a4279905de2c24dab01914e5a9a6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T19:02:45.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T19:02:45.591Z] + ls -al . [2024-01-25T19:02:45.591Z] total 208 [2024-01-25T19:02:45.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 19:00 . [2024-01-25T19:02:45.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:00 .. [2024-01-25T19:02:45.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 19:00 .git [2024-01-25T19:02:45.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:00 .github [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 19:00 .gitignore [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 19:00 Attribution.txt [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 19:00 CHANGELOG.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 19:00 Doxyfile [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 19:00 GOVERNANCE.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 19:00 Jenkinsfile [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 19:00 LICENSE [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 19:00 Makefile [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 19:00 OWNERS.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 19:00 README.IOT.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 19:00 README.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 19:00 README.v3.md [2024-01-25T19:02:45.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:56 VERSION [2024-01-25T19:02:45.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 19:00 docs [2024-01-25T19:02:45.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:00 include [2024-01-25T19:02:45.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 19:00 scripts [2024-01-25T19:02:45.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T19:02:45.984Z] + 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=bca1b49ac5df6988ad03e5ad4a63aa627d45501d --label arch=arm64 --label version=0.0.0 . [2024-01-25T19:02:46.947Z] #0 building with "default" instance using docker driver [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #1 [internal] load .dockerignore [2024-01-25T19:02:46.947Z] #1 transferring context: 2B done [2024-01-25T19:02:46.947Z] #1 DONE 0.0s [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-25T19:02:46.947Z] #2 transferring dockerfile: 1.56kB done [2024-01-25T19:02:46.947Z] #2 DONE 0.0s [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-25T19:02:46.947Z] #3 DONE 0.0s [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #4 [internal] load build context [2024-01-25T19:02:46.947Z] #4 transferring context: 8.55kB 0.1s done [2024-01-25T19:02:46.947Z] #4 DONE 0.1s [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #5 [ 1/12] FROM docker.io/library/ci-base-image-arm64 [2024-01-25T19:02:46.947Z] #5 DONE 0.2s [2024-01-25T19:02:46.947Z] [2024-01-25T19:02:46.947Z] #6 [ 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T19:02:47.527Z] #6 0.611 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T19:02:48.109Z] #6 1.142 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T19:02:48.109Z] #6 1.144 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T19:02:48.109Z] #6 1.144 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T19:02:48.109Z] #6 DONE 1.2s [2024-01-25T19:02:48.109Z] [2024-01-25T19:02:48.109Z] #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T19:02:49.071Z] #7 DONE 0.8s [2024-01-25T19:02:49.071Z] [2024-01-25T19:02:49.071Z] #8 [ 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-01-25T19:02:49.655Z] #8 0.780 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:50.237Z] #8 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:50.818Z] #8 1.771 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:51.775Z] #8 2.714 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T19:02:51.775Z] #8 2.747 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T19:02:52.043Z] #8 3.061 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-25T19:02:52.043Z] #8 3.077 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T19:02:52.043Z] #8 3.083 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T19:02:52.044Z] #8 3.088 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T19:02:52.044Z] #8 3.094 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T19:02:52.044Z] #8 3.119 (7/11) Installing libblkid (2.38.1-r8) [2024-01-25T19:02:52.044Z] #8 3.132 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-25T19:02:52.044Z] #8 3.147 (9/11) Installing libmount (2.38.1-r8) [2024-01-25T19:02:52.044Z] #8 3.161 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-25T19:02:52.044Z] #8 3.171 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-25T19:02:52.317Z] #8 3.244 Executing busybox-1.36.1-r5.trigger [2024-01-25T19:02:52.317Z] #8 3.289 OK: 334 MiB in 101 packages [2024-01-25T19:02:52.901Z] #8 DONE 3.9s [2024-01-25T19:02:52.901Z] [2024-01-25T19:02:52.901Z] #9 [ 5/12] RUN apk --no-cache upgrade [2024-01-25T19:02:53.486Z] #9 0.786 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:54.068Z] #9 1.096 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:54.333Z] #9 1.567 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T19:02:55.288Z] #9 2.431 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T19:02:55.288Z] #9 2.478 OK: 334 MiB in 101 packages [2024-01-25T19:02:55.555Z] #9 DONE 2.7s [2024-01-25T19:02:55.555Z] [2024-01-25T19:02:55.555Z] #10 [ 6/12] COPY VERSION /edgex-c-sdk/ [2024-01-25T19:02:55.555Z] #10 DONE 0.1s [2024-01-25T19:02:55.555Z] [2024-01-25T19:02:55.555Z] #11 [ 7/12] COPY src /edgex-c-sdk/src/ [2024-01-25T19:02:55.822Z] #11 DONE 0.2s [2024-01-25T19:02:55.822Z] [2024-01-25T19:02:55.822Z] #12 [ 8/12] COPY include /edgex-c-sdk/include/ [2024-01-25T19:02:55.822Z] #12 DONE 0.1s [2024-01-25T19:02:56.089Z] [2024-01-25T19:02:56.089Z] #13 [ 9/12] COPY scripts /edgex-c-sdk/scripts [2024-01-25T19:02:56.089Z] #13 DONE 0.1s [2024-01-25T19:02:56.089Z] [2024-01-25T19:02:56.089Z] #14 [10/12] COPY LICENSE /edgex-c-sdk/ [2024-01-25T19:02:56.089Z] #14 DONE 0.1s [2024-01-25T19:02:56.089Z] [2024-01-25T19:02:56.089Z] #15 [11/12] COPY Attribution.txt /edgex-c-sdk/ [2024-01-25T19:02:56.355Z] #15 DONE 0.1s [2024-01-25T19:02:56.355Z] [2024-01-25T19:02:56.355Z] #16 [12/12] WORKDIR /edgex-c-sdk [2024-01-25T19:02:56.355Z] #16 DONE 0.1s [2024-01-25T19:02:56.355Z] [2024-01-25T19:02:56.355Z] #17 exporting to image [2024-01-25T19:02:56.355Z] #17 exporting layers [2024-01-25T19:02:56.621Z] #17 exporting layers 0.4s done [2024-01-25T19:02:56.621Z] #17 writing image sha256:184474a586910e1dff245061885618da198b62521bfa859f022e5ca063047c74 done [2024-01-25T19:02:56.621Z] #17 naming to docker.io/library/device-sdk-arm64 [2024-01-25T19:02:56.889Z] #17 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-25T19:02:56.889Z] #17 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T19:02:57.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T19:02:57.577Z] [2024-01-25T19:02:57.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T19:02:57.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T19:02:58.198Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-25T19:02:58.198Z] 8998bd30e6a1: Pulling fs layer [2024-01-25T19:02:58.198Z] 04944245beec: Pulling fs layer [2024-01-25T19:02:58.198Z] 699f458cf7ca: Pulling fs layer [2024-01-25T19:02:58.198Z] 765212b225bb: Pulling fs layer [2024-01-25T19:02:58.198Z] f23df028b6ca: Pulling fs layer [2024-01-25T19:02:58.198Z] 765212b225bb: Waiting [2024-01-25T19:02:58.198Z] d65c8cfc05b1: Pulling fs layer [2024-01-25T19:02:58.198Z] f23df028b6ca: Waiting [2024-01-25T19:02:58.198Z] 2437ff75d9bd: Pulling fs layer [2024-01-25T19:02:58.198Z] d65c8cfc05b1: Waiting [2024-01-25T19:02:58.198Z] 2437ff75d9bd: Waiting [2024-01-25T19:02:58.198Z] 04944245beec: Verifying Checksum [2024-01-25T19:02:58.198Z] 04944245beec: Download complete [2024-01-25T19:02:58.198Z] 765212b225bb: Download complete [2024-01-25T19:02:58.198Z] f23df028b6ca: Verifying Checksum [2024-01-25T19:02:58.198Z] f23df028b6ca: Download complete [2024-01-25T19:02:58.198Z] d65c8cfc05b1: Verifying Checksum [2024-01-25T19:02:58.198Z] d65c8cfc05b1: Download complete [2024-01-25T19:02:58.470Z] 699f458cf7ca: Verifying Checksum [2024-01-25T19:02:58.470Z] 699f458cf7ca: Download complete [2024-01-25T19:02:58.736Z] 8998bd30e6a1: Verifying Checksum [2024-01-25T19:02:58.736Z] 8998bd30e6a1: Download complete [2024-01-25T19:03:00.673Z] 2437ff75d9bd: Verifying Checksum [2024-01-25T19:03:00.673Z] 2437ff75d9bd: Download complete [2024-01-25T19:03:07.303Z] 8998bd30e6a1: Pull complete [2024-01-25T19:03:07.303Z] 04944245beec: Pull complete [2024-01-25T19:03:09.240Z] 699f458cf7ca: Pull complete [2024-01-25T19:03:09.240Z] 765212b225bb: Pull complete [2024-01-25T19:03:10.199Z] f23df028b6ca: Pull complete [2024-01-25T19:03:10.199Z] d65c8cfc05b1: Pull complete [2024-01-25T19:03:32.246Z] 2437ff75d9bd: Pull complete [2024-01-25T19:03:32.246Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-25T19:03:32.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T19:03:32.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T19:03:32.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-27923 does not seem to be running inside a container [2024-01-25T19:03:32.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-25T19:03:35.522Z] $ docker top af0c77914471e65e7858720716077cc82acf454473a5ae94433083e7573647f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:36.041Z] ---> job-cost.sh [2024-01-25T19:03:36.310Z] lf-activate-venv: SKIPPING [2024-01-25T19:03:36.310Z] INFO: No Stack... [2024-01-25T19:03:36.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T19:03:37.151Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T19:03:37.726Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2024-01-25T19:03:37.726Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T19:03:37.778Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [2024-01-25T19:03:37.785Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] did not exist. Created. [2024-01-25T19:03:37.785Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T19:03:38.279Z] /w/workspace/device-sdk-c/5@tmp/durable-074d11f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-25T19:03:38.593Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T19:03:38.640Z] Warning: overwriting stash ‘stack-cost’ [2024-01-25T19:03:39.048Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T19:03:39.058Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T19:03:39.138Z] $ docker stop --time=1 af0c77914471e65e7858720716077cc82acf454473a5ae94433083e7573647f9 [2024-01-25T19:03:40.514Z] $ docker rm -f --volumes af0c77914471e65e7858720716077cc82acf454473a5ae94433083e7573647f9 [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-25T19:03:42.110Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-01-25T19:03:42.110Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-25T19:03:42.110Z] total 16 [2024-01-25T19:03:42.110Z] drwxr-xr-x 3 root root 4096 Jan 25 18:57 . [2024-01-25T19:03:42.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 18:57 .. [2024-01-25T19:03:42.110Z] drwxr-xr-x 2 root root 4096 Jan 25 18:57 cost [2024-01-25T19:03:42.110Z] -rw-r--r-- 1 root root 84 Jan 25 18:57 cost.csv [2024-01-25T19:03:42.110Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-25T19:03:42.110Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-25T19:03:42.110Z] total 16 [2024-01-25T19:03:42.110Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:57 . [2024-01-25T19:03:42.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 18:57 .. [2024-01-25T19:03:42.110Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 18:57 cost [2024-01-25T19:03:42.110Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 25 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:42.400Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:43.327Z] ---> package-listing.sh [2024-01-25T19:03:43.327Z] ++ facter osfamily [2024-01-25T19:03:43.327Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-25T19:03:43.602Z] + OS_FAMILY=debian [2024-01-25T19:03:43.602Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-01-25T19:03:43.602Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-25T19:03:43.602Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-25T19:03:43.602Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-25T19:03:43.602Z] + PACKAGES=/tmp/packages_start.txt [2024-01-25T19:03:43.602Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-25T19:03:43.602Z] + PACKAGES=/tmp/packages_end.txt [2024-01-25T19:03:43.602Z] + case "${OS_FAMILY}" in [2024-01-25T19:03:43.602Z] + dpkg -l [2024-01-25T19:03:43.602Z] + grep '^ii' [2024-01-25T19:03:43.602Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-25T19:03:43.602Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-25T19:03:43.602Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-25T19:03:43.602Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-25T19:03:43.602Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-01-25T19:03:43.602Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo [2024-01-25T19:03:43.622Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-25T19:03:43.938Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T19:03:44.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T19:03:44.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T19:03:44.425Z] prd-ubuntu20.04-docker-8c-8g-27921 does not seem to be running inside a container [2024-01-25T19:03:44.458Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-25T19:03:44.685Z] $ docker top e6c2edf3674a762e87a69cd3cffc233163ef73985b187536ffa36d10e8197b4a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T19:03:45.086Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-25T19:03:45.374Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-25T19:03:45.663Z] + ls /var/log/sa-host [2024-01-25T19:03:45.663Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T19:03:45.757Z] provisioning config files... [2024-01-25T19:03:45.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config17600260811683415157tmp [Pipeline] { [Pipeline] echo [2024-01-25T19:03:45.840Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:46.122Z] ---> create-netrc.sh [Pipeline] } [2024-01-25T19:03:46.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:46.531Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-25T19:03:46.543Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:46.832Z] ---> sudo-logs.sh [2024-01-25T19:03:46.832Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-25T19:03:46.904Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:47.198Z] ---> job-cost.sh [2024-01-25T19:03:47.198Z] lf-activate-venv: SKIPPING [2024-01-25T19:03:47.198Z] DEBUG: total: 0.2199999988079071 [2024-01-25T19:03:47.198Z] INFO: Retrieving Stack Cost... [2024-01-25T19:03:47.459Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T19:03:48.029Z] INFO: Archiving Costs [Pipeline] echo [2024-01-25T19:03:48.045Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T19:03:48.328Z] ---> logs-deploy.sh [2024-01-25T19:03:48.328Z] lf-activate-venv: SKIPPING [2024-01-25T19:03:48.328Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/5 [2024-01-25T19:03:48.328Z] INFO: archiving workspace using pattern(s): [2024-01-25T19:03:49.359Z] Archives upload complete. [2024-01-25T19:03:49.359Z] INFO: archiving logs to Nexus