Pull request #471 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 c449cd6a2c57881ffa1c10c806da9f662413e186+e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (623eeb0a79443861ac4ba55f568ea4a2b4f9894f) 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-ssh590573540465100187.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-ssh3545472825700372636.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-471/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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12589149169255155815.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-471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2633800193899590777.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-ssh461286339991190931.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-471/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-471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5691572059006878241.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-1636 in /w/workspace/edgexfoundry_device-sdk-c_PR-471 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-471 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit c449cd6a2c57881ffa1c10c806da9f662413e186 > 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/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 > git remote # timeout=10 Merge succeeded, producing c449cd6a2c57881ffa1c10c806da9f662413e186 Checking out Revision c449cd6a2c57881ffa1c10c806da9f662413e186 (PR-471) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 Commit message: "fix: Read actual status code after a POST device API call" 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-20T05:00:49.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-20T05:00:49.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-20T05:00:49.619Z] ========================================================= [2023-07-20T05:00:49.619Z] EdgeX Global Pipelines Version Info [2023-07-20T05:00:49.619Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:00:50.356Z] ------------------- [2023-07-20T05:00:50.357Z] stable info: [2023-07-20T05:00:50.357Z] ------------------- [2023-07-20T05:00:50.357Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-20T05:00:50.357Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T05:00:50.357Z] Message: update stable to v1.0.250 [2023-07-20T05:00:50.929Z] ------------------- [2023-07-20T05:00:50.929Z] experimental info: [2023-07-20T05:00:50.929Z] ------------------- [2023-07-20T05:00:50.929Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-20T05:00:50.929Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T05:00:50.929Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-20T05:00:51.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-20T05:00:51.229Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-20T05:00:51.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-20T05:00:51.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-20T05:00:51.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-20T05:00:51.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-20T05:00:51.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-20T05:00:51.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-20T05:00:51.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-20T05:00:51.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-20T05:00:51.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-20T05:00:51.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-20T05:00:51.677Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T05:00:51.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T05:00:51.760Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-20T05:00:51.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-20T05:00:51.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-20T05:00:51.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-471 [Pipeline] echo [2023-07-20T05:00:51.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-471 [Pipeline] echo [2023-07-20T05:00:51.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-471 [Pipeline] echo [2023-07-20T05:00:52.020Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c449cd6a2c57881ffa1c10c806da9f662413e186 [Pipeline] echo [2023-07-20T05:00:52.062Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c449cd6 [Pipeline] echo [2023-07-20T05:00:52.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T05:00:52.222Z] provisioning config files... [2023-07-20T05:00:52.239Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config11810357894446668114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:00:52.575Z] ---> docker-login.sh [2023-07-20T05:00:52.575Z] nexus3.edgexfoundry.org:10001 [2023-07-20T05:00:53.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:00:53.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:00:53.427Z] Configure a credential helper to remove this warning. See [2023-07-20T05:00:53.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:00:53.427Z] [2023-07-20T05:00:53.427Z] Login Succeeded [2023-07-20T05:00:53.427Z] nexus3.edgexfoundry.org:10002 [2023-07-20T05:00:53.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:00:53.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:00:53.695Z] Configure a credential helper to remove this warning. See [2023-07-20T05:00:53.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:00:53.695Z] [2023-07-20T05:00:53.695Z] Login Succeeded [2023-07-20T05:00:53.695Z] nexus3.edgexfoundry.org:10003 [2023-07-20T05:00:53.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:00:53.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:00:53.695Z] Configure a credential helper to remove this warning. See [2023-07-20T05:00:53.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:00:53.695Z] [2023-07-20T05:00:53.695Z] Login Succeeded [2023-07-20T05:00:53.695Z] nexus3.edgexfoundry.org:10004 [2023-07-20T05:00:53.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:00:53.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:00:53.956Z] Configure a credential helper to remove this warning. See [2023-07-20T05:00:53.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:00:53.956Z] [2023-07-20T05:00:53.956Z] Login Succeeded [2023-07-20T05:00:53.956Z] docker.io [2023-07-20T05:00:53.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:00:54.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:00:54.218Z] Configure a credential helper to remove this warning. See [2023-07-20T05:00:54.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:00:54.218Z] [2023-07-20T05:00:54.218Z] Login Succeeded [2023-07-20T05:00:54.218Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T05:00:54.243Z] 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-20T05:00:54.845Z] + git rev-list -1 --merges c449cd6a2c57881ffa1c10c806da9f662413e186~1..c449cd6a2c57881ffa1c10c806da9f662413e186 [Pipeline] echo [2023-07-20T05:00:54.908Z] -----------> git rev-list -1 --merges c449cd6a2c57881ffa1c10c806da9f662413e186~1..c449cd6a2c57881ffa1c10c806da9f662413e186 c449cd6a2c57881ffa1c10c806da9f662413e186 [false] [Pipeline] sh [2023-07-20T05:00:55.220Z] + git log --format=format:%s -1 c449cd6a2c57881ffa1c10c806da9f662413e186 [Pipeline] echo [2023-07-20T05:00:55.262Z] ========================================================= [2023-07-20T05:00:55.262Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T05:00:55.262Z] ========================================================= 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-20T05:00:56.176Z] + git rev-list -1 --merges c449cd6a2c57881ffa1c10c806da9f662413e186~1..c449cd6a2c57881ffa1c10c806da9f662413e186 [Pipeline] echo [2023-07-20T05:00:56.210Z] -----------> git rev-list -1 --merges c449cd6a2c57881ffa1c10c806da9f662413e186~1..c449cd6a2c57881ffa1c10c806da9f662413e186 c449cd6a2c57881ffa1c10c806da9f662413e186 [false] [Pipeline] sh [2023-07-20T05:00:56.522Z] + git log --format=format:%s -1 c449cd6a2c57881ffa1c10c806da9f662413e186 [Pipeline] echo [2023-07-20T05:00:56.555Z] ========================================================= [2023-07-20T05:00:56.555Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T05:00:56.555Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-20T05:00:57.052Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T05:00:57.052Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-20T05:00:57.052Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-20T05:00:57.052Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-20T05:00:57.052Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-20T05:00:57.052Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-20T05:00:57.052Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:00:57.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T05:00:57.537Z] [2023-07-20T05:00:57.537Z] 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-20T05:00:57.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T05:00:58.167Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-20T05:00:58.167Z] b85a868b505f: Pulling fs layer [2023-07-20T05:00:58.167Z] e2be974225ed: Pulling fs layer [2023-07-20T05:00:58.167Z] 339a4e72a1f5: Pulling fs layer [2023-07-20T05:00:58.167Z] 988bab9f4d93: Pulling fs layer [2023-07-20T05:00:58.167Z] 1469e6f7b9e6: Pulling fs layer [2023-07-20T05:00:58.167Z] eaf3925da568: Pulling fs layer [2023-07-20T05:00:58.167Z] bab4dde63d76: Pulling fs layer [2023-07-20T05:00:58.167Z] bde34c3a00c8: Pulling fs layer [2023-07-20T05:00:58.167Z] b352a97aabf1: Pulling fs layer [2023-07-20T05:00:58.167Z] 4872d77fe225: Pulling fs layer [2023-07-20T05:00:58.167Z] 5851b861e8e6: Pulling fs layer [2023-07-20T05:00:58.167Z] bab4dde63d76: Waiting [2023-07-20T05:00:58.167Z] bde34c3a00c8: Waiting [2023-07-20T05:00:58.167Z] b352a97aabf1: Waiting [2023-07-20T05:00:58.167Z] 4872d77fe225: Waiting [2023-07-20T05:00:58.167Z] 5851b861e8e6: Waiting [2023-07-20T05:00:58.167Z] 988bab9f4d93: Waiting [2023-07-20T05:00:58.167Z] 1469e6f7b9e6: Waiting [2023-07-20T05:00:58.167Z] eaf3925da568: Waiting [2023-07-20T05:00:58.167Z] e2be974225ed: Verifying Checksum [2023-07-20T05:00:58.167Z] e2be974225ed: Download complete [2023-07-20T05:00:58.167Z] 988bab9f4d93: Download complete [2023-07-20T05:00:58.431Z] 1469e6f7b9e6: Verifying Checksum [2023-07-20T05:00:58.431Z] 1469e6f7b9e6: Download complete [2023-07-20T05:00:58.431Z] eaf3925da568: Verifying Checksum [2023-07-20T05:00:58.431Z] eaf3925da568: Download complete [2023-07-20T05:00:58.431Z] 339a4e72a1f5: Verifying Checksum [2023-07-20T05:00:58.431Z] 339a4e72a1f5: Download complete [2023-07-20T05:00:58.431Z] bde34c3a00c8: Verifying Checksum [2023-07-20T05:00:58.431Z] bde34c3a00c8: Download complete [2023-07-20T05:00:58.431Z] b352a97aabf1: Verifying Checksum [2023-07-20T05:00:58.431Z] b352a97aabf1: Download complete [2023-07-20T05:00:58.431Z] 4872d77fe225: Download complete [2023-07-20T05:00:58.431Z] 5851b861e8e6: Download complete [2023-07-20T05:00:58.431Z] b85a868b505f: Download complete [2023-07-20T05:00:58.692Z] bab4dde63d76: Verifying Checksum [2023-07-20T05:00:58.692Z] bab4dde63d76: Download complete [2023-07-20T05:00:59.633Z] b85a868b505f: Pull complete [2023-07-20T05:00:59.892Z] e2be974225ed: Pull complete [2023-07-20T05:01:00.469Z] 339a4e72a1f5: Pull complete [2023-07-20T05:01:00.469Z] 988bab9f4d93: Pull complete [2023-07-20T05:01:00.731Z] 1469e6f7b9e6: Pull complete [2023-07-20T05:01:00.731Z] eaf3925da568: Pull complete [2023-07-20T05:01:02.645Z] bab4dde63d76: Pull complete [2023-07-20T05:01:02.646Z] bde34c3a00c8: Pull complete [2023-07-20T05:01:02.646Z] b352a97aabf1: Pull complete [2023-07-20T05:01:02.913Z] 4872d77fe225: Pull complete [2023-07-20T05:01:02.913Z] 5851b861e8e6: Pull complete [2023-07-20T05:01:02.913Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-20T05:01:02.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T05:01:02.913Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:01:03.138Z] prd-ubuntu20.04-docker-8c-8g-1636 does not seem to be running inside a container [2023-07-20T05:01:03.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T05:01:07.092Z] $ docker top 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 -eo pid,comm [2023-07-20T05:01:07.161Z] 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-20T05:01:07.161Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T05:01:07.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T05:01:07.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T05:01:07.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T05:01:07.406Z] $ docker exec 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 ssh-agent [2023-07-20T05:01:07.515Z] SSH_AUTH_SOCK=/tmp/ssh-tE6W2oSfgSLE/agent.32 [2023-07-20T05:01:07.515Z] SSH_AGENT_PID=38 [2023-07-20T05:01:07.522Z] Running ssh-add (command line suppressed) [2023-07-20T05:01:07.629Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_1928523823712203999.key (/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_1928523823712203999.key) [2023-07-20T05:01:07.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T05:01:07.975Z] + git tag --points-at HEAD [Pipeline] } [2023-07-20T05:01:07.999Z] $ docker exec --env ******** --env ******** 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 ssh-agent -k [2023-07-20T05:01:08.100Z] unset SSH_AUTH_SOCK; [2023-07-20T05:01:08.101Z] unset SSH_AGENT_PID; [2023-07-20T05:01:08.101Z] echo Agent pid 38 killed; [2023-07-20T05:01:08.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-20T05:01:08.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T05:01:08.211Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T05:01:08.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T05:01:08.344Z] $ docker exec 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 ssh-agent [2023-07-20T05:01:08.471Z] SSH_AUTH_SOCK=/tmp/ssh-i5tIj3nSVs3n/agent.70 [2023-07-20T05:01:08.471Z] SSH_AGENT_PID=76 [2023-07-20T05:01:08.475Z] Running ssh-add (command line suppressed) [2023-07-20T05:01:08.576Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_8116129707259030860.key (/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/private_key_8116129707259030860.key) [2023-07-20T05:01:08.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T05:01:09.001Z] + git semver init [2023-07-20T05:01:09.276Z] 2023-07-20 05:01:09,183 [run_init] DEBUG init version:0.0.0 force:False [2023-07-20T05:01:09.276Z] 2023-07-20 05:01:09,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver [2023-07-20T05:01:09.276Z] 2023-07-20 05:01:09,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver [2023-07-20T05:01:09.276Z] 2023-07-20 05:01:09,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471, universal_newlines=False, shell=None, istream=None) [2023-07-20T05:01:10.230Z] 2023-07-20 05:01:09,982 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.git/info/exclude [2023-07-20T05:01:10.230Z] 2023-07-20 05:01:09,983 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 with force:False [2023-07-20T05:01:10.230Z] 2023-07-20 05:01:09,983 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 [2023-07-20T05:01:10.230Z] 2023-07-20 05:01:09,987 [execute] INFO git cat-file --batch-check [2023-07-20T05:01:10.231Z] 2023-07-20 05:01:09,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T05:01:10.231Z] 2023-07-20 05:01:09,994 [execute] INFO git cat-file --batch [2023-07-20T05:01:10.231Z] 2023-07-20 05:01:09,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T05:01:10.231Z] 2023-07-20 05:01:10,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-471/.semver/PR-471 [2023-07-20T05:01:10.231Z] 0.0.0 [Pipeline] } [2023-07-20T05:01:10.258Z] $ docker exec --env ******** --env ******** 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 ssh-agent -k [2023-07-20T05:01:10.353Z] unset SSH_AUTH_SOCK; [2023-07-20T05:01:10.354Z] unset SSH_AGENT_PID; [2023-07-20T05:01:10.354Z] echo Agent pid 76 killed; [2023-07-20T05:01:10.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T05:01:10.807Z] + git semver [Pipeline] } [2023-07-20T05:01:11.095Z] $ docker stop --time=1 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 [2023-07-20T05:01:12.434Z] $ docker rm -f --volumes 6a9617ba071f9a7c58fccd98b6531d62fefd504a83bfbb2d6f825ff2f3a44e09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T05:01:12.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-20T05:01:13.097Z] Stashed 1 file(s) [Pipeline] echo [2023-07-20T05:01:13.113Z] [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-20T05:01:13.607Z] provisioning config files... [2023-07-20T05:01:13.618Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config6644260586695973276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:01:13.974Z] ---> docker-login.sh [2023-07-20T05:01:13.974Z] nexus3.edgexfoundry.org:10001 [2023-07-20T05:01:13.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:01:13.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:01:13.974Z] Configure a credential helper to remove this warning. See [2023-07-20T05:01:13.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:01:13.974Z] [2023-07-20T05:01:13.974Z] Login Succeeded [2023-07-20T05:01:13.974Z] nexus3.edgexfoundry.org:10002 [2023-07-20T05:01:13.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:01:13.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:01:13.974Z] Configure a credential helper to remove this warning. See [2023-07-20T05:01:13.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:01:13.974Z] [2023-07-20T05:01:13.974Z] Login Succeeded [2023-07-20T05:01:13.974Z] nexus3.edgexfoundry.org:10003 [2023-07-20T05:01:14.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:01:14.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:01:14.233Z] Configure a credential helper to remove this warning. See [2023-07-20T05:01:14.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:01:14.233Z] [2023-07-20T05:01:14.233Z] Login Succeeded [2023-07-20T05:01:14.233Z] nexus3.edgexfoundry.org:10004 [2023-07-20T05:01:14.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:01:14.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:01:14.233Z] Configure a credential helper to remove this warning. See [2023-07-20T05:01:14.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:01:14.233Z] [2023-07-20T05:01:14.233Z] Login Succeeded [2023-07-20T05:01:14.233Z] docker.io [2023-07-20T05:01:14.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:01:14.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:01:14.492Z] Configure a credential helper to remove this warning. See [2023-07-20T05:01:14.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:01:14.492Z] [2023-07-20T05:01:14.492Z] Login Succeeded [2023-07-20T05:01:14.492Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T05:01:14.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T05:01:14.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T05:01:14.756Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-20T05:01:14.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T05:01:14.820Z] ========================================================= [2023-07-20T05:01:14.820Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-20T05:01:14.820Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:01:15.237Z] + 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-20T05:01:15.237Z] Sending build context to Docker daemon 4.857MB [2023-07-20T05:01:15.237Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T05:01:15.237Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T05:01:15.237Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-20T05:01:15.237Z] 91d30c5bc195: Pulling fs layer [2023-07-20T05:01:15.237Z] 316e5a4585fb: Pulling fs layer [2023-07-20T05:01:15.507Z] 91d30c5bc195: Verifying Checksum [2023-07-20T05:01:15.507Z] 91d30c5bc195: Download complete [2023-07-20T05:01:15.507Z] 91d30c5bc195: Pull complete [2023-07-20T05:01:16.075Z] 316e5a4585fb: Verifying Checksum [2023-07-20T05:01:16.075Z] 316e5a4585fb: Download complete [2023-07-20T05:01:19.082Z] 316e5a4585fb: Pull complete [2023-07-20T05:01:19.082Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-20T05:01:19.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-20T05:01:19.082Z] ---> e83ffa357ff4 [2023-07-20T05:01:19.082Z] 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-20T05:01:21.629Z] ---> Running in b14202bacc5c [2023-07-20T05:01:21.889Z] Connecting to iotech.jfrog.io (52.18.203.85:443) [2023-07-20T05:01:23.562Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:01:23.562Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:01:23.562Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:01:23.562Z] Removing intermediate container b14202bacc5c [2023-07-20T05:01:23.562Z] ---> 8c89bab99af9 [2023-07-20T05:01:23.562Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:01:24.385Z] ---> Running in bcc319abffbe [2023-07-20T05:01:24.649Z] Removing intermediate container bcc319abffbe [2023-07-20T05:01:24.649Z] ---> 9fd50bebafbc [2023-07-20T05:01:24.649Z] 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-20T05:01:24.649Z] ---> Running in 4a3d0e402087 [2023-07-20T05:01:24.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:24.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:24.908Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:25.492Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:01:25.492Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:01:25.492Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:01:25.492Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T05:01:25.492Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T05:01:25.492Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T05:01:26.871Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T05:01:26.871Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T05:01:27.130Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T05:01:27.130Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T05:01:27.130Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T05:01:28.071Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T05:01:28.071Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T05:01:28.071Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T05:01:28.071Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T05:01:28.071Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T05:01:28.071Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T05:01:28.071Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:01:28.368Z] OK: 280 MiB in 90 packages [2023-07-20T05:01:28.439Z] Still waiting to schedule task [2023-07-20T05:01:28.439Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-20T05:01:28.937Z] Removing intermediate container 4a3d0e402087 [2023-07-20T05:01:28.937Z] ---> e4398753ca3e [2023-07-20T05:01:28.937Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T05:01:28.937Z] ---> Running in 65ee63810fe5 [2023-07-20T05:01:29.504Z] Removing intermediate container 65ee63810fe5 [2023-07-20T05:01:29.504Z] ---> bd80072ae3a9 [2023-07-20T05:01:29.504Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T05:01:29.803Z] ---> b3304e0142d1 [2023-07-20T05:01:29.803Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T05:01:30.063Z] ---> 7d4453474ada [2023-07-20T05:01:30.063Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T05:01:30.322Z] ---> 9cc8eebf1174 [2023-07-20T05:01:30.322Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T05:01:30.890Z] ---> 2d195465ab23 [2023-07-20T05:01:30.891Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T05:01:31.463Z] ---> 38d810c8bf6c [2023-07-20T05:01:31.463Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T05:01:31.463Z] ---> fc17b3707e5d [2023-07-20T05:01:31.463Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T05:01:32.031Z] ---> Running in 8d959bca2f16 [2023-07-20T05:01:32.290Z] + CPPCHECK=false [2023-07-20T05:01:32.290Z] + DOCGEN=false [2023-07-20T05:01:32.290Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T05:01:32.290Z] + '[' 0 -gt 0 ] [2023-07-20T05:01:32.290Z] + readlink -f ./scripts/build.sh [2023-07-20T05:01:32.290Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T05:01:32.290Z] + dirname /tmp/sdk/scripts [2023-07-20T05:01:32.290Z] + ROOT=/tmp/sdk [2023-07-20T05:01:32.290Z] + cd /tmp/sdk [2023-07-20T05:01:32.290Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T05:01:32.290Z] + cd /tmp/sdk/build/release [2023-07-20T05:01:32.290Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T05:01:32.290Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T05:01:32.550Z] -- Detecting C compiler ABI info [2023-07-20T05:01:32.550Z] -- Detecting C compiler ABI info - done [2023-07-20T05:01:32.550Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T05:01:32.550Z] -- Detecting C compile features [2023-07-20T05:01:32.550Z] -- Detecting C compile features - done [2023-07-20T05:01:32.550Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T05:01:32.550Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T05:01:32.550Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T05:01:32.550Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T05:01:32.550Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T05:01:32.550Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T05:01:32.550Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T05:01:32.550Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T05:01:32.550Z] -- /opt/iotech/iot/1.5/include [2023-07-20T05:01:32.550Z] -- C SDK 0.0.0 for Linux [2023-07-20T05:01:32.550Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T05:01:32.809Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T05:01:32.809Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T05:01:32.809Z] -- Configuring done [2023-07-20T05:01:32.809Z] -- Generating done [2023-07-20T05:01:32.809Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T05:01:32.809Z] + make all package [2023-07-20T05:01:32.809Z] + tee release.log [2023-07-20T05:01:32.809Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T05:01:33.068Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T05:01:33.327Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T05:01:33.327Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T05:01:33.586Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T05:01:33.586Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T05:01:34.154Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T05:01:34.154Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T05:01:34.154Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T05:01:34.412Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T05:01:34.672Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T05:01:34.931Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T05:01:35.191Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T05:01:35.191Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T05:01:35.449Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T05:01:35.449Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T05:01:35.449Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T05:01:36.014Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T05:01:36.014Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T05:01:36.272Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T05:01:36.531Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T05:01:37.468Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T05:01:37.468Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T05:01:37.468Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T05:01:37.726Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T05:01:37.727Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T05:01:37.985Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T05:01:38.552Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T05:01:38.552Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T05:01:38.812Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T05:01:38.812Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T05:01:39.380Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T05:01:39.641Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T05:01:39.641Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T05:01:39.900Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T05:01:39.900Z] [ 68%] Built target csdk [2023-07-20T05:01:39.900Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T05:01:40.158Z] [ 72%] Linking C executable template [2023-07-20T05:01:40.158Z] [ 72%] Built target template [2023-07-20T05:01:40.158Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T05:01:40.416Z] [ 76%] Linking C executable device-counter [2023-07-20T05:01:40.416Z] [ 76%] Built target device-counter [2023-07-20T05:01:40.416Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T05:01:40.416Z] [ 80%] Linking C executable device-random [2023-07-20T05:01:40.676Z] [ 80%] Built target device-random [2023-07-20T05:01:40.676Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T05:01:40.676Z] [ 84%] Linking C executable device-gyro [2023-07-20T05:01:40.676Z] [ 84%] Built target device-gyro [2023-07-20T05:01:40.676Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T05:01:40.934Z] [ 88%] Linking C executable device-bitfields [2023-07-20T05:01:40.934Z] [ 88%] Built target device-bitfields [2023-07-20T05:01:40.934Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T05:01:41.192Z] [ 92%] Linking C executable template-discovery [2023-07-20T05:01:41.192Z] [ 92%] Built target template-discovery [2023-07-20T05:01:41.192Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T05:01:41.451Z] [ 96%] Linking C executable device-file [2023-07-20T05:01:41.451Z] [ 96%] Built target device-file [2023-07-20T05:01:41.451Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T05:01:41.451Z] [100%] Linking C executable device-terminal [2023-07-20T05:01:41.710Z] [100%] Built target device-terminal [2023-07-20T05:01:41.710Z] Run CPack packaging tool... [2023-07-20T05:01:41.710Z] CPack: Create package using TGZ [2023-07-20T05:01:41.710Z] CPack: Install projects [2023-07-20T05:01:41.710Z] CPack: - Run preinstall target for: Csdk [2023-07-20T05:01:41.970Z] CPack: - Install project: Csdk [] [2023-07-20T05:01:41.970Z] CPack: Create package [2023-07-20T05:01:41.970Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T05:01:41.970Z] + '[' false '=' true ] [2023-07-20T05:01:41.970Z] + '[' false '=' true ] [2023-07-20T05:01:41.970Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T05:01:41.970Z] + cd /tmp/sdk/build/debug [2023-07-20T05:01:41.970Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T05:01:41.970Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T05:01:41.970Z] -- Detecting C compiler ABI info [2023-07-20T05:01:41.970Z] -- Detecting C compiler ABI info - done [2023-07-20T05:01:42.229Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T05:01:42.229Z] -- Detecting C compile features [2023-07-20T05:01:42.229Z] -- Detecting C compile features - done [2023-07-20T05:01:42.229Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T05:01:42.229Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T05:01:42.229Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T05:01:42.229Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T05:01:42.229Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T05:01:42.229Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T05:01:42.229Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T05:01:42.229Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T05:01:42.229Z] -- /opt/iotech/iot/1.5/include [2023-07-20T05:01:42.229Z] -- C SDK 0.0.0 for Linux [2023-07-20T05:01:42.229Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T05:01:42.229Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T05:01:42.229Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T05:01:42.229Z] -- Configuring done [2023-07-20T05:01:42.487Z] -- Generating done [2023-07-20T05:01:42.488Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T05:01:42.488Z] + make [2023-07-20T05:01:42.488Z] + tee debug.log [2023-07-20T05:01:42.488Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T05:01:42.488Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T05:01:42.488Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T05:01:42.747Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T05:01:42.747Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T05:01:42.747Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T05:01:43.005Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T05:01:43.005Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T05:01:43.005Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T05:01:43.264Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T05:01:43.264Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T05:01:43.523Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T05:01:43.523Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T05:01:43.523Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T05:01:43.782Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T05:01:43.782Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T05:01:43.782Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T05:01:44.041Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T05:01:44.041Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T05:01:44.041Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T05:01:44.299Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T05:01:44.577Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T05:01:44.577Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T05:01:44.577Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T05:01:44.577Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T05:01:44.837Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T05:01:44.837Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T05:01:45.097Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T05:01:45.097Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T05:01:45.357Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T05:01:45.357Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T05:01:45.617Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T05:01:45.617Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T05:01:45.617Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T05:01:45.617Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T05:01:45.877Z] [ 68%] Built target csdk [2023-07-20T05:01:45.877Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T05:01:45.877Z] [ 72%] Linking C executable template [2023-07-20T05:01:45.877Z] [ 72%] Built target template [2023-07-20T05:01:45.877Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T05:01:46.136Z] [ 76%] Linking C executable device-counter [2023-07-20T05:01:46.136Z] [ 76%] Built target device-counter [2023-07-20T05:01:46.136Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T05:01:46.136Z] [ 80%] Linking C executable device-random [2023-07-20T05:01:46.136Z] [ 80%] Built target device-random [2023-07-20T05:01:46.395Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T05:01:46.395Z] [ 84%] Linking C executable device-gyro [2023-07-20T05:01:46.395Z] [ 84%] Built target device-gyro [2023-07-20T05:01:46.395Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T05:01:46.395Z] [ 88%] Linking C executable device-bitfields [2023-07-20T05:01:46.655Z] [ 88%] Built target device-bitfields [2023-07-20T05:01:46.655Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T05:01:46.655Z] [ 92%] Linking C executable template-discovery [2023-07-20T05:01:46.655Z] [ 92%] Built target template-discovery [2023-07-20T05:01:46.655Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T05:01:46.914Z] [ 96%] Linking C executable device-file [2023-07-20T05:01:46.914Z] [ 96%] Built target device-file [2023-07-20T05:01:46.914Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T05:01:46.914Z] [100%] Linking C executable device-terminal [2023-07-20T05:01:47.176Z] [100%] Built target device-terminal [2023-07-20T05:01:47.176Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 68%] Built target csdk [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 72%] Built target template [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 76%] Built target device-counter [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 80%] Built target device-random [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 84%] Built target device-gyro [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 88%] Built target device-bitfields [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 92%] Built target template-discovery [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [ 96%] Built target device-file [2023-07-20T05:01:47.176Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] [100%] Built target device-terminal [2023-07-20T05:01:47.176Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:47.176Z] Install the project... [2023-07-20T05:01:47.176Z] -- Install configuration: "Release" [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T05:01:47.176Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/devsdk [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T05:01:47.176Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T05:01:47.176Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:01:48.310Z] Removing intermediate container 8d959bca2f16 [2023-07-20T05:01:48.310Z] ---> 39a6fc5e4b4f [2023-07-20T05:01:48.310Z] Step 14/21 : FROM ${BASE} [2023-07-20T05:01:48.310Z] ---> e83ffa357ff4 [2023-07-20T05:01:48.310Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T05:01:48.310Z] ---> Running in 0ec10aee658c [2023-07-20T05:01:48.310Z] Removing intermediate container 0ec10aee658c [2023-07-20T05:01:48.310Z] ---> f8a8e117fe50 [2023-07-20T05:01:48.310Z] 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-20T05:01:48.310Z] ---> Running in 33d844c0a0f1 [2023-07-20T05:01:48.850Z] Connecting to iotech.jfrog.io (52.214.191.186:443) [2023-07-20T05:01:49.110Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:01:49.110Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:01:49.110Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:01:49.371Z] Removing intermediate container 33d844c0a0f1 [2023-07-20T05:01:49.371Z] ---> 4cd98fbe8aff [2023-07-20T05:01:49.371Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:01:49.371Z] ---> Running in 31039f56b6f4 [2023-07-20T05:01:49.939Z] Removing intermediate container 31039f56b6f4 [2023-07-20T05:01:49.940Z] ---> 56db79fcbe9b [2023-07-20T05:01:49.940Z] 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-20T05:01:49.940Z] ---> Running in ecf1cdcc428e [2023-07-20T05:01:50.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:50.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:50.726Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:01:50.988Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:01:50.988Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T05:01:50.988Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T05:01:50.988Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T05:01:51.249Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T05:01:51.820Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T05:01:51.820Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T05:01:51.820Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T05:01:52.763Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:01:52.763Z] OK: 276 MiB in 83 packages [2023-07-20T05:01:54.199Z] Removing intermediate container ecf1cdcc428e [2023-07-20T05:01:54.199Z] ---> c2591a891589 [2023-07-20T05:01:54.199Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T05:01:54.770Z] ---> 83d18e09f291 [2023-07-20T05:01:54.770Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T05:01:55.029Z] ---> 287f8421e522 [2023-07-20T05:01:55.029Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T05:01:55.029Z] ---> 420c3cccd745 [2023-07-20T05:01:55.029Z] Successfully built 420c3cccd745 [2023-07-20T05:01:55.029Z] 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-20T05:01:55.726Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T05:01:55.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:01:55.890Z] prd-ubuntu20.04-docker-8c-8g-1636 does not seem to be running inside a container [2023-07-20T05:01:55.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-20T05:01:56.280Z] $ docker top 0db5f0a854a8a3212fbd55f10a7db98f7129b72127801b14e0c726adef876d4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T05:01:56.679Z] + make test [2023-07-20T05:01:56.679Z] echo "make test" [2023-07-20T05:01:56.679Z] make test [Pipeline] } [2023-07-20T05:01:56.707Z] $ docker stop --time=1 0db5f0a854a8a3212fbd55f10a7db98f7129b72127801b14e0c726adef876d4f [2023-07-20T05:01:57.992Z] $ docker rm -f --volumes 0db5f0a854a8a3212fbd55f10a7db98f7129b72127801b14e0c726adef876d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T05:01:58.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T05:01:59.164Z] + ls -al . [2023-07-20T05:01:59.164Z] total 212 [2023-07-20T05:01:59.164Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 05:01 . [2023-07-20T05:01:59.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:00 .. [2023-07-20T05:01:59.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 05:01 .git [2023-07-20T05:01:59.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:00 .github [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 05:00 .gitignore [2023-07-20T05:01:59.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 05:01 .semver [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 05:00 Attribution.txt [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 05:00 CHANGES [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 05:00 Doxyfile [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 05:00 GOVERNANCE.md [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 05:00 Jenkinsfile [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 05:00 LICENSE [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 05:00 Makefile [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 05:00 OWNERS.md [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 05:00 README.IOT.md [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 05:00 README.md [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 05:00 README.v3.md [2023-07-20T05:01:59.164Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 05:01 VERSION [2023-07-20T05:01:59.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:00 docs [2023-07-20T05:01:59.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:00 include [2023-07-20T05:01:59.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:00 scripts [2023-07-20T05:01:59.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:01:59.558Z] + 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=c449cd6a2c57881ffa1c10c806da9f662413e186 --label arch=amd64 --label version=0.0.0 . [2023-07-20T05:01:59.558Z] Sending build context to Docker daemon 4.857MB [2023-07-20T05:01:59.558Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T05:01:59.558Z] Step 2/17 : FROM ${BASE} [2023-07-20T05:01:59.558Z] ---> 420c3cccd745 [2023-07-20T05:01:59.558Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T05:01:59.558Z] ---> Running in 4a8a5919bb70 [2023-07-20T05:01:59.816Z] Removing intermediate container 4a8a5919bb70 [2023-07-20T05:01:59.816Z] ---> 606eb5e4723c [2023-07-20T05:01:59.816Z] 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-20T05:01:59.816Z] ---> Running in 9e5ba65d8254 [2023-07-20T05:02:00.075Z] Connecting to iotech.jfrog.io (52.212.72.229:443) [2023-07-20T05:02:00.334Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:02:00.334Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:02:00.334Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:02:00.592Z] Removing intermediate container 9e5ba65d8254 [2023-07-20T05:02:00.593Z] ---> e80018c0d2de [2023-07-20T05:02:00.593Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:02:00.852Z] ---> Running in 18705556969d [2023-07-20T05:02:01.419Z] Removing intermediate container 18705556969d [2023-07-20T05:02:01.419Z] ---> c0c5bb9f52ef [2023-07-20T05:02:01.419Z] 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-20T05:02:01.419Z] ---> Running in fdbb78f04cde [2023-07-20T05:02:01.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:02:01.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T05:02:01.939Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T05:02:02.877Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:02:02.877Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:02:02.877Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:02:02.877Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T05:02:03.447Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T05:02:03.447Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T05:02:03.447Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T05:02:03.447Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T05:02:03.447Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T05:02:03.447Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T05:02:03.447Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T05:02:03.447Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T05:02:03.707Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:02:03.707Z] OK: 281 MiB in 92 packages [2023-07-20T05:02:04.644Z] Removing intermediate container fdbb78f04cde [2023-07-20T05:02:04.645Z] ---> 69be28b2ec05 [2023-07-20T05:02:04.645Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T05:02:04.904Z] ---> 0bf2ec924e8e [2023-07-20T05:02:04.904Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T05:02:05.162Z] ---> 185879689c12 [2023-07-20T05:02:05.162Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T05:02:05.729Z] ---> 0ef2e55a28da [2023-07-20T05:02:05.729Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T05:02:05.989Z] ---> bd2dff71dbb1 [2023-07-20T05:02:05.989Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T05:02:05.989Z] ---> 82be6699a2d1 [2023-07-20T05:02:05.989Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T05:02:06.248Z] ---> be474faf5000 [2023-07-20T05:02:06.248Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T05:02:06.248Z] ---> Running in 1fd1382390f1 [2023-07-20T05:02:06.248Z] Removing intermediate container 1fd1382390f1 [2023-07-20T05:02:06.248Z] ---> a44c20605d04 [2023-07-20T05:02:06.248Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T05:02:06.248Z] ---> Running in 5428a98534c9 [2023-07-20T05:02:06.248Z] Removing intermediate container 5428a98534c9 [2023-07-20T05:02:06.248Z] ---> 6bea10938e35 [2023-07-20T05:02:06.248Z] Step 15/17 : LABEL arch=amd64 [2023-07-20T05:02:06.506Z] ---> Running in f22fde33ef6c [2023-07-20T05:02:06.506Z] Removing intermediate container f22fde33ef6c [2023-07-20T05:02:06.506Z] ---> 9a805f3d999c [2023-07-20T05:02:06.506Z] Step 16/17 : LABEL git_sha=c449cd6a2c57881ffa1c10c806da9f662413e186 [2023-07-20T05:02:06.506Z] ---> Running in 941a7100d3db [2023-07-20T05:02:06.506Z] Removing intermediate container 941a7100d3db [2023-07-20T05:02:06.506Z] ---> 958dad793c5a [2023-07-20T05:02:06.506Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T05:02:06.506Z] ---> Running in bd5deb83cb02 [2023-07-20T05:02:06.766Z] Removing intermediate container bd5deb83cb02 [2023-07-20T05:02:06.766Z] ---> 7bc900600dda [2023-07-20T05:02:06.766Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-20T05:02:06.766Z] Successfully built 7bc900600dda [2023-07-20T05:02:06.766Z] 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-20T05:02:07.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T05:02:07.700Z] [2023-07-20T05:02:07.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:02:08.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T05:02:08.071Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-20T05:02:08.071Z] 5eb5b503b376: Pulling fs layer [2023-07-20T05:02:08.071Z] 5c69ac0246d0: Pulling fs layer [2023-07-20T05:02:08.071Z] ec43610c2a17: Pulling fs layer [2023-07-20T05:02:08.071Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-20T05:02:08.071Z] 33b1e0a273af: Pulling fs layer [2023-07-20T05:02:08.071Z] 3a2ae6a8a46f: Waiting [2023-07-20T05:02:08.071Z] 5d3b04190fa2: Pulling fs layer [2023-07-20T05:02:08.071Z] 2f39f015ded8: Pulling fs layer [2023-07-20T05:02:08.071Z] 33b1e0a273af: Waiting [2023-07-20T05:02:08.071Z] 2f39f015ded8: Waiting [2023-07-20T05:02:08.071Z] 5d3b04190fa2: Waiting [2023-07-20T05:02:08.071Z] 5c69ac0246d0: Verifying Checksum [2023-07-20T05:02:08.071Z] 5c69ac0246d0: Download complete [2023-07-20T05:02:08.071Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-20T05:02:08.071Z] 3a2ae6a8a46f: Download complete [2023-07-20T05:02:08.071Z] 33b1e0a273af: Verifying Checksum [2023-07-20T05:02:08.071Z] 33b1e0a273af: Download complete [2023-07-20T05:02:08.071Z] ec43610c2a17: Verifying Checksum [2023-07-20T05:02:08.071Z] ec43610c2a17: Download complete [2023-07-20T05:02:08.071Z] 5d3b04190fa2: Verifying Checksum [2023-07-20T05:02:08.071Z] 5d3b04190fa2: Download complete [2023-07-20T05:02:08.330Z] 5eb5b503b376: Verifying Checksum [2023-07-20T05:02:08.330Z] 5eb5b503b376: Download complete [2023-07-20T05:02:08.895Z] 2f39f015ded8: Verifying Checksum [2023-07-20T05:02:08.895Z] 2f39f015ded8: Download complete [2023-07-20T05:02:09.463Z] 5eb5b503b376: Pull complete [2023-07-20T05:02:09.463Z] 5c69ac0246d0: Pull complete [2023-07-20T05:02:10.030Z] ec43610c2a17: Pull complete [2023-07-20T05:02:10.030Z] 3a2ae6a8a46f: Pull complete [2023-07-20T05:02:10.030Z] 33b1e0a273af: Pull complete [2023-07-20T05:02:10.287Z] 5d3b04190fa2: Pull complete [2023-07-20T05:02:14.469Z] 2f39f015ded8: Pull complete [2023-07-20T05:02:14.469Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-20T05:02:14.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T05:02:14.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:02:14.678Z] prd-ubuntu20.04-docker-8c-8g-1636 does not seem to be running inside a container [2023-07-20T05:02:14.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T05:02:19.318Z] $ docker top 7656df28d5d88ed8e0a668be2b40027383675a71ff0bf12ec9fa92ba756d5dff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:02:19.780Z] ---> job-cost.sh [2023-07-20T05:02:19.780Z] lf-activate-venv: SKIPPING [2023-07-20T05:02:19.780Z] INFO: No Stack... [2023-07-20T05:02:20.038Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T05:02:20.604Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T05:02:20.912Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/cost.csv [2023-07-20T05:02:20.912Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T05:02:20.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [2023-07-20T05:02:20.964Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] did not exist. Created. [2023-07-20T05:02:20.964Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T05:02:21.337Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-20T05:02:21.402Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T05:02:21.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T05:02:21.488Z] $ docker stop --time=1 7656df28d5d88ed8e0a668be2b40027383675a71ff0bf12ec9fa92ba756d5dff [2023-07-20T05:02:22.634Z] $ docker rm -f --volumes 7656df28d5d88ed8e0a668be2b40027383675a71ff0bf12ec9fa92ba756d5dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-20T05:02:50.907Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1637 in /w/workspace/edgexfoundry_device-sdk-c_PR-471 [Pipeline] { [Pipeline] ws [2023-07-20T05:02:50.962Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-07-20T05:02:51.035Z] Selected Git installation does not exist. Using Default [2023-07-20T05:02:51.035Z] The recommended git tool is: NONE [2023-07-20T05:02:55.820Z] using credential edgex-jenkins-ssh [2023-07-20T05:02:55.835Z] Cloning the remote Git repository [2023-07-20T05:02:55.869Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T05:02:55.960Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-07-20T05:02:56.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T05:02:56.089Z] > git --version # timeout=10 [2023-07-20T05:02:56.108Z] > git --version # 'git version 2.25.1' [2023-07-20T05:02:56.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T05:02:56.247Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T05:02:57.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T05:02:57.342Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T05:02:58.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T05:02:58.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T05:02:58.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T05:02:58.198Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/471/head:refs/remotes/origin/PR-471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-20T05:02:58.751Z] Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit c449cd6a2c57881ffa1c10c806da9f662413e186 [2023-07-20T05:02:59.049Z] Merge succeeded, producing c449cd6a2c57881ffa1c10c806da9f662413e186 [2023-07-20T05:02:59.050Z] Checking out Revision c449cd6a2c57881ffa1c10c806da9f662413e186 (PR-471) [2023-07-20T05:02:58.764Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T05:02:58.836Z] > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 [2023-07-20T05:02:58.946Z] > git remote # timeout=10 [2023-07-20T05:02:58.961Z] > git config --get remote.origin.url # timeout=10 [2023-07-20T05:02:58.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T05:02:59.000Z] > git merge e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 [2023-07-20T05:02:59.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-20T05:02:59.048Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T05:02:59.063Z] > git checkout -f c449cd6a2c57881ffa1c10c806da9f662413e186 # timeout=10 [2023-07-20T05:03:02.511Z] Commit message: "fix: Read actual status code after a POST device API call" [2023-07-20T05:03:02.550Z] > git --version # timeout=10 [2023-07-20T05:03:02.561Z] > git --version # 'git version 2.25.1' [2023-07-20T05:03:02.573Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T05:03:03.655Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-20T05:03:03.655Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T05:03:03.655Z] Dload Upload Total Spent Left Speed [2023-07-20T05:03:03.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh [2023-07-20T05:03:04.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-20T05:03:04.723Z] + sudo tee /etc/docker/daemon.new [2023-07-20T05:03:04.723Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-20T05:03:04.723Z] { [2023-07-20T05:03:04.723Z] "registry-mirrors": [ [2023-07-20T05:03:04.723Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-20T05:03:04.723Z] ], [2023-07-20T05:03:04.723Z] "bip": "10.250.0.254/24", [2023-07-20T05:03:04.723Z] "hosts": [ [2023-07-20T05:03:04.723Z] "tcp://0.0.0.0:5555", [2023-07-20T05:03:04.723Z] "unix:///var/run/docker.sock" [2023-07-20T05:03:04.723Z] ], [2023-07-20T05:03:04.723Z] "mtu": 1458, [2023-07-20T05:03:04.723Z] "selinux-enabled": true, [2023-07-20T05:03:04.723Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-20T05:03:04.723Z] } [Pipeline] sh [2023-07-20T05:03:05.062Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-20T05:03:05.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T05:03:23.706Z] provisioning config files... [2023-07-20T05:03:23.763Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9054415543532112485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:03:24.178Z] ---> docker-login.sh [2023-07-20T05:03:24.179Z] nexus3.edgexfoundry.org:10001 [2023-07-20T05:03:24.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:03:24.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:03:24.717Z] Configure a credential helper to remove this warning. See [2023-07-20T05:03:24.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:03:24.717Z] [2023-07-20T05:03:24.717Z] Login Succeeded [2023-07-20T05:03:24.717Z] nexus3.edgexfoundry.org:10002 [2023-07-20T05:03:24.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:03:24.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:03:24.983Z] Configure a credential helper to remove this warning. See [2023-07-20T05:03:24.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:03:24.983Z] [2023-07-20T05:03:24.983Z] Login Succeeded [2023-07-20T05:03:24.983Z] nexus3.edgexfoundry.org:10003 [2023-07-20T05:03:25.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:03:25.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:03:25.251Z] Configure a credential helper to remove this warning. See [2023-07-20T05:03:25.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:03:25.251Z] [2023-07-20T05:03:25.251Z] Login Succeeded [2023-07-20T05:03:25.251Z] nexus3.edgexfoundry.org:10004 [2023-07-20T05:03:25.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:03:25.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:03:25.786Z] Configure a credential helper to remove this warning. See [2023-07-20T05:03:25.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:03:25.786Z] [2023-07-20T05:03:25.786Z] Login Succeeded [2023-07-20T05:03:25.786Z] docker.io [2023-07-20T05:03:25.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T05:03:26.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T05:03:26.052Z] Configure a credential helper to remove this warning. See [2023-07-20T05:03:26.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T05:03:26.052Z] [2023-07-20T05:03:26.052Z] Login Succeeded [2023-07-20T05:03:26.052Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T05:03:26.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T05:03:26.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T05:03:26.470Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-20T05:03:26.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T05:03:26.533Z] ========================================================= [2023-07-20T05:03:26.533Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-20T05:03:26.533Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:03:26.978Z] + 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-20T05:03:27.246Z] Sending build context to Docker daemon 2.91MB [2023-07-20T05:03:27.246Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T05:03:27.246Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T05:03:28.652Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-20T05:03:28.652Z] 547446be3368: Pulling fs layer [2023-07-20T05:03:28.652Z] 76bd08e1cacc: Pulling fs layer [2023-07-20T05:03:28.930Z] 547446be3368: Verifying Checksum [2023-07-20T05:03:28.930Z] 547446be3368: Download complete [2023-07-20T05:03:29.197Z] 547446be3368: Pull complete [2023-07-20T05:03:31.144Z] 76bd08e1cacc: Verifying Checksum [2023-07-20T05:03:31.144Z] 76bd08e1cacc: Download complete [2023-07-20T05:03:39.625Z] 76bd08e1cacc: Pull complete [2023-07-20T05:03:39.625Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-20T05:03:39.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-20T05:03:39.625Z] ---> 295cd00e64f4 [2023-07-20T05:03:39.625Z] 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-20T05:03:39.625Z] ---> Running in ab92e46f1769 [2023-07-20T05:03:40.597Z] Connecting to iotech.jfrog.io (63.35.27.128:443) [2023-07-20T05:03:41.558Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:03:41.558Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:03:41.558Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:03:42.150Z] Removing intermediate container ab92e46f1769 [2023-07-20T05:03:42.151Z] ---> 7fba2ceb56f1 [2023-07-20T05:03:42.151Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:03:42.151Z] ---> Running in f5921bf9ade5 [2023-07-20T05:03:43.567Z] Removing intermediate container f5921bf9ade5 [2023-07-20T05:03:43.567Z] ---> 2eb47614f3a0 [2023-07-20T05:03:43.567Z] 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-20T05:03:43.567Z] ---> Running in 86c349406309 [2023-07-20T05:03:44.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:03:44.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T05:03:45.381Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:03:46.340Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:03:46.340Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:03:46.340Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:03:46.340Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T05:03:46.340Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T05:03:46.340Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T05:03:47.296Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T05:03:47.296Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T05:03:47.563Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T05:03:47.563Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T05:03:47.832Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T05:03:49.236Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T05:03:49.236Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T05:03:49.236Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T05:03:49.236Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T05:03:49.236Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T05:03:49.236Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T05:03:49.236Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:03:49.236Z] OK: 286 MiB in 90 packages [2023-07-20T05:03:50.648Z] Removing intermediate container 86c349406309 [2023-07-20T05:03:50.648Z] ---> db66144763b1 [2023-07-20T05:03:50.648Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T05:03:50.648Z] ---> Running in e4780a5197fb [2023-07-20T05:03:52.072Z] Removing intermediate container e4780a5197fb [2023-07-20T05:03:52.072Z] ---> c210a3872e67 [2023-07-20T05:03:52.072Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T05:03:52.343Z] ---> 00f42f95b1f3 [2023-07-20T05:03:52.343Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T05:03:53.306Z] ---> bb3dca1821ba [2023-07-20T05:03:53.306Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T05:03:53.574Z] ---> e8ae480eff7d [2023-07-20T05:03:53.574Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T05:03:54.161Z] ---> c16b1c159dec [2023-07-20T05:03:54.161Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T05:03:54.747Z] ---> 218d2141a788 [2023-07-20T05:03:54.748Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T05:03:55.017Z] ---> 10e254771b0c [2023-07-20T05:03:55.017Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T05:03:55.017Z] ---> Running in a9db3da3d09b [2023-07-20T05:03:55.978Z] + CPPCHECK=false [2023-07-20T05:03:55.978Z] + DOCGEN=false [2023-07-20T05:03:55.978Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T05:03:55.978Z] + '[' 0 -gt 0 ] [2023-07-20T05:03:55.978Z] + readlink -f ./scripts/build.sh [2023-07-20T05:03:55.978Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T05:03:55.978Z] + dirname /tmp/sdk/scripts [2023-07-20T05:03:55.978Z] + ROOT=/tmp/sdk [2023-07-20T05:03:55.978Z] + cd /tmp/sdk [2023-07-20T05:03:55.978Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T05:03:55.978Z] + cd /tmp/sdk/build/release [2023-07-20T05:03:55.978Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T05:03:56.244Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T05:03:56.244Z] -- Detecting C compiler ABI info [2023-07-20T05:03:56.829Z] -- Detecting C compiler ABI info - done [2023-07-20T05:03:56.829Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T05:03:56.830Z] -- Detecting C compile features [2023-07-20T05:03:56.830Z] -- Detecting C compile features - done [2023-07-20T05:03:56.830Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T05:03:56.830Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T05:03:57.098Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T05:03:57.098Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T05:03:57.098Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T05:03:57.098Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T05:03:57.098Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T05:03:57.098Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T05:03:57.098Z] -- /opt/iotech/iot/1.5/include [2023-07-20T05:03:57.098Z] -- C SDK 0.0.0 for Linux [2023-07-20T05:03:57.098Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T05:03:57.365Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T05:03:57.633Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T05:03:57.633Z] -- Configuring done [2023-07-20T05:03:57.899Z] -- Generating done [2023-07-20T05:03:57.899Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T05:03:57.899Z] + + tee release.log [2023-07-20T05:03:57.899Z] make all package [2023-07-20T05:03:58.170Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T05:03:59.127Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T05:04:00.095Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T05:04:00.695Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T05:04:01.658Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T05:04:02.240Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T05:04:04.817Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T05:04:05.398Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T05:04:05.663Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T05:04:07.073Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T05:04:09.010Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T05:04:09.592Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T05:04:10.551Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T05:04:11.512Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T05:04:11.779Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T05:04:13.186Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T05:04:13.186Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T05:04:15.760Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T05:04:16.025Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T05:04:16.608Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T05:04:18.011Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T05:04:23.362Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T05:04:23.945Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T05:04:24.525Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T05:04:25.105Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T05:04:25.371Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T05:04:27.312Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T05:04:29.891Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T05:04:30.158Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T05:04:31.116Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T05:04:31.702Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T05:04:35.033Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T05:04:35.611Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T05:04:36.189Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T05:04:36.770Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T05:04:36.770Z] [ 68%] Built target csdk [2023-07-20T05:04:37.036Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T05:04:37.990Z] [ 72%] Linking C executable template [2023-07-20T05:04:37.990Z] [ 72%] Built target template [2023-07-20T05:04:38.256Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T05:04:38.840Z] [ 76%] Linking C executable device-counter [2023-07-20T05:04:39.108Z] [ 76%] Built target device-counter [2023-07-20T05:04:39.108Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T05:04:39.690Z] [ 80%] Linking C executable device-random [2023-07-20T05:04:39.957Z] [ 80%] Built target device-random [2023-07-20T05:04:39.957Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T05:04:40.542Z] [ 84%] Linking C executable device-gyro [2023-07-20T05:04:40.811Z] [ 84%] Built target device-gyro [2023-07-20T05:04:40.811Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T05:04:41.393Z] [ 88%] Linking C executable device-bitfields [2023-07-20T05:04:41.663Z] [ 88%] Built target device-bitfields [2023-07-20T05:04:41.663Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T05:04:42.618Z] [ 92%] Linking C executable template-discovery [2023-07-20T05:04:42.885Z] [ 92%] Built target template-discovery [2023-07-20T05:04:43.151Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T05:04:43.733Z] [ 96%] Linking C executable device-file [2023-07-20T05:04:43.999Z] [ 96%] Built target device-file [2023-07-20T05:04:44.264Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T05:04:44.852Z] [100%] Linking C executable device-terminal [2023-07-20T05:04:45.119Z] [100%] Built target device-terminal [2023-07-20T05:04:45.119Z] Run CPack packaging tool... [2023-07-20T05:04:45.384Z] CPack: Create package using TGZ [2023-07-20T05:04:45.384Z] CPack: Install projects [2023-07-20T05:04:45.384Z] CPack: - Run preinstall target for: Csdk [2023-07-20T05:04:45.968Z] CPack: - Install project: Csdk [] [2023-07-20T05:04:45.968Z] CPack: Create package [2023-07-20T05:04:45.968Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T05:04:45.968Z] + '[' false '=' true ] [2023-07-20T05:04:45.968Z] + '[' false '=' true ] [2023-07-20T05:04:45.968Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T05:04:46.235Z] + cd /tmp/sdk/build/debug [2023-07-20T05:04:46.235Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T05:04:46.501Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T05:04:46.501Z] -- Detecting C compiler ABI info [2023-07-20T05:04:46.769Z] -- Detecting C compiler ABI info - done [2023-07-20T05:04:46.769Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T05:04:46.769Z] -- Detecting C compile features [2023-07-20T05:04:46.769Z] -- Detecting C compile features - done [2023-07-20T05:04:46.769Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T05:04:47.037Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T05:04:47.037Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T05:04:47.037Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T05:04:47.037Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T05:04:47.037Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T05:04:47.037Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T05:04:47.037Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T05:04:47.037Z] -- /opt/iotech/iot/1.5/include [2023-07-20T05:04:47.037Z] -- C SDK 0.0.0 for Linux [2023-07-20T05:04:47.037Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T05:04:47.621Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T05:04:47.621Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T05:04:47.621Z] -- Configuring done [2023-07-20T05:04:47.889Z] -- Generating done [2023-07-20T05:04:47.889Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T05:04:48.156Z] + make [2023-07-20T05:04:48.156Z] + tee debug.log [2023-07-20T05:04:48.156Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T05:04:48.739Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T05:04:49.006Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T05:04:49.588Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T05:04:49.856Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T05:04:50.122Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T05:04:51.077Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T05:04:51.343Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T05:04:51.611Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T05:04:52.194Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T05:04:52.778Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T05:04:53.362Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T05:04:53.632Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T05:04:54.213Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T05:04:54.478Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T05:04:54.743Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T05:04:55.009Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T05:04:55.962Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T05:04:56.233Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T05:04:56.502Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T05:04:57.086Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T05:04:58.494Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T05:04:58.761Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T05:04:59.027Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T05:04:59.292Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T05:04:59.873Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T05:05:00.139Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T05:05:02.091Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T05:05:02.091Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T05:05:02.672Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T05:05:02.949Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T05:05:03.909Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T05:05:04.496Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T05:05:04.761Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T05:05:05.026Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T05:05:05.294Z] [ 68%] Built target csdk [2023-07-20T05:05:05.294Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T05:05:05.877Z] [ 72%] Linking C executable template [2023-07-20T05:05:05.877Z] [ 72%] Built target template [2023-07-20T05:05:06.146Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T05:05:06.413Z] [ 76%] Linking C executable device-counter [2023-07-20T05:05:06.679Z] [ 76%] Built target device-counter [2023-07-20T05:05:06.679Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T05:05:06.944Z] [ 80%] Linking C executable device-random [2023-07-20T05:05:07.211Z] [ 80%] Built target device-random [2023-07-20T05:05:07.211Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T05:05:07.862Z] [ 84%] Linking C executable device-gyro [2023-07-20T05:05:08.133Z] [ 84%] Built target device-gyro [2023-07-20T05:05:08.133Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T05:05:08.411Z] [ 88%] Linking C executable device-bitfields [2023-07-20T05:05:08.679Z] [ 88%] Built target device-bitfields [2023-07-20T05:05:08.679Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T05:05:09.266Z] [ 92%] Linking C executable template-discovery [2023-07-20T05:05:09.535Z] [ 92%] Built target template-discovery [2023-07-20T05:05:09.535Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T05:05:09.809Z] [ 96%] Linking C executable device-file [2023-07-20T05:05:10.078Z] [ 96%] Built target device-file [2023-07-20T05:05:10.078Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T05:05:10.676Z] [100%] Linking C executable device-terminal [2023-07-20T05:05:10.948Z] [100%] Built target device-terminal [2023-07-20T05:05:10.948Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:10.948Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] [ 68%] Built target csdk [2023-07-20T05:05:11.219Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] [ 72%] Built target template [2023-07-20T05:05:11.219Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] [ 76%] Built target device-counter [2023-07-20T05:05:11.219Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.219Z] [ 80%] Built target device-random [2023-07-20T05:05:11.219Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] [ 84%] Built target device-gyro [2023-07-20T05:05:11.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] [ 88%] Built target device-bitfields [2023-07-20T05:05:11.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] [ 92%] Built target template-discovery [2023-07-20T05:05:11.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] [ 96%] Built target device-file [2023-07-20T05:05:11.488Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.488Z] [100%] Built target device-terminal [2023-07-20T05:05:11.488Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:11.758Z] Install the project... [2023-07-20T05:05:11.758Z] -- Install configuration: "Release" [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T05:05:11.758Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/devsdk [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T05:05:11.758Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T05:05:11.758Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T05:05:13.176Z] Removing intermediate container a9db3da3d09b [2023-07-20T05:05:13.176Z] ---> 7d8961afaaf7 [2023-07-20T05:05:13.176Z] Step 14/21 : FROM ${BASE} [2023-07-20T05:05:13.176Z] ---> 295cd00e64f4 [2023-07-20T05:05:13.176Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T05:05:13.176Z] ---> Running in 5182c4cfee00 [2023-07-20T05:05:13.442Z] Removing intermediate container 5182c4cfee00 [2023-07-20T05:05:13.442Z] ---> 0478dfc35725 [2023-07-20T05:05:13.442Z] 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-20T05:05:13.442Z] ---> Running in 65a103fd46b8 [2023-07-20T05:05:14.400Z] Connecting to iotech.jfrog.io (52.214.181.33:443) [2023-07-20T05:05:14.666Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:05:14.666Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:05:14.666Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:05:15.254Z] Removing intermediate container 65a103fd46b8 [2023-07-20T05:05:15.254Z] ---> 0aa8e3ae8203 [2023-07-20T05:05:15.254Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:05:15.521Z] ---> Running in ea0eb3c505cc [2023-07-20T05:05:16.935Z] Removing intermediate container ea0eb3c505cc [2023-07-20T05:05:16.935Z] ---> 45897c4d8b2d [2023-07-20T05:05:16.935Z] 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-20T05:05:16.935Z] ---> Running in 6d0eca2da6f5 [2023-07-20T05:05:17.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:18.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:18.743Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:19.702Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:05:19.702Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T05:05:19.702Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T05:05:19.702Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T05:05:19.702Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T05:05:20.283Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T05:05:20.284Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T05:05:20.284Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T05:05:21.688Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:05:21.688Z] OK: 281 MiB in 83 packages [2023-07-20T05:05:22.646Z] Removing intermediate container 6d0eca2da6f5 [2023-07-20T05:05:22.646Z] ---> d6f8b9cc4a5c [2023-07-20T05:05:22.646Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T05:05:22.912Z] ---> 3dc320bcd213 [2023-07-20T05:05:22.912Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T05:05:23.494Z] ---> 94d3f130a5ad [2023-07-20T05:05:23.494Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T05:05:24.074Z] ---> eefae71b11a0 [2023-07-20T05:05:24.074Z] Successfully built eefae71b11a0 [2023-07-20T05:05:24.074Z] 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-20T05:05:24.779Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T05:05:24.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:05:25.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2023-07-20T05:05:25.109Z] $ 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-20T05:05:26.244Z] $ docker top d47cc663431476a0de7def9201ef0bd5074b45a4313be5dbccfaade7111c8500 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T05:05:27.121Z] + make test [2023-07-20T05:05:27.121Z] echo "make test" [2023-07-20T05:05:27.121Z] make test [Pipeline] } [2023-07-20T05:05:27.155Z] $ docker stop --time=1 d47cc663431476a0de7def9201ef0bd5074b45a4313be5dbccfaade7111c8500 [2023-07-20T05:05:28.781Z] $ docker rm -f --volumes d47cc663431476a0de7def9201ef0bd5074b45a4313be5dbccfaade7111c8500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T05:05:29.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T05:05:29.868Z] + ls -al . [2023-07-20T05:05:29.868Z] total 208 [2023-07-20T05:05:29.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 05:02 . [2023-07-20T05:05:29.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:02 .. [2023-07-20T05:05:29.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 05:02 .git [2023-07-20T05:05:29.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:02 .github [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 05:02 .gitignore [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 05:02 Attribution.txt [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 05:02 CHANGES [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 05:02 Doxyfile [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 05:02 GOVERNANCE.md [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 05:02 Jenkinsfile [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 05:02 LICENSE [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 05:02 Makefile [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 05:02 OWNERS.md [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 05:02 README.IOT.md [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 05:02 README.md [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 05:02 README.v3.md [2023-07-20T05:05:29.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 05:01 VERSION [2023-07-20T05:05:29.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:02 docs [2023-07-20T05:05:29.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:02 include [2023-07-20T05:05:29.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 05:02 scripts [2023-07-20T05:05:29.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 05:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:05:30.291Z] + 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=c449cd6a2c57881ffa1c10c806da9f662413e186 --label arch=arm64 --label version=0.0.0 . [2023-07-20T05:05:30.559Z] Sending build context to Docker daemon 2.91MB [2023-07-20T05:05:30.559Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T05:05:30.559Z] Step 2/17 : FROM ${BASE} [2023-07-20T05:05:30.559Z] ---> eefae71b11a0 [2023-07-20T05:05:30.559Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T05:05:30.825Z] ---> Running in 272c5a53d6ea [2023-07-20T05:05:31.092Z] Removing intermediate container 272c5a53d6ea [2023-07-20T05:05:31.092Z] ---> 5d64f480511b [2023-07-20T05:05:31.092Z] 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-20T05:05:31.092Z] ---> Running in c69c2a797429 [2023-07-20T05:05:32.047Z] Connecting to iotech.jfrog.io (52.19.222.217:443) [2023-07-20T05:05:32.634Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T05:05:32.634Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T05:05:32.634Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T05:05:33.226Z] Removing intermediate container c69c2a797429 [2023-07-20T05:05:33.226Z] ---> cbf112636166 [2023-07-20T05:05:33.226Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T05:05:33.226Z] ---> Running in 4725129a4949 [2023-07-20T05:05:35.162Z] Removing intermediate container 4725129a4949 [2023-07-20T05:05:35.162Z] ---> 3c9e97719790 [2023-07-20T05:05:35.162Z] 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-20T05:05:35.162Z] ---> Running in abf5585d2730 [2023-07-20T05:05:35.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:36.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:36.584Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T05:05:37.537Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T05:05:37.537Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:05:37.537Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T05:05:37.537Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T05:05:38.489Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T05:05:38.489Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T05:05:38.489Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T05:05:38.489Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T05:05:38.489Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T05:05:38.489Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T05:05:38.754Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T05:05:38.754Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T05:05:38.754Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T05:05:38.754Z] OK: 287 MiB in 92 packages [2023-07-20T05:05:40.163Z] Removing intermediate container abf5585d2730 [2023-07-20T05:05:40.163Z] ---> 6bd656fe8c8a [2023-07-20T05:05:40.163Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T05:05:40.429Z] ---> b004e937f890 [2023-07-20T05:05:40.429Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T05:05:41.012Z] ---> 3b13c270f9ba [2023-07-20T05:05:41.012Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T05:05:41.595Z] ---> dbad9d9983e7 [2023-07-20T05:05:41.595Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T05:05:42.175Z] ---> 65dc4ac39c7b [2023-07-20T05:05:42.175Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T05:05:42.440Z] ---> ebf1185dbdd0 [2023-07-20T05:05:42.441Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T05:05:43.022Z] ---> e364ec21af43 [2023-07-20T05:05:43.022Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T05:05:43.022Z] ---> Running in a06a722fda68 [2023-07-20T05:05:43.289Z] Removing intermediate container a06a722fda68 [2023-07-20T05:05:43.289Z] ---> fdd9208746e8 [2023-07-20T05:05:43.289Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T05:05:43.555Z] ---> Running in ef00c8fad597 [2023-07-20T05:05:43.820Z] Removing intermediate container ef00c8fad597 [2023-07-20T05:05:43.821Z] ---> de7a7a618633 [2023-07-20T05:05:43.821Z] Step 15/17 : LABEL arch=arm64 [2023-07-20T05:05:43.821Z] ---> Running in 84060bfa2a40 [2023-07-20T05:05:44.087Z] Removing intermediate container 84060bfa2a40 [2023-07-20T05:05:44.087Z] ---> b99819d11ff6 [2023-07-20T05:05:44.087Z] Step 16/17 : LABEL git_sha=c449cd6a2c57881ffa1c10c806da9f662413e186 [2023-07-20T05:05:44.087Z] ---> Running in 6b6268d15e0e [2023-07-20T05:05:44.354Z] Removing intermediate container 6b6268d15e0e [2023-07-20T05:05:44.354Z] ---> d7e7909ae3b8 [2023-07-20T05:05:44.354Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T05:05:44.621Z] ---> Running in c5a29dec7328 [2023-07-20T05:05:44.892Z] Removing intermediate container c5a29dec7328 [2023-07-20T05:05:44.892Z] ---> c29279d6541b [2023-07-20T05:05:44.892Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-20T05:05:44.892Z] Successfully built c29279d6541b [2023-07-20T05:05:44.892Z] 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-20T05:05:45.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T05:05:45.665Z] [2023-07-20T05:05:45.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:05:46.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T05:05:46.341Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-20T05:05:46.341Z] 8998bd30e6a1: Pulling fs layer [2023-07-20T05:05:46.341Z] 04944245beec: Pulling fs layer [2023-07-20T05:05:46.341Z] 699f458cf7ca: Pulling fs layer [2023-07-20T05:05:46.341Z] 765212b225bb: Pulling fs layer [2023-07-20T05:05:46.341Z] f23df028b6ca: Pulling fs layer [2023-07-20T05:05:46.341Z] d65c8cfc05b1: Pulling fs layer [2023-07-20T05:05:46.341Z] 2437ff75d9bd: Pulling fs layer [2023-07-20T05:05:46.341Z] 765212b225bb: Waiting [2023-07-20T05:05:46.341Z] f23df028b6ca: Waiting [2023-07-20T05:05:46.341Z] d65c8cfc05b1: Waiting [2023-07-20T05:05:46.341Z] 2437ff75d9bd: Waiting [2023-07-20T05:05:46.341Z] 04944245beec: Verifying Checksum [2023-07-20T05:05:46.341Z] 04944245beec: Download complete [2023-07-20T05:05:46.341Z] 765212b225bb: Verifying Checksum [2023-07-20T05:05:46.341Z] 765212b225bb: Download complete [2023-07-20T05:05:46.341Z] f23df028b6ca: Verifying Checksum [2023-07-20T05:05:46.341Z] f23df028b6ca: Download complete [2023-07-20T05:05:46.341Z] d65c8cfc05b1: Verifying Checksum [2023-07-20T05:05:46.341Z] d65c8cfc05b1: Download complete [2023-07-20T05:05:46.608Z] 699f458cf7ca: Verifying Checksum [2023-07-20T05:05:46.608Z] 699f458cf7ca: Download complete [2023-07-20T05:05:46.875Z] 8998bd30e6a1: Verifying Checksum [2023-07-20T05:05:46.875Z] 8998bd30e6a1: Download complete [2023-07-20T05:05:49.449Z] 2437ff75d9bd: Verifying Checksum [2023-07-20T05:05:49.449Z] 2437ff75d9bd: Download complete [2023-07-20T05:05:50.854Z] 8998bd30e6a1: Pull complete [2023-07-20T05:05:51.119Z] 04944245beec: Pull complete [2023-07-20T05:05:52.545Z] 699f458cf7ca: Pull complete [2023-07-20T05:05:52.545Z] 765212b225bb: Pull complete [2023-07-20T05:05:53.502Z] f23df028b6ca: Pull complete [2023-07-20T05:05:53.502Z] d65c8cfc05b1: Pull complete [2023-07-20T05:06:08.477Z] 2437ff75d9bd: Pull complete [2023-07-20T05:06:08.477Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-20T05:06:08.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T05:06:08.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:06:08.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container [2023-07-20T05:06:08.829Z] $ 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-20T05:06:11.158Z] $ docker top b29cd9ef8dcbcf32ede7f7294b3fa24a76250dbc9da09025a5f6d351d99c882d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:11.722Z] ---> job-cost.sh [2023-07-20T05:06:11.987Z] lf-activate-venv: SKIPPING [2023-07-20T05:06:11.987Z] INFO: No Stack... [2023-07-20T05:06:12.251Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-20T05:06:13.204Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T05:06:13.539Z] + cut -d, -f6 [2023-07-20T05:06:13.539Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-07-20T05:06:13.618Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [2023-07-20T05:06:13.623Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] did not exist. Created. [2023-07-20T05:06:13.623Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T05:06:14.033Z] /w/workspace/device-sdk-c/1@tmp/durable-242c9a2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-20T05:06:14.379Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-20T05:06:14.413Z] Warning: overwriting stash ‘stack-cost’ [2023-07-20T05:06:14.815Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T05:06:14.831Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-471-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T05:06:14.902Z] $ docker stop --time=1 b29cd9ef8dcbcf32ede7f7294b3fa24a76250dbc9da09025a5f6d351d99c882d [2023-07-20T05:06:16.368Z] $ docker rm -f --volumes b29cd9ef8dcbcf32ede7f7294b3fa24a76250dbc9da09025a5f6d351d99c882d [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-20T05:06:18.057Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives ] [2023-07-20T05:06:18.057Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-20T05:06:18.057Z] total 16 [2023-07-20T05:06:18.057Z] drwxr-xr-x 3 root root 4096 Jul 20 05:02 . [2023-07-20T05:06:18.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 05:02 .. [2023-07-20T05:06:18.057Z] drwxr-xr-x 2 root root 4096 Jul 20 05:02 cost [2023-07-20T05:06:18.057Z] -rw-r--r-- 1 root root 84 Jul 20 05:02 cost.csv [2023-07-20T05:06:18.057Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-20T05:06:18.057Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives [2023-07-20T05:06:18.057Z] total 16 [2023-07-20T05:06:18.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 05:02 . [2023-07-20T05:06:18.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 05:02 .. [2023-07-20T05:06:18.057Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 05:02 cost [2023-07-20T05:06:18.057Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 20 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:18.387Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:19.279Z] ---> package-listing.sh [2023-07-20T05:06:19.279Z] ++ facter osfamily [2023-07-20T05:06:19.279Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-20T05:06:19.538Z] + OS_FAMILY=debian [2023-07-20T05:06:19.538Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-471 [2023-07-20T05:06:19.538Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-20T05:06:19.538Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-20T05:06:19.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-20T05:06:19.538Z] + PACKAGES=/tmp/packages_start.txt [2023-07-20T05:06:19.538Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-471 ']' [2023-07-20T05:06:19.538Z] + PACKAGES=/tmp/packages_end.txt [2023-07-20T05:06:19.538Z] + case "${OS_FAMILY}" in [2023-07-20T05:06:19.538Z] + dpkg -l [2023-07-20T05:06:19.538Z] + grep '^ii' [2023-07-20T05:06:19.538Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-20T05:06:19.538Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-20T05:06:19.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-20T05:06:19.538Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-471 ']' [2023-07-20T05:06:19.538Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/ [2023-07-20T05:06:19.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-471/archives/ [Pipeline] echo [2023-07-20T05:06:19.573Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-20T05:06:19.867Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T05:06:20.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T05:06:20.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T05:06:20.639Z] prd-ubuntu20.04-docker-8c-8g-1636 does not seem to be running inside a container [2023-07-20T05:06:20.662Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-471 -v /w/workspace/edgexfoundry_device-sdk-c_PR-471:/w/workspace/edgexfoundry_device-sdk-c_PR-471:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-20T05:06:20.847Z] $ docker top ba0426dcccdd5f67e8ee1afd9779968cd3c1db03fdd2f35c39fbabb505c82ba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T05:06:21.241Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-20T05:06:21.546Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-20T05:06:21.859Z] + ls /var/log/sa-host [2023-07-20T05:06:21.859Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T05:06:22.089Z] provisioning config files... [2023-07-20T05:06:22.100Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-471@tmp/config7549143247657395126tmp [Pipeline] { [Pipeline] echo [2023-07-20T05:06:22.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:22.455Z] ---> create-netrc.sh [Pipeline] } [2023-07-20T05:06:22.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:22.974Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-20T05:06:23.002Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:23.321Z] ---> sudo-logs.sh [2023-07-20T05:06:23.321Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-20T05:06:23.404Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:23.714Z] ---> job-cost.sh [2023-07-20T05:06:23.715Z] lf-activate-venv: SKIPPING [2023-07-20T05:06:23.715Z] DEBUG: total: 0.2199999988079071 [2023-07-20T05:06:23.715Z] INFO: Retrieving Stack Cost... [2023-07-20T05:06:23.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T05:06:24.542Z] INFO: Archiving Costs [Pipeline] echo [2023-07-20T05:06:24.579Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T05:06:24.894Z] ---> logs-deploy.sh [2023-07-20T05:06:24.894Z] lf-activate-venv: SKIPPING [2023-07-20T05:06:24.894Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-471/1 [2023-07-20T05:06:24.894Z] INFO: archiving workspace using pattern(s): [2023-07-20T05:06:25.834Z] Archives upload complete. [2023-07-20T05:06:25.834Z] INFO: archiving logs to Nexus