Pull request #484 opened 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 a97fa26ccd45e5e5ebdb003dc693c70d0ee475e9+b359547df5a09ee3070876df63645d58a75503b0 (e2ff84e1779cf7fc3c9d7f22240b783d0e5c2aab) 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-ssh1060669241557439579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18365497725206079206.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8597227567014222172.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6856418470329923412.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh6795253586271294975.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6315285847748085578.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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-7695 in /w/workspace/edgexfoundry_device-sdk-c_PR-484 [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-484 # 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/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit a97fa26ccd45e5e5ebdb003dc693c70d0ee475e9 Merge succeeded, producing c444bc0c0937ad8eb6ed594e4bada67712953875 Checking out Revision c444bc0c0937ad8eb6ed594e4bada67712953875 (PR-484) > git config core.sparsecheckout # timeout=10 > git checkout -f a97fa26ccd45e5e5ebdb003dc693c70d0ee475e9 # 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 b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c444bc0c0937ad8eb6ed594e4bada67712953875 # timeout=10 Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-23T12:13:35.568Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-23T12:13:35.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-23T12:13:35.857Z] ========================================================= [2023-09-23T12:13:35.857Z] EdgeX Global Pipelines Version Info [2023-09-23T12:13:35.857Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:13:36.605Z] ------------------- [2023-09-23T12:13:36.605Z] stable info: [2023-09-23T12:13:36.605Z] ------------------- [2023-09-23T12:13:36.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-23T12:13:36.606Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T12:13:36.606Z] Message: update stable to v1.0.254 [2023-09-23T12:13:37.176Z] ------------------- [2023-09-23T12:13:37.176Z] experimental info: [2023-09-23T12:13:37.176Z] ------------------- [2023-09-23T12:13:37.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-23T12:13:37.176Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T12:13:37.176Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-23T12:13:37.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-09-23T12:13:37.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-09-23T12:13:37.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-23T12:13:37.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-23T12:13:37.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-23T12:13:37.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-09-23T12:13:37.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-09-23T12:13:37.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-23T12:13:37.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-23T12:13:37.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-09-23T12:13:37.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-23T12:13:37.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-23T12:13:37.918Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T12:13:37.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T12:13:37.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-23T12:13:38.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-23T12:13:38.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-23T12:13:38.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo [2023-09-23T12:13:38.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo [2023-09-23T12:13:38.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo [2023-09-23T12:13:38.232Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c444bc0c0937ad8eb6ed594e4bada67712953875 [Pipeline] echo [2023-09-23T12:13:38.275Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c444bc0 [Pipeline] echo [2023-09-23T12:13:38.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T12:13:38.431Z] provisioning config files... [2023-09-23T12:13:38.447Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config4017322007740040820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:13:38.851Z] ---> docker-login.sh [2023-09-23T12:13:38.851Z] nexus3.edgexfoundry.org:10001 [2023-09-23T12:13:38.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:39.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:39.114Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:39.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:39.114Z] [2023-09-23T12:13:39.114Z] Login Succeeded [2023-09-23T12:13:39.114Z] nexus3.edgexfoundry.org:10002 [2023-09-23T12:13:39.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:39.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:39.375Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:39.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:39.375Z] [2023-09-23T12:13:39.375Z] Login Succeeded [2023-09-23T12:13:39.375Z] nexus3.edgexfoundry.org:10003 [2023-09-23T12:13:39.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:39.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:39.375Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:39.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:39.375Z] [2023-09-23T12:13:39.375Z] Login Succeeded [2023-09-23T12:13:39.376Z] nexus3.edgexfoundry.org:10004 [2023-09-23T12:13:39.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:39.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:39.635Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:39.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:39.635Z] [2023-09-23T12:13:39.635Z] Login Succeeded [2023-09-23T12:13:39.635Z] docker.io [2023-09-23T12:13:39.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:39.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:39.897Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:39.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:39.897Z] [2023-09-23T12:13:39.897Z] Login Succeeded [2023-09-23T12:13:39.897Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T12:13:39.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-09-23T12:13:40.586Z] + git rev-list -1 --merges c444bc0c0937ad8eb6ed594e4bada67712953875~1..c444bc0c0937ad8eb6ed594e4bada67712953875 [Pipeline] echo [2023-09-23T12:13:40.653Z] -----------> git rev-list -1 --merges c444bc0c0937ad8eb6ed594e4bada67712953875~1..c444bc0c0937ad8eb6ed594e4bada67712953875 c444bc0c0937ad8eb6ed594e4bada67712953875 [2023-09-23T12:13:40.653Z] c444bc0c0937ad8eb6ed594e4bada67712953875 [false] [Pipeline] sh [2023-09-23T12:13:40.964Z] + git log --format=format:%s -1 c444bc0c0937ad8eb6ed594e4bada67712953875 [Pipeline] echo [2023-09-23T12:13:41.003Z] ========================================================= [2023-09-23T12:13:41.003Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T12:13:41.003Z] ========================================================= 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 [2023-09-23T12:13:41.892Z] + git rev-list -1 --merges c444bc0c0937ad8eb6ed594e4bada67712953875~1..c444bc0c0937ad8eb6ed594e4bada67712953875 [Pipeline] echo [2023-09-23T12:13:41.927Z] -----------> git rev-list -1 --merges c444bc0c0937ad8eb6ed594e4bada67712953875~1..c444bc0c0937ad8eb6ed594e4bada67712953875 c444bc0c0937ad8eb6ed594e4bada67712953875 [2023-09-23T12:13:41.927Z] c444bc0c0937ad8eb6ed594e4bada67712953875 [false] [Pipeline] sh [2023-09-23T12:13:42.235Z] + git log --format=format:%s -1 c444bc0c0937ad8eb6ed594e4bada67712953875 [Pipeline] echo [2023-09-23T12:13:42.271Z] ========================================================= [2023-09-23T12:13:42.271Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T12:13:42.271Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-09-23T12:13:42.783Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T12:13:42.783Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-23T12:13:42.783Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-23T12:13:42.783Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-23T12:13:42.783Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-23T12:13:42.783Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-23T12:13:42.783Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:13:43.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T12:13:43.288Z] [2023-09-23T12:13:43.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:13:43.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T12:13:43.665Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-23T12:13:43.665Z] b85a868b505f: Pulling fs layer [2023-09-23T12:13:43.665Z] e2be974225ed: Pulling fs layer [2023-09-23T12:13:43.665Z] 339a4e72a1f5: Pulling fs layer [2023-09-23T12:13:43.665Z] 988bab9f4d93: Pulling fs layer [2023-09-23T12:13:43.665Z] 1469e6f7b9e6: Pulling fs layer [2023-09-23T12:13:43.665Z] eaf3925da568: Pulling fs layer [2023-09-23T12:13:43.665Z] bab4dde63d76: Pulling fs layer [2023-09-23T12:13:43.665Z] bde34c3a00c8: Pulling fs layer [2023-09-23T12:13:43.665Z] b352a97aabf1: Pulling fs layer [2023-09-23T12:13:43.665Z] 4872d77fe225: Pulling fs layer [2023-09-23T12:13:43.665Z] 5851b861e8e6: Pulling fs layer [2023-09-23T12:13:43.665Z] 988bab9f4d93: Waiting [2023-09-23T12:13:43.665Z] b352a97aabf1: Waiting [2023-09-23T12:13:43.665Z] 4872d77fe225: Waiting [2023-09-23T12:13:43.665Z] 5851b861e8e6: Waiting [2023-09-23T12:13:43.665Z] bde34c3a00c8: Waiting [2023-09-23T12:13:43.665Z] eaf3925da568: Waiting [2023-09-23T12:13:43.665Z] bab4dde63d76: Waiting [2023-09-23T12:13:43.665Z] e2be974225ed: Download complete [2023-09-23T12:13:43.665Z] 988bab9f4d93: Verifying Checksum [2023-09-23T12:13:43.665Z] 988bab9f4d93: Download complete [2023-09-23T12:13:43.665Z] 1469e6f7b9e6: Verifying Checksum [2023-09-23T12:13:43.665Z] 1469e6f7b9e6: Download complete [2023-09-23T12:13:43.665Z] eaf3925da568: Verifying Checksum [2023-09-23T12:13:43.665Z] eaf3925da568: Download complete [2023-09-23T12:13:43.926Z] 339a4e72a1f5: Verifying Checksum [2023-09-23T12:13:43.927Z] 339a4e72a1f5: Download complete [2023-09-23T12:13:43.927Z] bde34c3a00c8: Download complete [2023-09-23T12:13:43.927Z] b352a97aabf1: Download complete [2023-09-23T12:13:43.927Z] 4872d77fe225: Verifying Checksum [2023-09-23T12:13:43.927Z] 4872d77fe225: Download complete [2023-09-23T12:13:43.927Z] 5851b861e8e6: Verifying Checksum [2023-09-23T12:13:43.927Z] 5851b861e8e6: Download complete [2023-09-23T12:13:43.927Z] b85a868b505f: Verifying Checksum [2023-09-23T12:13:43.927Z] b85a868b505f: Download complete [2023-09-23T12:13:44.186Z] bab4dde63d76: Verifying Checksum [2023-09-23T12:13:44.186Z] bab4dde63d76: Download complete [2023-09-23T12:13:45.130Z] b85a868b505f: Pull complete [2023-09-23T12:13:45.389Z] e2be974225ed: Pull complete [2023-09-23T12:13:45.957Z] 339a4e72a1f5: Pull complete [2023-09-23T12:13:45.957Z] 988bab9f4d93: Pull complete [2023-09-23T12:13:46.216Z] 1469e6f7b9e6: Pull complete [2023-09-23T12:13:46.216Z] eaf3925da568: Pull complete [2023-09-23T12:13:48.751Z] bab4dde63d76: Pull complete [2023-09-23T12:13:48.751Z] bde34c3a00c8: Pull complete [2023-09-23T12:13:48.751Z] b352a97aabf1: Pull complete [2023-09-23T12:13:48.751Z] 4872d77fe225: Pull complete [2023-09-23T12:13:48.751Z] 5851b861e8e6: Pull complete [2023-09-23T12:13:48.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-23T12:13:48.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T12:13:48.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:13:48.966Z] prd-ubuntu20.04-docker-8c-8g-7695 does not seem to be running inside a container [2023-09-23T12:13:48.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T12:13:51.621Z] $ docker top 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 -eo pid,comm [2023-09-23T12:13:51.685Z] 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). [2023-09-23T12:13:51.685Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T12:13:51.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T12:13:51.817Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T12:13:51.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T12:13:51.932Z] $ docker exec 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 ssh-agent [2023-09-23T12:13:52.041Z] SSH_AUTH_SOCK=/tmp/ssh-mzhRw2jHiYBl/agent.33 [2023-09-23T12:13:52.041Z] SSH_AGENT_PID=39 [2023-09-23T12:13:52.048Z] Running ssh-add (command line suppressed) [2023-09-23T12:13:52.143Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_17332533897008331549.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_17332533897008331549.key) [2023-09-23T12:13:52.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T12:13:52.492Z] + git tag --points-at HEAD [Pipeline] } [2023-09-23T12:13:52.515Z] $ docker exec --env ******** --env ******** 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 ssh-agent -k [2023-09-23T12:13:52.617Z] unset SSH_AUTH_SOCK; [2023-09-23T12:13:52.618Z] unset SSH_AGENT_PID; [2023-09-23T12:13:52.618Z] echo Agent pid 39 killed; [2023-09-23T12:13:52.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-23T12:13:52.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T12:13:52.715Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T12:13:52.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T12:13:52.825Z] $ docker exec 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 ssh-agent [2023-09-23T12:13:52.945Z] SSH_AUTH_SOCK=/tmp/ssh-rRMNC4w96JfT/agent.71 [2023-09-23T12:13:52.945Z] SSH_AGENT_PID=77 [2023-09-23T12:13:52.950Z] Running ssh-add (command line suppressed) [2023-09-23T12:13:53.045Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_13685377895335147718.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_13685377895335147718.key) [2023-09-23T12:13:53.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T12:13:53.388Z] + git semver init [2023-09-23T12:13:53.649Z] 2023-09-23 12:13:53,564 [run_init] DEBUG init version:0.0.0 force:False [2023-09-23T12:13:53.649Z] 2023-09-23 12:13:53,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver [2023-09-23T12:13:53.649Z] 2023-09-23 12:13:53,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver [2023-09-23T12:13:53.649Z] 2023-09-23 12:13:53,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484, universal_newlines=False, shell=None, istream=None) [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,407 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.git/info/exclude [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,408 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 with force:False [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,408 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,412 [execute] INFO git cat-file --batch-check [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,418 [execute] INFO git cat-file --batch [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T12:13:54.591Z] 2023-09-23 12:13:54,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-09-23T12:13:54.591Z] 0.0.0 [Pipeline] } [2023-09-23T12:13:54.610Z] $ docker exec --env ******** --env ******** 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 ssh-agent -k [2023-09-23T12:13:54.712Z] unset SSH_AUTH_SOCK; [2023-09-23T12:13:54.715Z] unset SSH_AGENT_PID; [2023-09-23T12:13:54.716Z] echo Agent pid 77 killed; [2023-09-23T12:13:54.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T12:13:55.146Z] + git semver [Pipeline] } [2023-09-23T12:13:55.423Z] $ docker stop --time=1 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 [2023-09-23T12:13:56.710Z] $ docker rm -f --volumes 0b7983ab2a012968000366cb5d38b5dc2d63ffe4cf00925b0f36c6b6d38bcf85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T12:13:57.120Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-23T12:13:57.477Z] Stashed 1 file(s) [Pipeline] echo [2023-09-23T12:13:57.493Z] [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 [2023-09-23T12:13:58.016Z] provisioning config files... [2023-09-23T12:13:58.026Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config9696749406985407254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:13:58.373Z] ---> docker-login.sh [2023-09-23T12:13:58.373Z] nexus3.edgexfoundry.org:10001 [2023-09-23T12:13:58.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:58.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:58.373Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:58.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:58.373Z] [2023-09-23T12:13:58.373Z] Login Succeeded [2023-09-23T12:13:58.373Z] nexus3.edgexfoundry.org:10002 [2023-09-23T12:13:58.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:58.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:58.373Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:58.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:58.373Z] [2023-09-23T12:13:58.373Z] Login Succeeded [2023-09-23T12:13:58.373Z] nexus3.edgexfoundry.org:10003 [2023-09-23T12:13:58.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:58.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:58.633Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:58.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:58.633Z] [2023-09-23T12:13:58.633Z] Login Succeeded [2023-09-23T12:13:58.633Z] nexus3.edgexfoundry.org:10004 [2023-09-23T12:13:58.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:58.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:58.633Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:58.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:58.633Z] [2023-09-23T12:13:58.633Z] Login Succeeded [2023-09-23T12:13:58.633Z] docker.io [2023-09-23T12:13:58.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:13:58.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:13:58.892Z] Configure a credential helper to remove this warning. See [2023-09-23T12:13:58.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:13:58.892Z] [2023-09-23T12:13:58.892Z] Login Succeeded [2023-09-23T12:13:58.892Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T12:13:58.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T12:13:59.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T12:13:59.158Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-09-23T12:13:59.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T12:13:59.225Z] ========================================================= [2023-09-23T12:13:59.226Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-09-23T12:13:59.226Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:13:59.644Z] + 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 . [2023-09-23T12:13:59.644Z] Sending build context to Docker daemon 5.004MB [2023-09-23T12:13:59.644Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-23T12:13:59.644Z] Step 2/21 : FROM ${BASE} as builder [2023-09-23T12:13:59.644Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-09-23T12:13:59.644Z] 91d30c5bc195: Pulling fs layer [2023-09-23T12:13:59.644Z] 316e5a4585fb: Pulling fs layer [2023-09-23T12:13:59.904Z] 91d30c5bc195: Verifying Checksum [2023-09-23T12:13:59.904Z] 91d30c5bc195: Download complete [2023-09-23T12:13:59.904Z] 91d30c5bc195: Pull complete [2023-09-23T12:14:00.471Z] 316e5a4585fb: Verifying Checksum [2023-09-23T12:14:00.471Z] 316e5a4585fb: Download complete [2023-09-23T12:14:03.754Z] 316e5a4585fb: Pull complete [2023-09-23T12:14:03.754Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-09-23T12:14:03.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-09-23T12:14:03.754Z] ---> e83ffa357ff4 [2023-09-23T12:14:03.754Z] 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 [2023-09-23T12:14:04.704Z] ---> Running in bf9e83efb1b4 [2023-09-23T12:14:04.963Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-23T12:14:05.223Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:14:05.223Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:14:05.223Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:14:05.483Z] Removing intermediate container bf9e83efb1b4 [2023-09-23T12:14:05.483Z] ---> c67e6ff58c20 [2023-09-23T12:14:05.483Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:14:05.483Z] ---> Running in c5506820bfd9 [2023-09-23T12:14:06.052Z] Removing intermediate container c5506820bfd9 [2023-09-23T12:14:06.052Z] ---> ddf4e2be57bd [2023-09-23T12:14:06.052Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-23T12:14:06.312Z] ---> Running in 04ab8c80f110 [2023-09-23T12:14:06.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:06.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:06.829Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:07.397Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:14:07.397Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:14:07.397Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:14:07.397Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-23T12:14:07.397Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-23T12:14:07.397Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-23T12:14:08.335Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-23T12:14:08.335Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-23T12:14:08.335Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-23T12:14:08.335Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-23T12:14:08.335Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-23T12:14:08.903Z] (11/16) Installing libblkid (2.38-r1) [2023-09-23T12:14:08.903Z] (12/16) Installing libuuid (2.38-r1) [2023-09-23T12:14:08.903Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-23T12:14:08.903Z] (14/16) Installing libmount (2.38-r1) [2023-09-23T12:14:09.161Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-23T12:14:09.161Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-23T12:14:09.161Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:14:09.161Z] OK: 280 MiB in 90 packages [2023-09-23T12:14:09.729Z] Removing intermediate container 04ab8c80f110 [2023-09-23T12:14:09.729Z] ---> 597b1cd7003d [2023-09-23T12:14:09.729Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-23T12:14:09.729Z] ---> Running in 7a0a96fe8816 [2023-09-23T12:14:10.299Z] Removing intermediate container 7a0a96fe8816 [2023-09-23T12:14:10.299Z] ---> 10ad88c46c1f [2023-09-23T12:14:10.299Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-23T12:14:10.299Z] ---> 8c47abe48ddc [2023-09-23T12:14:10.299Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-23T12:14:10.559Z] ---> c1ef75e98e63 [2023-09-23T12:14:10.559Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-23T12:14:10.820Z] ---> 9778bb2c84b2 [2023-09-23T12:14:10.820Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-23T12:14:10.820Z] ---> d7289736ca4a [2023-09-23T12:14:10.820Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-23T12:14:11.079Z] ---> 82446e728759 [2023-09-23T12:14:11.079Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-23T12:14:11.079Z] ---> 97cb87fcacc7 [2023-09-23T12:14:11.079Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-23T12:14:11.338Z] ---> Running in c94d4c6a5cf5 [2023-09-23T12:14:11.597Z] + CPPCHECK=false [2023-09-23T12:14:11.597Z] + DOCGEN=false [2023-09-23T12:14:11.597Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-23T12:14:11.597Z] + '[' 0 -gt 0 ] [2023-09-23T12:14:11.597Z] + readlink -f ./scripts/build.sh [2023-09-23T12:14:11.597Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-23T12:14:11.597Z] + dirname /tmp/sdk/scripts [2023-09-23T12:14:11.597Z] + ROOT=/tmp/sdk [2023-09-23T12:14:11.597Z] + cd /tmp/sdk [2023-09-23T12:14:11.597Z] + mkdir -p /tmp/sdk/build/release [2023-09-23T12:14:11.597Z] + cd /tmp/sdk/build/release [2023-09-23T12:14:11.597Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-23T12:14:11.597Z] -- The C compiler identification is GNU 11.2.1 [2023-09-23T12:14:11.597Z] -- Detecting C compiler ABI info [2023-09-23T12:14:11.597Z] -- Detecting C compiler ABI info - done [2023-09-23T12:14:11.597Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-23T12:14:11.597Z] -- Detecting C compile features [2023-09-23T12:14:11.597Z] -- Detecting C compile features - done [2023-09-23T12:14:11.597Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-23T12:14:11.856Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-23T12:14:11.856Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-23T12:14:11.856Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-23T12:14:11.856Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-23T12:14:11.856Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-23T12:14:11.856Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-23T12:14:11.856Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-23T12:14:11.856Z] -- /opt/iotech/iot/1.5/include [2023-09-23T12:14:11.856Z] -- C SDK 0.0.0 for Linux [2023-09-23T12:14:11.856Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-23T12:14:11.856Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-23T12:14:11.856Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-23T12:14:11.856Z] -- Configuring done [2023-09-23T12:14:11.856Z] -- Generating done [2023-09-23T12:14:11.856Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-23T12:14:11.856Z] + make all+ tee release.log [2023-09-23T12:14:11.856Z]  package [2023-09-23T12:14:11.856Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-23T12:14:12.113Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-23T12:14:12.377Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-23T12:14:12.377Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-23T12:14:12.637Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-23T12:14:12.637Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-23T12:14:12.835Z] Still waiting to schedule task [2023-09-23T12:14:12.836Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-23T12:14:13.205Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-23T12:14:13.205Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-23T12:14:13.205Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-23T12:14:13.205Z] 294 | while (privateConfig) [2023-09-23T12:14:13.205Z] | ^~~~~~~~~~~~~ [2023-09-23T12:14:13.205Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-23T12:14:13.205Z] 271 | while (result) [2023-09-23T12:14:13.205Z] | ^~~~~~ [2023-09-23T12:14:13.205Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-23T12:14:13.205Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-23T12:14:13.464Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-23T12:14:14.035Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-23T12:14:14.035Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-23T12:14:14.035Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-23T12:14:14.294Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-23T12:14:14.294Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-23T12:14:14.553Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-23T12:14:14.553Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-23T12:14:15.123Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-23T12:14:15.123Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-23T12:14:15.123Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-23T12:14:15.382Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-23T12:14:16.320Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-23T12:14:16.581Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-23T12:14:16.581Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-23T12:14:16.581Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-23T12:14:16.840Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-23T12:14:17.099Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-23T12:14:17.359Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-23T12:14:17.618Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-23T12:14:17.618Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-23T12:14:17.877Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-23T12:14:18.138Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-23T12:14:18.396Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-23T12:14:18.396Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-23T12:14:18.656Z] [ 68%] Linking C shared library libcsdk.so [2023-09-23T12:14:18.656Z] [ 68%] Built target csdk [2023-09-23T12:14:18.656Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-23T12:14:18.656Z] [ 72%] Linking C executable template [2023-09-23T12:14:18.914Z] [ 72%] Built target template [2023-09-23T12:14:18.914Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-23T12:14:18.914Z] [ 76%] Linking C executable device-counter [2023-09-23T12:14:18.914Z] [ 76%] Built target device-counter [2023-09-23T12:14:19.172Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-23T12:14:19.172Z] [ 80%] Linking C executable device-random [2023-09-23T12:14:19.172Z] [ 80%] Built target device-random [2023-09-23T12:14:19.172Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-23T12:14:19.438Z] [ 84%] Linking C executable device-gyro [2023-09-23T12:14:19.438Z] [ 84%] Built target device-gyro [2023-09-23T12:14:19.438Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-23T12:14:19.438Z] [ 88%] Linking C executable device-bitfields [2023-09-23T12:14:19.698Z] [ 88%] Built target device-bitfields [2023-09-23T12:14:19.698Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-23T12:14:19.698Z] [ 92%] Linking C executable template-discovery [2023-09-23T12:14:19.968Z] [ 92%] Built target template-discovery [2023-09-23T12:14:19.968Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-23T12:14:19.968Z] [ 96%] Linking C executable device-file [2023-09-23T12:14:19.968Z] [ 96%] Built target device-file [2023-09-23T12:14:19.968Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-23T12:14:20.230Z] [100%] Linking C executable device-terminal [2023-09-23T12:14:20.230Z] [100%] Built target device-terminal [2023-09-23T12:14:20.230Z] Run CPack packaging tool... [2023-09-23T12:14:20.230Z] CPack: Create package using TGZ [2023-09-23T12:14:20.230Z] CPack: Install projects [2023-09-23T12:14:20.230Z] CPack: - Run preinstall target for: Csdk [2023-09-23T12:14:20.490Z] CPack: - Install project: Csdk [] [2023-09-23T12:14:20.490Z] CPack: Create package [2023-09-23T12:14:20.490Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-23T12:14:20.490Z] + '[' false '=' true ] [2023-09-23T12:14:20.490Z] + '[' false '=' true ] [2023-09-23T12:14:20.490Z] + mkdir -p /tmp/sdk/build/debug [2023-09-23T12:14:20.490Z] + cd /tmp/sdk/build/debug [2023-09-23T12:14:20.490Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-23T12:14:20.750Z] -- The C compiler identification is GNU 11.2.1 [2023-09-23T12:14:20.750Z] -- Detecting C compiler ABI info [2023-09-23T12:14:20.750Z] -- Detecting C compiler ABI info - done [2023-09-23T12:14:20.750Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-23T12:14:20.750Z] -- Detecting C compile features [2023-09-23T12:14:20.750Z] -- Detecting C compile features - done [2023-09-23T12:14:20.750Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-23T12:14:20.750Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-23T12:14:20.750Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-23T12:14:20.750Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-23T12:14:20.750Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-23T12:14:20.750Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-23T12:14:20.750Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-23T12:14:20.750Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-23T12:14:20.750Z] -- /opt/iotech/iot/1.5/include [2023-09-23T12:14:20.750Z] -- C SDK 0.0.0 for Linux [2023-09-23T12:14:20.750Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-23T12:14:21.010Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-23T12:14:21.010Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-23T12:14:21.010Z] -- Configuring done [2023-09-23T12:14:21.010Z] -- Generating done [2023-09-23T12:14:21.010Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-23T12:14:21.010Z] + make [2023-09-23T12:14:21.010Z] + tee debug.log [2023-09-23T12:14:21.010Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-23T12:14:21.270Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-23T12:14:21.270Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-23T12:14:21.270Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-23T12:14:21.529Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-23T12:14:21.529Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-23T12:14:21.529Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-23T12:14:21.788Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-23T12:14:21.788Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-23T12:14:21.788Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-23T12:14:22.047Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-23T12:14:22.047Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-23T12:14:22.306Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-23T12:14:22.306Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-23T12:14:22.306Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-23T12:14:22.306Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-23T12:14:22.565Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-23T12:14:22.565Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-23T12:14:22.565Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-23T12:14:22.824Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-23T12:14:22.824Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-23T12:14:23.082Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-23T12:14:23.082Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-23T12:14:23.342Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-23T12:14:23.342Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-23T12:14:23.342Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-23T12:14:23.601Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-23T12:14:23.860Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-23T12:14:23.860Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-23T12:14:23.860Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-23T12:14:24.118Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-23T12:14:24.118Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-23T12:14:24.377Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-23T12:14:24.377Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-23T12:14:24.377Z] [ 68%] Linking C shared library libcsdk.so [2023-09-23T12:14:24.377Z] [ 68%] Built target csdk [2023-09-23T12:14:24.377Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-23T12:14:24.638Z] [ 72%] Linking C executable template [2023-09-23T12:14:24.638Z] [ 72%] Built target template [2023-09-23T12:14:24.638Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-23T12:14:24.638Z] [ 76%] Linking C executable device-counter [2023-09-23T12:14:24.900Z] [ 76%] Built target device-counter [2023-09-23T12:14:24.900Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-23T12:14:24.900Z] [ 80%] Linking C executable device-random [2023-09-23T12:14:24.900Z] [ 80%] Built target device-random [2023-09-23T12:14:24.900Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-23T12:14:25.159Z] [ 84%] Linking C executable device-gyro [2023-09-23T12:14:25.159Z] [ 84%] Built target device-gyro [2023-09-23T12:14:25.159Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-23T12:14:25.159Z] [ 88%] Linking C executable device-bitfields [2023-09-23T12:14:25.159Z] [ 88%] Built target device-bitfields [2023-09-23T12:14:25.159Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-23T12:14:25.417Z] [ 92%] Linking C executable template-discovery [2023-09-23T12:14:25.417Z] [ 92%] Built target template-discovery [2023-09-23T12:14:25.417Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-23T12:14:25.417Z] [ 96%] Linking C executable device-file [2023-09-23T12:14:25.674Z] [ 96%] Built target device-file [2023-09-23T12:14:25.675Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-23T12:14:25.675Z] [100%] Linking C executable device-terminal [2023-09-23T12:14:25.675Z] [100%] Built target device-terminal [2023-09-23T12:14:25.675Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.675Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.675Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 68%] Built target csdk [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 72%] Built target template [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 76%] Built target device-counter [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 80%] Built target device-random [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 84%] Built target device-gyro [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 88%] Built target device-bitfields [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 92%] Built target template-discovery [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [ 96%] Built target device-file [2023-09-23T12:14:25.934Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] [100%] Built target device-terminal [2023-09-23T12:14:25.934Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:25.934Z] Install the project... [2023-09-23T12:14:25.934Z] -- Install configuration: "Release" [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-23T12:14:25.934Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/devsdk [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-23T12:14:25.934Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-23T12:14:25.934Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:14:26.885Z] Removing intermediate container c94d4c6a5cf5 [2023-09-23T12:14:26.885Z] ---> af476ca3fac1 [2023-09-23T12:14:26.885Z] Step 14/21 : FROM ${BASE} [2023-09-23T12:14:26.885Z] ---> e83ffa357ff4 [2023-09-23T12:14:26.885Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-23T12:14:26.885Z] ---> Running in 60e4e890ed89 [2023-09-23T12:14:26.885Z] Removing intermediate container 60e4e890ed89 [2023-09-23T12:14:26.885Z] ---> 41d920033145 [2023-09-23T12:14:26.885Z] 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 [2023-09-23T12:14:26.885Z] ---> Running in 9df67fb2c74c [2023-09-23T12:14:27.145Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-23T12:14:27.728Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:14:27.728Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:14:27.728Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:14:27.728Z] Removing intermediate container 9df67fb2c74c [2023-09-23T12:14:27.728Z] ---> 97f82f90ad81 [2023-09-23T12:14:27.728Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:14:27.728Z] ---> Running in ba24224f656d [2023-09-23T12:14:28.676Z] Removing intermediate container ba24224f656d [2023-09-23T12:14:28.676Z] ---> f35cdd061586 [2023-09-23T12:14:28.676Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-09-23T12:14:28.676Z] ---> Running in e530b1a9b05b [2023-09-23T12:14:28.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:28.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:29.198Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:29.767Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:14:29.767Z] (1/7) Installing curl (8.3.0-r0) [2023-09-23T12:14:29.767Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-23T12:14:29.767Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-23T12:14:29.767Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-23T12:14:30.337Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-23T12:14:30.337Z] (6/7) Installing libuuid (2.38-r1) [2023-09-23T12:14:30.337Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-23T12:14:31.285Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:14:31.285Z] OK: 276 MiB in 83 packages [2023-09-23T12:14:31.544Z] Removing intermediate container e530b1a9b05b [2023-09-23T12:14:31.544Z] ---> e8f7e9f44e71 [2023-09-23T12:14:31.544Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-23T12:14:31.806Z] ---> 690cfb305bb0 [2023-09-23T12:14:31.806Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-23T12:14:31.806Z] ---> dc7ea17b8d35 [2023-09-23T12:14:31.806Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-23T12:14:32.067Z] ---> 873ef348a0fa [2023-09-23T12:14:32.067Z] Successfully built 873ef348a0fa [2023-09-23T12:14:32.067Z] 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 [2023-09-23T12:14:32.757Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T12:14:32.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:14:32.904Z] prd-ubuntu20.04-docker-8c-8g-7695 does not seem to be running inside a container [2023-09-23T12:14:32.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@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 ******** ci-base-image-x86_64 cat [2023-09-23T12:14:33.290Z] $ docker top e67ac3775663bd9fa43be7df0b31cbd295d4672058c9bc160d799bcac29360aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T12:14:33.684Z] + make test [2023-09-23T12:14:33.684Z] echo "make test" [2023-09-23T12:14:33.684Z] make test [Pipeline] } [2023-09-23T12:14:33.716Z] $ docker stop --time=1 e67ac3775663bd9fa43be7df0b31cbd295d4672058c9bc160d799bcac29360aa [2023-09-23T12:14:34.989Z] $ docker rm -f --volumes e67ac3775663bd9fa43be7df0b31cbd295d4672058c9bc160d799bcac29360aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T12:14:35.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T12:14:36.184Z] + ls -al . [2023-09-23T12:14:36.184Z] total 212 [2023-09-23T12:14:36.184Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 12:13 . [2023-09-23T12:14:36.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:13 .. [2023-09-23T12:14:36.184Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 12:13 .git [2023-09-23T12:14:36.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 12:13 .github [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 23 12:13 .gitignore [2023-09-23T12:14:36.184Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 12:13 .semver [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 23 12:13 Attribution.txt [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 23 12:13 CHANGES [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 23 12:13 Doxyfile [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 12:13 GOVERNANCE.md [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 23 12:13 Jenkinsfile [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 23 12:13 LICENSE [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 23 12:13 Makefile [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 23 12:13 OWNERS.md [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 23 12:13 README.IOT.md [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 23 12:13 README.md [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 23 12:13 README.v3.md [2023-09-23T12:14:36.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 12:13 VERSION [2023-09-23T12:14:36.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 12:13 docs [2023-09-23T12:14:36.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:13 include [2023-09-23T12:14:36.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 12:13 scripts [2023-09-23T12:14:36.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:13 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:14:36.582Z] + 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=c444bc0c0937ad8eb6ed594e4bada67712953875 --label arch=amd64 --label version=0.0.0 . [2023-09-23T12:14:36.582Z] Sending build context to Docker daemon 5.004MB [2023-09-23T12:14:36.582Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-23T12:14:36.582Z] Step 2/17 : FROM ${BASE} [2023-09-23T12:14:36.582Z] ---> 873ef348a0fa [2023-09-23T12:14:36.582Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-23T12:14:36.582Z] ---> Running in 0bf9397f5bb7 [2023-09-23T12:14:36.840Z] Removing intermediate container 0bf9397f5bb7 [2023-09-23T12:14:36.840Z] ---> 2d93c06feb03 [2023-09-23T12:14:36.840Z] 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 [2023-09-23T12:14:36.840Z] ---> Running in 0d0160511210 [2023-09-23T12:14:37.099Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-23T12:14:37.360Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:14:37.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:14:37.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:14:37.619Z] Removing intermediate container 0d0160511210 [2023-09-23T12:14:37.619Z] ---> 3be5dbe5aa4c [2023-09-23T12:14:37.619Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:14:37.619Z] ---> Running in e8ebc0e9268e [2023-09-23T12:14:38.185Z] Removing intermediate container e8ebc0e9268e [2023-09-23T12:14:38.185Z] ---> e4a6f7df959e [2023-09-23T12:14:38.185Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-23T12:14:38.185Z] ---> Running in 454f12e9ac45 [2023-09-23T12:14:38.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:38.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:38.702Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-23T12:14:39.271Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:14:39.271Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:14:39.271Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:14:39.271Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-23T12:14:39.838Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-23T12:14:40.097Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-23T12:14:40.097Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-23T12:14:40.097Z] (7/11) Installing libblkid (2.38-r1) [2023-09-23T12:14:40.097Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-23T12:14:40.097Z] (9/11) Installing libmount (2.38-r1) [2023-09-23T12:14:40.097Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-23T12:14:40.097Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-23T12:14:40.097Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:14:40.097Z] OK: 281 MiB in 92 packages [2023-09-23T12:14:40.665Z] Removing intermediate container 454f12e9ac45 [2023-09-23T12:14:40.665Z] ---> 53ef5d55569b [2023-09-23T12:14:40.665Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-23T12:14:40.665Z] ---> a1f17f4f1369 [2023-09-23T12:14:40.665Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-23T12:14:40.930Z] ---> d18d4ddb8cba [2023-09-23T12:14:40.930Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-23T12:14:40.930Z] ---> ff1c0a81f85e [2023-09-23T12:14:40.930Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-23T12:14:41.188Z] ---> bd01481b8be9 [2023-09-23T12:14:41.188Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-23T12:14:41.188Z] ---> 2343f5df9251 [2023-09-23T12:14:41.188Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-23T12:14:41.449Z] ---> 71839fbdd38b [2023-09-23T12:14:41.449Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-23T12:14:41.449Z] ---> Running in 26760d7f8a63 [2023-09-23T12:14:41.449Z] Removing intermediate container 26760d7f8a63 [2023-09-23T12:14:41.449Z] ---> 71e009176991 [2023-09-23T12:14:41.449Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-23T12:14:41.449Z] ---> Running in a911049314eb [2023-09-23T12:14:41.449Z] Removing intermediate container a911049314eb [2023-09-23T12:14:41.449Z] ---> 97786e9c95b9 [2023-09-23T12:14:41.449Z] Step 15/17 : LABEL arch=amd64 [2023-09-23T12:14:41.708Z] ---> Running in 3879df87fb0b [2023-09-23T12:14:41.708Z] Removing intermediate container 3879df87fb0b [2023-09-23T12:14:41.708Z] ---> 5fffb8bd0f94 [2023-09-23T12:14:41.708Z] Step 16/17 : LABEL git_sha=c444bc0c0937ad8eb6ed594e4bada67712953875 [2023-09-23T12:14:41.708Z] ---> Running in 4aaee761923b [2023-09-23T12:14:41.708Z] Removing intermediate container 4aaee761923b [2023-09-23T12:14:41.708Z] ---> b6270edab88f [2023-09-23T12:14:41.708Z] Step 17/17 : LABEL version=0.0.0 [2023-09-23T12:14:41.708Z] ---> Running in f8da3c4eeedc [2023-09-23T12:14:41.708Z] Removing intermediate container f8da3c4eeedc [2023-09-23T12:14:41.708Z] ---> 34e8393b42e0 [2023-09-23T12:14:41.708Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-09-23T12:14:41.708Z] Successfully built 34e8393b42e0 [2023-09-23T12:14:41.708Z] 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 [2023-09-23T12:14:42.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T12:14:42.625Z] [2023-09-23T12:14:42.625Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:14:43.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T12:14:43.004Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-23T12:14:43.004Z] 5eb5b503b376: Pulling fs layer [2023-09-23T12:14:43.004Z] 5c69ac0246d0: Pulling fs layer [2023-09-23T12:14:43.004Z] ec43610c2a17: Pulling fs layer [2023-09-23T12:14:43.004Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-23T12:14:43.004Z] 33b1e0a273af: Pulling fs layer [2023-09-23T12:14:43.004Z] 5d3b04190fa2: Pulling fs layer [2023-09-23T12:14:43.004Z] 2f39f015ded8: Pulling fs layer [2023-09-23T12:14:43.004Z] 3a2ae6a8a46f: Waiting [2023-09-23T12:14:43.004Z] 5d3b04190fa2: Waiting [2023-09-23T12:14:43.004Z] 2f39f015ded8: Waiting [2023-09-23T12:14:43.004Z] 5c69ac0246d0: Download complete [2023-09-23T12:14:43.004Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-23T12:14:43.004Z] 3a2ae6a8a46f: Download complete [2023-09-23T12:14:43.004Z] 33b1e0a273af: Verifying Checksum [2023-09-23T12:14:43.004Z] 33b1e0a273af: Download complete [2023-09-23T12:14:43.004Z] ec43610c2a17: Verifying Checksum [2023-09-23T12:14:43.004Z] ec43610c2a17: Download complete [2023-09-23T12:14:43.004Z] 5d3b04190fa2: Download complete [2023-09-23T12:14:43.262Z] 5eb5b503b376: Verifying Checksum [2023-09-23T12:14:43.262Z] 5eb5b503b376: Download complete [2023-09-23T12:14:43.830Z] 2f39f015ded8: Download complete [2023-09-23T12:14:44.395Z] 5eb5b503b376: Pull complete [2023-09-23T12:14:44.653Z] 5c69ac0246d0: Pull complete [2023-09-23T12:14:44.912Z] ec43610c2a17: Pull complete [2023-09-23T12:14:45.170Z] 3a2ae6a8a46f: Pull complete [2023-09-23T12:14:45.170Z] 33b1e0a273af: Pull complete [2023-09-23T12:14:45.428Z] 5d3b04190fa2: Pull complete [2023-09-23T12:14:49.614Z] 2f39f015ded8: Pull complete [2023-09-23T12:14:49.614Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-23T12:14:49.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T12:14:49.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:14:49.824Z] prd-ubuntu20.04-docker-8c-8g-7695 does not seem to be running inside a container [2023-09-23T12:14:49.858Z] $ 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-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@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-lftools-log-publisher:latest cat [2023-09-23T12:14:53.275Z] $ docker top d19681faecdc046e02f5d2116873ffd04192b6016dfa0227e36201a6eadcb44c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:14:53.760Z] ---> job-cost.sh [2023-09-23T12:14:53.760Z] lf-activate-venv: SKIPPING [2023-09-23T12:14:53.760Z] INFO: No Stack... [2023-09-23T12:14:54.328Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T12:14:54.587Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T12:14:54.905Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/cost.csv [2023-09-23T12:14:54.905Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T12:14:54.947Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [2023-09-23T12:14:54.951Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] did not exist. Created. [2023-09-23T12:14:54.951Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T12:14:55.337Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-23T12:14:55.402Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T12:14:55.417Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T12:14:55.500Z] $ docker stop --time=1 d19681faecdc046e02f5d2116873ffd04192b6016dfa0227e36201a6eadcb44c [2023-09-23T12:14:56.655Z] $ docker rm -f --volumes d19681faecdc046e02f5d2116873ffd04192b6016dfa0227e36201a6eadcb44c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-23T12:15:47.324Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7696 in /w/workspace/edgexfoundry_device-sdk-c_PR-484 [Pipeline] { [Pipeline] ws [2023-09-23T12:15:47.377Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-09-23T12:15:47.462Z] Selected Git installation does not exist. Using Default [2023-09-23T12:15:47.463Z] The recommended git tool is: NONE [2023-09-23T12:15:52.435Z] using credential edgex-jenkins-ssh [2023-09-23T12:15:52.450Z] Cloning the remote Git repository [2023-09-23T12:15:52.500Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-09-23T12:15:52.601Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-09-23T12:15:52.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-23T12:15:52.740Z] > git --version # timeout=10 [2023-09-23T12:15:52.764Z] > git --version # 'git version 2.25.1' [2023-09-23T12:15:52.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T12:15:52.908Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T12:15:54.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-23T12:15:54.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T12:15:55.443Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit a97fa26ccd45e5e5ebdb003dc693c70d0ee475e9 [2023-09-23T12:15:55.824Z] Merge succeeded, producing da6ce11d95ae7eea51dfcb84ee35685b128fcff4 [2023-09-23T12:15:55.825Z] Checking out Revision da6ce11d95ae7eea51dfcb84ee35685b128fcff4 (PR-484) [2023-09-23T12:15:54.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-23T12:15:54.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-23T12:15:54.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T12:15:54.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-23T12:15:55.461Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T12:15:55.535Z] > git checkout -f a97fa26ccd45e5e5ebdb003dc693c70d0ee475e9 # timeout=10 [2023-09-23T12:15:55.647Z] > git remote # timeout=10 [2023-09-23T12:15:55.667Z] > git config --get remote.origin.url # timeout=10 [2023-09-23T12:15:55.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T12:15:55.699Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-09-23T12:15:55.806Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-23T12:15:55.830Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T12:15:55.845Z] > git checkout -f da6ce11d95ae7eea51dfcb84ee35685b128fcff4 # timeout=10 [2023-09-23T12:15:59.322Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-09-23T12:15:59.322Z] First time build. Skipping changelog. [2023-09-23T12:15:59.371Z] > git --version # timeout=10 [2023-09-23T12:15:59.382Z] > git --version # 'git version 2.25.1' [2023-09-23T12:15:59.405Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T12:16:00.588Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-23T12:16:00.588Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T12:16:00.588Z] Dload Upload Total Spent Left Speed [2023-09-23T12:16:00.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-09-23T12:16:01.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-23T12:16:01.691Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-23T12:16:01.691Z] + sudo tee /etc/docker/daemon.new [2023-09-23T12:16:01.691Z] { [2023-09-23T12:16:01.691Z] "registry-mirrors": [ [2023-09-23T12:16:01.691Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-23T12:16:01.691Z] ], [2023-09-23T12:16:01.691Z] "bip": "10.250.0.254/24", [2023-09-23T12:16:01.691Z] "hosts": [ [2023-09-23T12:16:01.691Z] "tcp://0.0.0.0:5555", [2023-09-23T12:16:01.691Z] "unix:///var/run/docker.sock" [2023-09-23T12:16:01.691Z] ], [2023-09-23T12:16:01.691Z] "mtu": 1458, [2023-09-23T12:16:01.691Z] "selinux-enabled": true, [2023-09-23T12:16:01.691Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-23T12:16:01.691Z] } [Pipeline] sh [2023-09-23T12:16:02.038Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-23T12:16:02.385Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T12:16:20.688Z] provisioning config files... [2023-09-23T12:16:20.711Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config11071397611962794253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:16:21.089Z] ---> docker-login.sh [2023-09-23T12:16:21.089Z] nexus3.edgexfoundry.org:10001 [2023-09-23T12:16:21.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:16:21.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:16:21.634Z] Configure a credential helper to remove this warning. See [2023-09-23T12:16:21.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:16:21.634Z] [2023-09-23T12:16:21.634Z] Login Succeeded [2023-09-23T12:16:21.634Z] nexus3.edgexfoundry.org:10002 [2023-09-23T12:16:21.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:16:21.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:16:21.904Z] Configure a credential helper to remove this warning. See [2023-09-23T12:16:21.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:16:21.904Z] [2023-09-23T12:16:21.904Z] Login Succeeded [2023-09-23T12:16:21.904Z] nexus3.edgexfoundry.org:10003 [2023-09-23T12:16:22.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:16:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:16:22.446Z] Configure a credential helper to remove this warning. See [2023-09-23T12:16:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:16:22.446Z] [2023-09-23T12:16:22.446Z] Login Succeeded [2023-09-23T12:16:22.446Z] nexus3.edgexfoundry.org:10004 [2023-09-23T12:16:22.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:16:22.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:16:22.718Z] Configure a credential helper to remove this warning. See [2023-09-23T12:16:22.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:16:22.718Z] [2023-09-23T12:16:22.718Z] Login Succeeded [2023-09-23T12:16:22.718Z] docker.io [2023-09-23T12:16:22.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T12:16:23.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T12:16:23.253Z] Configure a credential helper to remove this warning. See [2023-09-23T12:16:23.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T12:16:23.253Z] [2023-09-23T12:16:23.253Z] Login Succeeded [2023-09-23T12:16:23.253Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T12:16:23.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T12:16:23.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T12:16:23.705Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-09-23T12:16:23.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T12:16:23.778Z] ========================================================= [2023-09-23T12:16:23.778Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-09-23T12:16:23.778Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:16:24.233Z] + 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 . [2023-09-23T12:16:24.502Z] Sending build context to Docker daemon 3.027MB [2023-09-23T12:16:24.502Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-23T12:16:24.502Z] Step 2/21 : FROM ${BASE} as builder [2023-09-23T12:16:24.772Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-09-23T12:16:24.772Z] 547446be3368: Pulling fs layer [2023-09-23T12:16:24.772Z] 76bd08e1cacc: Pulling fs layer [2023-09-23T12:16:24.772Z] 547446be3368: Verifying Checksum [2023-09-23T12:16:24.772Z] 547446be3368: Download complete [2023-09-23T12:16:25.364Z] 547446be3368: Pull complete [2023-09-23T12:16:27.323Z] 76bd08e1cacc: Verifying Checksum [2023-09-23T12:16:27.323Z] 76bd08e1cacc: Download complete [2023-09-23T12:16:35.554Z] 76bd08e1cacc: Pull complete [2023-09-23T12:16:35.554Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-09-23T12:16:35.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-09-23T12:16:35.554Z] ---> 295cd00e64f4 [2023-09-23T12:16:35.554Z] 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 [2023-09-23T12:16:35.822Z] ---> Running in 2d481f78a892 [2023-09-23T12:16:36.796Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-23T12:16:37.381Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:16:37.381Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:16:37.381Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:16:37.972Z] Removing intermediate container 2d481f78a892 [2023-09-23T12:16:37.972Z] ---> 05eb5eaa6053 [2023-09-23T12:16:37.972Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:16:37.972Z] ---> Running in 367f8fcd25ba [2023-09-23T12:16:39.922Z] Removing intermediate container 367f8fcd25ba [2023-09-23T12:16:39.922Z] ---> be642056cfaf [2023-09-23T12:16:39.922Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-23T12:16:39.922Z] ---> Running in 528678cd7d4f [2023-09-23T12:16:40.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:16:40.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-23T12:16:41.368Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:16:42.330Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:16:42.330Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:16:42.330Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:16:42.330Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-23T12:16:42.330Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-23T12:16:42.330Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-23T12:16:42.913Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-23T12:16:43.181Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-23T12:16:43.181Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-23T12:16:43.181Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-23T12:16:43.181Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-23T12:16:44.144Z] (11/16) Installing libblkid (2.38-r1) [2023-09-23T12:16:44.144Z] (12/16) Installing libuuid (2.38-r1) [2023-09-23T12:16:44.144Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-23T12:16:44.144Z] (14/16) Installing libmount (2.38-r1) [2023-09-23T12:16:44.144Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-23T12:16:44.144Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-23T12:16:44.144Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:16:44.144Z] OK: 286 MiB in 90 packages [2023-09-23T12:16:45.560Z] Removing intermediate container 528678cd7d4f [2023-09-23T12:16:45.560Z] ---> f355991ed3ed [2023-09-23T12:16:45.560Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-23T12:16:45.560Z] ---> Running in bc0f80acb165 [2023-09-23T12:16:46.970Z] Removing intermediate container bc0f80acb165 [2023-09-23T12:16:46.970Z] ---> 051394c561da [2023-09-23T12:16:46.970Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-23T12:16:47.249Z] ---> a833eb9d42a4 [2023-09-23T12:16:47.249Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-23T12:16:48.217Z] ---> 14170dc0499f [2023-09-23T12:16:48.217Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-23T12:16:48.482Z] ---> fd22d5d8fc95 [2023-09-23T12:16:48.482Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-23T12:16:49.067Z] ---> a67b47d52cb0 [2023-09-23T12:16:49.067Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-23T12:16:49.333Z] ---> 6d70dc465f88 [2023-09-23T12:16:49.333Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-23T12:16:49.917Z] ---> 89f3980139d0 [2023-09-23T12:16:49.917Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-23T12:16:49.917Z] ---> Running in 121dd3084112 [2023-09-23T12:16:50.880Z] + CPPCHECK=false [2023-09-23T12:16:50.880Z] + DOCGEN=false [2023-09-23T12:16:50.880Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-23T12:16:50.880Z] + '[' 0 -gt 0 ] [2023-09-23T12:16:50.880Z] + readlink -f ./scripts/build.sh [2023-09-23T12:16:50.880Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-23T12:16:50.880Z] + dirname /tmp/sdk/scripts [2023-09-23T12:16:50.880Z] + ROOT=/tmp/sdk [2023-09-23T12:16:50.880Z] + cd /tmp/sdk [2023-09-23T12:16:50.880Z] + mkdir -p /tmp/sdk/build/release [2023-09-23T12:16:50.880Z] + cd /tmp/sdk/build/release [2023-09-23T12:16:50.880Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-23T12:16:51.145Z] -- The C compiler identification is GNU 11.2.1 [2023-09-23T12:16:51.145Z] -- Detecting C compiler ABI info [2023-09-23T12:16:51.411Z] -- Detecting C compiler ABI info - done [2023-09-23T12:16:51.411Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-23T12:16:51.411Z] -- Detecting C compile features [2023-09-23T12:16:51.411Z] -- Detecting C compile features - done [2023-09-23T12:16:51.411Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-23T12:16:51.678Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-23T12:16:51.678Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-23T12:16:51.678Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-23T12:16:51.678Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-23T12:16:51.678Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-23T12:16:51.678Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-23T12:16:51.678Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-23T12:16:51.678Z] -- /opt/iotech/iot/1.5/include [2023-09-23T12:16:51.678Z] -- C SDK 0.0.0 for Linux [2023-09-23T12:16:51.946Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-23T12:16:52.212Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-23T12:16:52.212Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-23T12:16:52.479Z] -- Configuring done [2023-09-23T12:16:52.747Z] -- Generating done [2023-09-23T12:16:52.747Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-23T12:16:52.747Z] + + maketee all release.log package [2023-09-23T12:16:52.747Z] [2023-09-23T12:16:53.015Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-23T12:16:53.596Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-23T12:16:54.557Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-23T12:16:55.520Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-23T12:16:56.480Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-23T12:16:57.064Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-23T12:16:59.639Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-23T12:17:00.601Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-23T12:17:00.601Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-23T12:17:00.601Z] 294 | while (privateConfig) [2023-09-23T12:17:00.601Z] | ^~~~~~~~~~~~~ [2023-09-23T12:17:00.601Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-23T12:17:00.601Z] 271 | while (result) [2023-09-23T12:17:00.601Z] | ^~~~~~ [2023-09-23T12:17:00.867Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-23T12:17:01.135Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-23T12:17:02.094Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-23T12:17:04.677Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-23T12:17:04.943Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-23T12:17:05.902Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-23T12:17:06.860Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-23T12:17:07.448Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-23T12:17:08.409Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-23T12:17:08.678Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-23T12:17:11.258Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-23T12:17:11.524Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-23T12:17:12.108Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-23T12:17:14.048Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-23T12:17:19.383Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-23T12:17:19.649Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-23T12:17:20.231Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-23T12:17:20.813Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-23T12:17:21.079Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-23T12:17:23.019Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-23T12:17:25.598Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-23T12:17:25.598Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-23T12:17:26.553Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-23T12:17:27.509Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-23T12:17:30.843Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-23T12:17:31.423Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-23T12:17:31.689Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-23T12:17:32.271Z] [ 68%] Linking C shared library libcsdk.so [2023-09-23T12:17:32.538Z] [ 68%] Built target csdk [2023-09-23T12:17:32.538Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-23T12:17:33.496Z] [ 72%] Linking C executable template [2023-09-23T12:17:33.763Z] [ 72%] Built target template [2023-09-23T12:17:33.763Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-23T12:17:34.345Z] [ 76%] Linking C executable device-counter [2023-09-23T12:17:34.929Z] [ 76%] Built target device-counter [2023-09-23T12:17:34.929Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-23T12:17:35.511Z] [ 80%] Linking C executable device-random [2023-09-23T12:17:35.778Z] [ 80%] Built target device-random [2023-09-23T12:17:35.778Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-23T12:17:36.359Z] [ 84%] Linking C executable device-gyro [2023-09-23T12:17:36.624Z] [ 84%] Built target device-gyro [2023-09-23T12:17:36.624Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-23T12:17:37.207Z] [ 88%] Linking C executable device-bitfields [2023-09-23T12:17:37.474Z] [ 88%] Built target device-bitfields [2023-09-23T12:17:37.474Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-23T12:17:38.430Z] [ 92%] Linking C executable template-discovery [2023-09-23T12:17:38.696Z] [ 92%] Built target template-discovery [2023-09-23T12:17:38.696Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-23T12:17:39.656Z] [ 96%] Linking C executable device-file [2023-09-23T12:17:39.924Z] [ 96%] Built target device-file [2023-09-23T12:17:39.924Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-23T12:17:40.884Z] [100%] Linking C executable device-terminal [2023-09-23T12:17:40.884Z] [100%] Built target device-terminal [2023-09-23T12:17:40.884Z] Run CPack packaging tool... [2023-09-23T12:17:41.151Z] CPack: Create package using TGZ [2023-09-23T12:17:41.151Z] CPack: Install projects [2023-09-23T12:17:41.151Z] CPack: - Run preinstall target for: Csdk [2023-09-23T12:17:41.733Z] CPack: - Install project: Csdk [] [2023-09-23T12:17:41.733Z] CPack: Create package [2023-09-23T12:17:41.999Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-23T12:17:41.999Z] + '[' false '=' true ] [2023-09-23T12:17:41.999Z] + '[' false '=' true ] [2023-09-23T12:17:41.999Z] + mkdir -p /tmp/sdk/build/debug [2023-09-23T12:17:41.999Z] + cd /tmp/sdk/build/debug [2023-09-23T12:17:41.999Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-23T12:17:42.272Z] -- The C compiler identification is GNU 11.2.1 [2023-09-23T12:17:42.272Z] -- Detecting C compiler ABI info [2023-09-23T12:17:42.540Z] -- Detecting C compiler ABI info - done [2023-09-23T12:17:42.540Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-23T12:17:42.540Z] -- Detecting C compile features [2023-09-23T12:17:42.540Z] -- Detecting C compile features - done [2023-09-23T12:17:42.540Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-23T12:17:42.809Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-23T12:17:42.809Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-23T12:17:42.809Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-23T12:17:42.809Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-23T12:17:42.809Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-23T12:17:42.809Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-23T12:17:42.809Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-23T12:17:42.809Z] -- /opt/iotech/iot/1.5/include [2023-09-23T12:17:42.809Z] -- C SDK 0.0.0 for Linux [2023-09-23T12:17:42.809Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-23T12:17:43.390Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-23T12:17:43.390Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-23T12:17:43.390Z] -- Configuring done [2023-09-23T12:17:43.657Z] -- Generating done [2023-09-23T12:17:43.657Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-23T12:17:43.925Z] + make [2023-09-23T12:17:43.925Z] + tee debug.log [2023-09-23T12:17:43.925Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-23T12:17:44.508Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-23T12:17:44.775Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-23T12:17:45.357Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-23T12:17:45.623Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-23T12:17:46.205Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-23T12:17:46.785Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-23T12:17:47.368Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-23T12:17:47.368Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-23T12:17:47.951Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-23T12:17:48.910Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-23T12:17:49.176Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-23T12:17:49.442Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-23T12:17:50.025Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-23T12:17:50.290Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-23T12:17:50.873Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-23T12:17:50.873Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-23T12:17:51.830Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-23T12:17:52.096Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-23T12:17:52.363Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-23T12:17:52.944Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-23T12:17:54.347Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-23T12:17:54.614Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-23T12:17:54.880Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-23T12:17:55.150Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-23T12:17:55.734Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-23T12:17:56.317Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-23T12:17:57.724Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-23T12:17:57.991Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-23T12:17:58.577Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-23T12:17:59.160Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-23T12:18:00.117Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-23T12:18:00.383Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-23T12:18:00.648Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-23T12:18:00.916Z] [ 68%] Linking C shared library libcsdk.so [2023-09-23T12:18:01.182Z] [ 68%] Built target csdk [2023-09-23T12:18:01.182Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-23T12:18:01.763Z] [ 72%] Linking C executable template [2023-09-23T12:18:02.030Z] [ 72%] Built target template [2023-09-23T12:18:02.030Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-23T12:18:02.299Z] [ 76%] Linking C executable device-counter [2023-09-23T12:18:02.567Z] [ 76%] Built target device-counter [2023-09-23T12:18:02.567Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-23T12:18:03.150Z] [ 80%] Linking C executable device-random [2023-09-23T12:18:03.417Z] [ 80%] Built target device-random [2023-09-23T12:18:03.417Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-23T12:18:03.684Z] [ 84%] Linking C executable device-gyro [2023-09-23T12:18:03.951Z] [ 84%] Built target device-gyro [2023-09-23T12:18:03.951Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-23T12:18:04.218Z] [ 88%] Linking C executable device-bitfields [2023-09-23T12:18:04.486Z] [ 88%] Built target device-bitfields [2023-09-23T12:18:04.752Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-23T12:18:05.020Z] [ 92%] Linking C executable template-discovery [2023-09-23T12:18:05.352Z] [ 92%] Built target template-discovery [2023-09-23T12:18:05.352Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-23T12:18:05.955Z] [ 96%] Linking C executable device-file [2023-09-23T12:18:06.225Z] [ 96%] Built target device-file [2023-09-23T12:18:06.225Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-23T12:18:06.815Z] [100%] Linking C executable device-terminal [2023-09-23T12:18:07.085Z] [100%] Built target device-terminal [2023-09-23T12:18:07.085Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] [ 68%] Built target csdk [2023-09-23T12:18:07.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.085Z] [ 72%] Built target template [2023-09-23T12:18:07.085Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] [ 76%] Built target device-counter [2023-09-23T12:18:07.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] [ 80%] Built target device-random [2023-09-23T12:18:07.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] [ 84%] Built target device-gyro [2023-09-23T12:18:07.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] [ 88%] Built target device-bitfields [2023-09-23T12:18:07.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] [ 92%] Built target template-discovery [2023-09-23T12:18:07.355Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.355Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.624Z] [ 96%] Built target device-file [2023-09-23T12:18:07.624Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.624Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.624Z] [100%] Built target device-terminal [2023-09-23T12:18:07.624Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:07.624Z] Install the project... [2023-09-23T12:18:07.624Z] -- Install configuration: "Release" [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-23T12:18:07.624Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/devsdk [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-23T12:18:07.624Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-23T12:18:07.624Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-23T12:18:09.066Z] Removing intermediate container 121dd3084112 [2023-09-23T12:18:09.066Z] ---> a1d3ef4aa030 [2023-09-23T12:18:09.066Z] Step 14/21 : FROM ${BASE} [2023-09-23T12:18:09.066Z] ---> 295cd00e64f4 [2023-09-23T12:18:09.066Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-23T12:18:09.066Z] ---> Running in 4d094c067698 [2023-09-23T12:18:09.338Z] Removing intermediate container 4d094c067698 [2023-09-23T12:18:09.338Z] ---> 716d9c9c4ad0 [2023-09-23T12:18:09.338Z] 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 [2023-09-23T12:18:09.338Z] ---> Running in 29a9e094ab7a [2023-09-23T12:18:10.296Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-23T12:18:10.878Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:18:10.878Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:18:10.878Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:18:11.463Z] Removing intermediate container 29a9e094ab7a [2023-09-23T12:18:11.463Z] ---> 668b91a15ae5 [2023-09-23T12:18:11.463Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:18:11.463Z] ---> Running in cf17c3edb825 [2023-09-23T12:18:16.725Z] Removing intermediate container cf17c3edb825 [2023-09-23T12:18:16.725Z] ---> 78b9ec76103a [2023-09-23T12:18:16.725Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-09-23T12:18:16.725Z] ---> Running in 86ba39f0df28 [2023-09-23T12:18:16.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:17.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:17.575Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:18.533Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:18:18.533Z] (1/7) Installing curl (8.2.1-r0) [2023-09-23T12:18:18.533Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-23T12:18:18.533Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-23T12:18:18.533Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-23T12:18:19.486Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-23T12:18:19.486Z] (6/7) Installing libuuid (2.38-r1) [2023-09-23T12:18:19.486Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-23T12:18:20.067Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:18:20.067Z] OK: 281 MiB in 83 packages [2023-09-23T12:18:21.031Z] Removing intermediate container 86ba39f0df28 [2023-09-23T12:18:21.031Z] ---> 72cae62a0201 [2023-09-23T12:18:21.031Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-23T12:18:21.616Z] ---> d38bfa50906f [2023-09-23T12:18:21.616Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-23T12:18:22.199Z] ---> 663bbfbfa874 [2023-09-23T12:18:22.199Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-23T12:18:22.782Z] ---> 2949dc141519 [2023-09-23T12:18:22.782Z] Successfully built 2949dc141519 [2023-09-23T12:18:22.782Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:18:23.488Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T12:18:23.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:18:23.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-7696 does not seem to be running inside a container [2023-09-23T12:18:23.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2023-09-23T12:18:24.985Z] $ docker top 47a6a32c6572a0edcae10de4768cb74efe7ea084c3ca577433fd480b2213acf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T12:18:25.857Z] + make test [2023-09-23T12:18:25.857Z] echo "make test" [2023-09-23T12:18:25.857Z] make test [Pipeline] } [2023-09-23T12:18:25.950Z] $ docker stop --time=1 47a6a32c6572a0edcae10de4768cb74efe7ea084c3ca577433fd480b2213acf7 [2023-09-23T12:18:27.575Z] $ docker rm -f --volumes 47a6a32c6572a0edcae10de4768cb74efe7ea084c3ca577433fd480b2213acf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T12:18:28.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T12:18:28.734Z] + ls -al . [2023-09-23T12:18:28.734Z] total 208 [2023-09-23T12:18:28.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 12:15 . [2023-09-23T12:18:28.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:15 .. [2023-09-23T12:18:28.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 12:15 .git [2023-09-23T12:18:28.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 12:15 .github [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 23 12:15 .gitignore [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 23 12:15 Attribution.txt [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 23 12:15 CHANGES [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 23 12:15 Doxyfile [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 12:15 GOVERNANCE.md [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 23 12:15 Jenkinsfile [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 23 12:15 LICENSE [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 23 12:15 Makefile [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 23 12:15 OWNERS.md [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 23 12:15 README.IOT.md [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 23 12:15 README.md [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 23 12:15 README.v3.md [2023-09-23T12:18:28.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 12:13 VERSION [2023-09-23T12:18:28.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 12:15 docs [2023-09-23T12:18:28.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:15 include [2023-09-23T12:18:28.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 12:15 scripts [2023-09-23T12:18:28.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 12:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:18:29.147Z] + 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=da6ce11d95ae7eea51dfcb84ee35685b128fcff4 --label arch=arm64 --label version=0.0.0 . [2023-09-23T12:18:29.417Z] Sending build context to Docker daemon 3.027MB [2023-09-23T12:18:29.417Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-23T12:18:29.417Z] Step 2/17 : FROM ${BASE} [2023-09-23T12:18:29.417Z] ---> 2949dc141519 [2023-09-23T12:18:29.417Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-23T12:18:29.998Z] ---> Running in db976566df83 [2023-09-23T12:18:30.265Z] Removing intermediate container db976566df83 [2023-09-23T12:18:30.265Z] ---> 5cca8e4ceec9 [2023-09-23T12:18:30.265Z] 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 [2023-09-23T12:18:30.540Z] ---> Running in ed3337f42338 [2023-09-23T12:18:31.495Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-23T12:18:31.759Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-23T12:18:31.759Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-23T12:18:31.759Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-23T12:18:32.351Z] Removing intermediate container ed3337f42338 [2023-09-23T12:18:32.351Z] ---> 97f63f48d04c [2023-09-23T12:18:32.351Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-23T12:18:32.351Z] ---> Running in 81c66544f43d [2023-09-23T12:18:33.766Z] Removing intermediate container 81c66544f43d [2023-09-23T12:18:33.766Z] ---> 0e44f9082aaa [2023-09-23T12:18:33.766Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-23T12:18:34.032Z] ---> Running in 62b3296362ce [2023-09-23T12:18:34.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:35.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:35.522Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-23T12:18:36.475Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-23T12:18:36.475Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:18:36.475Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-23T12:18:36.475Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-23T12:18:37.427Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-23T12:18:37.427Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-23T12:18:37.427Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-23T12:18:37.427Z] (7/11) Installing libblkid (2.38-r1) [2023-09-23T12:18:37.427Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-23T12:18:37.427Z] (9/11) Installing libmount (2.38-r1) [2023-09-23T12:18:37.427Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-23T12:18:37.427Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-23T12:18:37.692Z] Executing busybox-1.35.0-r17.trigger [2023-09-23T12:18:37.692Z] OK: 287 MiB in 92 packages [2023-09-23T12:18:38.649Z] Removing intermediate container 62b3296362ce [2023-09-23T12:18:38.649Z] ---> 29adf4c7197e [2023-09-23T12:18:38.649Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-23T12:18:39.230Z] ---> 38e70a558c22 [2023-09-23T12:18:39.230Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-23T12:18:39.812Z] ---> 077d77dbadf4 [2023-09-23T12:18:39.812Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-23T12:18:40.393Z] ---> cf920c740822 [2023-09-23T12:18:40.393Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-23T12:18:40.973Z] ---> 14bbbaf490b5 [2023-09-23T12:18:40.973Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-23T12:18:43.536Z] ---> 7d66c18765f7 [2023-09-23T12:18:43.536Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-23T12:18:43.536Z] ---> b3ea19adabc9 [2023-09-23T12:18:43.536Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-23T12:18:43.536Z] ---> Running in 197a60729e3c [2023-09-23T12:18:43.811Z] Removing intermediate container 197a60729e3c [2023-09-23T12:18:43.811Z] ---> 3d41f307bf9a [2023-09-23T12:18:43.811Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-23T12:18:44.081Z] ---> Running in 85b569c17474 [2023-09-23T12:18:44.348Z] Removing intermediate container 85b569c17474 [2023-09-23T12:18:44.348Z] ---> 5c06f669fb4c [2023-09-23T12:18:44.348Z] Step 15/17 : LABEL arch=arm64 [2023-09-23T12:18:44.348Z] ---> Running in 64c525ca128c [2023-09-23T12:18:44.612Z] Removing intermediate container 64c525ca128c [2023-09-23T12:18:44.612Z] ---> cbdefe2c0fc9 [2023-09-23T12:18:44.612Z] Step 16/17 : LABEL git_sha=da6ce11d95ae7eea51dfcb84ee35685b128fcff4 [2023-09-23T12:18:44.612Z] ---> Running in 968c1b79800e [2023-09-23T12:18:44.878Z] Removing intermediate container 968c1b79800e [2023-09-23T12:18:44.878Z] ---> 3f20db8a9647 [2023-09-23T12:18:44.878Z] Step 17/17 : LABEL version=0.0.0 [2023-09-23T12:18:44.878Z] ---> Running in 2da9cda39ead [2023-09-23T12:18:45.144Z] Removing intermediate container 2da9cda39ead [2023-09-23T12:18:45.144Z] ---> a974c2934845 [2023-09-23T12:18:45.144Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-09-23T12:18:45.144Z] Successfully built a974c2934845 [2023-09-23T12:18:45.144Z] Successfully tagged device-sdk-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:18:45.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T12:18:45.938Z] [2023-09-23T12:18:45.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:18:46.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T12:18:46.614Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-23T12:18:46.614Z] 8998bd30e6a1: Pulling fs layer [2023-09-23T12:18:46.614Z] 04944245beec: Pulling fs layer [2023-09-23T12:18:46.614Z] 699f458cf7ca: Pulling fs layer [2023-09-23T12:18:46.614Z] 765212b225bb: Pulling fs layer [2023-09-23T12:18:46.614Z] f23df028b6ca: Pulling fs layer [2023-09-23T12:18:46.614Z] d65c8cfc05b1: Pulling fs layer [2023-09-23T12:18:46.614Z] 2437ff75d9bd: Pulling fs layer [2023-09-23T12:18:46.614Z] 765212b225bb: Waiting [2023-09-23T12:18:46.614Z] f23df028b6ca: Waiting [2023-09-23T12:18:46.614Z] d65c8cfc05b1: Waiting [2023-09-23T12:18:46.614Z] 2437ff75d9bd: Waiting [2023-09-23T12:18:46.614Z] 04944245beec: Verifying Checksum [2023-09-23T12:18:46.615Z] 04944245beec: Download complete [2023-09-23T12:18:46.615Z] 765212b225bb: Verifying Checksum [2023-09-23T12:18:46.615Z] 765212b225bb: Download complete [2023-09-23T12:18:46.615Z] f23df028b6ca: Verifying Checksum [2023-09-23T12:18:46.615Z] f23df028b6ca: Download complete [2023-09-23T12:18:46.615Z] d65c8cfc05b1: Verifying Checksum [2023-09-23T12:18:46.615Z] d65c8cfc05b1: Download complete [2023-09-23T12:18:46.883Z] 699f458cf7ca: Verifying Checksum [2023-09-23T12:18:46.883Z] 699f458cf7ca: Download complete [2023-09-23T12:18:47.151Z] 8998bd30e6a1: Download complete [2023-09-23T12:18:49.093Z] 2437ff75d9bd: Verifying Checksum [2023-09-23T12:18:49.093Z] 2437ff75d9bd: Download complete [2023-09-23T12:18:51.037Z] 8998bd30e6a1: Pull complete [2023-09-23T12:18:51.302Z] 04944245beec: Pull complete [2023-09-23T12:18:52.709Z] 699f458cf7ca: Pull complete [2023-09-23T12:18:52.709Z] 765212b225bb: Pull complete [2023-09-23T12:18:53.674Z] f23df028b6ca: Pull complete [2023-09-23T12:18:53.674Z] d65c8cfc05b1: Pull complete [2023-09-23T12:19:08.660Z] 2437ff75d9bd: Pull complete [2023-09-23T12:19:08.660Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-23T12:19:08.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T12:19:08.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:19:08.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-7696 does not seem to be running inside a container [2023-09-23T12:19:09.038Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-23T12:19:11.850Z] $ docker top e1623c707a6013d7f2a2a857fc3bae650c0876e4d3f65cf012578feacd9d7bcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:12.402Z] ---> job-cost.sh [2023-09-23T12:19:12.666Z] lf-activate-venv: SKIPPING [2023-09-23T12:19:12.666Z] INFO: No Stack... [2023-09-23T12:19:12.930Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-23T12:19:13.882Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T12:19:14.223Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-09-23T12:19:14.223Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T12:19:14.305Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [2023-09-23T12:19:14.309Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] did not exist. Created. [2023-09-23T12:19:14.310Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T12:19:14.727Z] /w/workspace/device-sdk-c/1@tmp/durable-68128f6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-23T12:19:15.071Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-23T12:19:15.109Z] Warning: overwriting stash ‘stack-cost’ [2023-09-23T12:19:15.525Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T12:19:15.542Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T12:19:15.627Z] $ docker stop --time=1 e1623c707a6013d7f2a2a857fc3bae650c0876e4d3f65cf012578feacd9d7bcf [2023-09-23T12:19:17.084Z] $ docker rm -f --volumes e1623c707a6013d7f2a2a857fc3bae650c0876e4d3f65cf012578feacd9d7bcf [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 [2023-09-23T12:19:18.780Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives ] [2023-09-23T12:19:18.780Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-09-23T12:19:18.780Z] total 16 [2023-09-23T12:19:18.780Z] drwxr-xr-x 3 root root 4096 Sep 23 12:14 . [2023-09-23T12:19:18.780Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 12:14 .. [2023-09-23T12:19:18.780Z] drwxr-xr-x 2 root root 4096 Sep 23 12:14 cost [2023-09-23T12:19:18.780Z] -rw-r--r-- 1 root root 84 Sep 23 12:14 cost.csv [2023-09-23T12:19:18.780Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-09-23T12:19:18.780Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-09-23T12:19:18.780Z] total 16 [2023-09-23T12:19:18.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 12:14 . [2023-09-23T12:19:18.780Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 12:14 .. [2023-09-23T12:19:18.780Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 12:14 cost [2023-09-23T12:19:18.780Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 23 12:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:19.108Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:19.994Z] ---> package-listing.sh [2023-09-23T12:19:19.994Z] ++ facter osfamily [2023-09-23T12:19:19.994Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-23T12:19:20.253Z] + OS_FAMILY=debian [2023-09-23T12:19:20.253Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-484 [2023-09-23T12:19:20.253Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-23T12:19:20.253Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-23T12:19:20.253Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-23T12:19:20.253Z] + PACKAGES=/tmp/packages_start.txt [2023-09-23T12:19:20.253Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-09-23T12:19:20.253Z] + PACKAGES=/tmp/packages_end.txt [2023-09-23T12:19:20.253Z] + case "${OS_FAMILY}" in [2023-09-23T12:19:20.253Z] + dpkg -l [2023-09-23T12:19:20.253Z] + grep '^ii' [2023-09-23T12:19:20.253Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-23T12:19:20.253Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-23T12:19:20.253Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-23T12:19:20.253Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-09-23T12:19:20.253Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/ [2023-09-23T12:19:20.253Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/ [Pipeline] echo [2023-09-23T12:19:20.285Z] 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-484/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-23T12:19:20.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T12:19:21.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T12:19:21.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T12:19:21.356Z] prd-ubuntu20.04-docker-8c-8g-7695 does not seem to be running inside a container [2023-09-23T12:19:21.390Z] $ 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-484/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-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T12:19:21.612Z] $ docker top 21bcbaebe4160d55d080873a0b2f94ae85f2d03568ef173aa5ae68e22caa5dd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T12:19:22.000Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-23T12:19:22.310Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-23T12:19:22.638Z] + ls /var/log/sa-host [2023-09-23T12:19:22.638Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T12:19:22.861Z] provisioning config files... [2023-09-23T12:19:22.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config11949706226683023675tmp [Pipeline] { [Pipeline] echo [2023-09-23T12:19:22.915Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:23.234Z] ---> create-netrc.sh [Pipeline] } [2023-09-23T12:19:23.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:23.678Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-23T12:19:23.710Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:24.023Z] ---> sudo-logs.sh [2023-09-23T12:19:24.024Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-23T12:19:24.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:24.414Z] ---> job-cost.sh [2023-09-23T12:19:24.414Z] lf-activate-venv: SKIPPING [2023-09-23T12:19:24.414Z] DEBUG: total: 0.2199999988079071 [2023-09-23T12:19:24.414Z] INFO: Retrieving Stack Cost... [2023-09-23T12:19:24.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T12:19:25.247Z] INFO: Archiving Costs [Pipeline] echo [2023-09-23T12:19:25.289Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T12:19:25.600Z] ---> logs-deploy.sh [2023-09-23T12:19:25.600Z] lf-activate-venv: SKIPPING [2023-09-23T12:19:25.600Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-484/1 [2023-09-23T12:19:25.600Z] INFO: archiving workspace using pattern(s): [2023-09-23T12:19:26.537Z] Archives upload complete. [2023-09-23T12:19:26.795Z] INFO: archiving logs to Nexus [2023-09-23T12:19:27.365Z] ---> uname -a: [2023-09-23T12:19:27.365Z] Linux prd-ubuntu20-04-docker-8c-8g-7695 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] ---> lscpu: [2023-09-23T12:19:27.365Z] Architecture: x86_64 [2023-09-23T12:19:27.365Z] CPU op-mode(s): 32-bit, 64-bit [2023-09-23T12:19:27.365Z] Byte Order: Little Endian [2023-09-23T12:19:27.365Z] Address sizes: 40 bits physical, 48 bits virtual [2023-09-23T12:19:27.365Z] CPU(s): 8 [2023-09-23T12:19:27.365Z] On-line CPU(s) list: 0-7 [2023-09-23T12:19:27.365Z] Thread(s) per core: 1 [2023-09-23T12:19:27.365Z] Core(s) per socket: 1 [2023-09-23T12:19:27.365Z] Socket(s): 8 [2023-09-23T12:19:27.365Z] NUMA node(s): 1 [2023-09-23T12:19:27.365Z] Vendor ID: AuthenticAMD [2023-09-23T12:19:27.365Z] CPU family: 23 [2023-09-23T12:19:27.365Z] Model: 49 [2023-09-23T12:19:27.365Z] Model name: AMD EPYC-Rome Processor [2023-09-23T12:19:27.365Z] Stepping: 0 [2023-09-23T12:19:27.365Z] CPU MHz: 2799.998 [2023-09-23T12:19:27.365Z] BogoMIPS: 5599.99 [2023-09-23T12:19:27.365Z] Virtualization: AMD-V [2023-09-23T12:19:27.365Z] Hypervisor vendor: KVM [2023-09-23T12:19:27.365Z] Virtualization type: full [2023-09-23T12:19:27.365Z] L1d cache: 256 KiB [2023-09-23T12:19:27.365Z] L1i cache: 256 KiB [2023-09-23T12:19:27.365Z] L2 cache: 4 MiB [2023-09-23T12:19:27.365Z] L3 cache: 128 MiB [2023-09-23T12:19:27.365Z] NUMA node0 CPU(s): 0-7 [2023-09-23T12:19:27.365Z] Vulnerability Itlb multihit: Not affected [2023-09-23T12:19:27.365Z] Vulnerability L1tf: Not affected [2023-09-23T12:19:27.365Z] Vulnerability Mds: Not affected [2023-09-23T12:19:27.365Z] Vulnerability Meltdown: Not affected [2023-09-23T12:19:27.365Z] Vulnerability Mmio stale data: Not affected [2023-09-23T12:19:27.365Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-09-23T12:19:27.365Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-09-23T12:19:27.365Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-09-23T12:19:27.365Z] Vulnerability Srbds: Not affected [2023-09-23T12:19:27.365Z] Vulnerability Tsx async abort: Not affected [2023-09-23T12:19:27.365Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] ---> nproc: [2023-09-23T12:19:27.365Z] 8 [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] ---> df -h: [2023-09-23T12:19:27.365Z] Filesystem Size Used Avail Use% Mounted on [2023-09-23T12:19:27.365Z] overlay 155G 11G 145G 7% / [2023-09-23T12:19:27.365Z] tmpfs 64M 0 64M 0% /dev [2023-09-23T12:19:27.365Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-09-23T12:19:27.365Z] shm 64M 0 64M 0% /dev/shm [2023-09-23T12:19:27.365Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] ---> sar -b -r -n DEV: [2023-09-23T12:19:27.365Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7695) 09/23/23 _x86_64_ (8 CPU) [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:12:57 LINUX RESTART (8 CPU) [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-09-23T12:19:27.365Z] 12:14:01 354.22 48.36 305.87 0.00 5429.36 198644.89 0.00 [2023-09-23T12:19:27.365Z] 12:15:01 212.90 0.37 212.53 0.00 33.46 31541.22 0.00 [2023-09-23T12:19:27.365Z] 12:16:01 1.60 0.00 1.60 0.00 0.00 22.28 0.00 [2023-09-23T12:19:27.365Z] 12:17:01 1.03 0.02 1.02 0.00 0.13 11.33 0.00 [2023-09-23T12:19:27.365Z] 12:18:01 4.12 0.97 3.15 0.00 67.46 74.12 0.00 [2023-09-23T12:19:27.365Z] 12:19:01 52.90 9.63 43.27 0.00 5086.70 8441.45 0.00 [2023-09-23T12:19:27.365Z] Average: 104.46 9.89 94.57 0.00 1769.56 39788.12 0.00 [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-09-23T12:19:27.365Z] 12:14:01 29706624 31594624 751612 2.29 62512 2119352 2045360 6.03 1002416 1862288 226816 [2023-09-23T12:19:27.365Z] 12:15:01 29100884 31591196 715896 2.18 89840 2655884 1744960 5.14 1054908 2337612 268 [2023-09-23T12:19:27.365Z] 12:16:01 29101188 31591624 715292 2.18 89868 2655948 1744960 5.14 1054036 2337672 28 [2023-09-23T12:19:27.365Z] 12:17:01 29102160 31592572 714224 2.17 89900 2655948 1744960 5.14 1052628 2337680 16 [2023-09-23T12:19:27.365Z] 12:18:01 29098680 31596156 709796 2.16 91372 2661128 1782320 5.25 1054964 2342808 228 [2023-09-23T12:19:27.365Z] 12:19:01 28632004 31580288 698184 2.12 119356 3080404 1700508 5.01 1352532 2474024 136 [2023-09-23T12:19:27.365Z] Average: 29123590 31591077 717501 2.18 90475 2638111 1793845 5.29 1095247 2282014 37915 [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-09-23T12:19:27.365Z] 12:14:01 lo 6.67 6.67 0.65 0.65 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:14:01 docker0 2.50 2.20 0.28 29.10 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:14:01 ens3 551.19 358.61 4163.82 95.25 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:15:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:15:01 docker0 18.24 25.79 1.18 210.26 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:15:01 ens3 168.86 106.76 2773.11 32.77 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:16:01 ens3 2.65 2.25 3.32 0.37 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:17:01 ens3 0.58 0.62 0.04 0.05 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:18:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:18:01 ens3 0.63 0.67 0.45 0.23 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:19:01 lo 0.53 0.53 0.04 0.04 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] 12:19:01 ens3 186.30 90.47 2728.45 6.26 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] Average: lo 1.48 1.48 0.14 0.14 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] Average: docker0 3.46 4.67 0.24 39.90 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] Average: ens3 151.71 93.23 1611.59 22.49 0.00 0.00 0.00 0.00 [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] ---> sar -P ALL: [2023-09-23T12:19:27.365Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7695) 09/23/23 _x86_64_ (8 CPU) [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:12:57 LINUX RESTART (8 CPU) [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] 12:13:01 CPU %user %nice %system %iowait %steal %idle [2023-09-23T12:19:27.365Z] 12:14:01 all 7.41 0.00 2.65 2.06 0.05 87.84 [2023-09-23T12:19:27.365Z] 12:14:01 0 5.70 0.00 2.18 0.40 0.03 91.68 [2023-09-23T12:19:27.365Z] 12:14:01 1 7.21 0.00 2.28 0.66 0.03 89.82 [2023-09-23T12:19:27.365Z] 12:14:01 2 5.67 0.00 1.81 0.35 0.05 92.12 [2023-09-23T12:19:27.365Z] 12:14:01 3 7.61 0.00 4.12 0.49 0.07 87.72 [2023-09-23T12:19:27.365Z] 12:14:01 4 6.09 0.00 2.42 0.70 0.05 90.73 [2023-09-23T12:19:27.365Z] 12:14:01 5 9.19 0.00 1.95 0.71 0.05 88.11 [2023-09-23T12:19:27.365Z] 12:14:01 6 7.98 0.00 2.98 9.50 0.05 79.49 [2023-09-23T12:19:27.365Z] 12:14:01 7 9.85 0.00 3.45 3.68 0.05 82.97 [2023-09-23T12:19:27.365Z] 12:15:01 all 7.90 0.00 3.43 1.64 0.06 86.97 [2023-09-23T12:19:27.365Z] 12:15:01 0 7.44 0.00 3.07 1.18 0.05 88.26 [2023-09-23T12:19:27.365Z] 12:15:01 1 7.61 0.00 3.73 0.97 0.05 87.63 [2023-09-23T12:19:27.365Z] 12:15:01 2 8.48 0.00 3.11 0.18 0.05 88.18 [2023-09-23T12:19:27.365Z] 12:15:01 3 7.43 0.00 4.27 8.07 0.07 80.16 [2023-09-23T12:19:27.365Z] 12:15:01 4 7.56 0.00 2.43 0.22 0.05 89.74 [2023-09-23T12:19:27.365Z] 12:15:01 5 7.57 0.00 3.27 0.10 0.07 88.99 [2023-09-23T12:19:27.365Z] 12:15:01 6 8.08 0.00 3.51 0.42 0.05 87.94 [2023-09-23T12:19:27.365Z] 12:15:01 7 9.06 0.00 4.02 1.94 0.08 84.90 [2023-09-23T12:19:27.365Z] 12:16:01 all 0.09 0.00 0.01 0.00 0.01 99.88 [2023-09-23T12:19:27.365Z] 12:16:01 0 0.02 0.00 0.02 0.00 0.02 99.95 [2023-09-23T12:19:27.365Z] 12:16:01 1 0.03 0.00 0.03 0.02 0.02 99.90 [2023-09-23T12:19:27.365Z] 12:16:01 2 0.45 0.00 0.00 0.00 0.00 99.55 [2023-09-23T12:19:27.365Z] 12:16:01 3 0.02 0.00 0.02 0.02 0.02 99.93 [2023-09-23T12:19:27.365Z] 12:16:01 4 0.17 0.00 0.03 0.00 0.00 99.80 [2023-09-23T12:19:27.365Z] 12:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 [2023-09-23T12:19:27.365Z] 12:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 [2023-09-23T12:19:27.365Z] 12:16:01 7 0.03 0.00 0.02 0.00 0.00 99.95 [2023-09-23T12:19:27.365Z] 12:17:01 all 0.21 0.00 0.01 0.00 0.01 99.77 [2023-09-23T12:19:27.365Z] 12:17:01 0 0.05 0.00 0.03 0.00 0.00 99.92 [2023-09-23T12:19:27.365Z] 12:17:01 1 0.03 0.00 0.05 0.00 0.03 99.88 [2023-09-23T12:19:27.365Z] 12:17:01 2 1.44 0.00 0.00 0.00 0.02 98.55 [2023-09-23T12:19:27.365Z] 12:17:01 3 0.00 0.00 0.02 0.02 0.00 99.97 [2023-09-23T12:19:27.365Z] 12:17:01 4 0.03 0.00 0.02 0.00 0.02 99.93 [2023-09-23T12:19:27.365Z] 12:17:01 5 0.00 0.00 0.00 0.00 0.00 100.00 [2023-09-23T12:19:27.365Z] 12:17:01 6 0.03 0.00 0.00 0.00 0.00 99.97 [2023-09-23T12:19:27.365Z] 12:17:01 7 0.05 0.00 0.00 0.00 0.00 99.95 [2023-09-23T12:19:27.365Z] 12:18:01 all 0.13 0.00 0.05 0.02 0.01 99.79 [2023-09-23T12:19:27.365Z] 12:18:01 0 0.07 0.00 0.00 0.02 0.00 99.92 [2023-09-23T12:19:27.365Z] 12:18:01 1 0.07 0.00 0.08 0.00 0.02 99.83 [2023-09-23T12:19:27.365Z] 12:18:01 2 0.63 0.00 0.02 0.00 0.00 99.35 [2023-09-23T12:19:27.365Z] 12:18:01 3 0.08 0.00 0.03 0.10 0.02 99.77 [2023-09-23T12:19:27.365Z] 12:18:01 4 0.07 0.00 0.03 0.00 0.00 99.90 [2023-09-23T12:19:27.365Z] 12:18:01 5 0.02 0.00 0.22 0.02 0.00 99.75 [2023-09-23T12:19:27.365Z] 12:18:01 6 0.03 0.00 0.03 0.00 0.02 99.92 [2023-09-23T12:19:27.365Z] 12:18:01 7 0.05 0.00 0.02 0.00 0.02 99.92 [2023-09-23T12:19:27.365Z] 12:19:01 all 2.67 0.00 1.37 0.61 0.03 95.32 [2023-09-23T12:19:27.365Z] 12:19:01 0 3.35 0.00 1.27 0.10 0.03 95.25 [2023-09-23T12:19:27.365Z] 12:19:01 1 3.70 0.00 1.32 0.18 0.03 94.76 [2023-09-23T12:19:27.365Z] 12:19:01 2 4.35 0.00 0.94 0.21 0.03 94.47 [2023-09-23T12:19:27.365Z] 12:19:01 3 0.95 0.00 1.22 1.80 0.03 95.99 [2023-09-23T12:19:27.365Z] 12:19:01 4 2.17 0.00 2.69 0.83 0.02 94.29 [2023-09-23T12:19:27.365Z] 12:19:01 5 2.30 0.00 0.82 0.20 0.02 96.66 [2023-09-23T12:19:27.365Z] 12:19:01 6 2.25 0.00 1.60 0.07 0.02 96.06 [2023-09-23T12:19:27.365Z] 12:19:01 7 2.24 0.00 1.14 1.49 0.03 95.09 [2023-09-23T12:19:27.365Z] Average: all 3.06 0.00 1.25 0.72 0.03 94.95 [2023-09-23T12:19:27.365Z] Average: 0 2.76 0.00 1.09 0.28 0.02 95.84 [2023-09-23T12:19:27.365Z] Average: 1 3.10 0.00 1.25 0.30 0.03 95.32 [2023-09-23T12:19:27.365Z] Average: 2 3.49 0.00 0.97 0.12 0.02 95.39 [2023-09-23T12:19:27.365Z] Average: 3 2.67 0.00 1.61 1.74 0.03 93.95 [2023-09-23T12:19:27.365Z] Average: 4 2.67 0.00 1.27 0.29 0.02 95.75 [2023-09-23T12:19:27.365Z] Average: 5 3.17 0.00 1.04 0.17 0.02 95.60 [2023-09-23T12:19:27.365Z] Average: 6 3.05 0.00 1.35 1.65 0.02 93.92 [2023-09-23T12:19:27.365Z] Average: 7 3.53 0.00 1.43 1.18 0.03 93.83 [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z] [2023-09-23T12:19:27.365Z]