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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 88225b2b2af007b234a268bddf4c2374904aaf88+6bdae90b977cdeecb957260a94da902cfcf10c29 (51bb4d86ea94f6a1778c0ecdbae2cc91b10c411e) 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-ssh16305227107335182612.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-ssh5829857066795444002.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-500/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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11435972723991299284.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-ssh12115301992586035905.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-500/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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10028652355799895190.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-27721 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [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-500 # 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 Merge succeeded, producing f6cb4cd58117d4686b66d92d5eeade31b5643599 Checking out Revision f6cb4cd58117d4686b66d92d5eeade31b5643599 (PR-500) > git config core.sparsecheckout # timeout=10 > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6cb4cd58117d4686b66d92d5eeade31b5643599 # timeout=10 Commit message: "Merge commit '6bdae90b977cdeecb957260a94da902cfcf10c29' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-23T18:56:27.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-23T18:56:28.095Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-23T18:56:28.122Z] ========================================================= [2024-01-23T18:56:28.122Z] EdgeX Global Pipelines Version Info [2024-01-23T18:56:28.122Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:56:29.267Z] ------------------- [2024-01-23T18:56:29.267Z] stable info: [2024-01-23T18:56:29.267Z] ------------------- [2024-01-23T18:56:29.267Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-23T18:56:29.267Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-23T18:56:29.267Z] Message: update stable to v1.0.258 [2024-01-23T18:56:29.837Z] ------------------- [2024-01-23T18:56:29.837Z] experimental info: [2024-01-23T18:56:29.837Z] ------------------- [2024-01-23T18:56:29.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-23T18:56:29.837Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-23T18:56:29.837Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-23T18:56:29.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-23T18:56:29.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-23T18:56:29.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-23T18:56:29.987Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-23T18:56:30.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-23T18:56:30.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-23T18:56:30.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-23T18:56:30.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-23T18:56:30.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-23T18:56:30.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-23T18:56:30.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-23T18:56:30.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-23T18:56:30.231Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-23T18:56:30.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-23T18:56:30.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-23T18:56:30.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-23T18:56:30.349Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-23T18:56:30.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2024-01-23T18:56:30.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2024-01-23T18:56:30.449Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2024-01-23T18:56:30.480Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6cb4cd58117d4686b66d92d5eeade31b5643599 [Pipeline] echo [2024-01-23T18:56:30.514Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6cb4cd [Pipeline] echo [2024-01-23T18:56:30.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T18:56:30.640Z] provisioning config files... [2024-01-23T18:56:30.654Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config13093027249261548347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:56:30.997Z] ---> ****-login.sh [2024-01-23T18:56:30.997Z] nexus3.edgexfoundry.org:10001 [2024-01-23T18:56:31.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:31.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:31.851Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:31.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:31.851Z] [2024-01-23T18:56:31.851Z] Login Succeeded [2024-01-23T18:56:31.851Z] nexus3.edgexfoundry.org:10002 [2024-01-23T18:56:31.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:31.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:31.851Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:31.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:31.851Z] [2024-01-23T18:56:31.851Z] Login Succeeded [2024-01-23T18:56:31.851Z] nexus3.edgexfoundry.org:10003 [2024-01-23T18:56:32.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:32.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:32.115Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:32.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:32.116Z] [2024-01-23T18:56:32.116Z] Login Succeeded [2024-01-23T18:56:32.116Z] nexus3.edgexfoundry.org:10004 [2024-01-23T18:56:32.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:32.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:32.116Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:32.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:32.116Z] [2024-01-23T18:56:32.116Z] Login Succeeded [2024-01-23T18:56:32.116Z] ****.io [2024-01-23T18:56:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:32.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:32.640Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:32.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:32.640Z] [2024-01-23T18:56:32.640Z] Login Succeeded [2024-01-23T18:56:32.640Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T18:56:32.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-01-23T18:56:33.129Z] + git rev-list -1 --merges f6cb4cd58117d4686b66d92d5eeade31b5643599~1..f6cb4cd58117d4686b66d92d5eeade31b5643599 [Pipeline] echo [2024-01-23T18:56:33.171Z] -----------> git rev-list -1 --merges f6cb4cd58117d4686b66d92d5eeade31b5643599~1..f6cb4cd58117d4686b66d92d5eeade31b5643599 f6cb4cd58117d4686b66d92d5eeade31b5643599 [2024-01-23T18:56:33.171Z] f6cb4cd58117d4686b66d92d5eeade31b5643599 [false] [Pipeline] sh [2024-01-23T18:56:33.468Z] + git log --format=format:%s -1 f6cb4cd58117d4686b66d92d5eeade31b5643599 [Pipeline] echo [2024-01-23T18:56:33.483Z] ========================================================= [2024-01-23T18:56:33.483Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-23T18:56:33.483Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-23T18:56:34.025Z] + git rev-list -1 --merges f6cb4cd58117d4686b66d92d5eeade31b5643599~1..f6cb4cd58117d4686b66d92d5eeade31b5643599 [Pipeline] echo [2024-01-23T18:56:34.036Z] -----------> git rev-list -1 --merges f6cb4cd58117d4686b66d92d5eeade31b5643599~1..f6cb4cd58117d4686b66d92d5eeade31b5643599 f6cb4cd58117d4686b66d92d5eeade31b5643599 [2024-01-23T18:56:34.036Z] f6cb4cd58117d4686b66d92d5eeade31b5643599 [false] [Pipeline] sh [2024-01-23T18:56:34.340Z] + git log --format=format:%s -1 f6cb4cd58117d4686b66d92d5eeade31b5643599 [Pipeline] echo [2024-01-23T18:56:34.356Z] ========================================================= [2024-01-23T18:56:34.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-23T18:56:34.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-23T18:56:34.812Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-23T18:56:34.812Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-23T18:56:34.812Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-23T18:56:34.812Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-23T18:56:34.812Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-23T18:56:34.812Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-23T18:56:34.812Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:56:35.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:35.247Z] [2024-01-23T18:56:35.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:56:35.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:35.564Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-23T18:56:35.564Z] b85a868b505f: Pulling fs layer [2024-01-23T18:56:35.564Z] e2be974225ed: Pulling fs layer [2024-01-23T18:56:35.564Z] 339a4e72a1f5: Pulling fs layer [2024-01-23T18:56:35.564Z] 988bab9f4d93: Pulling fs layer [2024-01-23T18:56:35.564Z] 1469e6f7b9e6: Pulling fs layer [2024-01-23T18:56:35.564Z] eaf3925da568: Pulling fs layer [2024-01-23T18:56:35.564Z] bab4dde63d76: Pulling fs layer [2024-01-23T18:56:35.564Z] bde34c3a00c8: Pulling fs layer [2024-01-23T18:56:35.564Z] b352a97aabf1: Pulling fs layer [2024-01-23T18:56:35.564Z] 4872d77fe225: Pulling fs layer [2024-01-23T18:56:35.564Z] 5851b861e8e6: Pulling fs layer [2024-01-23T18:56:35.564Z] 988bab9f4d93: Waiting [2024-01-23T18:56:35.564Z] bde34c3a00c8: Waiting [2024-01-23T18:56:35.564Z] 4872d77fe225: Waiting [2024-01-23T18:56:35.564Z] b352a97aabf1: Waiting [2024-01-23T18:56:35.564Z] 5851b861e8e6: Waiting [2024-01-23T18:56:35.564Z] 1469e6f7b9e6: Waiting [2024-01-23T18:56:35.564Z] eaf3925da568: Waiting [2024-01-23T18:56:35.564Z] e2be974225ed: Verifying Checksum [2024-01-23T18:56:35.564Z] e2be974225ed: Download complete [2024-01-23T18:56:35.564Z] 988bab9f4d93: Verifying Checksum [2024-01-23T18:56:35.564Z] 988bab9f4d93: Download complete [2024-01-23T18:56:35.564Z] 1469e6f7b9e6: Verifying Checksum [2024-01-23T18:56:35.564Z] 1469e6f7b9e6: Download complete [2024-01-23T18:56:35.564Z] 339a4e72a1f5: Verifying Checksum [2024-01-23T18:56:35.564Z] 339a4e72a1f5: Download complete [2024-01-23T18:56:35.822Z] eaf3925da568: Verifying Checksum [2024-01-23T18:56:35.822Z] eaf3925da568: Download complete [2024-01-23T18:56:35.822Z] bde34c3a00c8: Verifying Checksum [2024-01-23T18:56:35.822Z] bde34c3a00c8: Download complete [2024-01-23T18:56:35.822Z] b352a97aabf1: Verifying Checksum [2024-01-23T18:56:35.822Z] b352a97aabf1: Download complete [2024-01-23T18:56:35.822Z] 4872d77fe225: Verifying Checksum [2024-01-23T18:56:35.822Z] 4872d77fe225: Download complete [2024-01-23T18:56:35.822Z] 5851b861e8e6: Verifying Checksum [2024-01-23T18:56:35.822Z] 5851b861e8e6: Download complete [2024-01-23T18:56:35.822Z] b85a868b505f: Verifying Checksum [2024-01-23T18:56:35.822Z] b85a868b505f: Download complete [2024-01-23T18:56:36.081Z] bab4dde63d76: Verifying Checksum [2024-01-23T18:56:36.081Z] bab4dde63d76: Download complete [2024-01-23T18:56:37.463Z] b85a868b505f: Pull complete [2024-01-23T18:56:37.463Z] e2be974225ed: Pull complete [2024-01-23T18:56:38.039Z] 339a4e72a1f5: Pull complete [2024-01-23T18:56:38.039Z] 988bab9f4d93: Pull complete [2024-01-23T18:56:38.609Z] 1469e6f7b9e6: Pull complete [2024-01-23T18:56:38.609Z] eaf3925da568: Pull complete [2024-01-23T18:56:41.172Z] bab4dde63d76: Pull complete [2024-01-23T18:56:41.172Z] bde34c3a00c8: Pull complete [2024-01-23T18:56:41.172Z] b352a97aabf1: Pull complete [2024-01-23T18:56:41.172Z] 4872d77fe225: Pull complete [2024-01-23T18:56:41.172Z] 5851b861e8e6: Pull complete [2024-01-23T18:56:41.172Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-23T18:56:41.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-23T18:56:41.172Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:56:41.352Z] prd-ubuntu20.04-docker-8c-8g-27721 does not seem to be running inside a container [2024-01-23T18:56:41.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@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-23T18:56:45.213Z] $ docker top e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 -eo pid,comm [2024-01-23T18:56:45.267Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-01-23T18:56:45.267Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-23T18:56:45.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-23T18:56:45.355Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-23T18:56:45.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-23T18:56:45.474Z] $ docker exec e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 ssh-agent [2024-01-23T18:56:45.577Z] SSH_AUTH_SOCK=/tmp/ssh-vapRBezkR6JO/agent.31 [2024-01-23T18:56:45.577Z] SSH_AGENT_PID=37 [2024-01-23T18:56:45.584Z] Running ssh-add (command line suppressed) [2024-01-23T18:56:45.694Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_14094932505029245643.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_14094932505029245643.key) [2024-01-23T18:56:45.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-23T18:56:46.006Z] + git tag --points-at HEAD [Pipeline] } [2024-01-23T18:56:46.022Z] $ docker exec --env ******** --env ******** e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 ssh-agent -k [2024-01-23T18:56:46.134Z] unset SSH_AUTH_SOCK; [2024-01-23T18:56:46.134Z] unset SSH_AGENT_PID; [2024-01-23T18:56:46.134Z] echo Agent pid 37 killed; [2024-01-23T18:56:46.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-23T18:56:46.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-23T18:56:46.202Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-23T18:56:46.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-23T18:56:46.321Z] $ docker exec e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 ssh-agent [2024-01-23T18:56:46.439Z] SSH_AUTH_SOCK=/tmp/ssh-94GQTRRDknpi/agent.69 [2024-01-23T18:56:46.439Z] SSH_AGENT_PID=75 [2024-01-23T18:56:46.445Z] Running ssh-add (command line suppressed) [2024-01-23T18:56:46.561Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_17869530881810522976.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_17869530881810522976.key) [2024-01-23T18:56:46.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-23T18:56:46.880Z] + git semver init [2024-01-23T18:56:47.141Z] 2024-01-23 18:56:47,082 [run_init] DEBUG init version:0.0.0 force:False [2024-01-23T18:56:47.142Z] 2024-01-23 18:56:47,083 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-23T18:56:47.142Z] 2024-01-23 18:56:47,084 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-23T18:56:47.142Z] 2024-01-23 18:56:47,084 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500, universal_newlines=False, shell=None, istream=None) [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,943 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.git/info/exclude [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 with force:False [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,944 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,947 [execute] INFO git cat-file --batch-check [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,954 [execute] INFO git cat-file --batch [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-23T18:56:48.088Z] 2024-01-23 18:56:47,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-23T18:56:48.088Z] 0.0.0 [Pipeline] } [2024-01-23T18:56:48.103Z] $ docker exec --env ******** --env ******** e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 ssh-agent -k [2024-01-23T18:56:48.211Z] unset SSH_AUTH_SOCK; [2024-01-23T18:56:48.211Z] unset SSH_AGENT_PID; [2024-01-23T18:56:48.212Z] echo Agent pid 75 killed; [2024-01-23T18:56:48.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-23T18:56:48.588Z] + git semver [Pipeline] } [2024-01-23T18:56:48.863Z] $ docker stop --time=1 e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 [2024-01-23T18:56:50.206Z] $ docker rm -f --volumes e3320d5ccc9aee9ae862d1ce0128911dc74883f24b911e0bed399f47bad912c2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-23T18:56:50.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-23T18:56:51.004Z] Stashed 1 file(s) [Pipeline] echo [2024-01-23T18:56:51.007Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T18:56:51.324Z] provisioning config files... [2024-01-23T18:56:51.335Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config9040611693692345074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:56:51.654Z] ---> ****-login.sh [2024-01-23T18:56:51.655Z] nexus3.edgexfoundry.org:10001 [2024-01-23T18:56:51.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:51.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:51.655Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:51.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:51.655Z] [2024-01-23T18:56:51.655Z] Login Succeeded [2024-01-23T18:56:51.655Z] nexus3.edgexfoundry.org:10002 [2024-01-23T18:56:51.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:51.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:51.655Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:51.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:51.655Z] [2024-01-23T18:56:51.655Z] Login Succeeded [2024-01-23T18:56:51.655Z] nexus3.edgexfoundry.org:10003 [2024-01-23T18:56:51.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:51.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:51.914Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:51.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:51.914Z] [2024-01-23T18:56:51.914Z] Login Succeeded [2024-01-23T18:56:51.914Z] nexus3.edgexfoundry.org:10004 [2024-01-23T18:56:51.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:51.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:51.914Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:51.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:51.914Z] [2024-01-23T18:56:51.914Z] Login Succeeded [2024-01-23T18:56:51.914Z] ****.io [2024-01-23T18:56:52.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:56:52.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:56:52.434Z] Configure a credential helper to remove this warning. See [2024-01-23T18:56:52.434Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:56:52.434Z] [2024-01-23T18:56:52.434Z] Login Succeeded [2024-01-23T18:56:52.434Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T18:56:52.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-23T18:56:52.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:56:52.704Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-23T18:56:52.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:56:52.754Z] ========================================================= [2024-01-23T18:56:52.754Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-23T18:56:52.754Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:56:53.113Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-01-23T18:56:53.113Z] Sending build context to Docker daemon 4.993MB [2024-01-23T18:56:53.113Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-23T18:56:53.113Z] Step 2/21 : FROM ${BASE} as builder [2024-01-23T18:56:53.372Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-23T18:56:53.372Z] 96526aa774ef: Pulling fs layer [2024-01-23T18:56:53.372Z] da60e534fd72: Pulling fs layer [2024-01-23T18:56:53.372Z] 96526aa774ef: Verifying Checksum [2024-01-23T18:56:53.372Z] 96526aa774ef: Download complete [2024-01-23T18:56:53.630Z] 96526aa774ef: Pull complete [2024-01-23T18:56:54.198Z] da60e534fd72: Verifying Checksum [2024-01-23T18:56:54.198Z] da60e534fd72: Download complete [2024-01-23T18:56:57.482Z] da60e534fd72: Pull complete [2024-01-23T18:56:57.482Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-23T18:56:57.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-23T18:56:57.742Z] ---> 6605166a5db4 [2024-01-23T18:56:57.742Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-23T18:57:01.032Z] ---> Running in d00d47101a7a [2024-01-23T18:57:01.292Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-23T18:57:01.557Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:01.557Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:01.557Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:02.124Z] Removing intermediate container d00d47101a7a [2024-01-23T18:57:02.124Z] ---> d4d3d1ad93a7 [2024-01-23T18:57:02.124Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:02.124Z] ---> Running in 3d5ccb47c72f [2024-01-23T18:57:03.505Z] Removing intermediate container 3d5ccb47c72f [2024-01-23T18:57:03.505Z] ---> 5a910f029ae0 [2024-01-23T18:57:03.505Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-23T18:57:04.072Z] ---> Running in 0ae09ad2741e [2024-01-23T18:57:04.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:04.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:04.899Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:05.466Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:05.466Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-23T18:57:05.466Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:57:05.466Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:57:06.225Z] Still waiting to schedule task [2024-01-23T18:57:06.225Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-23T18:57:06.403Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T18:57:06.403Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:57:06.662Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-23T18:57:06.662Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-23T18:57:06.662Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T18:57:06.662Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T18:57:06.662Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T18:57:06.662Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T18:57:06.662Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-23T18:57:06.662Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-23T18:57:06.662Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-23T18:57:06.662Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-23T18:57:06.662Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-23T18:57:06.662Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-23T18:57:06.662Z] Executing busybox-1.36.1-r4.trigger [2024-01-23T18:57:06.662Z] OK: 336 MiB in 99 packages [2024-01-23T18:57:07.234Z] Removing intermediate container 0ae09ad2741e [2024-01-23T18:57:07.234Z] ---> 096c7d833c33 [2024-01-23T18:57:07.234Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-23T18:57:07.234Z] ---> Running in e1a5ab89da88 [2024-01-23T18:57:08.172Z] Removing intermediate container e1a5ab89da88 [2024-01-23T18:57:08.172Z] ---> a821e3ad2f22 [2024-01-23T18:57:08.172Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-23T18:57:08.172Z] ---> efa732c65f52 [2024-01-23T18:57:08.172Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-23T18:57:08.172Z] ---> bdec7e28cf35 [2024-01-23T18:57:08.172Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-23T18:57:08.431Z] ---> 07c0c08ee892 [2024-01-23T18:57:08.431Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-23T18:57:08.690Z] ---> bc8fd936769e [2024-01-23T18:57:08.690Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-23T18:57:08.690Z] ---> cf80f1ffad0e [2024-01-23T18:57:08.690Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-23T18:57:08.949Z] ---> 268db253b01f [2024-01-23T18:57:08.949Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-23T18:57:08.949Z] ---> Running in b2ac323335ba [2024-01-23T18:57:09.207Z] + CPPCHECK=false [2024-01-23T18:57:09.207Z] + DOCGEN=false [2024-01-23T18:57:09.207Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-23T18:57:09.207Z] + '[' 0 -gt 0 ] [2024-01-23T18:57:09.207Z] + readlink -f ./scripts/build.sh [2024-01-23T18:57:09.207Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-23T18:57:09.207Z] + dirname /tmp/sdk/scripts [2024-01-23T18:57:09.207Z] + ROOT=/tmp/sdk [2024-01-23T18:57:09.207Z] + cd /tmp/sdk [2024-01-23T18:57:09.207Z] + mkdir -p /tmp/sdk/build/release [2024-01-23T18:57:09.207Z] + cd /tmp/sdk/build/release [2024-01-23T18:57:09.207Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-23T18:57:09.207Z] -- The C compiler identification is GNU 12.2.1 [2024-01-23T18:57:09.207Z] -- Detecting C compiler ABI info [2024-01-23T18:57:09.466Z] -- Detecting C compiler ABI info - done [2024-01-23T18:57:09.467Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T18:57:09.467Z] -- Detecting C compile features [2024-01-23T18:57:09.467Z] -- Detecting C compile features - done [2024-01-23T18:57:09.467Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T18:57:09.467Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T18:57:09.467Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T18:57:09.467Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T18:57:09.467Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T18:57:09.467Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T18:57:09.467Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T18:57:09.467Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T18:57:09.467Z] -- /opt/iotech/iot/1.5/include [2024-01-23T18:57:09.467Z] -- C SDK 0.0.0 for Linux [2024-01-23T18:57:09.467Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T18:57:09.467Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T18:57:09.726Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-23T18:57:09.726Z] -- Configuring done (0.5s) [2024-01-23T18:57:09.726Z] -- Generating done (0.0s) [2024-01-23T18:57:09.726Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-23T18:57:09.726Z] + make all package [2024-01-23T18:57:09.726Z] + tee release.log [2024-01-23T18:57:09.726Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T18:57:09.726Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T18:57:09.984Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T18:57:09.984Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T18:57:10.243Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T18:57:10.243Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T18:57:10.813Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T18:57:10.813Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-23T18:57:10.813Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:10.813Z] 294 | while (privateConfig) [2024-01-23T18:57:10.813Z] | ^~~~~~~~~~~~~ [2024-01-23T18:57:10.813Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-23T18:57:10.813Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:57:10.813Z] | ^~~~~~~~~~~~~ [2024-01-23T18:57:10.813Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:10.813Z] 271 | while (result) [2024-01-23T18:57:10.813Z] | ^~~~~~ [2024-01-23T18:57:10.813Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-23T18:57:10.813Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:57:10.813Z] | ^~~~~~ [2024-01-23T18:57:10.813Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T18:57:10.813Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T18:57:11.079Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T18:57:11.337Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T18:57:11.337Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T18:57:11.597Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T18:57:11.597Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T18:57:11.597Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T18:57:11.860Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T18:57:11.860Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T18:57:12.118Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T18:57:12.378Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T18:57:12.378Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T18:57:12.637Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T18:57:13.575Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T18:57:13.835Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T18:57:13.835Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T18:57:13.835Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T18:57:14.096Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T18:57:14.096Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T18:57:14.668Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T18:57:14.668Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T18:57:14.668Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T18:57:14.930Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T18:57:14.930Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T18:57:14.930Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:14.930Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T18:57:14.930Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:14.930Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:14.930Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T18:57:14.930Z] | ^ [2024-01-23T18:57:15.191Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:57:15.191Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-23T18:57:15.191Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:15.191Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-23T18:57:15.191Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-23T18:57:15.191Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:15.191Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T18:57:15.451Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T18:57:15.451Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T18:57:15.451Z] [ 68%] Linking C shared library libcsdk.so [2024-01-23T18:57:15.451Z] [ 68%] Built target csdk [2024-01-23T18:57:15.711Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T18:57:15.711Z] [ 72%] Linking C executable template [2024-01-23T18:57:15.711Z] [ 72%] Built target template [2024-01-23T18:57:15.711Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T18:57:15.970Z] [ 76%] Linking C executable device-counter [2024-01-23T18:57:15.970Z] [ 76%] Built target device-counter [2024-01-23T18:57:15.970Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T18:57:15.970Z] [ 80%] Linking C executable device-random [2024-01-23T18:57:16.230Z] [ 80%] Built target device-random [2024-01-23T18:57:16.230Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T18:57:16.230Z] [ 84%] Linking C executable device-gyro [2024-01-23T18:57:16.230Z] [ 84%] Built target device-gyro [2024-01-23T18:57:16.230Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T18:57:16.490Z] [ 88%] Linking C executable device-bitfields [2024-01-23T18:57:16.491Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:16.491Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T18:57:16.752Z] [ 92%] Linking C executable template-discovery [2024-01-23T18:57:16.752Z] [ 92%] Built target template-discovery [2024-01-23T18:57:16.752Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T18:57:16.752Z] [ 96%] Linking C executable device-file [2024-01-23T18:57:17.012Z] [ 96%] Built target device-file [2024-01-23T18:57:17.012Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T18:57:17.012Z] [100%] Linking C executable device-terminal [2024-01-23T18:57:17.270Z] [100%] Built target device-terminal [2024-01-23T18:57:17.270Z] Run CPack packaging tool... [2024-01-23T18:57:17.270Z] CPack: Create package using TGZ [2024-01-23T18:57:17.270Z] CPack: Install projects [2024-01-23T18:57:17.270Z] CPack: - Run preinstall target for: Csdk [2024-01-23T18:57:17.528Z] CPack: - Install project: Csdk [] [2024-01-23T18:57:17.528Z] CPack: Create package [2024-01-23T18:57:17.528Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-23T18:57:17.528Z] + '[' false '=' true ] [2024-01-23T18:57:17.528Z] + '[' false '=' true ] [2024-01-23T18:57:17.528Z] + mkdir -p /tmp/sdk/build/debug [2024-01-23T18:57:17.528Z] + cd /tmp/sdk/build/debug [2024-01-23T18:57:17.528Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-23T18:57:17.528Z] -- The C compiler identification is GNU 12.2.1 [2024-01-23T18:57:17.528Z] -- Detecting C compiler ABI info [2024-01-23T18:57:17.787Z] -- Detecting C compiler ABI info - done [2024-01-23T18:57:17.787Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T18:57:17.787Z] -- Detecting C compile features [2024-01-23T18:57:17.787Z] -- Detecting C compile features - done [2024-01-23T18:57:17.787Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T18:57:17.787Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T18:57:17.787Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T18:57:17.787Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T18:57:17.787Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T18:57:17.787Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T18:57:17.787Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T18:57:17.787Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T18:57:17.787Z] -- /opt/iotech/iot/1.5/include [2024-01-23T18:57:17.787Z] -- C SDK 0.0.0 for Linux [2024-01-23T18:57:17.787Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T18:57:17.787Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T18:57:17.787Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-23T18:57:18.045Z] -- Configuring done (0.4s) [2024-01-23T18:57:18.045Z] -- Generating done (0.0s) [2024-01-23T18:57:18.045Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-23T18:57:18.045Z] + make [2024-01-23T18:57:18.045Z] + tee debug.log [2024-01-23T18:57:18.045Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T18:57:18.045Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T18:57:18.045Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T18:57:18.305Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T18:57:18.305Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T18:57:18.305Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T18:57:18.565Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T18:57:18.565Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T18:57:18.565Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T18:57:18.824Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T18:57:18.824Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T18:57:18.824Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T18:57:19.083Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T18:57:19.083Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T18:57:19.083Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T18:57:19.083Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T18:57:19.343Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T18:57:19.343Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T18:57:19.343Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T18:57:19.609Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T18:57:19.609Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T18:57:19.870Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T18:57:19.870Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T18:57:19.870Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T18:57:20.130Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T18:57:20.130Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T18:57:20.130Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T18:57:20.391Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T18:57:20.391Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T18:57:20.651Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T18:57:20.651Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T18:57:20.651Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T18:57:20.651Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:20.651Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T18:57:20.651Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T18:57:20.651Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T18:57:20.651Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T18:57:20.651Z] | ^ [2024-01-23T18:57:20.651Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T18:57:20.912Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T18:57:20.912Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T18:57:20.912Z] [ 68%] Linking C shared library libcsdk.so [2024-01-23T18:57:20.912Z] [ 68%] Built target csdk [2024-01-23T18:57:20.912Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T18:57:21.171Z] [ 72%] Linking C executable template [2024-01-23T18:57:21.171Z] [ 72%] Built target template [2024-01-23T18:57:21.171Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T18:57:21.171Z] [ 76%] Linking C executable device-counter [2024-01-23T18:57:21.430Z] [ 76%] Built target device-counter [2024-01-23T18:57:21.430Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T18:57:21.430Z] [ 80%] Linking C executable device-random [2024-01-23T18:57:21.430Z] [ 80%] Built target device-random [2024-01-23T18:57:21.430Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T18:57:21.430Z] [ 84%] Linking C executable device-gyro [2024-01-23T18:57:21.689Z] [ 84%] Built target device-gyro [2024-01-23T18:57:21.689Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T18:57:21.689Z] [ 88%] Linking C executable device-bitfields [2024-01-23T18:57:21.689Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:21.689Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T18:57:21.949Z] [ 92%] Linking C executable template-discovery [2024-01-23T18:57:21.949Z] [ 92%] Built target template-discovery [2024-01-23T18:57:21.949Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T18:57:21.949Z] [ 96%] Linking C executable device-file [2024-01-23T18:57:22.221Z] [ 96%] Built target device-file [2024-01-23T18:57:22.221Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T18:57:22.221Z] [100%] Linking C executable device-terminal [2024-01-23T18:57:22.221Z] [100%] Built target device-terminal [2024-01-23T18:57:22.221Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-23T18:57:22.480Z] [ 68%] Built target csdk [2024-01-23T18:57:22.480Z] [ 72%] Built target template [2024-01-23T18:57:22.480Z] [ 76%] Built target device-counter [2024-01-23T18:57:22.480Z] [ 80%] Built target device-random [2024-01-23T18:57:22.480Z] [ 84%] Built target device-gyro [2024-01-23T18:57:22.480Z] [ 88%] Built target device-bitfields [2024-01-23T18:57:22.480Z] [ 92%] Built target template-discovery [2024-01-23T18:57:22.480Z] [ 96%] Built target device-file [2024-01-23T18:57:22.480Z] [100%] Built target device-terminal [2024-01-23T18:57:22.480Z] Install the project... [2024-01-23T18:57:22.480Z] -- Install configuration: "Release" [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-23T18:57:22.480Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/devsdk [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-23T18:57:22.480Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-23T18:57:22.480Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-23T18:57:23.435Z] Removing intermediate container b2ac323335ba [2024-01-23T18:57:23.435Z] ---> 57229dc9f6a4 [2024-01-23T18:57:23.435Z] Step 14/21 : FROM ${BASE} [2024-01-23T18:57:23.435Z] ---> 6605166a5db4 [2024-01-23T18:57:23.435Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-23T18:57:23.435Z] ---> Running in d844dba47b6e [2024-01-23T18:57:23.435Z] Removing intermediate container d844dba47b6e [2024-01-23T18:57:23.435Z] ---> 81dac61cfa8f [2024-01-23T18:57:23.435Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-23T18:57:23.435Z] ---> Running in afab9434de95 [2024-01-23T18:57:23.695Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T18:57:23.955Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:23.955Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:23.955Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:24.215Z] Removing intermediate container afab9434de95 [2024-01-23T18:57:24.215Z] ---> fb3f8e962831 [2024-01-23T18:57:24.215Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:24.474Z] ---> Running in 6b288b66ee50 [2024-01-23T18:57:25.043Z] Removing intermediate container 6b288b66ee50 [2024-01-23T18:57:25.043Z] ---> 66c953481d8f [2024-01-23T18:57:25.043Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-23T18:57:25.043Z] ---> Running in eb9cd6080a0d [2024-01-23T18:57:25.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:25.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:25.564Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:26.134Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:26.134Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:57:26.134Z] (2/9) Installing curl (8.5.0-r0) [2024-01-23T18:57:26.134Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:57:26.134Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-23T18:57:26.134Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:57:26.134Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:57:26.701Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:57:26.960Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-23T18:57:26.960Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-23T18:57:26.960Z] Executing busybox-1.36.1-r4.trigger [2024-01-23T18:57:26.960Z] OK: 331 MiB in 89 packages [2024-01-23T18:57:27.529Z] Removing intermediate container eb9cd6080a0d [2024-01-23T18:57:27.529Z] ---> 5f0b44dee5e1 [2024-01-23T18:57:27.529Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-23T18:57:27.529Z] ---> 6ca80864a422 [2024-01-23T18:57:27.529Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-23T18:57:27.789Z] ---> 860b187815ec [2024-01-23T18:57:27.789Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-23T18:57:27.789Z] ---> 5317483d6bbb [2024-01-23T18:57:27.789Z] Successfully built 5317483d6bbb [2024-01-23T18:57:27.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:28.350Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-23T18:57:28.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:57:28.464Z] prd-ubuntu20.04-docker-8c-8g-27721 does not seem to be running inside a container [2024-01-23T18:57:28.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@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-23T18:57:28.862Z] $ docker top 7bf8620bd3113eae227056ab3b7db19d6cbf527fe2527388af72dc1fc322cfeb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T18:57:29.268Z] + make test [2024-01-23T18:57:29.268Z] echo "make test" [2024-01-23T18:57:29.268Z] make test [Pipeline] } [2024-01-23T18:57:29.281Z] $ docker stop --time=1 7bf8620bd3113eae227056ab3b7db19d6cbf527fe2527388af72dc1fc322cfeb [2024-01-23T18:57:30.666Z] $ docker rm -f --volumes 7bf8620bd3113eae227056ab3b7db19d6cbf527fe2527388af72dc1fc322cfeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T18:57:31.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-23T18:57:31.958Z] + ls -al . [2024-01-23T18:57:31.958Z] total 212 [2024-01-23T18:57:31.958Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 18:56 . [2024-01-23T18:57:31.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 .. [2024-01-23T18:57:31.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:56 .git [2024-01-23T18:57:31.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 18:56 .github [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 23 18:56 .gitignore [2024-01-23T18:57:31.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:56 .semver [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 23 18:56 Attribution.txt [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 23 18:56 CHANGELOG.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 23 18:56 Doxyfile [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 18:56 GOVERNANCE.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 23 18:56 Jenkinsfile [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 18:56 LICENSE [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 23 18:56 Makefile [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 18:56 OWNERS.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 23 18:56 README.IOT.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 23 18:56 README.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 23 18:56 README.v3.md [2024-01-23T18:57:31.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:56 VERSION [2024-01-23T18:57:31.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:56 docs [2024-01-23T18:57:31.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 include [2024-01-23T18:57:31.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:56 scripts [2024-01-23T18:57:31.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:32.303Z] + 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=f6cb4cd58117d4686b66d92d5eeade31b5643599 --label arch=amd64 --label version=0.0.0 . [2024-01-23T18:57:32.303Z] Sending build context to Docker daemon 4.993MB [2024-01-23T18:57:32.303Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-23T18:57:32.303Z] Step 2/17 : FROM ${BASE} [2024-01-23T18:57:32.303Z] ---> 5317483d6bbb [2024-01-23T18:57:32.303Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-23T18:57:32.303Z] ---> Running in f4a5752b7bd3 [2024-01-23T18:57:32.303Z] Removing intermediate container f4a5752b7bd3 [2024-01-23T18:57:32.303Z] ---> 00df369232e5 [2024-01-23T18:57:32.303Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-23T18:57:32.565Z] ---> Running in e0375d166aae [2024-01-23T18:57:32.827Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-23T18:57:33.087Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:57:33.087Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:57:33.087Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:57:33.345Z] Removing intermediate container e0375d166aae [2024-01-23T18:57:33.345Z] ---> 8d499381d3b2 [2024-01-23T18:57:33.345Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:57:33.345Z] ---> Running in 0a3257ae2daa [2024-01-23T18:57:33.913Z] Removing intermediate container 0a3257ae2daa [2024-01-23T18:57:33.913Z] ---> 02b67bc9b426 [2024-01-23T18:57:33.913Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-23T18:57:34.172Z] ---> Running in 661606c6bd9d [2024-01-23T18:57:34.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:34.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:34.692Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-23T18:57:34.953Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:57:35.213Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T18:57:35.474Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-23T18:57:35.474Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T18:57:35.474Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T18:57:35.474Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T18:57:35.474Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T18:57:35.474Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-23T18:57:35.474Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-23T18:57:35.474Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-23T18:57:35.474Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-23T18:57:35.474Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-23T18:57:35.474Z] Executing busybox-1.36.1-r4.trigger [2024-01-23T18:57:35.474Z] OK: 336 MiB in 100 packages [2024-01-23T18:57:36.042Z] Removing intermediate container 661606c6bd9d [2024-01-23T18:57:36.042Z] ---> 73cf0fc97436 [2024-01-23T18:57:36.042Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-23T18:57:36.042Z] ---> 091c487d067e [2024-01-23T18:57:36.042Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-23T18:57:36.302Z] ---> be2ef68898a4 [2024-01-23T18:57:36.302Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-23T18:57:36.563Z] ---> 2bdb122e6e07 [2024-01-23T18:57:36.563Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-23T18:57:36.563Z] ---> 343345c8ba6e [2024-01-23T18:57:36.563Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-23T18:57:36.824Z] ---> 7ece7bc3f7fa [2024-01-23T18:57:36.824Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-23T18:57:36.824Z] ---> 65d6b8d75c76 [2024-01-23T18:57:36.824Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-23T18:57:37.088Z] ---> Running in d1898c3ac622 [2024-01-23T18:57:37.088Z] Removing intermediate container d1898c3ac622 [2024-01-23T18:57:37.088Z] ---> 6b77e2d84afb [2024-01-23T18:57:37.088Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-23T18:57:37.088Z] ---> Running in f867ef88d666 [2024-01-23T18:57:37.088Z] Removing intermediate container f867ef88d666 [2024-01-23T18:57:37.088Z] ---> 3e53702ae701 [2024-01-23T18:57:37.088Z] Step 15/17 : LABEL arch=amd64 [2024-01-23T18:57:37.088Z] ---> Running in a313b834fe34 [2024-01-23T18:57:37.348Z] Removing intermediate container a313b834fe34 [2024-01-23T18:57:37.348Z] ---> 555363302a39 [2024-01-23T18:57:37.348Z] Step 16/17 : LABEL git_sha=f6cb4cd58117d4686b66d92d5eeade31b5643599 [2024-01-23T18:57:37.348Z] ---> Running in dcdf98863a57 [2024-01-23T18:57:37.348Z] Removing intermediate container dcdf98863a57 [2024-01-23T18:57:37.348Z] ---> ca56bc44e0fc [2024-01-23T18:57:37.348Z] Step 17/17 : LABEL version=0.0.0 [2024-01-23T18:57:37.348Z] ---> Running in 3f59d3fbfde3 [2024-01-23T18:57:37.348Z] Removing intermediate container 3f59d3fbfde3 [2024-01-23T18:57:37.348Z] ---> 50a481b23793 [2024-01-23T18:57:37.348Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-23T18:57:37.348Z] Successfully built 50a481b23793 [2024-01-23T18:57:37.348Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:38.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:38.099Z] [2024-01-23T18:57:38.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:57:38.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:38.419Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-23T18:57:38.419Z] 5eb5b503b376: Pulling fs layer [2024-01-23T18:57:38.419Z] 5c69ac0246d0: Pulling fs layer [2024-01-23T18:57:38.419Z] ec43610c2a17: Pulling fs layer [2024-01-23T18:57:38.419Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-23T18:57:38.419Z] 33b1e0a273af: Pulling fs layer [2024-01-23T18:57:38.419Z] 5d3b04190fa2: Pulling fs layer [2024-01-23T18:57:38.419Z] 2f39f015ded8: Pulling fs layer [2024-01-23T18:57:38.419Z] 3a2ae6a8a46f: Waiting [2024-01-23T18:57:38.419Z] 33b1e0a273af: Waiting [2024-01-23T18:57:38.419Z] 5d3b04190fa2: Waiting [2024-01-23T18:57:38.419Z] 2f39f015ded8: Waiting [2024-01-23T18:57:38.419Z] 5c69ac0246d0: Verifying Checksum [2024-01-23T18:57:38.419Z] 5c69ac0246d0: Download complete [2024-01-23T18:57:38.419Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-23T18:57:38.419Z] 3a2ae6a8a46f: Download complete [2024-01-23T18:57:38.419Z] 33b1e0a273af: Verifying Checksum [2024-01-23T18:57:38.419Z] 33b1e0a273af: Download complete [2024-01-23T18:57:38.419Z] 5d3b04190fa2: Verifying Checksum [2024-01-23T18:57:38.419Z] 5d3b04190fa2: Download complete [2024-01-23T18:57:38.419Z] ec43610c2a17: Verifying Checksum [2024-01-23T18:57:38.679Z] 5eb5b503b376: Verifying Checksum [2024-01-23T18:57:38.679Z] 5eb5b503b376: Download complete [2024-01-23T18:57:39.277Z] 2f39f015ded8: Download complete [2024-01-23T18:57:40.215Z] 5eb5b503b376: Pull complete [2024-01-23T18:57:40.215Z] 5c69ac0246d0: Pull complete [2024-01-23T18:57:40.783Z] ec43610c2a17: Pull complete [2024-01-23T18:57:40.783Z] 3a2ae6a8a46f: Pull complete [2024-01-23T18:57:41.042Z] 33b1e0a273af: Pull complete [2024-01-23T18:57:41.042Z] 5d3b04190fa2: Pull complete [2024-01-23T18:57:46.316Z] 2f39f015ded8: Pull complete [2024-01-23T18:57:46.316Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-23T18:57:46.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T18:57:46.316Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T18:57:46.497Z] prd-ubuntu20.04-docker-8c-8g-27721 does not seem to be running inside a container [2024-01-23T18:57:46.529Z] $ 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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@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-23T18:57:51.853Z] $ docker top 55324a15f8b6da832112324d03bc68b1a06a01c5a434a7e5509a4bc1aaee1232 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:57:52.289Z] ---> job-cost.sh [2024-01-23T18:57:52.289Z] lf-activate-venv: SKIPPING [2024-01-23T18:57:52.289Z] INFO: No Stack... [2024-01-23T18:57:52.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T18:57:52.809Z] INFO: Archiving Costs [Pipeline] sh [2024-01-23T18:57:53.102Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/cost.csv [2024-01-23T18:57:53.102Z] + cut -d, -f6 [Pipeline] lock [2024-01-23T18:57:53.117Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [2024-01-23T18:57:53.143Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] did not exist. Created. [2024-01-23T18:57:53.144Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-23T18:57:53.509Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-23T18:57:53.576Z] Stashed 1 file(s) [Pipeline] } [2024-01-23T18:57:53.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-23T18:57:53.648Z] $ docker stop --time=1 55324a15f8b6da832112324d03bc68b1a06a01c5a434a7e5509a4bc1aaee1232 [2024-01-23T18:57:54.800Z] $ docker rm -f --volumes 55324a15f8b6da832112324d03bc68b1a06a01c5a434a7e5509a4bc1aaee1232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-23T18:58:41.357Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27724 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] ws [2024-01-23T18:58:41.394Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2024-01-23T18:58:44.472Z] Selected Git installation does not exist. Using Default [2024-01-23T18:58:44.472Z] The recommended git tool is: NONE [2024-01-23T18:58:51.501Z] using credential edgex-jenkins-ssh [2024-01-23T18:58:51.521Z] Cloning the remote Git repository [2024-01-23T18:58:51.559Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T18:58:51.644Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2024-01-23T18:58:51.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T18:58:51.775Z] > git --version # timeout=10 [2024-01-23T18:58:51.794Z] > git --version # 'git version 2.25.1' [2024-01-23T18:58:51.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T18:58:51.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-23T18:58:53.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-23T18:58:53.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-23T18:58:53.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-23T18:58:54.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-23T18:58:54.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T18:58:54.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-23T18:58:54.640Z] Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 [2024-01-23T18:58:55.031Z] Merge succeeded, producing ba2b108be579b894361bf761129b224e51cba563 [2024-01-23T18:58:55.032Z] Checking out Revision ba2b108be579b894361bf761129b224e51cba563 (PR-500) [2024-01-23T18:58:54.658Z] > git config core.sparsecheckout # timeout=10 [2024-01-23T18:58:54.727Z] > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [2024-01-23T18:58:54.844Z] > git remote # timeout=10 [2024-01-23T18:58:54.864Z] > git config --get remote.origin.url # timeout=10 [2024-01-23T18:58:54.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-23T18:58:54.895Z] > git merge 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [2024-01-23T18:58:55.010Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-23T18:58:55.035Z] > git config core.sparsecheckout # timeout=10 [2024-01-23T18:58:55.048Z] > git checkout -f ba2b108be579b894361bf761129b224e51cba563 # timeout=10 [2024-01-23T18:58:58.714Z] Commit message: "Merge commit '6bdae90b977cdeecb957260a94da902cfcf10c29' into HEAD" [2024-01-23T18:58:58.746Z] First time build. Skipping changelog. [2024-01-23T18:58:58.721Z] > git rev-list --no-walk 5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T18:59:00.052Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-23T18:59:00.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-23T18:59:00.052Z] Dload Upload Total Spent Left Speed [2024-01-23T18:59:00.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12682 83 10474 0 0 64257 0 --:--:-- --:--:-- --:--:-- 64257 100 12682 100 12682 0 0 77329 0 --:--:-- --:--:-- --:--:-- 76860 [Pipeline] sh [2024-01-23T18:59:00.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-23T18:59:00.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-23T18:59:00.878Z] + sudo tee /etc/docker/daemon.new [2024-01-23T18:59:00.878Z] { [2024-01-23T18:59:00.878Z] "registry-mirrors": [ [2024-01-23T18:59:00.878Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-23T18:59:00.878Z] ], [2024-01-23T18:59:00.878Z] "bip": "10.250.0.254/24", [2024-01-23T18:59:00.878Z] "hosts": [ [2024-01-23T18:59:00.878Z] "tcp://0.0.0.0:5555", [2024-01-23T18:59:00.878Z] "unix:///var/run/docker.sock" [2024-01-23T18:59:00.878Z] ], [2024-01-23T18:59:00.878Z] "mtu": 1458, [2024-01-23T18:59:00.878Z] "selinux-enabled": true, [2024-01-23T18:59:00.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-23T18:59:00.878Z] } [Pipeline] sh [2024-01-23T18:59:01.214Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-23T18:59:01.548Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T18:59:19.850Z] provisioning config files... [2024-01-23T18:59:19.881Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config2776234084835372906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T18:59:20.360Z] ---> ****-login.sh [2024-01-23T18:59:20.361Z] nexus3.edgexfoundry.org:10001 [2024-01-23T18:59:20.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:59:20.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:59:20.918Z] Configure a credential helper to remove this warning. See [2024-01-23T18:59:20.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:59:20.918Z] [2024-01-23T18:59:20.918Z] Login Succeeded [2024-01-23T18:59:20.918Z] nexus3.edgexfoundry.org:10002 [2024-01-23T18:59:20.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:59:21.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:59:21.192Z] Configure a credential helper to remove this warning. See [2024-01-23T18:59:21.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:59:21.192Z] [2024-01-23T18:59:21.192Z] Login Succeeded [2024-01-23T18:59:21.192Z] nexus3.edgexfoundry.org:10003 [2024-01-23T18:59:21.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:59:21.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:59:21.464Z] Configure a credential helper to remove this warning. See [2024-01-23T18:59:21.464Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:59:21.464Z] [2024-01-23T18:59:21.464Z] Login Succeeded [2024-01-23T18:59:21.464Z] nexus3.edgexfoundry.org:10004 [2024-01-23T18:59:21.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:59:21.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:59:21.735Z] Configure a credential helper to remove this warning. See [2024-01-23T18:59:21.735Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:59:21.735Z] [2024-01-23T18:59:21.735Z] Login Succeeded [2024-01-23T18:59:21.735Z] ****.io [2024-01-23T18:59:22.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-23T18:59:22.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-23T18:59:22.280Z] Configure a credential helper to remove this warning. See [2024-01-23T18:59:22.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-23T18:59:22.280Z] [2024-01-23T18:59:22.280Z] Login Succeeded [2024-01-23T18:59:22.280Z] ---> ****-login.sh ends [Pipeline] } [2024-01-23T18:59:22.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-23T18:59:22.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:59:22.737Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-23T18:59:22.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-23T18:59:22.825Z] ========================================================= [2024-01-23T18:59:22.825Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-23T18:59:22.825Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T18:59:23.256Z] + 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-23T18:59:24.680Z] #0 building with "default" instance using docker driver [2024-01-23T18:59:24.680Z] [2024-01-23T18:59:24.680Z] #1 [internal] load .dockerignore [2024-01-23T18:59:24.680Z] #1 transferring context: 2B done [2024-01-23T18:59:24.680Z] #1 DONE 0.1s [2024-01-23T18:59:24.680Z] [2024-01-23T18:59:24.680Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-23T18:59:24.680Z] #2 transferring dockerfile: 2.04kB 0.0s done [2024-01-23T18:59:24.680Z] #2 DONE 0.1s [2024-01-23T18:59:24.680Z] [2024-01-23T18:59:24.680Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-23T18:59:24.680Z] #3 DONE 0.1s [2024-01-23T18:59:24.680Z] [2024-01-23T18:59:24.680Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-23T18:59:24.680Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-23T18:59:24.680Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-23T18:59:24.681Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-23T18:59:24.681Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 774.14kB / 3.33MB 0.1s [2024-01-23T18:59:24.681Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-23T18:59:24.963Z] #4 ... [2024-01-23T18:59:24.963Z] [2024-01-23T18:59:24.963Z] #5 [internal] load build context [2024-01-23T18:59:24.963Z] #5 transferring context: 627.84kB 0.1s done [2024-01-23T18:59:24.963Z] #5 DONE 0.2s [2024-01-23T18:59:24.963Z] [2024-01-23T18:59:24.963Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-23T18:59:24.963Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-23T18:59:24.963Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 6.29MB / 109.51MB 0.3s [2024-01-23T18:59:24.963Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-23T18:59:25.233Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 16.78MB / 109.51MB 0.5s [2024-01-23T18:59:25.233Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-23T18:59:25.233Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 27.02MB / 109.51MB 0.7s [2024-01-23T18:59:25.505Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 32.51MB / 109.51MB 0.8s [2024-01-23T18:59:25.775Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 42.99MB / 109.51MB 1.0s [2024-01-23T18:59:25.775Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 54.53MB / 109.51MB 1.2s [2024-01-23T18:59:26.046Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 60.06MB / 109.51MB 1.3s [2024-01-23T18:59:26.046Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 71.30MB / 109.51MB 1.5s [2024-01-23T18:59:26.314Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 77.59MB / 109.51MB 1.6s [2024-01-23T18:59:26.583Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 90.18MB / 109.51MB 1.8s [2024-01-23T18:59:26.583Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 96.47MB / 109.51MB 1.9s [2024-01-23T18:59:26.851Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 108.23MB / 109.51MB 2.1s [2024-01-23T18:59:27.120Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done [2024-01-23T18:59:27.120Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-23T18:59:32.480Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-23T18:59:39.143Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.7s [2024-01-23T18:59:40.110Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.1s done [2024-01-23T18:59:40.381Z] #4 DONE 15.8s [2024-01-23T18:59:40.381Z] [2024-01-23T18:59:40.381Z] #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-23T18:59:41.354Z] #6 0.780 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-23T18:59:41.948Z] #6 1.302 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T18:59:41.948Z] #6 1.302 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T18:59:41.948Z] #6 1.302 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T18:59:42.910Z] #6 DONE 2.1s [2024-01-23T18:59:42.910Z] [2024-01-23T18:59:42.910Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T18:59:43.494Z] #7 DONE 0.8s [2024-01-23T18:59:43.494Z] [2024-01-23T18:59:43.494Z] #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-23T18:59:44.460Z] #8 1.018 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:45.047Z] #8 1.359 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:45.337Z] #8 1.856 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:46.299Z] #8 2.753 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:59:46.299Z] #8 2.784 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:59:46.299Z] #8 2.810 (2/9) Installing curl (8.5.0-r0) [2024-01-23T18:59:46.299Z] #8 2.824 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-23T18:59:46.299Z] #8 2.845 (4/9) Installing hiredis (1.1.0-r2) [2024-01-23T18:59:46.299Z] #8 2.853 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:59:46.299Z] #8 2.881 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:59:47.267Z] #8 3.714 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:59:47.552Z] #8 4.019 (8/9) Installing libcbor (0.10.2-r1) [2024-01-23T18:59:47.552Z] #8 4.030 (9/9) Installing libuuid (2.38.1-r8) [2024-01-23T18:59:47.552Z] #8 4.037 Executing busybox-1.36.1-r4.trigger [2024-01-23T18:59:47.552Z] #8 4.087 OK: 327 MiB in 89 packages [2024-01-23T18:59:48.537Z] #8 DONE 4.9s [2024-01-23T18:59:48.537Z] [2024-01-23T18:59:48.537Z] #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-23T18:59:48.537Z] #9 1.020 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:48.537Z] #9 1.358 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:48.537Z] #9 1.886 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T18:59:48.537Z] #9 2.901 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T18:59:48.537Z] #9 2.964 (1/17) Installing hiredis (1.1.0-r2) [2024-01-23T18:59:48.537Z] #9 2.973 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-23T18:59:48.537Z] #9 3.004 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-23T18:59:48.537Z] #9 3.815 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T18:59:48.537Z] #9 3.944 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-23T18:59:48.537Z] #9 4.249 (6/17) Installing libcbor (0.10.2-r1) [2024-01-23T18:59:48.537Z] #9 4.256 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-23T18:59:48.537Z] #9 4.277 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T18:59:48.537Z] #9 4.286 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T18:59:48.537Z] #9 4.295 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T18:59:48.537Z] #9 4.306 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T18:59:48.537Z] #9 4.339 (12/17) Installing libblkid (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.356 (13/17) Installing libuuid (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.363 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.381 (15/17) Installing libmount (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.398 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.415 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-23T18:59:48.537Z] #9 4.504 Executing busybox-1.36.1-r4.trigger [2024-01-23T18:59:48.537Z] #9 4.551 OK: 333 MiB in 99 packages [2024-01-23T18:59:48.537Z] #9 DONE 4.9s [2024-01-23T18:59:48.537Z] [2024-01-23T18:59:48.537Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-23T18:59:49.502Z] #10 DONE 1.0s [2024-01-23T18:59:49.502Z] [2024-01-23T18:59:49.502Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-23T18:59:49.502Z] #11 DONE 0.1s [2024-01-23T18:59:49.502Z] [2024-01-23T18:59:49.502Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-23T18:59:49.771Z] #12 DONE 0.2s [2024-01-23T18:59:49.771Z] [2024-01-23T18:59:49.771Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-23T18:59:49.771Z] #13 DONE 0.1s [2024-01-23T18:59:49.771Z] [2024-01-23T18:59:49.771Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-23T18:59:49.771Z] #14 DONE 0.1s [2024-01-23T18:59:50.039Z] [2024-01-23T18:59:50.040Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-23T18:59:50.040Z] #15 DONE 0.1s [2024-01-23T18:59:50.040Z] [2024-01-23T18:59:50.040Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-23T18:59:50.040Z] #16 DONE 0.1s [2024-01-23T18:59:50.040Z] [2024-01-23T18:59:50.040Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-23T18:59:50.624Z] #17 0.589 + CPPCHECK=false [2024-01-23T18:59:50.624Z] #17 0.589 + DOCGEN=false [2024-01-23T18:59:50.624Z] #17 0.589 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-23T18:59:50.624Z] #17 0.589 + '[' 0 -gt 0 ] [2024-01-23T18:59:50.624Z] #17 0.592 + readlink -f ./scripts/build.sh [2024-01-23T18:59:50.624Z] #17 0.594 + dirname /tmp/sdk/scripts/build.sh [2024-01-23T18:59:50.624Z] #17 0.596 + dirname /tmp/sdk/scripts [2024-01-23T18:59:50.624Z] #17 0.598 + ROOT=/tmp/sdk [2024-01-23T18:59:50.624Z] #17 0.598 + cd /tmp/sdk [2024-01-23T18:59:50.624Z] #17 0.598 + mkdir -p /tmp/sdk/build/release [2024-01-23T18:59:50.624Z] #17 0.601 + cd /tmp/sdk/build/release [2024-01-23T18:59:50.624Z] #17 0.601 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-23T18:59:50.908Z] #17 0.922 -- The C compiler identification is GNU 12.2.1 [2024-01-23T18:59:51.176Z] #17 0.986 -- Detecting C compiler ABI info [2024-01-23T18:59:51.511Z] #17 1.334 -- Detecting C compiler ABI info - done [2024-01-23T18:59:51.511Z] #17 1.416 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T18:59:51.511Z] #17 1.418 -- Detecting C compile features [2024-01-23T18:59:51.511Z] #17 1.421 -- Detecting C compile features - done [2024-01-23T18:59:51.511Z] #17 1.444 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T18:59:51.778Z] #17 1.640 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T18:59:51.778Z] #17 1.656 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T18:59:51.778Z] #17 1.672 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T18:59:51.778Z] #17 1.687 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T18:59:51.778Z] #17 1.702 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T18:59:52.051Z] #17 1.717 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T18:59:52.051Z] #17 1.733 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T18:59:52.051Z] #17 1.733 -- /opt/iotech/iot/1.5/include [2024-01-23T18:59:52.051Z] #17 1.733 -- C SDK 0.0.0 for Linux [2024-01-23T18:59:52.051Z] #17 1.746 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T18:59:52.319Z] #17 2.064 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T18:59:52.319Z] #17 2.224 -- Found Curses: /usr/lib/libcurses.so [2024-01-23T18:59:52.587Z] #17 2.332 -- Configuring done (1.7s) [2024-01-23T18:59:52.587Z] #17 2.601 -- Generating done (0.2s) [2024-01-23T18:59:52.854Z] #17 2.620 -- Build files have been written to: /tmp/sdk/build/release [2024-01-23T18:59:52.854Z] #17 2.646 + make all package [2024-01-23T18:59:52.854Z] #17 2.646 + tee release.log [2024-01-23T18:59:52.854Z] #17 2.780 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T18:59:53.438Z] #17 3.432 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T18:59:54.412Z] #17 4.344 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T18:59:55.376Z] #17 5.083 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T18:59:56.337Z] #17 5.992 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T18:59:56.615Z] #17 6.599 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T18:59:59.207Z] #17 8.720 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T18:59:59.792Z] #17 9.729 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-23T18:59:59.792Z] #17 9.729 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:59:59.792Z] #17 9.729 294 | while (privateConfig) [2024-01-23T18:59:59.792Z] #17 9.729 | ^~~~~~~~~~~~~ [2024-01-23T18:59:59.792Z] #17 9.731 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-23T18:59:59.792Z] #17 9.731 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:59:59.792Z] #17 9.731 | ^~~~~~~~~~~~~ [2024-01-23T18:59:59.792Z] #17 9.731 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T18:59:59.792Z] #17 9.731 271 | while (result) [2024-01-23T18:59:59.792Z] #17 9.731 | ^~~~~~ [2024-01-23T18:59:59.792Z] #17 9.731 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-23T18:59:59.792Z] #17 9.731 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-23T18:59:59.792Z] #17 9.731 | ^~~~~~ [2024-01-23T19:00:00.379Z] #17 10.13 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T19:00:00.379Z] #17 10.41 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T19:00:01.342Z] #17 11.30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T19:00:03.920Z] #17 13.27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T19:00:04.188Z] #17 13.90 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T19:00:05.148Z] #17 14.77 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T19:00:05.736Z] #17 15.61 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T19:00:06.323Z] #17 16.16 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T19:00:07.285Z] #17 17.26 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T19:00:07.554Z] #17 17.60 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T19:00:10.139Z] #17 19.88 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T19:00:10.406Z] #17 20.26 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T19:00:10.988Z] #17 20.84 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T19:00:12.396Z] #17 22.15 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T19:00:19.063Z] #17 28.69 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T19:00:19.330Z] #17 29.29 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T19:00:19.914Z] #17 29.68 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T19:00:20.501Z] #17 30.20 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T19:00:20.501Z] #17 30.52 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T19:00:22.442Z] #17 31.88 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T19:00:24.381Z] #17 33.93 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T19:00:24.381Z] #17 34.36 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T19:00:25.333Z] #17 35.21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T19:00:25.912Z] #17 35.78 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T19:00:26.178Z] #17 36.06 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T19:00:26.178Z] #17 36.06 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:00:26.178Z] #17 36.06 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T19:00:26.178Z] #17 36.06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:00:26.178Z] #17 36.06 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:00:26.178Z] #17 36.06 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T19:00:26.178Z] #17 36.06 | ^ [2024-01-23T19:00:27.588Z] #17 37.55 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-23T19:00:27.588Z] #17 37.55 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-23T19:00:27.588Z] #17 37.55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:00:27.854Z] #17 37.55 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-23T19:00:27.855Z] #17 37.55 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-23T19:00:27.855Z] #17 37.55 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:00:28.808Z] #17 38.63 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T19:00:29.765Z] #17 39.37 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T19:00:29.765Z] #17 39.74 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T19:00:30.349Z] #17 40.30 [ 68%] Linking C shared library libcsdk.so [2024-01-23T19:00:30.618Z] #17 40.52 [ 68%] Built target csdk [2024-01-23T19:00:30.618Z] #17 40.57 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T19:00:31.707Z] #17 41.50 [ 72%] Linking C executable template [2024-01-23T19:00:31.977Z] #17 41.88 [ 72%] Built target template [2024-01-23T19:00:31.977Z] #17 41.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T19:00:32.568Z] #17 42.48 [ 76%] Linking C executable device-counter [2024-01-23T19:00:33.156Z] #17 42.80 [ 76%] Built target device-counter [2024-01-23T19:00:33.156Z] #17 42.86 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T19:00:33.752Z] #17 43.44 [ 80%] Linking C executable device-random [2024-01-23T19:00:34.037Z] #17 43.76 [ 80%] Built target device-random [2024-01-23T19:00:34.037Z] #17 43.82 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T19:00:34.625Z] #17 44.36 [ 84%] Linking C executable device-gyro [2024-01-23T19:00:34.894Z] #17 44.71 [ 84%] Built target device-gyro [2024-01-23T19:00:34.894Z] #17 44.77 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T19:00:35.477Z] #17 45.28 [ 88%] Linking C executable device-bitfields [2024-01-23T19:00:35.754Z] #17 45.60 [ 88%] Built target device-bitfields [2024-01-23T19:00:35.754Z] #17 45.65 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T19:00:36.714Z] #17 46.52 [ 92%] Linking C executable template-discovery [2024-01-23T19:00:36.983Z] #17 46.85 [ 92%] Built target template-discovery [2024-01-23T19:00:36.983Z] #17 46.91 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T19:00:37.964Z] #17 47.73 [ 96%] Linking C executable device-file [2024-01-23T19:00:38.232Z] #17 48.09 [ 96%] Built target device-file [2024-01-23T19:00:38.232Z] #17 48.14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T19:00:39.233Z] #17 48.85 [100%] Linking C executable device-terminal [2024-01-23T19:00:39.233Z] #17 49.20 [100%] Built target device-terminal [2024-01-23T19:00:39.233Z] #17 49.26 Run CPack packaging tool... [2024-01-23T19:00:39.504Z] #17 49.31 CPack: Create package using TGZ [2024-01-23T19:00:39.504Z] #17 49.31 CPack: Install projects [2024-01-23T19:00:39.504Z] #17 49.31 CPack: - Run preinstall target for: Csdk [2024-01-23T19:00:40.090Z] #17 50.10 CPack: - Install project: Csdk [] [2024-01-23T19:00:40.090Z] #17 50.14 CPack: Create package [2024-01-23T19:00:40.358Z] #17 50.23 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-23T19:00:40.358Z] #17 50.23 + '[' false '=' true ] [2024-01-23T19:00:40.358Z] #17 50.23 + '[' false '=' true ] [2024-01-23T19:00:40.358Z] #17 50.23 + mkdir -p /tmp/sdk/build/debug [2024-01-23T19:00:40.358Z] #17 50.24 + cd /tmp/sdk/build/debug [2024-01-23T19:00:40.358Z] #17 50.24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-23T19:00:40.625Z] #17 50.57 -- The C compiler identification is GNU 12.2.1 [2024-01-23T19:00:40.892Z] #17 50.63 -- Detecting C compiler ABI info [2024-01-23T19:00:41.160Z] #17 51.00 -- Detecting C compiler ABI info - done [2024-01-23T19:00:41.160Z] #17 51.10 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-23T19:00:41.160Z] #17 51.10 -- Detecting C compile features [2024-01-23T19:00:41.426Z] #17 51.10 -- Detecting C compile features - done [2024-01-23T19:00:41.426Z] #17 51.13 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-23T19:00:41.426Z] #17 51.33 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-23T19:00:41.426Z] #17 51.34 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-23T19:00:41.426Z] #17 51.36 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-23T19:00:41.694Z] #17 51.38 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-23T19:00:41.694Z] #17 51.39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-23T19:00:41.694Z] #17 51.41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-23T19:00:41.694Z] #17 51.42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-23T19:00:41.694Z] #17 51.42 -- /opt/iotech/iot/1.5/include [2024-01-23T19:00:41.694Z] #17 51.43 -- C SDK 0.0.0 for Linux [2024-01-23T19:00:41.694Z] #17 51.44 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-23T19:00:41.960Z] #17 51.79 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-23T19:00:42.226Z] #17 51.96 -- Found Curses: /usr/lib/libcurses.so [2024-01-23T19:00:42.226Z] #17 52.09 -- Configuring done (1.8s) [2024-01-23T19:00:42.494Z] #17 52.36 -- Generating done (0.2s) [2024-01-23T19:00:42.494Z] #17 52.38 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-23T19:00:42.494Z] #17 52.41 + + teemake debug.log [2024-01-23T19:00:42.494Z] #17 52.41 [2024-01-23T19:00:42.763Z] #17 52.54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-23T19:00:43.351Z] #17 52.97 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-23T19:00:43.351Z] #17 53.41 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-23T19:00:43.937Z] #17 53.82 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-23T19:00:44.523Z] #17 54.25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-23T19:00:44.791Z] #17 54.66 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-23T19:00:45.756Z] #17 55.42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-23T19:00:46.023Z] #17 55.92 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-23T19:00:46.290Z] #17 56.11 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-23T19:00:46.872Z] #17 56.57 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-23T19:00:47.456Z] #17 57.27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-23T19:00:47.724Z] #17 57.63 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-23T19:00:48.309Z] #17 58.09 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-23T19:00:48.576Z] #17 58.48 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-23T19:00:49.163Z] #17 58.85 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-23T19:00:49.431Z] #17 59.26 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-23T19:00:49.699Z] #17 59.52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-23T19:00:50.659Z] #17 60.36 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-23T19:00:50.659Z] #17 60.60 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-23T19:00:50.925Z] #17 60.82 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-23T19:00:51.507Z] #17 61.44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-23T19:00:52.917Z] #17 62.70 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-23T19:00:53.184Z] #17 63.17 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-23T19:00:53.486Z] #17 63.48 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-23T19:00:54.120Z] #17 63.83 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-23T19:00:54.387Z] #17 64.14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-23T19:00:54.657Z] #17 64.71 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-23T19:00:56.601Z] #17 66.16 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-23T19:00:56.601Z] #17 66.44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-23T19:00:57.185Z] #17 66.89 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-23T19:00:57.452Z] #17 67.32 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-23T19:00:57.719Z] #17 67.59 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-23T19:00:57.719Z] #17 67.59 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:00:57.719Z] #17 67.59 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-23T19:00:57.719Z] #17 67.59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-23T19:00:57.719Z] #17 67.59 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-23T19:00:57.719Z] #17 67.59 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-23T19:00:57.719Z] #17 67.59 | ^ [2024-01-23T19:00:58.303Z] #17 68.15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-23T19:00:58.570Z] #17 68.53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-23T19:00:59.982Z] #17 69.79 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-23T19:01:00.251Z] #17 70.12 [ 68%] Linking C shared library libcsdk.so [2024-01-23T19:01:00.520Z] #17 70.41 [ 68%] Built target csdk [2024-01-23T19:01:00.520Z] #17 70.48 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-23T19:01:01.106Z] #17 70.95 [ 72%] Linking C executable template [2024-01-23T19:01:01.691Z] #17 71.37 [ 72%] Built target template [2024-01-23T19:01:01.691Z] #17 71.44 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-23T19:01:01.959Z] #17 71.79 [ 76%] Linking C executable device-counter [2024-01-23T19:01:02.545Z] #17 72.24 [ 76%] Built target device-counter [2024-01-23T19:01:02.545Z] #17 72.30 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-23T19:01:02.812Z] #17 72.64 [ 80%] Linking C executable device-random [2024-01-23T19:01:03.395Z] #17 73.10 [ 80%] Built target device-random [2024-01-23T19:01:03.395Z] #17 73.17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-23T19:01:03.662Z] #17 73.50 [ 84%] Linking C executable device-gyro [2024-01-23T19:01:03.932Z] #17 73.90 [ 84%] Built target device-gyro [2024-01-23T19:01:04.201Z] #17 73.97 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-23T19:01:04.469Z] #17 74.32 [ 88%] Linking C executable device-bitfields [2024-01-23T19:01:04.736Z] #17 74.76 [ 88%] Built target device-bitfields [2024-01-23T19:01:05.003Z] #17 74.82 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-23T19:01:05.588Z] #17 75.24 [ 92%] Linking C executable template-discovery [2024-01-23T19:01:05.588Z] #17 75.62 [ 92%] Built target template-discovery [2024-01-23T19:01:05.855Z] #17 75.69 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-23T19:01:06.120Z] #17 76.06 [ 96%] Linking C executable device-file [2024-01-23T19:01:06.702Z] #17 76.44 [ 96%] Built target device-file [2024-01-23T19:01:06.702Z] #17 76.50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-23T19:01:06.969Z] #17 76.93 [100%] Linking C executable device-terminal [2024-01-23T19:01:07.554Z] #17 77.33 [100%] Built target device-terminal [2024-01-23T19:01:07.554Z] #17 77.38 make: Entering directory '/tmp/sdk/build/release' [2024-01-23T19:01:07.554Z] #17 77.55 [ 68%] Built target csdk [2024-01-23T19:01:07.554Z] #17 77.62 [ 72%] Built target template [2024-01-23T19:01:07.822Z] #17 77.68 [ 76%] Built target device-counter [2024-01-23T19:01:07.822Z] #17 77.75 [ 80%] Built target device-random [2024-01-23T19:01:07.822Z] #17 77.81 [ 84%] Built target device-gyro [2024-01-23T19:01:07.822Z] #17 77.88 [ 88%] Built target device-bitfields [2024-01-23T19:01:08.092Z] #17 77.95 [ 92%] Built target template-discovery [2024-01-23T19:01:08.092Z] #17 78.02 [ 96%] Built target device-file [2024-01-23T19:01:08.092Z] #17 78.09 [100%] Built target device-terminal [2024-01-23T19:01:08.092Z] #17 78.15 Install the project... [2024-01-23T19:01:08.361Z] #17 78.18 -- Install configuration: "Release" [2024-01-23T19:01:08.361Z] #17 78.18 -- Installing: /usr/local/lib/libcsdk.so [2024-01-23T19:01:08.361Z] #17 78.19 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-23T19:01:08.361Z] #17 78.19 -- Installing: /usr/local/include [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/devsdk [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex/devices.h [2024-01-23T19:01:08.361Z] #17 78.20 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-23T19:01:08.361Z] #17 78.21 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-23T19:01:08.361Z] #17 78.21 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-23T19:01:08.361Z] #17 78.21 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-23T19:01:08.361Z] #17 78.22 make: Leaving directory '/tmp/sdk/build/release' [2024-01-23T19:01:08.361Z] #17 DONE 78.3s [2024-01-23T19:01:08.361Z] [2024-01-23T19:01:08.361Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-23T19:01:08.629Z] #18 DONE 0.2s [2024-01-23T19:01:08.629Z] [2024-01-23T19:01:08.629Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-23T19:01:08.629Z] #19 DONE 0.1s [2024-01-23T19:01:08.896Z] [2024-01-23T19:01:08.896Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-23T19:01:08.896Z] #20 DONE 0.1s [2024-01-23T19:01:08.896Z] [2024-01-23T19:01:08.896Z] #21 exporting to image [2024-01-23T19:01:08.896Z] #21 exporting layers [2024-01-23T19:01:09.161Z] #21 exporting layers 0.3s done [2024-01-23T19:01:09.161Z] #21 writing image sha256:c771e23b3ac577f681c043bec10ad56c694410551d325f6986469166081951ab done [2024-01-23T19:01:09.161Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-23T19:01:09.161Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:01:09.794Z] + docker inspect -f . ci-base-image-arm64 [2024-01-23T19:01:09.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:01:10.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-27724 does not seem to be running inside a container [2024-01-23T19:01:10.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-23T19:01:14.813Z] $ docker top b767d78a9e2712326852fb8a50f031960e5337de9ac05fd1a20ebe4561038916 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T19:01:15.350Z] + make test [2024-01-23T19:01:15.350Z] echo "make test" [2024-01-23T19:01:15.350Z] make test [Pipeline] } [2024-01-23T19:01:15.361Z] $ docker stop --time=1 b767d78a9e2712326852fb8a50f031960e5337de9ac05fd1a20ebe4561038916 [2024-01-23T19:01:16.922Z] $ docker rm -f --volumes b767d78a9e2712326852fb8a50f031960e5337de9ac05fd1a20ebe4561038916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-23T19:01:17.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-23T19:01:18.008Z] + ls -al . [2024-01-23T19:01:18.008Z] total 208 [2024-01-23T19:01:18.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:58 . [2024-01-23T19:01:18.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:58 .. [2024-01-23T19:01:18.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:58 .git [2024-01-23T19:01:18.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 18:58 .github [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 23 18:58 .gitignore [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 23 18:58 Attribution.txt [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 23 18:58 CHANGELOG.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 23 18:58 Doxyfile [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 18:58 GOVERNANCE.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 23 18:58 Jenkinsfile [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 18:58 LICENSE [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 23 18:58 Makefile [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 18:58 OWNERS.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 23 18:58 README.IOT.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 23 18:58 README.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 23 18:58 README.v3.md [2024-01-23T19:01:18.008Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:56 VERSION [2024-01-23T19:01:18.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:58 docs [2024-01-23T19:01:18.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:58 include [2024-01-23T19:01:18.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:58 scripts [2024-01-23T19:01:18.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:01:18.414Z] + 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=ba2b108be579b894361bf761129b224e51cba563 --label arch=arm64 --label version=0.0.0 . [2024-01-23T19:01:18.994Z] #0 building with "default" instance using docker driver [2024-01-23T19:01:18.994Z] [2024-01-23T19:01:18.994Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-23T19:01:18.994Z] #1 transferring dockerfile: 1.44kB done [2024-01-23T19:01:18.994Z] #1 DONE 0.0s [2024-01-23T19:01:18.994Z] [2024-01-23T19:01:18.994Z] #2 [internal] load .dockerignore [2024-01-23T19:01:18.994Z] #2 transferring context: 2B done [2024-01-23T19:01:18.994Z] #2 DONE 0.0s [2024-01-23T19:01:18.994Z] [2024-01-23T19:01:18.994Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-23T19:01:18.994Z] #3 DONE 0.0s [2024-01-23T19:01:18.994Z] [2024-01-23T19:01:18.994Z] #4 [internal] load build context [2024-01-23T19:01:18.994Z] #4 transferring context: 8.55kB 0.1s done [2024-01-23T19:01:19.265Z] #4 DONE 0.1s [2024-01-23T19:01:19.265Z] [2024-01-23T19:01:19.265Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-23T19:01:19.265Z] #5 DONE 0.2s [2024-01-23T19:01:19.265Z] [2024-01-23T19:01:19.265Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-23T19:01:20.223Z] #6 0.779 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-23T19:01:20.491Z] #6 1.299 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-23T19:01:20.758Z] #6 1.299 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-23T19:01:20.758Z] #6 1.299 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-23T19:01:20.758Z] #6 DONE 1.4s [2024-01-23T19:01:20.758Z] [2024-01-23T19:01:20.758Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-23T19:01:21.339Z] #7 DONE 0.7s [2024-01-23T19:01:21.339Z] [2024-01-23T19:01:21.339Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-23T19:01:22.297Z] #8 0.788 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:22.563Z] #8 1.171 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:23.146Z] #8 1.759 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-23T19:01:24.102Z] #8 2.646 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-23T19:01:24.102Z] #8 2.672 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-23T19:01:24.369Z] #8 2.985 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-23T19:01:24.369Z] #8 3.001 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-23T19:01:24.369Z] #8 3.006 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-23T19:01:24.369Z] #8 3.013 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-23T19:01:24.369Z] #8 3.021 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-23T19:01:24.369Z] #8 3.047 (7/11) Installing libblkid (2.38.1-r8) [2024-01-23T19:01:24.369Z] #8 3.061 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-23T19:01:24.369Z] #8 3.076 (9/11) Installing libmount (2.38.1-r8) [2024-01-23T19:01:24.369Z] #8 3.092 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-23T19:01:24.369Z] #8 3.103 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-23T19:01:24.637Z] #8 3.175 Executing busybox-1.36.1-r4.trigger [2024-01-23T19:01:24.637Z] #8 3.220 OK: 333 MiB in 100 packages [2024-01-23T19:01:28.892Z] #8 DONE 6.7s [2024-01-23T19:01:28.892Z] [2024-01-23T19:01:28.892Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-23T19:01:28.892Z] #9 DONE 0.1s [2024-01-23T19:01:28.892Z] [2024-01-23T19:01:28.892Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-23T19:01:28.892Z] #10 DONE 0.2s [2024-01-23T19:01:28.892Z] [2024-01-23T19:01:28.892Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-23T19:01:28.893Z] #11 DONE 0.1s [2024-01-23T19:01:28.893Z] [2024-01-23T19:01:28.893Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-23T19:01:28.893Z] #12 DONE 0.1s [2024-01-23T19:01:28.893Z] [2024-01-23T19:01:28.893Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-23T19:01:28.893Z] #13 DONE 0.1s [2024-01-23T19:01:28.893Z] [2024-01-23T19:01:28.893Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-23T19:01:28.893Z] #14 DONE 0.1s [2024-01-23T19:01:28.893Z] [2024-01-23T19:01:28.893Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-23T19:01:28.893Z] #15 DONE 0.1s [2024-01-23T19:01:28.893Z] [2024-01-23T19:01:28.893Z] #16 exporting to image [2024-01-23T19:01:28.893Z] #16 exporting layers [2024-01-23T19:01:29.157Z] #16 exporting layers 0.4s done [2024-01-23T19:01:29.423Z] #16 writing image sha256:f0f0cb472613c795110f3b922e3a27360850c6ec6ee48897f34599d997451330 done [2024-01-23T19:01:29.423Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-23T19:01:29.423Z] #16 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:01:30.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:01:30.148Z] [2024-01-23T19:01:30.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:01:30.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:01:30.770Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-23T19:01:30.770Z] 8998bd30e6a1: Pulling fs layer [2024-01-23T19:01:30.770Z] 04944245beec: Pulling fs layer [2024-01-23T19:01:30.770Z] 699f458cf7ca: Pulling fs layer [2024-01-23T19:01:30.770Z] 765212b225bb: Pulling fs layer [2024-01-23T19:01:30.770Z] f23df028b6ca: Pulling fs layer [2024-01-23T19:01:30.770Z] d65c8cfc05b1: Pulling fs layer [2024-01-23T19:01:30.770Z] 2437ff75d9bd: Pulling fs layer [2024-01-23T19:01:30.770Z] 765212b225bb: Waiting [2024-01-23T19:01:30.770Z] f23df028b6ca: Waiting [2024-01-23T19:01:30.770Z] d65c8cfc05b1: Waiting [2024-01-23T19:01:30.770Z] 2437ff75d9bd: Waiting [2024-01-23T19:01:30.770Z] 04944245beec: Verifying Checksum [2024-01-23T19:01:30.770Z] 04944245beec: Download complete [2024-01-23T19:01:30.770Z] 765212b225bb: Verifying Checksum [2024-01-23T19:01:30.770Z] 765212b225bb: Download complete [2024-01-23T19:01:30.770Z] f23df028b6ca: Verifying Checksum [2024-01-23T19:01:30.770Z] f23df028b6ca: Download complete [2024-01-23T19:01:30.770Z] d65c8cfc05b1: Download complete [2024-01-23T19:01:31.038Z] 699f458cf7ca: Download complete [2024-01-23T19:01:31.305Z] 8998bd30e6a1: Verifying Checksum [2024-01-23T19:01:31.305Z] 8998bd30e6a1: Download complete [2024-01-23T19:01:33.265Z] 2437ff75d9bd: Verifying Checksum [2024-01-23T19:01:33.265Z] 2437ff75d9bd: Download complete [2024-01-23T19:01:37.528Z] 8998bd30e6a1: Pull complete [2024-01-23T19:01:37.528Z] 04944245beec: Pull complete [2024-01-23T19:01:39.467Z] 699f458cf7ca: Pull complete [2024-01-23T19:01:39.467Z] 765212b225bb: Pull complete [2024-01-23T19:01:43.703Z] f23df028b6ca: Pull complete [2024-01-23T19:01:43.703Z] d65c8cfc05b1: Pull complete [2024-01-23T19:02:05.748Z] 2437ff75d9bd: Pull complete [2024-01-23T19:02:05.748Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-23T19:02:05.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-23T19:02:05.748Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:02:06.047Z] prd-ubuntu20.04-docker-arm64-4c-16g-27724 does not seem to be running inside a container [2024-01-23T19:02:06.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-23T19:02:07.534Z] $ docker top 2b091167f3b28bf4a7dc4784dbe50c0c22227b83b445dc84387f09849e82d90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:08.068Z] ---> job-cost.sh [2024-01-23T19:02:08.334Z] lf-activate-venv: SKIPPING [2024-01-23T19:02:08.334Z] INFO: No Stack... [2024-01-23T19:02:08.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T19:02:09.551Z] INFO: Archiving Costs [Pipeline] sh [2024-01-23T19:02:09.866Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2024-01-23T19:02:09.866Z] + cut -d, -f6 [Pipeline] lock [2024-01-23T19:02:09.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [2024-01-23T19:02:09.929Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] did not exist. Created. [2024-01-23T19:02:09.930Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-23T19:02:10.346Z] /w/workspace/device-sdk-c/4@tmp/durable-f8f4ee39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-23T19:02:10.667Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-23T19:02:10.717Z] Warning: overwriting stash ‘stack-cost’ [2024-01-23T19:02:11.160Z] Stashed 1 file(s) [Pipeline] } [2024-01-23T19:02:11.169Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-23T19:02:11.245Z] $ docker stop --time=1 2b091167f3b28bf4a7dc4784dbe50c0c22227b83b445dc84387f09849e82d90e [2024-01-23T19:02:12.609Z] $ docker rm -f --volumes 2b091167f3b28bf4a7dc4784dbe50c0c22227b83b445dc84387f09849e82d90e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-01-23T19:02:14.373Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives ] [2024-01-23T19:02:14.373Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-23T19:02:14.373Z] total 16 [2024-01-23T19:02:14.373Z] drwxr-xr-x 3 root root 4096 Jan 23 18:57 . [2024-01-23T19:02:14.373Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:57 .. [2024-01-23T19:02:14.373Z] drwxr-xr-x 2 root root 4096 Jan 23 18:57 cost [2024-01-23T19:02:14.373Z] -rw-r--r-- 1 root root 84 Jan 23 18:57 cost.csv [2024-01-23T19:02:14.373Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-23T19:02:14.373Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-23T19:02:14.373Z] total 16 [2024-01-23T19:02:14.373Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:57 . [2024-01-23T19:02:14.373Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:57 .. [2024-01-23T19:02:14.373Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 18:57 cost [2024-01-23T19:02:14.373Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 23 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:14.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:15.529Z] ---> package-listing.sh [2024-01-23T19:02:15.529Z] ++ facter osfamily [2024-01-23T19:02:15.529Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-23T19:02:15.789Z] + OS_FAMILY=debian [2024-01-23T19:02:15.789Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-500 [2024-01-23T19:02:15.789Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-23T19:02:15.789Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-23T19:02:15.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-23T19:02:15.789Z] + PACKAGES=/tmp/packages_start.txt [2024-01-23T19:02:15.789Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-23T19:02:15.789Z] + PACKAGES=/tmp/packages_end.txt [2024-01-23T19:02:15.789Z] + case "${OS_FAMILY}" in [2024-01-23T19:02:15.789Z] + dpkg -l [2024-01-23T19:02:15.789Z] + grep '^ii' [2024-01-23T19:02:15.789Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-23T19:02:15.789Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-23T19:02:15.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-23T19:02:15.789Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-23T19:02:15.789Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [2024-01-23T19:02:15.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [Pipeline] echo [2024-01-23T19:02:15.798Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-23T19:02:16.077Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-23T19:02:16.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-23T19:02:16.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-23T19:02:16.803Z] prd-ubuntu20.04-docker-8c-8g-27721 does not seem to be running inside a container [2024-01-23T19:02:16.839Z] $ 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-500/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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@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-23T19:02:17.041Z] $ docker top 90ed334bbded60e7a56c3c0bc8a912bb4f5332e73176c19d73301128f1a0d61c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-23T19:02:17.469Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-23T19:02:17.759Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-23T19:02:18.053Z] + ls /var/log/sa-host [2024-01-23T19:02:18.054Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-23T19:02:18.246Z] provisioning config files... [2024-01-23T19:02:18.255Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config12102104324199115915tmp [Pipeline] { [Pipeline] echo [2024-01-23T19:02:18.324Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:18.613Z] ---> create-netrc.sh [Pipeline] } [2024-01-23T19:02:18.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:19.015Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-23T19:02:19.024Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:19.305Z] ---> sudo-logs.sh [2024-01-23T19:02:19.305Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-23T19:02:19.374Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:19.656Z] ---> job-cost.sh [2024-01-23T19:02:19.656Z] lf-activate-venv: SKIPPING [2024-01-23T19:02:19.656Z] DEBUG: total: 0.2199999988079071 [2024-01-23T19:02:19.656Z] INFO: Retrieving Stack Cost... [2024-01-23T19:02:19.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-23T19:02:20.178Z] INFO: Archiving Costs [Pipeline] echo [2024-01-23T19:02:20.188Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-23T19:02:20.469Z] ---> logs-deploy.sh [2024-01-23T19:02:20.469Z] lf-activate-venv: SKIPPING [2024-01-23T19:02:20.469Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-500/4 [2024-01-23T19:02:20.469Z] INFO: archiving workspace using pattern(s): [2024-01-23T19:02:21.410Z] Archives upload complete. [2024-01-23T19:02:21.410Z] INFO: archiving logs to Nexus