Pull request #476 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from efc22004b1480c2ff91dd56cd351beb38d3bebad+80a24b09310d384b64bfe7dfccb669ba75fd38c7 (8c0c790c6605ddcae82d86a30fb6cff4c7f30271) 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-ssh16610070111213920318.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4288380897240579429.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17495589603956325484.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4682407591268705303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7567989929603984882.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7741949612633859667.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-2440 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [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-476 # 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/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit efc22004b1480c2ff91dd56cd351beb38d3bebad Merge succeeded, producing efc22004b1480c2ff91dd56cd351beb38d3bebad Checking out Revision efc22004b1480c2ff91dd56cd351beb38d3bebad (PR-476) > git config core.sparsecheckout # timeout=10 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # 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 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 Commit message: "fix: Bypass JWT check in non-secure mode" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-28T10:56:55.120Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-28T10:56:55.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-28T10:56:55.382Z] ========================================================= [2023-07-28T10:56:55.382Z] EdgeX Global Pipelines Version Info [2023-07-28T10:56:55.382Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-28T10:56:56.136Z] ------------------- [2023-07-28T10:56:56.136Z] stable info: [2023-07-28T10:56:56.136Z] ------------------- [2023-07-28T10:56:56.136Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-28T10:56:56.136Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T10:56:56.136Z] Message: update stable to v1.0.250 [2023-07-28T10:56:56.707Z] ------------------- [2023-07-28T10:56:56.707Z] experimental info: [2023-07-28T10:56:56.707Z] ------------------- [2023-07-28T10:56:56.707Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-28T10:56:56.707Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-28T10:56:56.707Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-28T10:56:56.991Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-28T10:56:57.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-28T10:56:57.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-28T10:56:57.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-28T10:56:57.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-28T10:56:57.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-28T10:56:57.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-28T10:56:57.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-28T10:56:57.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-28T10:56:57.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-28T10:56:57.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-28T10:56:57.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-28T10:56:57.455Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-28T10:56:57.499Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-28T10:56:57.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-28T10:56:57.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-28T10:56:57.618Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-28T10:56:57.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo [2023-07-28T10:56:57.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo [2023-07-28T10:56:57.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo [2023-07-28T10:56:57.782Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo [2023-07-28T10:56:57.826Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efc2200 [Pipeline] echo [2023-07-28T10:56:57.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T10:56:57.984Z] provisioning config files... [2023-07-28T10:56:57.999Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config11699853432994218628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T10:56:58.348Z] ---> docker-login.sh [2023-07-28T10:56:58.348Z] nexus3.edgexfoundry.org:10001 [2023-07-28T10:56:58.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:56:58.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:56:58.608Z] Configure a credential helper to remove this warning. See [2023-07-28T10:56:58.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:56:58.608Z] [2023-07-28T10:56:58.608Z] Login Succeeded [2023-07-28T10:56:58.608Z] nexus3.edgexfoundry.org:10002 [2023-07-28T10:56:58.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:56:58.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:56:58.871Z] Configure a credential helper to remove this warning. See [2023-07-28T10:56:58.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:56:58.871Z] [2023-07-28T10:56:58.871Z] Login Succeeded [2023-07-28T10:56:58.871Z] nexus3.edgexfoundry.org:10003 [2023-07-28T10:56:58.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:56:58.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:56:58.871Z] Configure a credential helper to remove this warning. See [2023-07-28T10:56:58.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:56:58.871Z] [2023-07-28T10:56:58.871Z] Login Succeeded [2023-07-28T10:56:58.871Z] nexus3.edgexfoundry.org:10004 [2023-07-28T10:56:58.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:56:59.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:56:59.132Z] Configure a credential helper to remove this warning. See [2023-07-28T10:56:59.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:56:59.132Z] [2023-07-28T10:56:59.132Z] Login Succeeded [2023-07-28T10:56:59.132Z] docker.io [2023-07-28T10:56:59.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:56:59.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:56:59.393Z] Configure a credential helper to remove this warning. See [2023-07-28T10:56:59.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:56:59.393Z] [2023-07-28T10:56:59.393Z] Login Succeeded [2023-07-28T10:56:59.393Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T10:56:59.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-07-28T10:57:00.057Z] + git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo [2023-07-28T10:57:00.132Z] -----------> git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad efc22004b1480c2ff91dd56cd351beb38d3bebad [false] [Pipeline] sh [2023-07-28T10:57:00.449Z] + git log --format=format:%s -1 efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo [2023-07-28T10:57:00.484Z] ========================================================= [2023-07-28T10:57:00.484Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T10:57:00.484Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-28T10:57:01.286Z] + git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo [2023-07-28T10:57:01.327Z] -----------> git rev-list -1 --merges efc22004b1480c2ff91dd56cd351beb38d3bebad~1..efc22004b1480c2ff91dd56cd351beb38d3bebad efc22004b1480c2ff91dd56cd351beb38d3bebad [false] [Pipeline] sh [2023-07-28T10:57:01.633Z] + git log --format=format:%s -1 efc22004b1480c2ff91dd56cd351beb38d3bebad [Pipeline] echo [2023-07-28T10:57:01.669Z] ========================================================= [2023-07-28T10:57:01.669Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-28T10:57:01.669Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-28T10:57:02.192Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-28T10:57:02.192Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-28T10:57:02.192Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-28T10:57:02.192Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-28T10:57:02.192Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-28T10:57:02.192Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-28T10:57:02.192Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:57:02.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T10:57:02.683Z] [2023-07-28T10:57:02.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:57:03.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T10:57:03.049Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-28T10:57:03.049Z] b85a868b505f: Pulling fs layer [2023-07-28T10:57:03.049Z] e2be974225ed: Pulling fs layer [2023-07-28T10:57:03.049Z] 339a4e72a1f5: Pulling fs layer [2023-07-28T10:57:03.049Z] 988bab9f4d93: Pulling fs layer [2023-07-28T10:57:03.049Z] 1469e6f7b9e6: Pulling fs layer [2023-07-28T10:57:03.049Z] eaf3925da568: Pulling fs layer [2023-07-28T10:57:03.049Z] bab4dde63d76: Pulling fs layer [2023-07-28T10:57:03.049Z] bde34c3a00c8: Pulling fs layer [2023-07-28T10:57:03.049Z] b352a97aabf1: Pulling fs layer [2023-07-28T10:57:03.049Z] 4872d77fe225: Pulling fs layer [2023-07-28T10:57:03.049Z] 5851b861e8e6: Pulling fs layer [2023-07-28T10:57:03.049Z] 988bab9f4d93: Waiting [2023-07-28T10:57:03.049Z] 1469e6f7b9e6: Waiting [2023-07-28T10:57:03.049Z] eaf3925da568: Waiting [2023-07-28T10:57:03.049Z] bab4dde63d76: Waiting [2023-07-28T10:57:03.049Z] bde34c3a00c8: Waiting [2023-07-28T10:57:03.049Z] b352a97aabf1: Waiting [2023-07-28T10:57:03.049Z] 4872d77fe225: Waiting [2023-07-28T10:57:03.049Z] 5851b861e8e6: Waiting [2023-07-28T10:57:03.049Z] e2be974225ed: Download complete [2023-07-28T10:57:03.049Z] 988bab9f4d93: Verifying Checksum [2023-07-28T10:57:03.049Z] 988bab9f4d93: Download complete [2023-07-28T10:57:03.049Z] 1469e6f7b9e6: Verifying Checksum [2023-07-28T10:57:03.049Z] 1469e6f7b9e6: Download complete [2023-07-28T10:57:03.309Z] 339a4e72a1f5: Verifying Checksum [2023-07-28T10:57:03.309Z] 339a4e72a1f5: Download complete [2023-07-28T10:57:03.309Z] eaf3925da568: Download complete [2023-07-28T10:57:03.309Z] bde34c3a00c8: Verifying Checksum [2023-07-28T10:57:03.309Z] bde34c3a00c8: Download complete [2023-07-28T10:57:03.309Z] b352a97aabf1: Download complete [2023-07-28T10:57:03.309Z] 4872d77fe225: Download complete [2023-07-28T10:57:03.309Z] 5851b861e8e6: Download complete [2023-07-28T10:57:03.309Z] b85a868b505f: Verifying Checksum [2023-07-28T10:57:03.309Z] b85a868b505f: Download complete [2023-07-28T10:57:03.569Z] bab4dde63d76: Verifying Checksum [2023-07-28T10:57:03.569Z] bab4dde63d76: Download complete [2023-07-28T10:57:04.508Z] b85a868b505f: Pull complete [2023-07-28T10:57:04.508Z] e2be974225ed: Pull complete [2023-07-28T10:57:05.075Z] 339a4e72a1f5: Pull complete [2023-07-28T10:57:05.075Z] 988bab9f4d93: Pull complete [2023-07-28T10:57:05.334Z] 1469e6f7b9e6: Pull complete [2023-07-28T10:57:05.334Z] eaf3925da568: Pull complete [2023-07-28T10:57:07.239Z] bab4dde63d76: Pull complete [2023-07-28T10:57:07.239Z] bde34c3a00c8: Pull complete [2023-07-28T10:57:07.498Z] b352a97aabf1: Pull complete [2023-07-28T10:57:07.498Z] 4872d77fe225: Pull complete [2023-07-28T10:57:07.498Z] 5851b861e8e6: Pull complete [2023-07-28T10:57:07.498Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-28T10:57:07.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-28T10:57:07.498Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T10:57:07.711Z] prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container [2023-07-28T10:57:07.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-28T10:57:10.934Z] $ docker top ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 -eo pid,comm [2023-07-28T10:57:10.981Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-28T10:57:10.981Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-28T10:57:11.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T10:57:11.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T10:57:11.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T10:57:11.229Z] $ docker exec ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent [2023-07-28T10:57:11.346Z] SSH_AUTH_SOCK=/tmp/ssh-ZjkGpXfutAig/agent.32 [2023-07-28T10:57:11.346Z] SSH_AGENT_PID=38 [2023-07-28T10:57:11.352Z] Running ssh-add (command line suppressed) [2023-07-28T10:57:11.464Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_6668784907578962220.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_6668784907578962220.key) [2023-07-28T10:57:11.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T10:57:11.809Z] + git tag --points-at HEAD [Pipeline] } [2023-07-28T10:57:11.837Z] $ docker exec --env ******** --env ******** ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent -k [2023-07-28T10:57:11.947Z] unset SSH_AUTH_SOCK; [2023-07-28T10:57:11.947Z] unset SSH_AGENT_PID; [2023-07-28T10:57:11.948Z] echo Agent pid 38 killed; [2023-07-28T10:57:11.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-28T10:57:12.038Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-28T10:57:12.038Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-28T10:57:12.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-28T10:57:12.157Z] $ docker exec ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent [2023-07-28T10:57:12.278Z] SSH_AUTH_SOCK=/tmp/ssh-Nr2L3RSZa73W/agent.71 [2023-07-28T10:57:12.278Z] SSH_AGENT_PID=77 [2023-07-28T10:57:12.282Z] Running ssh-add (command line suppressed) [2023-07-28T10:57:12.388Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_10599617683651877744.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_10599617683651877744.key) [2023-07-28T10:57:12.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-28T10:57:12.723Z] + git semver init [2023-07-28T10:57:12.984Z] 2023-07-28 10:57:12,926 [run_init] DEBUG init version:0.0.0 force:False [2023-07-28T10:57:12.984Z] 2023-07-28 10:57:12,927 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver [2023-07-28T10:57:12.984Z] 2023-07-28 10:57:12,927 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver [2023-07-28T10:57:12.984Z] 2023-07-28 10:57:12,928 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476, universal_newlines=False, shell=None, istream=None) [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,927 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.git/info/exclude [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 with force:False [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,928 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,931 [execute] INFO git cat-file --batch-check [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,938 [execute] INFO git cat-file --batch [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-07-28T10:57:14.363Z] 2023-07-28 10:57:13,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 [2023-07-28T10:57:14.363Z] 0.0.0 [Pipeline] } [2023-07-28T10:57:14.390Z] $ docker exec --env ******** --env ******** ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 ssh-agent -k [2023-07-28T10:57:14.497Z] unset SSH_AUTH_SOCK; [2023-07-28T10:57:14.498Z] unset SSH_AGENT_PID; [2023-07-28T10:57:14.498Z] echo Agent pid 77 killed; [2023-07-28T10:57:14.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-28T10:57:14.917Z] + git semver [Pipeline] } [2023-07-28T10:57:15.209Z] $ docker stop --time=1 ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 [2023-07-28T10:57:16.494Z] $ docker rm -f --volumes ba35fe240ecb418bcacd1015b9d54da5122eb6791583a09951a8cd19788c4b64 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-28T10:57:16.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-28T10:57:17.132Z] Stashed 1 file(s) [Pipeline] echo [2023-07-28T10:57:17.148Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T10:57:17.674Z] provisioning config files... [2023-07-28T10:57:17.684Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config380639516171488806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T10:57:18.027Z] ---> docker-login.sh [2023-07-28T10:57:18.027Z] nexus3.edgexfoundry.org:10001 [2023-07-28T10:57:18.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:57:18.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:57:18.027Z] Configure a credential helper to remove this warning. See [2023-07-28T10:57:18.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:57:18.027Z] [2023-07-28T10:57:18.027Z] Login Succeeded [2023-07-28T10:57:18.027Z] nexus3.edgexfoundry.org:10002 [2023-07-28T10:57:18.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:57:18.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:57:18.027Z] Configure a credential helper to remove this warning. See [2023-07-28T10:57:18.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:57:18.027Z] [2023-07-28T10:57:18.027Z] Login Succeeded [2023-07-28T10:57:18.027Z] nexus3.edgexfoundry.org:10003 [2023-07-28T10:57:18.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:57:18.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:57:18.286Z] Configure a credential helper to remove this warning. See [2023-07-28T10:57:18.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:57:18.286Z] [2023-07-28T10:57:18.286Z] Login Succeeded [2023-07-28T10:57:18.286Z] nexus3.edgexfoundry.org:10004 [2023-07-28T10:57:18.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:57:18.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:57:18.286Z] Configure a credential helper to remove this warning. See [2023-07-28T10:57:18.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:57:18.286Z] [2023-07-28T10:57:18.287Z] Login Succeeded [2023-07-28T10:57:18.287Z] docker.io [2023-07-28T10:57:18.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:57:18.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:57:18.546Z] Configure a credential helper to remove this warning. See [2023-07-28T10:57:18.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:57:18.546Z] [2023-07-28T10:57:18.546Z] Login Succeeded [2023-07-28T10:57:18.546Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T10:57:18.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T10:57:18.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T10:57:18.800Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-28T10:57:18.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T10:57:18.867Z] ========================================================= [2023-07-28T10:57:18.867Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-28T10:57:18.867Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:57:19.287Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-07-28T10:57:19.287Z] Sending build context to Docker daemon 4.869MB [2023-07-28T10:57:19.287Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-28T10:57:19.287Z] Step 2/21 : FROM ${BASE} as builder [2023-07-28T10:57:19.287Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-28T10:57:19.287Z] 91d30c5bc195: Pulling fs layer [2023-07-28T10:57:19.287Z] 316e5a4585fb: Pulling fs layer [2023-07-28T10:57:19.546Z] 91d30c5bc195: Verifying Checksum [2023-07-28T10:57:19.546Z] 91d30c5bc195: Download complete [2023-07-28T10:57:19.546Z] 91d30c5bc195: Pull complete [2023-07-28T10:57:20.113Z] 316e5a4585fb: Verifying Checksum [2023-07-28T10:57:20.113Z] 316e5a4585fb: Download complete [2023-07-28T10:57:22.644Z] 316e5a4585fb: Pull complete [2023-07-28T10:57:22.644Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-28T10:57:22.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-28T10:57:22.644Z] ---> e83ffa357ff4 [2023-07-28T10:57:22.644Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T10:57:25.264Z] ---> Running in 09f119d8428d [2023-07-28T10:57:25.264Z] Connecting to iotech.jfrog.io (52.213.19.111:443) [2023-07-28T10:57:25.528Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T10:57:25.528Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T10:57:25.528Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T10:57:25.786Z] Removing intermediate container 09f119d8428d [2023-07-28T10:57:25.786Z] ---> e24030b8ed63 [2023-07-28T10:57:25.786Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T10:57:25.786Z] ---> Running in f1e487efb403 [2023-07-28T10:57:26.353Z] Removing intermediate container f1e487efb403 [2023-07-28T10:57:26.353Z] ---> b56ce4723ada [2023-07-28T10:57:26.353Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-28T10:57:26.353Z] ---> Running in e61cebb3516d [2023-07-28T10:57:26.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:26.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:27.130Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:27.388Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T10:57:27.649Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T10:57:27.649Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T10:57:27.649Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-28T10:57:27.649Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-28T10:57:27.649Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T10:57:28.216Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T10:57:28.474Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-28T10:57:28.474Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-28T10:57:28.474Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T10:57:28.474Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T10:57:29.411Z] (11/16) Installing libblkid (2.38-r1) [2023-07-28T10:57:29.411Z] (12/16) Installing libuuid (2.38-r1) [2023-07-28T10:57:29.411Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-28T10:57:29.411Z] (14/16) Installing libmount (2.38-r1) [2023-07-28T10:57:29.411Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-28T10:57:29.411Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-28T10:57:29.411Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T10:57:29.411Z] OK: 280 MiB in 90 packages [2023-07-28T10:57:30.346Z] Removing intermediate container e61cebb3516d [2023-07-28T10:57:30.346Z] ---> 671a1093e9c0 [2023-07-28T10:57:30.346Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-28T10:57:30.346Z] ---> Running in 0e9c41e407a3 [2023-07-28T10:57:30.914Z] Removing intermediate container 0e9c41e407a3 [2023-07-28T10:57:30.914Z] ---> 82101e78a0b8 [2023-07-28T10:57:30.914Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-28T10:57:30.914Z] ---> e880ec4a87f0 [2023-07-28T10:57:30.914Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-28T10:57:31.173Z] ---> e87cb172474d [2023-07-28T10:57:31.173Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-28T10:57:31.173Z] ---> 14cd0d615cca [2023-07-28T10:57:31.173Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-28T10:57:31.432Z] ---> 4a3801d2b676 [2023-07-28T10:57:31.432Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-28T10:57:31.432Z] ---> 63fc6c110a81 [2023-07-28T10:57:31.432Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-28T10:57:31.432Z] ---> cd03d49ccc00 [2023-07-28T10:57:31.432Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-28T10:57:31.691Z] ---> Running in df915d15f1b4 [2023-07-28T10:57:31.691Z] + CPPCHECK=false [2023-07-28T10:57:31.691Z] + DOCGEN=false [2023-07-28T10:57:31.691Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-28T10:57:31.691Z] + '[' 0 -gt 0 ] [2023-07-28T10:57:31.691Z] + readlink -f ./scripts/build.sh [2023-07-28T10:57:31.691Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-28T10:57:31.949Z] + dirname /tmp/sdk/scripts [2023-07-28T10:57:31.949Z] + ROOT=/tmp/sdk [2023-07-28T10:57:31.949Z] + cd /tmp/sdk [2023-07-28T10:57:31.949Z] + mkdir -p /tmp/sdk/build/release [2023-07-28T10:57:31.949Z] + cd /tmp/sdk/build/release [2023-07-28T10:57:31.949Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-28T10:57:31.949Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T10:57:31.949Z] -- Detecting C compiler ABI info [2023-07-28T10:57:31.949Z] -- Detecting C compiler ABI info - done [2023-07-28T10:57:31.949Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T10:57:31.949Z] -- Detecting C compile features [2023-07-28T10:57:31.949Z] -- Detecting C compile features - done [2023-07-28T10:57:31.949Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T10:57:31.949Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T10:57:31.949Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T10:57:31.949Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T10:57:31.949Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T10:57:31.949Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T10:57:31.949Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T10:57:32.208Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T10:57:32.208Z] -- /opt/iotech/iot/1.5/include [2023-07-28T10:57:32.208Z] -- C SDK 0.0.0 for Linux [2023-07-28T10:57:32.208Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T10:57:32.208Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T10:57:32.208Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T10:57:32.208Z] -- Configuring done [2023-07-28T10:57:32.208Z] -- Generating done [2023-07-28T10:57:32.208Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-28T10:57:32.208Z] + make all package [2023-07-28T10:57:32.208Z] + tee release.log [2023-07-28T10:57:32.208Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T10:57:32.469Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-28T10:57:32.494Z] Still waiting to schedule task [2023-07-28T10:57:32.495Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-28T10:57:32.727Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-28T10:57:32.727Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-28T10:57:32.988Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-28T10:57:32.988Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-28T10:57:33.247Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-28T10:57:33.507Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-28T10:57:33.507Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-28T10:57:33.766Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-28T10:57:34.026Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-28T10:57:34.284Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-28T10:57:34.284Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-28T10:57:34.543Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-28T10:57:34.543Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-28T10:57:34.802Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-28T10:57:34.802Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-28T10:57:35.369Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-28T10:57:35.369Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-28T10:57:35.369Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-28T10:57:35.628Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-28T10:57:36.564Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-28T10:57:36.564Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-28T10:57:36.823Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-28T10:57:36.823Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-28T10:57:36.823Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-28T10:57:37.082Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-28T10:57:37.648Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-28T10:57:37.648Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-28T10:57:37.908Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-28T10:57:37.908Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-28T10:57:38.475Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-28T10:57:38.475Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-28T10:57:38.734Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-28T10:57:38.734Z] [ 68%] Linking C shared library libcsdk.so [2023-07-28T10:57:38.734Z] [ 68%] Built target csdk [2023-07-28T10:57:38.734Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-28T10:57:38.993Z] [ 72%] Linking C executable template [2023-07-28T10:57:38.993Z] [ 72%] Built target template [2023-07-28T10:57:38.993Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-28T10:57:39.252Z] [ 76%] Linking C executable device-counter [2023-07-28T10:57:39.252Z] [ 76%] Built target device-counter [2023-07-28T10:57:39.252Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-28T10:57:39.252Z] [ 80%] Linking C executable device-random [2023-07-28T10:57:39.511Z] [ 80%] Built target device-random [2023-07-28T10:57:39.511Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-28T10:57:39.511Z] [ 84%] Linking C executable device-gyro [2023-07-28T10:57:39.511Z] [ 84%] Built target device-gyro [2023-07-28T10:57:39.511Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-28T10:57:39.768Z] [ 88%] Linking C executable device-bitfields [2023-07-28T10:57:39.768Z] [ 88%] Built target device-bitfields [2023-07-28T10:57:39.768Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-28T10:57:40.028Z] [ 92%] Linking C executable template-discovery [2023-07-28T10:57:40.028Z] [ 92%] Built target template-discovery [2023-07-28T10:57:40.028Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-28T10:57:40.286Z] [ 96%] Linking C executable device-file [2023-07-28T10:57:40.286Z] [ 96%] Built target device-file [2023-07-28T10:57:40.286Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-28T10:57:40.286Z] [100%] Linking C executable device-terminal [2023-07-28T10:57:40.545Z] [100%] Built target device-terminal [2023-07-28T10:57:40.545Z] Run CPack packaging tool... [2023-07-28T10:57:40.545Z] CPack: Create package using TGZ [2023-07-28T10:57:40.545Z] CPack: Install projects [2023-07-28T10:57:40.545Z] CPack: - Run preinstall target for: Csdk [2023-07-28T10:57:40.803Z] CPack: - Install project: Csdk [] [2023-07-28T10:57:40.803Z] CPack: Create package [2023-07-28T10:57:40.803Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-28T10:57:40.803Z] + '[' false '=' true ] [2023-07-28T10:57:40.803Z] + '[' false '=' true ] [2023-07-28T10:57:40.803Z] + mkdir -p /tmp/sdk/build/debug [2023-07-28T10:57:40.803Z] + cd /tmp/sdk/build/debug [2023-07-28T10:57:40.803Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-28T10:57:40.803Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T10:57:40.803Z] -- Detecting C compiler ABI info [2023-07-28T10:57:40.803Z] -- Detecting C compiler ABI info - done [2023-07-28T10:57:40.803Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T10:57:40.803Z] -- Detecting C compile features [2023-07-28T10:57:40.803Z] -- Detecting C compile features - done [2023-07-28T10:57:41.062Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T10:57:41.062Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T10:57:41.062Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T10:57:41.062Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T10:57:41.062Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T10:57:41.062Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T10:57:41.062Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T10:57:41.062Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T10:57:41.062Z] -- /opt/iotech/iot/1.5/include [2023-07-28T10:57:41.062Z] -- C SDK 0.0.0 for Linux [2023-07-28T10:57:41.062Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T10:57:41.062Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T10:57:41.062Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T10:57:41.062Z] -- Configuring done [2023-07-28T10:57:41.062Z] -- Generating done [2023-07-28T10:57:41.062Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-28T10:57:41.062Z] + make [2023-07-28T10:57:41.062Z] + tee debug.log [2023-07-28T10:57:41.321Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T10:57:41.321Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-28T10:57:41.321Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-28T10:57:41.321Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-28T10:57:41.583Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-28T10:57:41.583Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-28T10:57:41.841Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-28T10:57:41.841Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-28T10:57:41.841Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-28T10:57:41.841Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-28T10:57:42.099Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-28T10:57:42.099Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-28T10:57:42.099Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-28T10:57:42.358Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-28T10:57:42.358Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-28T10:57:42.358Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-28T10:57:42.358Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-28T10:57:42.616Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-28T10:57:42.616Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-28T10:57:42.616Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-28T10:57:42.877Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-28T10:57:43.136Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-28T10:57:43.136Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-28T10:57:43.136Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-28T10:57:43.395Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-28T10:57:43.395Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-28T10:57:43.395Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-28T10:57:43.654Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-28T10:57:43.913Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-28T10:57:43.913Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-28T10:57:43.913Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-28T10:57:44.172Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-28T10:57:44.172Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-28T10:57:44.172Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-28T10:57:44.430Z] [ 68%] Linking C shared library libcsdk.so [2023-07-28T10:57:44.430Z] [ 68%] Built target csdk [2023-07-28T10:57:44.430Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-28T10:57:44.430Z] [ 72%] Linking C executable template [2023-07-28T10:57:44.430Z] [ 72%] Built target template [2023-07-28T10:57:44.689Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-28T10:57:44.689Z] [ 76%] Linking C executable device-counter [2023-07-28T10:57:44.689Z] [ 76%] Built target device-counter [2023-07-28T10:57:44.689Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-28T10:57:44.689Z] [ 80%] Linking C executable device-random [2023-07-28T10:57:44.949Z] [ 80%] Built target device-random [2023-07-28T10:57:44.949Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-28T10:57:44.949Z] [ 84%] Linking C executable device-gyro [2023-07-28T10:57:44.949Z] [ 84%] Built target device-gyro [2023-07-28T10:57:44.949Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-28T10:57:45.208Z] [ 88%] Linking C executable device-bitfields [2023-07-28T10:57:45.208Z] [ 88%] Built target device-bitfields [2023-07-28T10:57:45.208Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-28T10:57:45.208Z] [ 92%] Linking C executable template-discovery [2023-07-28T10:57:45.208Z] [ 92%] Built target template-discovery [2023-07-28T10:57:45.208Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-28T10:57:45.468Z] [ 96%] Linking C executable device-file [2023-07-28T10:57:45.468Z] [ 96%] Built target device-file [2023-07-28T10:57:45.468Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-28T10:57:45.468Z] [100%] Linking C executable device-terminal [2023-07-28T10:57:45.735Z] [100%] Built target device-terminal [2023-07-28T10:57:45.735Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.735Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.735Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.735Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 68%] Built target csdk [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 72%] Built target template [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 76%] Built target device-counter [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 80%] Built target device-random [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 84%] Built target device-gyro [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 88%] Built target device-bitfields [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 92%] Built target template-discovery [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [ 96%] Built target device-file [2023-07-28T10:57:45.736Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] [100%] Built target device-terminal [2023-07-28T10:57:45.736Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:45.736Z] Install the project... [2023-07-28T10:57:45.736Z] -- Install configuration: "Release" [2023-07-28T10:57:45.736Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-28T10:57:46.032Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/devsdk [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-28T10:57:46.032Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-28T10:57:46.032Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-28T10:57:46.600Z] Removing intermediate container df915d15f1b4 [2023-07-28T10:57:46.600Z] ---> 89a602014795 [2023-07-28T10:57:46.600Z] Step 14/21 : FROM ${BASE} [2023-07-28T10:57:46.600Z] ---> e83ffa357ff4 [2023-07-28T10:57:46.600Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-28T10:57:46.600Z] ---> Running in 466129c530e6 [2023-07-28T10:57:46.600Z] Removing intermediate container 466129c530e6 [2023-07-28T10:57:46.600Z] ---> 578ab3e06a61 [2023-07-28T10:57:46.600Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T10:57:46.600Z] ---> Running in e57229890415 [2023-07-28T10:57:46.860Z] Connecting to iotech.jfrog.io (52.16.13.142:443) [2023-07-28T10:57:47.428Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T10:57:47.428Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T10:57:47.428Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T10:57:47.686Z] Removing intermediate container e57229890415 [2023-07-28T10:57:47.686Z] ---> 93a74e83314f [2023-07-28T10:57:47.686Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T10:57:47.686Z] ---> Running in 5e74d94b3bb7 [2023-07-28T10:57:48.252Z] Removing intermediate container 5e74d94b3bb7 [2023-07-28T10:57:48.252Z] ---> 979a61201525 [2023-07-28T10:57:48.252Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-28T10:57:48.252Z] ---> Running in b5721e7fdb17 [2023-07-28T10:57:48.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:48.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:48.775Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:49.342Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T10:57:49.342Z] (1/7) Installing curl (8.2.1-r0) [2023-07-28T10:57:49.342Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-28T10:57:49.342Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-28T10:57:49.342Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-28T10:57:49.908Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-28T10:57:49.908Z] (6/7) Installing libuuid (2.38-r1) [2023-07-28T10:57:49.908Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T10:57:50.842Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T10:57:50.842Z] OK: 276 MiB in 83 packages [2023-07-28T10:57:51.101Z] Removing intermediate container b5721e7fdb17 [2023-07-28T10:57:51.101Z] ---> ca7b0095f6eb [2023-07-28T10:57:51.101Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-28T10:57:51.359Z] ---> b21cde8a3e7c [2023-07-28T10:57:51.359Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-28T10:57:51.359Z] ---> 650fa1b37d22 [2023-07-28T10:57:51.359Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-28T10:57:51.618Z] ---> f3f2f4e0496c [2023-07-28T10:57:51.618Z] Successfully built f3f2f4e0496c [2023-07-28T10:57:51.618Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:57:52.269Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-28T10:57:52.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T10:57:52.426Z] prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container [2023-07-28T10:57:52.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-28T10:57:52.782Z] $ docker top c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T10:57:53.174Z] + make test [2023-07-28T10:57:53.174Z] echo "make test" [2023-07-28T10:57:53.174Z] make test [Pipeline] } [2023-07-28T10:57:53.208Z] $ docker stop --time=1 c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 [2023-07-28T10:57:54.483Z] $ docker rm -f --volumes c89d08b01bbf3c5de265dd88ecfaa99cd045a2162f6ae64ebb09df7c4f829073 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T10:57:55.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-28T10:57:55.644Z] + ls -al . [2023-07-28T10:57:55.644Z] total 212 [2023-07-28T10:57:55.644Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 28 10:57 . [2023-07-28T10:57:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 .. [2023-07-28T10:57:55.644Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:57 .git [2023-07-28T10:57:55.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 .github [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 10:56 .gitignore [2023-07-28T10:57:55.644Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 10:57 .semver [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 28 10:56 Attribution.txt [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 28 10:56 CHANGES [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 10:56 Doxyfile [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 10:56 GOVERNANCE.md [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 10:56 Jenkinsfile [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 10:56 LICENSE [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 10:56 Makefile [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 28 10:56 OWNERS.md [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 28 10:56 README.IOT.md [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 28 10:56 README.md [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 28 10:56 README.v3.md [2023-07-28T10:57:55.644Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 10:57 VERSION [2023-07-28T10:57:55.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 docs [2023-07-28T10:57:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 include [2023-07-28T10:57:55.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:56 scripts [2023-07-28T10:57:55.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:57:56.040Z] + 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=efc22004b1480c2ff91dd56cd351beb38d3bebad --label arch=amd64 --label version=0.0.0 . [2023-07-28T10:57:56.040Z] Sending build context to Docker daemon 4.869MB [2023-07-28T10:57:56.040Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-28T10:57:56.040Z] Step 2/17 : FROM ${BASE} [2023-07-28T10:57:56.040Z] ---> f3f2f4e0496c [2023-07-28T10:57:56.040Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-28T10:57:56.040Z] ---> Running in 0e1f5f0b6a1f [2023-07-28T10:57:56.040Z] Removing intermediate container 0e1f5f0b6a1f [2023-07-28T10:57:56.040Z] ---> 75927ea5387e [2023-07-28T10:57:56.040Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T10:57:56.300Z] ---> Running in 5a124474a1f4 [2023-07-28T10:57:56.300Z] Connecting to iotech.jfrog.io (52.17.154.19:443) [2023-07-28T10:57:56.869Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T10:57:56.869Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T10:57:56.869Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T10:57:57.128Z] Removing intermediate container 5a124474a1f4 [2023-07-28T10:57:57.128Z] ---> 1852d3aad951 [2023-07-28T10:57:57.128Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T10:57:57.128Z] ---> Running in bdf08ec1f5ab [2023-07-28T10:57:57.697Z] Removing intermediate container bdf08ec1f5ab [2023-07-28T10:57:57.697Z] ---> c052a54b9a84 [2023-07-28T10:57:57.697Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-28T10:57:57.697Z] ---> Running in 983118b19944 [2023-07-28T10:57:57.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:57.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:57.956Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-28T10:57:58.523Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T10:57:58.523Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T10:57:58.523Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T10:57:58.523Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T10:57:59.460Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T10:57:59.460Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-28T10:57:59.460Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T10:57:59.460Z] (7/11) Installing libblkid (2.38-r1) [2023-07-28T10:57:59.460Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-28T10:57:59.460Z] (9/11) Installing libmount (2.38-r1) [2023-07-28T10:57:59.460Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-28T10:57:59.460Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-28T10:57:59.460Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T10:57:59.460Z] OK: 281 MiB in 92 packages [2023-07-28T10:58:00.026Z] Removing intermediate container 983118b19944 [2023-07-28T10:58:00.026Z] ---> 75d49a6e737f [2023-07-28T10:58:00.026Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-28T10:58:00.026Z] ---> fad28a103e30 [2023-07-28T10:58:00.026Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-28T10:58:00.285Z] ---> bfcc23b4774b [2023-07-28T10:58:00.285Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-28T10:58:00.285Z] ---> 598c99d3ccee [2023-07-28T10:58:00.285Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-28T10:58:00.544Z] ---> 6901712d7f97 [2023-07-28T10:58:00.544Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-28T10:58:00.544Z] ---> c087fd60964e [2023-07-28T10:58:00.544Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-28T10:58:00.801Z] ---> 721ed05b1266 [2023-07-28T10:58:00.801Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-28T10:58:00.802Z] ---> Running in 3649189c8c21 [2023-07-28T10:58:00.802Z] Removing intermediate container 3649189c8c21 [2023-07-28T10:58:00.802Z] ---> 99913d6edffc [2023-07-28T10:58:00.802Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-28T10:58:00.802Z] ---> Running in f773d3902942 [2023-07-28T10:58:00.802Z] Removing intermediate container f773d3902942 [2023-07-28T10:58:00.802Z] ---> 36610c39db15 [2023-07-28T10:58:00.802Z] Step 15/17 : LABEL arch=amd64 [2023-07-28T10:58:00.802Z] ---> Running in 3cfe9e1e285d [2023-07-28T10:58:00.802Z] Removing intermediate container 3cfe9e1e285d [2023-07-28T10:58:00.802Z] ---> 93fb99b7c954 [2023-07-28T10:58:00.802Z] Step 16/17 : LABEL git_sha=efc22004b1480c2ff91dd56cd351beb38d3bebad [2023-07-28T10:58:01.060Z] ---> Running in 0c56a7399634 [2023-07-28T10:58:01.060Z] Removing intermediate container 0c56a7399634 [2023-07-28T10:58:01.060Z] ---> 3974d7667704 [2023-07-28T10:58:01.060Z] Step 17/17 : LABEL version=0.0.0 [2023-07-28T10:58:01.060Z] ---> Running in b57f608ce6b6 [2023-07-28T10:58:01.060Z] Removing intermediate container b57f608ce6b6 [2023-07-28T10:58:01.060Z] ---> b051dd213c04 [2023-07-28T10:58:01.060Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-28T10:58:01.060Z] Successfully built b051dd213c04 [2023-07-28T10:58:01.060Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:58:01.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T10:58:01.954Z] [2023-07-28T10:58:01.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:58:02.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T10:58:02.307Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-28T10:58:02.307Z] 5eb5b503b376: Pulling fs layer [2023-07-28T10:58:02.307Z] 5c69ac0246d0: Pulling fs layer [2023-07-28T10:58:02.307Z] ec43610c2a17: Pulling fs layer [2023-07-28T10:58:02.307Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-28T10:58:02.307Z] 33b1e0a273af: Pulling fs layer [2023-07-28T10:58:02.307Z] 5d3b04190fa2: Pulling fs layer [2023-07-28T10:58:02.307Z] 2f39f015ded8: Pulling fs layer [2023-07-28T10:58:02.307Z] 3a2ae6a8a46f: Waiting [2023-07-28T10:58:02.307Z] 33b1e0a273af: Waiting [2023-07-28T10:58:02.307Z] 5d3b04190fa2: Waiting [2023-07-28T10:58:02.307Z] 2f39f015ded8: Waiting [2023-07-28T10:58:02.307Z] 5c69ac0246d0: Verifying Checksum [2023-07-28T10:58:02.307Z] 5c69ac0246d0: Download complete [2023-07-28T10:58:02.307Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-28T10:58:02.307Z] 3a2ae6a8a46f: Download complete [2023-07-28T10:58:02.307Z] 33b1e0a273af: Verifying Checksum [2023-07-28T10:58:02.307Z] 33b1e0a273af: Download complete [2023-07-28T10:58:02.307Z] 5d3b04190fa2: Verifying Checksum [2023-07-28T10:58:02.307Z] 5d3b04190fa2: Download complete [2023-07-28T10:58:02.307Z] ec43610c2a17: Verifying Checksum [2023-07-28T10:58:02.307Z] ec43610c2a17: Download complete [2023-07-28T10:58:02.567Z] 5eb5b503b376: Verifying Checksum [2023-07-28T10:58:02.567Z] 5eb5b503b376: Download complete [2023-07-28T10:58:03.133Z] 2f39f015ded8: Download complete [2023-07-28T10:58:03.699Z] 5eb5b503b376: Pull complete [2023-07-28T10:58:03.956Z] 5c69ac0246d0: Pull complete [2023-07-28T10:58:04.214Z] ec43610c2a17: Pull complete [2023-07-28T10:58:04.214Z] 3a2ae6a8a46f: Pull complete [2023-07-28T10:58:04.472Z] 33b1e0a273af: Pull complete [2023-07-28T10:58:04.473Z] 5d3b04190fa2: Pull complete [2023-07-28T10:58:08.656Z] 2f39f015ded8: Pull complete [2023-07-28T10:58:08.656Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-28T10:58:08.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T10:58:08.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T10:58:08.871Z] prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container [2023-07-28T10:58:08.902Z] $ 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-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-28T10:58:13.536Z] $ docker top c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T10:58:13.975Z] ---> job-cost.sh [2023-07-28T10:58:13.975Z] lf-activate-venv: SKIPPING [2023-07-28T10:58:13.975Z] INFO: No Stack... [2023-07-28T10:58:14.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T10:58:14.493Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T10:58:14.806Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/cost.csv [2023-07-28T10:58:14.806Z] + cut -d, -f6 [Pipeline] lock [2023-07-28T10:58:14.842Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [2023-07-28T10:58:14.846Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] did not exist. Created. [2023-07-28T10:58:14.847Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T10:58:15.228Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-28T10:58:15.295Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T10:58:15.310Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T10:58:15.384Z] $ docker stop --time=1 c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b [2023-07-28T10:58:16.545Z] $ docker rm -f --volumes c3a68af5258670c02f3d0b2d607caf78897116af269192f1b3ce084700ae0d6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-28T10:59:06.950Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2441 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [Pipeline] { [Pipeline] ws [2023-07-28T10:59:07.002Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-07-28T10:59:07.075Z] Selected Git installation does not exist. Using Default [2023-07-28T10:59:07.075Z] The recommended git tool is: NONE [2023-07-28T10:59:11.887Z] using credential edgex-jenkins-ssh [2023-07-28T10:59:11.904Z] Cloning the remote Git repository [2023-07-28T10:59:11.945Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T10:59:12.028Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-07-28T10:59:12.176Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T10:59:12.177Z] > git --version # timeout=10 [2023-07-28T10:59:12.198Z] > git --version # 'git version 2.25.1' [2023-07-28T10:59:12.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T10:59:12.341Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T10:59:13.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-28T10:59:13.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-28T10:59:14.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-28T10:59:14.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-28T10:59:14.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T10:59:14.366Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-28T10:59:15.010Z] Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit efc22004b1480c2ff91dd56cd351beb38d3bebad [2023-07-28T10:59:15.317Z] Merge succeeded, producing efc22004b1480c2ff91dd56cd351beb38d3bebad [2023-07-28T10:59:15.317Z] Checking out Revision efc22004b1480c2ff91dd56cd351beb38d3bebad (PR-476) [2023-07-28T10:59:15.027Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T10:59:15.099Z] > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 [2023-07-28T10:59:15.215Z] > git remote # timeout=10 [2023-07-28T10:59:15.232Z] > git config --get remote.origin.url # timeout=10 [2023-07-28T10:59:15.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-28T10:59:15.268Z] > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 [2023-07-28T10:59:15.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-28T10:59:15.324Z] > git config core.sparsecheckout # timeout=10 [2023-07-28T10:59:15.337Z] > git checkout -f efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 [2023-07-28T10:59:18.803Z] Commit message: "fix: Bypass JWT check in non-secure mode" [2023-07-28T10:59:18.853Z] > git --version # timeout=10 [2023-07-28T10:59:18.864Z] > git --version # 'git version 2.25.1' [2023-07-28T10:59:18.876Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T10:59:20.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-28T10:59:20.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-28T10:59:20.006Z] Dload Upload Total Spent Left Speed [2023-07-28T10:59:20.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-07-28T10:59:20.772Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-28T10:59:21.163Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-28T10:59:21.163Z] + sudo tee /etc/docker/daemon.new [2023-07-28T10:59:21.163Z] { [2023-07-28T10:59:21.163Z] "registry-mirrors": [ [2023-07-28T10:59:21.163Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-28T10:59:21.163Z] ], [2023-07-28T10:59:21.163Z] "bip": "10.250.0.254/24", [2023-07-28T10:59:21.163Z] "hosts": [ [2023-07-28T10:59:21.163Z] "tcp://0.0.0.0:5555", [2023-07-28T10:59:21.163Z] "unix:///var/run/docker.sock" [2023-07-28T10:59:21.163Z] ], [2023-07-28T10:59:21.163Z] "mtu": 1458, [2023-07-28T10:59:21.163Z] "selinux-enabled": true, [2023-07-28T10:59:21.163Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-28T10:59:21.163Z] } [Pipeline] sh [2023-07-28T10:59:21.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-28T10:59:21.846Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T10:59:40.132Z] provisioning config files... [2023-07-28T10:59:40.158Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config793060766610871971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T10:59:40.534Z] ---> docker-login.sh [2023-07-28T10:59:40.534Z] nexus3.edgexfoundry.org:10001 [2023-07-28T10:59:40.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:59:41.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:59:41.072Z] Configure a credential helper to remove this warning. See [2023-07-28T10:59:41.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:59:41.072Z] [2023-07-28T10:59:41.072Z] Login Succeeded [2023-07-28T10:59:41.072Z] nexus3.edgexfoundry.org:10002 [2023-07-28T10:59:41.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:59:41.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:59:41.341Z] Configure a credential helper to remove this warning. See [2023-07-28T10:59:41.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:59:41.341Z] [2023-07-28T10:59:41.341Z] Login Succeeded [2023-07-28T10:59:41.341Z] nexus3.edgexfoundry.org:10003 [2023-07-28T10:59:41.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:59:41.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:59:41.608Z] Configure a credential helper to remove this warning. See [2023-07-28T10:59:41.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:59:41.608Z] [2023-07-28T10:59:41.608Z] Login Succeeded [2023-07-28T10:59:41.608Z] nexus3.edgexfoundry.org:10004 [2023-07-28T10:59:41.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:59:42.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:59:42.143Z] Configure a credential helper to remove this warning. See [2023-07-28T10:59:42.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:59:42.143Z] [2023-07-28T10:59:42.143Z] Login Succeeded [2023-07-28T10:59:42.143Z] docker.io [2023-07-28T10:59:42.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-28T10:59:42.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-28T10:59:42.725Z] Configure a credential helper to remove this warning. See [2023-07-28T10:59:42.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-28T10:59:42.725Z] [2023-07-28T10:59:42.725Z] Login Succeeded [2023-07-28T10:59:42.725Z] ---> docker-login.sh ends [Pipeline] } [2023-07-28T10:59:42.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-28T10:59:43.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T10:59:43.125Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-28T10:59:43.156Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-28T10:59:43.190Z] ========================================================= [2023-07-28T10:59:43.190Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-28T10:59:43.190Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T10:59:43.628Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-07-28T10:59:43.894Z] Sending build context to Docker daemon 2.918MB [2023-07-28T10:59:43.894Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-28T10:59:43.894Z] Step 2/21 : FROM ${BASE} as builder [2023-07-28T10:59:44.161Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-28T10:59:44.161Z] 547446be3368: Pulling fs layer [2023-07-28T10:59:44.161Z] 76bd08e1cacc: Pulling fs layer [2023-07-28T10:59:44.161Z] 547446be3368: Verifying Checksum [2023-07-28T10:59:44.161Z] 547446be3368: Download complete [2023-07-28T10:59:44.744Z] 547446be3368: Pull complete [2023-07-28T10:59:46.155Z] 76bd08e1cacc: Download complete [2023-07-28T10:59:54.356Z] 76bd08e1cacc: Pull complete [2023-07-28T10:59:54.356Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-28T10:59:54.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-28T10:59:54.356Z] ---> 295cd00e64f4 [2023-07-28T10:59:54.356Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T10:59:54.356Z] ---> Running in 2125fdda4516 [2023-07-28T10:59:55.315Z] Connecting to iotech.jfrog.io (52.213.19.111:443) [2023-07-28T10:59:55.912Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T10:59:55.912Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T10:59:55.912Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T10:59:56.506Z] Removing intermediate container 2125fdda4516 [2023-07-28T10:59:56.506Z] ---> 74c1aa18156c [2023-07-28T10:59:56.506Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T10:59:56.506Z] ---> Running in 584b3d32a537 [2023-07-28T10:59:57.919Z] Removing intermediate container 584b3d32a537 [2023-07-28T10:59:57.919Z] ---> c958ecf45816 [2023-07-28T10:59:57.919Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-28T10:59:57.919Z] ---> Running in bdf3e7eeeec2 [2023-07-28T10:59:58.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T10:59:59.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-28T10:59:59.733Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T11:00:00.692Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T11:00:00.692Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T11:00:00.692Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T11:00:00.692Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-28T11:00:00.692Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-28T11:00:00.692Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T11:00:01.652Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T11:00:01.652Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-28T11:00:01.652Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-28T11:00:01.652Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T11:00:01.652Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T11:00:02.606Z] (11/16) Installing libblkid (2.38-r1) [2023-07-28T11:00:02.606Z] (12/16) Installing libuuid (2.38-r1) [2023-07-28T11:00:02.606Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-28T11:00:02.606Z] (14/16) Installing libmount (2.38-r1) [2023-07-28T11:00:02.606Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-28T11:00:02.606Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-28T11:00:02.606Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T11:00:02.873Z] OK: 286 MiB in 90 packages [2023-07-28T11:00:03.836Z] Removing intermediate container bdf3e7eeeec2 [2023-07-28T11:00:03.836Z] ---> f831abc2f2c2 [2023-07-28T11:00:03.836Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-28T11:00:04.105Z] ---> Running in 0a61f03d9406 [2023-07-28T11:00:05.517Z] Removing intermediate container 0a61f03d9406 [2023-07-28T11:00:05.517Z] ---> 7900d01c53b1 [2023-07-28T11:00:05.517Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-28T11:00:06.102Z] ---> a7086d931b67 [2023-07-28T11:00:06.102Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-28T11:00:06.686Z] ---> 2ebe8a039055 [2023-07-28T11:00:06.686Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-28T11:00:07.268Z] ---> d8ac9ad4c4b1 [2023-07-28T11:00:07.268Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-28T11:00:07.536Z] ---> 340e9fa0be52 [2023-07-28T11:00:07.536Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-28T11:00:08.117Z] ---> 08cd8752a470 [2023-07-28T11:00:08.117Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-28T11:00:08.699Z] ---> e63dbee5495d [2023-07-28T11:00:08.699Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-28T11:00:08.699Z] ---> Running in d0ec202d3f8b [2023-07-28T11:00:09.664Z] + CPPCHECK=false [2023-07-28T11:00:09.664Z] + DOCGEN=false [2023-07-28T11:00:09.664Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-28T11:00:09.664Z] + '[' 0 -gt 0 ] [2023-07-28T11:00:09.664Z] + readlink -f ./scripts/build.sh [2023-07-28T11:00:09.664Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-28T11:00:09.664Z] + dirname /tmp/sdk/scripts [2023-07-28T11:00:09.664Z] + ROOT=/tmp/sdk [2023-07-28T11:00:09.664Z] + cd /tmp/sdk [2023-07-28T11:00:09.664Z] + mkdir -p /tmp/sdk/build/release [2023-07-28T11:00:09.664Z] + cd /tmp/sdk/build/release [2023-07-28T11:00:09.664Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-28T11:00:09.928Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T11:00:09.928Z] -- Detecting C compiler ABI info [2023-07-28T11:00:10.199Z] -- Detecting C compiler ABI info - done [2023-07-28T11:00:10.199Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T11:00:10.199Z] -- Detecting C compile features [2023-07-28T11:00:10.199Z] -- Detecting C compile features - done [2023-07-28T11:00:10.467Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T11:00:10.467Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T11:00:10.467Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T11:00:10.467Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T11:00:10.467Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T11:00:10.467Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T11:00:10.734Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T11:00:10.734Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T11:00:10.734Z] -- /opt/iotech/iot/1.5/include [2023-07-28T11:00:10.734Z] -- C SDK 0.0.0 for Linux [2023-07-28T11:00:10.734Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T11:00:11.001Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T11:00:11.001Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T11:00:11.268Z] -- Configuring done [2023-07-28T11:00:11.535Z] -- Generating done [2023-07-28T11:00:11.535Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-28T11:00:11.535Z] + + tee release.logmake [2023-07-28T11:00:11.535Z] all package [2023-07-28T11:00:11.801Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T11:00:12.384Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-28T11:00:13.342Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-28T11:00:14.301Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-28T11:00:15.261Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-28T11:00:15.844Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-28T11:00:17.784Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-28T11:00:19.189Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-28T11:00:19.189Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-28T11:00:20.386Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-28T11:00:23.816Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-28T11:00:23.816Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-28T11:00:23.816Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-28T11:00:24.772Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-28T11:00:25.352Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-28T11:00:26.304Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-28T11:00:26.572Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-28T11:00:29.148Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-28T11:00:29.148Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-28T11:00:30.119Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-28T11:00:31.521Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-28T11:00:36.847Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-28T11:00:37.114Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-28T11:00:37.695Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-28T11:00:38.279Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-28T11:00:38.545Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-28T11:00:39.949Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-28T11:00:42.523Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-28T11:00:43.105Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-28T11:00:44.062Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-28T11:00:44.642Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-28T11:00:47.973Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-28T11:00:48.556Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-28T11:00:49.136Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-28T11:00:49.718Z] [ 68%] Linking C shared library libcsdk.so [2023-07-28T11:00:49.718Z] [ 68%] Built target csdk [2023-07-28T11:00:49.984Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-28T11:00:50.940Z] [ 72%] Linking C executable template [2023-07-28T11:00:51.206Z] [ 72%] Built target template [2023-07-28T11:00:51.206Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-28T11:00:51.790Z] [ 76%] Linking C executable device-counter [2023-07-28T11:00:52.054Z] [ 76%] Built target device-counter [2023-07-28T11:00:52.054Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-28T11:00:52.637Z] [ 80%] Linking C executable device-random [2023-07-28T11:00:52.907Z] [ 80%] Built target device-random [2023-07-28T11:00:52.907Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-28T11:00:53.488Z] [ 84%] Linking C executable device-gyro [2023-07-28T11:00:53.755Z] [ 84%] Built target device-gyro [2023-07-28T11:00:53.755Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-28T11:00:54.336Z] [ 88%] Linking C executable device-bitfields [2023-07-28T11:00:54.604Z] [ 88%] Built target device-bitfields [2023-07-28T11:00:54.604Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-28T11:00:55.557Z] [ 92%] Linking C executable template-discovery [2023-07-28T11:00:56.141Z] [ 92%] Built target template-discovery [2023-07-28T11:00:56.141Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-28T11:00:56.722Z] [ 96%] Linking C executable device-file [2023-07-28T11:00:57.305Z] [ 96%] Built target device-file [2023-07-28T11:00:57.306Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-28T11:00:57.888Z] [100%] Linking C executable device-terminal [2023-07-28T11:00:58.154Z] [100%] Built target device-terminal [2023-07-28T11:00:58.155Z] Run CPack packaging tool... [2023-07-28T11:00:58.419Z] CPack: Create package using TGZ [2023-07-28T11:00:58.419Z] CPack: Install projects [2023-07-28T11:00:58.419Z] CPack: - Run preinstall target for: Csdk [2023-07-28T11:00:59.001Z] CPack: - Install project: Csdk [] [2023-07-28T11:00:59.001Z] CPack: Create package [2023-07-28T11:00:59.001Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-28T11:00:59.266Z] + '[' false '=' true ] [2023-07-28T11:00:59.266Z] + '[' false '=' true ] [2023-07-28T11:00:59.266Z] + mkdir -p /tmp/sdk/build/debug [2023-07-28T11:00:59.266Z] + cd /tmp/sdk/build/debug [2023-07-28T11:00:59.266Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-28T11:00:59.532Z] -- The C compiler identification is GNU 11.2.1 [2023-07-28T11:00:59.532Z] -- Detecting C compiler ABI info [2023-07-28T11:00:59.800Z] -- Detecting C compiler ABI info - done [2023-07-28T11:00:59.800Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-28T11:00:59.800Z] -- Detecting C compile features [2023-07-28T11:00:59.800Z] -- Detecting C compile features - done [2023-07-28T11:00:59.800Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-28T11:01:00.067Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-28T11:01:00.067Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-28T11:01:00.067Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-28T11:01:00.067Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-28T11:01:00.067Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-28T11:01:00.067Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-28T11:01:00.067Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-28T11:01:00.067Z] -- /opt/iotech/iot/1.5/include [2023-07-28T11:01:00.067Z] -- C SDK 0.0.0 for Linux [2023-07-28T11:01:00.067Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-28T11:01:00.333Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-28T11:01:00.598Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-28T11:01:00.862Z] -- Configuring done [2023-07-28T11:01:00.862Z] -- Generating done [2023-07-28T11:01:01.128Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-28T11:01:01.128Z] + make [2023-07-28T11:01:01.128Z] + tee debug.log [2023-07-28T11:01:01.128Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-28T11:01:01.711Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-28T11:01:01.976Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-28T11:01:02.559Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-28T11:01:02.824Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-28T11:01:03.095Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-28T11:01:04.050Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-28T11:01:04.315Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-28T11:01:04.581Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-28T11:01:05.163Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-28T11:01:05.743Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-28T11:01:06.009Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-28T11:01:06.590Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-28T11:01:06.856Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-28T11:01:07.438Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-28T11:01:07.704Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-28T11:01:07.970Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-28T11:01:08.930Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-28T11:01:08.930Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-28T11:01:09.195Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-28T11:01:10.150Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-28T11:01:11.105Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-28T11:01:11.684Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-28T11:01:11.950Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-28T11:01:12.216Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-28T11:01:12.482Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-28T11:01:13.065Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-28T11:01:15.002Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-28T11:01:15.002Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-28T11:01:15.581Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-28T11:01:15.847Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-28T11:01:16.799Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-28T11:01:17.063Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-28T11:01:17.328Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-28T11:01:17.906Z] [ 68%] Linking C shared library libcsdk.so [2023-07-28T11:01:17.906Z] [ 68%] Built target csdk [2023-07-28T11:01:17.906Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-28T11:01:18.485Z] [ 72%] Linking C executable template [2023-07-28T11:01:18.748Z] [ 72%] Built target template [2023-07-28T11:01:18.748Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-28T11:01:19.012Z] [ 76%] Linking C executable device-counter [2023-07-28T11:01:19.277Z] [ 76%] Built target device-counter [2023-07-28T11:01:19.277Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-28T11:01:19.543Z] [ 80%] Linking C executable device-random [2023-07-28T11:01:19.809Z] [ 80%] Built target device-random [2023-07-28T11:01:20.073Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-28T11:01:20.339Z] [ 84%] Linking C executable device-gyro [2023-07-28T11:01:20.604Z] [ 84%] Built target device-gyro [2023-07-28T11:01:20.604Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-28T11:01:20.869Z] [ 88%] Linking C executable device-bitfields [2023-07-28T11:01:21.136Z] [ 88%] Built target device-bitfields [2023-07-28T11:01:21.136Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-28T11:01:21.714Z] [ 92%] Linking C executable template-discovery [2023-07-28T11:01:21.979Z] [ 92%] Built target template-discovery [2023-07-28T11:01:21.979Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-28T11:01:22.246Z] [ 96%] Linking C executable device-file [2023-07-28T11:01:22.512Z] [ 96%] Built target device-file [2023-07-28T11:01:22.512Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-28T11:01:23.093Z] [100%] Linking C executable device-terminal [2023-07-28T11:01:23.359Z] [100%] Built target device-terminal [2023-07-28T11:01:23.359Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.359Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.359Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] [ 68%] Built target csdk [2023-07-28T11:01:23.627Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] [ 72%] Built target template [2023-07-28T11:01:23.627Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] [ 76%] Built target device-counter [2023-07-28T11:01:23.627Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] [ 80%] Built target device-random [2023-07-28T11:01:23.627Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.627Z] [ 84%] Built target device-gyro [2023-07-28T11:01:23.627Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] [ 88%] Built target device-bitfields [2023-07-28T11:01:23.892Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] [ 92%] Built target template-discovery [2023-07-28T11:01:23.892Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] [ 96%] Built target device-file [2023-07-28T11:01:23.892Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] [100%] Built target device-terminal [2023-07-28T11:01:23.892Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:23.892Z] Install the project... [2023-07-28T11:01:23.892Z] -- Install configuration: "Release" [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-28T11:01:23.892Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/devsdk [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-28T11:01:23.892Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-28T11:01:23.892Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-28T11:01:25.293Z] Removing intermediate container d0ec202d3f8b [2023-07-28T11:01:25.293Z] ---> 6189abf83b14 [2023-07-28T11:01:25.293Z] Step 14/21 : FROM ${BASE} [2023-07-28T11:01:25.293Z] ---> 295cd00e64f4 [2023-07-28T11:01:25.293Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-28T11:01:25.293Z] ---> Running in 7299248dc896 [2023-07-28T11:01:25.560Z] Removing intermediate container 7299248dc896 [2023-07-28T11:01:25.560Z] ---> b97b08edb851 [2023-07-28T11:01:25.560Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T11:01:25.560Z] ---> Running in 852049d082c0 [2023-07-28T11:01:26.564Z] Connecting to iotech.jfrog.io (34.252.139.230:443) [2023-07-28T11:01:26.851Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T11:01:26.851Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T11:01:26.851Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T11:01:27.470Z] Removing intermediate container 852049d082c0 [2023-07-28T11:01:27.470Z] ---> f9c87f55cbbd [2023-07-28T11:01:27.470Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T11:01:27.754Z] ---> Running in 3afef5b5791f [2023-07-28T11:01:29.197Z] Removing intermediate container 3afef5b5791f [2023-07-28T11:01:29.197Z] ---> 6f5586508486 [2023-07-28T11:01:29.197Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-28T11:01:29.197Z] ---> Running in f23c027b26d1 [2023-07-28T11:01:30.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:30.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:31.046Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:31.630Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T11:01:31.630Z] (1/7) Installing curl (8.2.1-r0) [2023-07-28T11:01:31.630Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-28T11:01:31.630Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-28T11:01:31.895Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-28T11:01:32.475Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-28T11:01:32.475Z] (6/7) Installing libuuid (2.38-r1) [2023-07-28T11:01:32.475Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-28T11:01:33.432Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T11:01:33.432Z] OK: 281 MiB in 83 packages [2023-07-28T11:01:34.397Z] Removing intermediate container f23c027b26d1 [2023-07-28T11:01:34.397Z] ---> 36cfa1e67897 [2023-07-28T11:01:34.397Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-28T11:01:34.979Z] ---> e29eca07e5e0 [2023-07-28T11:01:34.979Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-28T11:01:37.546Z] ---> c463b6f55ea5 [2023-07-28T11:01:37.546Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-28T11:01:38.127Z] ---> dca3bd155ad2 [2023-07-28T11:01:38.127Z] Successfully built dca3bd155ad2 [2023-07-28T11:01:38.127Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T11:01:38.828Z] + docker inspect -f . ci-base-image-arm64 [2023-07-28T11:01:38.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T11:01:39.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container [2023-07-28T11:01:39.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-28T11:01:40.261Z] $ docker top a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T11:01:41.109Z] + make test [2023-07-28T11:01:41.109Z] echo "make test" [2023-07-28T11:01:41.109Z] make test [Pipeline] } [2023-07-28T11:01:41.141Z] $ docker stop --time=1 a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 [2023-07-28T11:01:42.727Z] $ docker rm -f --volumes a33f41187b5edf1a7b92af409f3e67c2dd41eb09321678288d2db4b5f6039367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-28T11:01:43.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-28T11:01:43.809Z] + ls -al . [2023-07-28T11:01:43.809Z] total 208 [2023-07-28T11:01:43.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:59 . [2023-07-28T11:01:43.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 .. [2023-07-28T11:01:43.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 10:59 .git [2023-07-28T11:01:43.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 .github [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 28 10:59 .gitignore [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 28 10:59 Attribution.txt [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 28 10:59 CHANGES [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 28 10:59 Doxyfile [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 10:59 GOVERNANCE.md [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 28 10:59 Jenkinsfile [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 28 10:59 LICENSE [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 28 10:59 Makefile [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 28 10:59 OWNERS.md [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 28 10:59 README.IOT.md [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 28 10:59 README.md [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 28 10:59 README.v3.md [2023-07-28T11:01:43.809Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 10:57 VERSION [2023-07-28T11:01:43.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 docs [2023-07-28T11:01:43.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 include [2023-07-28T11:01:43.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 10:59 scripts [2023-07-28T11:01:43.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 10:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T11:01:44.200Z] + 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=efc22004b1480c2ff91dd56cd351beb38d3bebad --label arch=arm64 --label version=0.0.0 . [2023-07-28T11:01:44.465Z] Sending build context to Docker daemon 2.918MB [2023-07-28T11:01:44.465Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-28T11:01:44.465Z] Step 2/17 : FROM ${BASE} [2023-07-28T11:01:44.465Z] ---> dca3bd155ad2 [2023-07-28T11:01:44.465Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-28T11:01:44.733Z] ---> Running in 5c87b896903b [2023-07-28T11:01:44.733Z] Removing intermediate container 5c87b896903b [2023-07-28T11:01:44.733Z] ---> 7b9ee1746175 [2023-07-28T11:01:44.733Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-28T11:01:45.000Z] ---> Running in 3837ece24a24 [2023-07-28T11:01:45.954Z] Connecting to iotech.jfrog.io (34.252.139.230:443) [2023-07-28T11:01:46.222Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-28T11:01:46.222Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-28T11:01:46.222Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-28T11:01:46.806Z] Removing intermediate container 3837ece24a24 [2023-07-28T11:01:46.806Z] ---> 97ad24d8fd11 [2023-07-28T11:01:46.806Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-28T11:01:46.806Z] ---> Running in 62fdd941aa4d [2023-07-28T11:01:48.211Z] Removing intermediate container 62fdd941aa4d [2023-07-28T11:01:48.211Z] ---> 7fceaf4d6a90 [2023-07-28T11:01:48.211Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-28T11:01:48.211Z] ---> Running in b92c68d994b0 [2023-07-28T11:01:49.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:49.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:50.017Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-28T11:01:50.971Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-28T11:01:50.972Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T11:01:50.972Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-28T11:01:50.972Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-28T11:01:51.558Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-28T11:01:51.558Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-28T11:01:51.827Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-28T11:01:51.827Z] (7/11) Installing libblkid (2.38-r1) [2023-07-28T11:01:51.827Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-28T11:01:51.827Z] (9/11) Installing libmount (2.38-r1) [2023-07-28T11:01:51.827Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-28T11:01:51.827Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-28T11:01:51.827Z] Executing busybox-1.35.0-r17.trigger [2023-07-28T11:01:51.827Z] OK: 287 MiB in 92 packages [2023-07-28T11:01:53.229Z] Removing intermediate container b92c68d994b0 [2023-07-28T11:01:53.229Z] ---> 4815f01bc467 [2023-07-28T11:01:53.229Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-28T11:01:53.494Z] ---> 186cd441ef97 [2023-07-28T11:01:53.494Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-28T11:01:54.076Z] ---> bce85ae39b06 [2023-07-28T11:01:54.076Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-28T11:01:54.659Z] ---> 7a4c35c4df2b [2023-07-28T11:01:54.659Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-28T11:01:55.240Z] ---> e3a2fa547517 [2023-07-28T11:01:55.240Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-28T11:01:55.506Z] ---> 38fc551e1d78 [2023-07-28T11:01:55.506Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-28T11:01:56.089Z] ---> fc72100bd12c [2023-07-28T11:01:56.089Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-28T11:01:56.089Z] ---> Running in 762eef3e8472 [2023-07-28T11:01:56.355Z] Removing intermediate container 762eef3e8472 [2023-07-28T11:01:56.355Z] ---> 8154e131d159 [2023-07-28T11:01:56.355Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-28T11:01:56.355Z] ---> Running in 30083569d02d [2023-07-28T11:01:56.621Z] Removing intermediate container 30083569d02d [2023-07-28T11:01:56.621Z] ---> 2aa33641a198 [2023-07-28T11:01:56.621Z] Step 15/17 : LABEL arch=arm64 [2023-07-28T11:01:56.621Z] ---> Running in 9c69081db8ca [2023-07-28T11:01:56.887Z] Removing intermediate container 9c69081db8ca [2023-07-28T11:01:56.887Z] ---> 4a1bf06743b7 [2023-07-28T11:01:56.887Z] Step 16/17 : LABEL git_sha=efc22004b1480c2ff91dd56cd351beb38d3bebad [2023-07-28T11:01:57.152Z] ---> Running in 427fb8e61ed9 [2023-07-28T11:01:57.418Z] Removing intermediate container 427fb8e61ed9 [2023-07-28T11:01:57.418Z] ---> 4793468aec35 [2023-07-28T11:01:57.418Z] Step 17/17 : LABEL version=0.0.0 [2023-07-28T11:01:57.418Z] ---> Running in 7c66e5fdbecc [2023-07-28T11:01:57.683Z] Removing intermediate container 7c66e5fdbecc [2023-07-28T11:01:57.683Z] ---> 86c4ae3f7d77 [2023-07-28T11:01:57.683Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-28T11:01:57.683Z] Successfully built 86c4ae3f7d77 [2023-07-28T11:01:57.683Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T11:01:58.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T11:01:58.588Z] [2023-07-28T11:01:58.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T11:01:58.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T11:01:59.236Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-28T11:01:59.236Z] 8998bd30e6a1: Pulling fs layer [2023-07-28T11:01:59.236Z] 04944245beec: Pulling fs layer [2023-07-28T11:01:59.236Z] 699f458cf7ca: Pulling fs layer [2023-07-28T11:01:59.236Z] 765212b225bb: Pulling fs layer [2023-07-28T11:01:59.236Z] f23df028b6ca: Pulling fs layer [2023-07-28T11:01:59.236Z] d65c8cfc05b1: Pulling fs layer [2023-07-28T11:01:59.236Z] 2437ff75d9bd: Pulling fs layer [2023-07-28T11:01:59.236Z] f23df028b6ca: Waiting [2023-07-28T11:01:59.236Z] d65c8cfc05b1: Waiting [2023-07-28T11:01:59.236Z] 2437ff75d9bd: Waiting [2023-07-28T11:01:59.236Z] 765212b225bb: Waiting [2023-07-28T11:01:59.236Z] 04944245beec: Verifying Checksum [2023-07-28T11:01:59.236Z] 04944245beec: Download complete [2023-07-28T11:01:59.236Z] 765212b225bb: Verifying Checksum [2023-07-28T11:01:59.236Z] 765212b225bb: Download complete [2023-07-28T11:01:59.236Z] f23df028b6ca: Verifying Checksum [2023-07-28T11:01:59.236Z] f23df028b6ca: Download complete [2023-07-28T11:01:59.236Z] d65c8cfc05b1: Verifying Checksum [2023-07-28T11:01:59.236Z] d65c8cfc05b1: Download complete [2023-07-28T11:01:59.504Z] 699f458cf7ca: Verifying Checksum [2023-07-28T11:01:59.504Z] 699f458cf7ca: Download complete [2023-07-28T11:01:59.772Z] 8998bd30e6a1: Download complete [2023-07-28T11:02:02.344Z] 2437ff75d9bd: Verifying Checksum [2023-07-28T11:02:02.344Z] 2437ff75d9bd: Download complete [2023-07-28T11:02:03.752Z] 8998bd30e6a1: Pull complete [2023-07-28T11:02:04.019Z] 04944245beec: Pull complete [2023-07-28T11:02:05.425Z] 699f458cf7ca: Pull complete [2023-07-28T11:02:05.691Z] 765212b225bb: Pull complete [2023-07-28T11:02:06.275Z] f23df028b6ca: Pull complete [2023-07-28T11:02:06.541Z] d65c8cfc05b1: Pull complete [2023-07-28T11:02:21.529Z] 2437ff75d9bd: Pull complete [2023-07-28T11:02:21.529Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-28T11:02:21.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-28T11:02:21.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T11:02:21.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-2441 does not seem to be running inside a container [2023-07-28T11:02:21.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-28T11:02:24.225Z] $ docker top c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:24.785Z] ---> job-cost.sh [2023-07-28T11:02:25.052Z] lf-activate-venv: SKIPPING [2023-07-28T11:02:25.052Z] INFO: No Stack... [2023-07-28T11:02:25.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-28T11:02:26.270Z] INFO: Archiving Costs [Pipeline] sh [2023-07-28T11:02:26.602Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-07-28T11:02:26.602Z] + cut -d, -f6 [Pipeline] lock [2023-07-28T11:02:26.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [2023-07-28T11:02:26.689Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] did not exist. Created. [2023-07-28T11:02:26.689Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-28T11:02:27.099Z] /w/workspace/device-sdk-c/1@tmp/durable-cbd8dd4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-28T11:02:27.445Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-28T11:02:27.479Z] Warning: overwriting stash ‘stack-cost’ [2023-07-28T11:02:27.901Z] Stashed 1 file(s) [Pipeline] } [2023-07-28T11:02:27.917Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-28T11:02:27.995Z] $ docker stop --time=1 c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a [2023-07-28T11:02:29.447Z] $ docker rm -f --volumes c215ec2271dbb9e9e96beb7ce5a2a5d630c90bd3561a0d021b8ed2813169190a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-28T11:02:31.112Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives ] [2023-07-28T11:02:31.112Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-28T11:02:31.112Z] total 16 [2023-07-28T11:02:31.112Z] drwxr-xr-x 3 root root 4096 Jul 28 10:58 . [2023-07-28T11:02:31.112Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 10:58 .. [2023-07-28T11:02:31.112Z] drwxr-xr-x 2 root root 4096 Jul 28 10:58 cost [2023-07-28T11:02:31.112Z] -rw-r--r-- 1 root root 84 Jul 28 10:58 cost.csv [2023-07-28T11:02:31.112Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-28T11:02:31.112Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-28T11:02:31.112Z] total 16 [2023-07-28T11:02:31.112Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 10:58 . [2023-07-28T11:02:31.112Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 10:58 .. [2023-07-28T11:02:31.112Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 10:58 cost [2023-07-28T11:02:31.112Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 28 10:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:31.437Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:32.323Z] ---> package-listing.sh [2023-07-28T11:02:32.323Z] ++ facter osfamily [2023-07-28T11:02:32.323Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-28T11:02:32.582Z] + OS_FAMILY=debian [2023-07-28T11:02:32.582Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-476 [2023-07-28T11:02:32.582Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-28T11:02:32.582Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-28T11:02:32.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-28T11:02:32.582Z] + PACKAGES=/tmp/packages_start.txt [2023-07-28T11:02:32.582Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' [2023-07-28T11:02:32.582Z] + PACKAGES=/tmp/packages_end.txt [2023-07-28T11:02:32.582Z] + case "${OS_FAMILY}" in [2023-07-28T11:02:32.582Z] + dpkg -l [2023-07-28T11:02:32.582Z] + grep '^ii' [2023-07-28T11:02:32.582Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-28T11:02:32.582Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-28T11:02:32.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-28T11:02:32.582Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' [2023-07-28T11:02:32.582Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ [2023-07-28T11:02:32.582Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ [Pipeline] echo [2023-07-28T11:02:32.611Z] 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-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-28T11:02:32.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-28T11:02:33.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-28T11:02:33.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-28T11:02:33.687Z] prd-ubuntu20.04-docker-8c-8g-2440 does not seem to be running inside a container [2023-07-28T11:02:33.709Z] $ 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-476/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-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-28T11:02:34.011Z] $ docker top f0e4712d44972ef54290bafcec39ed9b09b28cb214a1d21eeb09b462e9132e8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-28T11:02:34.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-28T11:02:34.716Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-28T11:02:35.022Z] + ls /var/log/sa-host [2023-07-28T11:02:35.023Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-28T11:02:35.231Z] provisioning config files... [2023-07-28T11:02:35.242Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config17957585837260025227tmp [Pipeline] { [Pipeline] echo [2023-07-28T11:02:35.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:35.656Z] ---> create-netrc.sh [Pipeline] } [2023-07-28T11:02:35.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:36.086Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-28T11:02:36.117Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:36.437Z] ---> sudo-logs.sh [2023-07-28T11:02:36.437Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-28T11:02:36.521Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:36.830Z] ---> job-cost.sh [2023-07-28T11:02:36.830Z] lf-activate-venv: SKIPPING [2023-07-28T11:02:36.830Z] DEBUG: total: 0.2199999988079071 [2023-07-28T11:02:36.830Z] INFO: Retrieving Stack Cost... [2023-07-28T11:02:37.091Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-28T11:02:37.354Z] INFO: Archiving Costs [Pipeline] echo [2023-07-28T11:02:37.386Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-28T11:02:37.698Z] ---> logs-deploy.sh [2023-07-28T11:02:37.698Z] lf-activate-venv: SKIPPING [2023-07-28T11:02:37.698Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-476/1 [2023-07-28T11:02:37.698Z] INFO: archiving workspace using pattern(s): [2023-07-28T11:02:38.636Z] Archives upload complete. [2023-07-28T11:02:38.636Z] INFO: archiving logs to Nexus