Pull request #470 updated 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 201cdc229872e37446283d80dd11e8c96fa0f918+e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (7670472b66cae0e932b9e74e79b9e517a485f131) 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-ssh17701631377002492604.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-ssh18193950211097541703.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13822798997792646078.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-ssh14834162331565830262.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8250139405889359983.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-1640 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [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-470 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 201cdc229872e37446283d80dd11e8c96fa0f918 Merge succeeded, producing 84937194d9ca422f070aa0d7d74f73bed9a4e6db Checking out Revision 84937194d9ca422f070aa0d7d74f73bed9a4e6db (PR-470) > git config core.sparsecheckout # timeout=10 > git checkout -f 201cdc229872e37446283d80dd11e8c96fa0f918 # 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 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84937194d9ca422f070aa0d7d74f73bed9a4e6db # timeout=10 Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk deba6f272ef89fa88bf59594c46ddca1b3aedc11 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-20T06:07:31.931Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-20T06:07:31.970Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-20T06:07:31.988Z] ========================================================= [2023-07-20T06:07:31.988Z] EdgeX Global Pipelines Version Info [2023-07-20T06:07:31.988Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:07:32.687Z] ------------------- [2023-07-20T06:07:32.687Z] stable info: [2023-07-20T06:07:32.687Z] ------------------- [2023-07-20T06:07:32.687Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-20T06:07:32.687Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T06:07:32.687Z] Message: update stable to v1.0.250 [2023-07-20T06:07:33.259Z] ------------------- [2023-07-20T06:07:33.260Z] experimental info: [2023-07-20T06:07:33.260Z] ------------------- [2023-07-20T06:07:33.260Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-20T06:07:33.260Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T06:07:33.260Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-20T06:07:33.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-20T06:07:33.445Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-20T06:07:33.461Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-20T06:07:33.473Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-20T06:07:33.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-20T06:07:33.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-20T06:07:33.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-20T06:07:33.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-20T06:07:33.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-20T06:07:33.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-20T06:07:33.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-20T06:07:33.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-20T06:07:33.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T06:07:33.602Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T06:07:33.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-20T06:07:33.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-20T06:07:33.636Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-20T06:07:33.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2023-07-20T06:07:33.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2023-07-20T06:07:33.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2023-07-20T06:07:33.680Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84937194d9ca422f070aa0d7d74f73bed9a4e6db [Pipeline] echo [2023-07-20T06:07:33.690Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8493719 [Pipeline] echo [2023-07-20T06:07:33.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T06:07:33.736Z] provisioning config files... [2023-07-20T06:07:33.750Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config13863851356459274809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:07:34.050Z] ---> docker-login.sh [2023-07-20T06:07:34.050Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:07:34.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:07:34.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:07:34.310Z] Configure a credential helper to remove this warning. See [2023-07-20T06:07:34.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:07:34.310Z] [2023-07-20T06:07:34.310Z] Login Succeeded [2023-07-20T06:07:34.310Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:07:34.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:07:34.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:07:34.568Z] Configure a credential helper to remove this warning. See [2023-07-20T06:07:34.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:07:34.568Z] [2023-07-20T06:07:34.568Z] Login Succeeded [2023-07-20T06:07:34.568Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:07:34.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:07:34.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:07:34.568Z] Configure a credential helper to remove this warning. See [2023-07-20T06:07:34.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:07:34.568Z] [2023-07-20T06:07:34.568Z] Login Succeeded [2023-07-20T06:07:34.568Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:07:34.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:07:34.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:07:34.827Z] Configure a credential helper to remove this warning. See [2023-07-20T06:07:34.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:07:34.827Z] [2023-07-20T06:07:34.827Z] Login Succeeded [2023-07-20T06:07:34.827Z] docker.io [2023-07-20T06:07:34.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:07:35.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:07:35.086Z] Configure a credential helper to remove this warning. See [2023-07-20T06:07:35.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:07:35.086Z] [2023-07-20T06:07:35.086Z] Login Succeeded [2023-07-20T06:07:35.086Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:07:35.093Z] 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-20T06:07:35.464Z] + git rev-list -1 --merges 84937194d9ca422f070aa0d7d74f73bed9a4e6db~1..84937194d9ca422f070aa0d7d74f73bed9a4e6db [Pipeline] echo [2023-07-20T06:07:35.508Z] -----------> git rev-list -1 --merges 84937194d9ca422f070aa0d7d74f73bed9a4e6db~1..84937194d9ca422f070aa0d7d74f73bed9a4e6db 84937194d9ca422f070aa0d7d74f73bed9a4e6db [2023-07-20T06:07:35.508Z] 84937194d9ca422f070aa0d7d74f73bed9a4e6db [false] [Pipeline] sh [2023-07-20T06:07:35.796Z] + git log --format=format:%s -1 84937194d9ca422f070aa0d7d74f73bed9a4e6db [Pipeline] echo [2023-07-20T06:07:35.810Z] ========================================================= [2023-07-20T06:07:35.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T06:07:35.810Z] ========================================================= 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-20T06:07:36.187Z] + git rev-list -1 --merges 84937194d9ca422f070aa0d7d74f73bed9a4e6db~1..84937194d9ca422f070aa0d7d74f73bed9a4e6db [Pipeline] echo [2023-07-20T06:07:36.197Z] -----------> git rev-list -1 --merges 84937194d9ca422f070aa0d7d74f73bed9a4e6db~1..84937194d9ca422f070aa0d7d74f73bed9a4e6db 84937194d9ca422f070aa0d7d74f73bed9a4e6db [2023-07-20T06:07:36.197Z] 84937194d9ca422f070aa0d7d74f73bed9a4e6db [false] [Pipeline] sh [2023-07-20T06:07:37.264Z] + git log --format=format:%s -1 84937194d9ca422f070aa0d7d74f73bed9a4e6db [Pipeline] echo [2023-07-20T06:07:37.282Z] ========================================================= [2023-07-20T06:07:37.282Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T06:07:37.282Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-20T06:07:49.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T06:07:49.694Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-20T06:07:49.694Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-20T06:07:49.694Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-20T06:07:49.694Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-20T06:07:49.694Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-20T06:07:49.694Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:07:50.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:07:50.117Z] [2023-07-20T06:07:50.117Z] 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-20T06:07:50.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:07:50.416Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-20T06:07:50.416Z] b85a868b505f: Pulling fs layer [2023-07-20T06:07:50.416Z] e2be974225ed: Pulling fs layer [2023-07-20T06:07:50.416Z] 339a4e72a1f5: Pulling fs layer [2023-07-20T06:07:50.416Z] 988bab9f4d93: Pulling fs layer [2023-07-20T06:07:50.416Z] 1469e6f7b9e6: Pulling fs layer [2023-07-20T06:07:50.416Z] eaf3925da568: Pulling fs layer [2023-07-20T06:07:50.416Z] bab4dde63d76: Pulling fs layer [2023-07-20T06:07:50.416Z] bde34c3a00c8: Pulling fs layer [2023-07-20T06:07:50.416Z] b352a97aabf1: Pulling fs layer [2023-07-20T06:07:50.416Z] 4872d77fe225: Pulling fs layer [2023-07-20T06:07:50.416Z] 5851b861e8e6: Pulling fs layer [2023-07-20T06:07:50.416Z] 988bab9f4d93: Waiting [2023-07-20T06:07:50.416Z] 1469e6f7b9e6: Waiting [2023-07-20T06:07:50.416Z] eaf3925da568: Waiting [2023-07-20T06:07:50.416Z] bab4dde63d76: Waiting [2023-07-20T06:07:50.416Z] bde34c3a00c8: Waiting [2023-07-20T06:07:50.416Z] b352a97aabf1: Waiting [2023-07-20T06:07:50.416Z] 4872d77fe225: Waiting [2023-07-20T06:07:50.416Z] 5851b861e8e6: Waiting [2023-07-20T06:07:50.416Z] 988bab9f4d93: Verifying Checksum [2023-07-20T06:07:50.416Z] 988bab9f4d93: Download complete [2023-07-20T06:07:50.691Z] 1469e6f7b9e6: Download complete [2023-07-20T06:07:50.691Z] eaf3925da568: Verifying Checksum [2023-07-20T06:07:50.691Z] eaf3925da568: Download complete [2023-07-20T06:07:50.691Z] 339a4e72a1f5: Verifying Checksum [2023-07-20T06:07:50.691Z] 339a4e72a1f5: Download complete [2023-07-20T06:07:50.691Z] bde34c3a00c8: Verifying Checksum [2023-07-20T06:07:50.691Z] bde34c3a00c8: Download complete [2023-07-20T06:07:50.691Z] b352a97aabf1: Verifying Checksum [2023-07-20T06:07:50.691Z] b352a97aabf1: Download complete [2023-07-20T06:07:50.691Z] 4872d77fe225: Verifying Checksum [2023-07-20T06:07:50.691Z] 4872d77fe225: Download complete [2023-07-20T06:07:50.691Z] 5851b861e8e6: Verifying Checksum [2023-07-20T06:07:50.691Z] 5851b861e8e6: Download complete [2023-07-20T06:07:50.691Z] b85a868b505f: Verifying Checksum [2023-07-20T06:07:50.691Z] b85a868b505f: Download complete [2023-07-20T06:07:51.261Z] bab4dde63d76: Verifying Checksum [2023-07-20T06:07:51.261Z] bab4dde63d76: Download complete [2023-07-20T06:07:51.827Z] b85a868b505f: Pull complete [2023-07-20T06:07:52.085Z] e2be974225ed: Pull complete [2023-07-20T06:07:52.654Z] 339a4e72a1f5: Pull complete [2023-07-20T06:07:52.654Z] 988bab9f4d93: Pull complete [2023-07-20T06:07:52.913Z] 1469e6f7b9e6: Pull complete [2023-07-20T06:07:52.914Z] eaf3925da568: Pull complete [2023-07-20T06:07:54.821Z] bab4dde63d76: Pull complete [2023-07-20T06:07:54.821Z] bde34c3a00c8: Pull complete [2023-07-20T06:07:54.821Z] b352a97aabf1: Pull complete [2023-07-20T06:07:54.821Z] 4872d77fe225: Pull complete [2023-07-20T06:07:54.821Z] 5851b861e8e6: Pull complete [2023-07-20T06:07:54.821Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-20T06:07:54.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:07:54.821Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:07:54.921Z] prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container [2023-07-20T06:07:54.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T06:07:57.635Z] $ docker top 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 -eo pid,comm [2023-07-20T06:07:57.689Z] 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-20T06:07:57.689Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T06:07:57.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T06:07:57.726Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T06:07:57.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T06:07:57.841Z] $ docker exec 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 ssh-agent [2023-07-20T06:07:57.952Z] SSH_AUTH_SOCK=/tmp/ssh-GFHLnu5vDIRC/agent.31 [2023-07-20T06:07:57.952Z] SSH_AGENT_PID=37 [2023-07-20T06:07:57.960Z] Running ssh-add (command line suppressed) [2023-07-20T06:07:58.108Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_16314358413588781354.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_16314358413588781354.key) [2023-07-20T06:07:58.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T06:07:58.412Z] + git tag --points-at HEAD [Pipeline] } [2023-07-20T06:07:58.429Z] $ docker exec --env ******** --env ******** 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 ssh-agent -k [2023-07-20T06:07:58.520Z] unset SSH_AUTH_SOCK; [2023-07-20T06:07:58.520Z] unset SSH_AGENT_PID; [2023-07-20T06:07:58.521Z] echo Agent pid 37 killed; [2023-07-20T06:07:58.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-20T06:07:58.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T06:07:58.549Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T06:07:58.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T06:07:58.669Z] $ docker exec 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 ssh-agent [2023-07-20T06:07:58.768Z] SSH_AUTH_SOCK=/tmp/ssh-TCul8Qubyoyv/agent.68 [2023-07-20T06:07:58.768Z] SSH_AGENT_PID=74 [2023-07-20T06:07:58.773Z] Running ssh-add (command line suppressed) [2023-07-20T06:07:58.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_14506855769686127430.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_14506855769686127430.key) [2023-07-20T06:07:58.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T06:07:59.182Z] + git semver init [2023-07-20T06:07:59.442Z] 2023-07-20 06:07:59,350 [run_init] DEBUG init version:0.0.0 force:False [2023-07-20T06:07:59.442Z] 2023-07-20 06:07:59,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-20T06:07:59.442Z] 2023-07-20 06:07:59,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-20T06:07:59.442Z] 2023-07-20 06:07:59,352 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470, universal_newlines=False, shell=None, istream=None) [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,164 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.git/info/exclude [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,164 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 with force:False [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,165 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,169 [execute] INFO git cat-file --batch-check [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,175 [execute] INFO git cat-file --batch [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T06:08:00.381Z] 2023-07-20 06:08:00,181 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-20T06:08:00.381Z] 0.0.0 [Pipeline] } [2023-07-20T06:08:00.393Z] $ docker exec --env ******** --env ******** 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 ssh-agent -k [2023-07-20T06:08:00.490Z] unset SSH_AUTH_SOCK; [2023-07-20T06:08:00.491Z] unset SSH_AGENT_PID; [2023-07-20T06:08:00.491Z] echo Agent pid 74 killed; [2023-07-20T06:08:00.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T06:08:00.800Z] + git semver [Pipeline] } [2023-07-20T06:08:01.078Z] $ docker stop --time=1 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 [2023-07-20T06:08:02.380Z] $ docker rm -f --volumes 74c2fae5a8c57339c19b769c308a4546783b390f0a00872033f63e1d86a3cda3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T06:08:02.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-20T06:08:02.918Z] Stashed 1 file(s) [Pipeline] echo [2023-07-20T06:08:02.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-20T06:08:03.062Z] provisioning config files... [2023-07-20T06:08:03.072Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config3773658704326143615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:08:03.365Z] ---> docker-login.sh [2023-07-20T06:08:03.365Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:08:03.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:08:03.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:08:03.365Z] Configure a credential helper to remove this warning. See [2023-07-20T06:08:03.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:08:03.365Z] [2023-07-20T06:08:03.365Z] Login Succeeded [2023-07-20T06:08:03.365Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:08:03.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:08:03.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:08:03.365Z] Configure a credential helper to remove this warning. See [2023-07-20T06:08:03.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:08:03.365Z] [2023-07-20T06:08:03.365Z] Login Succeeded [2023-07-20T06:08:03.365Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:08:03.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:08:03.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:08:03.625Z] Configure a credential helper to remove this warning. See [2023-07-20T06:08:03.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:08:03.625Z] [2023-07-20T06:08:03.625Z] Login Succeeded [2023-07-20T06:08:03.625Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:08:03.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:08:03.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:08:03.625Z] Configure a credential helper to remove this warning. See [2023-07-20T06:08:03.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:08:03.625Z] [2023-07-20T06:08:03.625Z] Login Succeeded [2023-07-20T06:08:03.625Z] docker.io [2023-07-20T06:08:03.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:08:03.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:08:03.885Z] Configure a credential helper to remove this warning. See [2023-07-20T06:08:03.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:08:03.885Z] [2023-07-20T06:08:03.885Z] Login Succeeded [2023-07-20T06:08:03.885Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:08:03.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T06:08:03.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:08:03.953Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-20T06:08:03.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:08:03.967Z] ========================================================= [2023-07-20T06:08:03.967Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-20T06:08:03.967Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:08:04.262Z] + 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-20T06:08:04.262Z] Sending build context to Docker daemon 4.859MB [2023-07-20T06:08:04.262Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T06:08:04.262Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T06:08:04.262Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-20T06:08:04.262Z] 91d30c5bc195: Pulling fs layer [2023-07-20T06:08:04.262Z] 316e5a4585fb: Pulling fs layer [2023-07-20T06:08:04.522Z] 91d30c5bc195: Verifying Checksum [2023-07-20T06:08:04.522Z] 91d30c5bc195: Download complete [2023-07-20T06:08:04.522Z] 91d30c5bc195: Pull complete [2023-07-20T06:08:05.089Z] 316e5a4585fb: Verifying Checksum [2023-07-20T06:08:05.089Z] 316e5a4585fb: Download complete [2023-07-20T06:08:08.372Z] 316e5a4585fb: Pull complete [2023-07-20T06:08:08.372Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-20T06:08:08.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-20T06:08:08.372Z] ---> e83ffa357ff4 [2023-07-20T06:08:08.372Z] 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-20T06:08:09.753Z] ---> Running in 92fecb352bb8 [2023-07-20T06:08:10.320Z] Connecting to iotech.jfrog.io (52.214.181.33:443) [2023-07-20T06:08:10.888Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:08:10.888Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:08:10.888Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:08:10.888Z] Removing intermediate container 92fecb352bb8 [2023-07-20T06:08:10.888Z] ---> ef2c9c65cf1a [2023-07-20T06:08:10.888Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:08:11.150Z] ---> Running in 028d6d77be4a [2023-07-20T06:08:11.732Z] Removing intermediate container 028d6d77be4a [2023-07-20T06:08:11.732Z] ---> eeba7acf3ac7 [2023-07-20T06:08:11.732Z] 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-20T06:08:11.732Z] ---> Running in c8b731bd7cb2 [2023-07-20T06:08:11.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:11.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:12.251Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:12.820Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:08:12.820Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:08:12.820Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:08:12.820Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T06:08:12.820Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:08:12.820Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:08:13.390Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:08:13.649Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T06:08:13.649Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:08:13.649Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:08:13.649Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:08:14.624Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T06:08:14.624Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T06:08:14.624Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T06:08:14.624Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T06:08:14.624Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T06:08:14.624Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T06:08:14.624Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:08:14.624Z] OK: 280 MiB in 90 packages [2023-07-20T06:08:15.193Z] Removing intermediate container c8b731bd7cb2 [2023-07-20T06:08:15.193Z] ---> 16e710c1527f [2023-07-20T06:08:15.193Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T06:08:15.193Z] ---> Running in 61a02c4fe5d9 [2023-07-20T06:08:15.761Z] Removing intermediate container 61a02c4fe5d9 [2023-07-20T06:08:15.761Z] ---> 46822f8e2ba1 [2023-07-20T06:08:15.761Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T06:08:15.761Z] ---> efd674e84aed [2023-07-20T06:08:15.761Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T06:08:16.019Z] ---> ffed10d9c1a0 [2023-07-20T06:08:16.019Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T06:08:16.278Z] ---> c6c77de27b90 [2023-07-20T06:08:16.278Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T06:08:16.278Z] ---> 188974f87cf2 [2023-07-20T06:08:16.278Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T06:08:16.537Z] ---> 042990204f98 [2023-07-20T06:08:16.537Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T06:08:16.537Z] ---> fd32f7027476 [2023-07-20T06:08:16.537Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T06:08:16.537Z] ---> Running in bacf8eb93e87 [2023-07-20T06:08:16.795Z] + CPPCHECK=false [2023-07-20T06:08:16.795Z] + DOCGEN=false [2023-07-20T06:08:16.795Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T06:08:16.795Z] + '[' 0 -gt 0 ] [2023-07-20T06:08:16.795Z] + readlink -f ./scripts/build.sh [2023-07-20T06:08:16.795Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T06:08:16.795Z] + dirname /tmp/sdk/scripts [2023-07-20T06:08:16.795Z] + ROOT=/tmp/sdk [2023-07-20T06:08:16.795Z] + cd /tmp/sdk [2023-07-20T06:08:16.795Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T06:08:16.795Z] + cd /tmp/sdk/build/release [2023-07-20T06:08:16.795Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T06:08:17.053Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:08:17.053Z] -- Detecting C compiler ABI info [2023-07-20T06:08:17.053Z] -- Detecting C compiler ABI info - done [2023-07-20T06:08:17.053Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:08:17.053Z] -- Detecting C compile features [2023-07-20T06:08:17.053Z] -- Detecting C compile features - done [2023-07-20T06:08:17.053Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:08:17.053Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:08:17.053Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:08:17.053Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:08:17.053Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:08:17.053Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:08:17.053Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:08:17.053Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:08:17.053Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:08:17.053Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:08:17.053Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:08:17.312Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:08:17.312Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:08:17.312Z] -- Configuring done [2023-07-20T06:08:17.312Z] -- Generating done [2023-07-20T06:08:17.312Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T06:08:17.312Z] + make all package [2023-07-20T06:08:17.312Z] + tee release.log [2023-07-20T06:08:17.312Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:08:17.571Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:08:17.830Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:08:17.830Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:08:18.019Z] Still waiting to schedule task [2023-07-20T06:08:18.020Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-20T06:08:18.089Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:08:18.089Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:08:18.348Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:08:18.608Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:08:18.608Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:08:18.868Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:08:19.126Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:08:19.385Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:08:19.385Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:08:19.648Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:08:19.648Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:08:19.907Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:08:19.907Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:08:20.475Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:08:20.475Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:08:20.475Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:08:20.736Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:08:21.675Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:08:21.675Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:08:21.675Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:08:21.934Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:08:21.934Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:08:22.193Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:08:22.761Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:08:22.761Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:08:22.761Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:08:23.020Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:08:23.588Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:08:23.588Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:08:23.588Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:08:23.847Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:08:23.847Z] [ 68%] Built target csdk [2023-07-20T06:08:23.847Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:08:23.847Z] [ 72%] Linking C executable template [2023-07-20T06:08:24.107Z] [ 72%] Built target template [2023-07-20T06:08:24.107Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:08:24.107Z] [ 76%] Linking C executable device-counter [2023-07-20T06:08:24.107Z] [ 76%] Built target device-counter [2023-07-20T06:08:24.107Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:08:24.366Z] [ 80%] Linking C executable device-random [2023-07-20T06:08:24.367Z] [ 80%] Built target device-random [2023-07-20T06:08:24.367Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:08:24.367Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:08:24.626Z] [ 84%] Built target device-gyro [2023-07-20T06:08:24.626Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:08:24.626Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:08:24.626Z] [ 88%] Built target device-bitfields [2023-07-20T06:08:24.626Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:08:24.888Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:08:24.888Z] [ 92%] Built target template-discovery [2023-07-20T06:08:24.888Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:08:25.147Z] [ 96%] Linking C executable device-file [2023-07-20T06:08:25.147Z] [ 96%] Built target device-file [2023-07-20T06:08:25.147Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:08:25.407Z] [100%] Linking C executable device-terminal [2023-07-20T06:08:25.407Z] [100%] Built target device-terminal [2023-07-20T06:08:25.407Z] Run CPack packaging tool... [2023-07-20T06:08:25.407Z] CPack: Create package using TGZ [2023-07-20T06:08:25.407Z] CPack: Install projects [2023-07-20T06:08:25.407Z] CPack: - Run preinstall target for: Csdk [2023-07-20T06:08:25.666Z] CPack: - Install project: Csdk [] [2023-07-20T06:08:25.666Z] CPack: Create package [2023-07-20T06:08:25.666Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T06:08:25.666Z] + '[' false '=' true ] [2023-07-20T06:08:25.666Z] + '[' false '=' true ] [2023-07-20T06:08:25.666Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T06:08:25.666Z] + cd /tmp/sdk/build/debug [2023-07-20T06:08:25.666Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T06:08:25.666Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:08:25.666Z] -- Detecting C compiler ABI info [2023-07-20T06:08:25.923Z] -- Detecting C compiler ABI info - done [2023-07-20T06:08:25.923Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:08:25.923Z] -- Detecting C compile features [2023-07-20T06:08:25.923Z] -- Detecting C compile features - done [2023-07-20T06:08:25.923Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:08:25.923Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:08:25.923Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:08:25.923Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:08:25.923Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:08:25.923Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:08:25.923Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:08:25.923Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:08:25.923Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:08:25.923Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:08:25.923Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:08:25.923Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:08:25.923Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:08:25.923Z] -- Configuring done [2023-07-20T06:08:26.183Z] -- Generating done [2023-07-20T06:08:26.183Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T06:08:26.183Z] + make [2023-07-20T06:08:26.183Z] + tee debug.log [2023-07-20T06:08:26.183Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:08:26.183Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:08:26.183Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:08:26.442Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:08:26.442Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:08:26.442Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:08:26.702Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:08:26.702Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:08:26.702Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:08:26.960Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:08:26.960Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:08:27.218Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:08:27.218Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:08:27.218Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:08:27.218Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:08:27.477Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:08:27.477Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:08:27.735Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:08:27.735Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:08:27.735Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:08:27.735Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:08:27.994Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:08:28.253Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:08:28.253Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:08:28.253Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:08:28.253Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:08:28.511Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:08:28.772Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:08:28.772Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:08:28.772Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:08:29.030Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:08:29.030Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:08:29.030Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:08:29.288Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:08:29.288Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:08:29.288Z] [ 68%] Built target csdk [2023-07-20T06:08:29.288Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:08:29.547Z] [ 72%] Linking C executable template [2023-07-20T06:08:29.547Z] [ 72%] Built target template [2023-07-20T06:08:29.547Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:08:29.547Z] [ 76%] Linking C executable device-counter [2023-07-20T06:08:29.547Z] [ 76%] Built target device-counter [2023-07-20T06:08:29.547Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:08:29.806Z] [ 80%] Linking C executable device-random [2023-07-20T06:08:29.806Z] [ 80%] Built target device-random [2023-07-20T06:08:29.806Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:08:29.806Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:08:30.063Z] [ 84%] Built target device-gyro [2023-07-20T06:08:30.063Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:08:30.063Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:08:30.063Z] [ 88%] Built target device-bitfields [2023-07-20T06:08:30.063Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:08:30.063Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:08:30.322Z] [ 92%] Built target template-discovery [2023-07-20T06:08:30.322Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:08:30.322Z] [ 96%] Linking C executable device-file [2023-07-20T06:08:30.322Z] [ 96%] Built target device-file [2023-07-20T06:08:30.322Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:08:30.581Z] [100%] Linking C executable device-terminal [2023-07-20T06:08:30.581Z] [100%] Built target device-terminal [2023-07-20T06:08:30.581Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 68%] Built target csdk [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 72%] Built target template [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 76%] Built target device-counter [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 80%] Built target device-random [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 84%] Built target device-gyro [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 88%] Built target device-bitfields [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] [ 92%] Built target template-discovery [2023-07-20T06:08:30.581Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.581Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.885Z] [ 96%] Built target device-file [2023-07-20T06:08:30.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.885Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.885Z] [100%] Built target device-terminal [2023-07-20T06:08:30.885Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:30.885Z] Install the project... [2023-07-20T06:08:30.885Z] -- Install configuration: "Release" [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T06:08:30.886Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/devsdk [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T06:08:30.886Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T06:08:30.886Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:08:31.453Z] Removing intermediate container bacf8eb93e87 [2023-07-20T06:08:31.453Z] ---> 59400a8dd0c8 [2023-07-20T06:08:31.453Z] Step 14/21 : FROM ${BASE} [2023-07-20T06:08:31.453Z] ---> e83ffa357ff4 [2023-07-20T06:08:31.453Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T06:08:31.453Z] ---> Running in 9dd708d4557a [2023-07-20T06:08:31.453Z] Removing intermediate container 9dd708d4557a [2023-07-20T06:08:31.453Z] ---> 9f2f9939b271 [2023-07-20T06:08:31.453Z] 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-20T06:08:31.453Z] ---> Running in 5e5eb2807225 [2023-07-20T06:08:31.711Z] Connecting to iotech.jfrog.io (54.154.75.96:443) [2023-07-20T06:08:32.277Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:08:32.277Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:08:32.277Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:08:32.537Z] Removing intermediate container 5e5eb2807225 [2023-07-20T06:08:32.537Z] ---> 52aaa8887422 [2023-07-20T06:08:32.537Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:08:32.537Z] ---> Running in 729eff26a5bf [2023-07-20T06:08:33.106Z] Removing intermediate container 729eff26a5bf [2023-07-20T06:08:33.106Z] ---> 115548724887 [2023-07-20T06:08:33.106Z] 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-20T06:08:33.106Z] ---> Running in 7812c5f070a5 [2023-07-20T06:08:33.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:33.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:33.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:34.193Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:08:34.193Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T06:08:34.193Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T06:08:34.193Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:08:34.193Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T06:08:34.762Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T06:08:34.762Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T06:08:34.762Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:08:36.143Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:08:36.143Z] OK: 276 MiB in 83 packages [2023-07-20T06:08:36.420Z] Removing intermediate container 7812c5f070a5 [2023-07-20T06:08:36.420Z] ---> d77c5f0f5819 [2023-07-20T06:08:36.420Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T06:08:36.420Z] ---> d890c963f2b4 [2023-07-20T06:08:36.420Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T06:08:36.679Z] ---> be2a693e544e [2023-07-20T06:08:36.679Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T06:08:36.679Z] ---> 00280134215d [2023-07-20T06:08:36.679Z] Successfully built 00280134215d [2023-07-20T06:08:36.679Z] 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-20T06:08:37.096Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T06:08:37.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:08:37.185Z] prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container [2023-07-20T06:08:37.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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 ******** ci-base-image-x86_64 cat [2023-07-20T06:08:37.547Z] $ docker top 6c9b210c862fdcd121d615215a7f904fabfbc55a511bb34b6f3e8c19d6528f96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T06:08:37.898Z] + make test [2023-07-20T06:08:37.898Z] echo "make test" [2023-07-20T06:08:37.898Z] make test [Pipeline] } [2023-07-20T06:08:37.910Z] $ docker stop --time=1 6c9b210c862fdcd121d615215a7f904fabfbc55a511bb34b6f3e8c19d6528f96 [2023-07-20T06:08:39.185Z] $ docker rm -f --volumes 6c9b210c862fdcd121d615215a7f904fabfbc55a511bb34b6f3e8c19d6528f96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T06:08:39.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T06:08:40.065Z] + ls -al . [2023-07-20T06:08:40.065Z] total 212 [2023-07-20T06:08:40.065Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 06:07 . [2023-07-20T06:08:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:07 .. [2023-07-20T06:08:40.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:08 .git [2023-07-20T06:08:40.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:07 .github [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 06:07 .gitignore [2023-07-20T06:08:40.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 06:08 .semver [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 06:07 Attribution.txt [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 06:07 CHANGES [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 06:07 Doxyfile [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 06:07 GOVERNANCE.md [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 06:07 Jenkinsfile [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 06:07 LICENSE [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 06:07 Makefile [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 06:07 OWNERS.md [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 06:07 README.IOT.md [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 06:07 README.md [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 06:07 README.v3.md [2023-07-20T06:08:40.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:08 VERSION [2023-07-20T06:08:40.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:07 docs [2023-07-20T06:08:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:07 include [2023-07-20T06:08:40.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:07 scripts [2023-07-20T06:08:40.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:08:40.369Z] + 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=84937194d9ca422f070aa0d7d74f73bed9a4e6db --label arch=amd64 --label version=0.0.0 . [2023-07-20T06:08:40.370Z] Sending build context to Docker daemon 4.859MB [2023-07-20T06:08:40.370Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T06:08:40.370Z] Step 2/17 : FROM ${BASE} [2023-07-20T06:08:40.370Z] ---> 00280134215d [2023-07-20T06:08:40.370Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T06:08:40.370Z] ---> Running in 42883dbff21f [2023-07-20T06:08:40.629Z] Removing intermediate container 42883dbff21f [2023-07-20T06:08:40.629Z] ---> 73387f1c7660 [2023-07-20T06:08:40.629Z] 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-20T06:08:40.629Z] ---> Running in dca0b581c4b8 [2023-07-20T06:08:40.888Z] Connecting to iotech.jfrog.io (54.154.75.96:443) [2023-07-20T06:08:41.825Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:08:41.825Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:08:41.825Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:08:42.084Z] Removing intermediate container dca0b581c4b8 [2023-07-20T06:08:42.084Z] ---> 95f4c712f75b [2023-07-20T06:08:42.084Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:08:42.084Z] ---> Running in 0a0a2e158926 [2023-07-20T06:08:42.653Z] Removing intermediate container 0a0a2e158926 [2023-07-20T06:08:42.653Z] ---> bcb8f83f3e0f [2023-07-20T06:08:42.653Z] 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-20T06:08:42.653Z] ---> Running in 8f1d3a6d8f3e [2023-07-20T06:08:42.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:42.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:42.912Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:08:43.479Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:08:43.479Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:08:43.479Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:08:43.479Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:08:44.422Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:08:44.422Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:08:44.422Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:08:44.422Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T06:08:44.422Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T06:08:44.422Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T06:08:44.422Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T06:08:44.422Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T06:08:44.422Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:08:44.422Z] OK: 281 MiB in 92 packages [2023-07-20T06:08:44.991Z] Removing intermediate container 8f1d3a6d8f3e [2023-07-20T06:08:44.991Z] ---> da77c9c5e12b [2023-07-20T06:08:44.991Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T06:08:44.991Z] ---> 77589f69a28e [2023-07-20T06:08:44.991Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T06:08:45.250Z] ---> 8a1e026c02da [2023-07-20T06:08:45.250Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T06:08:45.250Z] ---> d088c67cc551 [2023-07-20T06:08:45.250Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T06:08:45.510Z] ---> 847579c46ad5 [2023-07-20T06:08:45.510Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T06:08:45.510Z] ---> fe5cd31df583 [2023-07-20T06:08:45.510Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T06:08:45.770Z] ---> 087eea6ad82c [2023-07-20T06:08:45.770Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T06:08:45.770Z] ---> Running in f90b8bc96aac [2023-07-20T06:08:45.770Z] Removing intermediate container f90b8bc96aac [2023-07-20T06:08:45.770Z] ---> a6bdded0e19f [2023-07-20T06:08:45.770Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T06:08:45.770Z] ---> Running in f52e0b078a30 [2023-07-20T06:08:45.770Z] Removing intermediate container f52e0b078a30 [2023-07-20T06:08:45.770Z] ---> 59b848507837 [2023-07-20T06:08:45.770Z] Step 15/17 : LABEL arch=amd64 [2023-07-20T06:08:45.770Z] ---> Running in b34f2d206836 [2023-07-20T06:08:46.030Z] Removing intermediate container b34f2d206836 [2023-07-20T06:08:46.030Z] ---> c8359c032d59 [2023-07-20T06:08:46.030Z] Step 16/17 : LABEL git_sha=84937194d9ca422f070aa0d7d74f73bed9a4e6db [2023-07-20T06:08:46.030Z] ---> Running in b4e0a2175ee5 [2023-07-20T06:08:46.030Z] Removing intermediate container b4e0a2175ee5 [2023-07-20T06:08:46.030Z] ---> 9c69404baedf [2023-07-20T06:08:46.030Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T06:08:46.030Z] ---> Running in 5ecfd58055fd [2023-07-20T06:08:46.030Z] Removing intermediate container 5ecfd58055fd [2023-07-20T06:08:46.030Z] ---> 377bb2183e85 [2023-07-20T06:08:46.030Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-20T06:08:46.030Z] Successfully built 377bb2183e85 [2023-07-20T06:08:46.030Z] 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-20T06:08:46.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:08:46.473Z] [2023-07-20T06:08:46.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:08:46.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:08:46.768Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-20T06:08:46.768Z] 5eb5b503b376: Pulling fs layer [2023-07-20T06:08:46.768Z] 5c69ac0246d0: Pulling fs layer [2023-07-20T06:08:46.768Z] ec43610c2a17: Pulling fs layer [2023-07-20T06:08:46.768Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-20T06:08:46.768Z] 33b1e0a273af: Pulling fs layer [2023-07-20T06:08:46.768Z] 5d3b04190fa2: Pulling fs layer [2023-07-20T06:08:46.768Z] 2f39f015ded8: Pulling fs layer [2023-07-20T06:08:46.768Z] 33b1e0a273af: Waiting [2023-07-20T06:08:46.768Z] 2f39f015ded8: Waiting [2023-07-20T06:08:46.768Z] 5d3b04190fa2: Waiting [2023-07-20T06:08:46.768Z] 3a2ae6a8a46f: Waiting [2023-07-20T06:08:46.768Z] 5c69ac0246d0: Download complete [2023-07-20T06:08:46.768Z] 3a2ae6a8a46f: Download complete [2023-07-20T06:08:46.768Z] 33b1e0a273af: Verifying Checksum [2023-07-20T06:08:46.768Z] 33b1e0a273af: Download complete [2023-07-20T06:08:46.768Z] 5d3b04190fa2: Download complete [2023-07-20T06:08:46.768Z] ec43610c2a17: Verifying Checksum [2023-07-20T06:08:46.768Z] ec43610c2a17: Download complete [2023-07-20T06:08:47.035Z] 5eb5b503b376: Verifying Checksum [2023-07-20T06:08:47.035Z] 5eb5b503b376: Download complete [2023-07-20T06:08:47.604Z] 2f39f015ded8: Download complete [2023-07-20T06:08:48.171Z] 5eb5b503b376: Pull complete [2023-07-20T06:08:48.441Z] 5c69ac0246d0: Pull complete [2023-07-20T06:08:48.700Z] ec43610c2a17: Pull complete [2023-07-20T06:08:48.700Z] 3a2ae6a8a46f: Pull complete [2023-07-20T06:08:48.959Z] 33b1e0a273af: Pull complete [2023-07-20T06:08:48.959Z] 5d3b04190fa2: Pull complete [2023-07-20T06:08:53.145Z] 2f39f015ded8: Pull complete [2023-07-20T06:08:53.145Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-20T06:08:53.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:08:53.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:08:53.217Z] prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container [2023-07-20T06:08:53.244Z] $ 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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-20T06:08:57.404Z] $ docker top 13cdf93d72b421a2f63c60b57720db48943be6058c9e1ed7a5ffb689873a3d59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:08:57.785Z] ---> job-cost.sh [2023-07-20T06:08:57.785Z] lf-activate-venv: SKIPPING [2023-07-20T06:08:57.785Z] INFO: No Stack... [2023-07-20T06:08:58.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T06:08:58.615Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T06:08:58.905Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/cost.csv [2023-07-20T06:08:58.905Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T06:08:58.918Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [2023-07-20T06:08:58.925Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] did not exist. Created. [2023-07-20T06:08:58.925Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T06:08:59.216Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-20T06:08:59.263Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T06:08:59.271Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T06:08:59.288Z] $ docker stop --time=1 13cdf93d72b421a2f63c60b57720db48943be6058c9e1ed7a5ffb689873a3d59 [2023-07-20T06:09:00.444Z] $ docker rm -f --volumes 13cdf93d72b421a2f63c60b57720db48943be6058c9e1ed7a5ffb689873a3d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-20T06:09:41.997Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1641 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [Pipeline] { [Pipeline] ws [2023-07-20T06:09:42.011Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-07-20T06:09:42.040Z] Selected Git installation does not exist. Using Default [2023-07-20T06:09:42.040Z] The recommended git tool is: NONE [2023-07-20T06:09:47.207Z] using credential edgex-jenkins-ssh [2023-07-20T06:09:47.225Z] Cloning the remote Git repository [2023-07-20T06:09:47.255Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:09:47.343Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-07-20T06:09:47.488Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:09:47.490Z] > git --version # timeout=10 [2023-07-20T06:09:47.510Z] > git --version # 'git version 2.25.1' [2023-07-20T06:09:47.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:09:47.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T06:09:48.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T06:09:48.828Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T06:09:50.274Z] Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 201cdc229872e37446283d80dd11e8c96fa0f918 [2023-07-20T06:09:50.753Z] Merge succeeded, producing 0408e488f6682414e6e95e88899f04cfe19c90d1 [2023-07-20T06:09:50.754Z] Checking out Revision 0408e488f6682414e6e95e88899f04cfe19c90d1 (PR-470) [2023-07-20T06:09:49.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T06:09:49.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:09:49.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:09:49.694Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-20T06:09:50.283Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T06:09:50.360Z] > git checkout -f 201cdc229872e37446283d80dd11e8c96fa0f918 # timeout=10 [2023-07-20T06:09:50.492Z] > git remote # timeout=10 [2023-07-20T06:09:50.514Z] > git config --get remote.origin.url # timeout=10 [2023-07-20T06:09:50.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:09:50.547Z] > git merge e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 [2023-07-20T06:09:50.702Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-20T06:09:50.752Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T06:09:50.767Z] > git checkout -f 0408e488f6682414e6e95e88899f04cfe19c90d1 # timeout=10 [2023-07-20T06:09:54.281Z] Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" [2023-07-20T06:09:54.304Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T06:09:55.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-20T06:09:55.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T06:09:55.170Z] Dload Upload Total Spent Left Speed [2023-07-20T06:09:55.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [2023-07-20T06:09:54.282Z] > git rev-list --no-walk deba6f272ef89fa88bf59594c46ddca1b3aedc11 # timeout=10 [Pipeline] sh [2023-07-20T06:09:55.859Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-20T06:09:56.179Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-20T06:09:56.179Z] + sudo tee /etc/docker/daemon.new [2023-07-20T06:09:56.179Z] { [2023-07-20T06:09:56.179Z] "registry-mirrors": [ [2023-07-20T06:09:56.179Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-20T06:09:56.179Z] ], [2023-07-20T06:09:56.179Z] "bip": "10.250.0.254/24", [2023-07-20T06:09:56.179Z] "hosts": [ [2023-07-20T06:09:56.179Z] "tcp://0.0.0.0:5555", [2023-07-20T06:09:56.179Z] "unix:///var/run/docker.sock" [2023-07-20T06:09:56.179Z] ], [2023-07-20T06:09:56.179Z] "mtu": 1458, [2023-07-20T06:09:56.179Z] "selinux-enabled": true, [2023-07-20T06:09:56.179Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-20T06:09:56.179Z] } [Pipeline] sh [2023-07-20T06:09:56.500Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-20T06:09:56.823Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T06:10:15.062Z] provisioning config files... [2023-07-20T06:10:15.086Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config11612646402270901213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:10:15.429Z] ---> docker-login.sh [2023-07-20T06:10:15.429Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:10:15.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:10:15.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:10:15.979Z] Configure a credential helper to remove this warning. See [2023-07-20T06:10:15.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:10:15.979Z] [2023-07-20T06:10:15.979Z] Login Succeeded [2023-07-20T06:10:15.979Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:10:16.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:10:16.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:10:16.249Z] Configure a credential helper to remove this warning. See [2023-07-20T06:10:16.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:10:16.249Z] [2023-07-20T06:10:16.249Z] Login Succeeded [2023-07-20T06:10:16.249Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:10:16.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:10:16.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:10:16.802Z] Configure a credential helper to remove this warning. See [2023-07-20T06:10:16.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:10:16.802Z] [2023-07-20T06:10:16.802Z] Login Succeeded [2023-07-20T06:10:16.802Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:10:17.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:10:17.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:10:17.073Z] Configure a credential helper to remove this warning. See [2023-07-20T06:10:17.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:10:17.073Z] [2023-07-20T06:10:17.073Z] Login Succeeded [2023-07-20T06:10:17.073Z] docker.io [2023-07-20T06:10:17.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:10:17.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:10:17.608Z] Configure a credential helper to remove this warning. See [2023-07-20T06:10:17.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:10:17.608Z] [2023-07-20T06:10:17.608Z] Login Succeeded [2023-07-20T06:10:17.608Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:10:17.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T06:10:17.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:10:17.873Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-20T06:10:17.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:10:17.897Z] ========================================================= [2023-07-20T06:10:17.897Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-20T06:10:17.897Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:10:18.235Z] + 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-20T06:10:18.505Z] Sending build context to Docker daemon 2.916MB [2023-07-20T06:10:18.505Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T06:10:18.505Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T06:10:19.914Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-20T06:10:19.914Z] 547446be3368: Pulling fs layer [2023-07-20T06:10:19.914Z] 76bd08e1cacc: Pulling fs layer [2023-07-20T06:10:19.914Z] 547446be3368: Download complete [2023-07-20T06:10:20.503Z] 547446be3368: Pull complete [2023-07-20T06:10:21.928Z] 76bd08e1cacc: Verifying Checksum [2023-07-20T06:10:21.928Z] 76bd08e1cacc: Download complete [2023-07-20T06:10:30.149Z] 76bd08e1cacc: Pull complete [2023-07-20T06:10:30.149Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-20T06:10:30.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-20T06:10:30.149Z] ---> 295cd00e64f4 [2023-07-20T06:10:30.149Z] 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-20T06:10:30.739Z] ---> Running in a0bbb3acd1be [2023-07-20T06:10:31.702Z] Connecting to iotech.jfrog.io (52.30.91.146:443) [2023-07-20T06:10:32.284Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:10:32.284Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:10:32.284Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:10:33.698Z] Removing intermediate container a0bbb3acd1be [2023-07-20T06:10:33.698Z] ---> 5de7f494d160 [2023-07-20T06:10:33.698Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:10:33.698Z] ---> Running in 395219365ba2 [2023-07-20T06:10:35.116Z] Removing intermediate container 395219365ba2 [2023-07-20T06:10:35.116Z] ---> 9f73817589c8 [2023-07-20T06:10:35.116Z] 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-20T06:10:35.116Z] ---> Running in 14e85870dd50 [2023-07-20T06:10:36.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:10:36.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T06:10:36.926Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:10:37.883Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:10:37.883Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:10:37.883Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:10:37.883Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T06:10:37.883Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:10:37.883Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:10:38.465Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:10:38.730Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T06:10:38.730Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:10:38.730Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:10:38.730Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:10:39.687Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T06:10:39.687Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T06:10:39.687Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T06:10:39.687Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T06:10:39.687Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T06:10:39.687Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T06:10:39.687Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:10:39.687Z] OK: 286 MiB in 90 packages [2023-07-20T06:10:41.095Z] Removing intermediate container 14e85870dd50 [2023-07-20T06:10:41.095Z] ---> c6aa8eafab2c [2023-07-20T06:10:41.095Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T06:10:41.095Z] ---> Running in 6b013473ca6c [2023-07-20T06:10:42.511Z] Removing intermediate container 6b013473ca6c [2023-07-20T06:10:42.511Z] ---> 82cb91b10b6f [2023-07-20T06:10:42.511Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T06:10:43.096Z] ---> 38b7d6d7dc27 [2023-07-20T06:10:43.096Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T06:10:46.437Z] ---> 02d4de72faa4 [2023-07-20T06:10:46.437Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T06:10:46.437Z] ---> 1f0e106d4826 [2023-07-20T06:10:46.437Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T06:10:46.705Z] ---> bdc81e76f84f [2023-07-20T06:10:46.705Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T06:10:47.290Z] ---> 40f931e7d274 [2023-07-20T06:10:47.290Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T06:10:47.877Z] ---> 0b12abb49e29 [2023-07-20T06:10:47.878Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T06:10:47.878Z] ---> Running in 79eeb3b87298 [2023-07-20T06:10:48.839Z] + CPPCHECK=false [2023-07-20T06:10:48.839Z] + DOCGEN=false [2023-07-20T06:10:48.839Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T06:10:48.839Z] + '[' 0 -gt 0 ] [2023-07-20T06:10:48.839Z] + readlink -f ./scripts/build.sh [2023-07-20T06:10:48.839Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T06:10:48.839Z] + dirname /tmp/sdk/scripts [2023-07-20T06:10:48.839Z] + ROOT=/tmp/sdk [2023-07-20T06:10:48.839Z] + cd /tmp/sdk [2023-07-20T06:10:48.839Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T06:10:48.839Z] + cd /tmp/sdk/build/release [2023-07-20T06:10:48.839Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T06:10:49.106Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:10:49.106Z] -- Detecting C compiler ABI info [2023-07-20T06:10:49.372Z] -- Detecting C compiler ABI info - done [2023-07-20T06:10:49.639Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:10:49.639Z] -- Detecting C compile features [2023-07-20T06:10:49.639Z] -- Detecting C compile features - done [2023-07-20T06:10:49.639Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:10:49.639Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:10:49.639Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:10:49.639Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:10:49.906Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:10:49.906Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:10:49.906Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:10:49.906Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:10:49.906Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:10:49.906Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:10:49.906Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:10:50.174Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:10:50.174Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:10:50.442Z] -- Configuring done [2023-07-20T06:10:50.711Z] -- Generating done [2023-07-20T06:10:50.711Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T06:10:50.711Z] + make all package [2023-07-20T06:10:50.711Z] + tee release.log [2023-07-20T06:10:50.976Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:10:51.932Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:10:52.899Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:10:53.481Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:10:54.439Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:10:55.021Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:10:57.595Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:10:58.554Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:10:58.555Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:10:59.962Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:11:01.903Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:11:02.485Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:11:03.443Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:11:04.398Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:11:04.982Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:11:05.936Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:11:06.202Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:11:08.773Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:11:08.773Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:11:09.729Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:11:11.136Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:11:16.471Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:11:16.738Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:11:17.328Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:11:17.914Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:11:18.183Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:11:20.117Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:11:22.690Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:11:22.690Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:11:24.094Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:11:24.676Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:11:28.012Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:11:28.593Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:11:29.172Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:11:29.753Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:11:29.753Z] [ 68%] Built target csdk [2023-07-20T06:11:30.019Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:11:30.971Z] [ 72%] Linking C executable template [2023-07-20T06:11:31.236Z] [ 72%] Built target template [2023-07-20T06:11:31.236Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:11:31.818Z] [ 76%] Linking C executable device-counter [2023-07-20T06:11:32.085Z] [ 76%] Built target device-counter [2023-07-20T06:11:32.085Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:11:32.667Z] [ 80%] Linking C executable device-random [2023-07-20T06:11:32.935Z] [ 80%] Built target device-random [2023-07-20T06:11:32.935Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:11:33.516Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:11:33.783Z] [ 84%] Built target device-gyro [2023-07-20T06:11:33.783Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:11:34.362Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:11:34.629Z] [ 88%] Built target device-bitfields [2023-07-20T06:11:34.629Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:11:35.585Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:11:35.849Z] [ 92%] Built target template-discovery [2023-07-20T06:11:36.114Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:11:36.696Z] [ 96%] Linking C executable device-file [2023-07-20T06:11:36.964Z] [ 96%] Built target device-file [2023-07-20T06:11:37.232Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:11:37.816Z] [100%] Linking C executable device-terminal [2023-07-20T06:11:38.082Z] [100%] Built target device-terminal [2023-07-20T06:11:40.923Z] Run CPack packaging tool... [2023-07-20T06:11:40.923Z] CPack: Create package using TGZ [2023-07-20T06:11:40.923Z] CPack: Install projects [2023-07-20T06:11:40.923Z] CPack: - Run preinstall target for: Csdk [2023-07-20T06:11:41.507Z] CPack: - Install project: Csdk [] [2023-07-20T06:11:41.507Z] CPack: Create package [2023-07-20T06:11:41.507Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T06:11:41.507Z] + '[' false '=' true ] [2023-07-20T06:11:41.507Z] + '[' false '=' true ] [2023-07-20T06:11:41.507Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T06:11:41.507Z] + cd /tmp/sdk/build/debug [2023-07-20T06:11:41.507Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T06:11:41.773Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:11:42.039Z] -- Detecting C compiler ABI info [2023-07-20T06:11:42.307Z] -- Detecting C compiler ABI info - done [2023-07-20T06:11:42.307Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:11:42.307Z] -- Detecting C compile features [2023-07-20T06:11:42.307Z] -- Detecting C compile features - done [2023-07-20T06:11:42.307Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:11:42.575Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:11:42.575Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:11:42.575Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:11:42.575Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:11:42.575Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:11:42.575Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:11:42.575Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:11:42.575Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:11:42.575Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:11:42.575Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:11:42.843Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:11:43.110Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:11:43.110Z] -- Configuring done [2023-07-20T06:11:43.378Z] -- Generating done [2023-07-20T06:11:43.378Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T06:11:43.378Z] + + make [2023-07-20T06:11:43.378Z] tee debug.log [2023-07-20T06:11:43.643Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:11:43.910Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:11:44.489Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:11:44.756Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:11:45.335Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:11:45.602Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:11:46.558Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:11:46.823Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:11:47.088Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:11:47.669Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:11:48.250Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:11:48.831Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:11:49.096Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:11:49.676Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:11:49.940Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:11:50.205Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:11:50.471Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:11:51.427Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:11:51.692Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:11:51.958Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:11:52.540Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:11:53.944Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:11:54.210Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:11:54.476Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:11:54.741Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:11:55.007Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:11:55.587Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:11:57.530Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:11:57.530Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:11:58.114Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:11:58.381Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:11:59.441Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:12:00.041Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:12:00.318Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:12:00.593Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:12:00.878Z] [ 68%] Built target csdk [2023-07-20T06:12:00.878Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:12:01.476Z] [ 72%] Linking C executable template [2023-07-20T06:12:01.476Z] [ 72%] Built target template [2023-07-20T06:12:01.747Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:12:02.018Z] [ 76%] Linking C executable device-counter [2023-07-20T06:12:02.290Z] [ 76%] Built target device-counter [2023-07-20T06:12:02.290Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:12:02.562Z] [ 80%] Linking C executable device-random [2023-07-20T06:12:02.831Z] [ 80%] Built target device-random [2023-07-20T06:12:02.831Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:12:03.414Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:12:03.414Z] [ 84%] Built target device-gyro [2023-07-20T06:12:03.682Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:12:03.949Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:12:04.214Z] [ 88%] Built target device-bitfields [2023-07-20T06:12:04.214Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:12:04.794Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:12:04.794Z] [ 92%] Built target template-discovery [2023-07-20T06:12:05.060Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:12:05.328Z] [ 96%] Linking C executable device-file [2023-07-20T06:12:05.594Z] [ 96%] Built target device-file [2023-07-20T06:12:05.594Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:12:06.175Z] [100%] Linking C executable device-terminal [2023-07-20T06:12:06.440Z] [100%] Built target device-terminal [2023-07-20T06:12:07.839Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 68%] Built target csdk [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 72%] Built target template [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 76%] Built target device-counter [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 80%] Built target device-random [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 84%] Built target device-gyro [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:07.840Z] [ 88%] Built target device-bitfields [2023-07-20T06:12:07.840Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] [ 92%] Built target template-discovery [2023-07-20T06:12:08.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] [ 96%] Built target device-file [2023-07-20T06:12:08.106Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] [100%] Built target device-terminal [2023-07-20T06:12:08.106Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:08.106Z] Install the project... [2023-07-20T06:12:08.106Z] -- Install configuration: "Release" [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T06:12:08.106Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/devsdk [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T06:12:08.106Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T06:12:08.106Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:12:09.525Z] Removing intermediate container 79eeb3b87298 [2023-07-20T06:12:09.525Z] ---> ff3d0812a55d [2023-07-20T06:12:09.525Z] Step 14/21 : FROM ${BASE} [2023-07-20T06:12:09.525Z] ---> 295cd00e64f4 [2023-07-20T06:12:09.525Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T06:12:09.525Z] ---> Running in 35c04e901e4a [2023-07-20T06:12:09.791Z] Removing intermediate container 35c04e901e4a [2023-07-20T06:12:09.791Z] ---> 6463d4539914 [2023-07-20T06:12:09.791Z] 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-20T06:12:09.791Z] ---> Running in e5beb399b097 [2023-07-20T06:12:10.751Z] Connecting to iotech.jfrog.io (52.18.203.85:443) [2023-07-20T06:12:11.329Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:12:11.329Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:12:11.329Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:12:11.913Z] Removing intermediate container e5beb399b097 [2023-07-20T06:12:11.913Z] ---> 19631fca2f66 [2023-07-20T06:12:11.913Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:12:11.913Z] ---> Running in 4e5b4c1786d3 [2023-07-20T06:12:13.319Z] Removing intermediate container 4e5b4c1786d3 [2023-07-20T06:12:13.319Z] ---> 729e99172bda [2023-07-20T06:12:13.319Z] 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-20T06:12:13.592Z] ---> Running in e122bef9308b [2023-07-20T06:12:14.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:14.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:15.391Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:15.970Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:12:15.970Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T06:12:15.970Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T06:12:15.970Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:12:15.970Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T06:12:16.919Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T06:12:16.919Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T06:12:16.919Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:12:17.502Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:12:17.502Z] OK: 281 MiB in 83 packages [2023-07-20T06:12:18.466Z] Removing intermediate container e122bef9308b [2023-07-20T06:12:18.466Z] ---> 4077e3a156f2 [2023-07-20T06:12:18.466Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T06:12:21.797Z] ---> 7d0ffb180bde [2023-07-20T06:12:21.797Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T06:12:22.381Z] ---> e392578956c1 [2023-07-20T06:12:22.381Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T06:12:22.647Z] ---> 408186ebf6d1 [2023-07-20T06:12:22.647Z] Successfully built 408186ebf6d1 [2023-07-20T06:12:22.912Z] 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-20T06:12:23.332Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T06:12:23.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:12:23.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container [2023-07-20T06:12:23.594Z] $ 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-20T06:12:24.738Z] $ docker top 47fd9f9bfd043b2a0c1721bd45cbf69cf6bd1c0229b71c52413dc679fb3275dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T06:12:25.536Z] + make test [2023-07-20T06:12:25.536Z] echo "make test" [2023-07-20T06:12:25.536Z] make test [Pipeline] } [2023-07-20T06:12:25.564Z] $ docker stop --time=1 47fd9f9bfd043b2a0c1721bd45cbf69cf6bd1c0229b71c52413dc679fb3275dc [2023-07-20T06:12:27.217Z] $ docker rm -f --volumes 47fd9f9bfd043b2a0c1721bd45cbf69cf6bd1c0229b71c52413dc679fb3275dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T06:12:27.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T06:12:28.041Z] + ls -al . [2023-07-20T06:12:28.041Z] total 208 [2023-07-20T06:12:28.041Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:09 . [2023-07-20T06:12:28.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:09 .. [2023-07-20T06:12:28.041Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:09 .git [2023-07-20T06:12:28.041Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:09 .github [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 06:09 .gitignore [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 06:09 Attribution.txt [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 06:09 CHANGES [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 06:09 Doxyfile [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 06:09 GOVERNANCE.md [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 06:09 Jenkinsfile [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 06:09 LICENSE [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 06:09 Makefile [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 06:09 OWNERS.md [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 06:09 README.IOT.md [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 06:09 README.md [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 06:09 README.v3.md [2023-07-20T06:12:28.041Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:08 VERSION [2023-07-20T06:12:28.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:09 docs [2023-07-20T06:12:28.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:09 include [2023-07-20T06:12:28.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:09 scripts [2023-07-20T06:12:28.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:09 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:12:28.370Z] + 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=0408e488f6682414e6e95e88899f04cfe19c90d1 --label arch=arm64 --label version=0.0.0 . [2023-07-20T06:12:28.637Z] Sending build context to Docker daemon 2.916MB [2023-07-20T06:12:28.637Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T06:12:28.637Z] Step 2/17 : FROM ${BASE} [2023-07-20T06:12:28.637Z] ---> 408186ebf6d1 [2023-07-20T06:12:28.637Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T06:12:28.903Z] ---> Running in 17fbc126e815 [2023-07-20T06:12:29.169Z] Removing intermediate container 17fbc126e815 [2023-07-20T06:12:29.169Z] ---> e0247a825009 [2023-07-20T06:12:29.169Z] 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-20T06:12:29.169Z] ---> Running in d72ed50e14c7 [2023-07-20T06:12:30.127Z] Connecting to iotech.jfrog.io (52.30.91.146:443) [2023-07-20T06:12:30.716Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:12:30.716Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:12:30.716Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:12:31.297Z] Removing intermediate container d72ed50e14c7 [2023-07-20T06:12:31.298Z] ---> 4a34ed039c3c [2023-07-20T06:12:31.298Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:12:31.298Z] ---> Running in ae29c170fa30 [2023-07-20T06:12:32.713Z] Removing intermediate container ae29c170fa30 [2023-07-20T06:12:32.713Z] ---> 45f5c8de6975 [2023-07-20T06:12:32.713Z] 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-20T06:12:32.713Z] ---> Running in c36beeab967d [2023-07-20T06:12:33.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:33.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:34.517Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:12:35.476Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:12:35.476Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:12:35.476Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:12:35.476Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:12:36.055Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:12:36.320Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:12:36.320Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:12:36.320Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T06:12:36.320Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T06:12:36.320Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T06:12:36.320Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T06:12:36.320Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T06:12:36.586Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:12:36.586Z] OK: 287 MiB in 92 packages [2023-07-20T06:12:37.545Z] Removing intermediate container c36beeab967d [2023-07-20T06:12:37.545Z] ---> 95e0acb1fc1a [2023-07-20T06:12:37.545Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T06:12:38.127Z] ---> b5c1026b19cd [2023-07-20T06:12:38.127Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T06:12:39.091Z] ---> 004a8044f25b [2023-07-20T06:12:39.091Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T06:12:39.361Z] ---> 36412ff87b26 [2023-07-20T06:12:39.361Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T06:12:39.943Z] ---> 9aff48e1afd6 [2023-07-20T06:12:39.943Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T06:12:40.209Z] ---> d82226bbc220 [2023-07-20T06:12:40.209Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T06:12:40.790Z] ---> 19f983e90a10 [2023-07-20T06:12:40.790Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T06:12:40.790Z] ---> Running in c128f768548c [2023-07-20T06:12:41.057Z] Removing intermediate container c128f768548c [2023-07-20T06:12:41.057Z] ---> 69c230da061b [2023-07-20T06:12:41.057Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T06:12:41.057Z] ---> Running in 36b586295f02 [2023-07-20T06:12:41.324Z] Removing intermediate container 36b586295f02 [2023-07-20T06:12:41.324Z] ---> e28164c5c347 [2023-07-20T06:12:41.324Z] Step 15/17 : LABEL arch=arm64 [2023-07-20T06:12:41.595Z] ---> Running in b1912720bf1c [2023-07-20T06:12:41.862Z] Removing intermediate container b1912720bf1c [2023-07-20T06:12:41.862Z] ---> d02dfd8bd59c [2023-07-20T06:12:41.862Z] Step 16/17 : LABEL git_sha=0408e488f6682414e6e95e88899f04cfe19c90d1 [2023-07-20T06:12:41.862Z] ---> Running in 65427457a9f5 [2023-07-20T06:12:42.130Z] Removing intermediate container 65427457a9f5 [2023-07-20T06:12:42.130Z] ---> b09f8a5256e2 [2023-07-20T06:12:42.130Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T06:12:42.130Z] ---> Running in 2b87d1c01e62 [2023-07-20T06:12:42.397Z] Removing intermediate container 2b87d1c01e62 [2023-07-20T06:12:42.397Z] ---> 44336fda051a [2023-07-20T06:12:42.397Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-20T06:12:42.662Z] Successfully built 44336fda051a [2023-07-20T06:12:42.662Z] 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-20T06:12:43.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T06:12:43.087Z] [2023-07-20T06:12:43.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:12:43.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T06:12:43.678Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-20T06:12:43.679Z] 8998bd30e6a1: Pulling fs layer [2023-07-20T06:12:43.679Z] 04944245beec: Pulling fs layer [2023-07-20T06:12:43.679Z] 699f458cf7ca: Pulling fs layer [2023-07-20T06:12:43.679Z] 765212b225bb: Pulling fs layer [2023-07-20T06:12:43.679Z] f23df028b6ca: Pulling fs layer [2023-07-20T06:12:43.679Z] d65c8cfc05b1: Pulling fs layer [2023-07-20T06:12:43.679Z] 2437ff75d9bd: Pulling fs layer [2023-07-20T06:12:43.679Z] f23df028b6ca: Waiting [2023-07-20T06:12:43.679Z] d65c8cfc05b1: Waiting [2023-07-20T06:12:43.679Z] 2437ff75d9bd: Waiting [2023-07-20T06:12:43.679Z] 04944245beec: Verifying Checksum [2023-07-20T06:12:43.679Z] 04944245beec: Download complete [2023-07-20T06:12:43.679Z] 765212b225bb: Verifying Checksum [2023-07-20T06:12:43.679Z] 765212b225bb: Download complete [2023-07-20T06:12:43.679Z] f23df028b6ca: Verifying Checksum [2023-07-20T06:12:43.679Z] f23df028b6ca: Download complete [2023-07-20T06:12:43.679Z] d65c8cfc05b1: Verifying Checksum [2023-07-20T06:12:43.679Z] d65c8cfc05b1: Download complete [2023-07-20T06:12:43.945Z] 699f458cf7ca: Verifying Checksum [2023-07-20T06:12:43.945Z] 699f458cf7ca: Download complete [2023-07-20T06:12:44.212Z] 8998bd30e6a1: Verifying Checksum [2023-07-20T06:12:44.212Z] 8998bd30e6a1: Download complete [2023-07-20T06:12:46.797Z] 2437ff75d9bd: Verifying Checksum [2023-07-20T06:12:46.797Z] 2437ff75d9bd: Download complete [2023-07-20T06:12:48.199Z] 8998bd30e6a1: Pull complete [2023-07-20T06:12:49.600Z] 04944245beec: Pull complete [2023-07-20T06:12:51.002Z] 699f458cf7ca: Pull complete [2023-07-20T06:12:51.002Z] 765212b225bb: Pull complete [2023-07-20T06:12:51.960Z] f23df028b6ca: Pull complete [2023-07-20T06:12:51.960Z] d65c8cfc05b1: Pull complete [2023-07-20T06:13:06.955Z] 2437ff75d9bd: Pull complete [2023-07-20T06:13:06.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-20T06:13:06.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T06:13:06.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:13:07.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container [2023-07-20T06:13:07.201Z] $ 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-20T06:13:09.559Z] $ docker top 45bc667bf344ff7ea47abbb72e51952c389c96704740045f810e5b244c16d153 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:10.348Z] ---> job-cost.sh [2023-07-20T06:13:10.349Z] lf-activate-venv: SKIPPING [2023-07-20T06:13:10.349Z] INFO: No Stack... [2023-07-20T06:13:10.612Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-20T06:13:11.565Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T06:13:11.882Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-07-20T06:13:11.882Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T06:13:11.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [2023-07-20T06:13:11.957Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] did not exist. Created. [2023-07-20T06:13:11.958Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T06:13:12.287Z] /w/workspace/device-sdk-c/2@tmp/durable-a231cf00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-20T06:13:12.615Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-20T06:13:12.634Z] Warning: overwriting stash ‘stack-cost’ [2023-07-20T06:13:13.045Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T06:13:13.087Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T06:13:13.116Z] $ docker stop --time=1 45bc667bf344ff7ea47abbb72e51952c389c96704740045f810e5b244c16d153 [2023-07-20T06:13:14.589Z] $ docker rm -f --volumes 45bc667bf344ff7ea47abbb72e51952c389c96704740045f810e5b244c16d153 [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-20T06:13:15.367Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives ] [2023-07-20T06:13:15.367Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T06:13:15.367Z] total 16 [2023-07-20T06:13:15.367Z] drwxr-xr-x 3 root root 4096 Jul 20 06:08 . [2023-07-20T06:13:15.367Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 06:08 .. [2023-07-20T06:13:15.367Z] drwxr-xr-x 2 root root 4096 Jul 20 06:08 cost [2023-07-20T06:13:15.368Z] -rw-r--r-- 1 root root 84 Jul 20 06:08 cost.csv [2023-07-20T06:13:15.368Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T06:13:15.368Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T06:13:15.368Z] total 16 [2023-07-20T06:13:15.368Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 06:08 . [2023-07-20T06:13:15.368Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 06:08 .. [2023-07-20T06:13:15.368Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 06:08 cost [2023-07-20T06:13:15.368Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 20 06:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:15.661Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:16.525Z] ---> package-listing.sh [2023-07-20T06:13:16.525Z] ++ facter osfamily [2023-07-20T06:13:16.525Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-20T06:13:16.785Z] + OS_FAMILY=debian [2023-07-20T06:13:16.785Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-470 [2023-07-20T06:13:16.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-20T06:13:16.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-20T06:13:16.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-20T06:13:16.785Z] + PACKAGES=/tmp/packages_start.txt [2023-07-20T06:13:16.785Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-20T06:13:16.785Z] + PACKAGES=/tmp/packages_end.txt [2023-07-20T06:13:16.785Z] + case "${OS_FAMILY}" in [2023-07-20T06:13:16.785Z] + dpkg -l [2023-07-20T06:13:16.785Z] + grep '^ii' [2023-07-20T06:13:16.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-20T06:13:16.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-20T06:13:16.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-20T06:13:16.785Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-20T06:13:16.785Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [2023-07-20T06:13:16.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [Pipeline] echo [2023-07-20T06:13:16.795Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-20T06:13:17.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:13:17.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:13:17.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:13:17.703Z] prd-ubuntu20.04-docker-8c-8g-1640 does not seem to be running inside a container [2023-07-20T06:13:17.730Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-470/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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T06:13:17.942Z] $ docker top 70b9b753fc7a5ce27dfb5542b3d5979d6ea3825cb22b5690b8c8895da72aef68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T06:13:18.275Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-20T06:13:18.556Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-20T06:13:18.839Z] + ls /var/log/sa-host [2023-07-20T06:13:18.839Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T06:13:19.006Z] provisioning config files... [2023-07-20T06:13:19.014Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config10226439186723976446tmp [Pipeline] { [Pipeline] echo [2023-07-20T06:13:19.027Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:19.307Z] ---> create-netrc.sh [Pipeline] } [2023-07-20T06:13:19.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:19.646Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-20T06:13:19.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:19.938Z] ---> sudo-logs.sh [2023-07-20T06:13:19.938Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-20T06:13:19.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:20.244Z] ---> job-cost.sh [2023-07-20T06:13:20.244Z] lf-activate-venv: SKIPPING [2023-07-20T06:13:20.244Z] DEBUG: total: 0.2199999988079071 [2023-07-20T06:13:20.244Z] INFO: Retrieving Stack Cost... [2023-07-20T06:13:20.502Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T06:13:20.761Z] INFO: Archiving Costs [Pipeline] echo [2023-07-20T06:13:20.769Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:13:21.047Z] ---> logs-deploy.sh [2023-07-20T06:13:21.047Z] lf-activate-venv: SKIPPING [2023-07-20T06:13:21.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-470/2 [2023-07-20T06:13:21.047Z] INFO: archiving workspace using pattern(s): [2023-07-20T06:13:21.982Z] Archives upload complete. [2023-07-20T06:13:21.982Z] INFO: archiving logs to Nexus