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+c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c (1951916bb20b82ba9d8a61062796781f31fed2da) 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-ssh9435800363651041240.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-ssh7433536772440319354.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-ssh12919416494462280762.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-ssh873668402125059876.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-ssh16886462117532067179.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-27335 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing f9c9d34adb74d4046d8c7d124e52b99f64238a1c Checking out Revision f9c9d34adb74d4046d8c7d124e52b99f64238a1c (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9c9d34adb74d4046d8c7d124e52b99f64238a1c # timeout=10 Commit message: "Merge commit 'c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-16T18:57:44.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-16T18:57:44.386Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-16T18:57:44.417Z] ========================================================= [2024-01-16T18:57:44.417Z] EdgeX Global Pipelines Version Info [2024-01-16T18:57:44.417Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f77a82f9a490ee0637cf83a2c7aa789f714b602c # timeout=10 [2024-01-16T18:57:45.496Z] ------------------- [2024-01-16T18:57:45.496Z] stable info: [2024-01-16T18:57:45.496Z] ------------------- [2024-01-16T18:57:45.496Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-16T18:57:45.496Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-16T18:57:45.496Z] Message: update stable to v1.0.258 [2024-01-16T18:57:45.755Z] ------------------- [2024-01-16T18:57:45.755Z] experimental info: [2024-01-16T18:57:45.755Z] ------------------- [2024-01-16T18:57:45.755Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-16T18:57:45.755Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-16T18:57:45.755Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-16T18:57:45.829Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-16T18:57:45.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-16T18:57:45.872Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-16T18:57:45.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-16T18:57:45.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-16T18:57:45.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-16T18:57:45.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-16T18:57:45.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-16T18:57:46.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-16T18:57:46.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-16T18:57:46.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-16T18:57:46.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-16T18:57:46.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-16T18:57:46.165Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-16T18:57:46.196Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-16T18:57:46.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-16T18:57:46.266Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-16T18:57:46.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-01-16T18:57:46.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-01-16T18:57:46.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-01-16T18:57:46.404Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9c9d34adb74d4046d8c7d124e52b99f64238a1c [Pipeline] echo [2024-01-16T18:57:46.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9c9d34 [Pipeline] echo [2024-01-16T18:57:46.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T18:57:46.564Z] provisioning config files... [2024-01-16T18:57:46.578Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config4388859474703111222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:57:46.915Z] ---> ****-login.sh [2024-01-16T18:57:46.915Z] nexus3.edgexfoundry.org:10001 [2024-01-16T18:57:47.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:57:47.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:57:47.175Z] Configure a credential helper to remove this warning. See [2024-01-16T18:57:47.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:57:47.175Z] [2024-01-16T18:57:47.175Z] Login Succeeded [2024-01-16T18:57:47.175Z] nexus3.edgexfoundry.org:10002 [2024-01-16T18:57:47.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:57:47.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:57:47.175Z] Configure a credential helper to remove this warning. See [2024-01-16T18:57:47.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:57:47.175Z] [2024-01-16T18:57:47.175Z] Login Succeeded [2024-01-16T18:57:47.175Z] nexus3.edgexfoundry.org:10003 [2024-01-16T18:57:47.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:57:47.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:57:47.433Z] Configure a credential helper to remove this warning. See [2024-01-16T18:57:47.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:57:47.433Z] [2024-01-16T18:57:47.433Z] Login Succeeded [2024-01-16T18:57:47.433Z] nexus3.edgexfoundry.org:10004 [2024-01-16T18:57:47.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:57:47.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:57:47.433Z] Configure a credential helper to remove this warning. See [2024-01-16T18:57:47.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:57:47.433Z] [2024-01-16T18:57:47.433Z] Login Succeeded [2024-01-16T18:57:47.433Z] ****.io [2024-01-16T18:57:47.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:57:47.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:57:47.693Z] Configure a credential helper to remove this warning. See [2024-01-16T18:57:47.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:57:47.693Z] [2024-01-16T18:57:47.693Z] Login Succeeded [2024-01-16T18:57:47.693Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T18:57:47.701Z] 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-16T18:57:48.166Z] + git rev-list -1 --merges f9c9d34adb74d4046d8c7d124e52b99f64238a1c~1..f9c9d34adb74d4046d8c7d124e52b99f64238a1c [Pipeline] echo [2024-01-16T18:57:48.193Z] -----------> git rev-list -1 --merges f9c9d34adb74d4046d8c7d124e52b99f64238a1c~1..f9c9d34adb74d4046d8c7d124e52b99f64238a1c f9c9d34adb74d4046d8c7d124e52b99f64238a1c [2024-01-16T18:57:48.193Z] f9c9d34adb74d4046d8c7d124e52b99f64238a1c [false] [Pipeline] sh [2024-01-16T18:57:48.492Z] + git log --format=format:%s -1 f9c9d34adb74d4046d8c7d124e52b99f64238a1c [Pipeline] echo [2024-01-16T18:57:48.507Z] ========================================================= [2024-01-16T18:57:48.507Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-16T18:57:48.507Z] ========================================================= 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-16T18:57:49.011Z] + git rev-list -1 --merges f9c9d34adb74d4046d8c7d124e52b99f64238a1c~1..f9c9d34adb74d4046d8c7d124e52b99f64238a1c [Pipeline] echo [2024-01-16T18:57:49.021Z] -----------> git rev-list -1 --merges f9c9d34adb74d4046d8c7d124e52b99f64238a1c~1..f9c9d34adb74d4046d8c7d124e52b99f64238a1c f9c9d34adb74d4046d8c7d124e52b99f64238a1c [2024-01-16T18:57:49.021Z] f9c9d34adb74d4046d8c7d124e52b99f64238a1c [false] [Pipeline] sh [2024-01-16T18:57:49.322Z] + git log --format=format:%s -1 f9c9d34adb74d4046d8c7d124e52b99f64238a1c [Pipeline] echo [2024-01-16T18:57:49.336Z] ========================================================= [2024-01-16T18:57:49.336Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-16T18:57:49.336Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-16T18:57:49.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-16T18:57:49.718Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-16T18:57:49.718Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-16T18:57:49.718Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-16T18:57:49.718Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-16T18:57:49.718Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-16T18:57:49.718Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:57:50.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:57:50.071Z] [2024-01-16T18:57:50.071Z] 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-16T18:57:50.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:57:50.382Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-16T18:57:50.382Z] b85a868b505f: Pulling fs layer [2024-01-16T18:57:50.382Z] e2be974225ed: Pulling fs layer [2024-01-16T18:57:50.382Z] 339a4e72a1f5: Pulling fs layer [2024-01-16T18:57:50.382Z] 988bab9f4d93: Pulling fs layer [2024-01-16T18:57:50.382Z] 1469e6f7b9e6: Pulling fs layer [2024-01-16T18:57:50.382Z] eaf3925da568: Pulling fs layer [2024-01-16T18:57:50.382Z] 988bab9f4d93: Waiting [2024-01-16T18:57:50.382Z] bab4dde63d76: Pulling fs layer [2024-01-16T18:57:50.382Z] bde34c3a00c8: Pulling fs layer [2024-01-16T18:57:50.382Z] b352a97aabf1: Pulling fs layer [2024-01-16T18:57:50.382Z] 4872d77fe225: Pulling fs layer [2024-01-16T18:57:50.382Z] 5851b861e8e6: Pulling fs layer [2024-01-16T18:57:50.382Z] 1469e6f7b9e6: Waiting [2024-01-16T18:57:50.382Z] b352a97aabf1: Waiting [2024-01-16T18:57:50.382Z] eaf3925da568: Waiting [2024-01-16T18:57:50.382Z] bab4dde63d76: Waiting [2024-01-16T18:57:50.382Z] 4872d77fe225: Waiting [2024-01-16T18:57:50.382Z] 5851b861e8e6: Waiting [2024-01-16T18:57:50.382Z] bde34c3a00c8: Waiting [2024-01-16T18:57:50.383Z] e2be974225ed: Verifying Checksum [2024-01-16T18:57:50.383Z] e2be974225ed: Download complete [2024-01-16T18:57:50.383Z] 1469e6f7b9e6: Verifying Checksum [2024-01-16T18:57:50.383Z] 1469e6f7b9e6: Download complete [2024-01-16T18:57:50.641Z] eaf3925da568: Verifying Checksum [2024-01-16T18:57:50.641Z] eaf3925da568: Download complete [2024-01-16T18:57:50.641Z] 339a4e72a1f5: Verifying Checksum [2024-01-16T18:57:50.641Z] 339a4e72a1f5: Download complete [2024-01-16T18:57:50.641Z] bde34c3a00c8: Download complete [2024-01-16T18:57:50.641Z] b352a97aabf1: Verifying Checksum [2024-01-16T18:57:50.641Z] b352a97aabf1: Download complete [2024-01-16T18:57:50.641Z] 4872d77fe225: Verifying Checksum [2024-01-16T18:57:50.641Z] 4872d77fe225: Download complete [2024-01-16T18:57:50.641Z] 5851b861e8e6: Verifying Checksum [2024-01-16T18:57:50.641Z] 5851b861e8e6: Download complete [2024-01-16T18:57:50.641Z] b85a868b505f: Verifying Checksum [2024-01-16T18:57:50.641Z] b85a868b505f: Download complete [2024-01-16T18:57:50.903Z] bab4dde63d76: Verifying Checksum [2024-01-16T18:57:50.903Z] bab4dde63d76: Download complete [2024-01-16T18:57:51.859Z] b85a868b505f: Pull complete [2024-01-16T18:57:52.137Z] e2be974225ed: Pull complete [2024-01-16T18:57:52.398Z] 339a4e72a1f5: Pull complete [2024-01-16T18:57:52.398Z] 988bab9f4d93: Pull complete [2024-01-16T18:57:52.657Z] 1469e6f7b9e6: Pull complete [2024-01-16T18:57:52.917Z] eaf3925da568: Pull complete [2024-01-16T18:57:54.828Z] bab4dde63d76: Pull complete [2024-01-16T18:57:54.828Z] bde34c3a00c8: Pull complete [2024-01-16T18:57:54.828Z] b352a97aabf1: Pull complete [2024-01-16T18:57:55.090Z] 4872d77fe225: Pull complete [2024-01-16T18:57:55.091Z] 5851b861e8e6: Pull complete [2024-01-16T18:57:55.091Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-16T18:57:55.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:57:55.091Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:57:55.286Z] prd-ubuntu20.04-docker-8c-8g-27335 does not seem to be running inside a container [2024-01-16T18:57:55.323Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-16T18:57:58.939Z] $ docker top 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 -eo pid,comm [2024-01-16T18:57:58.986Z] 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-16T18:57:58.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-16T18:57:59.076Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-16T18:57:59.076Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-16T18:57:59.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-16T18:57:59.183Z] $ docker exec 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 ssh-agent [2024-01-16T18:57:59.296Z] SSH_AUTH_SOCK=/tmp/ssh-178aENRCGK04/agent.31 [2024-01-16T18:57:59.296Z] SSH_AGENT_PID=37 [2024-01-16T18:57:59.303Z] Running ssh-add (command line suppressed) [2024-01-16T18:57:59.404Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_2948301670372652327.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_2948301670372652327.key) [2024-01-16T18:57:59.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-16T18:57:59.723Z] + git tag --points-at HEAD [Pipeline] } [2024-01-16T18:57:59.737Z] $ docker exec --env ******** --env ******** 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 ssh-agent -k [2024-01-16T18:57:59.834Z] unset SSH_AUTH_SOCK; [2024-01-16T18:57:59.834Z] unset SSH_AGENT_PID; [2024-01-16T18:57:59.834Z] echo Agent pid 37 killed; [2024-01-16T18:57:59.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-16T18:57:59.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-16T18:57:59.903Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-16T18:58:00.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-16T18:58:00.012Z] $ docker exec 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 ssh-agent [2024-01-16T18:58:00.108Z] SSH_AUTH_SOCK=/tmp/ssh-jnGaGRzdDESv/agent.69 [2024-01-16T18:58:00.108Z] SSH_AGENT_PID=75 [2024-01-16T18:58:00.112Z] Running ssh-add (command line suppressed) [2024-01-16T18:58:00.221Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17453157672448367736.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17453157672448367736.key) [2024-01-16T18:58:00.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-16T18:58:00.537Z] + git semver init [2024-01-16T18:58:00.797Z] 2024-01-16 18:58:00,704 [run_init] DEBUG init version:0.0.0 force:False [2024-01-16T18:58:00.797Z] 2024-01-16 18:58:00,705 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-01-16T18:58:00.797Z] 2024-01-16 18:58:00,705 [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-16T18:58:00.797Z] 2024-01-16 18:58:00,706 [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-16T18:58:01.735Z] 2024-01-16 18:58:01,588 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-01-16T18:58:01.735Z] 2024-01-16 18:58:01,589 [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-16T18:58:01.735Z] 2024-01-16 18:58:01,589 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-16T18:58:01.735Z] 2024-01-16 18:58:01,593 [execute] INFO git cat-file --batch-check [2024-01-16T18:58:01.735Z] 2024-01-16 18:58:01,593 [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-16T18:58:01.735Z] 2024-01-16 18:58:01,599 [execute] INFO git cat-file --batch [2024-01-16T18:58:01.735Z] 2024-01-16 18:58:01,600 [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-16T18:58:01.735Z] 2024-01-16 18:58:01,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-01-16T18:58:01.735Z] 0.0.0 [Pipeline] } [2024-01-16T18:58:01.747Z] $ docker exec --env ******** --env ******** 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 ssh-agent -k [2024-01-16T18:58:01.844Z] unset SSH_AUTH_SOCK; [2024-01-16T18:58:01.845Z] unset SSH_AGENT_PID; [2024-01-16T18:58:01.845Z] echo Agent pid 75 killed; [2024-01-16T18:58:01.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-16T18:58:02.207Z] + git semver [Pipeline] } [2024-01-16T18:58:02.487Z] $ docker stop --time=1 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 [2024-01-16T18:58:03.790Z] $ docker rm -f --volumes 8a477cd0435b89374a63a276668fa2201eccfb1ba8b84e1a3b563897f2eafaa5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-16T18:58:04.149Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-16T18:58:04.396Z] Stashed 1 file(s) [Pipeline] echo [2024-01-16T18:58:04.400Z] [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-16T18:58:04.673Z] provisioning config files... [2024-01-16T18:58:04.682Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config17456854471296621137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:58:04.997Z] ---> ****-login.sh [2024-01-16T18:58:04.997Z] nexus3.edgexfoundry.org:10001 [2024-01-16T18:58:04.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:58:04.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:58:04.997Z] Configure a credential helper to remove this warning. See [2024-01-16T18:58:04.997Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:58:04.997Z] [2024-01-16T18:58:04.997Z] Login Succeeded [2024-01-16T18:58:04.997Z] nexus3.edgexfoundry.org:10002 [2024-01-16T18:58:04.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:58:04.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:58:04.997Z] Configure a credential helper to remove this warning. See [2024-01-16T18:58:04.997Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:58:04.997Z] [2024-01-16T18:58:04.997Z] Login Succeeded [2024-01-16T18:58:04.997Z] nexus3.edgexfoundry.org:10003 [2024-01-16T18:58:05.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:58:05.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:58:05.258Z] Configure a credential helper to remove this warning. See [2024-01-16T18:58:05.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:58:05.258Z] [2024-01-16T18:58:05.258Z] Login Succeeded [2024-01-16T18:58:05.258Z] nexus3.edgexfoundry.org:10004 [2024-01-16T18:58:05.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:58:05.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:58:05.258Z] Configure a credential helper to remove this warning. See [2024-01-16T18:58:05.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:58:05.258Z] [2024-01-16T18:58:05.258Z] Login Succeeded [2024-01-16T18:58:05.258Z] ****.io [2024-01-16T18:58:05.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:58:05.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:58:05.518Z] Configure a credential helper to remove this warning. See [2024-01-16T18:58:05.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:58:05.518Z] [2024-01-16T18:58:05.518Z] Login Succeeded [2024-01-16T18:58:05.518Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T18:58:05.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-16T18:58:05.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:58:05.682Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-16T18:58:05.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:58:05.736Z] ========================================================= [2024-01-16T18:58:05.736Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-16T18:58:05.736Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:58:06.158Z] + 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-16T18:58:06.158Z] Sending build context to Docker daemon 4.991MB [2024-01-16T18:58:06.158Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-01-16T18:58:06.158Z] Step 2/22 : FROM ${BASE} as builder [2024-01-16T18:58:06.158Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-16T18:58:06.158Z] 96526aa774ef: Pulling fs layer [2024-01-16T18:58:06.158Z] da60e534fd72: Pulling fs layer [2024-01-16T18:58:06.416Z] 96526aa774ef: Verifying Checksum [2024-01-16T18:58:06.416Z] 96526aa774ef: Download complete [2024-01-16T18:58:06.416Z] 96526aa774ef: Pull complete [2024-01-16T18:58:06.984Z] da60e534fd72: Verifying Checksum [2024-01-16T18:58:06.984Z] da60e534fd72: Download complete [2024-01-16T18:58:10.271Z] da60e534fd72: Pull complete [2024-01-16T18:58:10.271Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-16T18:58:10.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-16T18:58:10.271Z] ---> 6605166a5db4 [2024-01-16T18:58:10.271Z] 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-16T18:58:12.818Z] ---> Running in ab7669c665f0 [2024-01-16T18:58:12.818Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-16T18:58:13.078Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:58:13.078Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:58:13.078Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:58:13.338Z] Removing intermediate container ab7669c665f0 [2024-01-16T18:58:13.338Z] ---> 91a8bbe9e842 [2024-01-16T18:58:13.338Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:58:13.338Z] ---> Running in fe25a1cc1174 [2024-01-16T18:58:13.904Z] Removing intermediate container fe25a1cc1174 [2024-01-16T18:58:13.904Z] ---> 1af891e02b46 [2024-01-16T18:58:13.904Z] 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-16T18:58:13.904Z] ---> Running in f074f044ad78 [2024-01-16T18:58:14.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:14.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:14.682Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:15.249Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:58:15.249Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-16T18:58:15.249Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-16T18:58:15.249Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T18:58:15.826Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T18:58:16.086Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T18:58:16.086Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-16T18:58:16.086Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-16T18:58:16.086Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T18:58:16.086Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T18:58:16.086Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T18:58:16.086Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T18:58:16.086Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-16T18:58:16.086Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-16T18:58:16.086Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-16T18:58:16.490Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-16T18:58:16.490Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-16T18:58:16.490Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-16T18:58:16.490Z] Executing busybox-1.36.1-r4.trigger [2024-01-16T18:58:16.490Z] OK: 336 MiB in 99 packages [2024-01-16T18:58:16.749Z] Removing intermediate container f074f044ad78 [2024-01-16T18:58:16.749Z] ---> c540d7c356de [2024-01-16T18:58:16.749Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-01-16T18:58:17.008Z] ---> Running in 5f19d99e9a04 [2024-01-16T18:58:17.271Z] Removing intermediate container 5f19d99e9a04 [2024-01-16T18:58:17.271Z] ---> 52bd9d9e738c [2024-01-16T18:58:17.271Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-01-16T18:58:17.541Z] ---> 5b3dfb85ceca [2024-01-16T18:58:17.541Z] Step 8/22 : COPY src /tmp/sdk/src [2024-01-16T18:58:17.800Z] ---> 0f7228a88029 [2024-01-16T18:58:17.800Z] Step 9/22 : COPY include /tmp/sdk/include [2024-01-16T18:58:17.800Z] ---> caecc1b3c9dd [2024-01-16T18:58:17.800Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-01-16T18:58:18.061Z] ---> ac25862d1230 [2024-01-16T18:58:18.061Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-01-16T18:58:18.061Z] ---> 7c02b36b3cd0 [2024-01-16T18:58:18.061Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-01-16T18:58:18.320Z] ---> 53212bfe643d [2024-01-16T18:58:18.320Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-16T18:58:18.320Z] ---> Running in 5460f6478768 [2024-01-16T18:58:18.579Z] + CPPCHECK=false [2024-01-16T18:58:18.579Z] + DOCGEN=false [2024-01-16T18:58:18.579Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-16T18:58:18.579Z] + '[' 0 -gt 0 ] [2024-01-16T18:58:18.579Z] + readlink -f ./scripts/build.sh [2024-01-16T18:58:18.579Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-16T18:58:18.579Z] + dirname /tmp/sdk/scripts [2024-01-16T18:58:18.579Z] + ROOT=/tmp/sdk [2024-01-16T18:58:18.579Z] + cd /tmp/sdk [2024-01-16T18:58:18.579Z] + mkdir -p /tmp/sdk/build/release [2024-01-16T18:58:18.579Z] + cd /tmp/sdk/build/release [2024-01-16T18:58:18.579Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-16T18:58:18.579Z] -- The C compiler identification is GNU 12.2.1 [2024-01-16T18:58:18.579Z] -- Detecting C compiler ABI info [2024-01-16T18:58:18.579Z] -- Detecting C compiler ABI info - done [2024-01-16T18:58:18.579Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T18:58:18.579Z] -- Detecting C compile features [2024-01-16T18:58:18.579Z] -- Detecting C compile features - done [2024-01-16T18:58:18.579Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T18:58:18.838Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T18:58:18.838Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T18:58:18.838Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T18:58:18.838Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T18:58:18.838Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T18:58:18.838Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T18:58:18.838Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T18:58:18.838Z] -- /opt/iotech/iot/1.5/include [2024-01-16T18:58:18.838Z] -- C SDK 0.0.0 for Linux [2024-01-16T18:58:18.838Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T18:58:18.838Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T18:58:18.838Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-16T18:58:18.838Z] -- Configuring done (0.4s) [2024-01-16T18:58:18.838Z] -- Generating done (0.0s) [2024-01-16T18:58:18.838Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-16T18:58:18.838Z] + make all package [2024-01-16T18:58:18.838Z] + tee release.log [2024-01-16T18:58:19.097Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T18:58:19.097Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T18:58:19.356Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T18:58:19.356Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T18:58:19.356Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T18:58:19.587Z] Still waiting to schedule task [2024-01-16T18:58:19.588Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-27336’ is offline [2024-01-16T18:58:19.616Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T18:58:19.874Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T18:58:19.874Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-16T18:58:19.874Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:58:19.874Z] 294 | while (privateConfig) [2024-01-16T18:58:19.874Z] | ^~~~~~~~~~~~~ [2024-01-16T18:58:19.874Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-16T18:58:19.874Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T18:58:19.874Z] | ^~~~~~~~~~~~~ [2024-01-16T18:58:19.874Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:58:19.874Z] 271 | while (result) [2024-01-16T18:58:19.874Z] | ^~~~~~ [2024-01-16T18:58:19.874Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-16T18:58:19.874Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T18:58:19.874Z] | ^~~~~~ [2024-01-16T18:58:20.132Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T18:58:20.132Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T18:58:20.132Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T18:58:20.392Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T18:58:20.652Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T18:58:20.652Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T18:58:20.912Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T18:58:20.912Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T18:58:20.912Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T18:58:21.172Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T18:58:21.432Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T18:58:21.432Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T18:58:21.432Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T18:58:21.692Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T18:58:22.631Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T18:58:22.892Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T18:58:22.892Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T18:58:22.892Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T18:58:23.152Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T18:58:23.152Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T18:58:23.738Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T18:58:23.738Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T18:58:23.738Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T18:58:23.999Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T18:58:23.999Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T18:58:23.999Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:58:23.999Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T18:58:23.999Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:58:23.999Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:58:23.999Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T18:58:23.999Z] | ^ [2024-01-16T18:58:24.259Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:58:24.259Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-16T18:58:24.259Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:58:24.259Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-16T18:58:24.259Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-16T18:58:24.259Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:58:24.259Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T18:58:24.519Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T18:58:24.519Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T18:58:24.519Z] [ 68%] Linking C shared library libcsdk.so [2024-01-16T18:58:24.519Z] [ 68%] Built target csdk [2024-01-16T18:58:24.519Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T18:58:24.779Z] [ 72%] Linking C executable template [2024-01-16T18:58:24.779Z] [ 72%] Built target template [2024-01-16T18:58:24.779Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T18:58:25.040Z] [ 76%] Linking C executable device-counter [2024-01-16T18:58:25.040Z] [ 76%] Built target device-counter [2024-01-16T18:58:25.040Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T18:58:25.040Z] [ 80%] Linking C executable device-random [2024-01-16T18:58:25.301Z] [ 80%] Built target device-random [2024-01-16T18:58:25.301Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T18:58:25.301Z] [ 84%] Linking C executable device-gyro [2024-01-16T18:58:25.301Z] [ 84%] Built target device-gyro [2024-01-16T18:58:25.301Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T18:58:25.561Z] [ 88%] Linking C executable device-bitfields [2024-01-16T18:58:25.561Z] [ 88%] Built target device-bitfields [2024-01-16T18:58:25.561Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T18:58:25.561Z] [ 92%] Linking C executable template-discovery [2024-01-16T18:58:25.820Z] [ 92%] Built target template-discovery [2024-01-16T18:58:25.820Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T18:58:25.820Z] [ 96%] Linking C executable device-file [2024-01-16T18:58:25.820Z] [ 96%] Built target device-file [2024-01-16T18:58:25.820Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T18:58:26.079Z] [100%] Linking C executable device-terminal [2024-01-16T18:58:26.079Z] [100%] Built target device-terminal [2024-01-16T18:58:26.079Z] Run CPack packaging tool... [2024-01-16T18:58:26.079Z] CPack: Create package using TGZ [2024-01-16T18:58:26.079Z] CPack: Install projects [2024-01-16T18:58:26.079Z] CPack: - Run preinstall target for: Csdk [2024-01-16T18:58:26.337Z] CPack: - Install project: Csdk [] [2024-01-16T18:58:26.337Z] CPack: Create package [2024-01-16T18:58:26.337Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-16T18:58:26.337Z] + '[' false '=' true ] [2024-01-16T18:58:26.337Z] + '[' false '=' true ] [2024-01-16T18:58:26.337Z] + mkdir -p /tmp/sdk/build/debug [2024-01-16T18:58:26.337Z] + cd /tmp/sdk/build/debug [2024-01-16T18:58:26.337Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-16T18:58:26.596Z] -- The C compiler identification is GNU 12.2.1 [2024-01-16T18:58:26.596Z] -- Detecting C compiler ABI info [2024-01-16T18:58:26.596Z] -- Detecting C compiler ABI info - done [2024-01-16T18:58:26.596Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T18:58:26.596Z] -- Detecting C compile features [2024-01-16T18:58:26.596Z] -- Detecting C compile features - done [2024-01-16T18:58:26.596Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T18:58:26.596Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T18:58:26.596Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T18:58:26.596Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T18:58:26.596Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T18:58:26.596Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T18:58:26.596Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T18:58:26.596Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T18:58:26.596Z] -- /opt/iotech/iot/1.5/include [2024-01-16T18:58:26.596Z] -- C SDK 0.0.0 for Linux [2024-01-16T18:58:26.596Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T18:58:26.855Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T18:58:26.855Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-16T18:58:26.855Z] -- Configuring done (0.4s) [2024-01-16T18:58:26.855Z] -- Generating done (0.0s) [2024-01-16T18:58:26.855Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-16T18:58:26.855Z] + make+ tee debug.log [2024-01-16T18:58:26.855Z] [2024-01-16T18:58:26.855Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T18:58:27.114Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T18:58:27.115Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T18:58:27.115Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T18:58:27.115Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T18:58:27.374Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T18:58:27.374Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T18:58:27.374Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T18:58:27.632Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T18:58:27.632Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T18:58:27.632Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T18:58:27.892Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T18:58:27.892Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T18:58:27.892Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T18:58:27.892Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T18:58:28.151Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T18:58:28.151Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T18:58:28.151Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T18:58:28.151Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T18:58:28.409Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T18:58:28.409Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T18:58:28.668Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T18:58:28.668Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T18:58:28.668Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T18:58:28.926Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T18:58:28.926Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T18:58:28.926Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T18:58:29.185Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T18:58:29.185Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T18:58:29.185Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T18:58:29.444Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T18:58:29.444Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T18:58:29.444Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:58:29.444Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T18:58:29.444Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:58:29.444Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:58:29.444Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T18:58:29.444Z] | ^ [2024-01-16T18:58:29.444Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T18:58:29.703Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T18:58:29.703Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T18:58:29.703Z] [ 68%] Linking C shared library libcsdk.so [2024-01-16T18:58:29.703Z] [ 68%] Built target csdk [2024-01-16T18:58:29.703Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T18:58:29.963Z] [ 72%] Linking C executable template [2024-01-16T18:58:29.963Z] [ 72%] Built target template [2024-01-16T18:58:29.963Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T18:58:29.963Z] [ 76%] Linking C executable device-counter [2024-01-16T18:58:29.963Z] [ 76%] Built target device-counter [2024-01-16T18:58:29.963Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T18:58:30.222Z] [ 80%] Linking C executable device-random [2024-01-16T18:58:30.222Z] [ 80%] Built target device-random [2024-01-16T18:58:30.222Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T18:58:30.222Z] [ 84%] Linking C executable device-gyro [2024-01-16T18:58:30.482Z] [ 84%] Built target device-gyro [2024-01-16T18:58:30.482Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T18:58:30.482Z] [ 88%] Linking C executable device-bitfields [2024-01-16T18:58:30.482Z] [ 88%] Built target device-bitfields [2024-01-16T18:58:30.482Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T18:58:30.482Z] [ 92%] Linking C executable template-discovery [2024-01-16T18:58:30.741Z] [ 92%] Built target template-discovery [2024-01-16T18:58:30.741Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T18:58:30.741Z] [ 96%] Linking C executable device-file [2024-01-16T18:58:30.741Z] [ 96%] Built target device-file [2024-01-16T18:58:30.741Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T18:58:31.000Z] [100%] Linking C executable device-terminal [2024-01-16T18:58:31.000Z] [100%] Built target device-terminal [2024-01-16T18:58:31.000Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-16T18:58:31.000Z] [ 68%] Built target csdk [2024-01-16T18:58:31.000Z] [ 72%] Built target template [2024-01-16T18:58:31.000Z] [ 76%] Built target device-counter [2024-01-16T18:58:31.000Z] [ 80%] Built target device-random [2024-01-16T18:58:31.000Z] [ 84%] Built target device-gyro [2024-01-16T18:58:31.259Z] [ 88%] Built target device-bitfields [2024-01-16T18:58:31.259Z] [ 92%] Built target template-discovery [2024-01-16T18:58:31.259Z] [ 96%] Built target device-file [2024-01-16T18:58:31.259Z] [100%] Built target device-terminal [2024-01-16T18:58:31.259Z] Install the project... [2024-01-16T18:58:31.259Z] -- Install configuration: "Release" [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-16T18:58:31.259Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/devsdk [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-16T18:58:31.259Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-16T18:58:31.259Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-16T18:58:31.828Z] Removing intermediate container 5460f6478768 [2024-01-16T18:58:31.828Z] ---> ca23b236e37b [2024-01-16T18:58:31.828Z] Step 14/22 : FROM ${BASE} [2024-01-16T18:58:31.828Z] ---> 6605166a5db4 [2024-01-16T18:58:31.828Z] Step 15/22 : LABEL maintainer="IOTech " [2024-01-16T18:58:32.088Z] ---> Running in b7e4954c3fd9 [2024-01-16T18:58:32.088Z] Removing intermediate container b7e4954c3fd9 [2024-01-16T18:58:32.088Z] ---> f18dd27935b7 [2024-01-16T18:58:32.088Z] 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-16T18:58:32.088Z] ---> Running in 91b58a2aebdb [2024-01-16T18:58:32.351Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-16T18:58:32.919Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:58:32.919Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:58:32.919Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:58:33.178Z] Removing intermediate container 91b58a2aebdb [2024-01-16T18:58:33.178Z] ---> 2f170d572b47 [2024-01-16T18:58:33.178Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:58:33.178Z] ---> Running in fffa77eb4f64 [2024-01-16T18:58:33.754Z] Removing intermediate container fffa77eb4f64 [2024-01-16T18:58:33.754Z] ---> 80b4a0f06b3c [2024-01-16T18:58:33.754Z] 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-16T18:58:33.754Z] ---> Running in 98753b4fa329 [2024-01-16T18:58:34.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:34.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:34.284Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:34.854Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:58:34.854Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T18:58:34.854Z] (2/10) Installing curl (8.5.0-r0) [2024-01-16T18:58:34.854Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T18:58:34.854Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-01-16T18:58:34.854Z] (5/10) Installing hiredis (1.1.0-r2) [2024-01-16T18:58:34.854Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-16T18:58:34.854Z] (7/10) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T18:58:35.422Z] (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T18:58:35.683Z] (9/10) Installing libcbor (0.10.2-r1) [2024-01-16T18:58:35.683Z] (10/10) Installing libuuid (2.38.1-r8) [2024-01-16T18:58:35.683Z] Executing busybox-1.36.1-r4.trigger [2024-01-16T18:58:35.683Z] OK: 331 MiB in 90 packages [2024-01-16T18:58:36.251Z] Removing intermediate container 98753b4fa329 [2024-01-16T18:58:36.251Z] ---> 2e9ba77d317d [2024-01-16T18:58:36.251Z] Step 19/22 : RUN apk --no-cache upgrade [2024-01-16T18:58:36.251Z] ---> Running in 05021f9f5ba4 [2024-01-16T18:58:36.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:36.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:36.769Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:37.336Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:58:37.336Z] (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T18:58:37.336Z] Executing busybox-1.36.1-r5.post-upgrade [2024-01-16T18:58:37.336Z] (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T18:58:37.336Z] (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T18:58:37.336Z] (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T18:58:37.336Z] (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T18:58:37.336Z] (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T18:58:37.336Z] Executing busybox-1.36.1-r5.trigger [2024-01-16T18:58:37.336Z] Executing ca-certificates-20230506-r0.trigger [2024-01-16T18:58:37.336Z] OK: 331 MiB in 90 packages [2024-01-16T18:58:37.903Z] Removing intermediate container 05021f9f5ba4 [2024-01-16T18:58:37.903Z] ---> 8f0ff36a1c1f [2024-01-16T18:58:37.903Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-16T18:58:38.161Z] ---> 51b879c8e22b [2024-01-16T18:58:38.161Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-16T18:58:38.161Z] ---> a6e94b39e0ce [2024-01-16T18:58:38.161Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-16T18:58:38.419Z] ---> 959e083cdd34 [2024-01-16T18:58:38.419Z] Successfully built 959e083cdd34 [2024-01-16T18:58:38.419Z] 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-16T18:58:38.959Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-16T18:58:38.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:58:39.067Z] prd-ubuntu20.04-docker-8c-8g-27335 does not seem to be running inside a container [2024-01-16T18:58:39.095Z] $ 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 ******** ci-base-image-x86_64 cat [2024-01-16T18:58:39.441Z] $ docker top 4c7a817855b748bf035c3e85168c3056695cdd3e8e588f329839df4db7a5c75c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T18:58:39.830Z] + make test [2024-01-16T18:58:39.830Z] echo "make test" [2024-01-16T18:58:39.830Z] make test [Pipeline] } [2024-01-16T18:58:39.840Z] $ docker stop --time=1 4c7a817855b748bf035c3e85168c3056695cdd3e8e588f329839df4db7a5c75c [2024-01-16T18:58:41.115Z] $ docker rm -f --volumes 4c7a817855b748bf035c3e85168c3056695cdd3e8e588f329839df4db7a5c75c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T18:58:41.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-16T18:58:42.068Z] + ls -al . [2024-01-16T18:58:42.068Z] total 212 [2024-01-16T18:58:42.068Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 18:58 . [2024-01-16T18:58:42.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:57 .. [2024-01-16T18:58:42.068Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 18:58 .git [2024-01-16T18:58:42.068Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 18:57 .github [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 18:57 .gitignore [2024-01-16T18:58:42.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 18:58 .semver [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 16 18:57 Attribution.txt [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 16 18:57 CHANGELOG.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 18:57 Doxyfile [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 18:57 GOVERNANCE.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 18:57 Jenkinsfile [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 18:57 LICENSE [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 18:57 Makefile [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 18:57 OWNERS.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 16 18:57 README.IOT.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 16 18:57 README.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 18:57 README.v3.md [2024-01-16T18:58:42.068Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 18:58 VERSION [2024-01-16T18:58:42.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:57 docs [2024-01-16T18:58:42.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:57 include [2024-01-16T18:58:42.068Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:57 scripts [2024-01-16T18:58:42.068Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:58:42.418Z] + 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=f9c9d34adb74d4046d8c7d124e52b99f64238a1c --label arch=amd64 --label version=0.0.0 . [2024-01-16T18:58:42.419Z] Sending build context to Docker daemon 4.991MB [2024-01-16T18:58:42.419Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-01-16T18:58:42.419Z] Step 2/18 : FROM ${BASE} [2024-01-16T18:58:42.419Z] ---> 959e083cdd34 [2024-01-16T18:58:42.419Z] Step 3/18 : LABEL maintainer="IOTech " [2024-01-16T18:58:42.419Z] ---> Running in 050f9226807b [2024-01-16T18:58:42.679Z] Removing intermediate container 050f9226807b [2024-01-16T18:58:42.679Z] ---> b71f9cc3542f [2024-01-16T18:58:42.679Z] 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-16T18:58:42.679Z] ---> Running in 8a401bff9519 [2024-01-16T18:58:42.939Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-16T18:58:43.199Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:58:43.199Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:58:43.199Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:58:43.459Z] Removing intermediate container 8a401bff9519 [2024-01-16T18:58:43.459Z] ---> be8cbbcba516 [2024-01-16T18:58:43.459Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:58:43.459Z] ---> Running in 4b9ca6482257 [2024-01-16T18:58:44.028Z] Removing intermediate container 4b9ca6482257 [2024-01-16T18:58:44.028Z] ---> 06048f927b0f [2024-01-16T18:58:44.028Z] 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-16T18:58:44.028Z] ---> Running in 7155bff12702 [2024-01-16T18:58:44.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:44.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:44.806Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:45.374Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:58:45.374Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T18:58:45.633Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-16T18:58:45.633Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T18:58:45.633Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T18:58:45.633Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T18:58:45.633Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T18:58:45.633Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-16T18:58:45.633Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-16T18:58:45.633Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-16T18:58:45.633Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-16T18:58:45.633Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-16T18:58:45.633Z] Executing busybox-1.36.1-r5.trigger [2024-01-16T18:58:45.633Z] OK: 337 MiB in 101 packages [2024-01-16T18:58:46.201Z] Removing intermediate container 7155bff12702 [2024-01-16T18:58:46.201Z] ---> 8e44cc5d4bb1 [2024-01-16T18:58:46.201Z] Step 7/18 : RUN apk --no-cache upgrade [2024-01-16T18:58:46.201Z] ---> Running in 7c8cb4921ab6 [2024-01-16T18:58:46.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:46.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:46.720Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:58:47.295Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:58:47.295Z] OK: 337 MiB in 101 packages [2024-01-16T18:58:47.554Z] Removing intermediate container 7c8cb4921ab6 [2024-01-16T18:58:47.554Z] ---> 9901001f0e1d [2024-01-16T18:58:47.554Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-01-16T18:58:47.554Z] ---> a59fdd28dd91 [2024-01-16T18:58:47.554Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-01-16T18:58:47.812Z] ---> 55d9e04fd516 [2024-01-16T18:58:47.812Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-01-16T18:58:48.073Z] ---> 7c8e4c5d8ee4 [2024-01-16T18:58:48.073Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-01-16T18:58:48.073Z] ---> e58d60a5760a [2024-01-16T18:58:48.073Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-01-16T18:58:48.333Z] ---> bd1de2a8d2be [2024-01-16T18:58:48.333Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-16T18:58:48.333Z] ---> 3063d5ba232d [2024-01-16T18:58:48.333Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-01-16T18:58:48.333Z] ---> Running in 90d65e9452be [2024-01-16T18:58:48.592Z] Removing intermediate container 90d65e9452be [2024-01-16T18:58:48.592Z] ---> ac5886c7eaa7 [2024-01-16T18:58:48.592Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-16T18:58:48.592Z] ---> Running in 91b463fa1575 [2024-01-16T18:58:48.592Z] Removing intermediate container 91b463fa1575 [2024-01-16T18:58:48.592Z] ---> fe42503c9520 [2024-01-16T18:58:48.592Z] Step 16/18 : LABEL arch=amd64 [2024-01-16T18:58:48.592Z] ---> Running in 5efeb0e6c03a [2024-01-16T18:58:48.592Z] Removing intermediate container 5efeb0e6c03a [2024-01-16T18:58:48.592Z] ---> 163c65d611f0 [2024-01-16T18:58:48.592Z] Step 17/18 : LABEL git_sha=f9c9d34adb74d4046d8c7d124e52b99f64238a1c [2024-01-16T18:58:48.592Z] ---> Running in e37aa26a07fb [2024-01-16T18:58:48.854Z] Removing intermediate container e37aa26a07fb [2024-01-16T18:58:48.854Z] ---> 911514de2e39 [2024-01-16T18:58:48.854Z] Step 18/18 : LABEL version=0.0.0 [2024-01-16T18:58:48.854Z] ---> Running in a30def25e20b [2024-01-16T18:58:48.854Z] Removing intermediate container a30def25e20b [2024-01-16T18:58:48.854Z] ---> 3e4c68bdce69 [2024-01-16T18:58:48.854Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-16T18:58:48.854Z] Successfully built 3e4c68bdce69 [2024-01-16T18:58:48.854Z] 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-16T18:58:49.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:58:49.581Z] [2024-01-16T18:58:49.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:58:49.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:58:49.904Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-16T18:58:49.904Z] 5eb5b503b376: Pulling fs layer [2024-01-16T18:58:49.904Z] 5c69ac0246d0: Pulling fs layer [2024-01-16T18:58:49.904Z] ec43610c2a17: Pulling fs layer [2024-01-16T18:58:49.904Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-16T18:58:49.904Z] 33b1e0a273af: Pulling fs layer [2024-01-16T18:58:49.904Z] 5d3b04190fa2: Pulling fs layer [2024-01-16T18:58:49.904Z] 2f39f015ded8: Pulling fs layer [2024-01-16T18:58:49.904Z] 2f39f015ded8: Waiting [2024-01-16T18:58:49.904Z] 33b1e0a273af: Waiting [2024-01-16T18:58:49.904Z] 3a2ae6a8a46f: Waiting [2024-01-16T18:58:49.904Z] 5d3b04190fa2: Waiting [2024-01-16T18:58:49.904Z] 5c69ac0246d0: Verifying Checksum [2024-01-16T18:58:49.904Z] 5c69ac0246d0: Download complete [2024-01-16T18:58:49.904Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-16T18:58:49.904Z] 3a2ae6a8a46f: Download complete [2024-01-16T18:58:49.904Z] 33b1e0a273af: Verifying Checksum [2024-01-16T18:58:49.904Z] 33b1e0a273af: Download complete [2024-01-16T18:58:49.904Z] ec43610c2a17: Verifying Checksum [2024-01-16T18:58:49.904Z] ec43610c2a17: Download complete [2024-01-16T18:58:49.904Z] 5d3b04190fa2: Verifying Checksum [2024-01-16T18:58:49.904Z] 5d3b04190fa2: Download complete [2024-01-16T18:58:50.163Z] 5eb5b503b376: Download complete [2024-01-16T18:58:50.730Z] 2f39f015ded8: Download complete [2024-01-16T18:58:51.296Z] 5eb5b503b376: Pull complete [2024-01-16T18:58:51.296Z] 5c69ac0246d0: Pull complete [2024-01-16T18:58:51.862Z] ec43610c2a17: Pull complete [2024-01-16T18:58:51.863Z] 3a2ae6a8a46f: Pull complete [2024-01-16T18:58:52.120Z] 33b1e0a273af: Pull complete [2024-01-16T18:58:52.120Z] 5d3b04190fa2: Pull complete [2024-01-16T18:58:56.304Z] 2f39f015ded8: Pull complete [2024-01-16T18:58:56.304Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-16T18:58:56.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:58:56.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:58:56.480Z] prd-ubuntu20.04-docker-8c-8g-27335 does not seem to be running inside a container [2024-01-16T18:58:56.512Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-16T18:59:01.875Z] $ docker top ca20da5b0759736c62066f838d6129b0ef63d78ac00cda4bfc7d694ad816f94e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:59:02.286Z] ---> job-cost.sh [2024-01-16T18:59:02.286Z] lf-activate-venv: SKIPPING [2024-01-16T18:59:02.286Z] INFO: No Stack... [2024-01-16T18:59:02.547Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T18:59:02.807Z] INFO: Archiving Costs [Pipeline] sh [2024-01-16T18:59:03.099Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-01-16T18:59:03.099Z] + cut -d, -f6 [Pipeline] lock [2024-01-16T18:59:03.116Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [2024-01-16T18:59:03.125Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] did not exist. Created. [2024-01-16T18:59:03.125Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-16T18:59:03.481Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-16T18:59:03.616Z] Stashed 1 file(s) [Pipeline] } [2024-01-16T18:59:03.624Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-16T18:59:03.684Z] $ docker stop --time=1 ca20da5b0759736c62066f838d6129b0ef63d78ac00cda4bfc7d694ad816f94e [2024-01-16T18:59:04.824Z] $ docker rm -f --volumes ca20da5b0759736c62066f838d6129b0ef63d78ac00cda4bfc7d694ad816f94e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-16T19:00:44.682Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27337 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-01-16T19:00:44.718Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2024-01-16T19:00:44.827Z] Selected Git installation does not exist. Using Default [2024-01-16T19:00:44.827Z] The recommended git tool is: NONE [2024-01-16T19:00:49.905Z] using credential edgex-jenkins-ssh [2024-01-16T19:00:49.926Z] Cloning the remote Git repository [2024-01-16T19:00:49.967Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T19:00:50.063Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2024-01-16T19:00:50.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T19:00:50.215Z] > git --version # timeout=10 [2024-01-16T19:00:50.236Z] > git --version # 'git version 2.25.1' [2024-01-16T19:00:50.239Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T19:00:50.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-16T19:00:51.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-16T19:00:51.636Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-16T19:00:53.115Z] Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-01-16T19:00:53.460Z] Merge succeeded, producing 14a8fccf1f583826766debbf99bc97a673fc3b10 [2024-01-16T19:00:53.461Z] Checking out Revision 14a8fccf1f583826766debbf99bc97a673fc3b10 (PR-496) [2024-01-16T19:00:52.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-16T19:00:52.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T19:00:52.471Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T19:00:52.486Z] > 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-16T19:00:53.127Z] > git config core.sparsecheckout # timeout=10 [2024-01-16T19:00:53.181Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-01-16T19:00:53.295Z] > git remote # timeout=10 [2024-01-16T19:00:53.311Z] > git config --get remote.origin.url # timeout=10 [2024-01-16T19:00:53.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T19:00:53.337Z] > git merge c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 [2024-01-16T19:00:53.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-16T19:00:53.463Z] > git config core.sparsecheckout # timeout=10 [2024-01-16T19:00:53.475Z] > git checkout -f 14a8fccf1f583826766debbf99bc97a673fc3b10 # timeout=10 [2024-01-16T19:00:57.015Z] Commit message: "Merge commit 'c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c' into HEAD" [2024-01-16T19:00:57.051Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T19:00:57.021Z] > git rev-list --no-walk f77a82f9a490ee0637cf83a2c7aa789f714b602c # timeout=10 [2024-01-16T19:00:58.378Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-16T19:00:58.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-16T19:00:58.378Z] Dload Upload Total Spent Left Speed [2024-01-16T19:00:58.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 233k 0 --:--:-- --:--:-- --:--:-- 233k [Pipeline] sh [2024-01-16T19:00:58.822Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-16T19:00:59.146Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-16T19:00:59.146Z] + sudo tee /etc/docker/daemon.new [2024-01-16T19:00:59.146Z] { [2024-01-16T19:00:59.146Z] "registry-mirrors": [ [2024-01-16T19:00:59.146Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-16T19:00:59.146Z] ], [2024-01-16T19:00:59.146Z] "bip": "10.250.0.254/24", [2024-01-16T19:00:59.146Z] "hosts": [ [2024-01-16T19:00:59.146Z] "tcp://0.0.0.0:5555", [2024-01-16T19:00:59.146Z] "unix:///var/run/docker.sock" [2024-01-16T19:00:59.146Z] ], [2024-01-16T19:00:59.146Z] "mtu": 1458, [2024-01-16T19:00:59.146Z] "selinux-enabled": true, [2024-01-16T19:00:59.146Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-16T19:00:59.146Z] } [Pipeline] sh [2024-01-16T19:00:59.467Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-16T19:00:59.789Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T19:01:18.058Z] provisioning config files... [2024-01-16T19:01:18.083Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config10429929512896738168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:01:18.541Z] ---> ****-login.sh [2024-01-16T19:01:18.542Z] nexus3.edgexfoundry.org:10001 [2024-01-16T19:01:18.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T19:01:19.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T19:01:19.077Z] Configure a credential helper to remove this warning. See [2024-01-16T19:01:19.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T19:01:19.077Z] [2024-01-16T19:01:19.077Z] Login Succeeded [2024-01-16T19:01:19.077Z] nexus3.edgexfoundry.org:10002 [2024-01-16T19:01:19.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T19:01:19.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T19:01:19.349Z] Configure a credential helper to remove this warning. See [2024-01-16T19:01:19.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T19:01:19.349Z] [2024-01-16T19:01:19.349Z] Login Succeeded [2024-01-16T19:01:19.349Z] nexus3.edgexfoundry.org:10003 [2024-01-16T19:01:19.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T19:01:19.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T19:01:19.617Z] Configure a credential helper to remove this warning. See [2024-01-16T19:01:19.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T19:01:19.617Z] [2024-01-16T19:01:19.617Z] Login Succeeded [2024-01-16T19:01:19.617Z] nexus3.edgexfoundry.org:10004 [2024-01-16T19:01:19.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T19:01:19.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T19:01:19.887Z] Configure a credential helper to remove this warning. See [2024-01-16T19:01:19.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T19:01:19.887Z] [2024-01-16T19:01:19.887Z] Login Succeeded [2024-01-16T19:01:19.887Z] ****.io [2024-01-16T19:01:20.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T19:01:20.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T19:01:20.426Z] Configure a credential helper to remove this warning. See [2024-01-16T19:01:20.426Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T19:01:20.426Z] [2024-01-16T19:01:20.426Z] Login Succeeded [2024-01-16T19:01:20.426Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T19:01:20.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-16T19:01:20.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T19:01:20.844Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-16T19:01:20.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T19:01:20.921Z] ========================================================= [2024-01-16T19:01:20.921Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-16T19:01:20.921Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:01:21.345Z] + 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-16T19:01:22.759Z] #0 building with "default" instance using docker driver [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #1 [internal] load .dockerignore [2024-01-16T19:01:22.759Z] #1 transferring context: 2B done [2024-01-16T19:01:22.759Z] #1 DONE 0.1s [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-16T19:01:22.759Z] #2 transferring dockerfile: 2.16kB done [2024-01-16T19:01:22.759Z] #2 DONE 0.1s [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-16T19:01:22.759Z] #3 DONE 0.1s [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-16T19:01:22.759Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-16T19:01:22.759Z] #4 ... [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #5 [internal] load build context [2024-01-16T19:01:22.759Z] #5 transferring context: 628.08kB 0.2s done [2024-01-16T19:01:22.759Z] #5 DONE 0.2s [2024-01-16T19:01:22.759Z] [2024-01-16T19:01:22.759Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-16T19:01:22.759Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-16T19:01:22.759Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-16T19:01:22.759Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0B / 3.33MB 0.1s [2024-01-16T19:01:22.759Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 1.05MB / 109.51MB 0.1s [2024-01-16T19:01:23.030Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-16T19:01:23.030Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 9.08MB / 109.51MB 0.3s [2024-01-16T19:01:23.030Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-16T19:01:23.299Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 19.28MB / 109.51MB 0.5s [2024-01-16T19:01:23.299Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 30.17MB / 109.51MB 0.7s [2024-01-16T19:01:23.299Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-16T19:01:23.932Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 35.65MB / 109.51MB 0.8s [2024-01-16T19:01:23.932Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 41.94MB / 109.51MB 0.9s [2024-01-16T19:01:23.932Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 47.89MB / 109.51MB 1.0s [2024-01-16T19:01:23.932Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 54.53MB / 109.51MB 1.1s [2024-01-16T19:01:24.517Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 71.30MB / 109.51MB 1.7s [2024-01-16T19:01:24.517Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 82.84MB / 109.51MB 1.9s [2024-01-16T19:01:24.785Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 99.61MB / 109.51MB 2.2s [2024-01-16T19:01:25.053Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 105.91MB / 109.51MB 2.3s [2024-01-16T19:01:28.409Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 5.5s done [2024-01-16T19:01:28.409Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-16T19:01:33.755Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-16T19:01:40.406Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.7s [2024-01-16T19:01:41.367Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.8s done [2024-01-16T19:01:42.324Z] #4 DONE 19.6s [2024-01-16T19:01:42.324Z] [2024-01-16T19:01:42.324Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T19:01:42.906Z] #6 0.666 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-16T19:01:43.488Z] #6 1.166 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T19:01:43.488Z] #6 1.166 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T19:01:43.488Z] #6 1.166 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T19:01:44.456Z] #6 DONE 2.0s [2024-01-16T19:01:44.456Z] [2024-01-16T19:01:44.456Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T19:01:45.040Z] #7 DONE 0.8s [2024-01-16T19:01:45.312Z] [2024-01-16T19:01:45.312Z] #8 [stage-1 4/8] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-01-16T19:01:46.269Z] #8 0.971 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:46.537Z] #8 1.448 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:47.119Z] #8 2.026 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:48.091Z] #8 2.922 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:01:48.091Z] #8 2.961 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T19:01:48.359Z] #8 2.988 (2/10) Installing curl (8.5.0-r0) [2024-01-16T19:01:48.359Z] #8 3.002 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T19:01:48.359Z] #8 3.019 (4/10) Installing dumb-init (1.2.5-r2) [2024-01-16T19:01:48.359Z] #8 3.111 (5/10) Installing hiredis (1.1.0-r2) [2024-01-16T19:01:48.359Z] #8 3.118 (6/10) Installing hiredis-dev (1.1.0-r2) [2024-01-16T19:01:48.359Z] #8 3.151 (7/10) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T19:01:49.315Z] #8 3.903 (8/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T19:01:49.315Z] #8 4.123 (9/10) Installing libcbor (0.10.2-r1) [2024-01-16T19:01:49.315Z] #8 4.132 (10/10) Installing libuuid (2.38.1-r8) [2024-01-16T19:01:49.315Z] #8 4.140 Executing busybox-1.36.1-r4.trigger [2024-01-16T19:01:49.315Z] #8 4.191 OK: 328 MiB in 90 packages [2024-01-16T19:01:49.902Z] #8 DONE 4.6s [2024-01-16T19:01:49.902Z] [2024-01-16T19:01:49.902Z] #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-16T19:01:49.902Z] #9 0.964 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:49.902Z] #9 1.447 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:49.902Z] #9 2.015 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:49.902Z] #9 2.928 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:01:49.902Z] #9 2.963 (1/17) Installing hiredis (1.1.0-r2) [2024-01-16T19:01:49.902Z] #9 2.974 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-16T19:01:49.902Z] #9 2.997 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T19:01:49.902Z] #9 3.764 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T19:01:49.902Z] #9 3.885 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T19:01:49.902Z] #9 4.107 (6/17) Installing libcbor (0.10.2-r1) [2024-01-16T19:01:49.902Z] #9 4.114 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-16T19:01:49.902Z] #9 4.130 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T19:01:49.902Z] #9 4.136 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T19:01:49.902Z] #9 4.141 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T19:01:49.902Z] #9 4.148 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T19:01:49.902Z] #9 4.182 (12/17) Installing libblkid (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.197 (13/17) Installing libuuid (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.206 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.227 (15/17) Installing libmount (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.242 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.254 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-16T19:01:49.902Z] #9 4.344 Executing busybox-1.36.1-r4.trigger [2024-01-16T19:01:49.902Z] #9 4.400 OK: 333 MiB in 99 packages [2024-01-16T19:01:49.902Z] #9 DONE 4.7s [2024-01-16T19:01:49.902Z] [2024-01-16T19:01:49.902Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-16T19:01:50.873Z] #10 0.926 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:50.873Z] #10 ... [2024-01-16T19:01:50.873Z] [2024-01-16T19:01:50.873Z] #11 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-16T19:01:50.873Z] #11 DONE 1.0s [2024-01-16T19:01:51.147Z] [2024-01-16T19:01:51.147Z] #12 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-16T19:01:51.147Z] #12 DONE 0.1s [2024-01-16T19:01:51.147Z] [2024-01-16T19:01:51.147Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-16T19:01:51.147Z] #10 1.280 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:51.147Z] #10 ... [2024-01-16T19:01:51.147Z] [2024-01-16T19:01:51.147Z] #13 [builder 7/12] COPY src /tmp/sdk/src [2024-01-16T19:01:51.147Z] #13 DONE 0.2s [2024-01-16T19:01:51.417Z] [2024-01-16T19:01:51.417Z] #14 [builder 8/12] COPY include /tmp/sdk/include [2024-01-16T19:01:51.417Z] #14 DONE 0.1s [2024-01-16T19:01:51.417Z] [2024-01-16T19:01:51.417Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-16T19:01:51.417Z] #10 ... [2024-01-16T19:01:51.417Z] [2024-01-16T19:01:51.417Z] #15 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-16T19:01:51.417Z] #15 DONE 0.1s [2024-01-16T19:01:51.417Z] [2024-01-16T19:01:51.417Z] #16 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-16T19:01:51.417Z] #16 DONE 0.1s [2024-01-16T19:01:51.417Z] [2024-01-16T19:01:51.417Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-16T19:01:51.685Z] #10 ... [2024-01-16T19:01:51.685Z] [2024-01-16T19:01:51.685Z] #17 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-16T19:01:51.685Z] #17 DONE 0.1s [2024-01-16T19:01:51.685Z] [2024-01-16T19:01:51.685Z] #10 [stage-1 5/8] RUN apk --no-cache upgrade [2024-01-16T19:01:51.685Z] #10 1.875 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:52.650Z] #10 2.891 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:01:52.650Z] #10 2.931 (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T19:01:52.650Z] #10 2.975 Executing busybox-1.36.1-r5.post-upgrade [2024-01-16T19:01:52.650Z] #10 3.035 (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T19:01:52.918Z] #10 3.042 (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T19:01:52.918Z] #10 3.147 (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T19:01:52.918Z] #10 3.167 (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-01-16T19:01:52.918Z] #10 3.173 (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r4) [2024-01-16T19:01:52.918Z] #10 3.277 Executing busybox-1.36.1-r5.trigger [2024-01-16T19:01:53.187Z] #10 3.293 Executing ca-certificates-20230506-r0.trigger [2024-01-16T19:01:53.462Z] #10 3.507 OK: 328 MiB in 90 packages [2024-01-16T19:01:56.136Z] #10 DONE 6.4s [2024-01-16T19:01:56.136Z] [2024-01-16T19:01:56.136Z] #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-16T19:01:56.136Z] #18 0.636 + CPPCHECK=false [2024-01-16T19:01:56.137Z] #18 0.636 + DOCGEN=false [2024-01-16T19:01:56.137Z] #18 0.636 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-16T19:01:56.137Z] #18 0.637 + '[' 0 -gt 0 ] [2024-01-16T19:01:56.137Z] #18 0.642 + readlink -f ./scripts/build.sh [2024-01-16T19:01:56.137Z] #18 0.646 + dirname /tmp/sdk/scripts/build.sh [2024-01-16T19:01:56.137Z] #18 0.650 + dirname /tmp/sdk/scripts [2024-01-16T19:01:56.137Z] #18 0.651 + ROOT=/tmp/sdk [2024-01-16T19:01:56.137Z] #18 0.651 + cd /tmp/sdk [2024-01-16T19:01:56.137Z] #18 0.651 + mkdir -p /tmp/sdk/build/release [2024-01-16T19:01:56.137Z] #18 0.655 + cd /tmp/sdk/build/release [2024-01-16T19:01:56.137Z] #18 0.656 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-16T19:01:56.137Z] #18 1.018 -- The C compiler identification is GNU 12.2.1 [2024-01-16T19:01:56.137Z] #18 1.104 -- Detecting C compiler ABI info [2024-01-16T19:01:56.137Z] #18 1.478 -- Detecting C compiler ABI info - done [2024-01-16T19:01:56.137Z] #18 1.577 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T19:01:56.137Z] #18 1.579 -- Detecting C compile features [2024-01-16T19:01:56.137Z] #18 1.583 -- Detecting C compile features - done [2024-01-16T19:01:56.137Z] #18 1.626 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T19:01:56.137Z] #18 1.866 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T19:01:56.137Z] #18 1.884 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T19:01:56.137Z] #18 1.901 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T19:01:56.137Z] #18 1.924 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T19:01:56.137Z] #18 1.947 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T19:01:56.137Z] #18 1.964 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T19:01:56.137Z] #18 1.980 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T19:01:56.137Z] #18 1.980 -- /opt/iotech/iot/1.5/include [2024-01-16T19:01:56.137Z] #18 1.980 -- C SDK 0.0.0 for Linux [2024-01-16T19:01:56.137Z] #18 1.993 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T19:01:56.137Z] #18 4.462 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T19:01:56.421Z] #18 4.692 -- Found Curses: /usr/lib/libcurses.so [2024-01-16T19:01:56.421Z] #18 4.833 -- Configuring done (4.1s) [2024-01-16T19:01:56.695Z] #18 5.109 -- Generating done (0.3s) [2024-01-16T19:01:56.968Z] #18 5.128 -- Build files have been written to: /tmp/sdk/build/release [2024-01-16T19:01:56.968Z] #18 5.153 + make all package [2024-01-16T19:01:56.968Z] #18 5.154 + tee release.log [2024-01-16T19:01:56.968Z] #18 5.290 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T19:01:57.559Z] #18 5.997 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T19:01:58.517Z] #18 6.872 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T19:01:59.479Z] #18 7.644 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T19:02:00.062Z] #18 8.526 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T19:02:01.025Z] #18 9.246 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T19:02:03.606Z] #18 11.56 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T19:02:04.187Z] #18 12.48 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-16T19:02:04.187Z] #18 12.48 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:02:04.187Z] #18 12.48 294 | while (privateConfig) [2024-01-16T19:02:04.187Z] #18 12.48 | ^~~~~~~~~~~~~ [2024-01-16T19:02:04.187Z] #18 12.48 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-16T19:02:04.187Z] #18 12.48 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T19:02:04.187Z] #18 12.48 | ^~~~~~~~~~~~~ [2024-01-16T19:02:04.187Z] #18 12.48 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:02:04.187Z] #18 12.48 271 | while (result) [2024-01-16T19:02:04.187Z] #18 12.48 | ^~~~~~ [2024-01-16T19:02:04.187Z] #18 12.48 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-16T19:02:04.187Z] #18 12.48 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T19:02:04.187Z] #18 12.48 | ^~~~~~ [2024-01-16T19:02:04.456Z] #18 12.84 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T19:02:04.723Z] #18 13.08 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T19:02:05.683Z] #18 14.03 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T19:02:08.278Z] #18 16.14 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T19:02:08.547Z] #18 16.81 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T19:02:09.504Z] #18 17.66 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T19:02:10.087Z] #18 18.37 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T19:02:10.674Z] #18 18.87 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T19:02:11.635Z] #18 19.85 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T19:02:11.903Z] #18 20.18 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T19:02:14.484Z] #18 22.50 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T19:02:14.751Z] #18 22.88 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T19:02:15.334Z] #18 23.54 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T19:02:16.742Z] #18 24.96 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T19:02:24.950Z] #18 32.59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T19:02:25.933Z] #18 34.34 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T19:02:26.516Z] #18 34.78 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T19:02:27.101Z] #18 35.37 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T19:02:27.370Z] #18 35.73 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T19:02:29.315Z] #18 37.32 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T19:02:31.897Z] #18 39.69 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T19:02:31.897Z] #18 40.18 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T19:02:32.856Z] #18 41.18 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T19:02:33.438Z] #18 41.88 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T19:02:33.705Z] #18 42.17 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T19:02:33.970Z] #18 42.17 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:02:33.970Z] #18 42.17 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T19:02:33.970Z] #18 42.17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:02:33.970Z] #18 42.17 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:02:33.970Z] #18 42.17 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T19:02:33.970Z] #18 42.17 | ^ [2024-01-16T19:02:35.373Z] #18 43.73 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:02:35.373Z] #18 43.73 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-16T19:02:35.373Z] #18 43.73 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:02:35.373Z] #18 43.73 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-16T19:02:35.373Z] #18 43.73 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-16T19:02:35.373Z] #18 43.73 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:02:36.782Z] #18 44.82 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T19:02:37.368Z] #18 45.63 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T19:02:37.634Z] #18 46.00 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T19:02:38.215Z] #18 46.59 [ 68%] Linking C shared library libcsdk.so [2024-01-16T19:02:39.955Z] #18 46.80 [ 68%] Built target csdk [2024-01-16T19:02:39.955Z] #18 46.86 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T19:02:39.955Z] #18 47.66 [ 72%] Linking C executable template [2024-01-16T19:02:39.955Z] #18 48.03 [ 72%] Built target template [2024-01-16T19:02:39.955Z] #18 48.09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T19:02:40.221Z] #18 48.63 [ 76%] Linking C executable device-counter [2024-01-16T19:02:40.490Z] #18 48.94 [ 76%] Built target device-counter [2024-01-16T19:02:40.770Z] #18 48.99 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T19:02:41.355Z] #18 49.48 [ 80%] Linking C executable device-random [2024-01-16T19:02:41.355Z] #18 49.83 [ 80%] Built target device-random [2024-01-16T19:02:41.622Z] #18 49.89 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T19:02:42.206Z] #18 50.37 [ 84%] Linking C executable device-gyro [2024-01-16T19:02:42.476Z] #18 50.71 [ 84%] Built target device-gyro [2024-01-16T19:02:42.476Z] #18 50.77 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T19:02:43.057Z] #18 51.27 [ 88%] Linking C executable device-bitfields [2024-01-16T19:02:43.323Z] #18 51.59 [ 88%] Built target device-bitfields [2024-01-16T19:02:43.323Z] #18 51.65 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T19:02:44.280Z] #18 52.46 [ 92%] Linking C executable template-discovery [2024-01-16T19:02:44.280Z] #18 52.75 [ 92%] Built target template-discovery [2024-01-16T19:02:44.547Z] #18 52.80 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T19:02:45.126Z] #18 53.50 [ 96%] Linking C executable device-file [2024-01-16T19:02:45.709Z] #18 53.80 [ 96%] Built target device-file [2024-01-16T19:02:45.709Z] #18 53.85 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T19:02:46.291Z] #18 54.47 [100%] Linking C executable device-terminal [2024-01-16T19:02:46.558Z] #18 54.79 [100%] Built target device-terminal [2024-01-16T19:02:46.558Z] #18 54.84 Run CPack packaging tool... [2024-01-16T19:02:46.558Z] #18 54.88 CPack: Create package using TGZ [2024-01-16T19:02:46.558Z] #18 54.88 CPack: Install projects [2024-01-16T19:02:46.558Z] #18 54.88 CPack: - Run preinstall target for: Csdk [2024-01-16T19:02:47.515Z] #18 55.61 CPack: - Install project: Csdk [] [2024-01-16T19:02:47.515Z] #18 55.65 CPack: Create package [2024-01-16T19:02:47.515Z] #18 55.73 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-16T19:02:47.515Z] #18 55.74 + '[' false '=' true ] [2024-01-16T19:02:47.515Z] #18 55.74 + '[' false '=' true ] [2024-01-16T19:02:47.515Z] #18 55.74 + mkdir -p /tmp/sdk/build/debug [2024-01-16T19:02:47.515Z] #18 55.74 + cd /tmp/sdk/build/debug [2024-01-16T19:02:47.515Z] #18 55.74 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-16T19:02:47.783Z] #18 56.04 -- The C compiler identification is GNU 12.2.1 [2024-01-16T19:02:47.783Z] #18 56.10 -- Detecting C compiler ABI info [2024-01-16T19:02:48.050Z] #18 56.43 -- Detecting C compiler ABI info - done [2024-01-16T19:02:48.317Z] #18 56.51 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T19:02:48.317Z] #18 56.52 -- Detecting C compile features [2024-01-16T19:02:48.317Z] #18 56.52 -- Detecting C compile features - done [2024-01-16T19:02:48.317Z] #18 56.54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T19:02:48.317Z] #18 56.73 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T19:02:48.317Z] #18 56.75 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T19:02:48.583Z] #18 56.76 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T19:02:48.583Z] #18 56.78 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T19:02:48.583Z] #18 56.79 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T19:02:48.583Z] #18 56.81 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T19:02:48.583Z] #18 56.82 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T19:02:48.583Z] #18 56.83 -- /opt/iotech/iot/1.5/include [2024-01-16T19:02:48.583Z] #18 56.83 -- C SDK 0.0.0 for Linux [2024-01-16T19:02:48.583Z] #18 56.84 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T19:02:48.852Z] #18 57.15 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T19:02:48.852Z] #18 57.32 -- Found Curses: /usr/lib/libcurses.so [2024-01-16T19:02:49.118Z] #18 57.43 -- Configuring done (1.7s) [2024-01-16T19:02:49.387Z] #18 57.67 -- Generating done (0.2s) [2024-01-16T19:02:49.387Z] #18 57.69 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-16T19:02:49.387Z] #18 57.72 + make [2024-01-16T19:02:49.387Z] #18 57.72 + tee debug.log [2024-01-16T19:02:49.387Z] #18 57.84 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T19:02:49.966Z] #18 58.20 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T19:02:50.232Z] #18 58.59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T19:02:50.819Z] #18 58.93 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T19:02:50.819Z] #18 59.30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T19:02:51.402Z] #18 59.65 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T19:02:51.984Z] #18 60.31 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T19:02:52.566Z] #18 60.76 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T19:02:52.833Z] #18 60.92 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T19:02:53.101Z] #18 61.34 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T19:02:53.691Z] #18 61.98 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T19:02:53.959Z] #18 62.32 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T19:02:54.547Z] #18 62.72 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T19:02:54.814Z] #18 63.08 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T19:02:55.080Z] #18 63.40 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T19:02:55.662Z] #18 63.75 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T19:02:55.662Z] #18 63.97 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T19:02:56.242Z] #18 64.69 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T19:02:56.825Z] #18 64.92 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T19:02:56.825Z] #18 65.14 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T19:02:57.781Z] #18 65.74 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T19:02:58.739Z] #18 66.85 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T19:02:59.005Z] #18 67.19 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T19:02:59.273Z] #18 67.45 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T19:02:59.541Z] #18 67.75 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T19:02:59.807Z] #18 68.01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T19:03:00.391Z] #18 68.51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T19:03:01.349Z] #18 69.78 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T19:03:01.615Z] #18 70.05 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T19:03:02.200Z] #18 70.43 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T19:03:02.465Z] #18 70.79 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T19:03:02.731Z] #18 71.05 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T19:03:02.731Z] #18 71.05 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:03:02.731Z] #18 71.05 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T19:03:02.731Z] #18 71.05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:03:02.731Z] #18 71.05 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:03:02.731Z] #18 71.05 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T19:03:02.731Z] #18 71.05 | ^ [2024-01-16T19:03:03.312Z] #18 71.57 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T19:03:03.579Z] #18 71.93 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T19:03:03.845Z] #18 72.21 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T19:03:04.111Z] #18 72.49 [ 68%] Linking C shared library libcsdk.so [2024-01-16T19:03:04.377Z] #18 72.73 [ 68%] Built target csdk [2024-01-16T19:03:04.377Z] #18 72.78 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T19:03:04.956Z] #18 73.12 [ 72%] Linking C executable template [2024-01-16T19:03:05.222Z] #18 73.48 [ 72%] Built target template [2024-01-16T19:03:05.222Z] #18 73.54 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T19:03:05.804Z] #18 73.84 [ 76%] Linking C executable device-counter [2024-01-16T19:03:05.804Z] #18 74.24 [ 76%] Built target device-counter [2024-01-16T19:03:06.069Z] #18 74.30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T19:03:06.335Z] #18 74.60 [ 80%] Linking C executable device-random [2024-01-16T19:03:06.608Z] #18 74.99 [ 80%] Built target device-random [2024-01-16T19:03:06.874Z] #18 75.06 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T19:03:07.140Z] #18 75.34 [ 84%] Linking C executable device-gyro [2024-01-16T19:03:07.726Z] #18 75.76 [ 84%] Built target device-gyro [2024-01-16T19:03:07.726Z] #18 75.82 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T19:03:07.726Z] #18 76.12 [ 88%] Linking C executable device-bitfields [2024-01-16T19:03:08.307Z] #18 76.53 [ 88%] Built target device-bitfields [2024-01-16T19:03:08.307Z] #18 76.59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T19:03:08.576Z] #18 76.95 [ 92%] Linking C executable template-discovery [2024-01-16T19:03:09.159Z] #18 77.35 [ 92%] Built target template-discovery [2024-01-16T19:03:09.159Z] #18 77.42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T19:03:09.427Z] #18 77.76 [ 96%] Linking C executable device-file [2024-01-16T19:03:10.011Z] #18 78.19 [ 96%] Built target device-file [2024-01-16T19:03:10.011Z] #18 78.25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T19:03:10.279Z] #18 78.65 [100%] Linking C executable device-terminal [2024-01-16T19:03:10.545Z] #18 78.98 [100%] Built target device-terminal [2024-01-16T19:03:10.811Z] #18 79.01 make: Entering directory '/tmp/sdk/build/release' [2024-01-16T19:03:10.811Z] #18 79.16 [ 68%] Built target csdk [2024-01-16T19:03:10.811Z] #18 79.22 [ 72%] Built target template [2024-01-16T19:03:10.811Z] #18 79.27 [ 76%] Built target device-counter [2024-01-16T19:03:11.076Z] #18 79.33 [ 80%] Built target device-random [2024-01-16T19:03:11.076Z] #18 79.38 [ 84%] Built target device-gyro [2024-01-16T19:03:11.076Z] #18 79.43 [ 88%] Built target device-bitfields [2024-01-16T19:03:11.076Z] #18 79.48 [ 92%] Built target template-discovery [2024-01-16T19:03:11.351Z] #18 79.54 [ 96%] Built target device-file [2024-01-16T19:03:11.351Z] #18 79.60 [100%] Built target device-terminal [2024-01-16T19:03:11.351Z] #18 79.65 Install the project... [2024-01-16T19:03:11.351Z] #18 79.67 -- Install configuration: "Release" [2024-01-16T19:03:11.351Z] #18 79.67 -- Installing: /usr/local/lib/libcsdk.so [2024-01-16T19:03:11.351Z] #18 79.68 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-16T19:03:11.351Z] #18 79.68 -- Installing: /usr/local/include [2024-01-16T19:03:11.351Z] #18 79.68 -- Installing: /usr/local/include/devsdk [2024-01-16T19:03:11.351Z] #18 79.68 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-16T19:03:11.352Z] #18 79.68 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-16T19:03:11.352Z] #18 79.68 -- Installing: /usr/local/include/edgex [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/devices.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-16T19:03:11.352Z] #18 79.69 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-16T19:03:11.352Z] #18 79.71 make: Leaving directory '/tmp/sdk/build/release' [2024-01-16T19:03:11.619Z] #18 DONE 79.8s [2024-01-16T19:03:11.619Z] [2024-01-16T19:03:11.619Z] #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-16T19:03:11.885Z] #19 DONE 0.1s [2024-01-16T19:03:11.885Z] [2024-01-16T19:03:11.885Z] #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-16T19:03:11.885Z] #20 DONE 0.1s [2024-01-16T19:03:11.885Z] [2024-01-16T19:03:11.885Z] #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-16T19:03:11.885Z] #21 DONE 0.1s [2024-01-16T19:03:12.151Z] [2024-01-16T19:03:12.151Z] #22 exporting to image [2024-01-16T19:03:12.151Z] #22 exporting layers [2024-01-16T19:03:12.417Z] #22 exporting layers 0.4s done [2024-01-16T19:03:12.417Z] #22 writing image sha256:91757d88632aae918c1526d17783ddd2be62e1e373cf61e39007e7426d7c2d7b done [2024-01-16T19:03:12.417Z] #22 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-16T19:03:12.417Z] #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-16T19:03:13.086Z] + docker inspect -f . ci-base-image-arm64 [2024-01-16T19:03:13.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:03:13.293Z] prd-ubuntu20.04-docker-arm64-4c-16g-27337 does not seem to be running inside a container [2024-01-16T19:03:13.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-16T19:03:14.394Z] $ docker top 0b2256ea73ee548851a987cedb87b805d0a5000a34dba43b059988c6f39dec8d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T19:03:14.908Z] + make test [2024-01-16T19:03:14.908Z] echo "make test" [2024-01-16T19:03:14.908Z] make test [Pipeline] } [2024-01-16T19:03:14.932Z] $ docker stop --time=1 0b2256ea73ee548851a987cedb87b805d0a5000a34dba43b059988c6f39dec8d [2024-01-16T19:03:16.426Z] $ docker rm -f --volumes 0b2256ea73ee548851a987cedb87b805d0a5000a34dba43b059988c6f39dec8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T19:03:17.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-16T19:03:17.430Z] + ls -al . [2024-01-16T19:03:17.430Z] total 208 [2024-01-16T19:03:17.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 19:00 . [2024-01-16T19:03:17.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:00 .. [2024-01-16T19:03:17.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 19:00 .git [2024-01-16T19:03:17.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 19:00 .github [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 19:00 .gitignore [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 16 19:00 Attribution.txt [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 16 19:00 CHANGELOG.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 19:00 Doxyfile [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 19:00 GOVERNANCE.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 19:00 Jenkinsfile [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 19:00 LICENSE [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 19:00 Makefile [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 19:00 OWNERS.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 16 19:00 README.IOT.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 16 19:00 README.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 19:00 README.v3.md [2024-01-16T19:03:17.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 18:58 VERSION [2024-01-16T19:03:17.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:00 docs [2024-01-16T19:03:17.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:00 include [2024-01-16T19:03:17.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 19:00 scripts [2024-01-16T19:03:17.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:03:17.819Z] + 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=14a8fccf1f583826766debbf99bc97a673fc3b10 --label arch=arm64 --label version=0.0.0 . [2024-01-16T19:03:18.399Z] #0 building with "default" instance using docker driver [2024-01-16T19:03:18.399Z] [2024-01-16T19:03:18.399Z] #1 [internal] load .dockerignore [2024-01-16T19:03:18.399Z] #1 transferring context: 2B done [2024-01-16T19:03:18.399Z] #1 DONE 0.0s [2024-01-16T19:03:18.399Z] [2024-01-16T19:03:18.399Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-16T19:03:18.399Z] #2 transferring dockerfile: 1.56kB 0.0s done [2024-01-16T19:03:18.399Z] #2 DONE 0.0s [2024-01-16T19:03:18.399Z] [2024-01-16T19:03:18.399Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-16T19:03:18.665Z] #3 DONE 0.0s [2024-01-16T19:03:18.665Z] [2024-01-16T19:03:18.665Z] #4 [internal] load build context [2024-01-16T19:03:18.665Z] #4 transferring context: 8.55kB 0.0s done [2024-01-16T19:03:18.665Z] #4 DONE 0.1s [2024-01-16T19:03:18.665Z] [2024-01-16T19:03:18.665Z] #5 [ 1/12] FROM docker.io/library/ci-base-image-arm64 [2024-01-16T19:03:18.665Z] #5 DONE 0.2s [2024-01-16T19:03:18.665Z] [2024-01-16T19:03:18.665Z] #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-16T19:03:19.245Z] #6 0.569 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-16T19:03:19.823Z] #6 1.083 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T19:03:19.823Z] #6 1.087 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T19:03:19.823Z] #6 1.087 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T19:03:19.823Z] #6 DONE 1.2s [2024-01-16T19:03:19.823Z] [2024-01-16T19:03:19.823Z] #7 [ 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T19:03:24.063Z] #7 DONE 4.3s [2024-01-16T19:03:24.063Z] [2024-01-16T19:03:24.063Z] #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-16T19:03:24.645Z] #8 0.684 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:25.225Z] #8 1.061 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:25.803Z] #8 1.607 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:26.382Z] #8 2.485 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:03:26.646Z] #8 2.514 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T19:03:26.914Z] #8 2.827 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-16T19:03:26.914Z] #8 2.844 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T19:03:26.914Z] #8 2.853 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T19:03:26.914Z] #8 2.859 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T19:03:26.914Z] #8 2.867 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T19:03:26.914Z] #8 2.895 (7/11) Installing libblkid (2.38.1-r8) [2024-01-16T19:03:27.180Z] #8 2.909 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-16T19:03:27.180Z] #8 2.926 (9/11) Installing libmount (2.38.1-r8) [2024-01-16T19:03:27.180Z] #8 2.941 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-16T19:03:27.180Z] #8 2.955 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-16T19:03:27.180Z] #8 3.031 Executing busybox-1.36.1-r5.trigger [2024-01-16T19:03:27.180Z] #8 3.071 OK: 334 MiB in 101 packages [2024-01-16T19:03:27.445Z] #8 DONE 3.4s [2024-01-16T19:03:27.445Z] [2024-01-16T19:03:27.445Z] #9 [ 5/12] RUN apk --no-cache upgrade [2024-01-16T19:03:28.024Z] #9 0.678 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:28.610Z] #9 0.983 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:28.874Z] #9 1.447 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:03:29.830Z] #9 2.295 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:03:29.830Z] #9 2.343 OK: 334 MiB in 101 packages [2024-01-16T19:03:30.096Z] #9 DONE 2.6s [2024-01-16T19:03:30.096Z] [2024-01-16T19:03:30.096Z] #10 [ 6/12] COPY VERSION /edgex-c-sdk/ [2024-01-16T19:03:30.096Z] #10 DONE 0.1s [2024-01-16T19:03:30.365Z] [2024-01-16T19:03:30.365Z] #11 [ 7/12] COPY src /edgex-c-sdk/src/ [2024-01-16T19:03:30.365Z] #11 DONE 0.2s [2024-01-16T19:03:30.365Z] [2024-01-16T19:03:30.365Z] #12 [ 8/12] COPY include /edgex-c-sdk/include/ [2024-01-16T19:03:30.365Z] #12 DONE 0.1s [2024-01-16T19:03:30.630Z] [2024-01-16T19:03:30.630Z] #13 [ 9/12] COPY scripts /edgex-c-sdk/scripts [2024-01-16T19:03:30.630Z] #13 DONE 0.1s [2024-01-16T19:03:30.630Z] [2024-01-16T19:03:30.630Z] #14 [10/12] COPY LICENSE /edgex-c-sdk/ [2024-01-16T19:03:30.630Z] #14 DONE 0.1s [2024-01-16T19:03:30.630Z] [2024-01-16T19:03:30.630Z] #15 [11/12] COPY Attribution.txt /edgex-c-sdk/ [2024-01-16T19:03:30.630Z] #15 DONE 0.1s [2024-01-16T19:03:30.895Z] [2024-01-16T19:03:30.895Z] #16 [12/12] WORKDIR /edgex-c-sdk [2024-01-16T19:03:30.895Z] #16 DONE 0.1s [2024-01-16T19:03:30.895Z] [2024-01-16T19:03:30.895Z] #17 exporting to image [2024-01-16T19:03:30.895Z] #17 exporting layers [2024-01-16T19:03:31.476Z] #17 exporting layers 0.5s done [2024-01-16T19:03:31.476Z] #17 writing image sha256:3e3fcebc0186baae5b7796594f9c7fffbfca32ad76194236c0b5b9919c1868c3 done [2024-01-16T19:03:31.476Z] #17 naming to docker.io/library/device-sdk-arm64 done [2024-01-16T19:03:31.476Z] #17 DONE 0.6s [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-16T19:03:32.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:03:32.188Z] [2024-01-16T19:03:32.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:03:32.534Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:03:32.534Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-16T19:03:32.534Z] 8998bd30e6a1: Pulling fs layer [2024-01-16T19:03:32.534Z] 04944245beec: Pulling fs layer [2024-01-16T19:03:32.534Z] 699f458cf7ca: Pulling fs layer [2024-01-16T19:03:32.534Z] 765212b225bb: Pulling fs layer [2024-01-16T19:03:32.534Z] f23df028b6ca: Pulling fs layer [2024-01-16T19:03:32.534Z] d65c8cfc05b1: Pulling fs layer [2024-01-16T19:03:32.534Z] 2437ff75d9bd: Pulling fs layer [2024-01-16T19:03:32.534Z] f23df028b6ca: Waiting [2024-01-16T19:03:32.534Z] d65c8cfc05b1: Waiting [2024-01-16T19:03:32.534Z] 2437ff75d9bd: Waiting [2024-01-16T19:03:32.534Z] 765212b225bb: Waiting [2024-01-16T19:03:32.798Z] 04944245beec: Verifying Checksum [2024-01-16T19:03:32.798Z] 765212b225bb: Verifying Checksum [2024-01-16T19:03:32.798Z] 765212b225bb: Download complete [2024-01-16T19:03:32.798Z] f23df028b6ca: Verifying Checksum [2024-01-16T19:03:32.798Z] f23df028b6ca: Download complete [2024-01-16T19:03:32.798Z] d65c8cfc05b1: Download complete [2024-01-16T19:03:33.063Z] 699f458cf7ca: Verifying Checksum [2024-01-16T19:03:33.063Z] 699f458cf7ca: Download complete [2024-01-16T19:03:33.328Z] 8998bd30e6a1: Verifying Checksum [2024-01-16T19:03:33.328Z] 8998bd30e6a1: Download complete [2024-01-16T19:03:35.269Z] 2437ff75d9bd: Verifying Checksum [2024-01-16T19:03:35.269Z] 2437ff75d9bd: Download complete [2024-01-16T19:03:39.513Z] 8998bd30e6a1: Pull complete [2024-01-16T19:03:39.513Z] 04944245beec: Pull complete [2024-01-16T19:03:41.451Z] 699f458cf7ca: Pull complete [2024-01-16T19:03:41.451Z] 765212b225bb: Pull complete [2024-01-16T19:03:42.410Z] f23df028b6ca: Pull complete [2024-01-16T19:03:42.410Z] d65c8cfc05b1: Pull complete [2024-01-16T19:04:09.103Z] 2437ff75d9bd: Pull complete [2024-01-16T19:04:09.103Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-16T19:04:09.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:04:09.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:04:09.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-27337 does not seem to be running inside a container [2024-01-16T19:04:09.428Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-16T19:04:10.658Z] $ docker top 7c7b8d19c4214d0bbb070b76850e571ccb92d64954d209b7f308668c1364d8ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:11.174Z] ---> job-cost.sh [2024-01-16T19:04:11.439Z] lf-activate-venv: SKIPPING [2024-01-16T19:04:11.439Z] INFO: No Stack... [2024-01-16T19:04:11.704Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T19:04:12.661Z] INFO: Archiving Costs [Pipeline] sh [2024-01-16T19:04:12.980Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2024-01-16T19:04:12.980Z] + cut -d, -f6 [Pipeline] lock [2024-01-16T19:04:13.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [2024-01-16T19:04:13.054Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] did not exist. Created. [2024-01-16T19:04:13.054Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-16T19:04:13.443Z] /w/workspace/device-sdk-c/3@tmp/durable-d806cc04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-16T19:04:13.759Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-16T19:04:13.774Z] Warning: overwriting stash ‘stack-cost’ [2024-01-16T19:04:14.185Z] Stashed 1 file(s) [Pipeline] } [2024-01-16T19:04:14.194Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-16T19:04:14.276Z] $ docker stop --time=1 7c7b8d19c4214d0bbb070b76850e571ccb92d64954d209b7f308668c1364d8ad [2024-01-16T19:04:15.659Z] $ docker rm -f --volumes 7c7b8d19c4214d0bbb070b76850e571ccb92d64954d209b7f308668c1364d8ad [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-16T19:04:17.281Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-01-16T19:04:17.281Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-16T19:04:17.281Z] total 16 [2024-01-16T19:04:17.281Z] drwxr-xr-x 3 root root 4096 Jan 16 18:59 . [2024-01-16T19:04:17.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 18:59 .. [2024-01-16T19:04:17.281Z] drwxr-xr-x 2 root root 4096 Jan 16 18:59 cost [2024-01-16T19:04:17.281Z] -rw-r--r-- 1 root root 84 Jan 16 18:59 cost.csv [2024-01-16T19:04:17.281Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-16T19:04:17.281Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-01-16T19:04:17.281Z] total 16 [2024-01-16T19:04:17.281Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 18:59 . [2024-01-16T19:04:17.281Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 18:59 .. [2024-01-16T19:04:17.281Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 18:59 cost [2024-01-16T19:04:17.281Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 16 18:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:17.573Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:18.432Z] ---> package-listing.sh [2024-01-16T19:04:18.432Z] ++ facter osfamily [2024-01-16T19:04:18.432Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-16T19:04:18.691Z] + OS_FAMILY=debian [2024-01-16T19:04:18.691Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-01-16T19:04:18.691Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-16T19:04:18.691Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-16T19:04:18.691Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-16T19:04:18.691Z] + PACKAGES=/tmp/packages_start.txt [2024-01-16T19:04:18.691Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-16T19:04:18.691Z] + PACKAGES=/tmp/packages_end.txt [2024-01-16T19:04:18.691Z] + case "${OS_FAMILY}" in [2024-01-16T19:04:18.691Z] + dpkg -l [2024-01-16T19:04:18.691Z] + grep '^ii' [2024-01-16T19:04:18.691Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-16T19:04:18.691Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-16T19:04:18.691Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-16T19:04:18.691Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-01-16T19:04:18.691Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-01-16T19:04:18.691Z] + 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-16T19:04:18.703Z] 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-16T19:04:18.980Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:04:19.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T19:04:19.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:04:19.701Z] prd-ubuntu20.04-docker-8c-8g-27335 does not seem to be running inside a container [2024-01-16T19:04:19.730Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-16T19:04:19.920Z] $ docker top b048e3e9810fbc12d7e57fb1d3d3c5a79c87bbebda61849190d118bc0cb39b00 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T19:04:20.322Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-16T19:04:20.612Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-16T19:04:20.900Z] + ls /var/log/sa-host [2024-01-16T19:04:20.900Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T19:04:20.998Z] provisioning config files... [2024-01-16T19:04:21.007Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config14676560121369477757tmp [Pipeline] { [Pipeline] echo [2024-01-16T19:04:21.082Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:21.372Z] ---> create-netrc.sh [Pipeline] } [2024-01-16T19:04:21.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:21.769Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-16T19:04:21.778Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:22.061Z] ---> sudo-logs.sh [2024-01-16T19:04:22.062Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-16T19:04:22.130Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:22.415Z] ---> job-cost.sh [2024-01-16T19:04:22.415Z] lf-activate-venv: SKIPPING [2024-01-16T19:04:22.415Z] DEBUG: total: 0.2199999988079071 [2024-01-16T19:04:22.415Z] INFO: Retrieving Stack Cost... [2024-01-16T19:04:22.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T19:04:23.243Z] INFO: Archiving Costs [Pipeline] echo [2024-01-16T19:04:23.257Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:04:23.542Z] ---> logs-deploy.sh [2024-01-16T19:04:23.542Z] lf-activate-venv: SKIPPING [2024-01-16T19:04:23.542Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/3 [2024-01-16T19:04:23.542Z] INFO: archiving workspace using pattern(s): [2024-01-16T19:04:24.479Z] Archives upload complete. [2024-01-16T19:04:24.479Z] INFO: archiving logs to Nexus [2024-01-16T19:04:25.046Z] ---> uname -a: [2024-01-16T19:04:25.046Z] Linux prd-ubuntu20-04-docker-8c-8g-27335 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] ---> lscpu: [2024-01-16T19:04:25.046Z] Architecture: x86_64 [2024-01-16T19:04:25.046Z] CPU op-mode(s): 32-bit, 64-bit [2024-01-16T19:04:25.046Z] Byte Order: Little Endian [2024-01-16T19:04:25.046Z] Address sizes: 40 bits physical, 48 bits virtual [2024-01-16T19:04:25.046Z] CPU(s): 8 [2024-01-16T19:04:25.046Z] On-line CPU(s) list: 0-7 [2024-01-16T19:04:25.046Z] Thread(s) per core: 1 [2024-01-16T19:04:25.046Z] Core(s) per socket: 1 [2024-01-16T19:04:25.046Z] Socket(s): 8 [2024-01-16T19:04:25.046Z] NUMA node(s): 1 [2024-01-16T19:04:25.046Z] Vendor ID: AuthenticAMD [2024-01-16T19:04:25.046Z] CPU family: 23 [2024-01-16T19:04:25.046Z] Model: 49 [2024-01-16T19:04:25.046Z] Model name: AMD EPYC-Rome Processor [2024-01-16T19:04:25.046Z] Stepping: 0 [2024-01-16T19:04:25.046Z] CPU MHz: 2800.000 [2024-01-16T19:04:25.046Z] BogoMIPS: 5600.00 [2024-01-16T19:04:25.046Z] Virtualization: AMD-V [2024-01-16T19:04:25.046Z] Hypervisor vendor: KVM [2024-01-16T19:04:25.046Z] Virtualization type: full [2024-01-16T19:04:25.046Z] L1d cache: 256 KiB [2024-01-16T19:04:25.046Z] L1i cache: 256 KiB [2024-01-16T19:04:25.046Z] L2 cache: 4 MiB [2024-01-16T19:04:25.046Z] L3 cache: 128 MiB [2024-01-16T19:04:25.046Z] NUMA node0 CPU(s): 0-7 [2024-01-16T19:04:25.046Z] Vulnerability Itlb multihit: Not affected [2024-01-16T19:04:25.046Z] Vulnerability L1tf: Not affected [2024-01-16T19:04:25.046Z] Vulnerability Mds: Not affected [2024-01-16T19:04:25.046Z] Vulnerability Meltdown: Not affected [2024-01-16T19:04:25.046Z] Vulnerability Mmio stale data: Not affected [2024-01-16T19:04:25.046Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-01-16T19:04:25.046Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-01-16T19:04:25.046Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-01-16T19:04:25.046Z] Vulnerability Srbds: Not affected [2024-01-16T19:04:25.046Z] Vulnerability Tsx async abort: Not affected [2024-01-16T19:04:25.046Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] ---> nproc: [2024-01-16T19:04:25.046Z] 8 [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] ---> df -h: [2024-01-16T19:04:25.046Z] Filesystem Size Used Avail Use% Mounted on [2024-01-16T19:04:25.046Z] overlay 155G 11G 145G 7% / [2024-01-16T19:04:25.046Z] tmpfs 64M 0 64M 0% /dev [2024-01-16T19:04:25.046Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-01-16T19:04:25.046Z] shm 64M 0 64M 0% /dev/shm [2024-01-16T19:04:25.046Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] ---> sar -b -r -n DEV: [2024-01-16T19:04:25.046Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-27335) 01/16/24 _x86_64_ (8 CPU) [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] 18:57:02 LINUX RESTART (8 CPU) [2024-01-16T19:04:25.046Z] [2024-01-16T19:04:25.046Z] 18:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2024-01-16T19:04:25.047Z] 18:59:01 270.40 0.57 269.84 0.00 51.72 109117.41 0.00 [2024-01-16T19:04:25.047Z] 19:00:01 4.13 0.12 4.02 0.00 2.13 62.66 0.00 [2024-01-16T19:04:25.047Z] 19:01:01 1.43 0.00 1.43 0.00 0.00 16.01 0.00 [2024-01-16T19:04:25.047Z] 19:02:01 1.57 0.00 1.57 0.00 0.00 18.66 0.00 [2024-01-16T19:04:25.047Z] 19:03:01 47.89 11.40 36.49 0.00 3451.16 5928.88 0.00 [2024-01-16T19:04:25.047Z] 19:04:01 3.98 0.02 3.97 0.00 0.13 84.65 0.00 [2024-01-16T19:04:25.047Z] Average: 54.90 2.02 52.89 0.00 584.19 19204.71 0.00 [2024-01-16T19:04:25.047Z] [2024-01-16T19:04:25.047Z] 18:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2024-01-16T19:04:25.047Z] 18:59:01 28974908 31533636 765716 2.33 90348 2723960 1949880 5.75 1081052 2399776 312 [2024-01-16T19:04:25.047Z] 19:00:01 28999196 31558672 740384 2.25 90440 2724044 1746704 5.15 1069844 2387264 164 [2024-01-16T19:04:25.047Z] 19:01:01 28999428 31558932 739640 2.25 90480 2724048 1746704 5.15 1069780 2387268 44 [2024-01-16T19:04:25.047Z] 19:02:01 29002144 31561524 737296 2.24 90536 2724040 1746704 5.15 1067816 2387272 28 [2024-01-16T19:04:25.047Z] 19:03:01 28653552 31538312 737808 2.24 113352 3020244 1745296 5.14 1300304 2470108 0 [2024-01-16T19:04:25.047Z] 19:04:01 28669564 31549608 726560 2.21 111928 3017004 1697504 5.00 1290136 2466912 8 [2024-01-16T19:04:25.047Z] Average: 28883132 31550114 741234 2.25 97847 2822223 1772132 5.22 1146489 2416433 93 [2024-01-16T19:04:25.047Z] [2024-01-16T19:04:25.047Z] 18:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2024-01-16T19:04:25.047Z] 18:59:01 ens3 240.69 147.24 4851.22 38.28 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 18:59:01 docker0 20.73 29.81 1.37 288.02 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 18:59:01 lo 3.33 3.33 0.33 0.33 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:00:01 ens3 16.76 18.18 7.94 54.92 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:00:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:01:01 ens3 3.55 4.17 0.46 13.37 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:02:01 ens3 0.38 0.20 0.78 0.01 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:03:01 ens3 119.43 55.44 2072.59 10.88 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:03:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:04:01 ens3 6.90 11.10 0.77 14.62 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] 19:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] Average: ens3 64.62 39.39 1155.63 22.01 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] Average: docker0 3.45 4.97 0.23 48.00 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] Average: lo 0.74 0.74 0.07 0.07 0.00 0.00 0.00 0.00 [2024-01-16T19:04:25.047Z] [2024-01-16T19:04:25.047Z]