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+6bdae90b977cdeecb957260a94da902cfcf10c29 (b4fe8adff869093b3a9676df1c4ea82746c3e82b) 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-ssh14123150475928213310.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-ssh5695996208552904359.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-ssh2834975642111597745.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-ssh9530442544208550607.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-ssh13131831255687380478.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27722 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 Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 3f9880990055f56f22b96b85d125707a413bb881 Checking out Revision 3f9880990055f56f22b96b85d125707a413bb881 (PR-496) > 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 > 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 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f9880990055f56f22b96b85d125707a413bb881 # timeout=10 Commit message: "Merge commit '6bdae90b977cdeecb957260a94da902cfcf10c29' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-23T18:56:37.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-23T18:56:37.135Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-23T18:56:37.164Z] ========================================================= [2024-01-23T18:56:37.164Z] EdgeX Global Pipelines Version Info [2024-01-23T18:56:37.164Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 14a8fccf1f583826766debbf99bc97a673fc3b10 # timeout=10 [2024-01-23T18:56:37.889Z] ------------------- [2024-01-23T18:56:37.889Z] stable info: [2024-01-23T18:56:37.889Z] ------------------- [2024-01-23T18:56:37.889Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-23T18:56:37.889Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-23T18:56:37.889Z] Message: update stable to v1.0.258 [2024-01-23T18:56:38.459Z] ------------------- [2024-01-23T18:56:38.459Z] experimental info: [2024-01-23T18:56:38.459Z] ------------------- [2024-01-23T18:56:38.459Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-23T18:56:38.459Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-23T18:56:38.459Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-23T18:56:38.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-23T18:56:38.551Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-23T18:56:38.580Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-23T18:56:38.601Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-23T18:56:38.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-23T18:56:38.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-23T18:56:38.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-23T18:56:38.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-23T18:56:38.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-23T18:56:38.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-23T18:56:38.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-23T18:56:38.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-23T18:56:38.850Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-23T18:56:38.883Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-23T18:56:38.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-23T18:56:38.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-23T18:56:38.988Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-23T18:56:39.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-01-23T18:56:39.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-01-23T18:56:39.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-01-23T18:56:39.122Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f9880990055f56f22b96b85d125707a413bb881 [Pipeline] echo [2024-01-23T18:56:39.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f98809 [Pipeline] echo [2024-01-23T18:56:39.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T18:56:39.267Z] provisioning config files... [2024-01-23T18:56:39.282Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config17170308921561530981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:56:39.619Z] ---> ****-login.sh [2024-01-23T18:56:39.619Z] nexus3.edgexfoundry.org:10001 [2024-01-23T18:56:39.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:39.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:39.879Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:39.879Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:39.879Z] [2024-01-23T18:56:39.879Z] Login Succeeded [2024-01-23T18:56:39.879Z] nexus3.edgexfoundry.org:10002 [2024-01-23T18:56:39.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:40.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:40.138Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:40.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:40.138Z] [2024-01-23T18:56:40.138Z] Login Succeeded [2024-01-23T18:56:40.138Z] nexus3.edgexfoundry.org:10003 [2024-01-23T18:56:40.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:40.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:40.138Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:40.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:40.138Z] [2024-01-23T18:56:40.138Z] Login Succeeded [2024-01-23T18:56:40.138Z] nexus3.edgexfoundry.org:10004 [2024-01-23T18:56:40.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:40.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:40.138Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:40.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:40.138Z] [2024-01-23T18:56:40.138Z] Login Succeeded [2024-01-23T18:56:40.138Z] ****.io [2024-01-23T18:56:40.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:40.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:40.397Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:40.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:40.398Z] [2024-01-23T18:56:40.398Z] Login Succeeded [2024-01-23T18:56:40.398Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T18:56:40.405Z] 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-23T18:56:40.892Z] + git rev-list -1 --merges 3f9880990055f56f22b96b85d125707a413bb881~1..3f9880990055f56f22b96b85d125707a413bb881 [Pipeline] echo [2024-01-23T18:56:40.920Z] -----------> git rev-list -1 --merges 3f9880990055f56f22b96b85d125707a413bb881~1..3f9880990055f56f22b96b85d125707a413bb881 3f9880990055f56f22b96b85d125707a413bb881 [2024-01-23T18:56:40.920Z] 3f9880990055f56f22b96b85d125707a413bb881 [false] [Pipeline] sh [2024-01-23T18:56:41.224Z] + git log --format=format:%s -1 3f9880990055f56f22b96b85d125707a413bb881 [Pipeline] echo [2024-01-23T18:56:41.237Z] ========================================================= [2024-01-23T18:56:41.237Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-23T18:56:41.237Z] ========================================================= 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-23T18:56:41.772Z] + git rev-list -1 --merges 3f9880990055f56f22b96b85d125707a413bb881~1..3f9880990055f56f22b96b85d125707a413bb881 [Pipeline] echo [2024-01-23T18:56:41.783Z] -----------> git rev-list -1 --merges 3f9880990055f56f22b96b85d125707a413bb881~1..3f9880990055f56f22b96b85d125707a413bb881 3f9880990055f56f22b96b85d125707a413bb881 [2024-01-23T18:56:41.783Z] 3f9880990055f56f22b96b85d125707a413bb881 [false] [Pipeline] sh [2024-01-23T18:56:42.084Z] + git log --format=format:%s -1 3f9880990055f56f22b96b85d125707a413bb881 [Pipeline] echo [2024-01-23T18:56:42.098Z] ========================================================= [2024-01-23T18:56:42.098Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-23T18:56:42.098Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-23T18:56:42.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-23T18:56:42.495Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-23T18:56:42.495Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-23T18:56:42.495Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-23T18:56:42.495Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-23T18:56:42.495Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-23T18:56:42.495Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:56:42.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:42.853Z] [2024-01-23T18:56:42.853Z] 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-23T18:56:43.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:43.176Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-23T18:56:43.176Z] b85a868b505f: Pulling fs layer [2024-01-23T18:56:43.176Z] e2be974225ed: Pulling fs layer [2024-01-23T18:56:43.176Z] 339a4e72a1f5: Pulling fs layer [2024-01-23T18:56:43.176Z] 988bab9f4d93: Pulling fs layer [2024-01-23T18:56:43.176Z] 1469e6f7b9e6: Pulling fs layer [2024-01-23T18:56:43.177Z] eaf3925da568: Pulling fs layer [2024-01-23T18:56:43.177Z] bab4dde63d76: Pulling fs layer [2024-01-23T18:56:43.177Z] bde34c3a00c8: Pulling fs layer [2024-01-23T18:56:43.177Z] b352a97aabf1: Pulling fs layer [2024-01-23T18:56:43.177Z] 4872d77fe225: Pulling fs layer [2024-01-23T18:56:43.177Z] 5851b861e8e6: Pulling fs layer [2024-01-23T18:56:43.177Z] b352a97aabf1: Waiting [2024-01-23T18:56:43.177Z] bde34c3a00c8: Waiting [2024-01-23T18:56:43.177Z] 4872d77fe225: Waiting [2024-01-23T18:56:43.177Z] 5851b861e8e6: Waiting [2024-01-23T18:56:43.177Z] 988bab9f4d93: Waiting [2024-01-23T18:56:43.177Z] bab4dde63d76: Waiting [2024-01-23T18:56:43.177Z] 1469e6f7b9e6: Waiting [2024-01-23T18:56:43.177Z] eaf3925da568: Waiting [2024-01-23T18:56:43.177Z] e2be974225ed: Download complete [2024-01-23T18:56:43.177Z] 988bab9f4d93: Verifying Checksum [2024-01-23T18:56:43.177Z] 988bab9f4d93: Download complete [2024-01-23T18:56:43.177Z] 1469e6f7b9e6: Verifying Checksum [2024-01-23T18:56:43.177Z] 1469e6f7b9e6: Download complete [2024-01-23T18:56:43.435Z] 339a4e72a1f5: Download complete [2024-01-23T18:56:43.435Z] eaf3925da568: Download complete [2024-01-23T18:56:43.435Z] bde34c3a00c8: Download complete [2024-01-23T18:56:43.435Z] b352a97aabf1: Download complete [2024-01-23T18:56:43.435Z] 4872d77fe225: Verifying Checksum [2024-01-23T18:56:43.435Z] 4872d77fe225: Download complete [2024-01-23T18:56:43.435Z] 5851b861e8e6: Verifying Checksum [2024-01-23T18:56:43.435Z] 5851b861e8e6: Download complete [2024-01-23T18:56:43.435Z] b85a868b505f: Download complete [2024-01-23T18:56:43.693Z] bab4dde63d76: Verifying Checksum [2024-01-23T18:56:43.693Z] bab4dde63d76: Download complete [2024-01-23T18:56:44.631Z] b85a868b505f: Pull complete [2024-01-23T18:56:44.889Z] e2be974225ed: Pull complete [2024-01-23T18:56:45.455Z] 339a4e72a1f5: Pull complete [2024-01-23T18:56:45.455Z] 988bab9f4d93: Pull complete [2024-01-23T18:56:45.714Z] 1469e6f7b9e6: Pull complete [2024-01-23T18:56:45.714Z] eaf3925da568: Pull complete [2024-01-23T18:56:47.619Z] bab4dde63d76: Pull complete [2024-01-23T18:56:47.619Z] bde34c3a00c8: Pull complete [2024-01-23T18:56:47.619Z] b352a97aabf1: Pull complete [2024-01-23T18:56:47.619Z] 4872d77fe225: Pull complete [2024-01-23T18:56:47.619Z] 5851b861e8e6: Pull complete [2024-01-23T18:56:47.877Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-23T18:56:47.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:47.877Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:56:48.057Z] prd-ubuntu20.04-docker-8c-8g-27722 does not seem to be running inside a container [2024-01-23T18:56:48.088Z] $ 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-23T18:56:52.508Z] $ docker top bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb -eo pid,comm [2024-01-23T18:56:52.557Z] 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-23T18:56:52.557Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-23T18:56:52.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-23T18:56:52.735Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-23T18:56:52.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-23T18:56:52.846Z] $ docker exec bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb ssh-agent [2024-01-23T18:56:52.953Z] SSH_AUTH_SOCK=/tmp/ssh-CbhKgJ5HvBlS/agent.33 [2024-01-23T18:56:52.953Z] SSH_AGENT_PID=39 [2024-01-23T18:56:52.959Z] Running ssh-add (command line suppressed) [2024-01-23T18:56:53.052Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_16617729205836661220.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_16617729205836661220.key) [2024-01-23T18:56:53.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-23T18:56:53.369Z] + git tag --points-at HEAD [Pipeline] } [2024-01-23T18:56:53.385Z] $ docker exec --env ******** --env ******** bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb ssh-agent -k [2024-01-23T18:56:53.498Z] unset SSH_AUTH_SOCK; [2024-01-23T18:56:53.498Z] unset SSH_AGENT_PID; [2024-01-23T18:56:53.498Z] echo Agent pid 39 killed; [2024-01-23T18:56:53.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-23T18:56:53.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-23T18:56:53.560Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-23T18:56:53.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-23T18:56:53.677Z] $ docker exec bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb ssh-agent [2024-01-23T18:56:53.772Z] SSH_AUTH_SOCK=/tmp/ssh-asdrYWRlhqkn/agent.71 [2024-01-23T18:56:53.772Z] SSH_AGENT_PID=77 [2024-01-23T18:56:53.777Z] Running ssh-add (command line suppressed) [2024-01-23T18:56:53.882Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17555459111056650542.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17555459111056650542.key) [2024-01-23T18:56:53.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-23T18:56:54.192Z] + git semver init [2024-01-23T18:56:54.452Z] 2024-01-23 18:56:54,392 [run_init] DEBUG init version:0.0.0 force:False [2024-01-23T18:56:54.452Z] 2024-01-23 18:56:54,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-23T18:56:54.452Z] 2024-01-23 18:56:54,393 [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-23T18:56:54.452Z] 2024-01-23 18:56:54,393 [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-23T18:56:55.390Z] 2024-01-23 18:56:55,314 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-01-23T18:56:55.390Z] 2024-01-23 18:56:55,314 [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-23T18:56:55.390Z] 2024-01-23 18:56:55,314 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-23T18:56:55.390Z] 2024-01-23 18:56:55,319 [execute] INFO git cat-file --batch-check [2024-01-23T18:56:55.390Z] 2024-01-23 18:56:55,319 [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-23T18:56:55.390Z] 2024-01-23 18:56:55,326 [execute] INFO git cat-file --batch [2024-01-23T18:56:55.390Z] 2024-01-23 18:56:55,327 [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-23T18:56:55.390Z] 2024-01-23 18:56:55,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-23T18:56:55.390Z] 0.0.0 [Pipeline] } [2024-01-23T18:56:55.402Z] $ docker exec --env ******** --env ******** bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb ssh-agent -k [2024-01-23T18:56:55.494Z] unset SSH_AUTH_SOCK; [2024-01-23T18:56:55.495Z] unset SSH_AGENT_PID; [2024-01-23T18:56:55.495Z] echo Agent pid 77 killed; [2024-01-23T18:56:55.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-23T18:56:55.877Z] + git semver [Pipeline] } [2024-01-23T18:56:56.153Z] $ docker stop --time=1 bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb [2024-01-23T18:56:57.457Z] $ docker rm -f --volumes bc2d8d9fdec239b7056a7302e200e701faf9114ba70d02ed72761ba1a00402eb [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-23T18:56:57.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-23T18:56:58.122Z] Stashed 1 file(s) [Pipeline] echo [2024-01-23T18:56:58.126Z] [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-23T18:56:58.429Z] provisioning config files... [2024-01-23T18:56:58.440Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config349595929605700439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:56:58.767Z] ---> ****-login.sh [2024-01-23T18:56:58.767Z] nexus3.edgexfoundry.org:10001 [2024-01-23T18:56:58.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:58.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:58.767Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:58.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:58.767Z] [2024-01-23T18:56:58.767Z] Login Succeeded [2024-01-23T18:56:58.767Z] nexus3.edgexfoundry.org:10002 [2024-01-23T18:56:58.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:58.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:58.767Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:58.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:58.767Z] [2024-01-23T18:56:58.767Z] Login Succeeded [2024-01-23T18:56:58.767Z] nexus3.edgexfoundry.org:10003 [2024-01-23T18:56:59.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:59.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:59.026Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:59.026Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:59.026Z] [2024-01-23T18:56:59.026Z] Login Succeeded [2024-01-23T18:56:59.026Z] nexus3.edgexfoundry.org:10004 [2024-01-23T18:56:59.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:59.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:59.026Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:59.026Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:59.026Z] [2024-01-23T18:56:59.026Z] Login Succeeded [2024-01-23T18:56:59.026Z] ****.io [2024-01-23T18:56:59.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:59.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:59.286Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:59.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:59.286Z] [2024-01-23T18:56:59.286Z] Login Succeeded [2024-01-23T18:56:59.286Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T18:56:59.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-23T18:56:59.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:56:59.467Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-23T18:56:59.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:56:59.531Z] ========================================================= [2024-01-23T18:56:59.531Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-23T18:56:59.531Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:56:59.904Z] + 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-23T18:56:59.904Z] Sending build context to Docker daemon 4.997MB [2024-01-23T18:56:59.904Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-01-23T18:56:59.904Z] Step 2/22 : FROM ${BASE} as builder [2024-01-23T18:56:59.904Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-23T18:56:59.904Z] 96526aa774ef: Pulling fs layer [2024-01-23T18:56:59.904Z] da60e534fd72: Pulling fs layer [2024-01-23T18:57:00.163Z] 96526aa774ef: Verifying Checksum [2024-01-23T18:57:00.163Z] 96526aa774ef: Download complete [2024-01-23T18:57:00.163Z] 96526aa774ef: Pull complete [2024-01-23T18:57:01.096Z] da60e534fd72: Verifying Checksum [2024-01-23T18:57:01.096Z] da60e534fd72: Download complete [2024-01-23T18:57:04.390Z] da60e534fd72: Pull complete [2024-01-23T18:57:04.390Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-23T18:57:04.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-23T18:57:04.390Z] ---> 6605166a5db4 [2024-01-23T18:57:04.390Z] 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-23T18:57:07.694Z] ---> Running in 7220b99ee409 [2024-01-23T18:57:07.694Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T18:57:07.953Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:07.953Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:07.953Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:08.520Z] Removing intermediate container 7220b99ee409 [2024-01-23T18:57:08.520Z] ---> 2368024f0df1 [2024-01-23T18:57:08.520Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:08.520Z] ---> Running in 46b5aca210da [2024-01-23T18:57:09.089Z] Removing intermediate container 46b5aca210da [2024-01-23T18:57:09.089Z] ---> e135172bb35d [2024-01-23T18:57:09.089Z] 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-23T18:57:09.089Z] ---> Running in 960b9a421901 [2024-01-23T18:57:09.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:09.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:09.347Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:09.917Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:09.917Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-23T18:57:09.917Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:57:09.917Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:57:10.854Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T18:57:10.854Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:57:10.854Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-23T18:57:10.854Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-23T18:57:10.854Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T18:57:10.854Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T18:57:10.854Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T18:57:10.854Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T18:57:10.854Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-23T18:57:10.854Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-23T18:57:10.854Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-23T18:57:11.142Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-23T18:57:11.142Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-23T18:57:11.142Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-23T18:57:11.142Z] Executing busybox-1.36.1-r4.trigger [2024-01-23T18:57:11.142Z] OK: 336 MiB in 99 packages [2024-01-23T18:57:11.712Z] Removing intermediate container 960b9a421901 [2024-01-23T18:57:11.712Z] ---> c40403f0f2b6 [2024-01-23T18:57:11.712Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-01-23T18:57:11.712Z] ---> Running in 2fa16d07c37e [2024-01-23T18:57:12.278Z] Removing intermediate container 2fa16d07c37e [2024-01-23T18:57:12.278Z] ---> 66344b64eccb [2024-01-23T18:57:12.278Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-01-23T18:57:12.546Z] ---> 002629cfb20e [2024-01-23T18:57:12.546Z] Step 8/22 : COPY src /tmp/sdk/src [2024-01-23T18:57:12.805Z] ---> 1d5f9c271658 [2024-01-23T18:57:12.805Z] Step 9/22 : COPY include /tmp/sdk/include [2024-01-23T18:57:12.805Z] ---> 65ee94042c50 [2024-01-23T18:57:12.805Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-01-23T18:57:13.065Z] ---> 526386584887 [2024-01-23T18:57:13.065Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-01-23T18:57:13.065Z] ---> 4a2ce5b50581 [2024-01-23T18:57:13.065Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-01-23T18:57:13.324Z] ---> aff97c929f85 [2024-01-23T18:57:13.324Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-23T18:57:13.324Z] ---> Running in 3a910de8a9e9 [2024-01-23T18:57:13.337Z] Still waiting to schedule task [2024-01-23T18:57:13.337Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-23T18:57:13.582Z] + CPPCHECK=false [2024-01-23T18:57:13.582Z] + DOCGEN=false [2024-01-23T18:57:13.582Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-23T18:57:13.582Z] + '[' 0 -gt 0 ] [2024-01-23T18:57:13.582Z] + readlink -f ./scripts/build.sh [2024-01-23T18:57:13.582Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-23T18:57:13.582Z] + dirname /tmp/sdk/scripts [2024-01-23T18:57:13.582Z] + ROOT=/tmp/sdk [2024-01-23T18:57:13.582Z] + cd /tmp/sdk [2024-01-23T18:57:13.582Z] + mkdir -p /tmp/sdk/build/release [2024-01-23T18:57:13.582Z] + cd /tmp/sdk/build/release [2024-01-23T18:57:13.582Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-23T18:57:13.582Z] -- The C compiler identification is GNU 12.2.1 [2024-01-23T18:57:13.582Z] -- Detecting C compiler ABI info [2024-01-23T18:57:13.842Z] -- Detecting C compiler ABI info - done [2024-01-23T18:57:13.842Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T18:57:13.842Z] -- Detecting C compile features [2024-01-23T18:57:13.842Z] -- Detecting C compile features - done [2024-01-23T18:57:13.842Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T18:57:13.842Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T18:57:13.842Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T18:57:13.842Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T18:57:13.842Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T18:57:13.842Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T18:57:13.842Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T18:57:13.842Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T18:57:13.842Z] -- /opt/iotech/iot/1.5/include [2024-01-23T18:57:13.842Z] -- C SDK 0.0.0 for Linux [2024-01-23T18:57:13.842Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T18:57:13.842Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T18:57:13.842Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-23T18:57:13.842Z] -- Configuring done (0.4s) [2024-01-23T18:57:14.102Z] -- Generating done (0.0s) [2024-01-23T18:57:14.102Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-23T18:57:14.102Z] + make all package [2024-01-23T18:57:14.102Z] + tee release.log [2024-01-23T18:57:14.102Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T18:57:14.102Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T18:57:14.362Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T18:57:14.362Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T18:57:14.621Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T18:57:14.621Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T18:57:14.882Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T18:57:14.882Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-23T18:57:14.882Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:14.882Z] 294 | while (privateConfig) [2024-01-23T18:57:14.882Z] | ^~~~~~~~~~~~~ [2024-01-23T18:57:14.882Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-23T18:57:14.882Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:57:14.882Z] | ^~~~~~~~~~~~~ [2024-01-23T18:57:14.882Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:14.882Z] 271 | while (result) [2024-01-23T18:57:14.882Z] | ^~~~~~ [2024-01-23T18:57:14.882Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-23T18:57:14.882Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:57:14.882Z] | ^~~~~~ [2024-01-23T18:57:15.141Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T18:57:15.141Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T18:57:15.141Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T18:57:15.400Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T18:57:15.660Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T18:57:15.660Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T18:57:15.919Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T18:57:15.919Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T18:57:16.178Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T18:57:16.178Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T18:57:16.437Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T18:57:16.437Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T18:57:16.697Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T18:57:16.697Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T18:57:17.636Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T18:57:17.896Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T18:57:17.896Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T18:57:18.158Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T18:57:18.158Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T18:57:18.416Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T18:57:18.675Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T18:57:18.675Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T18:57:18.935Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T18:57:18.935Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T18:57:18.935Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T18:57:18.935Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:18.935Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T18:57:18.935Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:18.935Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:18.935Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T18:57:18.935Z] | ^ [2024-01-23T18:57:19.194Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:19.194Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-23T18:57:19.194Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:19.194Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-23T18:57:19.194Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-23T18:57:19.194Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:19.455Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T18:57:19.455Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T18:57:19.455Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T18:57:19.715Z] [ 68%] Linking C shared library libcsdk.so [2024-01-23T18:57:19.715Z] [ 68%] Built target csdk [2024-01-23T18:57:19.715Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T18:57:19.715Z] [ 72%] Linking C executable template [2024-01-23T18:57:19.975Z] [ 72%] Built target template [2024-01-23T18:57:19.975Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T18:57:19.975Z] [ 76%] Linking C executable device-counter [2024-01-23T18:57:19.975Z] [ 76%] Built target device-counter [2024-01-23T18:57:19.975Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T18:57:20.236Z] [ 80%] Linking C executable device-random [2024-01-23T18:57:20.236Z] [ 80%] Built target device-random [2024-01-23T18:57:20.236Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T18:57:20.236Z] [ 84%] Linking C executable device-gyro [2024-01-23T18:57:20.497Z] [ 84%] Built target device-gyro [2024-01-23T18:57:20.497Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T18:57:20.497Z] [ 88%] Linking C executable device-bitfields [2024-01-23T18:57:20.497Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:20.497Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T18:57:20.758Z] [ 92%] Linking C executable template-discovery [2024-01-23T18:57:20.758Z] [ 92%] Built target template-discovery [2024-01-23T18:57:20.758Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T18:57:21.019Z] [ 96%] Linking C executable device-file [2024-01-23T18:57:21.019Z] [ 96%] Built target device-file [2024-01-23T18:57:21.019Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T18:57:21.019Z] [100%] Linking C executable device-terminal [2024-01-23T18:57:21.279Z] [100%] Built target device-terminal [2024-01-23T18:57:21.279Z] Run CPack packaging tool... [2024-01-23T18:57:21.279Z] CPack: Create package using TGZ [2024-01-23T18:57:21.279Z] CPack: Install projects [2024-01-23T18:57:21.279Z] CPack: - Run preinstall target for: Csdk [2024-01-23T18:57:21.540Z] CPack: - Install project: Csdk [] [2024-01-23T18:57:21.540Z] CPack: Create package [2024-01-23T18:57:21.540Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-23T18:57:21.540Z] + '[' false '=' true ] [2024-01-23T18:57:21.540Z] + '[' false '=' true ] [2024-01-23T18:57:21.540Z] + mkdir -p /tmp/sdk/build/debug [2024-01-23T18:57:21.540Z] + cd /tmp/sdk/build/debug [2024-01-23T18:57:21.540Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-23T18:57:21.540Z] -- The C compiler identification is GNU 12.2.1 [2024-01-23T18:57:21.540Z] -- Detecting C compiler ABI info [2024-01-23T18:57:21.540Z] -- Detecting C compiler ABI info - done [2024-01-23T18:57:21.540Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T18:57:21.540Z] -- Detecting C compile features [2024-01-23T18:57:21.540Z] -- Detecting C compile features - done [2024-01-23T18:57:21.540Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T18:57:21.807Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T18:57:21.807Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T18:57:21.807Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T18:57:21.807Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T18:57:21.807Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T18:57:21.807Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T18:57:21.807Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T18:57:21.807Z] -- /opt/iotech/iot/1.5/include [2024-01-23T18:57:21.807Z] -- C SDK 0.0.0 for Linux [2024-01-23T18:57:21.807Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T18:57:21.807Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T18:57:21.807Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-23T18:57:21.807Z] -- Configuring done (0.4s) [2024-01-23T18:57:21.807Z] -- Generating done (0.0s) [2024-01-23T18:57:21.807Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-23T18:57:21.807Z] + make [2024-01-23T18:57:21.807Z] + tee debug.log [2024-01-23T18:57:22.069Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T18:57:22.069Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T18:57:22.069Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T18:57:22.069Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T18:57:22.329Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T18:57:22.329Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T18:57:22.329Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T18:57:22.589Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T18:57:22.589Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T18:57:22.589Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T18:57:22.848Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T18:57:22.848Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T18:57:22.848Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T18:57:22.848Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T18:57:23.191Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T18:57:23.191Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T18:57:23.191Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T18:57:23.191Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T18:57:23.191Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T18:57:23.450Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T18:57:23.450Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T18:57:23.709Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T18:57:23.709Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T18:57:23.709Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T18:57:23.709Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T18:57:23.968Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T18:57:23.968Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T18:57:24.228Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T18:57:24.228Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T18:57:24.228Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T18:57:24.486Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T18:57:24.486Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T18:57:24.486Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:24.486Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T18:57:24.486Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:24.486Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:24.486Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T18:57:24.486Z] | ^ [2024-01-23T18:57:24.486Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T18:57:24.486Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T18:57:24.748Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T18:57:24.748Z] [ 68%] Linking C shared library libcsdk.so [2024-01-23T18:57:24.748Z] [ 68%] Built target csdk [2024-01-23T18:57:24.748Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T18:57:24.748Z] [ 72%] Linking C executable template [2024-01-23T18:57:25.008Z] [ 72%] Built target template [2024-01-23T18:57:25.008Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T18:57:25.008Z] [ 76%] Linking C executable device-counter [2024-01-23T18:57:25.008Z] [ 76%] Built target device-counter [2024-01-23T18:57:25.008Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T18:57:25.008Z] [ 80%] Linking C executable device-random [2024-01-23T18:57:25.270Z] [ 80%] Built target device-random [2024-01-23T18:57:25.270Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T18:57:25.270Z] [ 84%] Linking C executable device-gyro [2024-01-23T18:57:25.270Z] [ 84%] Built target device-gyro [2024-01-23T18:57:25.270Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T18:57:25.530Z] [ 88%] Linking C executable device-bitfields [2024-01-23T18:57:25.530Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:25.530Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T18:57:25.530Z] [ 92%] Linking C executable template-discovery [2024-01-23T18:57:25.530Z] [ 92%] Built target template-discovery [2024-01-23T18:57:25.530Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T18:57:25.791Z] [ 96%] Linking C executable device-file [2024-01-23T18:57:25.791Z] [ 96%] Built target device-file [2024-01-23T18:57:25.791Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T18:57:25.791Z] [100%] Linking C executable device-terminal [2024-01-23T18:57:26.050Z] [100%] Built target device-terminal [2024-01-23T18:57:26.050Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-23T18:57:26.050Z] [ 68%] Built target csdk [2024-01-23T18:57:26.050Z] [ 72%] Built target template [2024-01-23T18:57:26.050Z] [ 76%] Built target device-counter [2024-01-23T18:57:26.050Z] [ 80%] Built target device-random [2024-01-23T18:57:26.050Z] [ 84%] Built target device-gyro [2024-01-23T18:57:26.050Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:26.050Z] [ 92%] Built target template-discovery [2024-01-23T18:57:26.050Z] [ 96%] Built target device-file [2024-01-23T18:57:26.050Z] [100%] Built target device-terminal [2024-01-23T18:57:26.050Z] Install the project... [2024-01-23T18:57:26.050Z] -- Install configuration: "Release" [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-23T18:57:26.050Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/devsdk [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-23T18:57:26.050Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-23T18:57:26.050Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-23T18:57:26.988Z] Removing intermediate container 3a910de8a9e9 [2024-01-23T18:57:26.988Z] ---> ca71c43cac3b [2024-01-23T18:57:26.988Z] Step 14/22 : FROM ${BASE} [2024-01-23T18:57:26.988Z] ---> 6605166a5db4 [2024-01-23T18:57:26.988Z] Step 15/22 : LABEL maintainer="IOTech " [2024-01-23T18:57:26.988Z] ---> Running in c5910f93693b [2024-01-23T18:57:27.246Z] Removing intermediate container c5910f93693b [2024-01-23T18:57:27.247Z] ---> 1819e7ee0696 [2024-01-23T18:57:27.247Z] 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-23T18:57:27.247Z] ---> Running in 48c0e9bc34c0 [2024-01-23T18:57:27.506Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T18:57:27.764Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:27.764Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:27.764Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:28.023Z] Removing intermediate container 48c0e9bc34c0 [2024-01-23T18:57:28.023Z] ---> 32ac682e2875 [2024-01-23T18:57:28.023Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:28.281Z] ---> Running in cdce8ec3abc3 [2024-01-23T18:57:28.540Z] Removing intermediate container cdce8ec3abc3 [2024-01-23T18:57:28.541Z] ---> 80df74a4c9cb [2024-01-23T18:57:28.541Z] 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-23T18:57:28.800Z] ---> Running in 70c6af52f08e [2024-01-23T18:57:29.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:29.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:29.059Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:29.626Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:29.626Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:57:29.626Z] (2/10) Installing curl (8.5.0-r0) [2024-01-23T18:57:29.626Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:57:29.626Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-01-23T18:57:29.626Z] (5/10) Installing hiredis (1.1.0-r2) [2024-01-23T18:57:29.626Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:57:29.626Z] (7/10) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:57:30.563Z] (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:57:30.563Z] (9/10) Installing libcbor (0.10.2-r1) [2024-01-23T18:57:31.589Z] (10/10) Installing libuuid (2.38.1-r8) [2024-01-23T18:57:31.589Z] Executing busybox-1.36.1-r4.trigger [2024-01-23T18:57:31.589Z] OK: 331 MiB in 90 packages [2024-01-23T18:57:31.849Z] Removing intermediate container 70c6af52f08e [2024-01-23T18:57:31.849Z] ---> bc0e53c4a3b1 [2024-01-23T18:57:31.849Z] Step 19/22 : RUN apk --no-cache upgrade [2024-01-23T18:57:31.849Z] ---> Running in eb30f4734428 [2024-01-23T18:57:32.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:32.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:32.369Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:32.940Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:32.940Z] (1/9) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T18:57:32.940Z] Executing busybox-1.36.1-r5.post-upgrade [2024-01-23T18:57:32.940Z] (2/9) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T18:57:32.940Z] (3/9) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T18:57:32.940Z] (4/9) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T18:57:32.940Z] (5/9) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T18:57:32.940Z] (6/9) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T18:57:32.940Z] (7/9) Upgrading gnutls (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T18:57:32.940Z] (8/9) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T18:57:33.251Z] (9/9) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T18:57:33.251Z] Executing busybox-1.36.1-r5.trigger [2024-01-23T18:57:33.251Z] Executing ca-certificates-20230506-r0.trigger [2024-01-23T18:57:33.251Z] OK: 331 MiB in 90 packages [2024-01-23T18:57:34.189Z] Removing intermediate container eb30f4734428 [2024-01-23T18:57:34.189Z] ---> c8a7614bcef7 [2024-01-23T18:57:34.189Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-23T18:57:34.189Z] ---> 3fb4125daa6e [2024-01-23T18:57:34.189Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-23T18:57:34.189Z] ---> 7f3cd54f9852 [2024-01-23T18:57:34.189Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-23T18:57:34.449Z] ---> 87565527257f [2024-01-23T18:57:34.449Z] Successfully built 87565527257f [2024-01-23T18:57:34.449Z] 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-23T18:57:35.019Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-23T18:57:35.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:57:35.142Z] prd-ubuntu20.04-docker-8c-8g-27722 does not seem to be running inside a container [2024-01-23T18:57:35.181Z] $ 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-23T18:57:35.555Z] $ docker top c0b40324cd33a0d850b5f46c36c70c3d2d3f670fd81bddc6905c176f0c2c6378 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T18:57:35.933Z] + make test [2024-01-23T18:57:35.933Z] echo "make test" [2024-01-23T18:57:35.933Z] make test [Pipeline] } [2024-01-23T18:57:35.946Z] $ docker stop --time=1 c0b40324cd33a0d850b5f46c36c70c3d2d3f670fd81bddc6905c176f0c2c6378 [2024-01-23T18:57:37.235Z] $ docker rm -f --volumes c0b40324cd33a0d850b5f46c36c70c3d2d3f670fd81bddc6905c176f0c2c6378 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T18:57:37.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-23T18:57:38.193Z] + ls -al . [2024-01-23T18:57:38.193Z] total 212 [2024-01-23T18:57:38.193Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 18:56 . [2024-01-23T18:57:38.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 .. [2024-01-23T18:57:38.193Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:56 .git [2024-01-23T18:57:38.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 18:56 .github [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 23 18:56 .gitignore [2024-01-23T18:57:38.193Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:56 .semver [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 23 18:56 Attribution.txt [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 23 18:56 CHANGELOG.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 23 18:56 Doxyfile [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 18:56 GOVERNANCE.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 23 18:56 Jenkinsfile [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 18:56 LICENSE [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 23 18:56 Makefile [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 18:56 OWNERS.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 23 18:56 README.IOT.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 23 18:56 README.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 23 18:56 README.v3.md [2024-01-23T18:57:38.193Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:56 VERSION [2024-01-23T18:57:38.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:56 docs [2024-01-23T18:57:38.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 include [2024-01-23T18:57:38.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:56 scripts [2024-01-23T18:57:38.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:38.558Z] + 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=3f9880990055f56f22b96b85d125707a413bb881 --label arch=amd64 --label version=0.0.0 . [2024-01-23T18:57:38.558Z] Sending build context to Docker daemon 4.997MB [2024-01-23T18:57:38.558Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-01-23T18:57:38.558Z] Step 2/18 : FROM ${BASE} [2024-01-23T18:57:38.558Z] ---> 87565527257f [2024-01-23T18:57:38.558Z] Step 3/18 : LABEL maintainer="IOTech " [2024-01-23T18:57:38.558Z] ---> Running in 7c15609110c5 [2024-01-23T18:57:38.819Z] Removing intermediate container 7c15609110c5 [2024-01-23T18:57:38.819Z] ---> 623df9640041 [2024-01-23T18:57:38.819Z] 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-23T18:57:38.819Z] ---> Running in 1a23c7c025ed [2024-01-23T18:57:39.079Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T18:57:39.336Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:39.336Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:39.336Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:39.596Z] Removing intermediate container 1a23c7c025ed [2024-01-23T18:57:39.596Z] ---> 8832ab55ebcf [2024-01-23T18:57:39.596Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:39.596Z] ---> Running in 5c1a2f01f58c [2024-01-23T18:57:40.532Z] Removing intermediate container 5c1a2f01f58c [2024-01-23T18:57:40.532Z] ---> e771852afb2e [2024-01-23T18:57:40.532Z] 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-23T18:57:40.532Z] ---> Running in 12ccd2bdecd1 [2024-01-23T18:57:40.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:40.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:40.791Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:41.360Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:41.360Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T18:57:41.619Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-23T18:57:41.619Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T18:57:41.619Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T18:57:41.619Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T18:57:41.619Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T18:57:41.619Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-23T18:57:41.619Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-23T18:57:41.619Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-23T18:57:41.884Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-23T18:57:41.884Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-23T18:57:41.884Z] Executing busybox-1.36.1-r5.trigger [2024-01-23T18:57:41.884Z] OK: 337 MiB in 101 packages [2024-01-23T18:57:42.456Z] Removing intermediate container 12ccd2bdecd1 [2024-01-23T18:57:42.456Z] ---> 81e99b4f3d7c [2024-01-23T18:57:42.456Z] Step 7/18 : RUN apk --no-cache upgrade [2024-01-23T18:57:42.456Z] ---> Running in 4ed14d0cf301 [2024-01-23T18:57:42.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:42.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:42.976Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:43.235Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:43.235Z] OK: 337 MiB in 101 packages [2024-01-23T18:57:43.816Z] Removing intermediate container 4ed14d0cf301 [2024-01-23T18:57:43.816Z] ---> 4bc411fdb681 [2024-01-23T18:57:43.816Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-01-23T18:57:43.816Z] ---> e47aca757b21 [2024-01-23T18:57:43.816Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-01-23T18:57:44.076Z] ---> a4629edda7e7 [2024-01-23T18:57:44.076Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-01-23T18:57:44.076Z] ---> 57de142c6524 [2024-01-23T18:57:44.076Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-01-23T18:57:44.349Z] ---> ae7182a0b35b [2024-01-23T18:57:44.349Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-01-23T18:57:44.349Z] ---> 3c90aae32087 [2024-01-23T18:57:44.349Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-23T18:57:44.349Z] ---> 489dd6e93383 [2024-01-23T18:57:44.349Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-01-23T18:57:44.349Z] ---> Running in 51fa93a766d2 [2024-01-23T18:57:44.608Z] Removing intermediate container 51fa93a766d2 [2024-01-23T18:57:44.608Z] ---> ba9e47a65414 [2024-01-23T18:57:44.608Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-23T18:57:44.608Z] ---> Running in f69a6d2f12ec [2024-01-23T18:57:44.608Z] Removing intermediate container f69a6d2f12ec [2024-01-23T18:57:44.608Z] ---> 02e607169ae7 [2024-01-23T18:57:44.608Z] Step 16/18 : LABEL arch=amd64 [2024-01-23T18:57:44.608Z] ---> Running in 52ea8ebf66a9 [2024-01-23T18:57:44.608Z] Removing intermediate container 52ea8ebf66a9 [2024-01-23T18:57:44.608Z] ---> 24d2f77ac5b1 [2024-01-23T18:57:44.608Z] Step 17/18 : LABEL git_sha=3f9880990055f56f22b96b85d125707a413bb881 [2024-01-23T18:57:44.868Z] ---> Running in f17849ddcb99 [2024-01-23T18:57:44.868Z] Removing intermediate container f17849ddcb99 [2024-01-23T18:57:44.868Z] ---> f7c1410cd5b8 [2024-01-23T18:57:44.868Z] Step 18/18 : LABEL version=0.0.0 [2024-01-23T18:57:44.868Z] ---> Running in 142f85269ac8 [2024-01-23T18:57:44.868Z] Removing intermediate container 142f85269ac8 [2024-01-23T18:57:44.868Z] ---> 9aa478d25418 [2024-01-23T18:57:44.868Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-01-23T18:57:44.868Z] Successfully built 9aa478d25418 [2024-01-23T18:57:44.868Z] 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-23T18:57:45.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:45.631Z] [2024-01-23T18:57:45.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:45.948Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:45.948Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-23T18:57:45.948Z] 5eb5b503b376: Pulling fs layer [2024-01-23T18:57:45.948Z] 5c69ac0246d0: Pulling fs layer [2024-01-23T18:57:45.948Z] ec43610c2a17: Pulling fs layer [2024-01-23T18:57:45.948Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-23T18:57:45.948Z] 33b1e0a273af: Pulling fs layer [2024-01-23T18:57:45.948Z] 5d3b04190fa2: Pulling fs layer [2024-01-23T18:57:45.948Z] 2f39f015ded8: Pulling fs layer [2024-01-23T18:57:45.948Z] 33b1e0a273af: Waiting [2024-01-23T18:57:45.948Z] 5d3b04190fa2: Waiting [2024-01-23T18:57:45.948Z] 3a2ae6a8a46f: Waiting [2024-01-23T18:57:45.948Z] 2f39f015ded8: Waiting [2024-01-23T18:57:45.948Z] 5c69ac0246d0: Verifying Checksum [2024-01-23T18:57:45.948Z] 5c69ac0246d0: Download complete [2024-01-23T18:57:45.948Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-23T18:57:45.948Z] 3a2ae6a8a46f: Download complete [2024-01-23T18:57:45.948Z] 33b1e0a273af: Verifying Checksum [2024-01-23T18:57:45.948Z] 33b1e0a273af: Download complete [2024-01-23T18:57:45.948Z] ec43610c2a17: Verifying Checksum [2024-01-23T18:57:45.948Z] ec43610c2a17: Download complete [2024-01-23T18:57:45.948Z] 5d3b04190fa2: Verifying Checksum [2024-01-23T18:57:45.948Z] 5d3b04190fa2: Download complete [2024-01-23T18:57:46.206Z] 5eb5b503b376: Verifying Checksum [2024-01-23T18:57:46.206Z] 5eb5b503b376: Download complete [2024-01-23T18:57:46.772Z] 2f39f015ded8: Verifying Checksum [2024-01-23T18:57:46.772Z] 2f39f015ded8: Download complete [2024-01-23T18:57:47.359Z] 5eb5b503b376: Pull complete [2024-01-23T18:57:47.359Z] 5c69ac0246d0: Pull complete [2024-01-23T18:57:47.927Z] ec43610c2a17: Pull complete [2024-01-23T18:57:47.928Z] 3a2ae6a8a46f: Pull complete [2024-01-23T18:57:48.188Z] 33b1e0a273af: Pull complete [2024-01-23T18:57:48.188Z] 5d3b04190fa2: Pull complete [2024-01-23T18:57:52.374Z] 2f39f015ded8: Pull complete [2024-01-23T18:57:52.374Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-23T18:57:52.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:52.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:57:52.550Z] prd-ubuntu20.04-docker-8c-8g-27722 does not seem to be running inside a container [2024-01-23T18:57:52.583Z] $ 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-23T18:57:58.912Z] $ docker top 086d50f46d57f51e070006ade91d2cc5436f6845d507f19403708b4777afc0b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:57:59.324Z] ---> job-cost.sh [2024-01-23T18:57:59.324Z] lf-activate-venv: SKIPPING [2024-01-23T18:57:59.324Z] INFO: No Stack... [2024-01-23T18:57:59.585Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T18:57:59.846Z] INFO: Archiving Costs [Pipeline] sh [2024-01-23T18:58:00.134Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-01-23T18:58:00.134Z] + cut -d, -f6 [Pipeline] lock [2024-01-23T18:58:00.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [2024-01-23T18:58:00.161Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] did not exist. Created. [2024-01-23T18:58:00.161Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-23T18:58:00.532Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-23T18:58:00.608Z] Stashed 1 file(s) [Pipeline] } [2024-01-23T18:58:00.618Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-23T18:58:00.686Z] $ docker stop --time=1 086d50f46d57f51e070006ade91d2cc5436f6845d507f19403708b4777afc0b9 [2024-01-23T18:58:01.833Z] $ docker rm -f --volumes 086d50f46d57f51e070006ade91d2cc5436f6845d507f19403708b4777afc0b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-23T18:59:51.247Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27725 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-01-23T18:59:51.283Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2024-01-23T18:59:54.469Z] Selected Git installation does not exist. Using Default [2024-01-23T18:59:54.469Z] The recommended git tool is: NONE [2024-01-23T18:59:59.768Z] using credential edgex-jenkins-ssh [2024-01-23T18:59:59.796Z] Cloning the remote Git repository [2024-01-23T18:59:59.843Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T18:59:59.942Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2024-01-23T19:00:00.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T19:00:00.120Z] > git --version # timeout=10 [2024-01-23T19:00:00.148Z] > git --version # 'git version 2.25.1' [2024-01-23T19:00:00.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T19:00:00.349Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-23T19:00:02.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-23T19:00:02.534Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-23T19:00:04.082Z] Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-01-23T19:00:04.554Z] Merge succeeded, producing e248b6bd68f06e2413c905020bbcb77bc4cbd132 [2024-01-23T19:00:04.554Z] Checking out Revision e248b6bd68f06e2413c905020bbcb77bc4cbd132 (PR-496) [2024-01-23T19:00:03.368Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-23T19:00:03.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T19:00:03.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T19:00:03.421Z] > 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-23T19:00:04.100Z] > git config core.sparsecheckout # timeout=10 [2024-01-23T19:00:04.168Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-01-23T19:00:04.378Z] > git remote # timeout=10 [2024-01-23T19:00:04.401Z] > git config --get remote.origin.url # timeout=10 [2024-01-23T19:00:04.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T19:00:04.433Z] > git merge 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [2024-01-23T19:00:04.539Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-23T19:00:04.562Z] > git config core.sparsecheckout # timeout=10 [2024-01-23T19:00:04.574Z] > git checkout -f e248b6bd68f06e2413c905020bbcb77bc4cbd132 # timeout=10 [2024-01-23T19:00:08.158Z] Commit message: "Merge commit '6bdae90b977cdeecb957260a94da902cfcf10c29' into HEAD" [2024-01-23T19:00:08.184Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T19:00:08.168Z] > git rev-list --no-walk 14a8fccf1f583826766debbf99bc97a673fc3b10 # timeout=10 [2024-01-23T19:00:09.649Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-23T19:00:09.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-23T19:00:09.650Z] Dload Upload Total Spent Left Speed [2024-01-23T19:00:09.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 187k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh [2024-01-23T19:00:10.110Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-23T19:00:10.444Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-23T19:00:10.444Z] + sudo tee /etc/docker/daemon.new [2024-01-23T19:00:10.444Z] { [2024-01-23T19:00:10.444Z] "registry-mirrors": [ [2024-01-23T19:00:10.444Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-23T19:00:10.444Z] ], [2024-01-23T19:00:10.444Z] "bip": "10.250.0.254/24", [2024-01-23T19:00:10.444Z] "hosts": [ [2024-01-23T19:00:10.444Z] "tcp://0.0.0.0:5555", [2024-01-23T19:00:10.444Z] "unix:///var/run/docker.sock" [2024-01-23T19:00:10.444Z] ], [2024-01-23T19:00:10.444Z] "mtu": 1458, [2024-01-23T19:00:10.444Z] "selinux-enabled": true, [2024-01-23T19:00:10.444Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-23T19:00:10.444Z] } [Pipeline] sh [2024-01-23T19:00:10.774Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-23T19:00:11.107Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T19:00:29.414Z] provisioning config files... [2024-01-23T19:00:29.446Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config3342616649205400370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:00:29.926Z] ---> ****-login.sh [2024-01-23T19:00:29.927Z] nexus3.edgexfoundry.org:10001 [2024-01-23T19:00:30.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T19:00:30.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T19:00:30.467Z] Configure a credential helper to remove this warning. See [2024-01-23T19:00:30.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T19:00:30.467Z] [2024-01-23T19:00:30.467Z] Login Succeeded [2024-01-23T19:00:30.467Z] nexus3.edgexfoundry.org:10002 [2024-01-23T19:00:30.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T19:00:30.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T19:00:30.737Z] Configure a credential helper to remove this warning. See [2024-01-23T19:00:30.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T19:00:30.737Z] [2024-01-23T19:00:30.737Z] Login Succeeded [2024-01-23T19:00:30.737Z] nexus3.edgexfoundry.org:10003 [2024-01-23T19:00:30.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T19:00:31.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T19:00:31.008Z] Configure a credential helper to remove this warning. See [2024-01-23T19:00:31.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T19:00:31.008Z] [2024-01-23T19:00:31.008Z] Login Succeeded [2024-01-23T19:00:31.008Z] nexus3.edgexfoundry.org:10004 [2024-01-23T19:00:31.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T19:00:31.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T19:00:31.278Z] Configure a credential helper to remove this warning. See [2024-01-23T19:00:31.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T19:00:31.278Z] [2024-01-23T19:00:31.278Z] Login Succeeded [2024-01-23T19:00:31.278Z] ****.io [2024-01-23T19:00:31.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T19:00:31.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T19:00:31.821Z] Configure a credential helper to remove this warning. See [2024-01-23T19:00:31.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T19:00:31.821Z] [2024-01-23T19:00:31.821Z] Login Succeeded [2024-01-23T19:00:31.821Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T19:00:31.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-23T19:00:32.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T19:00:32.256Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-23T19:00:32.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T19:00:32.323Z] ========================================================= [2024-01-23T19:00:32.323Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-23T19:00:32.323Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:00:32.747Z] + 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-23T19:00:34.161Z] #0 building with "default" instance using docker driver [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-23T19:00:34.161Z] #1 transferring dockerfile: 2.16kB done [2024-01-23T19:00:34.161Z] #1 DONE 0.1s [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #2 [internal] load .dockerignore [2024-01-23T19:00:34.161Z] #2 transferring context: 2B done [2024-01-23T19:00:34.161Z] #2 DONE 0.1s [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-23T19:00:34.161Z] #3 DONE 0.1s [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #4 [stage-1 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-23T19:00:34.161Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-23T19:00:34.161Z] #4 ... [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #5 [internal] load build context [2024-01-23T19:00:34.161Z] #5 transferring context: 628.08kB 0.1s done [2024-01-23T19:00:34.161Z] #5 DONE 0.2s [2024-01-23T19:00:34.161Z] [2024-01-23T19:00:34.161Z] #4 [stage-1 1/8] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-23T19:00:34.161Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 2.10MB / 3.33MB 0.2s [2024-01-23T19:00:34.161Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 4.19MB / 109.51MB 0.2s [2024-01-23T19:00:34.161Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-23T19:00:34.161Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-23T19:00:34.440Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-23T19:00:34.440Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-23T19:00:34.440Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.58MB / 109.51MB 0.4s [2024-01-23T19:00:34.708Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 23.07MB / 109.51MB 0.6s [2024-01-23T19:00:34.708Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-23T19:00:34.978Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 34.60MB / 109.51MB 0.8s [2024-01-23T19:00:34.978Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 40.89MB / 109.51MB 0.9s [2024-01-23T19:00:35.246Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 54.39MB / 109.51MB 1.1s [2024-01-23T19:00:35.246Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 60.82MB / 109.51MB 1.2s [2024-01-23T19:00:35.523Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.40MB / 109.51MB 1.4s [2024-01-23T19:00:35.523Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 79.69MB / 109.51MB 1.5s [2024-01-23T19:00:35.792Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 92.27MB / 109.51MB 1.7s [2024-01-23T19:00:35.792Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 98.57MB / 109.51MB 1.8s [2024-01-23T19:00:36.063Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 104.86MB / 109.51MB 1.9s [2024-01-23T19:00:36.333Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done [2024-01-23T19:00:36.333Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-23T19:00:41.706Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-23T19:00:48.379Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.9s [2024-01-23T19:00:49.799Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.1s done [2024-01-23T19:00:49.799Z] #4 DONE 15.7s [2024-01-23T19:00:49.799Z] [2024-01-23T19:00:49.799Z] #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-23T19:00:50.767Z] #6 0.711 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T19:00:51.039Z] #6 1.209 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T19:00:51.039Z] #6 1.210 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T19:00:51.039Z] #6 1.210 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T19:00:52.005Z] #6 DONE 2.0s [2024-01-23T19:00:52.006Z] [2024-01-23T19:00:52.006Z] #7 [stage-1 3/8] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T19:00:52.597Z] #7 DONE 0.8s [2024-01-23T19:00:52.597Z] [2024-01-23T19:00:52.597Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-23T19:00:53.558Z] #8 0.965 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:00:54.142Z] #8 1.331 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:00:54.726Z] #8 1.919 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:00:55.694Z] #8 2.822 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:00:55.694Z] #8 2.861 (1/17) Installing hiredis (1.1.0-r2) [2024-01-23T19:00:55.694Z] #8 2.868 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-23T19:00:55.694Z] #8 2.897 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T19:00:56.284Z] #8 3.695 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T19:00:56.561Z] #8 3.819 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T19:00:56.561Z] #8 4.051 (6/17) Installing libcbor (0.10.2-r1) [2024-01-23T19:00:56.832Z] #8 4.057 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-23T19:00:56.832Z] #8 4.166 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T19:00:56.832Z] #8 4.172 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T19:00:56.832Z] #8 4.181 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T19:00:56.832Z] #8 4.190 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T19:00:56.832Z] #8 4.226 (12/17) Installing libblkid (2.38.1-r8) [2024-01-23T19:00:56.832Z] #8 4.241 (13/17) Installing libuuid (2.38.1-r8) [2024-01-23T19:00:56.832Z] #8 4.247 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-23T19:00:56.832Z] #8 4.267 (15/17) Installing libmount (2.38.1-r8) [2024-01-23T19:00:57.103Z] #8 4.286 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-23T19:00:57.103Z] #8 4.300 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-23T19:00:57.103Z] #8 4.394 Executing busybox-1.36.1-r4.trigger [2024-01-23T19:00:57.103Z] #8 4.438 OK: 333 MiB in 99 packages [2024-01-23T19:01:00.463Z] #8 DONE 7.4s [2024-01-23T19:01:00.463Z] [2024-01-23T19:01:00.463Z] #9 [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-23T19:01:00.463Z] #9 0.858 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:00.463Z] #9 1.343 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:00.463Z] #9 1.922 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:00.463Z] #9 2.840 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:01:00.463Z] #9 2.875 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T19:01:00.463Z] #9 2.905 (2/10) Installing curl (8.5.0-r0) [2024-01-23T19:01:00.463Z] #9 2.922 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T19:01:00.463Z] #9 2.941 (4/10) Installing dumb-init (1.2.5-r2) [2024-01-23T19:01:00.463Z] #9 3.040 (5/10) Installing hiredis (1.1.0-r2) [2024-01-23T19:01:00.463Z] #9 3.046 (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-23T19:01:00.463Z] #9 3.070 (7/10) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T19:01:00.463Z] #9 3.837 (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T19:01:00.463Z] #9 4.063 (9/10) Installing libcbor (0.10.2-r1) [2024-01-23T19:01:00.463Z] #9 4.069 (10/10) Installing libuuid (2.38.1-r8) [2024-01-23T19:01:00.463Z] #9 4.077 Executing busybox-1.36.1-r4.trigger [2024-01-23T19:01:00.463Z] #9 4.124 OK: 328 MiB in 90 packages [2024-01-23T19:01:00.463Z] #9 DONE 7.4s [2024-01-23T19:01:00.463Z] [2024-01-23T19:01:00.463Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-23T19:01:01.051Z] #10 1.140 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:01.319Z] #10 ... [2024-01-23T19:01:01.319Z] [2024-01-23T19:01:01.319Z] #11 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-23T19:01:01.319Z] #11 DONE 1.2s [2024-01-23T19:01:01.617Z] [2024-01-23T19:01:01.617Z] #12 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-23T19:01:01.617Z] #12 DONE 0.1s [2024-01-23T19:01:01.617Z] [2024-01-23T19:01:01.617Z] #13 [builder 7/12] COPY src /tmp/sdk/src [2024-01-23T19:01:01.617Z] #13 DONE 0.2s [2024-01-23T19:01:01.617Z] [2024-01-23T19:01:01.617Z] #14 [builder 8/12] COPY include /tmp/sdk/include [2024-01-23T19:01:01.907Z] #14 DONE 0.1s [2024-01-23T19:01:01.907Z] [2024-01-23T19:01:01.907Z] #15 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-23T19:01:01.907Z] #15 DONE 0.1s [2024-01-23T19:01:01.907Z] [2024-01-23T19:01:01.907Z] #16 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-23T19:01:01.907Z] #16 DONE 0.1s [2024-01-23T19:01:01.907Z] [2024-01-23T19:01:01.907Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-23T19:01:01.907Z] #10 1.516 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:01.907Z] #10 ... [2024-01-23T19:01:01.907Z] [2024-01-23T19:01:01.907Z] #17 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-23T19:01:01.907Z] #17 DONE 0.1s [2024-01-23T19:01:02.175Z] [2024-01-23T19:01:02.175Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-23T19:01:02.175Z] #10 2.069 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:03.168Z] #10 3.021 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:01:03.168Z] #10 3.080 (1/9) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T19:01:03.436Z] #10 3.204 Executing busybox-1.36.1-r5.post-upgrade [2024-01-23T19:01:03.436Z] #10 3.265 (2/9) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T19:01:03.436Z] #10 3.271 (3/9) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T19:01:03.436Z] #10 3.375 (4/9) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T19:01:03.436Z] #10 3.395 (5/9) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-23T19:01:03.706Z] #10 3.484 (6/9) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-23T19:01:03.706Z] #10 3.600 (7/9) Upgrading gnutls (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T19:01:03.706Z] #10 3.658 (8/9) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T19:01:03.706Z] #10 3.747 (9/9) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.3-r0) [2024-01-23T19:01:04.295Z] #10 4.053 Executing busybox-1.36.1-r5.trigger [2024-01-23T19:01:04.295Z] #10 4.069 Executing ca-certificates-20230506-r0.trigger [2024-01-23T19:01:04.564Z] #10 4.286 OK: 328 MiB in 90 packages [2024-01-23T19:01:04.833Z] #10 DONE 4.7s [2024-01-23T19:01:04.833Z] [2024-01-23T19:01:04.833Z] #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-23T19:01:04.833Z] #18 0.665 + CPPCHECK=false [2024-01-23T19:01:04.833Z] #18 0.666 + DOCGEN=false [2024-01-23T19:01:04.833Z] #18 0.667 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-23T19:01:04.833Z] #18 0.667 + '[' 0 -gt 0 ] [2024-01-23T19:01:04.833Z] #18 0.670 + readlink -f ./scripts/build.sh [2024-01-23T19:01:04.833Z] #18 0.673 + dirname /tmp/sdk/scripts/build.sh [2024-01-23T19:01:04.833Z] #18 0.675 + dirname /tmp/sdk/scripts [2024-01-23T19:01:04.833Z] #18 0.678 + ROOT=/tmp/sdk [2024-01-23T19:01:04.833Z] #18 0.679 + cd /tmp/sdk [2024-01-23T19:01:04.833Z] #18 0.680 + mkdir -p /tmp/sdk/build/release [2024-01-23T19:01:04.833Z] #18 0.685 + cd /tmp/sdk/build/release [2024-01-23T19:01:04.833Z] #18 0.686 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-23T19:01:04.833Z] #18 1.044 -- The C compiler identification is GNU 12.2.1 [2024-01-23T19:01:04.833Z] #18 1.109 -- Detecting C compiler ABI info [2024-01-23T19:01:04.833Z] #18 1.487 -- Detecting C compiler ABI info - done [2024-01-23T19:01:04.833Z] #18 1.591 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T19:01:04.833Z] #18 1.594 -- Detecting C compile features [2024-01-23T19:01:04.833Z] #18 1.599 -- Detecting C compile features - done [2024-01-23T19:01:04.833Z] #18 1.628 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T19:01:04.833Z] #18 1.821 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T19:01:04.833Z] #18 1.838 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T19:01:04.833Z] #18 1.853 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T19:01:04.833Z] #18 1.868 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T19:01:04.833Z] #18 1.883 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T19:01:04.833Z] #18 1.898 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T19:01:04.833Z] #18 1.915 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T19:01:04.833Z] #18 1.915 -- /opt/iotech/iot/1.5/include [2024-01-23T19:01:04.833Z] #18 1.915 -- C SDK 0.0.0 for Linux [2024-01-23T19:01:04.833Z] #18 1.929 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T19:01:04.833Z] #18 2.264 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T19:01:04.833Z] #18 2.494 -- Found Curses: /usr/lib/libcurses.so [2024-01-23T19:01:04.833Z] #18 2.631 -- Configuring done (1.9s) [2024-01-23T19:01:05.102Z] #18 2.936 -- Generating done (0.3s) [2024-01-23T19:01:05.102Z] #18 2.957 -- Build files have been written to: /tmp/sdk/build/release [2024-01-23T19:01:05.102Z] #18 2.979 + make all package [2024-01-23T19:01:05.102Z] #18 2.980 + tee release.log [2024-01-23T19:01:05.102Z] #18 3.116 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T19:01:06.068Z] #18 3.870 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T19:01:07.037Z] #18 4.799 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T19:01:07.626Z] #18 5.522 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T19:01:08.596Z] #18 6.370 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T19:01:09.186Z] #18 7.041 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T19:01:11.135Z] #18 9.044 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T19:01:12.099Z] #18 9.854 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-23T19:01:12.099Z] #18 9.854 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T19:01:12.099Z] #18 9.854 294 | while (privateConfig) [2024-01-23T19:01:12.099Z] #18 9.854 | ^~~~~~~~~~~~~ [2024-01-23T19:01:12.099Z] #18 9.854 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-23T19:01:12.099Z] #18 9.854 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T19:01:12.099Z] #18 9.854 | ^~~~~~~~~~~~~ [2024-01-23T19:01:12.099Z] #18 9.855 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T19:01:12.099Z] #18 9.855 271 | while (result) [2024-01-23T19:01:12.099Z] #18 9.855 | ^~~~~~ [2024-01-23T19:01:12.099Z] #18 9.855 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-23T19:01:12.099Z] #18 9.855 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T19:01:12.099Z] #18 9.855 | ^~~~~~ [2024-01-23T19:01:12.368Z] #18 10.17 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T19:01:12.368Z] #18 10.40 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T19:01:13.333Z] #18 11.22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T19:01:15.312Z] #18 13.20 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T19:01:15.901Z] #18 13.82 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T19:01:16.865Z] #18 14.62 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T19:01:17.455Z] #18 15.42 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T19:01:18.039Z] #18 15.90 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T19:01:19.028Z] #18 16.98 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T19:01:19.297Z] #18 17.33 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T19:01:21.883Z] #18 19.51 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T19:01:22.152Z] #18 19.91 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T19:01:22.738Z] #18 20.50 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T19:01:24.152Z] #18 21.80 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T19:01:30.800Z] #18 28.45 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T19:01:31.386Z] #18 29.14 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T19:01:31.653Z] #18 29.58 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T19:01:32.238Z] #18 30.19 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T19:01:32.505Z] #18 30.57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T19:01:34.461Z] #18 32.18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T19:01:37.048Z] #18 34.54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T19:01:37.048Z] #18 35.02 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T19:01:38.015Z] #18 35.99 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T19:01:38.988Z] #18 36.66 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T19:01:39.257Z] #18 36.99 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T19:01:39.257Z] #18 36.99 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:01:39.257Z] #18 36.99 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T19:01:39.257Z] #18 36.99 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:01:39.257Z] #18 36.99 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:01:39.257Z] #18 36.99 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T19:01:39.257Z] #18 36.99 | ^ [2024-01-23T19:01:40.795Z] #18 38.66 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T19:01:40.795Z] #18 38.66 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-23T19:01:40.795Z] #18 38.66 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:01:40.795Z] #18 38.66 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-23T19:01:40.795Z] #18 38.66 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-23T19:01:40.795Z] #18 38.66 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:01:41.755Z] #18 39.73 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T19:01:42.717Z] #18 40.51 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T19:01:42.985Z] #18 40.86 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T19:01:43.427Z] #18 41.42 [ 68%] Linking C shared library libcsdk.so [2024-01-23T19:01:43.759Z] #18 41.63 [ 68%] Built target csdk [2024-01-23T19:01:43.759Z] #18 41.69 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T19:01:44.742Z] #18 42.62 [ 72%] Linking C executable template [2024-01-23T19:01:45.016Z] #18 42.96 [ 72%] Built target template [2024-01-23T19:01:45.017Z] #18 43.01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T19:01:46.002Z] #18 43.62 [ 76%] Linking C executable device-counter [2024-01-23T19:01:46.002Z] #18 43.94 [ 76%] Built target device-counter [2024-01-23T19:01:46.002Z] #18 44.00 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T19:01:46.592Z] #18 44.58 [ 80%] Linking C executable device-random [2024-01-23T19:01:46.861Z] #18 44.90 [ 80%] Built target device-random [2024-01-23T19:01:46.861Z] #18 44.95 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T19:01:47.452Z] #18 45.48 [ 84%] Linking C executable device-gyro [2024-01-23T19:01:47.779Z] #18 45.80 [ 84%] Built target device-gyro [2024-01-23T19:01:48.050Z] #18 45.86 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T19:01:48.635Z] #18 46.42 [ 88%] Linking C executable device-bitfields [2024-01-23T19:01:48.903Z] #18 46.74 [ 88%] Built target device-bitfields [2024-01-23T19:01:48.903Z] #18 46.80 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T19:01:49.861Z] #18 47.73 [ 92%] Linking C executable template-discovery [2024-01-23T19:01:50.128Z] #18 48.04 [ 92%] Built target template-discovery [2024-01-23T19:01:50.128Z] #18 48.10 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T19:01:51.107Z] #18 48.90 [ 96%] Linking C executable device-file [2024-01-23T19:01:51.375Z] #18 49.21 [ 96%] Built target device-file [2024-01-23T19:01:51.375Z] #18 49.26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T19:01:52.342Z] #18 49.96 [100%] Linking C executable device-terminal [2024-01-23T19:01:52.342Z] #18 50.30 [100%] Built target device-terminal [2024-01-23T19:01:52.342Z] #18 50.36 Run CPack packaging tool... [2024-01-23T19:01:52.610Z] #18 50.40 CPack: Create package using TGZ [2024-01-23T19:01:52.610Z] #18 50.40 CPack: Install projects [2024-01-23T19:01:52.610Z] #18 50.40 CPack: - Run preinstall target for: Csdk [2024-01-23T19:01:53.571Z] #18 51.28 CPack: - Install project: Csdk [] [2024-01-23T19:01:53.571Z] #18 51.32 CPack: Create package [2024-01-23T19:01:53.571Z] #18 51.41 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-23T19:01:53.571Z] #18 51.42 + '[' false '=' true ] [2024-01-23T19:01:53.571Z] #18 51.42 + '[' false '=' true ] [2024-01-23T19:01:53.571Z] #18 51.42 + mkdir -p /tmp/sdk/build/debug [2024-01-23T19:01:53.571Z] #18 51.42 + cd /tmp/sdk/build/debug [2024-01-23T19:01:53.571Z] #18 51.42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-23T19:01:53.839Z] #18 51.76 -- The C compiler identification is GNU 12.2.1 [2024-01-23T19:01:53.839Z] #18 51.84 -- Detecting C compiler ABI info [2024-01-23T19:01:54.425Z] #18 52.20 -- Detecting C compiler ABI info - done [2024-01-23T19:01:54.425Z] #18 52.30 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T19:01:54.425Z] #18 52.30 -- Detecting C compile features [2024-01-23T19:01:54.425Z] #18 52.31 -- Detecting C compile features - done [2024-01-23T19:01:54.425Z] #18 52.33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T19:01:54.694Z] #18 52.55 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T19:01:54.694Z] #18 52.57 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T19:01:54.694Z] #18 52.58 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T19:01:54.694Z] #18 52.60 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T19:01:54.694Z] #18 52.62 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T19:01:54.694Z] #18 52.64 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T19:01:54.694Z] #18 52.65 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T19:01:54.964Z] #18 52.65 -- /opt/iotech/iot/1.5/include [2024-01-23T19:01:54.964Z] #18 52.65 -- C SDK 0.0.0 for Linux [2024-01-23T19:01:54.964Z] #18 52.67 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T19:01:55.231Z] #18 53.03 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T19:01:55.231Z] #18 53.21 -- Found Curses: /usr/lib/libcurses.so [2024-01-23T19:01:55.501Z] #18 53.34 -- Configuring done (1.9s) [2024-01-23T19:01:55.770Z] #18 53.63 -- Generating done (0.3s) [2024-01-23T19:01:55.770Z] #18 53.65 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-23T19:01:55.770Z] #18 53.68 + make [2024-01-23T19:01:55.770Z] #18 53.68 + tee debug.log [2024-01-23T19:01:56.038Z] #18 53.82 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T19:01:56.306Z] #18 54.26 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T19:01:56.901Z] #18 54.70 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T19:01:57.170Z] #18 55.11 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T19:01:57.756Z] #18 55.55 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T19:01:58.024Z] #18 55.97 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T19:01:59.011Z] #18 56.75 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T19:01:59.280Z] #18 57.28 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T19:01:59.548Z] #18 57.47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T19:02:00.135Z] #18 57.96 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T19:02:00.721Z] #18 58.70 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T19:02:00.994Z] #18 59.08 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T19:02:01.955Z] #18 59.57 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T19:02:01.955Z] #18 59.98 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T19:02:02.542Z] #18 60.36 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T19:02:02.811Z] #18 60.82 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T19:02:03.080Z] #18 61.09 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T19:02:04.045Z] #18 61.95 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T19:02:04.313Z] #18 62.22 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T19:02:04.581Z] #18 62.47 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T19:02:05.165Z] #18 63.10 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T19:02:06.580Z] #18 64.26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T19:02:06.848Z] #18 64.62 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T19:02:07.117Z] #18 64.90 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T19:02:07.386Z] #18 65.23 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T19:02:07.655Z] #18 65.56 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T19:02:08.239Z] #18 66.12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T19:02:09.656Z] #18 67.43 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T19:02:09.656Z] #18 67.69 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T19:02:10.240Z] #18 68.11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T19:02:10.508Z] #18 68.51 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T19:02:10.776Z] #18 68.80 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T19:02:10.776Z] #18 68.80 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:02:10.776Z] #18 68.80 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T19:02:10.776Z] #18 68.80 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:02:10.776Z] #18 68.80 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:02:10.776Z] #18 68.80 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T19:02:10.776Z] #18 68.80 | ^ [2024-01-23T19:02:11.360Z] #18 69.36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T19:02:11.628Z] #18 69.74 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T19:02:12.214Z] #18 70.04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T19:02:12.482Z] #18 70.32 [ 68%] Linking C shared library libcsdk.so [2024-01-23T19:02:12.482Z] #18 70.58 [ 68%] Built target csdk [2024-01-23T19:02:12.748Z] #18 70.64 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T19:02:13.016Z] #18 71.02 [ 72%] Linking C executable template [2024-01-23T19:02:13.600Z] #18 71.32 [ 72%] Built target template [2024-01-23T19:02:13.600Z] #18 71.37 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T19:02:13.868Z] #18 71.67 [ 76%] Linking C executable device-counter [2024-01-23T19:02:14.132Z] #18 71.97 [ 76%] Built target device-counter [2024-01-23T19:02:14.132Z] #18 72.02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T19:02:14.397Z] #18 72.30 [ 80%] Linking C executable device-random [2024-01-23T19:02:14.664Z] #18 72.60 [ 80%] Built target device-random [2024-01-23T19:02:14.664Z] #18 72.65 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T19:02:14.931Z] #18 72.92 [ 84%] Linking C executable device-gyro [2024-01-23T19:02:15.514Z] #18 73.24 [ 84%] Built target device-gyro [2024-01-23T19:02:15.514Z] #18 73.29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T19:02:15.781Z] #18 73.57 [ 88%] Linking C executable device-bitfields [2024-01-23T19:02:16.046Z] #18 73.86 [ 88%] Built target device-bitfields [2024-01-23T19:02:16.046Z] #18 73.92 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T19:02:16.312Z] #18 74.27 [ 92%] Linking C executable template-discovery [2024-01-23T19:02:16.896Z] #18 74.57 [ 92%] Built target template-discovery [2024-01-23T19:02:16.896Z] #18 74.62 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T19:02:17.164Z] #18 74.94 [ 96%] Linking C executable device-file [2024-01-23T19:02:17.436Z] #18 75.23 [ 96%] Built target device-file [2024-01-23T19:02:17.436Z] #18 75.29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T19:02:17.702Z] #18 75.67 [100%] Linking C executable device-terminal [2024-01-23T19:02:17.969Z] #18 76.00 [100%] Built target device-terminal [2024-01-23T19:02:18.242Z] #18 76.04 make: Entering directory '/tmp/sdk/build/release' [2024-01-23T19:02:18.242Z] #18 76.19 [ 68%] Built target csdk [2024-01-23T19:02:18.242Z] #18 76.24 [ 72%] Built target template [2024-01-23T19:02:18.242Z] #18 76.30 [ 76%] Built target device-counter [2024-01-23T19:02:18.508Z] #18 76.35 [ 80%] Built target device-random [2024-01-23T19:02:18.508Z] #18 76.40 [ 84%] Built target device-gyro [2024-01-23T19:02:18.508Z] #18 76.46 [ 88%] Built target device-bitfields [2024-01-23T19:02:18.508Z] #18 76.51 [ 92%] Built target template-discovery [2024-01-23T19:02:18.785Z] #18 76.56 [ 96%] Built target device-file [2024-01-23T19:02:18.785Z] #18 76.62 [100%] Built target device-terminal [2024-01-23T19:02:18.785Z] #18 76.67 Install the project... [2024-01-23T19:02:18.785Z] #18 76.69 -- Install configuration: "Release" [2024-01-23T19:02:18.785Z] #18 76.70 -- Installing: /usr/local/lib/libcsdk.so [2024-01-23T19:02:18.785Z] #18 76.70 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/devsdk [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex/devices.h [2024-01-23T19:02:18.785Z] #18 76.71 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-23T19:02:18.785Z] #18 76.72 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-23T19:02:18.785Z] #18 76.72 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-23T19:02:18.785Z] #18 76.72 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-23T19:02:18.785Z] #18 76.73 make: Leaving directory '/tmp/sdk/build/release' [2024-01-23T19:02:18.785Z] #18 DONE 76.8s [2024-01-23T19:02:19.053Z] [2024-01-23T19:02:19.053Z] #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-23T19:02:19.053Z] #19 DONE 0.1s [2024-01-23T19:02:19.053Z] [2024-01-23T19:02:19.053Z] #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-23T19:02:19.053Z] #20 DONE 0.1s [2024-01-23T19:02:19.319Z] [2024-01-23T19:02:19.319Z] #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-23T19:02:19.319Z] #21 DONE 0.1s [2024-01-23T19:02:19.319Z] [2024-01-23T19:02:19.319Z] #22 exporting to image [2024-01-23T19:02:19.319Z] #22 exporting layers [2024-01-23T19:02:19.585Z] #22 exporting layers 0.4s done [2024-01-23T19:02:19.850Z] #22 writing image sha256:c19039fba465fcb2707d1976e42ad1e56ce8e1046c1ec232f462facf6cbf87b6 done [2024-01-23T19:02:19.850Z] #22 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-23T19:02:19.850Z] #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-23T19:02:20.502Z] + docker inspect -f . ci-base-image-arm64 [2024-01-23T19:02:20.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:02:20.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-27725 does not seem to be running inside a container [2024-01-23T19:02:20.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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-23T19:02:25.123Z] $ docker top e8069b0a25f1aaaa4bc8d13c45d4ed5fb84bebeafb61ad835a91633cf6de4e3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T19:02:25.656Z] + make test [2024-01-23T19:02:25.656Z] echo "make test" [2024-01-23T19:02:25.656Z] make test [Pipeline] } [2024-01-23T19:02:25.677Z] $ docker stop --time=1 e8069b0a25f1aaaa4bc8d13c45d4ed5fb84bebeafb61ad835a91633cf6de4e3d [2024-01-23T19:02:27.238Z] $ docker rm -f --volumes e8069b0a25f1aaaa4bc8d13c45d4ed5fb84bebeafb61ad835a91633cf6de4e3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T19:02:27.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-23T19:02:28.299Z] + ls -al . [2024-01-23T19:02:28.299Z] total 208 [2024-01-23T19:02:28.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 19:00 . [2024-01-23T19:02:28.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 19:00 .. [2024-01-23T19:02:28.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 19:00 .git [2024-01-23T19:02:28.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 19:00 .github [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 23 19:00 .gitignore [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 23 19:00 Attribution.txt [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 23 19:00 CHANGELOG.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 23 19:00 Doxyfile [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 19:00 GOVERNANCE.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 23 19:00 Jenkinsfile [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 19:00 LICENSE [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 23 19:00 Makefile [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 19:00 OWNERS.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 23 19:00 README.IOT.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 23 19:00 README.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 23 19:00 README.v3.md [2024-01-23T19:02:28.299Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:56 VERSION [2024-01-23T19:02:28.299Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 19:00 docs [2024-01-23T19:02:28.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 19:00 include [2024-01-23T19:02:28.299Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 19:00 scripts [2024-01-23T19:02:28.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:02:28.683Z] + 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=e248b6bd68f06e2413c905020bbcb77bc4cbd132 --label arch=arm64 --label version=0.0.0 . [2024-01-23T19:02:29.264Z] #0 building with "default" instance using docker driver [2024-01-23T19:02:29.264Z] [2024-01-23T19:02:29.264Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-23T19:02:29.264Z] #1 transferring dockerfile: 37B [2024-01-23T19:02:29.264Z] #1 transferring dockerfile: 1.56kB done [2024-01-23T19:02:29.264Z] #1 DONE 0.0s [2024-01-23T19:02:29.264Z] [2024-01-23T19:02:29.264Z] #2 [internal] load .dockerignore [2024-01-23T19:02:29.264Z] #2 transferring context: 2B done [2024-01-23T19:02:29.264Z] #2 DONE 0.0s [2024-01-23T19:02:29.264Z] [2024-01-23T19:02:29.264Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-23T19:02:29.264Z] #3 DONE 0.0s [2024-01-23T19:02:29.264Z] [2024-01-23T19:02:29.264Z] #4 [internal] load build context [2024-01-23T19:02:29.264Z] #4 transferring context: 8.55kB 0.1s done [2024-01-23T19:02:29.531Z] #4 DONE 0.1s [2024-01-23T19:02:29.531Z] [2024-01-23T19:02:29.531Z] #5 [ 1/12] FROM docker.io/library/ci-base-image-arm64 [2024-01-23T19:02:29.531Z] #5 DONE 0.2s [2024-01-23T19:02:29.531Z] [2024-01-23T19:02:29.531Z] #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-23T19:02:30.738Z] #6 0.651 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-23T19:02:30.738Z] #6 1.171 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T19:02:30.738Z] #6 1.171 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T19:02:30.738Z] #6 1.171 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T19:02:30.738Z] #6 DONE 1.3s [2024-01-23T19:02:30.738Z] [2024-01-23T19:02:30.738Z] #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T19:02:31.702Z] #7 DONE 0.7s [2024-01-23T19:02:31.702Z] [2024-01-23T19:02:31.702Z] #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-23T19:02:32.285Z] #8 0.775 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:32.870Z] #8 1.173 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:33.134Z] #8 1.718 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:34.085Z] #8 2.608 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:02:34.350Z] #8 2.641 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T19:02:34.619Z] #8 2.951 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-23T19:02:34.619Z] #8 2.967 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T19:02:34.619Z] #8 2.973 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T19:02:34.619Z] #8 2.978 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T19:02:34.619Z] #8 2.986 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T19:02:34.619Z] #8 3.015 (7/11) Installing libblkid (2.38.1-r8) [2024-01-23T19:02:34.619Z] #8 3.031 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-23T19:02:34.619Z] #8 3.046 (9/11) Installing libmount (2.38.1-r8) [2024-01-23T19:02:34.619Z] #8 3.060 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-23T19:02:34.619Z] #8 3.071 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-23T19:02:34.619Z] #8 3.143 Executing busybox-1.36.1-r5.trigger [2024-01-23T19:02:34.884Z] #8 3.185 OK: 334 MiB in 101 packages [2024-01-23T19:02:35.152Z] #8 DONE 3.5s [2024-01-23T19:02:35.152Z] [2024-01-23T19:02:35.152Z] #9 [ 5/12] RUN apk --no-cache upgrade [2024-01-23T19:02:35.749Z] #9 0.762 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:36.014Z] #9 1.093 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:36.996Z] #9 1.571 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:02:37.576Z] #9 2.462 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:02:37.576Z] #9 2.515 OK: 334 MiB in 101 packages [2024-01-23T19:02:39.511Z] #9 DONE 4.3s [2024-01-23T19:02:39.511Z] [2024-01-23T19:02:39.511Z] #10 [ 6/12] COPY VERSION /edgex-c-sdk/ [2024-01-23T19:02:39.511Z] #10 DONE 0.1s [2024-01-23T19:02:39.511Z] [2024-01-23T19:02:39.511Z] #11 [ 7/12] COPY src /edgex-c-sdk/src/ [2024-01-23T19:02:39.776Z] #11 DONE 0.2s [2024-01-23T19:02:39.776Z] [2024-01-23T19:02:39.776Z] #12 [ 8/12] COPY include /edgex-c-sdk/include/ [2024-01-23T19:02:39.776Z] #12 DONE 0.1s [2024-01-23T19:02:39.776Z] [2024-01-23T19:02:39.776Z] #13 [ 9/12] COPY scripts /edgex-c-sdk/scripts [2024-01-23T19:02:39.776Z] #13 DONE 0.1s [2024-01-23T19:02:40.052Z] [2024-01-23T19:02:40.052Z] #14 [10/12] COPY LICENSE /edgex-c-sdk/ [2024-01-23T19:02:40.052Z] #14 DONE 0.1s [2024-01-23T19:02:40.052Z] [2024-01-23T19:02:40.052Z] #15 [11/12] COPY Attribution.txt /edgex-c-sdk/ [2024-01-23T19:02:40.052Z] #15 DONE 0.1s [2024-01-23T19:02:40.052Z] [2024-01-23T19:02:40.052Z] #16 [12/12] WORKDIR /edgex-c-sdk [2024-01-23T19:02:40.052Z] #16 DONE 0.1s [2024-01-23T19:02:40.317Z] [2024-01-23T19:02:40.317Z] #17 exporting to image [2024-01-23T19:02:40.317Z] #17 exporting layers [2024-01-23T19:02:40.898Z] #17 exporting layers 0.5s done [2024-01-23T19:02:40.898Z] #17 writing image sha256:f426f682e2bca89bb589da6ab2e72d69f41acdd8f8ff4bd7c28c3b12fd92a59c done [2024-01-23T19:02:40.898Z] #17 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-23T19:02:40.898Z] #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-23T19:02:41.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:02:41.665Z] [2024-01-23T19:02:41.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:02:42.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:02:42.299Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-23T19:02:42.299Z] 8998bd30e6a1: Pulling fs layer [2024-01-23T19:02:42.299Z] 04944245beec: Pulling fs layer [2024-01-23T19:02:42.299Z] 699f458cf7ca: Pulling fs layer [2024-01-23T19:02:42.299Z] 765212b225bb: Pulling fs layer [2024-01-23T19:02:42.299Z] f23df028b6ca: Pulling fs layer [2024-01-23T19:02:42.299Z] d65c8cfc05b1: Pulling fs layer [2024-01-23T19:02:42.299Z] 2437ff75d9bd: Pulling fs layer [2024-01-23T19:02:42.299Z] f23df028b6ca: Waiting [2024-01-23T19:02:42.299Z] 765212b225bb: Waiting [2024-01-23T19:02:42.299Z] d65c8cfc05b1: Waiting [2024-01-23T19:02:42.299Z] 2437ff75d9bd: Waiting [2024-01-23T19:02:42.299Z] 04944245beec: Verifying Checksum [2024-01-23T19:02:42.299Z] 04944245beec: Download complete [2024-01-23T19:02:42.299Z] 765212b225bb: Download complete [2024-01-23T19:02:42.299Z] f23df028b6ca: Verifying Checksum [2024-01-23T19:02:42.299Z] f23df028b6ca: Download complete [2024-01-23T19:02:42.570Z] d65c8cfc05b1: Verifying Checksum [2024-01-23T19:02:42.570Z] d65c8cfc05b1: Download complete [2024-01-23T19:02:42.570Z] 699f458cf7ca: Download complete [2024-01-23T19:02:42.837Z] 8998bd30e6a1: Verifying Checksum [2024-01-23T19:02:42.837Z] 8998bd30e6a1: Download complete [2024-01-23T19:02:44.782Z] 2437ff75d9bd: Download complete [2024-01-23T19:02:49.032Z] 8998bd30e6a1: Pull complete [2024-01-23T19:02:49.298Z] 04944245beec: Pull complete [2024-01-23T19:02:53.542Z] 699f458cf7ca: Pull complete [2024-01-23T19:02:53.542Z] 765212b225bb: Pull complete [2024-01-23T19:02:54.502Z] f23df028b6ca: Pull complete [2024-01-23T19:02:54.502Z] d65c8cfc05b1: Pull complete [2024-01-23T19:03:16.656Z] 2437ff75d9bd: Pull complete [2024-01-23T19:03:16.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-23T19:03:16.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:03:16.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:03:16.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-27725 does not seem to be running inside a container [2024-01-23T19:03:17.000Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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-23T19:03:18.320Z] $ docker top 85df52b56965e741079f3cdec2fe53adfe0fc7934bd5d134ec4964c54c36130c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:18.839Z] ---> job-cost.sh [2024-01-23T19:03:19.104Z] lf-activate-venv: SKIPPING [2024-01-23T19:03:19.104Z] INFO: No Stack... [2024-01-23T19:03:19.368Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T19:03:20.321Z] INFO: Archiving Costs [Pipeline] sh [2024-01-23T19:03:20.640Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2024-01-23T19:03:20.640Z] + cut -d, -f6 [Pipeline] lock [2024-01-23T19:03:20.672Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [2024-01-23T19:03:20.678Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] did not exist. Created. [2024-01-23T19:03:20.678Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-23T19:03:21.056Z] /w/workspace/device-sdk-c/4@tmp/durable-5388f4bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-23T19:03:21.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-23T19:03:21.423Z] Warning: overwriting stash ‘stack-cost’ [2024-01-23T19:03:21.851Z] Stashed 1 file(s) [Pipeline] } [2024-01-23T19:03:21.859Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-23T19:03:21.939Z] $ docker stop --time=1 85df52b56965e741079f3cdec2fe53adfe0fc7934bd5d134ec4964c54c36130c [2024-01-23T19:03:23.967Z] $ docker rm -f --volumes 85df52b56965e741079f3cdec2fe53adfe0fc7934bd5d134ec4964c54c36130c [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-23T19:03:25.684Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-01-23T19:03:25.684Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-23T19:03:25.684Z] total 16 [2024-01-23T19:03:25.684Z] drwxr-xr-x 3 root root 4096 Jan 23 18:57 . [2024-01-23T19:03:25.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:58 .. [2024-01-23T19:03:25.684Z] drwxr-xr-x 2 root root 4096 Jan 23 18:57 cost [2024-01-23T19:03:25.684Z] -rw-r--r-- 1 root root 84 Jan 23 18:57 cost.csv [2024-01-23T19:03:25.684Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-23T19:03:25.684Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-23T19:03:25.684Z] total 16 [2024-01-23T19:03:25.684Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:57 . [2024-01-23T19:03:25.684Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:58 .. [2024-01-23T19:03:25.684Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 18:57 cost [2024-01-23T19:03:25.684Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 23 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:25.979Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:26.846Z] ---> package-listing.sh [2024-01-23T19:03:26.846Z] ++ facter osfamily [2024-01-23T19:03:26.846Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-23T19:03:27.106Z] + OS_FAMILY=debian [2024-01-23T19:03:27.106Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-01-23T19:03:27.106Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-23T19:03:27.106Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-23T19:03:27.106Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-23T19:03:27.106Z] + PACKAGES=/tmp/packages_start.txt [2024-01-23T19:03:27.106Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-23T19:03:27.106Z] + PACKAGES=/tmp/packages_end.txt [2024-01-23T19:03:27.106Z] + case "${OS_FAMILY}" in [2024-01-23T19:03:27.106Z] + dpkg -l [2024-01-23T19:03:27.106Z] + grep '^ii' [2024-01-23T19:03:27.106Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-23T19:03:27.106Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-23T19:03:27.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-23T19:03:27.106Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-23T19:03:27.106Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-01-23T19:03:27.106Z] + 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-23T19:03:27.120Z] 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-23T19:03:27.398Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:03:27.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T19:03:27.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:03:28.147Z] prd-ubuntu20.04-docker-8c-8g-27722 does not seem to be running inside a container [2024-01-23T19:03:28.197Z] $ 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-23T19:03:28.414Z] $ docker top 9449c6a63e8dbc54df4d7321a3d08bc304bd1abd5e6d04284c3c09d9573862df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T19:03:28.815Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-23T19:03:29.100Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-23T19:03:29.386Z] + ls /var/log/sa-host [2024-01-23T19:03:29.386Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T19:03:29.493Z] provisioning config files... [2024-01-23T19:03:29.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config11951190606472610248tmp [Pipeline] { [Pipeline] echo [2024-01-23T19:03:29.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:29.852Z] ---> create-netrc.sh [Pipeline] } [2024-01-23T19:03:29.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:30.258Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-23T19:03:30.267Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:30.553Z] ---> sudo-logs.sh [2024-01-23T19:03:30.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-23T19:03:30.608Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:30.993Z] ---> job-cost.sh [2024-01-23T19:03:30.993Z] lf-activate-venv: SKIPPING [2024-01-23T19:03:30.993Z] DEBUG: total: 0.2199999988079071 [2024-01-23T19:03:30.993Z] INFO: Retrieving Stack Cost... [2024-01-23T19:03:31.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T19:03:31.605Z] INFO: Archiving Costs [Pipeline] echo [2024-01-23T19:03:31.644Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:03:31.942Z] ---> logs-deploy.sh [2024-01-23T19:03:31.942Z] lf-activate-venv: SKIPPING [2024-01-23T19:03:31.942Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/4 [2024-01-23T19:03:31.942Z] INFO: archiving workspace using pattern(s): [2024-01-23T19:03:32.951Z] Archives upload complete. [2024-01-23T19:03:32.951Z] INFO: archiving logs to Nexus