Pull request #457 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 40dfb381f72cef7a0fa08e6432f34052f53b2ee7+31953d2017fd3e9016dfece535bce38e006976ba (1ce4f64cfaea37a772061928b1fd152b37704a3b) 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-ssh11040876483298629190.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1910017356426987964.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17688958230813301230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12375331088106882890.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh322787534816563409.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9822959838417907540.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-16732 in /w/workspace/edgexfoundry_device-sdk-c_PR-457 [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-457 # 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 31953d2017fd3e9016dfece535bce38e006976ba into PR head commit 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 Merge succeeded, producing 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 Checking out Revision 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 (PR-457) > git config core.sparsecheckout # timeout=10 > git checkout -f 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 # 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 31953d2017fd3e9016dfece535bce38e006976ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 # timeout=10 Commit message: "docs: update changelog and version number for Minnesota" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T17:32:49.371Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T17:32:49.554Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T17:32:49.673Z] ========================================================= [2023-05-24T17:32:49.673Z] EdgeX Global Pipelines Version Info [2023-05-24T17:32:49.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:32:50.432Z] ------------------- [2023-05-24T17:32:50.432Z] stable info: [2023-05-24T17:32:50.432Z] ------------------- [2023-05-24T17:32:50.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T17:32:50.432Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T17:32:50.432Z] Message: update stable to v1.0.249 [2023-05-24T17:32:51.005Z] ------------------- [2023-05-24T17:32:51.005Z] experimental info: [2023-05-24T17:32:51.005Z] ------------------- [2023-05-24T17:32:51.005Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T17:32:51.005Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T17:32:51.005Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T17:32:51.308Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-24T17:32:51.353Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-24T17:32:51.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T17:32:51.451Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T17:32:51.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T17:32:51.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-24T17:32:51.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-24T17:32:51.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T17:32:51.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T17:32:51.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-24T17:32:51.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T17:32:51.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T17:32:51.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T17:32:51.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T17:32:51.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T17:32:51.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T17:32:52.004Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T17:32:52.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo [2023-05-24T17:32:52.090Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo [2023-05-24T17:32:52.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo [2023-05-24T17:32:52.172Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [Pipeline] echo [2023-05-24T17:32:52.212Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40dfb38 [Pipeline] echo [2023-05-24T17:32:52.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T17:32:52.362Z] provisioning config files... [2023-05-24T17:32:52.376Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/config7561388928717637170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:32:52.721Z] ---> docker-login.sh [2023-05-24T17:32:52.721Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:32:52.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:32:52.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:32:52.981Z] Configure a credential helper to remove this warning. See [2023-05-24T17:32:52.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:32:52.981Z] [2023-05-24T17:32:52.981Z] Login Succeeded [2023-05-24T17:32:52.981Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:32:52.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:32:53.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:32:53.241Z] Configure a credential helper to remove this warning. See [2023-05-24T17:32:53.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:32:53.241Z] [2023-05-24T17:32:53.241Z] Login Succeeded [2023-05-24T17:32:53.241Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:32:53.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:32:53.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:32:53.241Z] Configure a credential helper to remove this warning. See [2023-05-24T17:32:53.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:32:53.241Z] [2023-05-24T17:32:53.241Z] Login Succeeded [2023-05-24T17:32:53.241Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:32:53.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:32:53.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:32:53.241Z] Configure a credential helper to remove this warning. See [2023-05-24T17:32:53.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:32:53.241Z] [2023-05-24T17:32:53.241Z] Login Succeeded [2023-05-24T17:32:53.241Z] docker.io [2023-05-24T17:32:53.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:32:53.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:32:53.502Z] Configure a credential helper to remove this warning. See [2023-05-24T17:32:53.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:32:53.502Z] [2023-05-24T17:32:53.502Z] Login Succeeded [2023-05-24T17:32:53.502Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:32:53.532Z] 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-05-24T17:32:54.153Z] + git rev-list -1 --merges 40dfb381f72cef7a0fa08e6432f34052f53b2ee7~1..40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [Pipeline] echo [2023-05-24T17:32:54.219Z] -----------> git rev-list -1 --merges 40dfb381f72cef7a0fa08e6432f34052f53b2ee7~1..40dfb381f72cef7a0fa08e6432f34052f53b2ee7 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [false] [Pipeline] sh [2023-05-24T17:32:54.539Z] + git log --format=format:%s -1 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [Pipeline] echo [2023-05-24T17:32:54.574Z] ========================================================= [2023-05-24T17:32:54.574Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T17:32:54.574Z] ========================================================= 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-05-24T17:32:55.489Z] + git rev-list -1 --merges 40dfb381f72cef7a0fa08e6432f34052f53b2ee7~1..40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [Pipeline] echo [2023-05-24T17:32:55.527Z] -----------> git rev-list -1 --merges 40dfb381f72cef7a0fa08e6432f34052f53b2ee7~1..40dfb381f72cef7a0fa08e6432f34052f53b2ee7 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [false] [Pipeline] sh [2023-05-24T17:32:55.853Z] + git log --format=format:%s -1 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [Pipeline] echo [2023-05-24T17:32:55.891Z] ========================================================= [2023-05-24T17:32:55.891Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T17:32:55.891Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-24T17:32:56.421Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T17:32:56.421Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T17:32:56.421Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T17:32:56.421Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T17:32:56.421Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T17:32:56.421Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T17:32:56.421Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:32:56.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:32:56.842Z] [2023-05-24T17:32:56.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:32:57.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:32:57.207Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T17:32:57.207Z] b85a868b505f: Pulling fs layer [2023-05-24T17:32:57.207Z] e2be974225ed: Pulling fs layer [2023-05-24T17:32:57.207Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T17:32:57.207Z] 988bab9f4d93: Pulling fs layer [2023-05-24T17:32:57.207Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T17:32:57.207Z] eaf3925da568: Pulling fs layer [2023-05-24T17:32:57.207Z] bab4dde63d76: Pulling fs layer [2023-05-24T17:32:57.207Z] bde34c3a00c8: Pulling fs layer [2023-05-24T17:32:57.207Z] b352a97aabf1: Pulling fs layer [2023-05-24T17:32:57.207Z] 4872d77fe225: Pulling fs layer [2023-05-24T17:32:57.207Z] 5851b861e8e6: Pulling fs layer [2023-05-24T17:32:57.207Z] 1469e6f7b9e6: Waiting [2023-05-24T17:32:57.207Z] 988bab9f4d93: Waiting [2023-05-24T17:32:57.207Z] eaf3925da568: Waiting [2023-05-24T17:32:57.207Z] 5851b861e8e6: Waiting [2023-05-24T17:32:57.207Z] bde34c3a00c8: Waiting [2023-05-24T17:32:57.207Z] b352a97aabf1: Waiting [2023-05-24T17:32:57.207Z] 4872d77fe225: Waiting [2023-05-24T17:32:57.207Z] e2be974225ed: Download complete [2023-05-24T17:32:57.207Z] 988bab9f4d93: Verifying Checksum [2023-05-24T17:32:57.207Z] 988bab9f4d93: Download complete [2023-05-24T17:32:57.207Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T17:32:57.207Z] 1469e6f7b9e6: Download complete [2023-05-24T17:32:57.207Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T17:32:57.207Z] 339a4e72a1f5: Download complete [2023-05-24T17:32:57.207Z] bde34c3a00c8: Verifying Checksum [2023-05-24T17:32:57.207Z] bde34c3a00c8: Download complete [2023-05-24T17:32:57.466Z] b352a97aabf1: Verifying Checksum [2023-05-24T17:32:57.466Z] b352a97aabf1: Download complete [2023-05-24T17:32:57.466Z] 4872d77fe225: Verifying Checksum [2023-05-24T17:32:57.466Z] 4872d77fe225: Download complete [2023-05-24T17:32:57.466Z] 5851b861e8e6: Verifying Checksum [2023-05-24T17:32:57.466Z] 5851b861e8e6: Download complete [2023-05-24T17:32:57.466Z] b85a868b505f: Download complete [2023-05-24T17:32:57.724Z] bab4dde63d76: Verifying Checksum [2023-05-24T17:32:57.724Z] bab4dde63d76: Download complete [2023-05-24T17:32:58.661Z] b85a868b505f: Pull complete [2023-05-24T17:32:58.921Z] e2be974225ed: Pull complete [2023-05-24T17:32:59.181Z] 339a4e72a1f5: Pull complete [2023-05-24T17:32:59.442Z] 988bab9f4d93: Pull complete [2023-05-24T17:32:59.703Z] 1469e6f7b9e6: Pull complete [2023-05-24T17:32:59.703Z] eaf3925da568: Pull complete [2023-05-24T17:33:01.618Z] bab4dde63d76: Pull complete [2023-05-24T17:33:01.618Z] bde34c3a00c8: Pull complete [2023-05-24T17:33:01.618Z] b352a97aabf1: Pull complete [2023-05-24T17:33:01.884Z] 4872d77fe225: Pull complete [2023-05-24T17:33:01.884Z] 5851b861e8e6: Pull complete [2023-05-24T17:33:01.884Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T17:33:01.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T17:33:01.884Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:33:02.111Z] prd-ubuntu20.04-docker-8c-8g-16732 does not seem to be running inside a container [2023-05-24T17:33:02.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-457 -v /w/workspace/edgexfoundry_device-sdk-c_PR-457:/w/workspace/edgexfoundry_device-sdk-c_PR-457:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T17:33:05.077Z] $ docker top e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a -eo pid,comm [2023-05-24T17:33:05.138Z] 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-05-24T17:33:05.138Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T17:33:05.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T17:33:05.291Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T17:33:05.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T17:33:05.389Z] $ docker exec e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a ssh-agent [2023-05-24T17:33:05.496Z] SSH_AUTH_SOCK=/tmp/ssh-1bujMDS6ofY8/agent.32 [2023-05-24T17:33:05.496Z] SSH_AGENT_PID=38 [2023-05-24T17:33:05.503Z] Running ssh-add (command line suppressed) [2023-05-24T17:33:05.590Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/private_key_2277995572893798292.key (/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/private_key_2277995572893798292.key) [2023-05-24T17:33:05.607Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T17:33:05.931Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T17:33:05.952Z] $ docker exec --env ******** --env ******** e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a ssh-agent -k [2023-05-24T17:33:06.056Z] unset SSH_AUTH_SOCK; [2023-05-24T17:33:06.057Z] unset SSH_AGENT_PID; [2023-05-24T17:33:06.057Z] echo Agent pid 38 killed; [2023-05-24T17:33:06.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T17:33:06.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T17:33:06.155Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T17:33:06.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T17:33:06.255Z] $ docker exec e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a ssh-agent [2023-05-24T17:33:06.354Z] SSH_AUTH_SOCK=/tmp/ssh-hGU6KmDlr3u3/agent.70 [2023-05-24T17:33:06.354Z] SSH_AGENT_PID=76 [2023-05-24T17:33:06.359Z] Running ssh-add (command line suppressed) [2023-05-24T17:33:06.448Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/private_key_17647576207599397478.key (/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/private_key_17647576207599397478.key) [2023-05-24T17:33:06.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T17:33:06.787Z] + git semver init [2023-05-24T17:33:07.047Z] 2023-05-24 17:33:06,962 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T17:33:07.048Z] 2023-05-24 17:33:06,962 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver [2023-05-24T17:33:07.048Z] 2023-05-24 17:33:06,963 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver [2023-05-24T17:33:07.048Z] 2023-05-24 17:33:06,963 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-457, universal_newlines=False, shell=None, istream=None) [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,779 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-457/.git/info/exclude [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,779 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver/PR-457 with force:False [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,779 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver/PR-457 [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,784 [execute] INFO git cat-file --batch-check [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,790 [execute] INFO git cat-file --batch [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,790 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T17:33:07.990Z] 2023-05-24 17:33:07,796 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-457/.semver/PR-457 [2023-05-24T17:33:07.990Z] 0.0.0 [Pipeline] } [2023-05-24T17:33:08.013Z] $ docker exec --env ******** --env ******** e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a ssh-agent -k [2023-05-24T17:33:08.114Z] unset SSH_AUTH_SOCK; [2023-05-24T17:33:08.115Z] unset SSH_AGENT_PID; [2023-05-24T17:33:08.115Z] echo Agent pid 76 killed; [2023-05-24T17:33:08.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T17:33:08.560Z] + git semver [Pipeline] } [2023-05-24T17:33:08.843Z] $ docker stop --time=1 e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a [2023-05-24T17:33:10.112Z] $ docker rm -f --volumes e3e0838e21116544f8a878d8f0b019bcdf0196c0a273bc81d04cbd8d578c6a9a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T17:33:10.509Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T17:33:10.759Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T17:33:10.776Z] [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-05-24T17:33:11.314Z] provisioning config files... [2023-05-24T17:33:11.326Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/config11936418835757366839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:33:11.672Z] ---> docker-login.sh [2023-05-24T17:33:11.672Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:33:11.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:33:11.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:33:11.672Z] Configure a credential helper to remove this warning. See [2023-05-24T17:33:11.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:33:11.672Z] [2023-05-24T17:33:11.672Z] Login Succeeded [2023-05-24T17:33:11.672Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:33:11.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:33:11.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:33:11.672Z] Configure a credential helper to remove this warning. See [2023-05-24T17:33:11.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:33:11.672Z] [2023-05-24T17:33:11.672Z] Login Succeeded [2023-05-24T17:33:11.672Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:33:11.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:33:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:33:11.932Z] Configure a credential helper to remove this warning. See [2023-05-24T17:33:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:33:11.932Z] [2023-05-24T17:33:11.932Z] Login Succeeded [2023-05-24T17:33:11.932Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:33:11.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:33:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:33:11.932Z] Configure a credential helper to remove this warning. See [2023-05-24T17:33:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:33:11.932Z] [2023-05-24T17:33:11.932Z] Login Succeeded [2023-05-24T17:33:11.932Z] docker.io [2023-05-24T17:33:12.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:33:12.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:33:12.192Z] Configure a credential helper to remove this warning. See [2023-05-24T17:33:12.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:33:12.192Z] [2023-05-24T17:33:12.192Z] Login Succeeded [2023-05-24T17:33:12.192Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:33:12.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T17:33:12.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:33:12.440Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-24T17:33:12.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:33:12.503Z] ========================================================= [2023-05-24T17:33:12.503Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-24T17:33:12.503Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:33:12.905Z] + 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-05-24T17:33:12.905Z] Sending build context to Docker daemon 4.857MB [2023-05-24T17:33:12.905Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T17:33:12.905Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T17:33:12.905Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-24T17:33:12.905Z] 91d30c5bc195: Pulling fs layer [2023-05-24T17:33:12.905Z] 316e5a4585fb: Pulling fs layer [2023-05-24T17:33:13.164Z] 91d30c5bc195: Verifying Checksum [2023-05-24T17:33:13.164Z] 91d30c5bc195: Download complete [2023-05-24T17:33:13.164Z] 91d30c5bc195: Pull complete [2023-05-24T17:33:13.739Z] 316e5a4585fb: Verifying Checksum [2023-05-24T17:33:13.739Z] 316e5a4585fb: Download complete [2023-05-24T17:33:16.281Z] 316e5a4585fb: Pull complete [2023-05-24T17:33:16.281Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-24T17:33:16.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-24T17:33:16.281Z] ---> e83ffa357ff4 [2023-05-24T17:33:16.281Z] 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-05-24T17:33:17.663Z] ---> Running in ddf7e4ca761b [2023-05-24T17:33:17.663Z] Connecting to iotech.jfrog.io (52.210.158.202:443) [2023-05-24T17:33:18.230Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:33:18.230Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:33:18.230Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:33:18.489Z] Removing intermediate container ddf7e4ca761b [2023-05-24T17:33:18.489Z] ---> 921b8d154648 [2023-05-24T17:33:18.489Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:33:18.489Z] ---> Running in 46e4c6f4123e [2023-05-24T17:33:19.057Z] Removing intermediate container 46e4c6f4123e [2023-05-24T17:33:19.057Z] ---> fe6bdf366caa [2023-05-24T17:33:19.057Z] 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-05-24T17:33:19.057Z] ---> Running in 8f51b1175da6 [2023-05-24T17:33:19.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:19.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:19.574Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:20.142Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:33:20.142Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T17:33:20.143Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T17:33:20.143Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T17:33:21.081Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T17:33:21.340Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T17:33:21.340Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T17:33:21.340Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T17:33:21.340Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T17:33:22.277Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T17:33:22.277Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T17:33:22.277Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T17:33:22.277Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T17:33:22.277Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T17:33:22.277Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T17:33:22.277Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:33:22.277Z] OK: 280 MiB in 90 packages [2023-05-24T17:33:22.847Z] Removing intermediate container 8f51b1175da6 [2023-05-24T17:33:22.847Z] ---> ac5f27f8791f [2023-05-24T17:33:22.847Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T17:33:22.847Z] ---> Running in 99f0708023fa [2023-05-24T17:33:23.415Z] Removing intermediate container 99f0708023fa [2023-05-24T17:33:23.415Z] ---> 5a172f6b8d76 [2023-05-24T17:33:23.415Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T17:33:23.415Z] ---> e00b5ba8aec6 [2023-05-24T17:33:23.415Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T17:33:23.674Z] ---> c5fdd9c1a052 [2023-05-24T17:33:23.675Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T17:33:23.933Z] ---> e9ece3a579f2 [2023-05-24T17:33:23.933Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T17:33:23.933Z] ---> 8e572d1d08e8 [2023-05-24T17:33:23.933Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T17:33:24.191Z] ---> 4cd30d0b2af5 [2023-05-24T17:33:24.191Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T17:33:24.191Z] ---> e384707b297e [2023-05-24T17:33:24.191Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T17:33:24.191Z] ---> Running in 0f0f4c08d2b6 [2023-05-24T17:33:24.451Z] + CPPCHECK=false [2023-05-24T17:33:24.451Z] + DOCGEN=false [2023-05-24T17:33:24.451Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T17:33:24.451Z] + '[' 0 -gt 0 ] [2023-05-24T17:33:24.451Z] + readlink -f ./scripts/build.sh [2023-05-24T17:33:24.451Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T17:33:24.451Z] + dirname /tmp/sdk/scripts [2023-05-24T17:33:24.451Z] + ROOT=/tmp/sdk [2023-05-24T17:33:24.451Z] + cd /tmp/sdk [2023-05-24T17:33:24.451Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T17:33:24.451Z] + cd /tmp/sdk/build/release [2023-05-24T17:33:24.451Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T17:33:24.709Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T17:33:24.709Z] -- Detecting C compiler ABI info [2023-05-24T17:33:24.709Z] -- Detecting C compiler ABI info - done [2023-05-24T17:33:24.709Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T17:33:24.709Z] -- Detecting C compile features [2023-05-24T17:33:24.709Z] -- Detecting C compile features - done [2023-05-24T17:33:24.709Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T17:33:24.709Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T17:33:24.709Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T17:33:24.709Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T17:33:24.709Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T17:33:24.709Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T17:33:24.709Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T17:33:24.709Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T17:33:24.709Z] -- /opt/iotech/iot/1.5/include [2023-05-24T17:33:24.709Z] -- C SDK 0.0.0 for Linux [2023-05-24T17:33:24.709Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T17:33:24.968Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T17:33:24.968Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T17:33:24.968Z] -- Configuring done [2023-05-24T17:33:24.968Z] -- Generating done [2023-05-24T17:33:24.968Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T17:33:24.968Z] + make all package [2023-05-24T17:33:24.968Z] + tee release.log [2023-05-24T17:33:24.968Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T17:33:25.228Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T17:33:25.228Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T17:33:25.487Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T17:33:25.487Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T17:33:25.746Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T17:33:26.004Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T17:33:26.113Z] Still waiting to schedule task [2023-05-24T17:33:26.113Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-24T17:33:26.263Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T17:33:26.263Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T17:33:26.521Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T17:33:26.780Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T17:33:26.780Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T17:33:27.039Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T17:33:27.297Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T17:33:27.297Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T17:33:27.558Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T17:33:27.559Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T17:33:27.819Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T17:33:27.819Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T17:33:28.077Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T17:33:28.336Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T17:33:29.273Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T17:33:29.273Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T17:33:29.273Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T17:33:29.533Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T17:33:29.533Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T17:33:29.792Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T17:33:30.051Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T17:33:30.310Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T17:33:30.310Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T17:33:30.569Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T17:33:31.135Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T17:33:31.135Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T17:33:31.135Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T17:33:31.393Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T17:33:31.393Z] [ 68%] Built target csdk [2023-05-24T17:33:31.393Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T17:33:31.651Z] [ 72%] Linking C executable template [2023-05-24T17:33:31.652Z] [ 72%] Built target template [2023-05-24T17:33:31.652Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T17:33:31.652Z] [ 76%] Linking C executable device-counter [2023-05-24T17:33:31.910Z] [ 76%] Built target device-counter [2023-05-24T17:33:31.910Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T17:33:31.910Z] [ 80%] Linking C executable device-random [2023-05-24T17:33:31.910Z] [ 80%] Built target device-random [2023-05-24T17:33:31.910Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T17:33:32.169Z] [ 84%] Linking C executable device-gyro [2023-05-24T17:33:32.169Z] [ 84%] Built target device-gyro [2023-05-24T17:33:32.169Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T17:33:32.169Z] [ 88%] Linking C executable device-bitfields [2023-05-24T17:33:32.428Z] [ 88%] Built target device-bitfields [2023-05-24T17:33:32.428Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T17:33:32.428Z] [ 92%] Linking C executable template-discovery [2023-05-24T17:33:32.689Z] [ 92%] Built target template-discovery [2023-05-24T17:33:32.689Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T17:33:32.689Z] [ 96%] Linking C executable device-file [2023-05-24T17:33:32.689Z] [ 96%] Built target device-file [2023-05-24T17:33:32.955Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T17:33:32.955Z] [100%] Linking C executable device-terminal [2023-05-24T17:33:32.955Z] [100%] Built target device-terminal [2023-05-24T17:33:32.955Z] Run CPack packaging tool... [2023-05-24T17:33:32.955Z] CPack: Create package using TGZ [2023-05-24T17:33:32.955Z] CPack: Install projects [2023-05-24T17:33:32.955Z] CPack: - Run preinstall target for: Csdk [2023-05-24T17:33:33.214Z] CPack: - Install project: Csdk [] [2023-05-24T17:33:33.214Z] CPack: Create package [2023-05-24T17:33:33.214Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-24T17:33:33.214Z] + '[' false '=' true ] [2023-05-24T17:33:33.214Z] + '[' false '=' true ] [2023-05-24T17:33:33.214Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T17:33:33.214Z] + cd /tmp/sdk/build/debug [2023-05-24T17:33:33.214Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T17:33:33.478Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T17:33:33.478Z] -- Detecting C compiler ABI info [2023-05-24T17:33:33.478Z] -- Detecting C compiler ABI info - done [2023-05-24T17:33:33.478Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T17:33:33.478Z] -- Detecting C compile features [2023-05-24T17:33:33.478Z] -- Detecting C compile features - done [2023-05-24T17:33:33.478Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T17:33:33.478Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T17:33:33.478Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T17:33:33.478Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T17:33:33.478Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T17:33:33.478Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T17:33:33.478Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T17:33:33.478Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T17:33:33.478Z] -- /opt/iotech/iot/1.5/include [2023-05-24T17:33:33.478Z] -- C SDK 0.0.0 for Linux [2023-05-24T17:33:33.478Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T17:33:33.738Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T17:33:33.738Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T17:33:33.738Z] -- Configuring done [2023-05-24T17:33:33.738Z] -- Generating done [2023-05-24T17:33:33.738Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T17:33:33.738Z] + make [2023-05-24T17:33:33.738Z] + tee debug.log [2023-05-24T17:33:33.738Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T17:33:33.999Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T17:33:33.999Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T17:33:33.999Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T17:33:34.259Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T17:33:34.259Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T17:33:34.259Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T17:33:34.519Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T17:33:34.519Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T17:33:34.519Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T17:33:34.778Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T17:33:34.778Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T17:33:34.778Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T17:33:35.038Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T17:33:35.038Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T17:33:35.038Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T17:33:35.038Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T17:33:35.297Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T17:33:35.297Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T17:33:35.297Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T17:33:35.556Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T17:33:35.816Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T17:33:35.817Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T17:33:35.817Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T17:33:36.076Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T17:33:36.076Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T17:33:36.076Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T17:33:36.335Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T17:33:36.335Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T17:33:36.596Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T17:33:36.596Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T17:33:36.859Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T17:33:36.859Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T17:33:36.859Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T17:33:36.860Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T17:33:37.120Z] [ 68%] Built target csdk [2023-05-24T17:33:37.120Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T17:33:37.120Z] [ 72%] Linking C executable template [2023-05-24T17:33:37.120Z] [ 72%] Built target template [2023-05-24T17:33:37.120Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T17:33:37.381Z] [ 76%] Linking C executable device-counter [2023-05-24T17:33:37.381Z] [ 76%] Built target device-counter [2023-05-24T17:33:37.381Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T17:33:37.381Z] [ 80%] Linking C executable device-random [2023-05-24T17:33:37.381Z] [ 80%] Built target device-random [2023-05-24T17:33:37.640Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T17:33:37.640Z] [ 84%] Linking C executable device-gyro [2023-05-24T17:33:37.640Z] [ 84%] Built target device-gyro [2023-05-24T17:33:37.640Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T17:33:37.640Z] [ 88%] Linking C executable device-bitfields [2023-05-24T17:33:37.899Z] [ 88%] Built target device-bitfields [2023-05-24T17:33:37.899Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T17:33:37.899Z] [ 92%] Linking C executable template-discovery [2023-05-24T17:33:37.899Z] [ 92%] Built target template-discovery [2023-05-24T17:33:37.899Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T17:33:38.159Z] [ 96%] Linking C executable device-file [2023-05-24T17:33:38.159Z] [ 96%] Built target device-file [2023-05-24T17:33:38.159Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T17:33:38.159Z] [100%] Linking C executable device-terminal [2023-05-24T17:33:38.159Z] [100%] Built target device-terminal [2023-05-24T17:33:38.424Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 68%] Built target csdk [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 72%] Built target template [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 76%] Built target device-counter [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 80%] Built target device-random [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 84%] Built target device-gyro [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 88%] Built target device-bitfields [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 92%] Built target template-discovery [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [ 96%] Built target device-file [2023-05-24T17:33:38.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] [100%] Built target device-terminal [2023-05-24T17:33:38.424Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.424Z] Install the project... [2023-05-24T17:33:38.424Z] -- Install configuration: "Release" [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T17:33:38.424Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/devsdk [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T17:33:38.424Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T17:33:38.424Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:33:38.992Z] Removing intermediate container 0f0f4c08d2b6 [2023-05-24T17:33:38.992Z] ---> f974d231655e [2023-05-24T17:33:38.992Z] Step 14/21 : FROM ${BASE} [2023-05-24T17:33:38.992Z] ---> e83ffa357ff4 [2023-05-24T17:33:38.992Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T17:33:39.251Z] ---> Running in 7a404bb8aab2 [2023-05-24T17:33:39.251Z] Removing intermediate container 7a404bb8aab2 [2023-05-24T17:33:39.251Z] ---> 4d328b229edf [2023-05-24T17:33:39.251Z] 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-05-24T17:33:39.251Z] ---> Running in 83f62b8fb63b [2023-05-24T17:33:39.510Z] Connecting to iotech.jfrog.io (54.155.240.152:443) [2023-05-24T17:33:40.079Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:33:40.079Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:33:40.079Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:33:40.079Z] Removing intermediate container 83f62b8fb63b [2023-05-24T17:33:40.079Z] ---> f795e5e4055d [2023-05-24T17:33:40.079Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:33:40.337Z] ---> Running in a5ca5e78c06a [2023-05-24T17:33:40.596Z] Removing intermediate container a5ca5e78c06a [2023-05-24T17:33:40.596Z] ---> 27d17ae0a4ff [2023-05-24T17:33:40.596Z] 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-05-24T17:33:40.596Z] ---> Running in 0efa93a67590 [2023-05-24T17:33:41.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:41.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:41.426Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:41.685Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:33:41.944Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T17:33:41.944Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T17:33:41.944Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T17:33:41.944Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T17:33:42.511Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T17:33:42.511Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T17:33:42.511Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T17:33:43.448Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:33:43.448Z] OK: 276 MiB in 83 packages [2023-05-24T17:33:43.707Z] Removing intermediate container 0efa93a67590 [2023-05-24T17:33:43.707Z] ---> c014cdddf555 [2023-05-24T17:33:43.707Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T17:33:43.968Z] ---> 107741502174 [2023-05-24T17:33:43.968Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T17:33:43.968Z] ---> 879e3cea78b4 [2023-05-24T17:33:43.968Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T17:33:44.227Z] ---> 59a63f577263 [2023-05-24T17:33:44.227Z] Successfully built 59a63f577263 [2023-05-24T17:33:44.227Z] 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-05-24T17:33:44.909Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T17:33:44.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:33:45.064Z] prd-ubuntu20.04-docker-8c-8g-16732 does not seem to be running inside a container [2023-05-24T17:33:45.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-457 -v /w/workspace/edgexfoundry_device-sdk-c_PR-457:/w/workspace/edgexfoundry_device-sdk-c_PR-457:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T17:33:45.437Z] $ docker top b4286d3d590fb286bceed17e94ab50c842c44caec8233934215fed0fa35ec385 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:33:45.815Z] + make test [2023-05-24T17:33:45.815Z] echo "make test" [2023-05-24T17:33:45.815Z] make test [Pipeline] } [2023-05-24T17:33:45.854Z] $ docker stop --time=1 b4286d3d590fb286bceed17e94ab50c842c44caec8233934215fed0fa35ec385 [2023-05-24T17:33:47.120Z] $ docker rm -f --volumes b4286d3d590fb286bceed17e94ab50c842c44caec8233934215fed0fa35ec385 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T17:33:47.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T17:33:48.303Z] + ls -al . [2023-05-24T17:33:48.303Z] total 212 [2023-05-24T17:33:48.303Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 17:33 . [2023-05-24T17:33:48.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:32 .. [2023-05-24T17:33:48.303Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 17:33 .git [2023-05-24T17:33:48.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:32 .github [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 17:32 .gitignore [2023-05-24T17:33:48.303Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 17:33 .semver [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 17:32 Attribution.txt [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 17:32 CHANGES [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 17:32 Doxyfile [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 17:32 GOVERNANCE.md [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 17:32 Jenkinsfile [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 17:32 LICENSE [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 17:32 Makefile [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 17:32 OWNERS.md [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 17:32 README.IOT.md [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 17:32 README.md [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 17:32 README.v3.md [2023-05-24T17:33:48.303Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 17:33 VERSION [2023-05-24T17:33:48.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:32 docs [2023-05-24T17:33:48.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:32 include [2023-05-24T17:33:48.303Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:32 scripts [2023-05-24T17:33:48.303Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:33:48.695Z] + 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=40dfb381f72cef7a0fa08e6432f34052f53b2ee7 --label arch=amd64 --label version=0.0.0 . [2023-05-24T17:33:48.695Z] Sending build context to Docker daemon 4.857MB [2023-05-24T17:33:48.695Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T17:33:48.695Z] Step 2/17 : FROM ${BASE} [2023-05-24T17:33:48.695Z] ---> 59a63f577263 [2023-05-24T17:33:48.695Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T17:33:48.695Z] ---> Running in b5c90e21d043 [2023-05-24T17:33:48.956Z] Removing intermediate container b5c90e21d043 [2023-05-24T17:33:48.956Z] ---> 4ae903bc4649 [2023-05-24T17:33:48.956Z] 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-05-24T17:33:48.956Z] ---> Running in eadf90f68e52 [2023-05-24T17:33:49.216Z] Connecting to iotech.jfrog.io (52.19.119.212:443) [2023-05-24T17:33:49.477Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:33:49.477Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:33:49.477Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:33:49.735Z] Removing intermediate container eadf90f68e52 [2023-05-24T17:33:49.735Z] ---> ed2218e5f01c [2023-05-24T17:33:49.735Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:33:49.735Z] ---> Running in 2e8ac211d2b1 [2023-05-24T17:33:50.303Z] Removing intermediate container 2e8ac211d2b1 [2023-05-24T17:33:50.303Z] ---> bf9a21319c7c [2023-05-24T17:33:50.303Z] 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-05-24T17:33:50.303Z] ---> Running in 74e1f40158f6 [2023-05-24T17:33:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:50.822Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-24T17:33:51.082Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:33:51.341Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T17:33:51.601Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T17:33:51.601Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T17:33:51.601Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T17:33:51.601Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T17:33:51.601Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T17:33:51.601Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T17:33:51.601Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T17:33:51.860Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T17:33:51.860Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:33:51.860Z] OK: 281 MiB in 92 packages [2023-05-24T17:33:52.429Z] Removing intermediate container 74e1f40158f6 [2023-05-24T17:33:52.429Z] ---> a9e6e1e7ef53 [2023-05-24T17:33:52.429Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T17:33:52.429Z] ---> e85a3c7b44f6 [2023-05-24T17:33:52.429Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T17:33:52.688Z] ---> 68a7c4591877 [2023-05-24T17:33:52.688Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T17:33:52.688Z] ---> 2e6a5d408c5e [2023-05-24T17:33:52.688Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T17:33:52.947Z] ---> 95a190274d61 [2023-05-24T17:33:52.947Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T17:33:52.947Z] ---> 8b2dd8b4b765 [2023-05-24T17:33:52.947Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T17:33:52.947Z] ---> 308e7fa18010 [2023-05-24T17:33:52.947Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T17:33:52.947Z] ---> Running in 7ea606813c12 [2023-05-24T17:33:53.206Z] Removing intermediate container 7ea606813c12 [2023-05-24T17:33:53.206Z] ---> 3f61fd7fb0f1 [2023-05-24T17:33:53.206Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T17:33:53.206Z] ---> Running in cf7e5acd3a48 [2023-05-24T17:33:53.206Z] Removing intermediate container cf7e5acd3a48 [2023-05-24T17:33:53.206Z] ---> 225881a5f0de [2023-05-24T17:33:53.206Z] Step 15/17 : LABEL arch=amd64 [2023-05-24T17:33:53.206Z] ---> Running in 86dca6cfd9ef [2023-05-24T17:33:53.206Z] Removing intermediate container 86dca6cfd9ef [2023-05-24T17:33:53.206Z] ---> d68d444d0c3d [2023-05-24T17:33:53.206Z] Step 16/17 : LABEL git_sha=40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [2023-05-24T17:33:53.206Z] ---> Running in 05e850a606b6 [2023-05-24T17:33:53.463Z] Removing intermediate container 05e850a606b6 [2023-05-24T17:33:53.463Z] ---> 0feb5b80dcf9 [2023-05-24T17:33:53.463Z] Step 17/17 : LABEL version=0.0.0 [2023-05-24T17:33:53.463Z] ---> Running in dec93436ee8f [2023-05-24T17:33:53.463Z] Removing intermediate container dec93436ee8f [2023-05-24T17:33:53.463Z] ---> 9f135778cddc [2023-05-24T17:33:53.463Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-24T17:33:53.463Z] Successfully built 9f135778cddc [2023-05-24T17:33:53.463Z] 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-05-24T17:33:54.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:33:54.379Z] [2023-05-24T17:33:54.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:33:54.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:33:54.751Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T17:33:54.751Z] 5eb5b503b376: Pulling fs layer [2023-05-24T17:33:54.751Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T17:33:54.751Z] ec43610c2a17: Pulling fs layer [2023-05-24T17:33:54.751Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T17:33:54.751Z] 33b1e0a273af: Pulling fs layer [2023-05-24T17:33:54.751Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T17:33:54.751Z] 2f39f015ded8: Pulling fs layer [2023-05-24T17:33:54.751Z] 3a2ae6a8a46f: Waiting [2023-05-24T17:33:54.751Z] 33b1e0a273af: Waiting [2023-05-24T17:33:54.751Z] 5d3b04190fa2: Waiting [2023-05-24T17:33:54.751Z] 2f39f015ded8: Waiting [2023-05-24T17:33:54.751Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T17:33:54.751Z] 5c69ac0246d0: Download complete [2023-05-24T17:33:54.751Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T17:33:54.751Z] 3a2ae6a8a46f: Download complete [2023-05-24T17:33:55.010Z] 33b1e0a273af: Verifying Checksum [2023-05-24T17:33:55.010Z] 33b1e0a273af: Download complete [2023-05-24T17:33:55.010Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T17:33:55.010Z] 5d3b04190fa2: Download complete [2023-05-24T17:33:55.010Z] ec43610c2a17: Verifying Checksum [2023-05-24T17:33:55.010Z] ec43610c2a17: Download complete [2023-05-24T17:33:55.010Z] 5eb5b503b376: Verifying Checksum [2023-05-24T17:33:55.010Z] 5eb5b503b376: Download complete [2023-05-24T17:33:55.580Z] 2f39f015ded8: Verifying Checksum [2023-05-24T17:33:55.580Z] 2f39f015ded8: Download complete [2023-05-24T17:33:56.515Z] 5eb5b503b376: Pull complete [2023-05-24T17:33:56.515Z] 5c69ac0246d0: Pull complete [2023-05-24T17:33:57.083Z] ec43610c2a17: Pull complete [2023-05-24T17:33:57.083Z] 3a2ae6a8a46f: Pull complete [2023-05-24T17:33:57.340Z] 33b1e0a273af: Pull complete [2023-05-24T17:33:57.340Z] 5d3b04190fa2: Pull complete [2023-05-24T17:34:01.528Z] 2f39f015ded8: Pull complete [2023-05-24T17:34:01.528Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T17:34:01.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:34:01.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:34:01.781Z] prd-ubuntu20.04-docker-8c-8g-16732 does not seem to be running inside a container [2023-05-24T17:34:01.816Z] $ 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-457 -v /w/workspace/edgexfoundry_device-sdk-c_PR-457:/w/workspace/edgexfoundry_device-sdk-c_PR-457:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T17:34:04.902Z] $ docker top dc779596f73417307f9fd4d230d589c79ada57e3e833b8ea7f8b5a07f4347ff2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:34:06.702Z] ---> job-cost.sh [2023-05-24T17:34:06.702Z] lf-activate-venv: SKIPPING [2023-05-24T17:34:06.702Z] INFO: No Stack... [2023-05-24T17:34:06.961Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T17:34:07.219Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T17:34:07.530Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives/cost.csv [2023-05-24T17:34:07.530Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T17:34:07.569Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [2023-05-24T17:34:07.573Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] did not exist. Created. [2023-05-24T17:34:07.574Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T17:34:07.956Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T17:34:08.011Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T17:34:08.025Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T17:34:08.099Z] $ docker stop --time=1 dc779596f73417307f9fd4d230d589c79ada57e3e833b8ea7f8b5a07f4347ff2 [2023-05-24T17:34:09.244Z] $ docker rm -f --volumes dc779596f73417307f9fd4d230d589c79ada57e3e833b8ea7f8b5a07f4347ff2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T17:34:58.303Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16734 in /w/workspace/edgexfoundry_device-sdk-c_PR-457 [Pipeline] { [Pipeline] ws [2023-05-24T17:34:58.352Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-05-24T17:34:58.439Z] Selected Git installation does not exist. Using Default [2023-05-24T17:34:58.439Z] The recommended git tool is: NONE [2023-05-24T17:35:03.579Z] using credential edgex-jenkins-ssh [2023-05-24T17:35:03.597Z] Cloning the remote Git repository [2023-05-24T17:35:03.659Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T17:35:03.747Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-05-24T17:35:03.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T17:35:03.879Z] > git --version # timeout=10 [2023-05-24T17:35:03.901Z] > git --version # 'git version 2.25.1' [2023-05-24T17:35:03.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:35:04.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T17:35:05.164Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-24T17:35:05.194Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T17:35:06.641Z] Merging remotes/origin/main commit 31953d2017fd3e9016dfece535bce38e006976ba into PR head commit 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [2023-05-24T17:35:06.973Z] Merge succeeded, producing 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [2023-05-24T17:35:06.975Z] Checking out Revision 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 (PR-457) [2023-05-24T17:35:06.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-24T17:35:06.062Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-24T17:35:06.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:35:06.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T17:35:06.661Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T17:35:06.737Z] > git checkout -f 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 # timeout=10 [2023-05-24T17:35:06.867Z] > git remote # timeout=10 [2023-05-24T17:35:06.890Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T17:35:06.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T17:35:06.932Z] > git merge 31953d2017fd3e9016dfece535bce38e006976ba # timeout=10 [2023-05-24T17:35:06.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T17:35:06.983Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T17:35:06.994Z] > git checkout -f 40dfb381f72cef7a0fa08e6432f34052f53b2ee7 # timeout=10 [2023-05-24T17:35:10.484Z] Commit message: "docs: update changelog and version number for Minnesota" [2023-05-24T17:35:10.536Z] > git --version # timeout=10 [2023-05-24T17:35:10.549Z] > git --version # 'git version 2.25.1' [2023-05-24T17:35:10.579Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T17:35:11.592Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T17:35:11.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T17:35:11.592Z] Dload Upload Total Spent Left Speed [2023-05-24T17:35:11.592Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-05-24T17:35:12.363Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T17:35:12.707Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T17:35:12.707Z] + sudo tee /etc/docker/daemon.new [2023-05-24T17:35:12.707Z] { [2023-05-24T17:35:12.707Z] "registry-mirrors": [ [2023-05-24T17:35:12.707Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T17:35:12.707Z] ], [2023-05-24T17:35:12.707Z] "bip": "10.250.0.254/24", [2023-05-24T17:35:12.707Z] "hosts": [ [2023-05-24T17:35:12.707Z] "tcp://0.0.0.0:5555", [2023-05-24T17:35:12.707Z] "unix:///var/run/docker.sock" [2023-05-24T17:35:12.707Z] ], [2023-05-24T17:35:12.707Z] "mtu": 1458, [2023-05-24T17:35:12.707Z] "selinux-enabled": true, [2023-05-24T17:35:12.707Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T17:35:12.707Z] } [Pipeline] sh [2023-05-24T17:35:13.056Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T17:35:13.412Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T17:35:31.718Z] provisioning config files... [2023-05-24T17:35:31.748Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config14138443206429387227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:35:32.134Z] ---> docker-login.sh [2023-05-24T17:35:32.134Z] nexus3.edgexfoundry.org:10001 [2023-05-24T17:35:32.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:35:32.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:35:32.675Z] Configure a credential helper to remove this warning. See [2023-05-24T17:35:32.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:35:32.675Z] [2023-05-24T17:35:32.675Z] Login Succeeded [2023-05-24T17:35:32.675Z] nexus3.edgexfoundry.org:10002 [2023-05-24T17:35:32.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:35:32.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:35:32.944Z] Configure a credential helper to remove this warning. See [2023-05-24T17:35:32.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:35:32.944Z] [2023-05-24T17:35:32.944Z] Login Succeeded [2023-05-24T17:35:32.944Z] nexus3.edgexfoundry.org:10003 [2023-05-24T17:35:33.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:35:33.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:35:33.482Z] Configure a credential helper to remove this warning. See [2023-05-24T17:35:33.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:35:33.482Z] [2023-05-24T17:35:33.482Z] Login Succeeded [2023-05-24T17:35:33.482Z] nexus3.edgexfoundry.org:10004 [2023-05-24T17:35:33.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:35:33.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:35:33.754Z] Configure a credential helper to remove this warning. See [2023-05-24T17:35:33.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:35:33.754Z] [2023-05-24T17:35:33.754Z] Login Succeeded [2023-05-24T17:35:33.754Z] docker.io [2023-05-24T17:35:34.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T17:35:34.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T17:35:34.293Z] Configure a credential helper to remove this warning. See [2023-05-24T17:35:34.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T17:35:34.293Z] [2023-05-24T17:35:34.293Z] Login Succeeded [2023-05-24T17:35:34.293Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T17:35:34.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T17:35:34.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:35:34.735Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-24T17:35:34.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T17:35:34.811Z] ========================================================= [2023-05-24T17:35:34.811Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-24T17:35:34.811Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:35:35.252Z] + 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-05-24T17:35:35.838Z] Sending build context to Docker daemon 2.914MB [2023-05-24T17:35:35.838Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-24T17:35:35.838Z] Step 2/21 : FROM ${BASE} as builder [2023-05-24T17:35:36.107Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-24T17:35:36.107Z] 547446be3368: Pulling fs layer [2023-05-24T17:35:36.107Z] 76bd08e1cacc: Pulling fs layer [2023-05-24T17:35:36.107Z] 547446be3368: Verifying Checksum [2023-05-24T17:35:36.107Z] 547446be3368: Download complete [2023-05-24T17:35:36.702Z] 547446be3368: Pull complete [2023-05-24T17:35:38.140Z] 76bd08e1cacc: Verifying Checksum [2023-05-24T17:35:38.140Z] 76bd08e1cacc: Download complete [2023-05-24T17:35:46.366Z] 76bd08e1cacc: Pull complete [2023-05-24T17:35:46.366Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-24T17:35:46.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-24T17:35:46.366Z] ---> 295cd00e64f4 [2023-05-24T17:35:46.366Z] 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-05-24T17:35:46.951Z] ---> Running in c7955134a9a7 [2023-05-24T17:35:47.911Z] Connecting to iotech.jfrog.io (52.210.158.202:443) [2023-05-24T17:35:48.178Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:35:48.179Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:35:48.179Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:35:49.593Z] Removing intermediate container c7955134a9a7 [2023-05-24T17:35:49.593Z] ---> 7f3201789820 [2023-05-24T17:35:49.593Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:35:49.593Z] ---> Running in 6efc920cef12 [2023-05-24T17:35:51.022Z] Removing intermediate container 6efc920cef12 [2023-05-24T17:35:51.022Z] ---> 82b5c940bf4a [2023-05-24T17:35:51.022Z] 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-05-24T17:35:51.022Z] ---> Running in f4ada445026c [2023-05-24T17:35:52.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:35:52.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T17:35:52.864Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:35:53.831Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:35:53.831Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-24T17:35:53.831Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-24T17:35:53.831Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T17:35:54.787Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T17:35:54.787Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-24T17:35:54.787Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-24T17:35:55.053Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T17:35:55.053Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T17:35:56.010Z] (9/14) Installing libblkid (2.38-r1) [2023-05-24T17:35:56.010Z] (10/14) Installing libuuid (2.38-r1) [2023-05-24T17:35:56.010Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-24T17:35:56.010Z] (12/14) Installing libmount (2.38-r1) [2023-05-24T17:35:56.010Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-24T17:35:56.010Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-24T17:35:56.010Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:35:56.010Z] OK: 286 MiB in 90 packages [2023-05-24T17:35:57.421Z] Removing intermediate container f4ada445026c [2023-05-24T17:35:57.421Z] ---> 31301a11b371 [2023-05-24T17:35:57.421Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-24T17:35:57.421Z] ---> Running in 7545b11b86c5 [2023-05-24T17:35:58.832Z] Removing intermediate container 7545b11b86c5 [2023-05-24T17:35:58.833Z] ---> 623a839f3ae8 [2023-05-24T17:35:58.833Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-24T17:35:59.100Z] ---> 144dcf92cc83 [2023-05-24T17:35:59.100Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-24T17:36:03.360Z] ---> 8c9812dd9fda [2023-05-24T17:36:03.360Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-24T17:36:03.360Z] ---> 454c5cbaef2c [2023-05-24T17:36:03.360Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-24T17:36:03.950Z] ---> 50be62d00601 [2023-05-24T17:36:03.950Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-24T17:36:04.217Z] ---> 466cf57745c7 [2023-05-24T17:36:04.217Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-24T17:36:04.804Z] ---> ce2788f9dcab [2023-05-24T17:36:04.804Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-24T17:36:04.804Z] ---> Running in c1cf12b940db [2023-05-24T17:36:05.769Z] + CPPCHECK=false [2023-05-24T17:36:05.769Z] + DOCGEN=false [2023-05-24T17:36:05.769Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-24T17:36:05.769Z] + '[' 0 -gt 0 ] [2023-05-24T17:36:05.769Z] + readlink -f ./scripts/build.sh [2023-05-24T17:36:05.769Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-24T17:36:05.769Z] + dirname /tmp/sdk/scripts [2023-05-24T17:36:05.769Z] + ROOT=/tmp/sdk [2023-05-24T17:36:05.769Z] + cd /tmp/sdk [2023-05-24T17:36:05.769Z] + mkdir -p /tmp/sdk/build/release [2023-05-24T17:36:05.769Z] + cd /tmp/sdk/build/release [2023-05-24T17:36:05.769Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-24T17:36:06.038Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T17:36:06.038Z] -- Detecting C compiler ABI info [2023-05-24T17:36:06.306Z] -- Detecting C compiler ABI info - done [2023-05-24T17:36:06.575Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T17:36:06.575Z] -- Detecting C compile features [2023-05-24T17:36:06.575Z] -- Detecting C compile features - done [2023-05-24T17:36:06.575Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T17:36:06.844Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T17:36:06.844Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T17:36:06.844Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T17:36:06.844Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T17:36:06.844Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T17:36:06.844Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T17:36:06.844Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T17:36:06.844Z] -- /opt/iotech/iot/1.5/include [2023-05-24T17:36:06.844Z] -- C SDK 0.0.0 for Linux [2023-05-24T17:36:06.844Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T17:36:07.113Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T17:36:07.384Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T17:36:07.384Z] -- Configuring done [2023-05-24T17:36:07.973Z] -- Generating done [2023-05-24T17:36:07.973Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-24T17:36:07.973Z] + make all package [2023-05-24T17:36:07.973Z] + tee release.log [2023-05-24T17:36:07.973Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T17:36:08.943Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T17:36:09.910Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T17:36:10.873Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T17:36:11.834Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T17:36:12.419Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T17:36:14.999Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T17:36:16.414Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T17:36:16.414Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T17:36:17.379Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T17:36:19.963Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T17:36:20.547Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T17:36:21.957Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T17:36:22.544Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T17:36:23.134Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T17:36:24.094Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T17:36:24.678Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T17:36:27.259Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T17:36:27.525Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T17:36:28.107Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T17:36:30.046Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T17:36:35.392Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T17:36:35.975Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T17:36:36.557Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T17:36:37.140Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T17:36:37.406Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T17:36:39.344Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T17:36:42.684Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T17:36:43.267Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T17:36:44.672Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T17:36:45.253Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T17:36:48.587Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T17:36:49.546Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T17:36:49.812Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T17:36:50.396Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T17:36:50.665Z] [ 68%] Built target csdk [2023-05-24T17:36:50.665Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T17:36:51.626Z] [ 72%] Linking C executable template [2023-05-24T17:36:51.895Z] [ 72%] Built target template [2023-05-24T17:36:51.895Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T17:36:52.856Z] [ 76%] Linking C executable device-counter [2023-05-24T17:36:52.856Z] [ 76%] Built target device-counter [2023-05-24T17:36:53.124Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T17:36:53.711Z] [ 80%] Linking C executable device-random [2023-05-24T17:36:53.977Z] [ 80%] Built target device-random [2023-05-24T17:36:53.977Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T17:36:54.938Z] [ 84%] Linking C executable device-gyro [2023-05-24T17:36:54.938Z] [ 84%] Built target device-gyro [2023-05-24T17:36:54.939Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T17:36:55.526Z] [ 88%] Linking C executable device-bitfields [2023-05-24T17:36:55.798Z] [ 88%] Built target device-bitfields [2023-05-24T17:36:56.066Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T17:36:57.029Z] [ 92%] Linking C executable template-discovery [2023-05-24T17:36:57.297Z] [ 92%] Built target template-discovery [2023-05-24T17:36:57.297Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T17:36:58.259Z] [ 96%] Linking C executable device-file [2023-05-24T17:36:58.529Z] [ 96%] Built target device-file [2023-05-24T17:36:58.529Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T17:36:59.488Z] [100%] Linking C executable device-terminal [2023-05-24T17:36:59.754Z] [100%] Built target device-terminal [2023-05-24T17:36:59.754Z] Run CPack packaging tool... [2023-05-24T17:36:59.754Z] CPack: Create package using TGZ [2023-05-24T17:36:59.754Z] CPack: Install projects [2023-05-24T17:36:59.754Z] CPack: - Run preinstall target for: Csdk [2023-05-24T17:37:00.340Z] CPack: - Install project: Csdk [] [2023-05-24T17:37:00.610Z] CPack: Create package [2023-05-24T17:37:00.610Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-24T17:37:00.610Z] + '[' false '=' true ] [2023-05-24T17:37:00.610Z] + '[' false '=' true ] [2023-05-24T17:37:00.610Z] + mkdir -p /tmp/sdk/build/debug [2023-05-24T17:37:00.610Z] + cd /tmp/sdk/build/debug [2023-05-24T17:37:00.610Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-24T17:37:00.878Z] -- The C compiler identification is GNU 11.2.1 [2023-05-24T17:37:00.878Z] -- Detecting C compiler ABI info [2023-05-24T17:37:01.463Z] -- Detecting C compiler ABI info - done [2023-05-24T17:37:01.463Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-24T17:37:01.463Z] -- Detecting C compile features [2023-05-24T17:37:01.463Z] -- Detecting C compile features - done [2023-05-24T17:37:01.463Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-24T17:37:01.736Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-24T17:37:01.736Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-24T17:37:01.736Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-24T17:37:01.736Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-24T17:37:01.736Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-24T17:37:01.736Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-24T17:37:01.736Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-24T17:37:01.736Z] -- /opt/iotech/iot/1.5/include [2023-05-24T17:37:01.736Z] -- C SDK 0.0.0 for Linux [2023-05-24T17:37:01.736Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-24T17:37:02.007Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-24T17:37:02.274Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-24T17:37:02.274Z] -- Configuring done [2023-05-24T17:37:02.541Z] -- Generating done [2023-05-24T17:37:02.541Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-24T17:37:02.541Z] + + teemake [2023-05-24T17:37:02.541Z] debug.log [2023-05-24T17:37:02.809Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-24T17:37:03.395Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-24T17:37:03.662Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-24T17:37:04.247Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-24T17:37:04.516Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-24T17:37:05.102Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-24T17:37:06.061Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-24T17:37:06.327Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-24T17:37:06.596Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-24T17:37:07.184Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-24T17:37:07.768Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-24T17:37:08.355Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-24T17:37:08.623Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-24T17:37:09.211Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-24T17:37:09.479Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-24T17:37:10.064Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-24T17:37:10.332Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-24T17:37:11.298Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-24T17:37:11.563Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-24T17:37:11.831Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-24T17:37:12.417Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-24T17:37:13.826Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-24T17:37:14.092Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-24T17:37:14.673Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-24T17:37:14.943Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-24T17:37:15.210Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-24T17:37:15.794Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-24T17:37:17.748Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-24T17:37:18.014Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-24T17:37:18.281Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-24T17:37:18.861Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-24T17:37:19.817Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-24T17:37:20.084Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-24T17:37:20.667Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-24T17:37:20.934Z] [ 68%] Linking C shared library libcsdk.so [2023-05-24T17:37:21.201Z] [ 68%] Built target csdk [2023-05-24T17:37:21.201Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-24T17:37:21.785Z] [ 72%] Linking C executable template [2023-05-24T17:37:22.052Z] [ 72%] Built target template [2023-05-24T17:37:22.052Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-24T17:37:22.379Z] [ 76%] Linking C executable device-counter [2023-05-24T17:37:22.976Z] [ 76%] Built target device-counter [2023-05-24T17:37:22.976Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-24T17:37:23.244Z] [ 80%] Linking C executable device-random [2023-05-24T17:37:23.515Z] [ 80%] Built target device-random [2023-05-24T17:37:23.785Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-24T17:37:24.055Z] [ 84%] Linking C executable device-gyro [2023-05-24T17:37:24.326Z] [ 84%] Built target device-gyro [2023-05-24T17:37:24.326Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-24T17:37:24.924Z] [ 88%] Linking C executable device-bitfields [2023-05-24T17:37:25.191Z] [ 88%] Built target device-bitfields [2023-05-24T17:37:25.191Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-24T17:37:25.777Z] [ 92%] Linking C executable template-discovery [2023-05-24T17:37:26.043Z] [ 92%] Built target template-discovery [2023-05-24T17:37:26.043Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-24T17:37:26.308Z] [ 96%] Linking C executable device-file [2023-05-24T17:37:26.893Z] [ 96%] Built target device-file [2023-05-24T17:37:26.893Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-24T17:37:27.475Z] [100%] Linking C executable device-terminal [2023-05-24T17:37:27.743Z] [100%] Built target device-terminal [2023-05-24T17:37:27.743Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:27.743Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:27.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:27.743Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:27.743Z] [ 68%] Built target csdk [2023-05-24T17:37:27.743Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] [ 72%] Built target template [2023-05-24T17:37:28.009Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] [ 76%] Built target device-counter [2023-05-24T17:37:28.009Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] [ 80%] Built target device-random [2023-05-24T17:37:28.009Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] [ 84%] Built target device-gyro [2023-05-24T17:37:28.009Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.009Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] [ 88%] Built target device-bitfields [2023-05-24T17:37:28.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] [ 92%] Built target template-discovery [2023-05-24T17:37:28.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] [ 96%] Built target device-file [2023-05-24T17:37:28.277Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] [100%] Built target device-terminal [2023-05-24T17:37:28.277Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:28.277Z] Install the project... [2023-05-24T17:37:28.277Z] -- Install configuration: "Release" [2023-05-24T17:37:28.277Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-24T17:37:28.547Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/devsdk [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-24T17:37:28.547Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-24T17:37:28.547Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-24T17:37:29.960Z] Removing intermediate container c1cf12b940db [2023-05-24T17:37:29.960Z] ---> 1cd890a7bafa [2023-05-24T17:37:29.960Z] Step 14/21 : FROM ${BASE} [2023-05-24T17:37:29.960Z] ---> 295cd00e64f4 [2023-05-24T17:37:29.960Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-24T17:37:29.960Z] ---> Running in aded9e0a6f48 [2023-05-24T17:37:30.228Z] Removing intermediate container aded9e0a6f48 [2023-05-24T17:37:30.229Z] ---> 62f4e14dc4f9 [2023-05-24T17:37:30.229Z] 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-05-24T17:37:30.229Z] ---> Running in 42b6b5f205eb [2023-05-24T17:37:31.188Z] Connecting to iotech.jfrog.io (52.19.119.212:443) [2023-05-24T17:37:31.454Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:37:31.454Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:37:31.454Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:37:32.420Z] Removing intermediate container 42b6b5f205eb [2023-05-24T17:37:32.420Z] ---> 95ccaec391d6 [2023-05-24T17:37:32.420Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:37:32.420Z] ---> Running in 6e44f48826e6 [2023-05-24T17:37:33.843Z] Removing intermediate container 6e44f48826e6 [2023-05-24T17:37:33.843Z] ---> 4bb809ed685a [2023-05-24T17:37:33.843Z] 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-05-24T17:37:33.843Z] ---> Running in 86c2ee27e094 [2023-05-24T17:37:34.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:35.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:35.654Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:36.611Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:37:36.611Z] (1/7) Installing curl (8.1.1-r0) [2023-05-24T17:37:36.611Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-24T17:37:36.611Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-24T17:37:36.611Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-24T17:37:37.569Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-24T17:37:37.569Z] (6/7) Installing libuuid (2.38-r1) [2023-05-24T17:37:37.569Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-24T17:37:38.530Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:37:38.530Z] OK: 281 MiB in 83 packages [2023-05-24T17:37:39.489Z] Removing intermediate container 86c2ee27e094 [2023-05-24T17:37:39.489Z] ---> 283341e4812c [2023-05-24T17:37:39.489Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-24T17:37:40.071Z] ---> baf2ce449e57 [2023-05-24T17:37:40.071Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-24T17:37:40.339Z] ---> 1463b74352c6 [2023-05-24T17:37:40.339Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-24T17:37:40.922Z] ---> 0bc15d66afce [2023-05-24T17:37:40.922Z] Successfully built 0bc15d66afce [2023-05-24T17:37:40.922Z] 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-05-24T17:37:41.615Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T17:37:41.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:37:41.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-16734 does not seem to be running inside a container [2023-05-24T17:37:41.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-24T17:37:43.095Z] $ docker top 8e972802288bf4ede78ebdd2a2c371010e5bf6939c613b4a1b83f1da5bbe2237 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:37:43.965Z] + make test [2023-05-24T17:37:43.966Z] echo "make test" [2023-05-24T17:37:43.966Z] make test [Pipeline] } [2023-05-24T17:37:44.001Z] $ docker stop --time=1 8e972802288bf4ede78ebdd2a2c371010e5bf6939c613b4a1b83f1da5bbe2237 [2023-05-24T17:37:45.588Z] $ docker rm -f --volumes 8e972802288bf4ede78ebdd2a2c371010e5bf6939c613b4a1b83f1da5bbe2237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T17:37:46.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T17:37:46.710Z] + ls -al . [2023-05-24T17:37:46.711Z] total 208 [2023-05-24T17:37:46.711Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 17:35 . [2023-05-24T17:37:46.711Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:35 .. [2023-05-24T17:37:46.711Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 17:35 .git [2023-05-24T17:37:46.711Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:35 .github [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 176 May 24 17:35 .gitignore [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 24 17:35 Attribution.txt [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 9209 May 24 17:35 CHANGES [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 24 17:35 Doxyfile [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 17:35 GOVERNANCE.md [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 784 May 24 17:35 Jenkinsfile [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 24 17:35 LICENSE [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 444 May 24 17:35 Makefile [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 618 May 24 17:35 OWNERS.md [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 24 17:35 README.IOT.md [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 24 17:35 README.md [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 24 17:35 README.v3.md [2023-05-24T17:37:46.711Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 17:33 VERSION [2023-05-24T17:37:46.711Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:35 docs [2023-05-24T17:37:46.711Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:35 include [2023-05-24T17:37:46.711Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 17:35 scripts [2023-05-24T17:37:46.711Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 17:35 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:37:47.119Z] + 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=40dfb381f72cef7a0fa08e6432f34052f53b2ee7 --label arch=arm64 --label version=0.0.0 . [2023-05-24T17:37:47.386Z] Sending build context to Docker daemon 2.914MB [2023-05-24T17:37:47.386Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-24T17:37:47.386Z] Step 2/17 : FROM ${BASE} [2023-05-24T17:37:47.386Z] ---> 0bc15d66afce [2023-05-24T17:37:47.386Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-24T17:37:47.652Z] ---> Running in fde545796b9c [2023-05-24T17:37:47.918Z] Removing intermediate container fde545796b9c [2023-05-24T17:37:47.918Z] ---> a8df5744a729 [2023-05-24T17:37:47.918Z] 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-05-24T17:37:47.918Z] ---> Running in 88dcb3877c08 [2023-05-24T17:37:48.877Z] Connecting to iotech.jfrog.io (52.18.110.136:443) [2023-05-24T17:37:49.143Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-24T17:37:49.143Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-24T17:37:49.143Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-24T17:37:51.080Z] Removing intermediate container 88dcb3877c08 [2023-05-24T17:37:51.080Z] ---> 54b1e8ff54fc [2023-05-24T17:37:51.080Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-24T17:37:51.080Z] ---> Running in 0a63d743a510 [2023-05-24T17:37:52.488Z] Removing intermediate container 0a63d743a510 [2023-05-24T17:37:52.488Z] ---> bbbadc837dd9 [2023-05-24T17:37:52.488Z] 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-05-24T17:37:52.488Z] ---> Running in 99de4e41fbb4 [2023-05-24T17:37:53.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:53.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:54.305Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-24T17:37:55.263Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-24T17:37:55.263Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-24T17:37:55.530Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-24T17:37:55.530Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-24T17:37:55.799Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-24T17:37:55.799Z] (5/9) Installing libblkid (2.38-r1) [2023-05-24T17:37:55.799Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-24T17:37:55.799Z] (7/9) Installing libmount (2.38-r1) [2023-05-24T17:37:55.799Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-24T17:37:55.799Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-24T17:37:55.799Z] Executing busybox-1.35.0-r17.trigger [2023-05-24T17:37:55.799Z] OK: 287 MiB in 92 packages [2023-05-24T17:37:57.217Z] Removing intermediate container 99de4e41fbb4 [2023-05-24T17:37:57.217Z] ---> e29dd351c6fc [2023-05-24T17:37:57.217Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-24T17:37:57.482Z] ---> 16c91d6cf520 [2023-05-24T17:37:57.482Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-24T17:37:58.065Z] ---> 5a122094aa9e [2023-05-24T17:37:58.065Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-24T17:37:58.648Z] ---> 33b323cc2d1b [2023-05-24T17:37:58.648Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-24T17:37:59.230Z] ---> 038319143262 [2023-05-24T17:37:59.230Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-24T17:37:59.813Z] ---> fa516a6e2101 [2023-05-24T17:37:59.813Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-24T17:38:00.083Z] ---> afd03d629ae0 [2023-05-24T17:38:00.083Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-24T17:38:00.350Z] ---> Running in e7e1ffe6ff78 [2023-05-24T17:38:00.618Z] Removing intermediate container e7e1ffe6ff78 [2023-05-24T17:38:00.618Z] ---> 28427a73bc60 [2023-05-24T17:38:00.618Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-24T17:38:00.618Z] ---> Running in 930748e57401 [2023-05-24T17:38:00.886Z] Removing intermediate container 930748e57401 [2023-05-24T17:38:00.886Z] ---> 6de52e679e49 [2023-05-24T17:38:00.886Z] Step 15/17 : LABEL arch=arm64 [2023-05-24T17:38:01.154Z] ---> Running in eecd047c3ecd [2023-05-24T17:38:01.421Z] Removing intermediate container eecd047c3ecd [2023-05-24T17:38:01.421Z] ---> 1450868ceea0 [2023-05-24T17:38:01.421Z] Step 16/17 : LABEL git_sha=40dfb381f72cef7a0fa08e6432f34052f53b2ee7 [2023-05-24T17:38:01.421Z] ---> Running in d1ab4e4dddb5 [2023-05-24T17:38:01.689Z] Removing intermediate container d1ab4e4dddb5 [2023-05-24T17:38:01.689Z] ---> 124e55f3705d [2023-05-24T17:38:01.689Z] Step 17/17 : LABEL version=0.0.0 [2023-05-24T17:38:01.689Z] ---> Running in b3fefdd7f5d5 [2023-05-24T17:38:01.959Z] Removing intermediate container b3fefdd7f5d5 [2023-05-24T17:38:01.959Z] ---> 878e5c9e113c [2023-05-24T17:38:02.225Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-24T17:38:02.225Z] Successfully built 878e5c9e113c [2023-05-24T17:38:02.225Z] 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-05-24T17:38:02.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T17:38:02.994Z] [2023-05-24T17:38:02.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:38:03.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T17:38:03.673Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T17:38:03.673Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T17:38:03.673Z] 04944245beec: Pulling fs layer [2023-05-24T17:38:03.673Z] 699f458cf7ca: Pulling fs layer [2023-05-24T17:38:03.673Z] 765212b225bb: Pulling fs layer [2023-05-24T17:38:03.673Z] f23df028b6ca: Pulling fs layer [2023-05-24T17:38:03.673Z] 765212b225bb: Waiting [2023-05-24T17:38:03.673Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T17:38:03.673Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T17:38:03.673Z] f23df028b6ca: Waiting [2023-05-24T17:38:03.673Z] d65c8cfc05b1: Waiting [2023-05-24T17:38:03.673Z] 04944245beec: Verifying Checksum [2023-05-24T17:38:03.673Z] 04944245beec: Download complete [2023-05-24T17:38:03.673Z] 765212b225bb: Verifying Checksum [2023-05-24T17:38:03.673Z] 765212b225bb: Download complete [2023-05-24T17:38:03.673Z] f23df028b6ca: Download complete [2023-05-24T17:38:03.673Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T17:38:03.673Z] d65c8cfc05b1: Download complete [2023-05-24T17:38:03.941Z] 699f458cf7ca: Verifying Checksum [2023-05-24T17:38:03.941Z] 699f458cf7ca: Download complete [2023-05-24T17:38:04.208Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T17:38:04.208Z] 8998bd30e6a1: Download complete [2023-05-24T17:38:06.148Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T17:38:06.148Z] 2437ff75d9bd: Download complete [2023-05-24T17:38:08.090Z] 8998bd30e6a1: Pull complete [2023-05-24T17:38:08.090Z] 04944245beec: Pull complete [2023-05-24T17:38:09.495Z] 699f458cf7ca: Pull complete [2023-05-24T17:38:09.495Z] 765212b225bb: Pull complete [2023-05-24T17:38:10.076Z] f23df028b6ca: Pull complete [2023-05-24T17:38:10.341Z] d65c8cfc05b1: Pull complete [2023-05-24T17:38:22.642Z] 2437ff75d9bd: Pull complete [2023-05-24T17:38:22.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T17:38:22.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T17:38:22.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:38:22.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-16734 does not seem to be running inside a container [2023-05-24T17:38:23.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-24T17:38:25.487Z] $ docker top a39ff8f0e88e6ea357284b664185d6abcbc4d1eb6ab925425ebc1b168b53f028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:26.048Z] ---> job-cost.sh [2023-05-24T17:38:26.331Z] lf-activate-venv: SKIPPING [2023-05-24T17:38:26.331Z] INFO: No Stack... [2023-05-24T17:38:26.596Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T17:38:27.551Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T17:38:27.890Z] + cut -d, -f6 [2023-05-24T17:38:27.890Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-05-24T17:38:27.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [2023-05-24T17:38:27.962Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] did not exist. Created. [2023-05-24T17:38:27.962Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T17:38:28.349Z] /w/workspace/device-sdk-c/1@tmp/durable-a68ac531/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T17:38:28.697Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T17:38:28.732Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T17:38:29.236Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T17:38:29.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T17:38:29.333Z] $ docker stop --time=1 a39ff8f0e88e6ea357284b664185d6abcbc4d1eb6ab925425ebc1b168b53f028 [2023-05-24T17:38:30.841Z] $ docker rm -f --volumes a39ff8f0e88e6ea357284b664185d6abcbc4d1eb6ab925425ebc1b168b53f028 [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-05-24T17:38:32.455Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives ] [2023-05-24T17:38:32.455Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives [2023-05-24T17:38:32.455Z] total 16 [2023-05-24T17:38:32.455Z] drwxr-xr-x 3 root root 4096 May 24 17:34 . [2023-05-24T17:38:32.455Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 17:34 .. [2023-05-24T17:38:32.455Z] drwxr-xr-x 2 root root 4096 May 24 17:34 cost [2023-05-24T17:38:32.455Z] -rw-r--r-- 1 root root 84 May 24 17:34 cost.csv [2023-05-24T17:38:32.455Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives [2023-05-24T17:38:32.455Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives [2023-05-24T17:38:32.455Z] total 16 [2023-05-24T17:38:32.455Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 17:34 . [2023-05-24T17:38:32.455Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 17:34 .. [2023-05-24T17:38:32.455Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 17:34 cost [2023-05-24T17:38:32.455Z] -rw-r--r-- 1 jenkins jenkins 84 May 24 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:32.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:33.671Z] ---> package-listing.sh [2023-05-24T17:38:33.671Z] ++ facter osfamily [2023-05-24T17:38:33.671Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T17:38:33.931Z] + OS_FAMILY=debian [2023-05-24T17:38:33.931Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-457 [2023-05-24T17:38:33.931Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T17:38:33.931Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T17:38:33.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T17:38:33.931Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T17:38:33.931Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-457 ']' [2023-05-24T17:38:33.931Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T17:38:33.931Z] + case "${OS_FAMILY}" in [2023-05-24T17:38:33.931Z] + grep '^ii' [2023-05-24T17:38:33.931Z] + dpkg -l [2023-05-24T17:38:33.931Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T17:38:33.931Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T17:38:33.931Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T17:38:33.931Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-457 ']' [2023-05-24T17:38:33.931Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives/ [2023-05-24T17:38:33.931Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-457/archives/ [Pipeline] echo [2023-05-24T17:38:33.960Z] 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-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-24T17:38:34.250Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T17:38:34.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T17:38:34.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T17:38:35.008Z] prd-ubuntu20.04-docker-8c-8g-16732 does not seem to be running inside a container [2023-05-24T17:38:35.051Z] $ 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-457/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-457 -v /w/workspace/edgexfoundry_device-sdk-c_PR-457:/w/workspace/edgexfoundry_device-sdk-c_PR-457:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T17:38:35.252Z] $ docker top cac84e1c06e182abcbf7baf66fc75fe1d29c0eb3cc69020f4b9224ba35d69b4d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T17:38:35.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T17:38:35.929Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T17:38:36.240Z] + ls /var/log/sa-host [2023-05-24T17:38:36.240Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T17:38:36.383Z] provisioning config files... [2023-05-24T17:38:36.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-457@tmp/config14430256151886512895tmp [Pipeline] { [Pipeline] echo [2023-05-24T17:38:36.447Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:36.761Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T17:38:36.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:37.196Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T17:38:37.229Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:37.540Z] ---> sudo-logs.sh [2023-05-24T17:38:37.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T17:38:37.626Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:37.940Z] ---> job-cost.sh [2023-05-24T17:38:37.940Z] lf-activate-venv: SKIPPING [2023-05-24T17:38:37.940Z] DEBUG: total: 0.2199999988079071 [2023-05-24T17:38:37.940Z] INFO: Retrieving Stack Cost... [2023-05-24T17:38:38.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T17:38:38.771Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T17:38:38.807Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T17:38:39.118Z] ---> logs-deploy.sh [2023-05-24T17:38:39.118Z] lf-activate-venv: SKIPPING [2023-05-24T17:38:39.118Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-457/1 [2023-05-24T17:38:39.118Z] INFO: archiving workspace using pattern(s): [2023-05-24T17:38:40.059Z] Archives upload complete. [2023-05-24T17:38:40.059Z] INFO: archiving logs to Nexus