Pull request #440 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2707c1bb6520bc1acd51e1bf382624f68293194f+60c720530b7232d7be6f88f4d69bf42c6efbb654 (bed1ab4d8e573020e0322f4b87593c1e03fd0823) 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-ssh12964718977706860195.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15644737463155348563.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6573903847644716359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1019352281937057845.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12416246733655927686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5114 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [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-440 # 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 2707c1bb6520bc1acd51e1bf382624f68293194f Merge succeeded, producing 2707c1bb6520bc1acd51e1bf382624f68293194f Checking out Revision 2707c1bb6520bc1acd51e1bf382624f68293194f (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f 2707c1bb6520bc1acd51e1bf382624f68293194f # 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 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2707c1bb6520bc1acd51e1bf382624f68293194f # timeout=10 Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config, the code for sending event via core-data REST client and the Clients.core-data dependency (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-08T13:50:47.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-08T13:50:47.994Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-08T13:50:48.011Z] ========================================================= [2023-02-08T13:50:48.011Z] EdgeX Global Pipelines Version Info [2023-02-08T13:50:48.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 [2023-02-08T13:50:48.734Z] ------------------- [2023-02-08T13:50:48.734Z] stable info: [2023-02-08T13:50:48.734Z] ------------------- [2023-02-08T13:50:48.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-08T13:50:48.734Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T13:50:48.734Z] Message: update stable to v1.0.244 [2023-02-08T13:50:49.304Z] ------------------- [2023-02-08T13:50:49.304Z] experimental info: [2023-02-08T13:50:49.304Z] ------------------- [2023-02-08T13:50:49.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-08T13:50:49.304Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T13:50:49.304Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-08T13:50:49.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-02-08T13:50:49.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-02-08T13:50:49.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-08T13:50:49.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-08T13:50:49.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-08T13:50:49.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-02-08T13:50:49.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-02-08T13:50:49.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-08T13:50:49.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-08T13:50:49.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-02-08T13:50:49.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-08T13:50:49.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-08T13:50:49.624Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-08T13:50:49.638Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-08T13:50:49.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-08T13:50:49.661Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-08T13:50:49.672Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-08T13:50:49.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo [2023-02-08T13:50:49.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo [2023-02-08T13:50:49.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo [2023-02-08T13:50:49.718Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2707c1bb6520bc1acd51e1bf382624f68293194f [Pipeline] echo [2023-02-08T13:50:49.727Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2707c1b [Pipeline] echo [2023-02-08T13:50:49.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T13:50:49.770Z] provisioning config files... [2023-02-08T13:50:49.781Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config10470505833040517020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:50:50.117Z] ---> docker-login.sh [2023-02-08T13:50:50.117Z] nexus3.edgexfoundry.org:10001 [2023-02-08T13:50:50.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:50:50.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:50:50.650Z] Configure a credential helper to remove this warning. See [2023-02-08T13:50:50.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:50:50.650Z] [2023-02-08T13:50:50.650Z] Login Succeeded [2023-02-08T13:50:50.650Z] nexus3.edgexfoundry.org:10002 [2023-02-08T13:50:50.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:50:50.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:50:50.650Z] Configure a credential helper to remove this warning. See [2023-02-08T13:50:50.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:50:50.650Z] [2023-02-08T13:50:50.650Z] Login Succeeded [2023-02-08T13:50:50.650Z] nexus3.edgexfoundry.org:10003 [2023-02-08T13:50:50.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:50:50.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:50:50.910Z] Configure a credential helper to remove this warning. See [2023-02-08T13:50:50.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:50:50.910Z] [2023-02-08T13:50:50.910Z] Login Succeeded [2023-02-08T13:50:50.910Z] nexus3.edgexfoundry.org:10004 [2023-02-08T13:50:50.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:50:50.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:50:50.910Z] Configure a credential helper to remove this warning. See [2023-02-08T13:50:50.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:50:50.910Z] [2023-02-08T13:50:50.910Z] Login Succeeded [2023-02-08T13:50:50.910Z] docker.io [2023-02-08T13:50:50.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:50:51.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:50:51.168Z] Configure a credential helper to remove this warning. See [2023-02-08T13:50:51.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:50:51.168Z] [2023-02-08T13:50:51.168Z] Login Succeeded [2023-02-08T13:50:51.168Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T13:50:51.175Z] 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-02-08T13:50:51.522Z] + git rev-list -1 --merges 2707c1bb6520bc1acd51e1bf382624f68293194f~1..2707c1bb6520bc1acd51e1bf382624f68293194f [Pipeline] echo [2023-02-08T13:50:51.564Z] -----------> git rev-list -1 --merges 2707c1bb6520bc1acd51e1bf382624f68293194f~1..2707c1bb6520bc1acd51e1bf382624f68293194f 2707c1bb6520bc1acd51e1bf382624f68293194f [false] [Pipeline] sh [2023-02-08T13:50:51.848Z] + git log --format=format:%s -1 2707c1bb6520bc1acd51e1bf382624f68293194f [Pipeline] echo [2023-02-08T13:50:51.863Z] ========================================================= [2023-02-08T13:50:51.863Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-08T13:50:51.863Z] ========================================================= 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-02-08T13:50:52.247Z] + git rev-list -1 --merges 2707c1bb6520bc1acd51e1bf382624f68293194f~1..2707c1bb6520bc1acd51e1bf382624f68293194f [Pipeline] echo [2023-02-08T13:50:52.256Z] -----------> git rev-list -1 --merges 2707c1bb6520bc1acd51e1bf382624f68293194f~1..2707c1bb6520bc1acd51e1bf382624f68293194f 2707c1bb6520bc1acd51e1bf382624f68293194f [false] [Pipeline] sh [2023-02-08T13:50:52.541Z] + git log --format=format:%s -1 2707c1bb6520bc1acd51e1bf382624f68293194f [Pipeline] echo [2023-02-08T13:50:52.553Z] ========================================================= [2023-02-08T13:50:52.553Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-08T13:50:52.553Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-02-08T13:50:52.961Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-08T13:50:52.961Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-08T13:50:52.961Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-08T13:50:52.961Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-08T13:50:52.962Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-08T13:50:52.962Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-08T13:50:52.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:50:53.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T13:50:53.323Z] [2023-02-08T13:50:53.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:50:53.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T13:50:53.632Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-08T13:50:53.632Z] b85a868b505f: Pulling fs layer [2023-02-08T13:50:53.632Z] e2be974225ed: Pulling fs layer [2023-02-08T13:50:53.632Z] 339a4e72a1f5: Pulling fs layer [2023-02-08T13:50:53.632Z] 988bab9f4d93: Pulling fs layer [2023-02-08T13:50:53.632Z] 1469e6f7b9e6: Pulling fs layer [2023-02-08T13:50:53.632Z] eaf3925da568: Pulling fs layer [2023-02-08T13:50:53.632Z] bab4dde63d76: Pulling fs layer [2023-02-08T13:50:53.632Z] bde34c3a00c8: Pulling fs layer [2023-02-08T13:50:53.632Z] b352a97aabf1: Pulling fs layer [2023-02-08T13:50:53.632Z] 4872d77fe225: Pulling fs layer [2023-02-08T13:50:53.632Z] 5851b861e8e6: Pulling fs layer [2023-02-08T13:50:53.632Z] b352a97aabf1: Waiting [2023-02-08T13:50:53.632Z] bab4dde63d76: Waiting [2023-02-08T13:50:53.632Z] bde34c3a00c8: Waiting [2023-02-08T13:50:53.632Z] 5851b861e8e6: Waiting [2023-02-08T13:50:53.632Z] eaf3925da568: Waiting [2023-02-08T13:50:53.632Z] 1469e6f7b9e6: Waiting [2023-02-08T13:50:53.632Z] 988bab9f4d93: Waiting [2023-02-08T13:50:53.632Z] 4872d77fe225: Waiting [2023-02-08T13:50:53.632Z] e2be974225ed: Verifying Checksum [2023-02-08T13:50:53.632Z] e2be974225ed: Download complete [2023-02-08T13:50:53.632Z] 988bab9f4d93: Verifying Checksum [2023-02-08T13:50:53.632Z] 988bab9f4d93: Download complete [2023-02-08T13:50:53.903Z] 1469e6f7b9e6: Verifying Checksum [2023-02-08T13:50:53.903Z] 1469e6f7b9e6: Download complete [2023-02-08T13:50:53.903Z] eaf3925da568: Verifying Checksum [2023-02-08T13:50:53.903Z] eaf3925da568: Download complete [2023-02-08T13:50:54.182Z] 339a4e72a1f5: Verifying Checksum [2023-02-08T13:50:54.182Z] 339a4e72a1f5: Download complete [2023-02-08T13:50:54.182Z] bde34c3a00c8: Verifying Checksum [2023-02-08T13:50:54.182Z] bde34c3a00c8: Download complete [2023-02-08T13:50:54.182Z] b352a97aabf1: Verifying Checksum [2023-02-08T13:50:54.182Z] b352a97aabf1: Download complete [2023-02-08T13:50:54.182Z] 4872d77fe225: Verifying Checksum [2023-02-08T13:50:54.182Z] 4872d77fe225: Download complete [2023-02-08T13:50:54.443Z] b85a868b505f: Verifying Checksum [2023-02-08T13:50:54.443Z] b85a868b505f: Download complete [2023-02-08T13:50:54.443Z] 5851b861e8e6: Verifying Checksum [2023-02-08T13:50:54.443Z] 5851b861e8e6: Download complete [2023-02-08T13:50:54.702Z] bab4dde63d76: Verifying Checksum [2023-02-08T13:50:54.702Z] bab4dde63d76: Download complete [2023-02-08T13:50:55.639Z] b85a868b505f: Pull complete [2023-02-08T13:50:55.639Z] e2be974225ed: Pull complete [2023-02-08T13:50:55.900Z] 339a4e72a1f5: Pull complete [2023-02-08T13:50:56.159Z] 988bab9f4d93: Pull complete [2023-02-08T13:50:56.418Z] 1469e6f7b9e6: Pull complete [2023-02-08T13:50:56.418Z] eaf3925da568: Pull complete [2023-02-08T13:50:58.952Z] bab4dde63d76: Pull complete [2023-02-08T13:50:58.952Z] bde34c3a00c8: Pull complete [2023-02-08T13:50:59.210Z] b352a97aabf1: Pull complete [2023-02-08T13:50:59.210Z] 4872d77fe225: Pull complete [2023-02-08T13:50:59.469Z] 5851b861e8e6: Pull complete [2023-02-08T13:50:59.469Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-08T13:50:59.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T13:50:59.469Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:50:59.563Z] prd-ubuntu20.04-docker-8c-8g-5114 does not seem to be running inside a container [2023-02-08T13:50:59.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-08T13:51:01.070Z] $ docker top d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 -eo pid,comm [2023-02-08T13:51:01.132Z] 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-02-08T13:51:01.132Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-08T13:51:01.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T13:51:01.164Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T13:51:01.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T13:51:01.271Z] $ docker exec d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 ssh-agent [2023-02-08T13:51:01.372Z] SSH_AUTH_SOCK=/tmp/ssh-52AR8pQ42ea0/agent.33 [2023-02-08T13:51:01.372Z] SSH_AGENT_PID=39 [2023-02-08T13:51:01.378Z] Running ssh-add (command line suppressed) [2023-02-08T13:51:01.490Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_14735671536574512171.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_14735671536574512171.key) [2023-02-08T13:51:01.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T13:51:01.785Z] + git tag --points-at HEAD [Pipeline] } [2023-02-08T13:51:01.796Z] $ docker exec --env ******** --env ******** d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 ssh-agent -k [2023-02-08T13:51:01.908Z] unset SSH_AUTH_SOCK; [2023-02-08T13:51:01.908Z] unset SSH_AGENT_PID; [2023-02-08T13:51:01.908Z] echo Agent pid 39 killed; [2023-02-08T13:51:01.916Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-08T13:51:01.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T13:51:01.937Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T13:51:02.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T13:51:02.058Z] $ docker exec d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 ssh-agent [2023-02-08T13:51:02.167Z] SSH_AUTH_SOCK=/tmp/ssh-GlkD96jftnZc/agent.71 [2023-02-08T13:51:02.167Z] SSH_AGENT_PID=77 [2023-02-08T13:51:02.172Z] Running ssh-add (command line suppressed) [2023-02-08T13:51:02.271Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_18117666284865508460.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_18117666284865508460.key) [2023-02-08T13:51:02.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T13:51:02.565Z] + git semver init [2023-02-08T13:51:02.823Z] 2023-02-08 13:51:02,767 [run_init] DEBUG init version:0.0.0 force:False [2023-02-08T13:51:02.823Z] 2023-02-08 13:51:02,767 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver [2023-02-08T13:51:02.823Z] 2023-02-08 13:51:02,768 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver [2023-02-08T13:51:02.823Z] 2023-02-08 13:51:02,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440, universal_newlines=False, shell=None, istream=None) [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,847 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.git/info/exclude [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,848 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 with force:False [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,848 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,853 [execute] INFO git cat-file --batch-check [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,864 [execute] INFO git cat-file --batch [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T13:51:04.200Z] 2023-02-08 13:51:03,871 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 [2023-02-08T13:51:04.200Z] 0.0.0 [Pipeline] } [2023-02-08T13:51:04.212Z] $ docker exec --env ******** --env ******** d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 ssh-agent -k [2023-02-08T13:51:04.309Z] unset SSH_AUTH_SOCK; [2023-02-08T13:51:04.310Z] unset SSH_AGENT_PID; [2023-02-08T13:51:04.310Z] echo Agent pid 77 killed; [2023-02-08T13:51:04.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-08T13:51:04.622Z] + git semver [Pipeline] } [2023-02-08T13:51:04.894Z] $ docker stop --time=1 d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 [2023-02-08T13:51:06.957Z] $ docker rm -f --volumes d0bdf32184d6710d39f54d934397360d0b90aa562ccd9b7df73bf4e5187a6896 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T13:51:07.552Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-08T13:51:07.748Z] Stashed 1 file(s) [Pipeline] echo [2023-02-08T13:51:07.751Z] [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-02-08T13:51:07.874Z] provisioning config files... [2023-02-08T13:51:07.882Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config1645789903202833192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:51:08.175Z] ---> docker-login.sh [2023-02-08T13:51:08.175Z] nexus3.edgexfoundry.org:10001 [2023-02-08T13:51:08.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:51:08.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:51:08.175Z] Configure a credential helper to remove this warning. See [2023-02-08T13:51:08.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:51:08.175Z] [2023-02-08T13:51:08.175Z] Login Succeeded [2023-02-08T13:51:08.175Z] nexus3.edgexfoundry.org:10002 [2023-02-08T13:51:08.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:51:08.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:51:08.175Z] Configure a credential helper to remove this warning. See [2023-02-08T13:51:08.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:51:08.175Z] [2023-02-08T13:51:08.175Z] Login Succeeded [2023-02-08T13:51:08.175Z] nexus3.edgexfoundry.org:10003 [2023-02-08T13:51:08.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:51:08.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:51:08.435Z] Configure a credential helper to remove this warning. See [2023-02-08T13:51:08.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:51:08.435Z] [2023-02-08T13:51:08.435Z] Login Succeeded [2023-02-08T13:51:08.435Z] nexus3.edgexfoundry.org:10004 [2023-02-08T13:51:08.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:51:08.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:51:08.435Z] Configure a credential helper to remove this warning. See [2023-02-08T13:51:08.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:51:08.435Z] [2023-02-08T13:51:08.435Z] Login Succeeded [2023-02-08T13:51:08.435Z] docker.io [2023-02-08T13:51:08.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:51:08.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:51:08.693Z] Configure a credential helper to remove this warning. See [2023-02-08T13:51:08.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:51:08.693Z] [2023-02-08T13:51:08.693Z] Login Succeeded [2023-02-08T13:51:08.693Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T13:51:08.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T13:51:08.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T13:51:08.764Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-02-08T13:51:08.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T13:51:08.778Z] ========================================================= [2023-02-08T13:51:08.778Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-02-08T13:51:08.778Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:51:09.071Z] + 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-02-08T13:51:09.071Z] Sending build context to Docker daemon 4.764MB [2023-02-08T13:51:09.071Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-08T13:51:09.071Z] Step 2/21 : FROM ${BASE} as builder [2023-02-08T13:51:09.333Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-02-08T13:51:09.333Z] 213ec9aee27d: Pulling fs layer [2023-02-08T13:51:09.333Z] 0f09ad1b1b37: Pulling fs layer [2023-02-08T13:51:09.333Z] 213ec9aee27d: Verifying Checksum [2023-02-08T13:51:09.595Z] 213ec9aee27d: Pull complete [2023-02-08T13:51:10.163Z] 0f09ad1b1b37: Verifying Checksum [2023-02-08T13:51:10.163Z] 0f09ad1b1b37: Download complete [2023-02-08T13:51:12.688Z] 0f09ad1b1b37: Pull complete [2023-02-08T13:51:12.688Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-02-08T13:51:12.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-02-08T13:51:12.688Z] ---> b2bbfebb3566 [2023-02-08T13:51:12.688Z] 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-02-08T13:51:13.623Z] ---> Running in cb9f9b823f08 [2023-02-08T13:51:13.882Z] Connecting to iotech.jfrog.io (34.249.42.153:443) [2023-02-08T13:51:14.451Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:51:14.451Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:51:14.451Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:51:16.365Z] Removing intermediate container cb9f9b823f08 [2023-02-08T13:51:16.365Z] ---> 05145f5c384b [2023-02-08T13:51:16.365Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:51:17.310Z] ---> Running in 1c7572b417de [2023-02-08T13:51:19.866Z] Removing intermediate container 1c7572b417de [2023-02-08T13:51:19.866Z] ---> ab4645a7d704 [2023-02-08T13:51:19.866Z] 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.4-dev hiredis-dev [2023-02-08T13:51:20.451Z] ---> Running in b4d5b6e9a842 [2023-02-08T13:51:21.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:21.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:22.274Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:22.537Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:51:22.537Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-08T13:51:22.819Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-08T13:51:22.819Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-08T13:51:22.843Z] Still waiting to schedule task [2023-02-08T13:51:22.844Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-08T13:51:23.773Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-08T13:51:23.773Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-08T13:51:23.773Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-08T13:51:23.773Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-08T13:51:23.773Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-08T13:51:25.382Z] (9/14) Installing libblkid (2.38-r1) [2023-02-08T13:51:25.382Z] (10/14) Installing libuuid (2.38-r1) [2023-02-08T13:51:25.382Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-08T13:51:25.382Z] (12/14) Installing libmount (2.38-r1) [2023-02-08T13:51:25.382Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-08T13:51:25.382Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-08T13:51:25.382Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:51:25.382Z] OK: 280 MiB in 90 packages [2023-02-08T13:51:27.922Z] Removing intermediate container b4d5b6e9a842 [2023-02-08T13:51:27.922Z] ---> 9a0dba4a4caf [2023-02-08T13:51:27.922Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-08T13:51:28.858Z] ---> Running in 766a449fc7d4 [2023-02-08T13:51:31.390Z] Removing intermediate container 766a449fc7d4 [2023-02-08T13:51:31.390Z] ---> 86ff444a8cea [2023-02-08T13:51:31.390Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-08T13:51:31.390Z] ---> 0288c501e962 [2023-02-08T13:51:31.390Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-08T13:51:31.649Z] ---> 74802678f5c4 [2023-02-08T13:51:31.649Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-08T13:51:31.907Z] ---> c4bd54b28503 [2023-02-08T13:51:31.908Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-08T13:51:31.908Z] ---> 9cf7c6659adc [2023-02-08T13:51:31.908Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-08T13:51:32.476Z] ---> bf3b15dc8caf [2023-02-08T13:51:32.476Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-08T13:51:32.750Z] ---> 055c2153ba43 [2023-02-08T13:51:32.750Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-08T13:51:32.750Z] ---> Running in 1ab253507419 [2023-02-08T13:51:33.317Z] + CPPCHECK=false [2023-02-08T13:51:33.317Z] + DOCGEN=false [2023-02-08T13:51:33.317Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-08T13:51:33.317Z] + TOMLVER=SDK-0.2 [2023-02-08T13:51:33.317Z] + CUTILVER=1.4 [2023-02-08T13:51:33.317Z] + '[' 0 -gt 0 ] [2023-02-08T13:51:33.317Z] + readlink -f ./scripts/build.sh [2023-02-08T13:51:33.317Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-08T13:51:33.317Z] + dirname /tmp/sdk/scripts [2023-02-08T13:51:33.317Z] + ROOT=/tmp/sdk [2023-02-08T13:51:33.317Z] + cd /tmp/sdk [2023-02-08T13:51:33.317Z] + '[' '!' -d deps ] [2023-02-08T13:51:33.317Z] + mkdir deps [2023-02-08T13:51:33.317Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-02-08T13:51:33.317Z] + tar -C deps -z -x -f - [2023-02-08T13:51:33.317Z] Connecting to github.com (140.82.112.3:443) [2023-02-08T13:51:33.317Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-02-08T13:51:33.576Z] writing to stdout [2023-02-08T13:51:33.576Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-08T13:51:33.576Z] written to stdout [2023-02-08T13:51:33.576Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-08T13:51:33.576Z] + mkdir -p /tmp/sdk/build/release [2023-02-08T13:51:33.576Z] + cd /tmp/sdk/build/release [2023-02-08T13:51:33.576Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-08T13:51:33.576Z] -- The C compiler identification is GNU 11.2.1 [2023-02-08T13:51:33.835Z] -- Detecting C compiler ABI info [2023-02-08T13:51:33.835Z] -- Detecting C compiler ABI info - done [2023-02-08T13:51:33.835Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-08T13:51:33.835Z] -- Detecting C compile features [2023-02-08T13:51:33.835Z] -- Detecting C compile features - done [2023-02-08T13:51:33.835Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-08T13:51:33.835Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-08T13:51:33.835Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-08T13:51:33.835Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-08T13:51:33.835Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-08T13:51:33.835Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-08T13:51:33.835Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-08T13:51:33.835Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-08T13:51:33.835Z] -- /opt/iotech/iot/1.4/include [2023-02-08T13:51:33.835Z] -- C SDK 0.0.0 for Linux [2023-02-08T13:51:33.835Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-08T13:51:33.835Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-08T13:51:34.094Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-08T13:51:34.094Z] -- Configuring done [2023-02-08T13:51:34.094Z] -- Generating done [2023-02-08T13:51:34.094Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-08T13:51:34.094Z] + make all package [2023-02-08T13:51:34.094Z] + tee release.log [2023-02-08T13:51:34.094Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-08T13:51:34.354Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-08T13:51:34.354Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-08T13:51:34.921Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-08T13:51:34.921Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-08T13:51:35.179Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-08T13:51:35.179Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-08T13:51:35.437Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-08T13:51:35.695Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-08T13:51:35.954Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-08T13:51:36.213Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-08T13:51:36.213Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-08T13:51:36.471Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-08T13:51:36.471Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-08T13:51:36.471Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-08T13:51:37.038Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-08T13:51:37.296Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-08T13:51:37.296Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-08T13:51:37.554Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-08T13:51:38.507Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-08T13:51:38.507Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-08T13:51:38.507Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-08T13:51:38.765Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-08T13:51:39.023Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-08T13:51:39.282Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-08T13:51:39.540Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-08T13:51:39.540Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-08T13:51:39.798Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-08T13:51:40.367Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-08T13:51:40.932Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-08T13:51:41.190Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-08T13:51:41.190Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-08T13:51:41.450Z] [ 67%] Linking C shared library libcsdk.so [2023-02-08T13:51:41.450Z] [ 67%] Built target csdk [2023-02-08T13:51:41.451Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-08T13:51:41.707Z] [ 71%] Linking C executable template [2023-02-08T13:51:41.707Z] [ 71%] Built target template [2023-02-08T13:51:41.707Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-08T13:51:41.966Z] [ 75%] Linking C executable device-counter [2023-02-08T13:51:41.966Z] [ 75%] Built target device-counter [2023-02-08T13:51:41.966Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-08T13:51:41.966Z] [ 79%] Linking C executable device-random [2023-02-08T13:51:42.227Z] [ 79%] Built target device-random [2023-02-08T13:51:42.227Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-08T13:51:42.227Z] [ 83%] Linking C executable device-gyro [2023-02-08T13:51:42.227Z] [ 83%] Built target device-gyro [2023-02-08T13:51:42.486Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-08T13:51:42.486Z] [ 87%] Linking C executable device-bitfields [2023-02-08T13:51:42.486Z] [ 87%] Built target device-bitfields [2023-02-08T13:51:42.486Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-08T13:51:42.755Z] [ 91%] Linking C executable template-discovery [2023-02-08T13:51:42.755Z] [ 91%] Built target template-discovery [2023-02-08T13:51:42.755Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-08T13:51:43.043Z] [ 95%] Linking C executable device-file [2023-02-08T13:51:43.043Z] [ 95%] Built target device-file [2023-02-08T13:51:43.043Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-08T13:51:43.302Z] [100%] Linking C executable device-terminal [2023-02-08T13:51:43.302Z] [100%] Built target device-terminal [2023-02-08T13:51:43.302Z] Run CPack packaging tool... [2023-02-08T13:51:43.302Z] CPack: Create package using TGZ [2023-02-08T13:51:43.302Z] CPack: Install projects [2023-02-08T13:51:43.302Z] CPack: - Run preinstall target for: Csdk [2023-02-08T13:51:43.570Z] CPack: - Install project: Csdk [] [2023-02-08T13:51:43.570Z] CPack: Create package [2023-02-08T13:51:43.570Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-08T13:51:43.570Z] + '[' false '=' true ] [2023-02-08T13:51:43.570Z] + '[' false '=' true ] [2023-02-08T13:51:43.570Z] + mkdir -p /tmp/sdk/build/debug [2023-02-08T13:51:43.570Z] + cd /tmp/sdk/build/debug [2023-02-08T13:51:43.570Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-08T13:51:43.570Z] -- The C compiler identification is GNU 11.2.1 [2023-02-08T13:51:43.570Z] -- Detecting C compiler ABI info [2023-02-08T13:51:43.831Z] -- Detecting C compiler ABI info - done [2023-02-08T13:51:43.831Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-08T13:51:43.831Z] -- Detecting C compile features [2023-02-08T13:51:43.831Z] -- Detecting C compile features - done [2023-02-08T13:51:43.831Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-08T13:51:43.831Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-08T13:51:43.831Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-08T13:51:43.831Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-08T13:51:43.831Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-08T13:51:43.831Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-08T13:51:43.831Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-08T13:51:43.831Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-08T13:51:43.831Z] -- /opt/iotech/iot/1.4/include [2023-02-08T13:51:43.831Z] -- C SDK 0.0.0 for Linux [2023-02-08T13:51:43.831Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-08T13:51:43.831Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-08T13:51:43.831Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-08T13:51:44.091Z] -- Configuring done [2023-02-08T13:51:44.091Z] -- Generating done [2023-02-08T13:51:44.091Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-08T13:51:44.091Z] + make [2023-02-08T13:51:44.091Z] + tee debug.log [2023-02-08T13:51:44.091Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-08T13:51:44.091Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-08T13:51:44.353Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-08T13:51:44.353Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-08T13:51:44.612Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-08T13:51:44.612Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-08T13:51:44.612Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-08T13:51:44.612Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-08T13:51:44.870Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-08T13:51:44.870Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-08T13:51:45.132Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-08T13:51:45.132Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-08T13:51:45.132Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-08T13:51:45.392Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-08T13:51:45.392Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-08T13:51:45.655Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-08T13:51:45.655Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-08T13:51:45.655Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-08T13:51:45.655Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-08T13:51:45.913Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-08T13:51:46.172Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-08T13:51:46.172Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-08T13:51:46.172Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-08T13:51:46.429Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-08T13:51:46.687Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-08T13:51:46.687Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-08T13:51:46.687Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-08T13:51:46.945Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-08T13:51:46.945Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-08T13:51:47.203Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-08T13:51:47.203Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-08T13:51:47.203Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-08T13:51:47.462Z] [ 67%] Linking C shared library libcsdk.so [2023-02-08T13:51:47.462Z] [ 67%] Built target csdk [2023-02-08T13:51:47.462Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-08T13:51:47.462Z] [ 71%] Linking C executable template [2023-02-08T13:51:47.721Z] [ 71%] Built target template [2023-02-08T13:51:47.721Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-08T13:51:47.721Z] [ 75%] Linking C executable device-counter [2023-02-08T13:51:47.721Z] [ 75%] Built target device-counter [2023-02-08T13:51:47.721Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-08T13:51:47.980Z] [ 79%] Linking C executable device-random [2023-02-08T13:51:47.980Z] [ 79%] Built target device-random [2023-02-08T13:51:47.980Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-08T13:51:47.980Z] [ 83%] Linking C executable device-gyro [2023-02-08T13:51:47.980Z] [ 83%] Built target device-gyro [2023-02-08T13:51:47.980Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-08T13:51:48.238Z] [ 87%] Linking C executable device-bitfields [2023-02-08T13:51:48.238Z] [ 87%] Built target device-bitfields [2023-02-08T13:51:48.238Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-08T13:51:48.238Z] [ 91%] Linking C executable template-discovery [2023-02-08T13:51:48.498Z] [ 91%] Built target template-discovery [2023-02-08T13:51:48.498Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-08T13:51:48.498Z] [ 95%] Linking C executable device-file [2023-02-08T13:51:48.498Z] [ 95%] Built target device-file [2023-02-08T13:51:48.498Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-08T13:51:48.757Z] [100%] Linking C executable device-terminal [2023-02-08T13:51:48.757Z] [100%] Built target device-terminal [2023-02-08T13:51:48.757Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 67%] Built target csdk [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 71%] Built target template [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 75%] Built target device-counter [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 79%] Built target device-random [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 83%] Built target device-gyro [2023-02-08T13:51:48.757Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:48.757Z] [ 87%] Built target device-bitfields [2023-02-08T13:51:49.016Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] [ 91%] Built target template-discovery [2023-02-08T13:51:49.016Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] [ 95%] Built target device-file [2023-02-08T13:51:49.016Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] [100%] Built target device-terminal [2023-02-08T13:51:49.016Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.016Z] Install the project... [2023-02-08T13:51:49.016Z] -- Install configuration: "Release" [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-08T13:51:49.016Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/devsdk [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-08T13:51:49.016Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-08T13:51:49.016Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:51:49.583Z] Removing intermediate container 1ab253507419 [2023-02-08T13:51:49.583Z] ---> fc8f660119c8 [2023-02-08T13:51:49.583Z] Step 14/21 : FROM ${BASE} [2023-02-08T13:51:49.583Z] ---> b2bbfebb3566 [2023-02-08T13:51:49.583Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-08T13:51:49.583Z] ---> Running in f704bc8fcd5a [2023-02-08T13:51:49.844Z] Removing intermediate container f704bc8fcd5a [2023-02-08T13:51:49.844Z] ---> ce9ac6c06caa [2023-02-08T13:51:49.844Z] 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-02-08T13:51:49.844Z] ---> Running in 42bf6267c1a9 [2023-02-08T13:51:50.102Z] Connecting to iotech.jfrog.io (52.49.66.18:443) [2023-02-08T13:51:50.361Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:51:50.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:51:50.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:51:50.620Z] Removing intermediate container 42bf6267c1a9 [2023-02-08T13:51:50.620Z] ---> 8c43eb62410d [2023-02-08T13:51:50.620Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:51:50.879Z] ---> Running in a96ae9418736 [2023-02-08T13:51:51.447Z] Removing intermediate container a96ae9418736 [2023-02-08T13:51:51.447Z] ---> 397859257e97 [2023-02-08T13:51:51.447Z] 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-02-08T13:51:51.447Z] ---> Running in 824ec12712e5 [2023-02-08T13:51:52.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:52.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:52.273Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:51:52.841Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:51:52.841Z] (1/7) Installing curl (7.83.1-r5) [2023-02-08T13:51:52.841Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-08T13:51:52.841Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-08T13:51:52.841Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-08T13:51:53.407Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-08T13:51:53.407Z] (6/7) Installing libuuid (2.38-r1) [2023-02-08T13:51:53.407Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-08T13:51:54.367Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:51:54.367Z] OK: 275 MiB in 83 packages [2023-02-08T13:51:54.934Z] Removing intermediate container 824ec12712e5 [2023-02-08T13:51:54.934Z] ---> f7a016465c4c [2023-02-08T13:51:54.934Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-08T13:51:54.934Z] ---> fa8b4e423d42 [2023-02-08T13:51:54.934Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-08T13:51:55.194Z] ---> bdd76b2857f8 [2023-02-08T13:51:55.194Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-08T13:51:55.454Z] ---> af5c769552b1 [2023-02-08T13:51:55.454Z] Successfully built af5c769552b1 [2023-02-08T13:51:55.454Z] 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-02-08T13:51:55.826Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-08T13:51:55.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:51:55.893Z] prd-ubuntu20.04-docker-8c-8g-5114 does not seem to be running inside a container [2023-02-08T13:51:55.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-08T13:51:56.362Z] $ docker top 22ee54119d41659dce3175214409ed96ac87f55ab4ae46a5023d375d3fa807dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T13:51:56.707Z] + make test [2023-02-08T13:51:56.707Z] echo "make test" [2023-02-08T13:51:56.707Z] make test [Pipeline] } [2023-02-08T13:51:56.719Z] $ docker stop --time=1 22ee54119d41659dce3175214409ed96ac87f55ab4ae46a5023d375d3fa807dc [2023-02-08T13:51:57.993Z] $ docker rm -f --volumes 22ee54119d41659dce3175214409ed96ac87f55ab4ae46a5023d375d3fa807dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T13:51:58.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T13:51:58.892Z] + ls -al . [2023-02-08T13:51:58.892Z] total 204 [2023-02-08T13:51:58.892Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 8 13:51 . [2023-02-08T13:51:58.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:50 .. [2023-02-08T13:51:58.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 13:51 .git [2023-02-08T13:51:58.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:50 .github [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 8 13:50 .gitignore [2023-02-08T13:51:58.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 13:51 .semver [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 8 13:50 Attribution.txt [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 8 13:50 CHANGES [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 8 13:50 Doxyfile [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 13:50 GOVERNANCE.md [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 8 13:50 Jenkinsfile [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 8 13:50 LICENSE [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 8 13:50 Makefile [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 8 13:50 OWNERS.md [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 8 13:50 README.md [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 8 13:50 README.v3.md [2023-02-08T13:51:58.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 13:51 VERSION [2023-02-08T13:51:58.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:50 docs [2023-02-08T13:51:58.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:50 include [2023-02-08T13:51:58.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:50 scripts [2023-02-08T13:51:58.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:51:59.196Z] + 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=2707c1bb6520bc1acd51e1bf382624f68293194f --label arch=amd64 --label version=0.0.0 . [2023-02-08T13:51:59.196Z] Sending build context to Docker daemon 4.764MB [2023-02-08T13:51:59.196Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-08T13:51:59.196Z] Step 2/17 : FROM ${BASE} [2023-02-08T13:51:59.196Z] ---> af5c769552b1 [2023-02-08T13:51:59.196Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-08T13:51:59.196Z] ---> Running in 7afe2fb5cfeb [2023-02-08T13:51:59.456Z] Removing intermediate container 7afe2fb5cfeb [2023-02-08T13:51:59.456Z] ---> cb1619d25e47 [2023-02-08T13:51:59.456Z] 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-02-08T13:51:59.456Z] ---> Running in 7f91143effa5 [2023-02-08T13:51:59.716Z] Connecting to iotech.jfrog.io (34.250.30.191:443) [2023-02-08T13:51:59.975Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:51:59.975Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:51:59.975Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:52:00.235Z] Removing intermediate container 7f91143effa5 [2023-02-08T13:52:00.235Z] ---> c2ac17284e14 [2023-02-08T13:52:00.235Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:52:00.235Z] ---> Running in 27e9c5a4f680 [2023-02-08T13:52:00.803Z] Removing intermediate container 27e9c5a4f680 [2023-02-08T13:52:00.803Z] ---> 7921c56c35d2 [2023-02-08T13:52:00.804Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-08T13:52:00.804Z] ---> Running in c3c39a2ed2dc [2023-02-08T13:52:01.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:52:01.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T13:52:01.322Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T13:52:01.891Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:52:01.891Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-08T13:52:02.149Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-08T13:52:02.149Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-08T13:52:02.149Z] (4/8) Installing libblkid (2.38-r1) [2023-02-08T13:52:02.149Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-08T13:52:02.149Z] (6/8) Installing libmount (2.38-r1) [2023-02-08T13:52:02.149Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-08T13:52:02.149Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-08T13:52:02.149Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:52:02.149Z] OK: 280 MiB in 91 packages [2023-02-08T13:52:02.717Z] Removing intermediate container c3c39a2ed2dc [2023-02-08T13:52:02.717Z] ---> 3a9c91a6a4f3 [2023-02-08T13:52:02.717Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-08T13:52:02.717Z] ---> 104d1bd2737d [2023-02-08T13:52:02.717Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-08T13:52:02.976Z] ---> ec4c54519d49 [2023-02-08T13:52:02.976Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-08T13:52:03.234Z] ---> 039e04c1595e [2023-02-08T13:52:03.234Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-08T13:52:03.234Z] ---> 8f3e7ef6b1d5 [2023-02-08T13:52:03.234Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-08T13:52:03.492Z] ---> e263ad1713fa [2023-02-08T13:52:03.492Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-08T13:52:03.751Z] ---> 0e9f5705e84d [2023-02-08T13:52:03.751Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-08T13:52:03.751Z] ---> Running in f00278d5f427 [2023-02-08T13:52:03.751Z] Removing intermediate container f00278d5f427 [2023-02-08T13:52:03.751Z] ---> c9fb25ba6779 [2023-02-08T13:52:03.751Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-08T13:52:03.751Z] ---> Running in 836c835eedb4 [2023-02-08T13:52:03.751Z] Removing intermediate container 836c835eedb4 [2023-02-08T13:52:03.751Z] ---> 0979f12c7db1 [2023-02-08T13:52:03.751Z] Step 15/17 : LABEL arch=amd64 [2023-02-08T13:52:04.015Z] ---> Running in 64c310a65b34 [2023-02-08T13:52:04.015Z] Removing intermediate container 64c310a65b34 [2023-02-08T13:52:04.015Z] ---> 55b8421af38a [2023-02-08T13:52:04.015Z] Step 16/17 : LABEL git_sha=2707c1bb6520bc1acd51e1bf382624f68293194f [2023-02-08T13:52:04.015Z] ---> Running in b7816cdeb6e7 [2023-02-08T13:52:04.275Z] Removing intermediate container b7816cdeb6e7 [2023-02-08T13:52:04.275Z] ---> 88eed5bb4338 [2023-02-08T13:52:04.275Z] Step 17/17 : LABEL version=0.0.0 [2023-02-08T13:52:04.275Z] ---> Running in aab76c5608c4 [2023-02-08T13:52:04.275Z] Removing intermediate container aab76c5608c4 [2023-02-08T13:52:04.275Z] ---> b2244cb1be6b [2023-02-08T13:52:04.275Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-02-08T13:52:04.275Z] Successfully built b2244cb1be6b [2023-02-08T13:52:04.275Z] 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-02-08T13:52:04.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T13:52:04.704Z] [2023-02-08T13:52:04.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:52:05.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T13:52:05.011Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-08T13:52:05.011Z] 5eb5b503b376: Pulling fs layer [2023-02-08T13:52:05.011Z] 5c69ac0246d0: Pulling fs layer [2023-02-08T13:52:05.011Z] ec43610c2a17: Pulling fs layer [2023-02-08T13:52:05.011Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-08T13:52:05.011Z] 33b1e0a273af: Pulling fs layer [2023-02-08T13:52:05.011Z] 5d3b04190fa2: Pulling fs layer [2023-02-08T13:52:05.011Z] 2f39f015ded8: Pulling fs layer [2023-02-08T13:52:05.011Z] 3a2ae6a8a46f: Waiting [2023-02-08T13:52:05.011Z] 33b1e0a273af: Waiting [2023-02-08T13:52:05.011Z] 5d3b04190fa2: Waiting [2023-02-08T13:52:05.011Z] 2f39f015ded8: Waiting [2023-02-08T13:52:05.011Z] 5c69ac0246d0: Download complete [2023-02-08T13:52:05.011Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-08T13:52:05.011Z] 3a2ae6a8a46f: Download complete [2023-02-08T13:52:05.273Z] 33b1e0a273af: Verifying Checksum [2023-02-08T13:52:05.273Z] 33b1e0a273af: Download complete [2023-02-08T13:52:05.273Z] 5d3b04190fa2: Verifying Checksum [2023-02-08T13:52:05.273Z] 5d3b04190fa2: Download complete [2023-02-08T13:52:05.273Z] ec43610c2a17: Verifying Checksum [2023-02-08T13:52:05.273Z] ec43610c2a17: Download complete [2023-02-08T13:52:05.536Z] 5eb5b503b376: Verifying Checksum [2023-02-08T13:52:05.536Z] 5eb5b503b376: Download complete [2023-02-08T13:52:06.109Z] 2f39f015ded8: Download complete [2023-02-08T13:52:06.676Z] 5eb5b503b376: Pull complete [2023-02-08T13:52:06.935Z] 5c69ac0246d0: Pull complete [2023-02-08T13:52:07.503Z] ec43610c2a17: Pull complete [2023-02-08T13:52:07.503Z] 3a2ae6a8a46f: Pull complete [2023-02-08T13:52:07.762Z] 33b1e0a273af: Pull complete [2023-02-08T13:52:07.762Z] 5d3b04190fa2: Pull complete [2023-02-08T13:52:11.957Z] 2f39f015ded8: Pull complete [2023-02-08T13:52:11.957Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-08T13:52:11.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T13:52:11.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:52:12.033Z] prd-ubuntu20.04-docker-8c-8g-5114 does not seem to be running inside a container [2023-02-08T13:52:12.075Z] $ 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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T13:52:14.243Z] $ docker top e2c3e242751eb407744c39978f27b22cc929ea5e3ef106eab0a722154f7ff745 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:52:14.635Z] ---> job-cost.sh [2023-02-08T13:52:14.635Z] lf-activate-venv: SKIPPING [2023-02-08T13:52:14.635Z] INFO: No Stack... [2023-02-08T13:52:14.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T13:52:15.154Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T13:52:15.444Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/cost.csv [2023-02-08T13:52:15.444Z] + cut -d, -f6 [Pipeline] lock [2023-02-08T13:52:15.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [2023-02-08T13:52:15.465Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] did not exist. Created. [2023-02-08T13:52:15.465Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T13:52:15.768Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-08T13:52:15.816Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T13:52:15.822Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T13:52:15.842Z] $ docker stop --time=1 e2c3e242751eb407744c39978f27b22cc929ea5e3ef106eab0a722154f7ff745 [2023-02-08T13:52:17.364Z] $ docker rm -f --volumes e2c3e242751eb407744c39978f27b22cc929ea5e3ef106eab0a722154f7ff745 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-08T13:52:50.683Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5118 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [Pipeline] { [Pipeline] ws [2023-02-08T13:52:50.696Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-02-08T13:52:50.732Z] Selected Git installation does not exist. Using Default [2023-02-08T13:52:50.732Z] The recommended git tool is: NONE [2023-02-08T13:52:55.843Z] using credential edgex-jenkins-ssh [2023-02-08T13:52:55.863Z] Cloning the remote Git repository [2023-02-08T13:52:55.907Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-02-08T13:52:55.976Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-02-08T13:52:56.124Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-08T13:52:56.125Z] > git --version # timeout=10 [2023-02-08T13:52:56.153Z] > git --version # 'git version 2.25.1' [2023-02-08T13:52:56.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T13:52:56.214Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T13:52:58.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-08T13:52:58.420Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T13:52:59.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-08T13:52:59.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-08T13:52:59.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T13:52:59.292Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-08T13:52:59.963Z] Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit 2707c1bb6520bc1acd51e1bf382624f68293194f [2023-02-08T13:53:00.217Z] Merge succeeded, producing 2707c1bb6520bc1acd51e1bf382624f68293194f [2023-02-08T13:53:00.218Z] Checking out Revision 2707c1bb6520bc1acd51e1bf382624f68293194f (PR-440) [2023-02-08T13:52:59.983Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T13:53:00.007Z] > git checkout -f 2707c1bb6520bc1acd51e1bf382624f68293194f # timeout=10 [2023-02-08T13:53:00.125Z] > git remote # timeout=10 [2023-02-08T13:53:00.145Z] > git config --get remote.origin.url # timeout=10 [2023-02-08T13:53:00.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T13:53:00.180Z] > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 [2023-02-08T13:53:00.203Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-08T13:53:00.227Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T13:53:00.238Z] > git checkout -f 2707c1bb6520bc1acd51e1bf382624f68293194f # timeout=10 [2023-02-08T13:53:03.737Z] Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config, the code for sending event via core-data REST client and the Clients.core-data dependency (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T13:53:04.674Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-08T13:53:04.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-08T13:53:04.675Z] Dload Upload Total Spent Left Speed [2023-02-08T13:53:04.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-02-08T13:53:05.407Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-08T13:53:05.739Z] + sudo tee /etc/docker/daemon.new [2023-02-08T13:53:05.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-08T13:53:05.739Z] { [2023-02-08T13:53:05.739Z] "registry-mirrors": [ [2023-02-08T13:53:05.739Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-08T13:53:05.739Z] ], [2023-02-08T13:53:05.739Z] "bip": "10.250.0.254/24", [2023-02-08T13:53:05.739Z] "hosts": [ [2023-02-08T13:53:05.739Z] "tcp://0.0.0.0:5555", [2023-02-08T13:53:05.739Z] "unix:///var/run/docker.sock" [2023-02-08T13:53:05.739Z] ], [2023-02-08T13:53:05.739Z] "mtu": 1458, [2023-02-08T13:53:05.739Z] "selinux-enabled": true, [2023-02-08T13:53:05.739Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-08T13:53:05.739Z] } [Pipeline] sh [2023-02-08T13:53:06.066Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-08T13:53:06.401Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T13:53:24.669Z] provisioning config files... [2023-02-08T13:53:24.691Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config6308630775289360525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:53:25.029Z] ---> docker-login.sh [2023-02-08T13:53:25.029Z] nexus3.edgexfoundry.org:10001 [2023-02-08T13:53:25.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:53:25.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:53:25.566Z] Configure a credential helper to remove this warning. See [2023-02-08T13:53:25.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:53:25.566Z] [2023-02-08T13:53:25.566Z] Login Succeeded [2023-02-08T13:53:25.566Z] nexus3.edgexfoundry.org:10002 [2023-02-08T13:53:25.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:53:26.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:53:26.102Z] Configure a credential helper to remove this warning. See [2023-02-08T13:53:26.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:53:26.102Z] [2023-02-08T13:53:26.102Z] Login Succeeded [2023-02-08T13:53:26.102Z] nexus3.edgexfoundry.org:10003 [2023-02-08T13:53:26.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:53:26.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:53:26.370Z] Configure a credential helper to remove this warning. See [2023-02-08T13:53:26.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:53:26.370Z] [2023-02-08T13:53:26.370Z] Login Succeeded [2023-02-08T13:53:26.370Z] nexus3.edgexfoundry.org:10004 [2023-02-08T13:53:26.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:53:26.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:53:26.637Z] Configure a credential helper to remove this warning. See [2023-02-08T13:53:26.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:53:26.637Z] [2023-02-08T13:53:26.637Z] Login Succeeded [2023-02-08T13:53:26.637Z] docker.io [2023-02-08T13:53:26.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T13:53:27.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T13:53:27.175Z] Configure a credential helper to remove this warning. See [2023-02-08T13:53:27.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T13:53:27.175Z] [2023-02-08T13:53:27.175Z] Login Succeeded [2023-02-08T13:53:27.175Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T13:53:27.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T13:53:27.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T13:53:27.455Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-02-08T13:53:27.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T13:53:27.485Z] ========================================================= [2023-02-08T13:53:27.485Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-02-08T13:53:27.485Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:53:27.827Z] + 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-02-08T13:53:28.097Z] Sending build context to Docker daemon 2.894MB [2023-02-08T13:53:28.097Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-08T13:53:28.097Z] Step 2/21 : FROM ${BASE} as builder [2023-02-08T13:53:28.365Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-02-08T13:53:28.365Z] 9b18e9b68314: Pulling fs layer [2023-02-08T13:53:28.365Z] 1def92ead452: Pulling fs layer [2023-02-08T13:53:28.634Z] 9b18e9b68314: Verifying Checksum [2023-02-08T13:53:28.634Z] 9b18e9b68314: Download complete [2023-02-08T13:53:28.902Z] 9b18e9b68314: Pull complete [2023-02-08T13:53:30.864Z] 1def92ead452: Verifying Checksum [2023-02-08T13:53:30.864Z] 1def92ead452: Download complete [2023-02-08T13:53:39.109Z] 1def92ead452: Pull complete [2023-02-08T13:53:39.109Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-02-08T13:53:39.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-02-08T13:53:39.109Z] ---> 9a9802766715 [2023-02-08T13:53:39.109Z] 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-02-08T13:53:39.693Z] ---> Running in c1b76bea662e [2023-02-08T13:53:41.115Z] Connecting to iotech.jfrog.io (3.251.51.216:443) [2023-02-08T13:53:41.392Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:53:41.392Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:53:41.392Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:53:41.985Z] Removing intermediate container c1b76bea662e [2023-02-08T13:53:41.985Z] ---> 296584bd93b7 [2023-02-08T13:53:41.986Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:53:41.986Z] ---> Running in 5585e10d0314 [2023-02-08T13:53:43.400Z] Removing intermediate container 5585e10d0314 [2023-02-08T13:53:43.400Z] ---> eb524be2494c [2023-02-08T13:53:43.400Z] 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.4-dev hiredis-dev [2023-02-08T13:53:43.678Z] ---> Running in c484d807af17 [2023-02-08T13:53:44.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:53:44.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T13:53:45.183Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:53:46.591Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:53:46.591Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-08T13:53:46.591Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-08T13:53:46.591Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-08T13:53:47.171Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-08T13:53:47.171Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-08T13:53:47.171Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-08T13:53:47.171Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-08T13:53:47.171Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-08T13:53:48.145Z] (9/14) Installing libblkid (2.38-r1) [2023-02-08T13:53:48.145Z] (10/14) Installing libuuid (2.38-r1) [2023-02-08T13:53:48.145Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-08T13:53:48.145Z] (12/14) Installing libmount (2.38-r1) [2023-02-08T13:53:48.145Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-08T13:53:48.145Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-08T13:53:48.145Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:53:48.145Z] OK: 286 MiB in 90 packages [2023-02-08T13:53:49.560Z] Removing intermediate container c484d807af17 [2023-02-08T13:53:49.560Z] ---> 0ec56a51c79a [2023-02-08T13:53:49.560Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-08T13:53:49.560Z] ---> Running in cb542ee8072e [2023-02-08T13:53:51.515Z] Removing intermediate container cb542ee8072e [2023-02-08T13:53:51.515Z] ---> 20b20ff10653 [2023-02-08T13:53:51.515Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-08T13:53:51.515Z] ---> 6b79293576b9 [2023-02-08T13:53:51.515Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-08T13:53:52.476Z] ---> a9cab1378e0b [2023-02-08T13:53:52.476Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-08T13:53:52.742Z] ---> 1bb2bef859f7 [2023-02-08T13:53:52.742Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-08T13:53:53.326Z] ---> f237bd39a043 [2023-02-08T13:53:53.326Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-08T13:53:53.919Z] ---> b162c2651f8f [2023-02-08T13:53:53.919Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-08T13:53:54.199Z] ---> 05012c4260ab [2023-02-08T13:53:54.199Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-08T13:53:54.199Z] ---> Running in e4a03bad9e93 [2023-02-08T13:53:55.173Z] + CPPCHECK=false [2023-02-08T13:53:55.173Z] + DOCGEN=false [2023-02-08T13:53:55.173Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-08T13:53:55.173Z] + TOMLVER=SDK-0.2 [2023-02-08T13:53:55.173Z] + CUTILVER=1.4 [2023-02-08T13:53:55.173Z] + '[' 0 -gt 0 ] [2023-02-08T13:53:55.173Z] + readlink -f ./scripts/build.sh [2023-02-08T13:53:55.173Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-08T13:53:55.174Z] + dirname /tmp/sdk/scripts [2023-02-08T13:53:55.174Z] + ROOT=/tmp/sdk [2023-02-08T13:53:55.174Z] + cd /tmp/sdk [2023-02-08T13:53:55.174Z] + '[' '!' -d deps ] [2023-02-08T13:53:55.174Z] + mkdir deps [2023-02-08T13:53:55.174Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-02-08T13:53:55.174Z] + tar -C deps -z -x -f - [2023-02-08T13:53:55.174Z] Connecting to github.com (140.82.113.3:443) [2023-02-08T13:53:55.441Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-02-08T13:53:55.710Z] writing to stdout [2023-02-08T13:53:55.710Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-08T13:53:55.710Z] written to stdout [2023-02-08T13:53:55.710Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-08T13:53:55.710Z] + mkdir -p /tmp/sdk/build/release [2023-02-08T13:53:55.710Z] + cd /tmp/sdk/build/release [2023-02-08T13:53:55.710Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-08T13:53:55.977Z] -- The C compiler identification is GNU 11.2.1 [2023-02-08T13:53:56.246Z] -- Detecting C compiler ABI info [2023-02-08T13:53:56.516Z] -- Detecting C compiler ABI info - done [2023-02-08T13:53:56.516Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-08T13:53:56.516Z] -- Detecting C compile features [2023-02-08T13:53:56.516Z] -- Detecting C compile features - done [2023-02-08T13:53:56.516Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-08T13:53:56.785Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-08T13:53:56.785Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-08T13:53:56.785Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-08T13:53:56.785Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-08T13:53:56.785Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-08T13:53:56.785Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-08T13:53:56.785Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-08T13:53:56.785Z] -- /opt/iotech/iot/1.4/include [2023-02-08T13:53:56.785Z] -- C SDK 0.0.0 for Linux [2023-02-08T13:53:56.785Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-08T13:53:57.375Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-08T13:53:57.375Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-08T13:53:57.645Z] -- Configuring done [2023-02-08T13:53:57.645Z] -- Generating done [2023-02-08T13:53:57.912Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-08T13:53:57.912Z] + make all package [2023-02-08T13:53:57.912Z] + tee release.log [2023-02-08T13:53:57.912Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-08T13:53:58.871Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-08T13:53:59.455Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-08T13:54:02.795Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-08T13:54:03.758Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-08T13:54:04.024Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-08T13:54:04.986Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-08T13:54:06.392Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-08T13:54:08.336Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-08T13:54:09.745Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-08T13:54:10.333Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-08T13:54:11.298Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-08T13:54:12.258Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-08T13:54:12.841Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-08T13:54:13.106Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-08T13:54:17.345Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-08T13:54:17.610Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-08T13:54:18.193Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-08T13:54:20.129Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-08T13:54:25.454Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-08T13:54:26.035Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-08T13:54:26.617Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-08T13:54:27.199Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-08T13:54:28.601Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-08T13:54:31.174Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-08T13:54:31.752Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-08T13:54:32.705Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-08T13:54:33.286Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-08T13:54:36.617Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-08T13:54:40.857Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-08T13:54:41.809Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-08T13:54:42.074Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-08T13:54:43.028Z] [ 67%] Linking C shared library libcsdk.so [2023-02-08T13:54:43.028Z] [ 67%] Built target csdk [2023-02-08T13:54:43.293Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-08T13:54:44.249Z] [ 71%] Linking C executable template [2023-02-08T13:54:44.516Z] [ 71%] Built target template [2023-02-08T13:54:44.516Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-08T13:54:45.096Z] [ 75%] Linking C executable device-counter [2023-02-08T13:54:45.362Z] [ 75%] Built target device-counter [2023-02-08T13:54:45.362Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-08T13:54:45.940Z] [ 79%] Linking C executable device-random [2023-02-08T13:54:46.205Z] [ 79%] Built target device-random [2023-02-08T13:54:46.469Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-08T13:54:47.047Z] [ 83%] Linking C executable device-gyro [2023-02-08T13:54:47.047Z] [ 83%] Built target device-gyro [2023-02-08T13:54:47.311Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-08T13:54:47.889Z] [ 87%] Linking C executable device-bitfields [2023-02-08T13:54:48.154Z] [ 87%] Built target device-bitfields [2023-02-08T13:54:48.154Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-08T13:54:49.108Z] [ 91%] Linking C executable template-discovery [2023-02-08T13:54:49.374Z] [ 91%] Built target template-discovery [2023-02-08T13:54:49.374Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-08T13:54:50.323Z] [ 95%] Linking C executable device-file [2023-02-08T13:54:50.589Z] [ 95%] Built target device-file [2023-02-08T13:54:50.589Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-08T13:54:51.545Z] [100%] Linking C executable device-terminal [2023-02-08T13:54:51.812Z] [100%] Built target device-terminal [2023-02-08T13:54:51.812Z] Run CPack packaging tool... [2023-02-08T13:54:51.812Z] CPack: Create package using TGZ [2023-02-08T13:54:51.812Z] CPack: Install projects [2023-02-08T13:54:51.812Z] CPack: - Run preinstall target for: Csdk [2023-02-08T13:54:52.774Z] CPack: - Install project: Csdk [] [2023-02-08T13:54:52.774Z] CPack: Create package [2023-02-08T13:54:52.774Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-08T13:54:52.774Z] + '[' false '=' true ] [2023-02-08T13:54:52.774Z] + '[' false '=' true ] [2023-02-08T13:54:52.774Z] + mkdir -p /tmp/sdk/build/debug [2023-02-08T13:54:52.774Z] + cd /tmp/sdk/build/debug [2023-02-08T13:54:52.774Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-08T13:54:53.040Z] -- The C compiler identification is GNU 11.2.1 [2023-02-08T13:54:53.040Z] -- Detecting C compiler ABI info [2023-02-08T13:54:53.306Z] -- Detecting C compiler ABI info - done [2023-02-08T13:54:53.571Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-08T13:54:53.571Z] -- Detecting C compile features [2023-02-08T13:54:53.571Z] -- Detecting C compile features - done [2023-02-08T13:54:53.571Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-08T13:54:53.571Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-08T13:54:53.836Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-08T13:54:53.836Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-08T13:54:53.836Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-08T13:54:53.836Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-08T13:54:53.836Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-08T13:54:53.836Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-08T13:54:53.836Z] -- /opt/iotech/iot/1.4/include [2023-02-08T13:54:53.836Z] -- C SDK 0.0.0 for Linux [2023-02-08T13:54:53.836Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-08T13:54:54.101Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-08T13:54:54.366Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-08T13:54:54.367Z] -- Configuring done [2023-02-08T13:54:54.634Z] -- Generating done [2023-02-08T13:54:54.634Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-08T13:54:54.634Z] + + teemake debug.log [2023-02-08T13:54:54.634Z] [2023-02-08T13:54:54.901Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-08T13:54:55.168Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-08T13:54:55.769Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-08T13:54:56.724Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-08T13:54:56.991Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-08T13:54:57.256Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-08T13:54:57.843Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-08T13:54:58.424Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-08T13:54:59.005Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-08T13:54:59.584Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-08T13:54:59.849Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-08T13:55:00.428Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-08T13:55:00.694Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-08T13:55:01.278Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-08T13:55:01.543Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-08T13:55:02.502Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-08T13:55:02.771Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-08T13:55:03.038Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-08T13:55:03.997Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-08T13:55:05.420Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-08T13:55:05.420Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-08T13:55:06.009Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-08T13:55:06.277Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-08T13:55:06.858Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-08T13:55:08.810Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-08T13:55:09.077Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-08T13:55:09.344Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-08T13:55:09.926Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-08T13:55:10.891Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-08T13:55:11.847Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-08T13:55:12.113Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-08T13:55:12.378Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-08T13:55:12.647Z] [ 67%] Linking C shared library libcsdk.so [2023-02-08T13:55:12.914Z] [ 67%] Built target csdk [2023-02-08T13:55:13.181Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-08T13:55:13.446Z] [ 71%] Linking C executable template [2023-02-08T13:55:14.029Z] [ 71%] Built target template [2023-02-08T13:55:14.029Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-08T13:55:14.296Z] [ 75%] Linking C executable device-counter [2023-02-08T13:55:14.878Z] [ 75%] Built target device-counter [2023-02-08T13:55:14.878Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-08T13:55:15.144Z] [ 79%] Linking C executable device-random [2023-02-08T13:55:15.410Z] [ 79%] Built target device-random [2023-02-08T13:55:15.678Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-08T13:55:15.945Z] [ 83%] Linking C executable device-gyro [2023-02-08T13:55:16.212Z] [ 83%] Built target device-gyro [2023-02-08T13:55:16.212Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-08T13:55:16.794Z] [ 87%] Linking C executable device-bitfields [2023-02-08T13:55:17.060Z] [ 87%] Built target device-bitfields [2023-02-08T13:55:17.060Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-08T13:55:17.643Z] [ 91%] Linking C executable template-discovery [2023-02-08T13:55:17.909Z] [ 91%] Built target template-discovery [2023-02-08T13:55:17.909Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-08T13:55:18.176Z] [ 95%] Linking C executable device-file [2023-02-08T13:55:18.443Z] [ 95%] Built target device-file [2023-02-08T13:55:18.709Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-08T13:55:18.976Z] [100%] Linking C executable device-terminal [2023-02-08T13:55:19.631Z] [100%] Built target device-terminal [2023-02-08T13:55:19.631Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.631Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.631Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.631Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.631Z] [ 67%] Built target csdk [2023-02-08T13:55:19.631Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.631Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.632Z] [ 71%] Built target template [2023-02-08T13:55:19.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.632Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.632Z] [ 75%] Built target device-counter [2023-02-08T13:55:19.632Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] [ 79%] Built target device-random [2023-02-08T13:55:19.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] [ 83%] Built target device-gyro [2023-02-08T13:55:19.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] [ 87%] Built target device-bitfields [2023-02-08T13:55:19.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] [ 91%] Built target template-discovery [2023-02-08T13:55:19.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:19.900Z] [ 95%] Built target device-file [2023-02-08T13:55:19.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-08T13:55:20.171Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:20.171Z] [100%] Built target device-terminal [2023-02-08T13:55:20.171Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:20.171Z] Install the project... [2023-02-08T13:55:20.171Z] -- Install configuration: "Release" [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-08T13:55:20.171Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/devsdk [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-08T13:55:20.171Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-08T13:55:20.171Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-08T13:55:21.604Z] Removing intermediate container e4a03bad9e93 [2023-02-08T13:55:21.604Z] ---> b2f6bd37cbb4 [2023-02-08T13:55:21.604Z] Step 14/21 : FROM ${BASE} [2023-02-08T13:55:21.604Z] ---> 9a9802766715 [2023-02-08T13:55:21.604Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-08T13:55:21.604Z] ---> Running in b5653edb1c9f [2023-02-08T13:55:21.885Z] Removing intermediate container b5653edb1c9f [2023-02-08T13:55:21.885Z] ---> a1985be4f63c [2023-02-08T13:55:21.885Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-08T13:55:22.157Z] ---> Running in ec787ff5351a [2023-02-08T13:55:23.155Z] Connecting to iotech.jfrog.io (34.250.30.191:443) [2023-02-08T13:55:23.424Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:55:23.424Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:55:23.424Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:55:24.416Z] Removing intermediate container ec787ff5351a [2023-02-08T13:55:24.416Z] ---> 2fb31ab24015 [2023-02-08T13:55:24.416Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:55:24.416Z] ---> Running in 22c6b78d65ef [2023-02-08T13:55:25.824Z] Removing intermediate container 22c6b78d65ef [2023-02-08T13:55:25.824Z] ---> 8a94be3c8e95 [2023-02-08T13:55:25.824Z] 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-02-08T13:55:26.090Z] ---> Running in 240e56412bbe [2023-02-08T13:55:27.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:27.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:27.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:28.582Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:55:28.582Z] (1/7) Installing curl (7.83.1-r5) [2023-02-08T13:55:28.582Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-08T13:55:28.582Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-08T13:55:28.582Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-08T13:55:29.540Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-08T13:55:29.540Z] (6/7) Installing libuuid (2.38-r1) [2023-02-08T13:55:29.540Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-08T13:55:30.126Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:55:30.126Z] OK: 281 MiB in 83 packages [2023-02-08T13:55:31.535Z] Removing intermediate container 240e56412bbe [2023-02-08T13:55:31.535Z] ---> 915c213238d4 [2023-02-08T13:55:31.535Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-08T13:55:32.490Z] ---> dc44e5c64b83 [2023-02-08T13:55:32.490Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-08T13:55:33.074Z] ---> 59f6e518ccd8 [2023-02-08T13:55:33.074Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-08T13:55:33.657Z] ---> 7a1661e5eca9 [2023-02-08T13:55:33.658Z] Successfully built 7a1661e5eca9 [2023-02-08T13:55:33.658Z] 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-02-08T13:55:34.039Z] + docker inspect -f . ci-base-image-arm64 [2023-02-08T13:55:34.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:55:34.216Z] prd-ubuntu20.04-docker-arm64-4c-16g-5118 does not seem to be running inside a container [2023-02-08T13:55:34.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-08T13:55:35.443Z] $ docker top fdce53d396c15269532a6671631433591ece9d70bdfd846e15e931e9160c5574 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T13:55:36.276Z] + make test [2023-02-08T13:55:36.276Z] echo "make test" [2023-02-08T13:55:36.276Z] make test [Pipeline] } [2023-02-08T13:55:36.291Z] $ docker stop --time=1 fdce53d396c15269532a6671631433591ece9d70bdfd846e15e931e9160c5574 [2023-02-08T13:55:37.874Z] $ docker rm -f --volumes fdce53d396c15269532a6671631433591ece9d70bdfd846e15e931e9160c5574 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T13:55:38.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T13:55:38.733Z] + ls -al . [2023-02-08T13:55:38.733Z] total 200 [2023-02-08T13:55:38.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 13:53 . [2023-02-08T13:55:38.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:52 .. [2023-02-08T13:55:38.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 13:53 .git [2023-02-08T13:55:38.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:53 .github [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 8 13:53 .gitignore [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 8 13:53 Attribution.txt [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 8 13:53 CHANGES [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 8 13:53 Doxyfile [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 13:53 GOVERNANCE.md [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 8 13:53 Jenkinsfile [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 8 13:53 LICENSE [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 8 13:53 Makefile [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 8 13:53 OWNERS.md [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 8 13:53 README.md [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 8 13:53 README.v3.md [2023-02-08T13:55:38.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 13:51 VERSION [2023-02-08T13:55:38.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:53 docs [2023-02-08T13:55:38.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:53 include [2023-02-08T13:55:38.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 13:53 scripts [2023-02-08T13:55:38.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 13:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:55:39.064Z] + 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=2707c1bb6520bc1acd51e1bf382624f68293194f --label arch=arm64 --label version=0.0.0 . [2023-02-08T13:55:39.333Z] Sending build context to Docker daemon 2.894MB [2023-02-08T13:55:39.333Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-08T13:55:39.333Z] Step 2/17 : FROM ${BASE} [2023-02-08T13:55:39.333Z] ---> 7a1661e5eca9 [2023-02-08T13:55:39.333Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-08T13:55:39.600Z] ---> Running in c1777faa7d15 [2023-02-08T13:55:39.867Z] Removing intermediate container c1777faa7d15 [2023-02-08T13:55:39.867Z] ---> 77250c86321a [2023-02-08T13:55:39.867Z] 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-02-08T13:55:39.867Z] ---> Running in 98b859c58ac9 [2023-02-08T13:55:40.827Z] Connecting to iotech.jfrog.io (3.248.100.191:443) [2023-02-08T13:55:41.419Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-08T13:55:41.419Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-08T13:55:41.419Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-08T13:55:42.005Z] Removing intermediate container 98b859c58ac9 [2023-02-08T13:55:42.005Z] ---> 46b61b0093be [2023-02-08T13:55:42.005Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-08T13:55:42.005Z] ---> Running in 65d33d42b982 [2023-02-08T13:55:44.587Z] Removing intermediate container 65d33d42b982 [2023-02-08T13:55:44.587Z] ---> f671ce9973ac [2023-02-08T13:55:44.587Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-08T13:55:44.587Z] ---> Running in a4d1b09ae89f [2023-02-08T13:55:45.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:45.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:46.015Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T13:55:46.976Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-08T13:55:46.976Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-08T13:55:47.245Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-08T13:55:47.245Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-08T13:55:47.245Z] (4/8) Installing libblkid (2.38-r1) [2023-02-08T13:55:47.245Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-08T13:55:47.245Z] (6/8) Installing libmount (2.38-r1) [2023-02-08T13:55:47.245Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-08T13:55:47.245Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-08T13:55:47.245Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T13:55:47.245Z] OK: 286 MiB in 91 packages [2023-02-08T13:55:48.656Z] Removing intermediate container a4d1b09ae89f [2023-02-08T13:55:48.656Z] ---> 7ca652a2cb01 [2023-02-08T13:55:48.656Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-08T13:55:48.922Z] ---> 3aaffbb073b6 [2023-02-08T13:55:48.922Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-08T13:55:49.882Z] ---> 7946c352b7e3 [2023-02-08T13:55:49.882Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-08T13:55:50.149Z] ---> c7f1ef85fd1c [2023-02-08T13:55:50.149Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-08T13:55:50.734Z] ---> 3a29f2c6a0af [2023-02-08T13:55:50.734Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-08T13:55:51.001Z] ---> 748115d6cdd2 [2023-02-08T13:55:51.001Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-08T13:55:51.584Z] ---> 0f185f2fd4b2 [2023-02-08T13:55:51.584Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-08T13:55:51.584Z] ---> Running in ff4236268da6 [2023-02-08T13:55:51.850Z] Removing intermediate container ff4236268da6 [2023-02-08T13:55:51.850Z] ---> a2115b0a19a3 [2023-02-08T13:55:51.850Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-08T13:55:52.116Z] ---> Running in 83837c7ff55b [2023-02-08T13:55:52.382Z] Removing intermediate container 83837c7ff55b [2023-02-08T13:55:52.382Z] ---> 1290ef2c41dd [2023-02-08T13:55:52.382Z] Step 15/17 : LABEL arch=arm64 [2023-02-08T13:55:52.382Z] ---> Running in 81f446583955 [2023-02-08T13:55:52.648Z] Removing intermediate container 81f446583955 [2023-02-08T13:55:52.648Z] ---> b7a79e1511e7 [2023-02-08T13:55:52.648Z] Step 16/17 : LABEL git_sha=2707c1bb6520bc1acd51e1bf382624f68293194f [2023-02-08T13:55:52.648Z] ---> Running in e2a28dca2331 [2023-02-08T13:55:52.916Z] Removing intermediate container e2a28dca2331 [2023-02-08T13:55:52.916Z] ---> e6e3f5fd5ce2 [2023-02-08T13:55:52.916Z] Step 17/17 : LABEL version=0.0.0 [2023-02-08T13:55:53.182Z] ---> Running in 17dec54ea299 [2023-02-08T13:55:53.448Z] Removing intermediate container 17dec54ea299 [2023-02-08T13:55:53.448Z] ---> 2c95aa47023c [2023-02-08T13:55:53.448Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-02-08T13:55:53.448Z] Successfully built 2c95aa47023c [2023-02-08T13:55:53.448Z] 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-02-08T13:55:53.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T13:55:53.855Z] [2023-02-08T13:55:53.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:55:54.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T13:55:54.183Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-08T13:55:54.183Z] 8998bd30e6a1: Pulling fs layer [2023-02-08T13:55:54.183Z] 04944245beec: Pulling fs layer [2023-02-08T13:55:54.183Z] 699f458cf7ca: Pulling fs layer [2023-02-08T13:55:54.183Z] 765212b225bb: Pulling fs layer [2023-02-08T13:55:54.183Z] f23df028b6ca: Pulling fs layer [2023-02-08T13:55:54.183Z] d65c8cfc05b1: Pulling fs layer [2023-02-08T13:55:54.183Z] 2437ff75d9bd: Pulling fs layer [2023-02-08T13:55:54.183Z] f23df028b6ca: Waiting [2023-02-08T13:55:54.183Z] d65c8cfc05b1: Waiting [2023-02-08T13:55:54.183Z] 2437ff75d9bd: Waiting [2023-02-08T13:55:54.183Z] 765212b225bb: Waiting [2023-02-08T13:55:54.453Z] 04944245beec: Verifying Checksum [2023-02-08T13:55:54.453Z] 04944245beec: Download complete [2023-02-08T13:55:54.453Z] 765212b225bb: Verifying Checksum [2023-02-08T13:55:54.453Z] 765212b225bb: Download complete [2023-02-08T13:55:54.453Z] f23df028b6ca: Verifying Checksum [2023-02-08T13:55:54.453Z] f23df028b6ca: Download complete [2023-02-08T13:55:54.453Z] d65c8cfc05b1: Verifying Checksum [2023-02-08T13:55:54.453Z] d65c8cfc05b1: Download complete [2023-02-08T13:55:54.724Z] 699f458cf7ca: Verifying Checksum [2023-02-08T13:55:54.724Z] 699f458cf7ca: Download complete [2023-02-08T13:55:54.991Z] 8998bd30e6a1: Verifying Checksum [2023-02-08T13:55:54.991Z] 8998bd30e6a1: Download complete [2023-02-08T13:55:57.580Z] 2437ff75d9bd: Verifying Checksum [2023-02-08T13:55:57.580Z] 2437ff75d9bd: Download complete [2023-02-08T13:55:58.987Z] 8998bd30e6a1: Pull complete [2023-02-08T13:55:59.253Z] 04944245beec: Pull complete [2023-02-08T13:56:00.654Z] 699f458cf7ca: Pull complete [2023-02-08T13:56:00.654Z] 765212b225bb: Pull complete [2023-02-08T13:56:01.235Z] f23df028b6ca: Pull complete [2023-02-08T13:56:01.501Z] d65c8cfc05b1: Pull complete [2023-02-08T13:56:16.467Z] 2437ff75d9bd: Pull complete [2023-02-08T13:56:16.467Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-08T13:56:16.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T13:56:16.467Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:56:16.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-5118 does not seem to be running inside a container [2023-02-08T13:56:16.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-08T13:56:19.069Z] $ docker top 6ffa79ab7455ae3a5e894e6862669c83355d578192421b4a54488495640a3e75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:19.588Z] ---> job-cost.sh [2023-02-08T13:56:19.854Z] lf-activate-venv: SKIPPING [2023-02-08T13:56:19.854Z] INFO: No Stack... [2023-02-08T13:56:20.119Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-08T13:56:21.072Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T13:56:21.393Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2023-02-08T13:56:21.393Z] + cut -d, -f6 [Pipeline] lock [2023-02-08T13:56:21.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [2023-02-08T13:56:21.462Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] did not exist. Created. [2023-02-08T13:56:21.462Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T13:56:22.110Z] /w/workspace/device-sdk-c/4@tmp/durable-aefca8df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-08T13:56:22.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-08T13:56:22.464Z] Warning: overwriting stash ‘stack-cost’ [2023-02-08T13:56:22.963Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T13:56:22.970Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T13:56:22.992Z] $ docker stop --time=1 6ffa79ab7455ae3a5e894e6862669c83355d578192421b4a54488495640a3e75 [2023-02-08T13:56:24.485Z] $ docker rm -f --volumes 6ffa79ab7455ae3a5e894e6862669c83355d578192421b4a54488495640a3e75 [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-02-08T13:56:25.221Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives ] [2023-02-08T13:56:25.221Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-08T13:56:25.221Z] total 16 [2023-02-08T13:56:25.221Z] drwxr-xr-x 3 root root 4096 Feb 8 13:52 . [2023-02-08T13:56:25.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 8 13:52 .. [2023-02-08T13:56:25.221Z] drwxr-xr-x 2 root root 4096 Feb 8 13:52 cost [2023-02-08T13:56:25.221Z] -rw-r--r-- 1 root root 84 Feb 8 13:52 cost.csv [2023-02-08T13:56:25.221Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-08T13:56:25.221Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-08T13:56:25.221Z] total 16 [2023-02-08T13:56:25.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 13:52 . [2023-02-08T13:56:25.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 8 13:52 .. [2023-02-08T13:56:25.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 8 13:52 cost [2023-02-08T13:56:25.221Z] -rw-r--r-- 1 jenkins jenkins 84 Feb 8 13:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:25.511Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:26.369Z] ---> package-listing.sh [2023-02-08T13:56:26.369Z] ++ facter osfamily [2023-02-08T13:56:26.369Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-08T13:56:26.632Z] + OS_FAMILY=debian [2023-02-08T13:56:26.632Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-440 [2023-02-08T13:56:26.632Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-08T13:56:26.632Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-08T13:56:26.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-08T13:56:26.632Z] + PACKAGES=/tmp/packages_start.txt [2023-02-08T13:56:26.632Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' [2023-02-08T13:56:26.632Z] + PACKAGES=/tmp/packages_end.txt [2023-02-08T13:56:26.632Z] + case "${OS_FAMILY}" in [2023-02-08T13:56:26.632Z] + dpkg -l [2023-02-08T13:56:26.632Z] + grep '^ii' [2023-02-08T13:56:26.632Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-08T13:56:26.632Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-08T13:56:26.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-08T13:56:26.632Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' [2023-02-08T13:56:26.632Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ [2023-02-08T13:56:26.632Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ [Pipeline] echo [2023-02-08T13:56:26.642Z] 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-08T13:56:26.919Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T13:56:27.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T13:56:27.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T13:56:27.543Z] prd-ubuntu20.04-docker-8c-8g-5114 does not seem to be running inside a container [2023-02-08T13:56:27.568Z] $ 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-440/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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T13:56:27.801Z] $ docker top 82a79a28259d6427a5bbe20df4a56eb8b49a1c123dce94c4a25af519caf8dc3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T13:56:28.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-08T13:56:28.419Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-08T13:56:28.710Z] + ls /var/log/sa-host [2023-02-08T13:56:28.710Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T13:56:28.791Z] provisioning config files... [2023-02-08T13:56:28.799Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config15366970105883608519tmp [Pipeline] { [Pipeline] echo [2023-02-08T13:56:28.817Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:29.102Z] ---> create-netrc.sh [Pipeline] } [2023-02-08T13:56:29.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:29.441Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-08T13:56:29.450Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:29.734Z] ---> sudo-logs.sh [2023-02-08T13:56:29.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-08T13:56:29.759Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:30.041Z] ---> job-cost.sh [2023-02-08T13:56:30.041Z] lf-activate-venv: SKIPPING [2023-02-08T13:56:30.041Z] DEBUG: total: 0.2199999988079071 [2023-02-08T13:56:30.041Z] INFO: Retrieving Stack Cost... [2023-02-08T13:56:30.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T13:56:30.560Z] INFO: Archiving Costs [Pipeline] echo [2023-02-08T13:56:30.574Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T13:56:30.859Z] ---> logs-deploy.sh [2023-02-08T13:56:30.859Z] lf-activate-venv: SKIPPING [2023-02-08T13:56:30.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-440/4 [2023-02-08T13:56:30.859Z] INFO: archiving workspace using pattern(s): [2023-02-08T13:56:31.799Z] Archives upload complete. [2023-02-08T13:56:31.799Z] INFO: archiving logs to Nexus