Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c449cd6a2c57881ffa1c10c806da9f662413e186+e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 (fa14e619632aba28a52470f1176e8c67996fd247) 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-ssh7908677336887757379.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2682707935080468328.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7282923351330898134.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11455237827670963566.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14967764191639171613.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1742 in /w/workspace/edgexfoundry_device-sdk-c_PR-471 [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-471 # 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 Merging remotes/origin/main commit e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit c449cd6a2c57881ffa1c10c806da9f662413e186 Merge succeeded, producing d7d42af756a058778f3825c7b5eb0cf0c664db98 Checking out Revision d7d42af756a058778f3825c7b5eb0cf0c664db98 (PR-471) > 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/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # 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 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7d42af756a058778f3825c7b5eb0cf0c664db98 # timeout=10 Commit message: "Merge commit 'e4aa58a90e880d3b2fc448b9bdb101dfbcc44123' into HEAD" > git rev-list --no-walk c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-21T18:55:35.597Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-21T18:55:35.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-21T18:55:35.682Z] ========================================================= [2023-07-21T18:55:35.682Z] EdgeX Global Pipelines Version Info [2023-07-21T18:55:35.682Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:55:36.413Z] ------------------- [2023-07-21T18:55:36.413Z] stable info: [2023-07-21T18:55:36.413Z] ------------------- [2023-07-21T18:55:36.413Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-21T18:55:36.413Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T18:55:36.413Z] Message: update stable to v1.0.250 [2023-07-21T18:55:36.985Z] ------------------- [2023-07-21T18:55:36.985Z] experimental info: [2023-07-21T18:55:36.985Z] ------------------- [2023-07-21T18:55:36.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-21T18:55:36.985Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T18:55:36.985Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-21T18:55:37.147Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-21T18:55:37.156Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-21T18:55:37.167Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-21T18:55:37.179Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-21T18:55:37.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-21T18:55:37.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-21T18:55:37.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-21T18:55:37.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-21T18:55:37.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-21T18:55:37.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-21T18:55:37.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-21T18:55:37.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-21T18:55:37.293Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T18:55:37.304Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T18:55:37.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-21T18:55:37.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-21T18:55:37.343Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-21T18:55:37.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-471 [Pipeline] echo [2023-07-21T18:55:37.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-471 [Pipeline] echo [2023-07-21T18:55:37.390Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-471 [Pipeline] echo [2023-07-21T18:55:37.404Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7d42af756a058778f3825c7b5eb0cf0c664db98 [Pipeline] echo [2023-07-21T18:55:37.413Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7d42af [Pipeline] echo [2023-07-21T18:55:37.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T18:55:37.466Z] provisioning config files... [2023-07-21T18:55:37.480Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config6765359175811068620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:55:37.780Z] ---> docker-login.sh [2023-07-21T18:55:37.780Z] nexus3.edgexfoundry.org:10001 [2023-07-21T18:55:38.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:38.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:38.300Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:38.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:38.300Z] [2023-07-21T18:55:38.300Z] Login Succeeded [2023-07-21T18:55:38.300Z] nexus3.edgexfoundry.org:10002 [2023-07-21T18:55:38.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:38.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:38.300Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:38.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:38.300Z] [2023-07-21T18:55:38.300Z] Login Succeeded [2023-07-21T18:55:38.300Z] nexus3.edgexfoundry.org:10003 [2023-07-21T18:55:38.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:38.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:38.300Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:38.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:38.300Z] [2023-07-21T18:55:38.300Z] Login Succeeded [2023-07-21T18:55:38.300Z] nexus3.edgexfoundry.org:10004 [2023-07-21T18:55:38.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:38.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:38.659Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:38.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:38.659Z] [2023-07-21T18:55:38.659Z] Login Succeeded [2023-07-21T18:55:38.659Z] docker.io [2023-07-21T18:55:38.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:39.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:39.254Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:39.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:39.254Z] [2023-07-21T18:55:39.254Z] Login Succeeded [2023-07-21T18:55:39.254Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T18:55:39.261Z] 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-07-21T18:55:39.650Z] + git rev-list -1 --merges d7d42af756a058778f3825c7b5eb0cf0c664db98~1..d7d42af756a058778f3825c7b5eb0cf0c664db98 [Pipeline] echo [2023-07-21T18:55:39.701Z] -----------> git rev-list -1 --merges d7d42af756a058778f3825c7b5eb0cf0c664db98~1..d7d42af756a058778f3825c7b5eb0cf0c664db98 d7d42af756a058778f3825c7b5eb0cf0c664db98 [2023-07-21T18:55:39.701Z] d7d42af756a058778f3825c7b5eb0cf0c664db98 [false] [Pipeline] sh [2023-07-21T18:55:39.991Z] + git log --format=format:%s -1 d7d42af756a058778f3825c7b5eb0cf0c664db98 [Pipeline] echo [2023-07-21T18:55:40.007Z] ========================================================= [2023-07-21T18:55:40.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T18:55:40.007Z] ========================================================= 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-07-21T18:55:40.408Z] + git rev-list -1 --merges d7d42af756a058778f3825c7b5eb0cf0c664db98~1..d7d42af756a058778f3825c7b5eb0cf0c664db98 [Pipeline] echo [2023-07-21T18:55:40.419Z] -----------> git rev-list -1 --merges d7d42af756a058778f3825c7b5eb0cf0c664db98~1..d7d42af756a058778f3825c7b5eb0cf0c664db98 d7d42af756a058778f3825c7b5eb0cf0c664db98 [2023-07-21T18:55:40.419Z] d7d42af756a058778f3825c7b5eb0cf0c664db98 [false] [Pipeline] sh [2023-07-21T18:55:40.706Z] + git log --format=format:%s -1 d7d42af756a058778f3825c7b5eb0cf0c664db98 [Pipeline] echo [2023-07-21T18:55:40.723Z] ========================================================= [2023-07-21T18:55:40.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T18:55:40.723Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-21T18:55:41.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T18:55:41.171Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-21T18:55:41.171Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-21T18:55:41.171Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-21T18:55:41.171Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-21T18:55:41.171Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-21T18:55:41.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:55:41.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:55:41.639Z] [2023-07-21T18:55:41.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:55:41.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:55:42.199Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-21T18:55:42.199Z] b85a868b505f: Pulling fs layer [2023-07-21T18:55:42.199Z] e2be974225ed: Pulling fs layer [2023-07-21T18:55:42.199Z] 339a4e72a1f5: Pulling fs layer [2023-07-21T18:55:42.199Z] 988bab9f4d93: Pulling fs layer [2023-07-21T18:55:42.199Z] 1469e6f7b9e6: Pulling fs layer [2023-07-21T18:55:42.199Z] eaf3925da568: Pulling fs layer [2023-07-21T18:55:42.199Z] bab4dde63d76: Pulling fs layer [2023-07-21T18:55:42.199Z] bde34c3a00c8: Pulling fs layer [2023-07-21T18:55:42.199Z] b352a97aabf1: Pulling fs layer [2023-07-21T18:55:42.199Z] 4872d77fe225: Pulling fs layer [2023-07-21T18:55:42.199Z] 5851b861e8e6: Pulling fs layer [2023-07-21T18:55:42.199Z] b352a97aabf1: Waiting [2023-07-21T18:55:42.199Z] bde34c3a00c8: Waiting [2023-07-21T18:55:42.199Z] 988bab9f4d93: Waiting [2023-07-21T18:55:42.199Z] bab4dde63d76: Waiting [2023-07-21T18:55:42.199Z] 4872d77fe225: Waiting [2023-07-21T18:55:42.199Z] 1469e6f7b9e6: Waiting [2023-07-21T18:55:42.199Z] e2be974225ed: Verifying Checksum [2023-07-21T18:55:42.199Z] e2be974225ed: Download complete [2023-07-21T18:55:42.199Z] 988bab9f4d93: Verifying Checksum [2023-07-21T18:55:42.199Z] 988bab9f4d93: Download complete [2023-07-21T18:55:42.199Z] 1469e6f7b9e6: Verifying Checksum [2023-07-21T18:55:42.199Z] 1469e6f7b9e6: Download complete [2023-07-21T18:55:42.459Z] eaf3925da568: Download complete [2023-07-21T18:55:42.459Z] 339a4e72a1f5: Verifying Checksum [2023-07-21T18:55:42.459Z] bde34c3a00c8: Verifying Checksum [2023-07-21T18:55:42.459Z] bde34c3a00c8: Download complete [2023-07-21T18:55:42.459Z] b352a97aabf1: Verifying Checksum [2023-07-21T18:55:42.459Z] b352a97aabf1: Download complete [2023-07-21T18:55:42.459Z] 4872d77fe225: Verifying Checksum [2023-07-21T18:55:42.459Z] 4872d77fe225: Download complete [2023-07-21T18:55:42.459Z] 5851b861e8e6: Verifying Checksum [2023-07-21T18:55:42.459Z] 5851b861e8e6: Download complete [2023-07-21T18:55:42.459Z] b85a868b505f: Verifying Checksum [2023-07-21T18:55:42.459Z] b85a868b505f: Download complete [2023-07-21T18:55:42.719Z] bab4dde63d76: Verifying Checksum [2023-07-21T18:55:42.719Z] bab4dde63d76: Download complete [2023-07-21T18:55:44.098Z] b85a868b505f: Pull complete [2023-07-21T18:55:45.478Z] e2be974225ed: Pull complete [2023-07-21T18:55:45.740Z] 339a4e72a1f5: Pull complete [2023-07-21T18:55:45.740Z] 988bab9f4d93: Pull complete [2023-07-21T18:55:46.001Z] 1469e6f7b9e6: Pull complete [2023-07-21T18:55:46.001Z] eaf3925da568: Pull complete [2023-07-21T18:55:48.547Z] bab4dde63d76: Pull complete [2023-07-21T18:55:48.547Z] bde34c3a00c8: Pull complete [2023-07-21T18:55:48.547Z] b352a97aabf1: Pull complete [2023-07-21T18:55:48.547Z] 4872d77fe225: Pull complete [2023-07-21T18:55:48.828Z] 5851b861e8e6: Pull complete [2023-07-21T18:55:48.828Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-21T18:55:48.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T18:55:48.828Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T18:55:48.926Z] prd-ubuntu20.04-docker-8c-8g-1742 does not seem to be running inside a container [2023-07-21T18:55:48.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T18:55:51.972Z] $ docker top e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 -eo pid,comm [2023-07-21T18:55:52.040Z] 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-07-21T18:55:52.040Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T18:55:52.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T18:55:52.069Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T18:55:52.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T18:55:52.222Z] $ docker exec e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 ssh-agent [2023-07-21T18:55:52.339Z] SSH_AUTH_SOCK=/tmp/ssh-jL2ghsy1EXbk/agent.14 [2023-07-21T18:55:52.339Z] SSH_AGENT_PID=20 [2023-07-21T18:55:52.346Z] Running ssh-add (command line suppressed) [2023-07-21T18:55:52.447Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_6656328673089169624.key (/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_6656328673089169624.key) [2023-07-21T18:55:52.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T18:55:52.750Z] + git tag --points-at HEAD [Pipeline] } [2023-07-21T18:55:52.768Z] $ docker exec --env ******** --env ******** e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 ssh-agent -k [2023-07-21T18:55:52.860Z] unset SSH_AUTH_SOCK; [2023-07-21T18:55:52.861Z] unset SSH_AGENT_PID; [2023-07-21T18:55:52.861Z] echo Agent pid 20 killed; [2023-07-21T18:55:52.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-21T18:55:52.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T18:55:52.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T18:55:53.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T18:55:53.028Z] $ docker exec e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 ssh-agent [2023-07-21T18:55:53.129Z] SSH_AUTH_SOCK=/tmp/ssh-bYWyTVnUZxKF/agent.70 [2023-07-21T18:55:53.129Z] SSH_AGENT_PID=76 [2023-07-21T18:55:53.134Z] Running ssh-add (command line suppressed) [2023-07-21T18:55:53.236Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_5083598095257550035.key (/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_5083598095257550035.key) [2023-07-21T18:55:53.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T18:55:53.534Z] + git semver init [2023-07-21T18:55:53.792Z] 2023-07-21 18:55:53,721 [run_init] DEBUG init version:0.0.0 force:False [2023-07-21T18:55:53.792Z] 2023-07-21 18:55:53,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver [2023-07-21T18:55:53.792Z] 2023-07-21 18:55:53,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver [2023-07-21T18:55:53.792Z] 2023-07-21 18:55:53,723 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471, universal_newlines=False, shell=None, istream=None) [2023-07-21T18:55:54.731Z] 2023-07-21 18:55:54,586 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.git/info/exclude [2023-07-21T18:55:54.731Z] 2023-07-21 18:55:54,587 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 with force:False [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,587 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,590 [execute] INFO git cat-file --batch-check [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,597 [execute] INFO git cat-file --batch [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T18:55:54.732Z] 2023-07-21 18:55:54,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 [2023-07-21T18:55:54.732Z] 0.0.0 [Pipeline] } [2023-07-21T18:55:54.740Z] $ docker exec --env ******** --env ******** e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 ssh-agent -k [2023-07-21T18:55:54.842Z] unset SSH_AUTH_SOCK; [2023-07-21T18:55:54.843Z] unset SSH_AGENT_PID; [2023-07-21T18:55:54.843Z] echo Agent pid 76 killed; [2023-07-21T18:55:54.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T18:55:55.155Z] + git semver [Pipeline] } [2023-07-21T18:55:55.425Z] $ docker stop --time=1 e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 [2023-07-21T18:55:57.287Z] $ docker rm -f --volumes e06bc62ea8012aa7a4c653df07b078a84b97564db43d7f80b56ebed458e3f438 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T18:55:57.681Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-21T18:55:57.918Z] Stashed 1 file(s) [Pipeline] echo [2023-07-21T18:55:57.921Z] [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-07-21T18:55:58.065Z] provisioning config files... [2023-07-21T18:55:58.073Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config16195688286301276735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:55:58.372Z] ---> docker-login.sh [2023-07-21T18:55:58.372Z] nexus3.edgexfoundry.org:10001 [2023-07-21T18:55:58.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:58.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:58.372Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:58.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:58.372Z] [2023-07-21T18:55:58.372Z] Login Succeeded [2023-07-21T18:55:58.372Z] nexus3.edgexfoundry.org:10002 [2023-07-21T18:55:58.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:58.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:58.372Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:58.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:58.372Z] [2023-07-21T18:55:58.372Z] Login Succeeded [2023-07-21T18:55:58.372Z] nexus3.edgexfoundry.org:10003 [2023-07-21T18:55:58.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:58.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:58.631Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:58.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:58.631Z] [2023-07-21T18:55:58.631Z] Login Succeeded [2023-07-21T18:55:58.631Z] nexus3.edgexfoundry.org:10004 [2023-07-21T18:55:58.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:58.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:58.631Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:58.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:58.631Z] [2023-07-21T18:55:58.631Z] Login Succeeded [2023-07-21T18:55:58.631Z] docker.io [2023-07-21T18:55:58.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:55:58.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:55:58.892Z] Configure a credential helper to remove this warning. See [2023-07-21T18:55:58.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:55:58.892Z] [2023-07-21T18:55:58.892Z] Login Succeeded [2023-07-21T18:55:58.892Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T18:55:58.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T18:55:58.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:55:58.977Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-21T18:55:58.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:55:59.000Z] ========================================================= [2023-07-21T18:55:59.000Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-21T18:55:59.000Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:55:59.303Z] + 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-07-21T18:55:59.303Z] Sending build context to Docker daemon 4.876MB [2023-07-21T18:55:59.303Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T18:55:59.303Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T18:55:59.566Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-21T18:55:59.566Z] 91d30c5bc195: Pulling fs layer [2023-07-21T18:55:59.566Z] 316e5a4585fb: Pulling fs layer [2023-07-21T18:55:59.566Z] 91d30c5bc195: Verifying Checksum [2023-07-21T18:55:59.566Z] 91d30c5bc195: Download complete [2023-07-21T18:56:00.141Z] 91d30c5bc195: Pull complete [2023-07-21T18:56:00.401Z] 316e5a4585fb: Verifying Checksum [2023-07-21T18:56:00.401Z] 316e5a4585fb: Download complete [2023-07-21T18:56:03.686Z] 316e5a4585fb: Pull complete [2023-07-21T18:56:03.951Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-21T18:56:04.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-21T18:56:04.211Z] ---> e83ffa357ff4 [2023-07-21T18:56:04.211Z] 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-07-21T18:56:09.481Z] ---> Running in bbf31ae28640 [2023-07-21T18:56:10.046Z] Connecting to iotech.jfrog.io (54.74.160.35:443) [2023-07-21T18:56:10.613Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T18:56:10.613Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T18:56:10.613Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T18:56:11.549Z] Removing intermediate container bbf31ae28640 [2023-07-21T18:56:11.549Z] ---> 1ad323451bda [2023-07-21T18:56:11.549Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T18:56:12.500Z] ---> Running in 4b150f76f728 [2023-07-21T18:56:13.018Z] Still waiting to schedule task [2023-07-21T18:56:13.018Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-21T18:56:15.810Z] Removing intermediate container 4b150f76f728 [2023-07-21T18:56:15.810Z] ---> db45e9907eca [2023-07-21T18:56:15.810Z] 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-07-21T18:56:15.810Z] ---> Running in 236dd237c15c [2023-07-21T18:56:16.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:16.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:16.586Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:17.152Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T18:56:17.152Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:56:17.152Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:56:17.152Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T18:56:17.152Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T18:56:17.152Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T18:56:17.718Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T18:56:17.718Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T18:56:17.718Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T18:56:17.718Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T18:56:17.718Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T18:56:18.657Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T18:56:18.657Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T18:56:18.657Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T18:56:18.657Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T18:56:18.657Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T18:56:18.657Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T18:56:18.657Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T18:56:18.657Z] OK: 280 MiB in 90 packages [2023-07-21T18:56:19.652Z] Removing intermediate container 236dd237c15c [2023-07-21T18:56:19.652Z] ---> 728e3e6402a2 [2023-07-21T18:56:19.652Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T18:56:19.652Z] ---> Running in deff68e443a5 [2023-07-21T18:56:20.226Z] Removing intermediate container deff68e443a5 [2023-07-21T18:56:20.226Z] ---> fe379c93259d [2023-07-21T18:56:20.226Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T18:56:20.226Z] ---> d86f56df8be4 [2023-07-21T18:56:20.226Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T18:56:20.792Z] ---> b534cbf89339 [2023-07-21T18:56:20.792Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T18:56:22.183Z] ---> ec94164cc50a [2023-07-21T18:56:22.183Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T18:56:23.120Z] ---> 8c5a31bfd524 [2023-07-21T18:56:23.120Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T18:56:24.057Z] ---> dee086a4dd95 [2023-07-21T18:56:24.057Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T18:56:25.433Z] ---> 73ac3b7dd274 [2023-07-21T18:56:25.433Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T18:56:25.690Z] ---> Running in 20d1a675fb20 [2023-07-21T18:56:26.625Z] + CPPCHECK=false [2023-07-21T18:56:26.625Z] + DOCGEN=false [2023-07-21T18:56:26.625Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T18:56:26.625Z] + '[' 0 -gt 0 ] [2023-07-21T18:56:26.625Z] + readlink -f ./scripts/build.sh [2023-07-21T18:56:26.625Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T18:56:26.625Z] + dirname /tmp/sdk/scripts [2023-07-21T18:56:26.625Z] + ROOT=/tmp/sdk [2023-07-21T18:56:26.625Z] + cd /tmp/sdk [2023-07-21T18:56:26.625Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T18:56:26.625Z] + cd /tmp/sdk/build/release [2023-07-21T18:56:26.625Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T18:56:26.625Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:56:26.625Z] -- Detecting C compiler ABI info [2023-07-21T18:56:26.625Z] -- Detecting C compiler ABI info - done [2023-07-21T18:56:26.625Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:56:26.625Z] -- Detecting C compile features [2023-07-21T18:56:26.625Z] -- Detecting C compile features - done [2023-07-21T18:56:26.625Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:56:26.625Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:56:26.625Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:56:26.625Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:56:26.625Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:56:26.625Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:56:26.625Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:56:26.625Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:56:26.625Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:56:26.625Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:56:26.625Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:56:26.885Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:56:26.885Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:56:26.885Z] -- Configuring done [2023-07-21T18:56:26.885Z] -- Generating done [2023-07-21T18:56:26.885Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T18:56:26.885Z] + make all package [2023-07-21T18:56:26.885Z] + tee release.log [2023-07-21T18:56:26.885Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:56:27.143Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T18:56:27.401Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T18:56:27.401Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T18:56:27.660Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T18:56:27.660Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T18:56:28.225Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T18:56:28.225Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T18:56:28.225Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T18:56:28.484Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T18:56:28.743Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T18:56:29.001Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T18:56:29.001Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T18:56:29.259Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T18:56:29.259Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T18:56:29.517Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T18:56:29.517Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T18:56:30.081Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T18:56:30.081Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T18:56:30.081Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T18:56:30.339Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T18:56:31.275Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T18:56:31.534Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T18:56:31.534Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T18:56:31.534Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T18:56:31.795Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T18:56:32.054Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T18:56:32.314Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T18:56:32.575Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T18:56:32.575Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T18:56:32.835Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T18:56:33.407Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T18:56:33.407Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T18:56:33.407Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T18:56:33.407Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T18:56:33.666Z] [ 68%] Built target csdk [2023-07-21T18:56:33.666Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T18:56:33.666Z] [ 72%] Linking C executable template [2023-07-21T18:56:33.925Z] [ 72%] Built target template [2023-07-21T18:56:33.925Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T18:56:33.925Z] [ 76%] Linking C executable device-counter [2023-07-21T18:56:33.925Z] [ 76%] Built target device-counter [2023-07-21T18:56:33.925Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T18:56:34.183Z] [ 80%] Linking C executable device-random [2023-07-21T18:56:34.184Z] [ 80%] Built target device-random [2023-07-21T18:56:34.184Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T18:56:34.443Z] [ 84%] Linking C executable device-gyro [2023-07-21T18:56:34.443Z] [ 84%] Built target device-gyro [2023-07-21T18:56:34.443Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T18:56:34.443Z] [ 88%] Linking C executable device-bitfields [2023-07-21T18:56:34.702Z] [ 88%] Built target device-bitfields [2023-07-21T18:56:34.702Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T18:56:34.702Z] [ 92%] Linking C executable template-discovery [2023-07-21T18:56:34.962Z] [ 92%] Built target template-discovery [2023-07-21T18:56:34.962Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T18:56:34.962Z] [ 96%] Linking C executable device-file [2023-07-21T18:56:34.962Z] [ 96%] Built target device-file [2023-07-21T18:56:35.219Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T18:56:35.219Z] [100%] Linking C executable device-terminal [2023-07-21T18:56:35.219Z] [100%] Built target device-terminal [2023-07-21T18:56:35.219Z] Run CPack packaging tool... [2023-07-21T18:56:35.219Z] CPack: Create package using TGZ [2023-07-21T18:56:35.219Z] CPack: Install projects [2023-07-21T18:56:35.219Z] CPack: - Run preinstall target for: Csdk [2023-07-21T18:56:35.478Z] CPack: - Install project: Csdk [] [2023-07-21T18:56:35.478Z] CPack: Create package [2023-07-21T18:56:35.478Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-21T18:56:35.478Z] + '[' false '=' true ] [2023-07-21T18:56:35.478Z] + '[' false '=' true ] [2023-07-21T18:56:35.478Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T18:56:35.478Z] + cd /tmp/sdk/build/debug [2023-07-21T18:56:35.478Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T18:56:35.738Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:56:35.738Z] -- Detecting C compiler ABI info [2023-07-21T18:56:35.738Z] -- Detecting C compiler ABI info - done [2023-07-21T18:56:35.738Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:56:35.738Z] -- Detecting C compile features [2023-07-21T18:56:35.738Z] -- Detecting C compile features - done [2023-07-21T18:56:35.738Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:56:35.738Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:56:35.738Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:56:35.738Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:56:35.738Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:56:35.738Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:56:35.738Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:56:35.738Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:56:35.738Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:56:35.738Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:56:35.738Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:56:35.999Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:56:35.999Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:56:35.999Z] -- Configuring done [2023-07-21T18:56:35.999Z] -- Generating done [2023-07-21T18:56:35.999Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T18:56:35.999Z] + make [2023-07-21T18:56:35.999Z] + tee debug.log [2023-07-21T18:56:35.999Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:56:36.258Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T18:56:36.258Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T18:56:36.258Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T18:56:36.596Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T18:56:36.596Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T18:56:36.884Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T18:56:36.884Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T18:56:36.884Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T18:56:36.884Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T18:56:37.146Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T18:56:37.146Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T18:56:37.405Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T18:56:37.405Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T18:56:37.405Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T18:56:37.669Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T18:56:37.669Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T18:56:37.669Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T18:56:37.928Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T18:56:37.928Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T18:56:37.928Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T18:56:38.189Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T18:56:38.451Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T18:56:38.451Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T18:56:38.451Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T18:56:38.451Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T18:56:38.709Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T18:56:38.968Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T18:56:38.968Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T18:56:38.968Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T18:56:39.227Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T18:56:39.227Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T18:56:39.495Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T18:56:39.495Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T18:56:39.495Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T18:56:39.753Z] [ 68%] Built target csdk [2023-07-21T18:56:39.753Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T18:56:39.753Z] [ 72%] Linking C executable template [2023-07-21T18:56:39.753Z] [ 72%] Built target template [2023-07-21T18:56:40.012Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T18:56:40.012Z] [ 76%] Linking C executable device-counter [2023-07-21T18:56:40.012Z] [ 76%] Built target device-counter [2023-07-21T18:56:40.012Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T18:56:40.012Z] [ 80%] Linking C executable device-random [2023-07-21T18:56:40.273Z] [ 80%] Built target device-random [2023-07-21T18:56:40.273Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T18:56:40.273Z] [ 84%] Linking C executable device-gyro [2023-07-21T18:56:40.273Z] [ 84%] Built target device-gyro [2023-07-21T18:56:40.273Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T18:56:40.534Z] [ 88%] Linking C executable device-bitfields [2023-07-21T18:56:40.534Z] [ 88%] Built target device-bitfields [2023-07-21T18:56:40.534Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T18:56:40.534Z] [ 92%] Linking C executable template-discovery [2023-07-21T18:56:40.534Z] [ 92%] Built target template-discovery [2023-07-21T18:56:40.794Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T18:56:40.794Z] [ 96%] Linking C executable device-file [2023-07-21T18:56:40.794Z] [ 96%] Built target device-file [2023-07-21T18:56:40.794Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T18:56:41.054Z] [100%] Linking C executable device-terminal [2023-07-21T18:56:41.054Z] [100%] Built target device-terminal [2023-07-21T18:56:41.054Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] [ 68%] Built target csdk [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] [ 72%] Built target template [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] [ 76%] Built target device-counter [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] [ 80%] Built target device-random [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] [ 84%] Built target device-gyro [2023-07-21T18:56:41.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] [ 88%] Built target device-bitfields [2023-07-21T18:56:41.313Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] [ 92%] Built target template-discovery [2023-07-21T18:56:41.313Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] [ 96%] Built target device-file [2023-07-21T18:56:41.313Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] [100%] Built target device-terminal [2023-07-21T18:56:41.313Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:41.313Z] Install the project... [2023-07-21T18:56:41.313Z] -- Install configuration: "Release" [2023-07-21T18:56:41.313Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-21T18:56:41.313Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-21T18:56:41.313Z] -- Installing: /usr/local/include [2023-07-21T18:56:41.313Z] -- Installing: /usr/local/include/devsdk [2023-07-21T18:56:41.313Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-21T18:56:41.313Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-21T18:56:41.314Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-21T18:56:41.314Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T18:56:42.254Z] Removing intermediate container 20d1a675fb20 [2023-07-21T18:56:42.254Z] ---> 2b8cdc1b750c [2023-07-21T18:56:42.254Z] Step 14/21 : FROM ${BASE} [2023-07-21T18:56:42.254Z] ---> e83ffa357ff4 [2023-07-21T18:56:42.254Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-21T18:56:42.513Z] ---> Running in 480c99a2b956 [2023-07-21T18:56:42.513Z] Removing intermediate container 480c99a2b956 [2023-07-21T18:56:42.513Z] ---> 1be92fa4216e [2023-07-21T18:56:42.513Z] 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-07-21T18:56:42.513Z] ---> Running in 078de9c3476b [2023-07-21T18:56:42.772Z] Connecting to iotech.jfrog.io (52.51.132.59:443) [2023-07-21T18:56:43.341Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T18:56:43.341Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T18:56:43.341Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T18:56:43.911Z] Removing intermediate container 078de9c3476b [2023-07-21T18:56:43.911Z] ---> 12bde8060a81 [2023-07-21T18:56:43.911Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T18:56:44.169Z] ---> Running in 6911dcd027e7 [2023-07-21T18:56:44.738Z] Removing intermediate container 6911dcd027e7 [2023-07-21T18:56:44.738Z] ---> bbfc9ee8e282 [2023-07-21T18:56:44.738Z] 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-07-21T18:56:44.738Z] ---> Running in afaec7e32351 [2023-07-21T18:56:44.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:45.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:45.256Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:45.824Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T18:56:45.824Z] (1/7) Installing curl (8.2.0-r1) [2023-07-21T18:56:45.824Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-21T18:56:45.824Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-21T18:56:45.824Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-21T18:56:46.393Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-21T18:56:46.393Z] (6/7) Installing libuuid (2.38-r1) [2023-07-21T18:56:46.393Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T18:56:47.330Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T18:56:47.330Z] OK: 276 MiB in 83 packages [2023-07-21T18:56:47.899Z] Removing intermediate container afaec7e32351 [2023-07-21T18:56:47.899Z] ---> 7147626484d2 [2023-07-21T18:56:47.899Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-21T18:56:48.157Z] ---> a20cb029a894 [2023-07-21T18:56:48.157Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-21T18:56:48.157Z] ---> d380e8491b86 [2023-07-21T18:56:48.157Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-21T18:56:48.415Z] ---> ce88b554e7de [2023-07-21T18:56:48.415Z] Successfully built ce88b554e7de [2023-07-21T18:56:48.415Z] 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-07-21T18:56:48.811Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T18:56:48.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T18:56:48.893Z] prd-ubuntu20.04-docker-8c-8g-1742 does not seem to be running inside a container [2023-07-21T18:56:48.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-21T18:56:49.268Z] $ docker top 6a90e0171ab32274205c539fdd170a2d44aefd30da678edd5ac43b88f41e11ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T18:56:49.611Z] + make test [2023-07-21T18:56:49.611Z] echo "make test" [2023-07-21T18:56:49.611Z] make test [Pipeline] } [2023-07-21T18:56:49.619Z] $ docker stop --time=1 6a90e0171ab32274205c539fdd170a2d44aefd30da678edd5ac43b88f41e11ed [2023-07-21T18:56:50.964Z] $ docker rm -f --volumes 6a90e0171ab32274205c539fdd170a2d44aefd30da678edd5ac43b88f41e11ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T18:56:51.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T18:56:51.852Z] + ls -al . [2023-07-21T18:56:51.853Z] total 212 [2023-07-21T18:56:51.853Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 18:55 . [2023-07-21T18:56:51.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:55 .. [2023-07-21T18:56:51.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 18:55 .git [2023-07-21T18:56:51.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:55 .github [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 18:55 .gitignore [2023-07-21T18:56:51.853Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 18:55 .semver [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 21 18:55 Attribution.txt [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 21 18:55 CHANGES [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 18:55 Doxyfile [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 18:55 GOVERNANCE.md [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 18:55 Jenkinsfile [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 18:55 LICENSE [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 18:55 Makefile [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 18:55 OWNERS.md [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 21 18:55 README.IOT.md [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 21 18:55 README.md [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 21 18:55 README.v3.md [2023-07-21T18:56:51.853Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 18:55 VERSION [2023-07-21T18:56:51.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:55 docs [2023-07-21T18:56:51.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:55 include [2023-07-21T18:56:51.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:55 scripts [2023-07-21T18:56:51.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:56:52.160Z] + 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=d7d42af756a058778f3825c7b5eb0cf0c664db98 --label arch=amd64 --label version=0.0.0 . [2023-07-21T18:56:52.161Z] Sending build context to Docker daemon 4.876MB [2023-07-21T18:56:52.161Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-21T18:56:52.161Z] Step 2/17 : FROM ${BASE} [2023-07-21T18:56:52.161Z] ---> ce88b554e7de [2023-07-21T18:56:52.161Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-21T18:56:52.420Z] ---> Running in 3cf53ff61905 [2023-07-21T18:56:52.420Z] Removing intermediate container 3cf53ff61905 [2023-07-21T18:56:52.420Z] ---> 5dd099fde639 [2023-07-21T18:56:52.420Z] 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-07-21T18:56:52.420Z] ---> Running in 9ea54caeb049 [2023-07-21T18:56:52.678Z] Connecting to iotech.jfrog.io (52.213.130.191:443) [2023-07-21T18:56:52.939Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T18:56:52.939Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T18:56:52.939Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T18:56:53.199Z] Removing intermediate container 9ea54caeb049 [2023-07-21T18:56:53.199Z] ---> b28ab092c13c [2023-07-21T18:56:53.199Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T18:56:53.458Z] ---> Running in 9578803ea7aa [2023-07-21T18:56:54.024Z] Removing intermediate container 9578803ea7aa [2023-07-21T18:56:54.024Z] ---> 9964ced82c5d [2023-07-21T18:56:54.025Z] 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-07-21T18:56:54.025Z] ---> Running in a9515c1447fc [2023-07-21T18:56:54.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:54.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:54.543Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T18:56:54.802Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T18:56:54.802Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:56:55.061Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:56:55.061Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T18:56:55.630Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T18:56:55.630Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-21T18:56:55.630Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T18:56:55.630Z] (7/11) Installing libblkid (2.38-r1) [2023-07-21T18:56:55.630Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-21T18:56:55.630Z] (9/11) Installing libmount (2.38-r1) [2023-07-21T18:56:55.630Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-21T18:56:55.630Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-21T18:56:56.006Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T18:56:56.006Z] OK: 281 MiB in 92 packages [2023-07-21T18:56:56.576Z] Removing intermediate container a9515c1447fc [2023-07-21T18:56:56.576Z] ---> 9e345b17b3c3 [2023-07-21T18:56:56.576Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-21T18:56:56.837Z] ---> 98175cef84a3 [2023-07-21T18:56:56.837Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-21T18:56:57.097Z] ---> bb2831927254 [2023-07-21T18:56:57.097Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-21T18:56:57.097Z] ---> 5b0dffa7430a [2023-07-21T18:56:57.097Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-21T18:56:57.356Z] ---> 17348bcec202 [2023-07-21T18:56:57.356Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-21T18:56:57.616Z] ---> f9b0616ae091 [2023-07-21T18:56:57.616Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-21T18:56:57.616Z] ---> dbf878af9c0c [2023-07-21T18:56:57.616Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-21T18:56:57.616Z] ---> Running in 5e4d75e2a115 [2023-07-21T18:56:57.616Z] Removing intermediate container 5e4d75e2a115 [2023-07-21T18:56:57.616Z] ---> abe8961aa3f4 [2023-07-21T18:56:57.616Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-21T18:56:57.616Z] ---> Running in d340d06bd416 [2023-07-21T18:56:57.875Z] Removing intermediate container d340d06bd416 [2023-07-21T18:56:57.875Z] ---> c8b10b69bc30 [2023-07-21T18:56:57.875Z] Step 15/17 : LABEL arch=amd64 [2023-07-21T18:56:57.875Z] ---> Running in 8d447bcbfcdd [2023-07-21T18:56:57.875Z] Removing intermediate container 8d447bcbfcdd [2023-07-21T18:56:57.875Z] ---> 833d8296c4f9 [2023-07-21T18:56:57.875Z] Step 16/17 : LABEL git_sha=d7d42af756a058778f3825c7b5eb0cf0c664db98 [2023-07-21T18:56:58.136Z] ---> Running in ac0dc55f9382 [2023-07-21T18:56:58.136Z] Removing intermediate container ac0dc55f9382 [2023-07-21T18:56:58.136Z] ---> f392777d5073 [2023-07-21T18:56:58.136Z] Step 17/17 : LABEL version=0.0.0 [2023-07-21T18:56:58.136Z] ---> Running in 524060760b05 [2023-07-21T18:56:58.136Z] Removing intermediate container 524060760b05 [2023-07-21T18:56:58.136Z] ---> be7fd7851013 [2023-07-21T18:56:58.136Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-21T18:56:58.136Z] Successfully built be7fd7851013 [2023-07-21T18:56:58.136Z] 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-07-21T18:56:58.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:56:58.550Z] [2023-07-21T18:56:58.550Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:56:58.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:56:59.107Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-21T18:56:59.107Z] 5eb5b503b376: Pulling fs layer [2023-07-21T18:56:59.107Z] 5c69ac0246d0: Pulling fs layer [2023-07-21T18:56:59.107Z] ec43610c2a17: Pulling fs layer [2023-07-21T18:56:59.107Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-21T18:56:59.107Z] 33b1e0a273af: Pulling fs layer [2023-07-21T18:56:59.107Z] 5d3b04190fa2: Pulling fs layer [2023-07-21T18:56:59.107Z] 2f39f015ded8: Pulling fs layer [2023-07-21T18:56:59.107Z] 33b1e0a273af: Waiting [2023-07-21T18:56:59.107Z] 5d3b04190fa2: Waiting [2023-07-21T18:56:59.107Z] 2f39f015ded8: Waiting [2023-07-21T18:56:59.107Z] 3a2ae6a8a46f: Waiting [2023-07-21T18:56:59.107Z] 5c69ac0246d0: Download complete [2023-07-21T18:56:59.107Z] 3a2ae6a8a46f: Download complete [2023-07-21T18:56:59.107Z] 33b1e0a273af: Verifying Checksum [2023-07-21T18:56:59.107Z] 33b1e0a273af: Download complete [2023-07-21T18:56:59.107Z] ec43610c2a17: Verifying Checksum [2023-07-21T18:56:59.107Z] ec43610c2a17: Download complete [2023-07-21T18:56:59.377Z] 5d3b04190fa2: Download complete [2023-07-21T18:56:59.377Z] 5eb5b503b376: Verifying Checksum [2023-07-21T18:56:59.377Z] 5eb5b503b376: Download complete [2023-07-21T18:56:59.948Z] 2f39f015ded8: Download complete [2023-07-21T18:57:00.934Z] 5eb5b503b376: Pull complete [2023-07-21T18:57:00.934Z] 5c69ac0246d0: Pull complete [2023-07-21T18:57:01.511Z] ec43610c2a17: Pull complete [2023-07-21T18:57:01.771Z] 3a2ae6a8a46f: Pull complete [2023-07-21T18:57:02.031Z] 33b1e0a273af: Pull complete [2023-07-21T18:57:02.289Z] 5d3b04190fa2: Pull complete [2023-07-21T18:57:07.552Z] 2f39f015ded8: Pull complete [2023-07-21T18:57:07.552Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-21T18:57:07.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T18:57:07.552Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T18:57:07.629Z] prd-ubuntu20.04-docker-8c-8g-1742 does not seem to be running inside a container [2023-07-21T18:57:07.658Z] $ 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-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T18:57:14.478Z] $ docker top 55bd67f1408145e9906fd07b1d5e50249155e6993a5a3291720e6e44a9099ef9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:57:14.880Z] ---> job-cost.sh [2023-07-21T18:57:14.880Z] lf-activate-venv: SKIPPING [2023-07-21T18:57:14.880Z] INFO: No Stack... [2023-07-21T18:57:15.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T18:57:15.398Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T18:57:15.686Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/cost.csv [2023-07-21T18:57:15.686Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T18:57:15.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [2023-07-21T18:57:15.704Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] did not exist. Created. [2023-07-21T18:57:15.705Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T18:57:16.003Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-21T18:57:16.053Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T18:57:16.059Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T18:57:16.075Z] $ docker stop --time=1 55bd67f1408145e9906fd07b1d5e50249155e6993a5a3291720e6e44a9099ef9 [2023-07-21T18:57:17.225Z] $ docker rm -f --volumes 55bd67f1408145e9906fd07b1d5e50249155e6993a5a3291720e6e44a9099ef9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T18:57:42.955Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1744 in /w/workspace/edgexfoundry_device-sdk-c_PR-471 [Pipeline] { [Pipeline] ws [2023-07-21T18:57:42.972Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-07-21T18:57:43.022Z] Selected Git installation does not exist. Using Default [2023-07-21T18:57:43.022Z] The recommended git tool is: NONE [2023-07-21T18:57:48.031Z] using credential edgex-jenkins-ssh [2023-07-21T18:57:48.047Z] Cloning the remote Git repository [2023-07-21T18:57:48.082Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:57:48.171Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-07-21T18:57:48.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:57:48.311Z] > git --version # timeout=10 [2023-07-21T18:57:48.332Z] > git --version # 'git version 2.25.1' [2023-07-21T18:57:48.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:57:48.472Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T18:57:52.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-21T18:57:52.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T18:57:54.329Z] Merging remotes/origin/main commit e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 into PR head commit c449cd6a2c57881ffa1c10c806da9f662413e186 [2023-07-21T18:57:53.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-21T18:57:53.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T18:57:53.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:57:53.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-21T18:57:54.342Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T18:57:54.427Z] > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 [2023-07-21T18:57:54.554Z] > git remote # timeout=10 [2023-07-21T18:57:54.575Z] > git config --get remote.origin.url # timeout=10 [2023-07-21T18:57:54.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T18:57:54.609Z] > git merge e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 [2023-07-21T18:57:54.751Z] Merge succeeded, producing e1e67260002e404343cc270f1cef03d603f9e71e [2023-07-21T18:57:54.752Z] Checking out Revision e1e67260002e404343cc270f1cef03d603f9e71e (PR-471) [2023-07-21T18:57:54.721Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-21T18:57:54.752Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T18:57:54.767Z] > git checkout -f e1e67260002e404343cc270f1cef03d603f9e71e # timeout=10 [2023-07-21T18:57:58.250Z] Commit message: "Merge commit 'e4aa58a90e880d3b2fc448b9bdb101dfbcc44123' into HEAD" [2023-07-21T18:57:58.252Z] > git rev-list --no-walk c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T18:57:59.110Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-21T18:57:59.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T18:57:59.110Z] Dload Upload Total Spent Left Speed [2023-07-21T18:57:59.110Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-07-21T18:57:59.783Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-21T18:58:00.105Z] + sudo tee /etc/docker/daemon.new [2023-07-21T18:58:00.105Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-21T18:58:00.105Z] { [2023-07-21T18:58:00.105Z] "registry-mirrors": [ [2023-07-21T18:58:00.105Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-21T18:58:00.105Z] ], [2023-07-21T18:58:00.105Z] "bip": "10.250.0.254/24", [2023-07-21T18:58:00.105Z] "hosts": [ [2023-07-21T18:58:00.105Z] "tcp://0.0.0.0:5555", [2023-07-21T18:58:00.105Z] "unix:///var/run/docker.sock" [2023-07-21T18:58:00.105Z] ], [2023-07-21T18:58:00.105Z] "mtu": 1458, [2023-07-21T18:58:00.105Z] "selinux-enabled": true, [2023-07-21T18:58:00.105Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-21T18:58:00.105Z] } [Pipeline] sh [2023-07-21T18:58:00.430Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-21T18:58:00.757Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T18:58:18.994Z] provisioning config files... [2023-07-21T18:58:19.021Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config11769042336646867604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T18:58:19.366Z] ---> docker-login.sh [2023-07-21T18:58:19.366Z] nexus3.edgexfoundry.org:10001 [2023-07-21T18:58:19.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:58:19.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:58:19.956Z] Configure a credential helper to remove this warning. See [2023-07-21T18:58:19.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:58:19.956Z] [2023-07-21T18:58:19.956Z] Login Succeeded [2023-07-21T18:58:19.956Z] nexus3.edgexfoundry.org:10002 [2023-07-21T18:58:20.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:58:20.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:58:20.496Z] Configure a credential helper to remove this warning. See [2023-07-21T18:58:20.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:58:20.496Z] [2023-07-21T18:58:20.496Z] Login Succeeded [2023-07-21T18:58:20.496Z] nexus3.edgexfoundry.org:10003 [2023-07-21T18:58:20.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:58:20.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:58:20.767Z] Configure a credential helper to remove this warning. See [2023-07-21T18:58:20.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:58:20.767Z] [2023-07-21T18:58:20.767Z] Login Succeeded [2023-07-21T18:58:20.767Z] nexus3.edgexfoundry.org:10004 [2023-07-21T18:58:21.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:58:21.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:58:21.039Z] Configure a credential helper to remove this warning. See [2023-07-21T18:58:21.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:58:21.039Z] [2023-07-21T18:58:21.039Z] Login Succeeded [2023-07-21T18:58:21.039Z] docker.io [2023-07-21T18:58:21.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T18:58:21.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T18:58:21.579Z] Configure a credential helper to remove this warning. See [2023-07-21T18:58:21.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T18:58:21.579Z] [2023-07-21T18:58:21.579Z] Login Succeeded [2023-07-21T18:58:21.579Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T18:58:21.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T18:58:21.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:58:21.880Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-21T18:58:21.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T18:58:21.906Z] ========================================================= [2023-07-21T18:58:21.906Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-21T18:58:21.906Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T18:58:22.240Z] + 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-07-21T18:58:22.509Z] Sending build context to Docker daemon 2.927MB [2023-07-21T18:58:22.509Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T18:58:22.509Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T18:58:22.778Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-21T18:58:22.778Z] 547446be3368: Pulling fs layer [2023-07-21T18:58:22.778Z] 76bd08e1cacc: Pulling fs layer [2023-07-21T18:58:22.778Z] 547446be3368: Verifying Checksum [2023-07-21T18:58:22.778Z] 547446be3368: Download complete [2023-07-21T18:58:23.751Z] 547446be3368: Pull complete [2023-07-21T18:58:25.165Z] 76bd08e1cacc: Download complete [2023-07-21T18:58:33.385Z] 76bd08e1cacc: Pull complete [2023-07-21T18:58:33.385Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-21T18:58:33.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-21T18:58:33.385Z] ---> 295cd00e64f4 [2023-07-21T18:58:33.385Z] 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-07-21T18:58:33.970Z] ---> Running in 6c2adf989155 [2023-07-21T18:58:34.933Z] Connecting to iotech.jfrog.io (52.31.248.14:443) [2023-07-21T18:58:35.515Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T18:58:35.515Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T18:58:35.515Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T18:58:36.102Z] Removing intermediate container 6c2adf989155 [2023-07-21T18:58:36.102Z] ---> fb7b44568a7c [2023-07-21T18:58:36.102Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T18:58:36.102Z] ---> Running in b50a13e96dc8 [2023-07-21T18:58:37.523Z] Removing intermediate container b50a13e96dc8 [2023-07-21T18:58:37.523Z] ---> 4e1de95aefc5 [2023-07-21T18:58:37.523Z] 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-07-21T18:58:37.797Z] ---> Running in 1e6818ae4666 [2023-07-21T18:58:38.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T18:58:39.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T18:58:39.628Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T18:58:40.594Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T18:58:40.594Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:58:40.594Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T18:58:40.594Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T18:58:40.594Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T18:58:40.594Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T18:58:41.561Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T18:58:41.561Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T18:58:41.561Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T18:58:41.561Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T18:58:41.561Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T18:58:42.524Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T18:58:42.524Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T18:58:42.524Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T18:58:42.524Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T18:58:42.524Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T18:58:42.524Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T18:58:42.524Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T18:58:42.524Z] OK: 286 MiB in 90 packages [2023-07-21T18:58:45.868Z] Removing intermediate container 1e6818ae4666 [2023-07-21T18:58:45.869Z] ---> a0cdf240bede [2023-07-21T18:58:45.869Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T18:58:45.869Z] ---> Running in 3227fa7c4d05 [2023-07-21T18:58:47.282Z] Removing intermediate container 3227fa7c4d05 [2023-07-21T18:58:47.282Z] ---> 2e884bbef083 [2023-07-21T18:58:47.282Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T18:58:47.551Z] ---> c4974200b073 [2023-07-21T18:58:47.551Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T18:58:48.514Z] ---> c50c9f081379 [2023-07-21T18:58:48.514Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T18:58:48.781Z] ---> 124705c11dc6 [2023-07-21T18:58:48.781Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T18:58:49.369Z] ---> 7a9ab71d594e [2023-07-21T18:58:49.369Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T18:58:49.637Z] ---> 8945ed618e8d [2023-07-21T18:58:49.637Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T18:58:50.221Z] ---> 31a1efe2c638 [2023-07-21T18:58:50.221Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T18:58:50.221Z] ---> Running in 62ce03b28c17 [2023-07-21T18:58:51.182Z] + CPPCHECK=false [2023-07-21T18:58:51.182Z] + DOCGEN=false [2023-07-21T18:58:51.182Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T18:58:51.182Z] + '[' 0 -gt 0 ] [2023-07-21T18:58:51.182Z] + readlink -f ./scripts/build.sh [2023-07-21T18:58:51.182Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T18:58:51.182Z] + dirname /tmp/sdk/scripts [2023-07-21T18:58:51.182Z] + ROOT=/tmp/sdk [2023-07-21T18:58:51.182Z] + cd /tmp/sdk [2023-07-21T18:58:51.182Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T18:58:51.182Z] + cd /tmp/sdk/build/release [2023-07-21T18:58:51.182Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T18:58:51.448Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:58:51.448Z] -- Detecting C compiler ABI info [2023-07-21T18:58:52.033Z] -- Detecting C compiler ABI info - done [2023-07-21T18:58:52.033Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:58:52.033Z] -- Detecting C compile features [2023-07-21T18:58:52.033Z] -- Detecting C compile features - done [2023-07-21T18:58:52.033Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:58:52.303Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:58:52.303Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:58:52.303Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:58:52.303Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:58:52.303Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:58:52.303Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:58:52.303Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:58:52.303Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:58:52.303Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:58:52.303Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:58:52.572Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:58:52.837Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:58:52.837Z] -- Configuring done [2023-07-21T18:58:53.105Z] -- Generating done [2023-07-21T18:58:53.105Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T18:58:53.372Z] + make all package [2023-07-21T18:58:53.372Z] + tee release.log [2023-07-21T18:58:53.372Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:58:54.329Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T18:58:55.284Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T18:58:55.870Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T18:58:56.831Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T18:58:57.416Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T18:58:59.996Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T18:59:01.404Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T18:59:01.404Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T18:59:02.814Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T18:59:05.392Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T18:59:05.658Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T18:59:06.614Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T18:59:07.577Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T18:59:07.844Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T18:59:09.253Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T18:59:09.519Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T18:59:12.099Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T18:59:12.100Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T18:59:13.061Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T18:59:14.467Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T18:59:19.802Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T18:59:20.763Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T18:59:21.349Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T18:59:21.934Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T18:59:22.518Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T18:59:23.927Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T18:59:27.269Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T18:59:27.536Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T18:59:28.496Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T18:59:29.455Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T18:59:32.790Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T18:59:33.746Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T18:59:34.012Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T18:59:34.593Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T18:59:34.861Z] [ 68%] Built target csdk [2023-07-21T18:59:34.861Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T18:59:35.822Z] [ 72%] Linking C executable template [2023-07-21T18:59:36.407Z] [ 72%] Built target template [2023-07-21T18:59:36.407Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T18:59:36.990Z] [ 76%] Linking C executable device-counter [2023-07-21T18:59:37.257Z] [ 76%] Built target device-counter [2023-07-21T18:59:37.257Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T18:59:37.841Z] [ 80%] Linking C executable device-random [2023-07-21T18:59:38.422Z] [ 80%] Built target device-random [2023-07-21T18:59:38.423Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T18:59:39.003Z] [ 84%] Linking C executable device-gyro [2023-07-21T18:59:39.268Z] [ 84%] Built target device-gyro [2023-07-21T18:59:39.268Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T18:59:39.851Z] [ 88%] Linking C executable device-bitfields [2023-07-21T18:59:40.117Z] [ 88%] Built target device-bitfields [2023-07-21T18:59:40.117Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T18:59:41.079Z] [ 92%] Linking C executable template-discovery [2023-07-21T18:59:41.661Z] [ 92%] Built target template-discovery [2023-07-21T18:59:41.661Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T18:59:42.618Z] [ 96%] Linking C executable device-file [2023-07-21T18:59:42.618Z] [ 96%] Built target device-file [2023-07-21T18:59:42.618Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T18:59:43.580Z] [100%] Linking C executable device-terminal [2023-07-21T18:59:43.848Z] [100%] Built target device-terminal [2023-07-21T18:59:43.848Z] Run CPack packaging tool... [2023-07-21T18:59:43.848Z] CPack: Create package using TGZ [2023-07-21T18:59:43.848Z] CPack: Install projects [2023-07-21T18:59:43.848Z] CPack: - Run preinstall target for: Csdk [2023-07-21T18:59:44.811Z] CPack: - Install project: Csdk [] [2023-07-21T18:59:44.811Z] CPack: Create package [2023-07-21T18:59:44.811Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-21T18:59:44.811Z] + '[' false '=' true ] [2023-07-21T18:59:44.811Z] + '[' false '=' true ] [2023-07-21T18:59:44.811Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T18:59:44.811Z] + cd /tmp/sdk/build/debug [2023-07-21T18:59:44.811Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T18:59:45.078Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T18:59:45.078Z] -- Detecting C compiler ABI info [2023-07-21T18:59:45.345Z] -- Detecting C compiler ABI info - done [2023-07-21T18:59:45.611Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T18:59:45.611Z] -- Detecting C compile features [2023-07-21T18:59:45.612Z] -- Detecting C compile features - done [2023-07-21T18:59:45.612Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T18:59:45.612Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T18:59:45.612Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T18:59:45.878Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T18:59:45.878Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T18:59:45.878Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T18:59:45.878Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T18:59:45.878Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T18:59:45.878Z] -- /opt/iotech/iot/1.5/include [2023-07-21T18:59:45.878Z] -- C SDK 0.0.0 for Linux [2023-07-21T18:59:45.878Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T18:59:46.144Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T18:59:46.144Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T18:59:46.411Z] -- Configuring done [2023-07-21T18:59:46.678Z] -- Generating done [2023-07-21T18:59:46.678Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T18:59:46.678Z] + + maketee [2023-07-21T18:59:46.678Z] debug.log [2023-07-21T18:59:46.946Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T18:59:47.212Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T18:59:47.837Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T18:59:48.105Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T18:59:48.689Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T18:59:48.955Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T18:59:49.913Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T18:59:50.179Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T18:59:50.446Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T18:59:51.027Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T18:59:51.608Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T18:59:51.873Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T18:59:52.454Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T18:59:52.721Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T18:59:53.301Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T18:59:53.567Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T18:59:53.831Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T18:59:54.785Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T18:59:55.049Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T18:59:55.049Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T18:59:56.007Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T18:59:56.960Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T18:59:57.540Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T18:59:57.805Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T18:59:58.071Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T18:59:58.337Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T18:59:58.918Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T19:00:00.853Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T19:00:00.853Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T19:00:01.433Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T19:00:01.699Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T19:00:02.670Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T19:00:02.935Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T19:00:03.318Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T19:00:03.587Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T19:00:03.854Z] [ 68%] Built target csdk [2023-07-21T19:00:03.854Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T19:00:04.435Z] [ 72%] Linking C executable template [2023-07-21T19:00:04.699Z] [ 72%] Built target template [2023-07-21T19:00:04.699Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T19:00:04.964Z] [ 76%] Linking C executable device-counter [2023-07-21T19:00:05.230Z] [ 76%] Built target device-counter [2023-07-21T19:00:05.230Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T19:00:05.812Z] [ 80%] Linking C executable device-random [2023-07-21T19:00:05.812Z] [ 80%] Built target device-random [2023-07-21T19:00:06.077Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T19:00:06.343Z] [ 84%] Linking C executable device-gyro [2023-07-21T19:00:06.690Z] [ 84%] Built target device-gyro [2023-07-21T19:00:06.690Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T19:00:06.964Z] [ 88%] Linking C executable device-bitfields [2023-07-21T19:00:07.232Z] [ 88%] Built target device-bitfields [2023-07-21T19:00:07.499Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T19:00:07.769Z] [ 92%] Linking C executable template-discovery [2023-07-21T19:00:08.039Z] [ 92%] Built target template-discovery [2023-07-21T19:00:08.308Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T19:00:08.576Z] [ 96%] Linking C executable device-file [2023-07-21T19:00:08.858Z] [ 96%] Built target device-file [2023-07-21T19:00:08.858Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T19:00:09.451Z] [100%] Linking C executable device-terminal [2023-07-21T19:00:09.722Z] [100%] Built target device-terminal [2023-07-21T19:00:09.722Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.722Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.722Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.722Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 68%] Built target csdk [2023-07-21T19:00:09.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 72%] Built target template [2023-07-21T19:00:09.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 76%] Built target device-counter [2023-07-21T19:00:09.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 80%] Built target device-random [2023-07-21T19:00:09.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 84%] Built target device-gyro [2023-07-21T19:00:09.992Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:09.992Z] [ 88%] Built target device-bitfields [2023-07-21T19:00:10.275Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] [ 92%] Built target template-discovery [2023-07-21T19:00:10.275Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] [ 96%] Built target device-file [2023-07-21T19:00:10.275Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] [100%] Built target device-terminal [2023-07-21T19:00:10.275Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:10.275Z] Install the project... [2023-07-21T19:00:10.275Z] -- Install configuration: "Release" [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-21T19:00:10.275Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/devsdk [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-21T19:00:10.275Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-21T19:00:10.275Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T19:00:11.684Z] Removing intermediate container 62ce03b28c17 [2023-07-21T19:00:11.684Z] ---> aed5773bbc6b [2023-07-21T19:00:11.684Z] Step 14/21 : FROM ${BASE} [2023-07-21T19:00:11.684Z] ---> 295cd00e64f4 [2023-07-21T19:00:11.684Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-21T19:00:11.684Z] ---> Running in b9db62f7fe95 [2023-07-21T19:00:11.956Z] Removing intermediate container b9db62f7fe95 [2023-07-21T19:00:11.956Z] ---> 54cab74b08f6 [2023-07-21T19:00:11.956Z] 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-07-21T19:00:11.956Z] ---> Running in 4d4088c42194 [2023-07-21T19:00:12.914Z] Connecting to iotech.jfrog.io (34.253.18.218:443) [2023-07-21T19:00:13.501Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T19:00:13.501Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T19:00:13.501Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T19:00:14.085Z] Removing intermediate container 4d4088c42194 [2023-07-21T19:00:14.085Z] ---> f85cfb806f31 [2023-07-21T19:00:14.085Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T19:00:14.085Z] ---> Running in db2fa3d40137 [2023-07-21T19:00:16.028Z] Removing intermediate container db2fa3d40137 [2023-07-21T19:00:16.028Z] ---> 583ade1072d6 [2023-07-21T19:00:16.028Z] 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-07-21T19:00:16.028Z] ---> Running in 280ae328a048 [2023-07-21T19:00:16.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:16.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:17.460Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:18.420Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T19:00:18.420Z] (1/7) Installing curl (8.2.0-r1) [2023-07-21T19:00:18.420Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-21T19:00:18.420Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-21T19:00:18.420Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-21T19:00:19.002Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-21T19:00:19.002Z] (6/7) Installing libuuid (2.38-r1) [2023-07-21T19:00:19.002Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T19:00:19.963Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T19:00:19.963Z] OK: 281 MiB in 83 packages [2023-07-21T19:00:20.925Z] Removing intermediate container 280ae328a048 [2023-07-21T19:00:20.925Z] ---> bb390bf8bd99 [2023-07-21T19:00:20.925Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-21T19:00:21.507Z] ---> 58df9f1840d5 [2023-07-21T19:00:21.507Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-21T19:00:22.090Z] ---> 4f9a62667a04 [2023-07-21T19:00:22.090Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-21T19:00:22.677Z] ---> dd8f46fa176c [2023-07-21T19:00:22.677Z] Successfully built dd8f46fa176c [2023-07-21T19:00:22.677Z] 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-07-21T19:00:23.099Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T19:00:23.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T19:00:23.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-1744 does not seem to be running inside a container [2023-07-21T19:00:23.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-21T19:00:24.514Z] $ docker top 61d307e55e90b6cc8506adc14f091cbed49ea4766aff12e92326b2199cb16802 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T19:00:25.338Z] + make test [2023-07-21T19:00:25.338Z] echo "make test" [2023-07-21T19:00:25.338Z] make test [Pipeline] } [2023-07-21T19:00:25.358Z] $ docker stop --time=1 61d307e55e90b6cc8506adc14f091cbed49ea4766aff12e92326b2199cb16802 [2023-07-21T19:00:27.008Z] $ docker rm -f --volumes 61d307e55e90b6cc8506adc14f091cbed49ea4766aff12e92326b2199cb16802 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T19:00:27.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T19:00:27.868Z] + ls -al . [2023-07-21T19:00:27.868Z] total 208 [2023-07-21T19:00:27.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 18:57 . [2023-07-21T19:00:27.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:57 .. [2023-07-21T19:00:27.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 18:57 .git [2023-07-21T19:00:27.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:57 .github [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 18:57 .gitignore [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 21 18:57 Attribution.txt [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 21 18:57 CHANGES [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 18:57 Doxyfile [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 18:57 GOVERNANCE.md [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 18:57 Jenkinsfile [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 18:57 LICENSE [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 18:57 Makefile [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 18:57 OWNERS.md [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 21 18:57 README.IOT.md [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 21 18:57 README.md [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 21 18:57 README.v3.md [2023-07-21T19:00:27.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 18:55 VERSION [2023-07-21T19:00:27.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:57 docs [2023-07-21T19:00:27.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:57 include [2023-07-21T19:00:27.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 18:57 scripts [2023-07-21T19:00:27.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 18:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:00:28.205Z] + 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=e1e67260002e404343cc270f1cef03d603f9e71e --label arch=arm64 --label version=0.0.0 . [2023-07-21T19:00:28.473Z] Sending build context to Docker daemon 2.927MB [2023-07-21T19:00:28.473Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-21T19:00:28.473Z] Step 2/17 : FROM ${BASE} [2023-07-21T19:00:28.473Z] ---> dd8f46fa176c [2023-07-21T19:00:28.473Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-21T19:00:28.744Z] ---> Running in 034ec61c3927 [2023-07-21T19:00:29.013Z] Removing intermediate container 034ec61c3927 [2023-07-21T19:00:29.013Z] ---> cfe99554ce5a [2023-07-21T19:00:29.013Z] 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-07-21T19:00:29.013Z] ---> Running in 8a724df050ec [2023-07-21T19:00:29.981Z] Connecting to iotech.jfrog.io (52.210.15.138:443) [2023-07-21T19:00:30.563Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T19:00:30.563Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T19:00:30.563Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T19:00:34.586Z] Removing intermediate container 8a724df050ec [2023-07-21T19:00:34.586Z] ---> 070401f8a33f [2023-07-21T19:00:34.586Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T19:00:34.586Z] ---> Running in 9cd8cfedcf3a [2023-07-21T19:00:35.996Z] Removing intermediate container 9cd8cfedcf3a [2023-07-21T19:00:35.997Z] ---> 5cd4a102dd3f [2023-07-21T19:00:35.997Z] 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-07-21T19:00:35.997Z] ---> Running in 89c732f99248 [2023-07-21T19:00:36.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:37.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:37.804Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T19:00:38.388Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T19:00:38.388Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T19:00:38.388Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T19:00:38.652Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T19:00:39.235Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T19:00:39.503Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-21T19:00:39.503Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T19:00:39.503Z] (7/11) Installing libblkid (2.38-r1) [2023-07-21T19:00:39.503Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-21T19:00:39.503Z] (9/11) Installing libmount (2.38-r1) [2023-07-21T19:00:39.503Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-21T19:00:39.503Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-21T19:00:39.503Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T19:00:39.503Z] OK: 287 MiB in 92 packages [2023-07-21T19:00:40.918Z] Removing intermediate container 89c732f99248 [2023-07-21T19:00:40.918Z] ---> 4dc5412c1b7a [2023-07-21T19:00:40.918Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-21T19:00:41.186Z] ---> 6af8ea063003 [2023-07-21T19:00:41.186Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-21T19:00:42.143Z] ---> 9dbe14db3b15 [2023-07-21T19:00:42.143Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-21T19:00:42.725Z] ---> 7e0389865c0f [2023-07-21T19:00:42.725Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-21T19:00:42.992Z] ---> eac39111a2d6 [2023-07-21T19:00:42.992Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-21T19:00:43.576Z] ---> 34ea985cb881 [2023-07-21T19:00:43.576Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-21T19:00:44.158Z] ---> 92f098ee1f6d [2023-07-21T19:00:44.158Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-21T19:00:44.158Z] ---> Running in 2bf1a3854dd0 [2023-07-21T19:00:44.424Z] Removing intermediate container 2bf1a3854dd0 [2023-07-21T19:00:44.425Z] ---> cb5bf167a047 [2023-07-21T19:00:44.425Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-21T19:00:44.425Z] ---> Running in bc2a41d89945 [2023-07-21T19:00:45.009Z] Removing intermediate container bc2a41d89945 [2023-07-21T19:00:45.009Z] ---> 5b49d9684be1 [2023-07-21T19:00:45.009Z] Step 15/17 : LABEL arch=arm64 [2023-07-21T19:00:45.009Z] ---> Running in 7a30f8c284bd [2023-07-21T19:00:45.277Z] Removing intermediate container 7a30f8c284bd [2023-07-21T19:00:45.277Z] ---> 706c27b160d7 [2023-07-21T19:00:45.277Z] Step 16/17 : LABEL git_sha=e1e67260002e404343cc270f1cef03d603f9e71e [2023-07-21T19:00:45.277Z] ---> Running in e655e9d9d50d [2023-07-21T19:00:45.545Z] Removing intermediate container e655e9d9d50d [2023-07-21T19:00:45.545Z] ---> 1da122208987 [2023-07-21T19:00:45.545Z] Step 17/17 : LABEL version=0.0.0 [2023-07-21T19:00:45.812Z] ---> Running in 26c3a5ffb781 [2023-07-21T19:00:46.077Z] Removing intermediate container 26c3a5ffb781 [2023-07-21T19:00:46.078Z] ---> 61bb39848048 [2023-07-21T19:00:46.078Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-21T19:00:46.078Z] Successfully built 61bb39848048 [2023-07-21T19:00:46.078Z] 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-07-21T19:00:46.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:00:46.510Z] [2023-07-21T19:00:46.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:00:46.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:00:48.781Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-21T19:00:48.781Z] 8998bd30e6a1: Pulling fs layer [2023-07-21T19:00:48.781Z] 04944245beec: Pulling fs layer [2023-07-21T19:00:48.781Z] 699f458cf7ca: Pulling fs layer [2023-07-21T19:00:48.781Z] 765212b225bb: Pulling fs layer [2023-07-21T19:00:48.781Z] f23df028b6ca: Pulling fs layer [2023-07-21T19:00:48.781Z] d65c8cfc05b1: Pulling fs layer [2023-07-21T19:00:48.781Z] 2437ff75d9bd: Pulling fs layer [2023-07-21T19:00:48.781Z] f23df028b6ca: Waiting [2023-07-21T19:00:48.781Z] d65c8cfc05b1: Waiting [2023-07-21T19:00:48.781Z] 2437ff75d9bd: Waiting [2023-07-21T19:00:48.781Z] 765212b225bb: Waiting [2023-07-21T19:00:48.781Z] 04944245beec: Verifying Checksum [2023-07-21T19:00:48.781Z] 04944245beec: Download complete [2023-07-21T19:00:48.781Z] 765212b225bb: Verifying Checksum [2023-07-21T19:00:48.781Z] 765212b225bb: Download complete [2023-07-21T19:00:48.781Z] f23df028b6ca: Download complete [2023-07-21T19:00:48.781Z] d65c8cfc05b1: Verifying Checksum [2023-07-21T19:00:48.781Z] d65c8cfc05b1: Download complete [2023-07-21T19:00:48.781Z] 699f458cf7ca: Verifying Checksum [2023-07-21T19:00:48.781Z] 699f458cf7ca: Download complete [2023-07-21T19:00:49.366Z] 8998bd30e6a1: Verifying Checksum [2023-07-21T19:00:49.366Z] 8998bd30e6a1: Download complete [2023-07-21T19:00:51.309Z] 2437ff75d9bd: Verifying Checksum [2023-07-21T19:00:51.309Z] 2437ff75d9bd: Download complete [2023-07-21T19:00:53.254Z] 8998bd30e6a1: Pull complete [2023-07-21T19:00:53.522Z] 04944245beec: Pull complete [2023-07-21T19:00:54.929Z] 699f458cf7ca: Pull complete [2023-07-21T19:00:55.201Z] 765212b225bb: Pull complete [2023-07-21T19:00:55.783Z] f23df028b6ca: Pull complete [2023-07-21T19:00:56.049Z] d65c8cfc05b1: Pull complete [2023-07-21T19:01:11.039Z] 2437ff75d9bd: Pull complete [2023-07-21T19:01:11.039Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-21T19:01:11.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T19:01:11.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T19:01:11.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-1744 does not seem to be running inside a container [2023-07-21T19:01:11.300Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-21T19:01:13.853Z] $ docker top 9f9542034e332b01d36c84e2aa68e00defc9403e1f5b37d6a0565531c1cec894 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:14.378Z] ---> job-cost.sh [2023-07-21T19:01:14.643Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:14.643Z] INFO: No Stack... [2023-07-21T19:01:15.221Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-21T19:01:15.801Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T19:01:16.126Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-07-21T19:01:16.126Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T19:01:16.187Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [2023-07-21T19:01:16.193Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] did not exist. Created. [2023-07-21T19:01:16.193Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T19:01:16.527Z] /w/workspace/device-sdk-c/2@tmp/durable-d1faa2af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-21T19:01:16.868Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-21T19:01:16.892Z] Warning: overwriting stash ‘stack-cost’ [2023-07-21T19:01:17.346Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T19:01:17.354Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-471-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T19:01:17.374Z] $ docker stop --time=1 9f9542034e332b01d36c84e2aa68e00defc9403e1f5b37d6a0565531c1cec894 [2023-07-21T19:01:18.815Z] $ docker rm -f --volumes 9f9542034e332b01d36c84e2aa68e00defc9403e1f5b37d6a0565531c1cec894 [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-07-21T19:01:19.602Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives ] [2023-07-21T19:01:19.602Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-21T19:01:19.602Z] total 16 [2023-07-21T19:01:19.602Z] drwxr-xr-x 3 root root 4096 Jul 21 18:57 . [2023-07-21T19:01:19.602Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 18:57 .. [2023-07-21T19:01:19.602Z] drwxr-xr-x 2 root root 4096 Jul 21 18:57 cost [2023-07-21T19:01:19.602Z] -rw-r--r-- 1 root root 84 Jul 21 18:57 cost.csv [2023-07-21T19:01:19.602Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-21T19:01:19.602Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-21T19:01:19.602Z] total 16 [2023-07-21T19:01:19.602Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 18:57 . [2023-07-21T19:01:19.602Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 18:57 .. [2023-07-21T19:01:19.602Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 18:57 cost [2023-07-21T19:01:19.602Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 21 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:19.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:20.743Z] ---> package-listing.sh [2023-07-21T19:01:20.743Z] ++ facter osfamily [2023-07-21T19:01:20.743Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-21T19:01:21.003Z] + OS_FAMILY=debian [2023-07-21T19:01:21.003Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-471 [2023-07-21T19:01:21.003Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-21T19:01:21.003Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-21T19:01:21.003Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-21T19:01:21.003Z] + PACKAGES=/tmp/packages_start.txt [2023-07-21T19:01:21.003Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-471 ']' [2023-07-21T19:01:21.003Z] + PACKAGES=/tmp/packages_end.txt [2023-07-21T19:01:21.003Z] + case "${OS_FAMILY}" in [2023-07-21T19:01:21.003Z] + dpkg -l [2023-07-21T19:01:21.003Z] + grep '^ii' [2023-07-21T19:01:21.003Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-21T19:01:21.003Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-21T19:01:21.003Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-21T19:01:21.003Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-471 ']' [2023-07-21T19:01:21.003Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/ [2023-07-21T19:01:21.003Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/ [Pipeline] echo [2023-07-21T19:01:21.015Z] 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-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-21T19:01:21.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T19:01:21.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T19:01:21.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T19:01:21.919Z] prd-ubuntu20.04-docker-8c-8g-1742 does not seem to be running inside a container [2023-07-21T19:01:21.947Z] $ 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-471/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-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T19:01:22.175Z] $ docker top 11d3e3ad64229d32b85256de7a094dff2d72bdeb097c862bd6acd1ad278c24bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T19:01:22.542Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-21T19:01:22.825Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-21T19:01:23.108Z] + ls /var/log/sa-host [2023-07-21T19:01:23.108Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T19:01:23.263Z] provisioning config files... [2023-07-21T19:01:23.272Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config9515653895378998329tmp [Pipeline] { [Pipeline] echo [2023-07-21T19:01:23.288Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:23.568Z] ---> create-netrc.sh [Pipeline] } [2023-07-21T19:01:23.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:23.912Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-21T19:01:23.920Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:24.200Z] ---> sudo-logs.sh [2023-07-21T19:01:24.200Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-21T19:01:24.222Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:24.501Z] ---> job-cost.sh [2023-07-21T19:01:24.501Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:24.501Z] DEBUG: total: 0.2199999988079071 [2023-07-21T19:01:24.501Z] INFO: Retrieving Stack Cost... [2023-07-21T19:01:24.761Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T19:01:25.327Z] INFO: Archiving Costs [Pipeline] echo [2023-07-21T19:01:25.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T19:01:25.622Z] ---> logs-deploy.sh [2023-07-21T19:01:25.622Z] lf-activate-venv: SKIPPING [2023-07-21T19:01:25.622Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-471/2 [2023-07-21T19:01:25.622Z] INFO: archiving workspace using pattern(s): [2023-07-21T19:01:26.560Z] Archives upload complete. [2023-07-21T19:01:26.560Z] INFO: archiving logs to Nexus