Pull request #445 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 21f79343dd353c602474ef88d38fd1373f48e545 rather than 7918e9890a621b034a3ee885caae8f9909757f71 Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 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-ssh10001077432680534046.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4288419628705289457.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2906289780021796007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4050982276144862679.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14877208761119519432.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8098 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [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-445 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 7918e9890a621b034a3ee885caae8f9909757f71 Merge succeeded, producing 7918e9890a621b034a3ee885caae8f9909757f71 Checking out Revision 7918e9890a621b034a3ee885caae8f9909757f71 (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 Commit message: "Resolving build issues" First time build. Skipping changelog. > git rev-list --no-walk 2a3632d81a582a3f8b976bd0114990b7a285278b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T14:22:13.231Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T14:22:13.285Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T14:22:13.296Z] ========================================================= [2023-03-02T14:22:13.296Z] EdgeX Global Pipelines Version Info [2023-03-02T14:22:13.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:22:14.014Z] ------------------- [2023-03-02T14:22:14.014Z] stable info: [2023-03-02T14:22:14.014Z] ------------------- [2023-03-02T14:22:14.014Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T14:22:14.014Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T14:22:14.014Z] Message: update stable to v1.0.244 [2023-03-02T14:22:14.583Z] ------------------- [2023-03-02T14:22:14.583Z] experimental info: [2023-03-02T14:22:14.583Z] ------------------- [2023-03-02T14:22:14.583Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T14:22:14.583Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T14:22:14.583Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T14:22:14.763Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-02T14:22:14.775Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-02T14:22:14.786Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T14:22:14.798Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T14:22:14.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T14:22:14.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-02T14:22:14.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-02T14:22:14.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T14:22:14.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T14:22:14.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-02T14:22:14.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T14:22:14.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T14:22:14.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T14:22:14.918Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T14:22:14.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T14:22:14.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T14:22:14.957Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T14:22:14.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-02T14:22:14.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-02T14:22:14.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-02T14:22:15.007Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7918e9890a621b034a3ee885caae8f9909757f71 [Pipeline] echo [2023-03-02T14:22:15.019Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7918e98 [Pipeline] echo [2023-03-02T14:22:15.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:22:15.086Z] provisioning config files... [2023-03-02T14:22:15.099Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config4814627426917936022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:22:15.397Z] ---> docker-login.sh [2023-03-02T14:22:15.397Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:22:15.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:15.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:15.657Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:15.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:15.657Z] [2023-03-02T14:22:15.657Z] Login Succeeded [2023-03-02T14:22:15.657Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:22:15.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:15.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:15.918Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:15.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:15.918Z] [2023-03-02T14:22:15.918Z] Login Succeeded [2023-03-02T14:22:15.918Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:22:15.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:15.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:15.918Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:15.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:15.918Z] [2023-03-02T14:22:15.918Z] Login Succeeded [2023-03-02T14:22:15.918Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:22:16.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:16.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:16.177Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:16.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:16.177Z] [2023-03-02T14:22:16.177Z] Login Succeeded [2023-03-02T14:22:16.177Z] docker.io [2023-03-02T14:22:16.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:16.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:16.437Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:16.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:16.437Z] [2023-03-02T14:22:16.437Z] Login Succeeded [2023-03-02T14:22:16.437Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:22:16.446Z] 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-03-02T14:22:16.817Z] + git rev-list -1 --merges 7918e9890a621b034a3ee885caae8f9909757f71~1..7918e9890a621b034a3ee885caae8f9909757f71 [Pipeline] echo [2023-03-02T14:22:16.870Z] -----------> git rev-list -1 --merges 7918e9890a621b034a3ee885caae8f9909757f71~1..7918e9890a621b034a3ee885caae8f9909757f71 7918e9890a621b034a3ee885caae8f9909757f71 [false] [Pipeline] sh [2023-03-02T14:22:17.154Z] + git log --format=format:%s -1 7918e9890a621b034a3ee885caae8f9909757f71 [Pipeline] echo [2023-03-02T14:22:17.172Z] ========================================================= [2023-03-02T14:22:17.172Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T14:22:17.172Z] ========================================================= 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-03-02T14:22:17.532Z] + git rev-list -1 --merges 7918e9890a621b034a3ee885caae8f9909757f71~1..7918e9890a621b034a3ee885caae8f9909757f71 [Pipeline] echo [2023-03-02T14:22:17.545Z] -----------> git rev-list -1 --merges 7918e9890a621b034a3ee885caae8f9909757f71~1..7918e9890a621b034a3ee885caae8f9909757f71 7918e9890a621b034a3ee885caae8f9909757f71 [false] [Pipeline] sh [2023-03-02T14:22:17.832Z] + git log --format=format:%s -1 7918e9890a621b034a3ee885caae8f9909757f71 [Pipeline] echo [2023-03-02T14:22:17.847Z] ========================================================= [2023-03-02T14:22:17.847Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T14:22:17.847Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-02T14:22:18.278Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T14:22:18.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T14:22:18.278Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T14:22:18.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T14:22:18.278Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T14:22:18.278Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T14:22:18.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:22:18.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:22:18.695Z] [2023-03-02T14:22:18.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:22:18.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:22:18.996Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T14:22:18.996Z] b85a868b505f: Pulling fs layer [2023-03-02T14:22:18.996Z] e2be974225ed: Pulling fs layer [2023-03-02T14:22:18.996Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T14:22:18.996Z] 988bab9f4d93: Pulling fs layer [2023-03-02T14:22:18.996Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T14:22:18.996Z] eaf3925da568: Pulling fs layer [2023-03-02T14:22:18.996Z] bab4dde63d76: Pulling fs layer [2023-03-02T14:22:18.996Z] bde34c3a00c8: Pulling fs layer [2023-03-02T14:22:18.996Z] b352a97aabf1: Pulling fs layer [2023-03-02T14:22:18.996Z] 4872d77fe225: Pulling fs layer [2023-03-02T14:22:18.997Z] 5851b861e8e6: Pulling fs layer [2023-03-02T14:22:18.997Z] bde34c3a00c8: Waiting [2023-03-02T14:22:18.997Z] 1469e6f7b9e6: Waiting [2023-03-02T14:22:18.997Z] b352a97aabf1: Waiting [2023-03-02T14:22:18.997Z] eaf3925da568: Waiting [2023-03-02T14:22:18.997Z] bab4dde63d76: Waiting [2023-03-02T14:22:18.997Z] 988bab9f4d93: Waiting [2023-03-02T14:22:18.997Z] 5851b861e8e6: Waiting [2023-03-02T14:22:18.997Z] 4872d77fe225: Waiting [2023-03-02T14:22:18.997Z] e2be974225ed: Verifying Checksum [2023-03-02T14:22:18.997Z] e2be974225ed: Download complete [2023-03-02T14:22:18.997Z] 988bab9f4d93: Verifying Checksum [2023-03-02T14:22:18.997Z] 988bab9f4d93: Download complete [2023-03-02T14:22:19.261Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T14:22:19.261Z] 1469e6f7b9e6: Download complete [2023-03-02T14:22:19.261Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T14:22:19.261Z] 339a4e72a1f5: Download complete [2023-03-02T14:22:19.261Z] eaf3925da568: Verifying Checksum [2023-03-02T14:22:19.261Z] eaf3925da568: Download complete [2023-03-02T14:22:19.261Z] bde34c3a00c8: Verifying Checksum [2023-03-02T14:22:19.261Z] bde34c3a00c8: Download complete [2023-03-02T14:22:19.261Z] b352a97aabf1: Verifying Checksum [2023-03-02T14:22:19.261Z] b352a97aabf1: Download complete [2023-03-02T14:22:19.261Z] 4872d77fe225: Download complete [2023-03-02T14:22:19.261Z] 5851b861e8e6: Download complete [2023-03-02T14:22:19.261Z] b85a868b505f: Download complete [2023-03-02T14:22:19.521Z] bab4dde63d76: Verifying Checksum [2023-03-02T14:22:19.521Z] bab4dde63d76: Download complete [2023-03-02T14:22:20.900Z] b85a868b505f: Pull complete [2023-03-02T14:22:20.900Z] e2be974225ed: Pull complete [2023-03-02T14:22:21.469Z] 339a4e72a1f5: Pull complete [2023-03-02T14:22:21.469Z] 988bab9f4d93: Pull complete [2023-03-02T14:22:21.728Z] 1469e6f7b9e6: Pull complete [2023-03-02T14:22:21.728Z] eaf3925da568: Pull complete [2023-03-02T14:22:23.686Z] bab4dde63d76: Pull complete [2023-03-02T14:22:23.686Z] bde34c3a00c8: Pull complete [2023-03-02T14:22:23.686Z] b352a97aabf1: Pull complete [2023-03-02T14:22:23.686Z] 4872d77fe225: Pull complete [2023-03-02T14:22:23.948Z] 5851b861e8e6: Pull complete [2023-03-02T14:22:23.948Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T14:22:23.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T14:22:23.948Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:22:24.036Z] prd-ubuntu20.04-docker-8c-8g-8098 does not seem to be running inside a container [2023-03-02T14:22:24.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-02T14:22:26.679Z] $ docker top 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 -eo pid,comm [2023-03-02T14:22:26.732Z] 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-03-02T14:22:26.732Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T14:22:26.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T14:22:26.767Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T14:22:26.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T14:22:26.894Z] $ docker exec 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 ssh-agent [2023-03-02T14:22:27.016Z] SSH_AUTH_SOCK=/tmp/ssh-tnIHjlMsR1KN/agent.32 [2023-03-02T14:22:27.016Z] SSH_AGENT_PID=38 [2023-03-02T14:22:27.021Z] Running ssh-add (command line suppressed) [2023-03-02T14:22:27.121Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_291107656124983880.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_291107656124983880.key) [2023-03-02T14:22:27.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T14:22:27.418Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T14:22:27.431Z] $ docker exec --env ******** --env ******** 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 ssh-agent -k [2023-03-02T14:22:27.531Z] unset SSH_AUTH_SOCK; [2023-03-02T14:22:27.532Z] unset SSH_AGENT_PID; [2023-03-02T14:22:27.532Z] echo Agent pid 38 killed; [2023-03-02T14:22:27.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T14:22:27.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T14:22:27.570Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T14:22:27.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T14:22:27.696Z] $ docker exec 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 ssh-agent [2023-03-02T14:22:27.808Z] SSH_AUTH_SOCK=/tmp/ssh-PBHp2NejWx8S/agent.70 [2023-03-02T14:22:27.808Z] SSH_AGENT_PID=76 [2023-03-02T14:22:27.813Z] Running ssh-add (command line suppressed) [2023-03-02T14:22:27.917Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15490446247778887944.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15490446247778887944.key) [2023-03-02T14:22:27.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T14:22:28.215Z] + git semver init [2023-03-02T14:22:28.476Z] 2023-03-02 14:22:28,413 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T14:22:28.476Z] 2023-03-02 14:22:28,413 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T14:22:28.476Z] 2023-03-02 14:22:28,414 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-02T14:22:28.476Z] 2023-03-02 14:22:28,414 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445, universal_newlines=False, shell=None, istream=None) [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,370 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 with force:False [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,371 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,376 [execute] INFO git cat-file --batch-check [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,382 [execute] INFO git cat-file --batch [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T14:22:29.419Z] 2023-03-02 14:22:29,388 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-02T14:22:29.419Z] 0.0.0 [Pipeline] } [2023-03-02T14:22:29.430Z] $ docker exec --env ******** --env ******** 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 ssh-agent -k [2023-03-02T14:22:29.537Z] unset SSH_AUTH_SOCK; [2023-03-02T14:22:29.538Z] unset SSH_AGENT_PID; [2023-03-02T14:22:29.538Z] echo Agent pid 76 killed; [2023-03-02T14:22:29.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T14:22:29.845Z] + git semver [Pipeline] } [2023-03-02T14:22:30.120Z] $ docker stop --time=1 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 [2023-03-02T14:22:31.450Z] $ docker rm -f --volumes 6d6f9961b246676758f1352485370cfcfbd62264cdd67a48b5f62c2fc8c5cfa6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T14:22:31.792Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T14:22:32.017Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T14:22:32.020Z] [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-03-02T14:22:32.114Z] provisioning config files... [2023-03-02T14:22:32.124Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config16428756377028382221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:22:32.422Z] ---> docker-login.sh [2023-03-02T14:22:32.422Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:22:32.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:32.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:32.422Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:32.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:32.422Z] [2023-03-02T14:22:32.422Z] Login Succeeded [2023-03-02T14:22:32.422Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:22:32.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:32.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:32.422Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:32.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:32.422Z] [2023-03-02T14:22:32.422Z] Login Succeeded [2023-03-02T14:22:32.422Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:22:32.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:32.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:32.682Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:32.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:32.682Z] [2023-03-02T14:22:32.682Z] Login Succeeded [2023-03-02T14:22:32.682Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:22:32.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:32.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:32.682Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:32.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:32.682Z] [2023-03-02T14:22:32.682Z] Login Succeeded [2023-03-02T14:22:32.682Z] docker.io [2023-03-02T14:22:32.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:22:32.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:22:32.941Z] Configure a credential helper to remove this warning. See [2023-03-02T14:22:32.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:22:32.941Z] [2023-03-02T14:22:32.941Z] Login Succeeded [2023-03-02T14:22:32.941Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:22:32.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T14:22:33.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:22:33.021Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-02T14:22:33.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:22:33.040Z] ========================================================= [2023-03-02T14:22:33.040Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-02T14:22:33.040Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:22:33.342Z] + 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-03-02T14:22:33.342Z] Sending build context to Docker daemon 4.815MB [2023-03-02T14:22:33.342Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T14:22:33.342Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T14:22:33.342Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-02T14:22:33.342Z] 213ec9aee27d: Pulling fs layer [2023-03-02T14:22:33.342Z] 0f09ad1b1b37: Pulling fs layer [2023-03-02T14:22:33.602Z] 213ec9aee27d: Verifying Checksum [2023-03-02T14:22:33.602Z] 213ec9aee27d: Download complete [2023-03-02T14:22:33.602Z] 213ec9aee27d: Pull complete [2023-03-02T14:22:34.170Z] 0f09ad1b1b37: Download complete [2023-03-02T14:22:37.464Z] 0f09ad1b1b37: Pull complete [2023-03-02T14:22:37.464Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-02T14:22:37.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-02T14:22:37.464Z] ---> b2bbfebb3566 [2023-03-02T14:22:37.464Z] 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-03-02T14:22:38.843Z] ---> Running in 803066f8c84a [2023-03-02T14:22:38.843Z] Connecting to iotech.jfrog.io (3.251.10.68:443) [2023-03-02T14:22:39.412Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:22:39.413Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:22:39.413Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:22:39.671Z] Removing intermediate container 803066f8c84a [2023-03-02T14:22:39.671Z] ---> 9bf072803c38 [2023-03-02T14:22:39.671Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:22:39.671Z] ---> Running in 081959982cb7 [2023-03-02T14:22:40.240Z] Removing intermediate container 081959982cb7 [2023-03-02T14:22:40.240Z] ---> cb62332ebace [2023-03-02T14:22:40.240Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T14:22:40.240Z] ---> Running in abc4410e37ba [2023-03-02T14:22:40.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:22:40.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:22:40.766Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:22:41.335Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:22:41.335Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T14:22:41.335Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:22:41.335Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:22:42.273Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:22:42.273Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T14:22:42.273Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:22:42.273Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:22:42.273Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:22:43.210Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T14:22:43.210Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T14:22:43.210Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T14:22:43.210Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T14:22:43.210Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T14:22:43.210Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T14:22:43.210Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:22:43.210Z] OK: 280 MiB in 90 packages [2023-03-02T14:22:43.779Z] Removing intermediate container abc4410e37ba [2023-03-02T14:22:43.779Z] ---> 6ca17b081bec [2023-03-02T14:22:43.779Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T14:22:43.779Z] ---> Running in 6d660fb822ae [2023-03-02T14:22:44.347Z] Removing intermediate container 6d660fb822ae [2023-03-02T14:22:44.347Z] ---> 5e0cab49a74f [2023-03-02T14:22:44.347Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T14:22:44.347Z] ---> 9110697776a2 [2023-03-02T14:22:44.347Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T14:22:44.606Z] ---> df4516dda6c9 [2023-03-02T14:22:44.606Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T14:22:44.865Z] ---> e93f767a34c6 [2023-03-02T14:22:44.865Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T14:22:44.865Z] ---> ff4d552c3173 [2023-03-02T14:22:44.865Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T14:22:45.123Z] ---> e429500250af [2023-03-02T14:22:45.123Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T14:22:45.123Z] ---> 062b2139e78f [2023-03-02T14:22:45.123Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T14:22:45.123Z] ---> Running in c550e162b5c2 [2023-03-02T14:22:45.382Z] + CPPCHECK=false [2023-03-02T14:22:45.382Z] + DOCGEN=false [2023-03-02T14:22:45.382Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T14:22:45.382Z] + TOMLVER=SDK-0.2 [2023-03-02T14:22:45.382Z] + CUTILVER=1.4 [2023-03-02T14:22:45.382Z] + '[' 0 -gt 0 ] [2023-03-02T14:22:45.382Z] + readlink -f ./scripts/build.sh [2023-03-02T14:22:45.382Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T14:22:45.382Z] + dirname /tmp/sdk/scripts [2023-03-02T14:22:45.382Z] + ROOT=/tmp/sdk [2023-03-02T14:22:45.382Z] + cd /tmp/sdk [2023-03-02T14:22:45.382Z] + '[' '!' -d deps ] [2023-03-02T14:22:45.382Z] + mkdir deps [2023-03-02T14:22:45.382Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T14:22:45.382Z] + tar -C deps -z -x -f - [2023-03-02T14:22:45.382Z] Connecting to github.com (140.82.114.4:443) [2023-03-02T14:22:45.642Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-03-02T14:22:45.899Z] writing to stdout [2023-03-02T14:22:45.899Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T14:22:45.899Z] written to stdout [2023-03-02T14:22:45.899Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T14:22:45.899Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T14:22:45.899Z] + cd /tmp/sdk/build/release [2023-03-02T14:22:45.899Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T14:22:45.899Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:22:45.899Z] -- Detecting C compiler ABI info [2023-03-02T14:22:46.158Z] -- Detecting C compiler ABI info - done [2023-03-02T14:22:46.158Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:22:46.158Z] -- Detecting C compile features [2023-03-02T14:22:46.158Z] -- Detecting C compile features - done [2023-03-02T14:22:46.158Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:22:46.158Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:22:46.158Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:22:46.158Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:22:46.158Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:22:46.158Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:22:46.158Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:22:46.158Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:22:46.158Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:22:46.158Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:22:46.158Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:22:46.158Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:22:46.158Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:22:46.158Z] -- Configuring done [2023-03-02T14:22:46.417Z] -- Generating done [2023-03-02T14:22:46.417Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T14:22:46.417Z] + make all package [2023-03-02T14:22:46.417Z] + tee release.log [2023-03-02T14:22:46.417Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:22:46.417Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:22:46.676Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:22:46.935Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:22:47.084Z] Still waiting to schedule task [2023-03-02T14:22:47.085Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-02T14:22:47.194Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:22:47.194Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:22:47.453Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:22:47.712Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:22:47.972Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:22:48.232Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:22:48.232Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:22:48.493Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:22:48.493Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:22:48.753Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:22:48.753Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:22:49.323Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:22:49.323Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:22:49.582Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:22:49.841Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:22:50.778Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:22:50.778Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:22:50.778Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:22:50.778Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:22:51.038Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:22:51.605Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:22:51.605Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:22:51.863Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:22:51.863Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:22:52.431Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:22:52.999Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:22:53.258Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:22:53.258Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:22:53.516Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:22:53.516Z] [ 67%] Built target csdk [2023-03-02T14:22:53.516Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:22:53.516Z] [ 71%] Linking C executable template [2023-03-02T14:22:53.775Z] [ 71%] Built target template [2023-03-02T14:22:53.775Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:22:53.775Z] [ 75%] Linking C executable device-counter [2023-03-02T14:22:53.775Z] [ 75%] Built target device-counter [2023-03-02T14:22:53.775Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:22:54.034Z] [ 79%] Linking C executable device-random [2023-03-02T14:22:54.035Z] [ 79%] Built target device-random [2023-03-02T14:22:54.035Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:22:54.035Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:22:54.293Z] [ 83%] Built target device-gyro [2023-03-02T14:22:54.293Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:22:54.293Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:22:54.293Z] [ 87%] Built target device-bitfields [2023-03-02T14:22:54.293Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:22:54.551Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:22:54.551Z] [ 91%] Built target template-discovery [2023-03-02T14:22:54.551Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:22:54.810Z] [ 95%] Linking C executable device-file [2023-03-02T14:22:54.810Z] [ 95%] Built target device-file [2023-03-02T14:22:54.810Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:22:55.069Z] [100%] Linking C executable device-terminal [2023-03-02T14:22:55.069Z] [100%] Built target device-terminal [2023-03-02T14:22:55.069Z] Run CPack packaging tool... [2023-03-02T14:22:55.069Z] CPack: Create package using TGZ [2023-03-02T14:22:55.069Z] CPack: Install projects [2023-03-02T14:22:55.069Z] CPack: - Run preinstall target for: Csdk [2023-03-02T14:22:55.328Z] CPack: - Install project: Csdk [] [2023-03-02T14:22:55.328Z] CPack: Create package [2023-03-02T14:22:55.328Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-02T14:22:55.328Z] + '[' false '=' true ] [2023-03-02T14:22:55.328Z] + '[' false '=' true ] [2023-03-02T14:22:55.328Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T14:22:55.328Z] + cd /tmp/sdk/build/debug [2023-03-02T14:22:55.328Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T14:22:55.328Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:22:55.328Z] -- Detecting C compiler ABI info [2023-03-02T14:22:55.587Z] -- Detecting C compiler ABI info - done [2023-03-02T14:22:55.587Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:22:55.587Z] -- Detecting C compile features [2023-03-02T14:22:55.587Z] -- Detecting C compile features - done [2023-03-02T14:22:55.587Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:22:55.587Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:22:55.587Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:22:55.587Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:22:55.587Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:22:55.587Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:22:55.587Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:22:55.587Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:22:55.587Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:22:55.587Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:22:55.587Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:22:55.587Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:22:55.587Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:22:55.847Z] -- Configuring done [2023-03-02T14:22:55.847Z] -- Generating done [2023-03-02T14:22:55.847Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T14:22:55.847Z] + make [2023-03-02T14:22:55.847Z] + tee debug.log [2023-03-02T14:22:55.847Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:22:55.847Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:22:55.847Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:22:56.106Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:22:56.106Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:22:56.368Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:22:56.368Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:22:56.368Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:22:56.627Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:22:56.627Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:22:56.627Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:22:56.893Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:22:56.893Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:22:56.893Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:22:56.893Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:22:57.152Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:22:57.152Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:22:57.411Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:22:57.411Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:22:57.671Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:22:57.671Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:22:57.671Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:22:57.930Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:22:57.930Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:22:58.189Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:22:58.189Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:22:58.453Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:22:58.453Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:22:58.453Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:22:58.712Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:22:58.712Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:22:58.971Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:22:58.971Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:22:58.971Z] [ 67%] Built target csdk [2023-03-02T14:22:58.971Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:22:59.234Z] [ 71%] Linking C executable template [2023-03-02T14:22:59.234Z] [ 71%] Built target template [2023-03-02T14:22:59.234Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:22:59.234Z] [ 75%] Linking C executable device-counter [2023-03-02T14:22:59.234Z] [ 75%] Built target device-counter [2023-03-02T14:22:59.234Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:22:59.494Z] [ 79%] Linking C executable device-random [2023-03-02T14:22:59.494Z] [ 79%] Built target device-random [2023-03-02T14:22:59.494Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:22:59.494Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:22:59.494Z] [ 83%] Built target device-gyro [2023-03-02T14:22:59.753Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:22:59.753Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:22:59.753Z] [ 87%] Built target device-bitfields [2023-03-02T14:22:59.753Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:22:59.753Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:23:00.011Z] [ 91%] Built target template-discovery [2023-03-02T14:23:00.011Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:23:00.011Z] [ 95%] Linking C executable device-file [2023-03-02T14:23:00.011Z] [ 95%] Built target device-file [2023-03-02T14:23:00.011Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:23:00.270Z] [100%] Linking C executable device-terminal [2023-03-02T14:23:00.271Z] [100%] Built target device-terminal [2023-03-02T14:23:00.271Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 67%] Built target csdk [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 71%] Built target template [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 75%] Built target device-counter [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 79%] Built target device-random [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 83%] Built target device-gyro [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] [ 87%] Built target device-bitfields [2023-03-02T14:23:00.271Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.271Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] [ 91%] Built target template-discovery [2023-03-02T14:23:00.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] [ 95%] Built target device-file [2023-03-02T14:23:00.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] [100%] Built target device-terminal [2023-03-02T14:23:00.529Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:00.529Z] Install the project... [2023-03-02T14:23:00.529Z] -- Install configuration: "Release" [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-02T14:23:00.529Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/devsdk [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-02T14:23:00.529Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-02T14:23:00.529Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:23:01.109Z] Removing intermediate container c550e162b5c2 [2023-03-02T14:23:01.109Z] ---> 1c2ba6583f62 [2023-03-02T14:23:01.109Z] Step 14/21 : FROM ${BASE} [2023-03-02T14:23:01.109Z] ---> b2bbfebb3566 [2023-03-02T14:23:01.109Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-02T14:23:01.109Z] ---> Running in 567d66010033 [2023-03-02T14:23:01.109Z] Removing intermediate container 567d66010033 [2023-03-02T14:23:01.109Z] ---> 8c5cc7cd522f [2023-03-02T14:23:01.109Z] 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-03-02T14:23:01.109Z] ---> Running in 55fae21758e3 [2023-03-02T14:23:01.375Z] Connecting to iotech.jfrog.io (54.154.137.47:443) [2023-03-02T14:23:01.951Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:23:01.951Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:23:01.951Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:23:01.951Z] Removing intermediate container 55fae21758e3 [2023-03-02T14:23:01.951Z] ---> d289d092d272 [2023-03-02T14:23:01.951Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:23:02.213Z] ---> Running in a8709d5b9fff [2023-03-02T14:23:02.831Z] Removing intermediate container a8709d5b9fff [2023-03-02T14:23:02.831Z] ---> 9eda4f58399b [2023-03-02T14:23:02.831Z] 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-03-02T14:23:02.831Z] ---> Running in c985fd7ad251 [2023-03-02T14:23:02.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:03.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:04.097Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:05.034Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:23:05.034Z] (1/7) Installing curl (7.83.1-r6) [2023-03-02T14:23:05.034Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-02T14:23:05.034Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:23:05.034Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:23:05.976Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-02T14:23:05.976Z] (6/7) Installing libuuid (2.38-r1) [2023-03-02T14:23:05.976Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:23:06.915Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:23:06.915Z] OK: 275 MiB in 83 packages [2023-03-02T14:23:07.174Z] Removing intermediate container c985fd7ad251 [2023-03-02T14:23:07.174Z] ---> eb53133feb03 [2023-03-02T14:23:07.174Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-02T14:23:07.174Z] ---> 6fb0541a9b4f [2023-03-02T14:23:07.174Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-02T14:23:07.433Z] ---> 94a7d0eeeff1 [2023-03-02T14:23:07.433Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-02T14:23:07.433Z] ---> 1541af9998d7 [2023-03-02T14:23:07.433Z] Successfully built 1541af9998d7 [2023-03-02T14:23:07.433Z] 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-03-02T14:23:08.080Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T14:23:08.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:23:08.151Z] prd-ubuntu20.04-docker-8c-8g-8098 does not seem to be running inside a container [2023-03-02T14:23:08.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-02T14:23:08.513Z] $ docker top defcea87822cb2c2dd21734b59dfad230fb73b6f630a667fcbe865c29c697c3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:23:08.856Z] + make test [2023-03-02T14:23:08.856Z] echo "make test" [2023-03-02T14:23:08.856Z] make test [Pipeline] } [2023-03-02T14:23:08.871Z] $ docker stop --time=1 defcea87822cb2c2dd21734b59dfad230fb73b6f630a667fcbe865c29c697c3d [2023-03-02T14:23:10.167Z] $ docker rm -f --volumes defcea87822cb2c2dd21734b59dfad230fb73b6f630a667fcbe865c29c697c3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:23:10.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T14:23:11.055Z] + ls -al . [2023-03-02T14:23:11.055Z] total 204 [2023-03-02T14:23:11.055Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 14:22 . [2023-03-02T14:23:11.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:22 .. [2023-03-02T14:23:11.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:22 .git [2023-03-02T14:23:11.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:22 .github [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 2 14:22 .gitignore [2023-03-02T14:23:11.055Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 14:22 .semver [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 2 14:22 Attribution.txt [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 2 14:22 CHANGES [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 2 14:22 Doxyfile [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 14:22 GOVERNANCE.md [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 2 14:22 Jenkinsfile [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 14:22 LICENSE [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 2 14:22 Makefile [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 14:22 OWNERS.md [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 2 14:22 README.md [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 2 14:22 README.v3.md [2023-03-02T14:23:11.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 14:22 VERSION [2023-03-02T14:23:11.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:22 docs [2023-03-02T14:23:11.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:22 include [2023-03-02T14:23:11.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:22 scripts [2023-03-02T14:23:11.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:23:11.364Z] + 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=7918e9890a621b034a3ee885caae8f9909757f71 --label arch=amd64 --label version=0.0.0 . [2023-03-02T14:23:11.364Z] Sending build context to Docker daemon 4.815MB [2023-03-02T14:23:11.364Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-02T14:23:11.364Z] Step 2/17 : FROM ${BASE} [2023-03-02T14:23:11.364Z] ---> 1541af9998d7 [2023-03-02T14:23:11.364Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-02T14:23:11.364Z] ---> Running in 0211cc3f3f22 [2023-03-02T14:23:11.364Z] Removing intermediate container 0211cc3f3f22 [2023-03-02T14:23:11.364Z] ---> 3a3bfe0a2163 [2023-03-02T14:23:11.364Z] 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-03-02T14:23:11.623Z] ---> Running in 9c27a5481fef [2023-03-02T14:23:11.882Z] Connecting to iotech.jfrog.io (52.212.42.178:443) [2023-03-02T14:23:12.140Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:23:12.140Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:23:12.140Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:23:12.398Z] Removing intermediate container 9c27a5481fef [2023-03-02T14:23:12.398Z] ---> 82294696bcb1 [2023-03-02T14:23:12.398Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:23:12.398Z] ---> Running in fd89ac9ee7ae [2023-03-02T14:23:12.965Z] Removing intermediate container fd89ac9ee7ae [2023-03-02T14:23:12.965Z] ---> 9bd3e5938c90 [2023-03-02T14:23:12.965Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-03-02T14:23:12.965Z] ---> Running in 91bf495bf49a [2023-03-02T14:23:13.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:13.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:13.482Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T14:23:14.050Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:23:14.050Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:23:14.309Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:23:14.309Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:23:14.309Z] (4/8) Installing libblkid (2.38-r1) [2023-03-02T14:23:14.309Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-02T14:23:14.309Z] (6/8) Installing libmount (2.38-r1) [2023-03-02T14:23:14.309Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-02T14:23:14.309Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-02T14:23:14.309Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:23:14.309Z] OK: 280 MiB in 91 packages [2023-03-02T14:23:14.875Z] Removing intermediate container 91bf495bf49a [2023-03-02T14:23:14.875Z] ---> 37d8c586026d [2023-03-02T14:23:14.875Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-02T14:23:14.875Z] ---> 5b37199328fd [2023-03-02T14:23:14.875Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-02T14:23:15.134Z] ---> c7d4cbeaacee [2023-03-02T14:23:15.134Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-02T14:23:15.394Z] ---> f5852ebffaee [2023-03-02T14:23:15.394Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-02T14:23:15.394Z] ---> bf0a80330f50 [2023-03-02T14:23:15.394Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-02T14:23:15.394Z] ---> 859b8d89114c [2023-03-02T14:23:15.394Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-02T14:23:15.653Z] ---> 712c06b85494 [2023-03-02T14:23:15.653Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-02T14:23:15.653Z] ---> Running in f4cdc2e68dc0 [2023-03-02T14:23:15.911Z] Removing intermediate container f4cdc2e68dc0 [2023-03-02T14:23:15.911Z] ---> d51d102351d9 [2023-03-02T14:23:15.911Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-02T14:23:15.911Z] ---> Running in d6e927b252fd [2023-03-02T14:23:15.911Z] Removing intermediate container d6e927b252fd [2023-03-02T14:23:15.911Z] ---> d61ed83b3918 [2023-03-02T14:23:15.911Z] Step 15/17 : LABEL arch=amd64 [2023-03-02T14:23:15.911Z] ---> Running in 0a8ac5e2d1ad [2023-03-02T14:23:16.170Z] Removing intermediate container 0a8ac5e2d1ad [2023-03-02T14:23:16.170Z] ---> 8045ce31aee3 [2023-03-02T14:23:16.170Z] Step 16/17 : LABEL git_sha=7918e9890a621b034a3ee885caae8f9909757f71 [2023-03-02T14:23:16.170Z] ---> Running in 654198961a8c [2023-03-02T14:23:16.170Z] Removing intermediate container 654198961a8c [2023-03-02T14:23:16.170Z] ---> eb341e8b4996 [2023-03-02T14:23:16.170Z] Step 17/17 : LABEL version=0.0.0 [2023-03-02T14:23:16.170Z] ---> Running in e1d46b63627a [2023-03-02T14:23:16.170Z] Removing intermediate container e1d46b63627a [2023-03-02T14:23:16.170Z] ---> ae59d4fa4df9 [2023-03-02T14:23:16.170Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-03-02T14:23:16.170Z] Successfully built ae59d4fa4df9 [2023-03-02T14:23:16.170Z] 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-03-02T14:23:16.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:23:16.616Z] [2023-03-02T14:23:16.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:23:17.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:23:17.248Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T14:23:17.248Z] 5eb5b503b376: Pulling fs layer [2023-03-02T14:23:17.248Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T14:23:17.248Z] ec43610c2a17: Pulling fs layer [2023-03-02T14:23:17.248Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T14:23:17.248Z] 33b1e0a273af: Pulling fs layer [2023-03-02T14:23:17.248Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T14:23:17.248Z] 2f39f015ded8: Pulling fs layer [2023-03-02T14:23:17.248Z] 3a2ae6a8a46f: Waiting [2023-03-02T14:23:17.248Z] 33b1e0a273af: Waiting [2023-03-02T14:23:17.248Z] 5d3b04190fa2: Waiting [2023-03-02T14:23:17.248Z] 2f39f015ded8: Waiting [2023-03-02T14:23:17.248Z] 5c69ac0246d0: Download complete [2023-03-02T14:23:17.248Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-02T14:23:17.248Z] 3a2ae6a8a46f: Download complete [2023-03-02T14:23:17.512Z] 33b1e0a273af: Verifying Checksum [2023-03-02T14:23:17.512Z] 33b1e0a273af: Download complete [2023-03-02T14:23:17.512Z] 5d3b04190fa2: Download complete [2023-03-02T14:23:17.512Z] ec43610c2a17: Verifying Checksum [2023-03-02T14:23:17.512Z] ec43610c2a17: Download complete [2023-03-02T14:23:17.512Z] 5eb5b503b376: Verifying Checksum [2023-03-02T14:23:17.512Z] 5eb5b503b376: Download complete [2023-03-02T14:23:18.081Z] 2f39f015ded8: Download complete [2023-03-02T14:23:18.649Z] 5eb5b503b376: Pull complete [2023-03-02T14:23:18.907Z] 5c69ac0246d0: Pull complete [2023-03-02T14:23:19.475Z] ec43610c2a17: Pull complete [2023-03-02T14:23:19.475Z] 3a2ae6a8a46f: Pull complete [2023-03-02T14:23:19.733Z] 33b1e0a273af: Pull complete [2023-03-02T14:23:19.733Z] 5d3b04190fa2: Pull complete [2023-03-02T14:23:23.914Z] 2f39f015ded8: Pull complete [2023-03-02T14:23:23.914Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T14:23:23.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:23:23.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:23:23.990Z] prd-ubuntu20.04-docker-8c-8g-8098 does not seem to be running inside a container [2023-03-02T14:23:24.020Z] $ 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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T14:23:26.797Z] $ docker top 065cfa7195aaaf4a8eb6a7f08a3787cfda13571e9a6bdb587ede99151a47785e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:23:27.190Z] ---> job-cost.sh [2023-03-02T14:23:27.190Z] lf-activate-venv: SKIPPING [2023-03-02T14:23:27.190Z] INFO: No Stack... [2023-03-02T14:23:27.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T14:23:27.708Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T14:23:27.996Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv [2023-03-02T14:23:27.996Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T14:23:28.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [2023-03-02T14:23:28.017Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] did not exist. Created. [2023-03-02T14:23:28.017Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T14:23:28.313Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T14:23:28.355Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T14:23:28.361Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T14:23:28.380Z] $ docker stop --time=1 065cfa7195aaaf4a8eb6a7f08a3787cfda13571e9a6bdb587ede99151a47785e [2023-03-02T14:23:29.530Z] $ docker rm -f --volumes 065cfa7195aaaf4a8eb6a7f08a3787cfda13571e9a6bdb587ede99151a47785e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T14:24:21.847Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8099 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws [2023-03-02T14:24:21.859Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2023-03-02T14:24:21.894Z] Selected Git installation does not exist. Using Default [2023-03-02T14:24:21.894Z] The recommended git tool is: NONE [2023-03-02T14:24:26.946Z] using credential edgex-jenkins-ssh [2023-03-02T14:24:26.963Z] Cloning the remote Git repository [2023-03-02T14:24:27.009Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:24:27.090Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2023-03-02T14:24:27.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:24:27.257Z] > git --version # timeout=10 [2023-03-02T14:24:27.276Z] > git --version # 'git version 2.25.1' [2023-03-02T14:24:27.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:24:27.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T14:24:28.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T14:24:28.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T14:24:29.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-02T14:24:29.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-02T14:24:29.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:24:29.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T14:24:30.002Z] Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 7918e9890a621b034a3ee885caae8f9909757f71 [2023-03-02T14:24:30.287Z] Merge succeeded, producing 7918e9890a621b034a3ee885caae8f9909757f71 [2023-03-02T14:24:30.287Z] Checking out Revision 7918e9890a621b034a3ee885caae8f9909757f71 (PR-445) [2023-03-02T14:24:30.025Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T14:24:30.052Z] > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 [2023-03-02T14:24:30.177Z] > git remote # timeout=10 [2023-03-02T14:24:30.197Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T14:24:30.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T14:24:30.240Z] > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [2023-03-02T14:24:30.265Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T14:24:30.296Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T14:24:30.308Z] > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 [2023-03-02T14:24:33.779Z] Commit message: "Resolving build issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:24:34.688Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T14:24:34.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T14:24:34.688Z] Dload Upload Total Spent Left Speed [2023-03-02T14:24:34.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-03-02T14:24:35.390Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T14:24:35.720Z] + sudo tee /etc/docker/daemon.new [2023-03-02T14:24:35.721Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T14:24:35.721Z] { [2023-03-02T14:24:35.721Z] "registry-mirrors": [ [2023-03-02T14:24:35.721Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T14:24:35.721Z] ], [2023-03-02T14:24:35.721Z] "bip": "10.250.0.254/24", [2023-03-02T14:24:35.721Z] "hosts": [ [2023-03-02T14:24:35.721Z] "tcp://0.0.0.0:5555", [2023-03-02T14:24:35.721Z] "unix:///var/run/docker.sock" [2023-03-02T14:24:35.721Z] ], [2023-03-02T14:24:35.721Z] "mtu": 1458, [2023-03-02T14:24:35.721Z] "selinux-enabled": true, [2023-03-02T14:24:35.721Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T14:24:35.721Z] } [Pipeline] sh [2023-03-02T14:24:36.049Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T14:24:36.381Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:24:54.936Z] provisioning config files... [2023-03-02T14:24:54.961Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config3491634113406098463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:24:55.304Z] ---> docker-login.sh [2023-03-02T14:24:55.304Z] nexus3.edgexfoundry.org:10001 [2023-03-02T14:24:55.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:24:55.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:24:55.891Z] Configure a credential helper to remove this warning. See [2023-03-02T14:24:55.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:24:55.891Z] [2023-03-02T14:24:55.891Z] Login Succeeded [2023-03-02T14:24:55.891Z] nexus3.edgexfoundry.org:10002 [2023-03-02T14:24:56.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:24:56.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:24:56.168Z] Configure a credential helper to remove this warning. See [2023-03-02T14:24:56.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:24:56.168Z] [2023-03-02T14:24:56.168Z] Login Succeeded [2023-03-02T14:24:56.168Z] nexus3.edgexfoundry.org:10003 [2023-03-02T14:24:56.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:24:56.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:24:56.709Z] Configure a credential helper to remove this warning. See [2023-03-02T14:24:56.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:24:56.709Z] [2023-03-02T14:24:56.709Z] Login Succeeded [2023-03-02T14:24:56.709Z] nexus3.edgexfoundry.org:10004 [2023-03-02T14:24:56.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:24:56.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:24:56.979Z] Configure a credential helper to remove this warning. See [2023-03-02T14:24:56.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:24:56.979Z] [2023-03-02T14:24:56.979Z] Login Succeeded [2023-03-02T14:24:56.979Z] docker.io [2023-03-02T14:24:57.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T14:24:57.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T14:24:57.518Z] Configure a credential helper to remove this warning. See [2023-03-02T14:24:57.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T14:24:57.518Z] [2023-03-02T14:24:57.518Z] Login Succeeded [2023-03-02T14:24:57.518Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T14:24:57.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T14:24:57.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:24:57.779Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-02T14:24:57.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T14:24:57.799Z] ========================================================= [2023-03-02T14:24:57.799Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-02T14:24:57.799Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:24:58.130Z] + 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-03-02T14:24:58.398Z] Sending build context to Docker daemon 2.937MB [2023-03-02T14:24:58.398Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-02T14:24:58.398Z] Step 2/21 : FROM ${BASE} as builder [2023-03-02T14:24:58.672Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-02T14:24:58.672Z] 9b18e9b68314: Pulling fs layer [2023-03-02T14:24:58.672Z] 1def92ead452: Pulling fs layer [2023-03-02T14:24:58.672Z] 9b18e9b68314: Verifying Checksum [2023-03-02T14:24:58.672Z] 9b18e9b68314: Download complete [2023-03-02T14:24:59.258Z] 9b18e9b68314: Pull complete [2023-03-02T14:25:01.213Z] 1def92ead452: Download complete [2023-03-02T14:25:09.456Z] 1def92ead452: Pull complete [2023-03-02T14:25:09.456Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-02T14:25:09.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-02T14:25:09.456Z] ---> 9a9802766715 [2023-03-02T14:25:09.456Z] 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-03-02T14:25:10.046Z] ---> Running in 1da3ae8f4dad [2023-03-02T14:25:11.028Z] Connecting to iotech.jfrog.io (54.154.137.47:443) [2023-03-02T14:25:11.617Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:25:11.617Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:25:11.617Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:25:12.207Z] Removing intermediate container 1da3ae8f4dad [2023-03-02T14:25:12.207Z] ---> e00ec8d631ba [2023-03-02T14:25:12.207Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:25:12.475Z] ---> Running in 3fb7e497a734 [2023-03-02T14:25:13.898Z] Removing intermediate container 3fb7e497a734 [2023-03-02T14:25:13.898Z] ---> 608694c60cc0 [2023-03-02T14:25:13.898Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-03-02T14:25:14.171Z] ---> Running in ef1710b7de8a [2023-03-02T14:25:15.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:25:15.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:25:15.740Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:25:16.703Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:25:16.703Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-02T14:25:16.703Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:25:16.703Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:25:17.665Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:25:17.665Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-02T14:25:17.665Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:25:17.930Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:25:17.930Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:25:18.890Z] (9/14) Installing libblkid (2.38-r1) [2023-03-02T14:25:18.890Z] (10/14) Installing libuuid (2.38-r1) [2023-03-02T14:25:18.890Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-02T14:25:18.890Z] (12/14) Installing libmount (2.38-r1) [2023-03-02T14:25:18.890Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-02T14:25:18.890Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-02T14:25:18.890Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:25:18.890Z] OK: 286 MiB in 90 packages [2023-03-02T14:25:20.301Z] Removing intermediate container ef1710b7de8a [2023-03-02T14:25:20.301Z] ---> c9a75f083fa4 [2023-03-02T14:25:20.301Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-02T14:25:20.301Z] ---> Running in 3b22a56098f3 [2023-03-02T14:25:22.236Z] Removing intermediate container 3b22a56098f3 [2023-03-02T14:25:22.236Z] ---> 2c2c5777d657 [2023-03-02T14:25:22.236Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-02T14:25:22.506Z] ---> 361758057d65 [2023-03-02T14:25:22.506Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-02T14:25:23.096Z] ---> 2ef16a1c4b16 [2023-03-02T14:25:23.096Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-02T14:25:23.678Z] ---> 515f0a717e32 [2023-03-02T14:25:23.678Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-02T14:25:24.264Z] ---> 34c54c7fe815 [2023-03-02T14:25:24.264Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-02T14:25:24.846Z] ---> 40cf7e2c0318 [2023-03-02T14:25:24.846Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-02T14:25:25.431Z] ---> d381f5184389 [2023-03-02T14:25:25.431Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-02T14:25:25.431Z] ---> Running in 57d50ad4b077 [2023-03-02T14:25:26.493Z] + CPPCHECK=false [2023-03-02T14:25:26.493Z] + DOCGEN=false [2023-03-02T14:25:26.493Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-02T14:25:26.493Z] + TOMLVER=SDK-0.2 [2023-03-02T14:25:26.493Z] + CUTILVER=1.4 [2023-03-02T14:25:26.493Z] + '[' 0 -gt 0 ] [2023-03-02T14:25:26.493Z] + readlink -f ./scripts/build.sh [2023-03-02T14:25:26.493Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-02T14:25:26.493Z] + dirname /tmp/sdk/scripts [2023-03-02T14:25:26.493Z] + ROOT=/tmp/sdk [2023-03-02T14:25:26.493Z] + cd /tmp/sdk [2023-03-02T14:25:26.493Z] + '[' '!' -d deps ] [2023-03-02T14:25:26.493Z] + mkdir deps [2023-03-02T14:25:26.493Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-02T14:25:26.493Z] + tar -C deps -z -x -f - [2023-03-02T14:25:26.493Z] Connecting to github.com (140.82.114.3:443) [2023-03-02T14:25:26.493Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-03-02T14:25:26.764Z] writing to stdout [2023-03-02T14:25:26.764Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-02T14:25:26.764Z] written to stdout [2023-03-02T14:25:26.764Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-02T14:25:26.764Z] + mkdir -p /tmp/sdk/build/release [2023-03-02T14:25:26.764Z] + cd /tmp/sdk/build/release [2023-03-02T14:25:26.764Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-02T14:25:27.352Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:25:27.352Z] -- Detecting C compiler ABI info [2023-03-02T14:25:27.618Z] -- Detecting C compiler ABI info - done [2023-03-02T14:25:27.618Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:25:27.618Z] -- Detecting C compile features [2023-03-02T14:25:27.618Z] -- Detecting C compile features - done [2023-03-02T14:25:27.618Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:25:27.884Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:25:27.884Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:25:27.884Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:25:27.884Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:25:27.884Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:25:27.884Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:25:27.884Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:25:27.884Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:25:27.884Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:25:28.151Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:25:28.418Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:25:28.418Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:25:28.685Z] -- Configuring done [2023-03-02T14:25:28.949Z] -- Generating done [2023-03-02T14:25:28.949Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-02T14:25:28.949Z] + make all package [2023-03-02T14:25:28.949Z] + tee release.log [2023-03-02T14:25:29.216Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:25:29.794Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:25:30.750Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:25:34.077Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:25:35.030Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:25:35.031Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:25:36.439Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:25:37.848Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:25:39.788Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:25:41.195Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:25:41.779Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:25:43.185Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:25:43.765Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:25:44.345Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:25:44.926Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:25:49.164Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:25:49.164Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:25:49.792Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:25:51.220Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:25:57.875Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:25:57.875Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:25:58.141Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:25:58.721Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:26:00.657Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:26:03.235Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:26:03.815Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:26:04.767Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:26:05.346Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:26:08.679Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:26:14.005Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:26:14.271Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:26:14.850Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:26:15.430Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:26:15.695Z] [ 67%] Built target csdk [2023-03-02T14:26:15.695Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:26:16.647Z] [ 71%] Linking C executable template [2023-03-02T14:26:16.910Z] [ 71%] Built target template [2023-03-02T14:26:16.910Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:26:17.490Z] [ 75%] Linking C executable device-counter [2023-03-02T14:26:17.755Z] [ 75%] Built target device-counter [2023-03-02T14:26:18.020Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:26:18.599Z] [ 79%] Linking C executable device-random [2023-03-02T14:26:18.863Z] [ 79%] Built target device-random [2023-03-02T14:26:18.863Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:26:19.442Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:26:19.709Z] [ 83%] Built target device-gyro [2023-03-02T14:26:19.709Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:26:20.290Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:26:20.555Z] [ 87%] Built target device-bitfields [2023-03-02T14:26:20.820Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:26:21.773Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:26:22.039Z] [ 91%] Built target template-discovery [2023-03-02T14:26:22.039Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:26:22.993Z] [ 95%] Linking C executable device-file [2023-03-02T14:26:23.259Z] [ 95%] Built target device-file [2023-03-02T14:26:23.259Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:26:23.838Z] [100%] Linking C executable device-terminal [2023-03-02T14:26:24.102Z] [100%] Built target device-terminal [2023-03-02T14:26:24.367Z] Run CPack packaging tool... [2023-03-02T14:26:24.367Z] CPack: Create package using TGZ [2023-03-02T14:26:24.367Z] CPack: Install projects [2023-03-02T14:26:24.367Z] CPack: - Run preinstall target for: Csdk [2023-03-02T14:26:24.948Z] CPack: - Install project: Csdk [] [2023-03-02T14:26:24.948Z] CPack: Create package [2023-03-02T14:26:25.213Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-02T14:26:25.213Z] + '[' false '=' true ] [2023-03-02T14:26:25.213Z] + '[' false '=' true ] [2023-03-02T14:26:25.213Z] + mkdir -p /tmp/sdk/build/debug [2023-03-02T14:26:25.213Z] + cd /tmp/sdk/build/debug [2023-03-02T14:26:25.213Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-02T14:26:25.478Z] -- The C compiler identification is GNU 11.2.1 [2023-03-02T14:26:25.478Z] -- Detecting C compiler ABI info [2023-03-02T14:26:25.745Z] -- Detecting C compiler ABI info - done [2023-03-02T14:26:25.745Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-02T14:26:25.745Z] -- Detecting C compile features [2023-03-02T14:26:25.745Z] -- Detecting C compile features - done [2023-03-02T14:26:25.745Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-02T14:26:26.011Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-02T14:26:26.011Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-02T14:26:26.011Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-02T14:26:26.011Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-02T14:26:26.011Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-02T14:26:26.011Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-02T14:26:26.276Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-02T14:26:26.276Z] -- /opt/iotech/iot/1.4/include [2023-03-02T14:26:26.276Z] -- C SDK 0.0.0 for Linux [2023-03-02T14:26:26.276Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-02T14:26:26.540Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-02T14:26:26.540Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-02T14:26:26.805Z] -- Configuring done [2023-03-02T14:26:27.071Z] -- Generating done [2023-03-02T14:26:27.071Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-02T14:26:27.071Z] + make [2023-03-02T14:26:27.071Z] + tee debug.log [2023-03-02T14:26:27.071Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-02T14:26:27.651Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-02T14:26:27.916Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-02T14:26:28.870Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-02T14:26:29.449Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-02T14:26:29.449Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-02T14:26:30.027Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-02T14:26:30.606Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-02T14:26:31.187Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-02T14:26:31.767Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-02T14:26:32.347Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-02T14:26:34.085Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-02T14:26:34.085Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-02T14:26:34.085Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-02T14:26:34.085Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-02T14:26:35.038Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-02T14:26:35.038Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-02T14:26:35.302Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-02T14:26:35.881Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-02T14:26:37.279Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-02T14:26:37.544Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-02T14:26:38.123Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-02T14:26:38.389Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-02T14:26:38.989Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-02T14:26:40.926Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-02T14:26:41.191Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-02T14:26:41.456Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-02T14:26:42.036Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-02T14:26:42.988Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-02T14:26:43.942Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-02T14:26:44.207Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-02T14:26:44.472Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-02T14:26:45.051Z] [ 67%] Linking C shared library libcsdk.so [2023-03-02T14:26:45.051Z] [ 67%] Built target csdk [2023-03-02T14:26:45.316Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-02T14:26:45.581Z] [ 71%] Linking C executable template [2023-03-02T14:26:45.847Z] [ 71%] Built target template [2023-03-02T14:26:45.847Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-02T14:26:46.425Z] [ 75%] Linking C executable device-counter [2023-03-02T14:26:46.690Z] [ 75%] Built target device-counter [2023-03-02T14:26:46.690Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-02T14:26:46.955Z] [ 79%] Linking C executable device-random [2023-03-02T14:26:47.219Z] [ 79%] Built target device-random [2023-03-02T14:26:47.219Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-02T14:26:47.483Z] [ 83%] Linking C executable device-gyro [2023-03-02T14:26:47.747Z] [ 83%] Built target device-gyro [2023-03-02T14:26:48.012Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-02T14:26:48.276Z] [ 87%] Linking C executable device-bitfields [2023-03-02T14:26:48.539Z] [ 87%] Built target device-bitfields [2023-03-02T14:26:48.539Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-02T14:26:48.804Z] [ 91%] Linking C executable template-discovery [2023-03-02T14:26:49.071Z] [ 91%] Built target template-discovery [2023-03-02T14:26:49.336Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-02T14:26:49.600Z] [ 95%] Linking C executable device-file [2023-03-02T14:26:49.866Z] [ 95%] Built target device-file [2023-03-02T14:26:49.866Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-02T14:26:50.446Z] [100%] Linking C executable device-terminal [2023-03-02T14:26:50.711Z] [100%] Built target device-terminal [2023-03-02T14:26:50.711Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.711Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.711Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] [ 67%] Built target csdk [2023-03-02T14:26:50.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] [ 71%] Built target template [2023-03-02T14:26:50.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] [ 75%] Built target device-counter [2023-03-02T14:26:50.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] [ 79%] Built target device-random [2023-03-02T14:26:50.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:50.975Z] [ 83%] Built target device-gyro [2023-03-02T14:26:50.975Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] [ 87%] Built target device-bitfields [2023-03-02T14:26:51.240Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] [ 91%] Built target template-discovery [2023-03-02T14:26:51.240Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] [ 95%] Built target device-file [2023-03-02T14:26:51.240Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] [100%] Built target device-terminal [2023-03-02T14:26:51.240Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:51.240Z] Install the project... [2023-03-02T14:26:51.240Z] -- Install configuration: "Release" [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-02T14:26:51.240Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/devsdk [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/edgex [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-02T14:26:51.240Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-02T14:26:51.515Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-02T14:26:51.515Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-02T14:26:51.515Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-02T14:26:51.515Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-02T14:26:51.515Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-02T14:26:52.472Z] Removing intermediate container 57d50ad4b077 [2023-03-02T14:26:52.472Z] ---> 35698377dd84 [2023-03-02T14:26:52.472Z] Step 14/21 : FROM ${BASE} [2023-03-02T14:26:52.472Z] ---> 9a9802766715 [2023-03-02T14:26:52.472Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-02T14:26:52.737Z] ---> Running in bc816a34d829 [2023-03-02T14:26:53.003Z] Removing intermediate container bc816a34d829 [2023-03-02T14:26:53.003Z] ---> 7f162dcec9f9 [2023-03-02T14:26:53.003Z] 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-03-02T14:26:53.003Z] ---> Running in 9568f0efd006 [2023-03-02T14:26:53.955Z] Connecting to iotech.jfrog.io (3.251.10.68:443) [2023-03-02T14:26:54.219Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:26:54.219Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:26:54.219Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:26:54.807Z] Removing intermediate container 9568f0efd006 [2023-03-02T14:26:54.807Z] ---> 0bbad36a7562 [2023-03-02T14:26:54.807Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:26:54.807Z] ---> Running in 1ad3a72716fd [2023-03-02T14:26:56.207Z] Removing intermediate container 1ad3a72716fd [2023-03-02T14:26:56.207Z] ---> 44c854f47e3c [2023-03-02T14:26:56.207Z] 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-03-02T14:26:56.472Z] ---> Running in 9315fadc93f0 [2023-03-02T14:26:57.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:26:57.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:26:58.024Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:26:58.980Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:26:58.980Z] (1/7) Installing curl (7.83.1-r6) [2023-03-02T14:26:58.980Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-02T14:26:58.980Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-02T14:26:58.980Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-02T14:26:59.558Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-02T14:26:59.558Z] (6/7) Installing libuuid (2.38-r1) [2023-03-02T14:26:59.558Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-02T14:27:00.511Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:27:00.511Z] OK: 281 MiB in 83 packages [2023-03-02T14:27:01.464Z] Removing intermediate container 9315fadc93f0 [2023-03-02T14:27:01.464Z] ---> 073723a64fb0 [2023-03-02T14:27:01.464Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-02T14:27:01.730Z] ---> a431496e0a40 [2023-03-02T14:27:01.730Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-02T14:27:02.312Z] ---> 83fca240b238 [2023-03-02T14:27:02.312Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-02T14:27:02.891Z] ---> 599da9e46c27 [2023-03-02T14:27:02.891Z] Successfully built 599da9e46c27 [2023-03-02T14:27:02.891Z] 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-03-02T14:27:03.281Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T14:27:03.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:27:03.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-8099 does not seem to be running inside a container [2023-03-02T14:27:03.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T14:27:04.558Z] $ docker top 40d5323cd73992a3c0e4f81b73c66addfd11c67d7f8350f32293103f05e63d3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:27:05.358Z] + make test [2023-03-02T14:27:05.358Z] echo "make test" [2023-03-02T14:27:05.358Z] make test [Pipeline] } [2023-03-02T14:27:05.374Z] $ docker stop --time=1 40d5323cd73992a3c0e4f81b73c66addfd11c67d7f8350f32293103f05e63d3e [2023-03-02T14:27:06.929Z] $ docker rm -f --volumes 40d5323cd73992a3c0e4f81b73c66addfd11c67d7f8350f32293103f05e63d3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T14:27:07.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T14:27:07.725Z] + ls -al . [2023-03-02T14:27:07.726Z] total 200 [2023-03-02T14:27:07.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:24 . [2023-03-02T14:27:07.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:24 .. [2023-03-02T14:27:07.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 14:24 .git [2023-03-02T14:27:07.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:24 .github [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 2 14:24 .gitignore [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 2 14:24 Attribution.txt [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 2 14:24 CHANGES [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 2 14:24 Doxyfile [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 14:24 GOVERNANCE.md [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 2 14:24 Jenkinsfile [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 14:24 LICENSE [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 2 14:24 Makefile [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 14:24 OWNERS.md [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 2 14:24 README.md [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 2 14:24 README.v3.md [2023-03-02T14:27:07.726Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 14:22 VERSION [2023-03-02T14:27:07.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:24 docs [2023-03-02T14:27:07.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:24 include [2023-03-02T14:27:07.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 14:24 scripts [2023-03-02T14:27:07.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 14:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:27:08.051Z] + 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=7918e9890a621b034a3ee885caae8f9909757f71 --label arch=arm64 --label version=0.0.0 . [2023-03-02T14:27:08.316Z] Sending build context to Docker daemon 2.937MB [2023-03-02T14:27:08.316Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-02T14:27:08.316Z] Step 2/17 : FROM ${BASE} [2023-03-02T14:27:08.316Z] ---> 599da9e46c27 [2023-03-02T14:27:08.316Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-02T14:27:08.582Z] ---> Running in c6ce1dd7aec0 [2023-03-02T14:27:08.848Z] Removing intermediate container c6ce1dd7aec0 [2023-03-02T14:27:08.848Z] ---> b5d517971547 [2023-03-02T14:27:08.848Z] 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-03-02T14:27:08.848Z] ---> Running in dbcacd6615d0 [2023-03-02T14:27:09.804Z] Connecting to iotech.jfrog.io (52.18.50.91:443) [2023-03-02T14:27:10.070Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-02T14:27:10.070Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-02T14:27:10.070Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-02T14:27:10.652Z] Removing intermediate container dbcacd6615d0 [2023-03-02T14:27:10.652Z] ---> be7f3e4393c3 [2023-03-02T14:27:10.652Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-02T14:27:10.652Z] ---> Running in 9eb3e055d1ab [2023-03-02T14:27:12.588Z] Removing intermediate container 9eb3e055d1ab [2023-03-02T14:27:12.588Z] ---> 1c47328d10de [2023-03-02T14:27:12.588Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-03-02T14:27:12.588Z] ---> Running in ff49bd8dc321 [2023-03-02T14:27:13.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:27:13.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T14:27:14.010Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T14:27:14.588Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-02T14:27:14.588Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-02T14:27:14.854Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-02T14:27:14.854Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-02T14:27:14.854Z] (4/8) Installing libblkid (2.38-r1) [2023-03-02T14:27:14.854Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-02T14:27:14.854Z] (6/8) Installing libmount (2.38-r1) [2023-03-02T14:27:14.854Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-02T14:27:14.854Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-02T14:27:15.120Z] Executing busybox-1.35.0-r17.trigger [2023-03-02T14:27:15.120Z] OK: 286 MiB in 91 packages [2023-03-02T14:27:16.077Z] Removing intermediate container ff49bd8dc321 [2023-03-02T14:27:16.077Z] ---> f402ea123061 [2023-03-02T14:27:16.077Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-02T14:27:16.657Z] ---> 90b031f5468d [2023-03-02T14:27:16.657Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-02T14:27:17.239Z] ---> 79f6c9db5dcf [2023-03-02T14:27:17.239Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-02T14:27:17.505Z] ---> 41207fec009c [2023-03-02T14:27:17.505Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-02T14:27:18.086Z] ---> 8deb0183766d [2023-03-02T14:27:18.086Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-02T14:27:18.351Z] ---> 1e0efe5fb690 [2023-03-02T14:27:18.351Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-02T14:27:18.933Z] ---> be4240a3af79 [2023-03-02T14:27:18.933Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-02T14:27:18.933Z] ---> Running in 37bb9d642335 [2023-03-02T14:27:19.197Z] Removing intermediate container 37bb9d642335 [2023-03-02T14:27:19.197Z] ---> e28c1efc36cf [2023-03-02T14:27:19.197Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-02T14:27:19.197Z] ---> Running in bd189a5a281c [2023-03-02T14:27:19.463Z] Removing intermediate container bd189a5a281c [2023-03-02T14:27:19.463Z] ---> 432bfc73ee18 [2023-03-02T14:27:19.463Z] Step 15/17 : LABEL arch=arm64 [2023-03-02T14:27:19.463Z] ---> Running in d5977254ae2b [2023-03-02T14:27:19.730Z] Removing intermediate container d5977254ae2b [2023-03-02T14:27:19.730Z] ---> cf6de453ee4d [2023-03-02T14:27:19.730Z] Step 16/17 : LABEL git_sha=7918e9890a621b034a3ee885caae8f9909757f71 [2023-03-02T14:27:19.730Z] ---> Running in 8186f849874b [2023-03-02T14:27:19.995Z] Removing intermediate container 8186f849874b [2023-03-02T14:27:19.995Z] ---> 18f8cf37df45 [2023-03-02T14:27:19.995Z] Step 17/17 : LABEL version=0.0.0 [2023-03-02T14:27:20.260Z] ---> Running in 63778d3f9e2f [2023-03-02T14:27:20.260Z] Removing intermediate container 63778d3f9e2f [2023-03-02T14:27:20.260Z] ---> 0d8b3bdd3f68 [2023-03-02T14:27:20.260Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-02T14:27:20.524Z] Successfully built 0d8b3bdd3f68 [2023-03-02T14:27:20.524Z] 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-03-02T14:27:20.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:27:20.951Z] [2023-03-02T14:27:20.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:27:21.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:27:21.535Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T14:27:21.535Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T14:27:21.535Z] 04944245beec: Pulling fs layer [2023-03-02T14:27:21.535Z] 699f458cf7ca: Pulling fs layer [2023-03-02T14:27:21.535Z] 765212b225bb: Pulling fs layer [2023-03-02T14:27:21.535Z] f23df028b6ca: Pulling fs layer [2023-03-02T14:27:21.535Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T14:27:21.535Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T14:27:21.535Z] f23df028b6ca: Waiting [2023-03-02T14:27:21.535Z] d65c8cfc05b1: Waiting [2023-03-02T14:27:21.535Z] 2437ff75d9bd: Waiting [2023-03-02T14:27:21.535Z] 765212b225bb: Waiting [2023-03-02T14:27:21.535Z] 04944245beec: Verifying Checksum [2023-03-02T14:27:21.535Z] 04944245beec: Download complete [2023-03-02T14:27:21.535Z] 765212b225bb: Verifying Checksum [2023-03-02T14:27:21.535Z] 765212b225bb: Download complete [2023-03-02T14:27:21.535Z] f23df028b6ca: Verifying Checksum [2023-03-02T14:27:21.535Z] f23df028b6ca: Download complete [2023-03-02T14:27:21.535Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T14:27:21.535Z] d65c8cfc05b1: Download complete [2023-03-02T14:27:21.802Z] 699f458cf7ca: Verifying Checksum [2023-03-02T14:27:21.802Z] 699f458cf7ca: Download complete [2023-03-02T14:27:22.067Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T14:27:22.067Z] 8998bd30e6a1: Download complete [2023-03-02T14:27:24.004Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T14:27:24.004Z] 2437ff75d9bd: Download complete [2023-03-02T14:27:25.409Z] 8998bd30e6a1: Pull complete [2023-03-02T14:27:25.993Z] 04944245beec: Pull complete [2023-03-02T14:27:27.403Z] 699f458cf7ca: Pull complete [2023-03-02T14:27:27.403Z] 765212b225bb: Pull complete [2023-03-02T14:27:27.983Z] f23df028b6ca: Pull complete [2023-03-02T14:27:28.249Z] d65c8cfc05b1: Pull complete [2023-03-02T14:27:43.220Z] 2437ff75d9bd: Pull complete [2023-03-02T14:27:43.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T14:27:43.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T14:27:43.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:27:43.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-8099 does not seem to be running inside a container [2023-03-02T14:27:43.452Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-02T14:27:45.928Z] $ docker top 3a1d391097e234427b98df4c67a6920cb9d6fd3879801e180ba7ed9107f62b71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:46.432Z] ---> job-cost.sh [2023-03-02T14:27:46.698Z] lf-activate-venv: SKIPPING [2023-03-02T14:27:46.698Z] INFO: No Stack... [2023-03-02T14:27:46.962Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T14:27:47.918Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T14:27:48.556Z] + cut -d, -f6 [2023-03-02T14:27:48.556Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [Pipeline] lock [2023-03-02T14:27:48.620Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [2023-03-02T14:27:48.626Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] did not exist. Created. [2023-03-02T14:27:48.626Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T14:27:48.966Z] /w/workspace/device-sdk-c/6@tmp/durable-a1cc6680/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T14:27:49.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T14:27:49.397Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T14:27:49.929Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T14:27:49.938Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T14:27:49.960Z] $ docker stop --time=1 3a1d391097e234427b98df4c67a6920cb9d6fd3879801e180ba7ed9107f62b71 [2023-03-02T14:27:51.770Z] $ docker rm -f --volumes 3a1d391097e234427b98df4c67a6920cb9d6fd3879801e180ba7ed9107f62b71 [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-03-02T14:27:52.522Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] [2023-03-02T14:27:52.522Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:27:52.522Z] total 16 [2023-03-02T14:27:52.522Z] drwxr-xr-x 3 root root 4096 Mar 2 14:23 . [2023-03-02T14:27:52.522Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 14:23 .. [2023-03-02T14:27:52.522Z] drwxr-xr-x 2 root root 4096 Mar 2 14:23 cost [2023-03-02T14:27:52.522Z] -rw-r--r-- 1 root root 84 Mar 2 14:23 cost.csv [2023-03-02T14:27:52.522Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:27:52.522Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-02T14:27:52.522Z] total 16 [2023-03-02T14:27:52.522Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 14:23 . [2023-03-02T14:27:52.522Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 14:23 .. [2023-03-02T14:27:52.522Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 14:23 cost [2023-03-02T14:27:52.522Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 2 14:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:52.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:53.677Z] ---> package-listing.sh [2023-03-02T14:27:53.677Z] ++ facter osfamily [2023-03-02T14:27:53.677Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T14:27:53.937Z] + OS_FAMILY=debian [2023-03-02T14:27:53.937Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 [2023-03-02T14:27:53.937Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T14:27:53.937Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T14:27:53.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T14:27:53.937Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T14:27:53.937Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T14:27:53.937Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T14:27:53.937Z] + case "${OS_FAMILY}" in [2023-03-02T14:27:53.937Z] + dpkg -l [2023-03-02T14:27:53.937Z] + grep '^ii' [2023-03-02T14:27:53.937Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T14:27:53.937Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T14:27:53.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T14:27:53.937Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-02T14:27:53.937Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [2023-03-02T14:27:53.937Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [Pipeline] echo [2023-03-02T14:27:53.945Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T14:27:54.227Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T14:27:54.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T14:27:54.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T14:27:54.853Z] prd-ubuntu20.04-docker-8c-8g-8098 does not seem to be running inside a container [2023-03-02T14:27:54.883Z] $ 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-445/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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T14:27:55.076Z] $ docker top 008be1521f2d78f7a8a84f58a3183f50494090e7edae20ccda9f5db78bc56588 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T14:27:55.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T14:27:55.692Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T14:27:55.979Z] + ls /var/log/sa-host [2023-03-02T14:27:55.979Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T14:27:56.134Z] provisioning config files... [2023-03-02T14:27:56.143Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config11877558059922891346tmp [Pipeline] { [Pipeline] echo [2023-03-02T14:27:56.156Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:56.439Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T14:27:56.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:56.778Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T14:27:56.788Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:57.072Z] ---> sudo-logs.sh [2023-03-02T14:27:57.072Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T14:27:57.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:57.377Z] ---> job-cost.sh [2023-03-02T14:27:57.377Z] lf-activate-venv: SKIPPING [2023-03-02T14:27:57.377Z] DEBUG: total: 0.2199999988079071 [2023-03-02T14:27:57.377Z] INFO: Retrieving Stack Cost... [2023-03-02T14:27:57.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T14:27:57.896Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T14:27:57.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T14:27:58.194Z] ---> logs-deploy.sh [2023-03-02T14:27:58.194Z] lf-activate-venv: SKIPPING [2023-03-02T14:27:58.194Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/6 [2023-03-02T14:27:58.194Z] INFO: archiving workspace using pattern(s): [2023-03-02T14:27:59.129Z] Archives upload complete. [2023-03-02T14:27:59.130Z] INFO: archiving logs to Nexus