Pull request #442 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 bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 60c720530b7232d7be6f88f4d69bf42c6efbb654 rather than ef94de01c5fb563b77a895242371fc5d35f5687a Obtained Jenkinsfile from 60c720530b7232d7be6f88f4d69bf42c6efbb654 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-ssh12616142544138424831.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-ssh14029138746710139286.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-442/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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4048030726619180450.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-ssh5489355309410918238.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-442/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-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17578432296332024437.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-5244 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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-442 # 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit ef94de01c5fb563b77a895242371fc5d35f5687a Merge succeeded, producing ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 Checking out Revision ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f ef94de01c5fb563b77a895242371fc5d35f5687a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 # timeout=10 Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-09T19:23:19.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-09T19:23:19.772Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-09T19:23:19.786Z] ========================================================= [2023-02-09T19:23:19.786Z] EdgeX Global Pipelines Version Info [2023-02-09T19:23:19.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 077ccc421da0bdc73dd1358f7000c32d9a1382b3 # timeout=10 [2023-02-09T19:23:22.194Z] ------------------- [2023-02-09T19:23:22.195Z] stable info: [2023-02-09T19:23:22.195Z] ------------------- [2023-02-09T19:23:22.195Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-09T19:23:22.195Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-09T19:23:22.195Z] Message: update stable to v1.0.244 [2023-02-09T19:23:23.136Z] ------------------- [2023-02-09T19:23:23.136Z] experimental info: [2023-02-09T19:23:23.136Z] ------------------- [2023-02-09T19:23:23.136Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-09T19:23:23.136Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-09T19:23:23.136Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-09T19:23:23.330Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-02-09T19:23:23.342Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-02-09T19:23:23.359Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-09T19:23:23.369Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-09T19:23:23.379Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-09T19:23:23.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-02-09T19:23:23.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-02-09T19:23:23.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-09T19:23:23.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-09T19:23:23.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-02-09T19:23:23.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-09T19:23:23.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-09T19:23:23.470Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-09T19:23:23.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-09T19:23:23.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-09T19:23:23.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-09T19:23:23.515Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-09T19:23:23.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2023-02-09T19:23:23.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2023-02-09T19:23:23.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2023-02-09T19:23:23.560Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [Pipeline] echo [2023-02-09T19:23:23.570Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec288bb [Pipeline] echo [2023-02-09T19:23:23.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-09T19:23:23.627Z] provisioning config files... [2023-02-09T19:23:23.641Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config3671159441655209591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:23:23.945Z] ---> docker-login.sh [2023-02-09T19:23:23.945Z] nexus3.edgexfoundry.org:10001 [2023-02-09T19:23:24.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:24.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:24.785Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:24.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:24.785Z] [2023-02-09T19:23:24.785Z] Login Succeeded [2023-02-09T19:23:24.785Z] nexus3.edgexfoundry.org:10002 [2023-02-09T19:23:24.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:25.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:25.045Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:25.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:25.045Z] [2023-02-09T19:23:25.045Z] Login Succeeded [2023-02-09T19:23:25.045Z] nexus3.edgexfoundry.org:10003 [2023-02-09T19:23:25.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:25.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:25.045Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:25.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:25.045Z] [2023-02-09T19:23:25.045Z] Login Succeeded [2023-02-09T19:23:25.045Z] nexus3.edgexfoundry.org:10004 [2023-02-09T19:23:25.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:25.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:25.307Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:25.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:25.307Z] [2023-02-09T19:23:25.307Z] Login Succeeded [2023-02-09T19:23:25.307Z] docker.io [2023-02-09T19:23:25.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:26.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:26.717Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:26.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:26.717Z] [2023-02-09T19:23:26.717Z] Login Succeeded [2023-02-09T19:23:26.717Z] ---> docker-login.sh ends [Pipeline] } [2023-02-09T19:23:26.727Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-02-09T19:23:27.165Z] + git rev-list -1 --merges ec288bb0a8d21682eb42d2c13a873fc2ceac36f0~1..ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [Pipeline] echo [2023-02-09T19:23:27.212Z] -----------> git rev-list -1 --merges ec288bb0a8d21682eb42d2c13a873fc2ceac36f0~1..ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [2023-02-09T19:23:27.212Z] ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [false] [Pipeline] sh [2023-02-09T19:23:27.501Z] + git log --format=format:%s -1 ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [Pipeline] echo [2023-02-09T19:23:27.526Z] ========================================================= [2023-02-09T19:23:27.526Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-09T19:23:27.526Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-09T19:23:27.900Z] + git rev-list -1 --merges ec288bb0a8d21682eb42d2c13a873fc2ceac36f0~1..ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [Pipeline] echo [2023-02-09T19:23:27.924Z] -----------> git rev-list -1 --merges ec288bb0a8d21682eb42d2c13a873fc2ceac36f0~1..ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [2023-02-09T19:23:27.924Z] ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [false] [Pipeline] sh [2023-02-09T19:23:28.210Z] + git log --format=format:%s -1 ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [Pipeline] echo [2023-02-09T19:23:28.223Z] ========================================================= [2023-02-09T19:23:28.223Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-09T19:23:28.223Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-02-09T19:23:28.645Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-09T19:23:28.645Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-09T19:23:28.645Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-09T19:23:28.645Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-09T19:23:28.645Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-09T19:23:28.645Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-09T19:23:28.645Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:23:29.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-09T19:23:29.067Z] [2023-02-09T19:23:29.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:23:29.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-09T19:23:29.428Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-09T19:23:29.428Z] b85a868b505f: Pulling fs layer [2023-02-09T19:23:29.428Z] e2be974225ed: Pulling fs layer [2023-02-09T19:23:29.428Z] 339a4e72a1f5: Pulling fs layer [2023-02-09T19:23:29.428Z] 988bab9f4d93: Pulling fs layer [2023-02-09T19:23:29.428Z] 1469e6f7b9e6: Pulling fs layer [2023-02-09T19:23:29.428Z] eaf3925da568: Pulling fs layer [2023-02-09T19:23:29.428Z] bab4dde63d76: Pulling fs layer [2023-02-09T19:23:29.428Z] bde34c3a00c8: Pulling fs layer [2023-02-09T19:23:29.428Z] b352a97aabf1: Pulling fs layer [2023-02-09T19:23:29.428Z] 4872d77fe225: Pulling fs layer [2023-02-09T19:23:29.428Z] 5851b861e8e6: Pulling fs layer [2023-02-09T19:23:29.428Z] 1469e6f7b9e6: Waiting [2023-02-09T19:23:29.428Z] eaf3925da568: Waiting [2023-02-09T19:23:29.428Z] bab4dde63d76: Waiting [2023-02-09T19:23:29.428Z] bde34c3a00c8: Waiting [2023-02-09T19:23:29.428Z] b352a97aabf1: Waiting [2023-02-09T19:23:29.428Z] 4872d77fe225: Waiting [2023-02-09T19:23:29.428Z] 5851b861e8e6: Waiting [2023-02-09T19:23:29.692Z] e2be974225ed: Verifying Checksum [2023-02-09T19:23:29.692Z] e2be974225ed: Download complete [2023-02-09T19:23:29.692Z] 988bab9f4d93: Download complete [2023-02-09T19:23:29.953Z] 339a4e72a1f5: Verifying Checksum [2023-02-09T19:23:29.953Z] 339a4e72a1f5: Download complete [2023-02-09T19:23:29.953Z] eaf3925da568: Verifying Checksum [2023-02-09T19:23:29.953Z] eaf3925da568: Download complete [2023-02-09T19:23:29.954Z] 1469e6f7b9e6: Verifying Checksum [2023-02-09T19:23:29.954Z] 1469e6f7b9e6: Download complete [2023-02-09T19:23:29.954Z] bde34c3a00c8: Download complete [2023-02-09T19:23:29.954Z] b85a868b505f: Verifying Checksum [2023-02-09T19:23:29.954Z] b85a868b505f: Download complete [2023-02-09T19:23:29.954Z] 4872d77fe225: Verifying Checksum [2023-02-09T19:23:29.954Z] 4872d77fe225: Download complete [2023-02-09T19:23:29.954Z] b352a97aabf1: Verifying Checksum [2023-02-09T19:23:29.954Z] b352a97aabf1: Download complete [2023-02-09T19:23:29.954Z] 5851b861e8e6: Verifying Checksum [2023-02-09T19:23:29.954Z] 5851b861e8e6: Download complete [2023-02-09T19:23:30.521Z] bab4dde63d76: Verifying Checksum [2023-02-09T19:23:30.521Z] bab4dde63d76: Download complete [2023-02-09T19:23:31.097Z] b85a868b505f: Pull complete [2023-02-09T19:23:31.394Z] e2be974225ed: Pull complete [2023-02-09T19:23:32.417Z] 339a4e72a1f5: Pull complete [2023-02-09T19:23:32.676Z] 988bab9f4d93: Pull complete [2023-02-09T19:23:33.249Z] 1469e6f7b9e6: Pull complete [2023-02-09T19:23:33.249Z] eaf3925da568: Pull complete [2023-02-09T19:23:35.783Z] bab4dde63d76: Pull complete [2023-02-09T19:23:35.783Z] bde34c3a00c8: Pull complete [2023-02-09T19:23:36.044Z] b352a97aabf1: Pull complete [2023-02-09T19:23:36.044Z] 4872d77fe225: Pull complete [2023-02-09T19:23:36.304Z] 5851b861e8e6: Pull complete [2023-02-09T19:23:36.563Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-09T19:23:36.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-09T19:23:36.563Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:23:36.648Z] prd-ubuntu20.04-docker-8c-8g-5244 does not seem to be running inside a container [2023-02-09T19:23:36.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-09T19:23:41.545Z] $ docker top e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 -eo pid,comm [2023-02-09T19:23:41.769Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-09T19:23:41.769Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-09T19:23:41.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-09T19:23:41.797Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-09T19:23:41.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-09T19:23:41.848Z] $ docker exec e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 ssh-agent [2023-02-09T19:23:42.046Z] SSH_AUTH_SOCK=/tmp/ssh-DJiDd5zCANRR/agent.34 [2023-02-09T19:23:42.046Z] SSH_AGENT_PID=40 [2023-02-09T19:23:42.052Z] Running ssh-add (command line suppressed) [2023-02-09T19:23:42.084Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_333530730354191435.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_333530730354191435.key) [2023-02-09T19:23:42.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-09T19:23:42.463Z] + git tag --points-at HEAD [Pipeline] } [2023-02-09T19:23:42.398Z] $ docker exec --env ******** --env ******** e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 ssh-agent -k [2023-02-09T19:23:42.493Z] unset SSH_AUTH_SOCK; [2023-02-09T19:23:42.493Z] unset SSH_AGENT_PID; [2023-02-09T19:23:42.493Z] echo Agent pid 40 killed; [2023-02-09T19:23:42.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-09T19:23:42.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-09T19:23:42.622Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-09T19:23:42.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-09T19:23:42.688Z] $ docker exec e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 ssh-agent [2023-02-09T19:23:42.866Z] SSH_AUTH_SOCK=/tmp/ssh-0sXhaubrq19W/agent.73 [2023-02-09T19:23:42.866Z] SSH_AGENT_PID=79 [2023-02-09T19:23:42.871Z] Running ssh-add (command line suppressed) [2023-02-09T19:23:42.881Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_449341094210822976.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_449341094210822976.key) [2023-02-09T19:23:42.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-09T19:23:43.268Z] + git semver init [2023-02-09T19:23:43.836Z] 2023-02-09 19:23:43,514 [run_init] DEBUG init version:0.0.0 force:False [2023-02-09T19:23:43.836Z] 2023-02-09 19:23:43,515 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-02-09T19:23:43.836Z] 2023-02-09 19:23:43,515 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-02-09T19:23:43.836Z] 2023-02-09 19:23:43,515 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) [2023-02-09T19:23:45.740Z] 2023-02-09 19:23:45,517 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude [2023-02-09T19:23:45.740Z] 2023-02-09 19:23:45,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,518 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,523 [execute] INFO git cat-file --batch-check [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,530 [execute] INFO git cat-file --batch [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-02-09T19:23:45.741Z] 2023-02-09 19:23:45,534 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-02-09T19:23:45.741Z] 0.0.0 [Pipeline] } [2023-02-09T19:23:45.666Z] $ docker exec --env ******** --env ******** e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 ssh-agent -k [2023-02-09T19:23:45.763Z] unset SSH_AUTH_SOCK; [2023-02-09T19:23:45.764Z] unset SSH_AGENT_PID; [2023-02-09T19:23:45.764Z] echo Agent pid 79 killed; [2023-02-09T19:23:45.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-09T19:23:46.164Z] + git semver [Pipeline] } [2023-02-09T19:23:46.349Z] $ docker stop --time=1 e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 [2023-02-09T19:23:47.948Z] $ docker rm -f --volumes e107b55c091449fdf8a92e230572c77bb11baf5b20a950620ebf08707f48e520 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-09T19:23:48.448Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-09T19:23:48.729Z] Stashed 1 file(s) [Pipeline] echo [2023-02-09T19:23:48.733Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-09T19:23:48.828Z] provisioning config files... [2023-02-09T19:23:48.842Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config14382668379366940199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:23:49.143Z] ---> docker-login.sh [2023-02-09T19:23:49.143Z] nexus3.edgexfoundry.org:10001 [2023-02-09T19:23:49.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:49.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:49.143Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:49.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:49.143Z] [2023-02-09T19:23:49.143Z] Login Succeeded [2023-02-09T19:23:49.143Z] nexus3.edgexfoundry.org:10002 [2023-02-09T19:23:49.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:49.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:49.143Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:49.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:49.143Z] [2023-02-09T19:23:49.143Z] Login Succeeded [2023-02-09T19:23:49.143Z] nexus3.edgexfoundry.org:10003 [2023-02-09T19:23:49.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:49.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:49.405Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:49.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:49.405Z] [2023-02-09T19:23:49.405Z] Login Succeeded [2023-02-09T19:23:49.405Z] nexus3.edgexfoundry.org:10004 [2023-02-09T19:23:49.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:49.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:49.405Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:49.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:49.405Z] [2023-02-09T19:23:49.405Z] Login Succeeded [2023-02-09T19:23:49.405Z] docker.io [2023-02-09T19:23:49.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:23:50.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:23:50.606Z] Configure a credential helper to remove this warning. See [2023-02-09T19:23:50.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:23:50.606Z] [2023-02-09T19:23:50.606Z] Login Succeeded [2023-02-09T19:23:50.606Z] ---> docker-login.sh ends [Pipeline] } [2023-02-09T19:23:50.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-09T19:23:50.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-09T19:23:50.695Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-02-09T19:23:50.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-09T19:23:50.708Z] ========================================================= [2023-02-09T19:23:50.708Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-02-09T19:23:50.708Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:23:51.003Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-02-09T19:23:51.004Z] Sending build context to Docker daemon 4.835MB [2023-02-09T19:23:51.004Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-09T19:23:51.004Z] Step 2/21 : FROM ${BASE} as builder [2023-02-09T19:23:51.575Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-02-09T19:23:51.575Z] 213ec9aee27d: Pulling fs layer [2023-02-09T19:23:51.575Z] 0f09ad1b1b37: Pulling fs layer [2023-02-09T19:23:51.836Z] 213ec9aee27d: Verifying Checksum [2023-02-09T19:23:51.836Z] 213ec9aee27d: Download complete [2023-02-09T19:23:51.836Z] 213ec9aee27d: Pull complete [2023-02-09T19:23:52.408Z] 0f09ad1b1b37: Verifying Checksum [2023-02-09T19:23:52.408Z] 0f09ad1b1b37: Download complete [2023-02-09T19:23:55.695Z] 0f09ad1b1b37: Pull complete [2023-02-09T19:23:55.695Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-02-09T19:23:55.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-02-09T19:23:55.695Z] ---> b2bbfebb3566 [2023-02-09T19:23:55.695Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:23:58.234Z] ---> Running in 34032de0dbaa [2023-02-09T19:23:58.234Z] Connecting to iotech.jfrog.io (34.250.30.191:443) [2023-02-09T19:23:59.619Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:23:59.619Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:23:59.619Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:24:00.559Z] Removing intermediate container 34032de0dbaa [2023-02-09T19:24:00.559Z] ---> 1decc679ec90 [2023-02-09T19:24:00.559Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:24:00.821Z] ---> Running in f51b3d037c8b [2023-02-09T19:24:01.763Z] Removing intermediate container f51b3d037c8b [2023-02-09T19:24:01.763Z] ---> b2ac2e1dfb4b [2023-02-09T19:24:01.763Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-02-09T19:24:02.023Z] ---> Running in 0a9bab790e54 [2023-02-09T19:24:02.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-09T19:24:03.796Z] Still waiting to schedule task [2023-02-09T19:24:03.797Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-09T19:24:05.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-09T19:24:09.332Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-09T19:24:09.932Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:24:09.932Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-09T19:24:10.191Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-09T19:24:11.569Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-09T19:24:14.862Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-09T19:24:14.862Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-09T19:24:15.122Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-09T19:24:15.689Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-09T19:24:16.260Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-09T19:24:24.403Z] (9/14) Installing libblkid (2.38-r1) [2023-02-09T19:24:24.974Z] (10/14) Installing libuuid (2.38-r1) [2023-02-09T19:24:25.233Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-09T19:24:26.676Z] (12/14) Installing libmount (2.38-r1) [2023-02-09T19:24:27.620Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-09T19:24:29.535Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-09T19:24:44.535Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:24:44.535Z] OK: 280 MiB in 90 packages [2023-02-09T19:24:45.486Z] Removing intermediate container 0a9bab790e54 [2023-02-09T19:24:45.486Z] ---> 9e09030f50eb [2023-02-09T19:24:45.486Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-09T19:24:45.748Z] ---> Running in 1b8fec819fe7 [2023-02-09T19:24:47.156Z] Removing intermediate container 1b8fec819fe7 [2023-02-09T19:24:47.156Z] ---> 89798d49746e [2023-02-09T19:24:47.156Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-09T19:24:47.417Z] ---> 7293ebfa6457 [2023-02-09T19:24:47.417Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-09T19:24:47.993Z] ---> 10aa09cd5b6d [2023-02-09T19:24:47.993Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-09T19:24:48.254Z] ---> aa4886879fb1 [2023-02-09T19:24:48.254Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-09T19:24:48.519Z] ---> 7d08ea5aa236 [2023-02-09T19:24:48.519Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-09T19:24:48.779Z] ---> b3786251545f [2023-02-09T19:24:48.779Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-09T19:24:49.040Z] ---> b1a02f275915 [2023-02-09T19:24:49.040Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-09T19:24:49.302Z] ---> Running in a82f4084705d [2023-02-09T19:24:49.562Z] + CPPCHECK=false [2023-02-09T19:24:49.562Z] + DOCGEN=false [2023-02-09T19:24:49.562Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-09T19:24:49.562Z] + TOMLVER=SDK-0.2 [2023-02-09T19:24:49.562Z] + CUTILVER=1.4 [2023-02-09T19:24:49.562Z] + '[' 0 -gt 0 ] [2023-02-09T19:24:49.562Z] + readlink -f ./scripts/build.sh [2023-02-09T19:24:49.562Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-09T19:24:49.562Z] + dirname /tmp/sdk/scripts [2023-02-09T19:24:49.562Z] + ROOT=/tmp/sdk [2023-02-09T19:24:49.562Z] + cd /tmp/sdk [2023-02-09T19:24:49.562Z] + '[' '!' -d deps ] [2023-02-09T19:24:49.562Z] + mkdir deps [2023-02-09T19:24:49.562Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-02-09T19:24:49.562Z] + tar -C deps -z -x -f - [2023-02-09T19:24:49.562Z] Connecting to github.com (140.82.114.4:443) [2023-02-09T19:24:53.770Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-02-09T19:24:59.050Z] writing to stdout [2023-02-09T19:24:59.308Z] - 13036 --:--:-- ETA [2023-02-09T19:24:59.308Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-09T19:24:59.308Z] written to stdout [2023-02-09T19:24:59.308Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-09T19:24:59.308Z] + mkdir -p /tmp/sdk/build/release [2023-02-09T19:24:59.308Z] + cd /tmp/sdk/build/release [2023-02-09T19:24:59.308Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-09T19:24:59.566Z] -- The C compiler identification is GNU 11.2.1 [2023-02-09T19:24:59.566Z] -- Detecting C compiler ABI info [2023-02-09T19:24:59.566Z] -- Detecting C compiler ABI info - done [2023-02-09T19:24:59.566Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-09T19:24:59.566Z] -- Detecting C compile features [2023-02-09T19:24:59.566Z] -- Detecting C compile features - done [2023-02-09T19:24:59.566Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-09T19:24:59.566Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-09T19:24:59.566Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-09T19:24:59.566Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-09T19:24:59.566Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-09T19:24:59.566Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-09T19:24:59.566Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-09T19:24:59.566Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-09T19:24:59.566Z] -- /opt/iotech/iot/1.4/include [2023-02-09T19:24:59.566Z] -- C SDK 0.0.0 for Linux [2023-02-09T19:24:59.566Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-09T19:24:59.824Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-09T19:24:59.824Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-09T19:24:59.824Z] -- Configuring done [2023-02-09T19:24:59.824Z] -- Generating done [2023-02-09T19:24:59.824Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-09T19:24:59.824Z] + make all package [2023-02-09T19:24:59.824Z] + tee release.log [2023-02-09T19:24:59.824Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-09T19:25:00.084Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-09T19:25:00.084Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-09T19:25:00.655Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-09T19:25:00.912Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-09T19:25:00.912Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-09T19:25:01.171Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-09T19:25:01.171Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-02-09T19:25:01.430Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-09T19:25:01.688Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-09T19:25:01.948Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-09T19:25:01.948Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-09T19:25:02.207Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-09T19:25:02.207Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-09T19:25:02.465Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-09T19:25:02.465Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-09T19:25:03.042Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-09T19:25:03.300Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-09T19:25:03.300Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-09T19:25:03.559Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-02-09T19:25:03.559Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-09T19:25:04.573Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-09T19:25:04.853Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-09T19:25:04.853Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-09T19:25:04.853Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-02-09T19:25:05.132Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-09T19:25:05.132Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-09T19:25:05.717Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-09T19:25:05.717Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-09T19:25:05.976Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-09T19:25:05.976Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-09T19:25:06.544Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-09T19:25:07.477Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-09T19:25:07.478Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-09T19:25:07.478Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-09T19:25:07.736Z] [ 69%] Linking C shared library libcsdk.so [2023-02-09T19:25:07.736Z] [ 69%] Built target csdk [2023-02-09T19:25:07.736Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-09T19:25:07.994Z] [ 73%] Linking C executable template [2023-02-09T19:25:07.994Z] [ 73%] Built target template [2023-02-09T19:25:07.994Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-09T19:25:07.994Z] [ 76%] Linking C executable device-counter [2023-02-09T19:25:07.994Z] [ 76%] Built target device-counter [2023-02-09T19:25:08.254Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-09T19:25:08.254Z] [ 80%] Linking C executable device-random [2023-02-09T19:25:08.254Z] [ 80%] Built target device-random [2023-02-09T19:25:08.254Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-09T19:25:08.513Z] [ 84%] Linking C executable device-gyro [2023-02-09T19:25:08.514Z] [ 84%] Built target device-gyro [2023-02-09T19:25:08.514Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-09T19:25:08.514Z] [ 88%] Linking C executable device-bitfields [2023-02-09T19:25:08.783Z] [ 88%] Built target device-bitfields [2023-02-09T19:25:08.783Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-09T19:25:08.783Z] [ 92%] Linking C executable template-discovery [2023-02-09T19:25:08.783Z] [ 92%] Built target template-discovery [2023-02-09T19:25:09.041Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-09T19:25:09.041Z] [ 96%] Linking C executable device-file [2023-02-09T19:25:09.041Z] [ 96%] Built target device-file [2023-02-09T19:25:09.041Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-09T19:25:09.303Z] [100%] Linking C executable device-terminal [2023-02-09T19:25:09.303Z] [100%] Built target device-terminal [2023-02-09T19:25:09.303Z] Run CPack packaging tool... [2023-02-09T19:25:09.303Z] CPack: Create package using TGZ [2023-02-09T19:25:09.303Z] CPack: Install projects [2023-02-09T19:25:09.303Z] CPack: - Run preinstall target for: Csdk [2023-02-09T19:25:09.562Z] CPack: - Install project: Csdk [] [2023-02-09T19:25:09.562Z] CPack: Create package [2023-02-09T19:25:09.562Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-09T19:25:09.562Z] + '[' false '=' true ] [2023-02-09T19:25:09.562Z] + '[' false '=' true ] [2023-02-09T19:25:09.562Z] + mkdir -p /tmp/sdk/build/debug [2023-02-09T19:25:09.562Z] + cd /tmp/sdk/build/debug [2023-02-09T19:25:09.562Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-09T19:25:09.821Z] -- The C compiler identification is GNU 11.2.1 [2023-02-09T19:25:09.821Z] -- Detecting C compiler ABI info [2023-02-09T19:25:09.821Z] -- Detecting C compiler ABI info - done [2023-02-09T19:25:09.821Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-09T19:25:09.821Z] -- Detecting C compile features [2023-02-09T19:25:09.821Z] -- Detecting C compile features - done [2023-02-09T19:25:09.821Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-09T19:25:09.821Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-09T19:25:09.821Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-09T19:25:09.821Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-09T19:25:09.821Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-09T19:25:09.821Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-09T19:25:09.821Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-09T19:25:09.821Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-09T19:25:09.821Z] -- /opt/iotech/iot/1.4/include [2023-02-09T19:25:09.821Z] -- C SDK 0.0.0 for Linux [2023-02-09T19:25:09.821Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-09T19:25:10.080Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-09T19:25:10.080Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-09T19:25:10.080Z] -- Configuring done [2023-02-09T19:25:10.080Z] -- Generating done [2023-02-09T19:25:10.080Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-09T19:25:10.080Z] + make [2023-02-09T19:25:10.080Z] + tee debug.log [2023-02-09T19:25:10.080Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-09T19:25:10.338Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-09T19:25:10.338Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-09T19:25:10.338Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-09T19:25:10.597Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-09T19:25:10.597Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-09T19:25:10.597Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-09T19:25:10.856Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-02-09T19:25:10.856Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-09T19:25:10.856Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-09T19:25:11.114Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-09T19:25:11.114Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-09T19:25:11.373Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-09T19:25:11.373Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-09T19:25:11.373Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-09T19:25:11.373Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-09T19:25:11.632Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-09T19:25:11.632Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-09T19:25:11.891Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-09T19:25:11.891Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-02-09T19:25:11.891Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-09T19:25:12.151Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-09T19:25:12.424Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-09T19:25:12.424Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-09T19:25:12.424Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-02-09T19:25:12.424Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-09T19:25:12.683Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-09T19:25:12.944Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-09T19:25:12.944Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-09T19:25:12.944Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-09T19:25:13.219Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-09T19:25:13.219Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-09T19:25:13.480Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-09T19:25:13.480Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-09T19:25:13.480Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-09T19:25:13.740Z] [ 69%] Linking C shared library libcsdk.so [2023-02-09T19:25:13.740Z] [ 69%] Built target csdk [2023-02-09T19:25:13.740Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-09T19:25:14.002Z] [ 73%] Linking C executable template [2023-02-09T19:25:14.002Z] [ 73%] Built target template [2023-02-09T19:25:14.002Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-09T19:25:14.002Z] [ 76%] Linking C executable device-counter [2023-02-09T19:25:14.002Z] [ 76%] Built target device-counter [2023-02-09T19:25:14.002Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-09T19:25:14.263Z] [ 80%] Linking C executable device-random [2023-02-09T19:25:14.263Z] [ 80%] Built target device-random [2023-02-09T19:25:14.263Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-09T19:25:14.263Z] [ 84%] Linking C executable device-gyro [2023-02-09T19:25:14.263Z] [ 84%] Built target device-gyro [2023-02-09T19:25:14.524Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-09T19:25:14.524Z] [ 88%] Linking C executable device-bitfields [2023-02-09T19:25:14.524Z] [ 88%] Built target device-bitfields [2023-02-09T19:25:14.524Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-09T19:25:14.524Z] [ 92%] Linking C executable template-discovery [2023-02-09T19:25:14.784Z] [ 92%] Built target template-discovery [2023-02-09T19:25:14.784Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-09T19:25:14.784Z] [ 96%] Linking C executable device-file [2023-02-09T19:25:14.784Z] [ 96%] Built target device-file [2023-02-09T19:25:14.784Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-09T19:25:15.046Z] [100%] Linking C executable device-terminal [2023-02-09T19:25:15.046Z] [100%] Built target device-terminal [2023-02-09T19:25:15.046Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] [ 69%] Built target csdk [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] [ 73%] Built target template [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] [ 76%] Built target device-counter [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] [ 80%] Built target device-random [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.046Z] [ 84%] Built target device-gyro [2023-02-09T19:25:15.046Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] [ 88%] Built target device-bitfields [2023-02-09T19:25:15.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] [ 92%] Built target template-discovery [2023-02-09T19:25:15.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] [ 96%] Built target device-file [2023-02-09T19:25:15.308Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] [100%] Built target device-terminal [2023-02-09T19:25:15.308Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:15.308Z] Install the project... [2023-02-09T19:25:15.308Z] -- Install configuration: "Release" [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-09T19:25:15.308Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/devsdk [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-09T19:25:15.308Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-09T19:25:15.308Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:25:16.250Z] Removing intermediate container a82f4084705d [2023-02-09T19:25:16.250Z] ---> bd5fc232fcf5 [2023-02-09T19:25:16.250Z] Step 14/21 : FROM ${BASE} [2023-02-09T19:25:16.250Z] ---> b2bbfebb3566 [2023-02-09T19:25:16.250Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-09T19:25:16.250Z] ---> Running in 4eb83dca1240 [2023-02-09T19:25:16.511Z] Removing intermediate container 4eb83dca1240 [2023-02-09T19:25:16.511Z] ---> 113431693777 [2023-02-09T19:25:16.511Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:25:16.511Z] ---> Running in 2563b71332f4 [2023-02-09T19:25:17.086Z] Connecting to iotech.jfrog.io (3.251.51.216:443) [2023-02-09T19:25:25.245Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:25:25.246Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:25:25.246Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:25:25.246Z] Removing intermediate container 2563b71332f4 [2023-02-09T19:25:25.246Z] ---> 0c86df74ca91 [2023-02-09T19:25:25.246Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:25:25.246Z] ---> Running in e22bc64873db [2023-02-09T19:25:26.202Z] Removing intermediate container e22bc64873db [2023-02-09T19:25:26.202Z] ---> 0de340a759b7 [2023-02-09T19:25:26.202Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-02-09T19:25:26.202Z] ---> Running in 2a421aef8807 [2023-02-09T19:25:26.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-09T19:25:48.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-09T19:26:07.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5245 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws [2023-02-09T19:26:07.455Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-02-09T19:26:07.499Z] Selected Git installation does not exist. Using Default [2023-02-09T19:26:07.499Z] The recommended git tool is: NONE [2023-02-09T19:26:12.854Z] using credential edgex-jenkins-ssh [2023-02-09T19:26:12.869Z] Cloning the remote Git repository [2023-02-09T19:26:12.530Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-02-09T19:26:12.609Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-02-09T19:26:12.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-09T19:26:12.766Z] > git --version # timeout=10 [2023-02-09T19:26:12.794Z] > git --version # 'git version 2.25.1' [2023-02-09T19:26:12.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-09T19:26:12.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-09T19:26:27.161Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-09T19:26:29.700Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:26:29.700Z] (1/7) Installing curl (7.83.1-r5) [2023-02-09T19:26:33.894Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-09T19:26:35.799Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-09T19:26:41.068Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-09T19:26:44.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-09T19:26:44.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-09T19:26:45.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-09T19:26:45.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-09T19:26:45.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-09T19:26:45.224Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-09T19:26:55.948Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-09T19:26:55.948Z] (6/7) Installing libuuid (2.38-r1) [2023-02-09T19:26:56.531Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-09T19:27:07.899Z] Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit ef94de01c5fb563b77a895242371fc5d35f5687a [2023-02-09T19:27:08.315Z] Merge succeeded, producing 1f9c425ee13e881123afba9fd27e9e2fdb8473ae [2023-02-09T19:27:08.315Z] Checking out Revision 1f9c425ee13e881123afba9fd27e9e2fdb8473ae (PR-442) [2023-02-09T19:27:08.752Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:27:08.752Z] OK: 275 MiB in 83 packages [2023-02-09T19:27:08.752Z] Removing intermediate container 2a421aef8807 [2023-02-09T19:27:08.752Z] ---> 94fa131b0504 [2023-02-09T19:27:08.752Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-09T19:27:08.752Z] ---> 3b321552f66e [2023-02-09T19:27:08.752Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-09T19:27:08.752Z] ---> 92498c0371bc [2023-02-09T19:27:08.752Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-09T19:27:08.752Z] ---> 542421c60c7a [2023-02-09T19:27:08.752Z] Successfully built 542421c60c7a [2023-02-09T19:27:08.752Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:27:09.131Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-09T19:27:09.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:27:09.201Z] prd-ubuntu20.04-docker-8c-8g-5244 does not seem to be running inside a container [2023-02-09T19:27:08.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-09T19:27:09.363Z] $ docker top f8da9f12250c58d5a781723035b4aa73e4d0974a65b22c050258087a6761a864 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-09T19:27:09.947Z] + make test [2023-02-09T19:27:09.947Z] echo "make test" [2023-02-09T19:27:09.947Z] make test [Pipeline] } [2023-02-09T19:27:09.722Z] $ docker stop --time=1 f8da9f12250c58d5a781723035b4aa73e4d0974a65b22c050258087a6761a864 [2023-02-09T19:27:07.146Z] > git config core.sparsecheckout # timeout=10 [2023-02-09T19:27:07.180Z] > git checkout -f ef94de01c5fb563b77a895242371fc5d35f5687a # timeout=10 [2023-02-09T19:27:07.310Z] > git remote # timeout=10 [2023-02-09T19:27:07.327Z] > git config --get remote.origin.url # timeout=10 [2023-02-09T19:27:07.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-09T19:27:07.357Z] > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 [2023-02-09T19:27:07.518Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-09T19:27:07.546Z] > git config core.sparsecheckout # timeout=10 [2023-02-09T19:27:07.560Z] > git checkout -f 1f9c425ee13e881123afba9fd27e9e2fdb8473ae # timeout=10 [2023-02-09T19:27:11.248Z] $ docker rm -f --volumes f8da9f12250c58d5a781723035b4aa73e4d0974a65b22c050258087a6761a864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2023-02-09T19:27:11.855Z] Commit message: "Merge commit '60c720530b7232d7be6f88f4d69bf42c6efbb654' into HEAD" [Pipeline] sh [2023-02-09T19:27:11.878Z] First time build. Skipping changelog. [2023-02-09T19:27:12.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-09T19:27:12.419Z] + ls -al . [2023-02-09T19:27:12.419Z] total 204 [2023-02-09T19:27:12.419Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 9 19:23 . [2023-02-09T19:27:12.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:23 .. [2023-02-09T19:27:12.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 19:23 .git [2023-02-09T19:27:12.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:23 .github [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 9 19:23 .gitignore [2023-02-09T19:27:12.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 9 19:23 .semver [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 9 19:23 Attribution.txt [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 9 19:23 CHANGES [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 9 19:23 Doxyfile [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 9 19:23 GOVERNANCE.md [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 9 19:23 Jenkinsfile [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 9 19:23 LICENSE [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 9 19:23 Makefile [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 9 19:23 OWNERS.md [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 9 19:23 README.md [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 9 19:23 README.v3.md [2023-02-09T19:27:12.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 9 19:23 VERSION [2023-02-09T19:27:12.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:23 docs [2023-02-09T19:27:12.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:23 include [2023-02-09T19:27:12.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:23 scripts [2023-02-09T19:27:12.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:27:12.744Z] + 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=ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 --label arch=amd64 --label version=0.0.0 . [2023-02-09T19:27:12.744Z] Sending build context to Docker daemon 4.835MB [2023-02-09T19:27:12.744Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-09T19:27:12.744Z] Step 2/17 : FROM ${BASE} [2023-02-09T19:27:12.744Z] ---> 542421c60c7a [2023-02-09T19:27:12.744Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-09T19:27:13.002Z] ---> Running in a9da4ee88035 [2023-02-09T19:27:13.002Z] Removing intermediate container a9da4ee88035 [2023-02-09T19:27:13.002Z] ---> 8cfea7b552f1 [2023-02-09T19:27:13.002Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:27:13.002Z] ---> Running in 816dff14ddbf [2023-02-09T19:27:13.568Z] Connecting to iotech.jfrog.io (52.17.124.35:443) [2023-02-09T19:27:11.078Z] > git rev-list --no-walk 077ccc421da0bdc73dd1358f7000c32d9a1382b3 # timeout=10 [2023-02-09T19:27:21.688Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:27:21.688Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:27:21.688Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:27:21.688Z] Removing intermediate container 816dff14ddbf [2023-02-09T19:27:21.688Z] ---> da9e5ce2779f [2023-02-09T19:27:21.688Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:27:21.688Z] ---> Running in b3a7474e9583 [2023-02-09T19:27:21.947Z] Removing intermediate container b3a7474e9583 [2023-02-09T19:27:21.947Z] ---> 0f78cc64da73 [2023-02-09T19:27:21.947Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-09T19:27:21.947Z] ---> Running in b1f3ad1453de [2023-02-09T19:27:22.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-09T19:27:24.318Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-09T19:27:24.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-09T19:27:24.318Z] Dload Upload Total Spent Left Speed [2023-02-09T19:27:31.219Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 61 12751 61 7782 0 0 1563 0 0:00:08 0:00:04 0:00:04 1563 72 12751 72 9166 0 0 1668 0 0:00:07 0:00:05 0:00:02 1733 72 12751 72 9166 0 0 1410 0 0:00:09 0:00:06 0:00:03 1734 100 12751 100 12751 0 0 1852 0 0:00:06 0:00:06 --:--:-- 2752 [Pipeline] sh [2023-02-09T19:27:31.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-09T19:27:32.245Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-02-09T19:27:32.245Z] sudo tee /etc/docker/daemon.new [2023-02-09T19:27:32.245Z] { [2023-02-09T19:27:32.245Z] "registry-mirrors": [ [2023-02-09T19:27:32.245Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-09T19:27:32.245Z] ], [2023-02-09T19:27:32.245Z] "bip": "10.250.0.254/24", [2023-02-09T19:27:32.245Z] "hosts": [ [2023-02-09T19:27:32.245Z] "tcp://0.0.0.0:5555", [2023-02-09T19:27:32.245Z] "unix:///var/run/docker.sock" [2023-02-09T19:27:32.245Z] ], [2023-02-09T19:27:32.245Z] "mtu": 1458, [2023-02-09T19:27:32.245Z] "selinux-enabled": true, [2023-02-09T19:27:32.245Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-09T19:27:32.245Z] } [Pipeline] sh [2023-02-09T19:27:32.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-09T19:27:32.889Z] + sudo service docker restart [2023-02-09T19:27:40.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-09T19:27:51.128Z] provisioning config files... [2023-02-09T19:27:51.152Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config598686341313735364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:27:51.499Z] ---> docker-login.sh [2023-02-09T19:27:51.499Z] nexus3.edgexfoundry.org:10001 [2023-02-09T19:27:51.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:27:52.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:27:52.038Z] Configure a credential helper to remove this warning. See [2023-02-09T19:27:52.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:27:52.038Z] [2023-02-09T19:27:52.038Z] Login Succeeded [2023-02-09T19:27:52.038Z] nexus3.edgexfoundry.org:10002 [2023-02-09T19:27:52.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:27:52.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:27:52.307Z] Configure a credential helper to remove this warning. See [2023-02-09T19:27:52.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:27:52.307Z] [2023-02-09T19:27:52.307Z] Login Succeeded [2023-02-09T19:27:52.307Z] nexus3.edgexfoundry.org:10003 [2023-02-09T19:27:52.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:27:52.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:27:52.841Z] Configure a credential helper to remove this warning. See [2023-02-09T19:27:52.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:27:52.841Z] [2023-02-09T19:27:52.841Z] Login Succeeded [2023-02-09T19:27:52.841Z] nexus3.edgexfoundry.org:10004 [2023-02-09T19:27:53.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:27:53.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:27:53.110Z] Configure a credential helper to remove this warning. See [2023-02-09T19:27:53.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:27:53.110Z] [2023-02-09T19:27:53.110Z] Login Succeeded [2023-02-09T19:27:53.110Z] docker.io [2023-02-09T19:27:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-09T19:28:08.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-09T19:28:08.356Z] Configure a credential helper to remove this warning. See [2023-02-09T19:28:08.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-09T19:28:08.356Z] [2023-02-09T19:28:08.356Z] Login Succeeded [2023-02-09T19:28:08.356Z] ---> docker-login.sh ends [Pipeline] } [2023-02-09T19:28:08.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-09T19:28:08.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-09T19:28:08.598Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-02-09T19:28:08.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-09T19:28:08.621Z] ========================================================= [2023-02-09T19:28:08.621Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-02-09T19:28:08.621Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:28:08.946Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-02-09T19:28:09.212Z] Sending build context to Docker daemon 2.964MB [2023-02-09T19:28:09.212Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-09T19:28:09.212Z] Step 2/21 : FROM ${BASE} as builder [2023-02-09T19:28:09.479Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-02-09T19:28:09.479Z] 9b18e9b68314: Pulling fs layer [2023-02-09T19:28:09.479Z] 1def92ead452: Pulling fs layer [2023-02-09T19:28:09.479Z] 9b18e9b68314: Verifying Checksum [2023-02-09T19:28:09.479Z] 9b18e9b68314: Download complete [2023-02-09T19:28:10.065Z] 9b18e9b68314: Pull complete [2023-02-09T19:28:11.485Z] 1def92ead452: Verifying Checksum [2023-02-09T19:28:11.485Z] 1def92ead452: Download complete [2023-02-09T19:28:19.699Z] 1def92ead452: Pull complete [2023-02-09T19:28:19.699Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-02-09T19:28:19.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-02-09T19:28:19.699Z] ---> 9a9802766715 [2023-02-09T19:28:19.699Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:28:19.699Z] ---> Running in 66059da43c90 [2023-02-09T19:28:20.667Z] Connecting to iotech.jfrog.io (34.240.65.14:443) [2023-02-09T19:28:26.967Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-09T19:28:29.504Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:28:29.504Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-09T19:28:30.726Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:28:30.726Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:28:30.726Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:28:31.324Z] Removing intermediate container 66059da43c90 [2023-02-09T19:28:31.324Z] ---> 21079accae7a [2023-02-09T19:28:31.324Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:28:31.324Z] ---> Running in 2c699eaf8d95 [2023-02-09T19:28:32.738Z] Removing intermediate container 2c699eaf8d95 [2023-02-09T19:28:32.738Z] ---> b9c172c4f61e [2023-02-09T19:28:32.738Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev [2023-02-09T19:28:32.796Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-09T19:28:33.010Z] ---> Running in ff7338e15545 [2023-02-09T19:28:33.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:28:34.208Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-09T19:28:38.407Z] (4/8) Installing libblkid (2.38-r1) [2023-02-09T19:28:43.681Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-09T19:28:48.952Z] (6/8) Installing libmount (2.38-r1) [2023-02-09T19:28:53.155Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-09T19:28:56.445Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-09T19:29:00.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-09T19:29:14.559Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:29:14.559Z] OK: 280 MiB in 91 packages [2023-02-09T19:29:14.559Z] Removing intermediate container b1f3ad1453de [2023-02-09T19:29:14.559Z] ---> 8fe70a3975e5 [2023-02-09T19:29:14.559Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-09T19:29:14.559Z] ---> effdcff3e789 [2023-02-09T19:29:14.559Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-09T19:29:14.818Z] ---> 4710ae0e88cc [2023-02-09T19:29:14.818Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-09T19:29:14.818Z] ---> 7d56952a6578 [2023-02-09T19:29:14.818Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-09T19:29:15.087Z] ---> b9646dec2658 [2023-02-09T19:29:15.087Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-09T19:29:15.087Z] ---> 6bddff3cc7b4 [2023-02-09T19:29:15.087Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-09T19:29:15.087Z] ---> 57b9d45d6761 [2023-02-09T19:29:15.087Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-09T19:29:15.347Z] ---> Running in e39e116d0af0 [2023-02-09T19:29:15.347Z] Removing intermediate container e39e116d0af0 [2023-02-09T19:29:15.347Z] ---> fccaf1dd6d07 [2023-02-09T19:29:15.347Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-09T19:29:15.347Z] ---> Running in cff1e8da2dc3 [2023-02-09T19:29:15.347Z] Removing intermediate container cff1e8da2dc3 [2023-02-09T19:29:15.347Z] ---> cd41fe2d8c7e [2023-02-09T19:29:15.347Z] Step 15/17 : LABEL arch=amd64 [2023-02-09T19:29:15.347Z] ---> Running in 70f9a09aadf9 [2023-02-09T19:29:15.606Z] Removing intermediate container 70f9a09aadf9 [2023-02-09T19:29:15.606Z] ---> 2ab856da997b [2023-02-09T19:29:15.606Z] Step 16/17 : LABEL git_sha=ec288bb0a8d21682eb42d2c13a873fc2ceac36f0 [2023-02-09T19:29:15.606Z] ---> Running in 2a4dedddbb32 [2023-02-09T19:29:15.606Z] Removing intermediate container 2a4dedddbb32 [2023-02-09T19:29:15.606Z] ---> ca8d46154e35 [2023-02-09T19:29:15.606Z] Step 17/17 : LABEL version=0.0.0 [2023-02-09T19:29:15.606Z] ---> Running in f6a54cbade9e [2023-02-09T19:29:15.606Z] Removing intermediate container f6a54cbade9e [2023-02-09T19:29:15.606Z] ---> c7a79ec0a1bc [2023-02-09T19:29:15.606Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-02-09T19:29:15.606Z] Successfully built c7a79ec0a1bc [2023-02-09T19:29:15.606Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:29:16.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-09T19:29:16.340Z] [2023-02-09T19:29:16.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:29:16.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-09T19:29:16.902Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-09T19:29:16.902Z] 5eb5b503b376: Pulling fs layer [2023-02-09T19:29:16.902Z] 5c69ac0246d0: Pulling fs layer [2023-02-09T19:29:16.902Z] ec43610c2a17: Pulling fs layer [2023-02-09T19:29:16.902Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-09T19:29:16.902Z] 33b1e0a273af: Pulling fs layer [2023-02-09T19:29:16.902Z] 5d3b04190fa2: Pulling fs layer [2023-02-09T19:29:16.902Z] 2f39f015ded8: Pulling fs layer [2023-02-09T19:29:16.902Z] 5d3b04190fa2: Waiting [2023-02-09T19:29:16.902Z] 33b1e0a273af: Waiting [2023-02-09T19:29:16.902Z] 2f39f015ded8: Waiting [2023-02-09T19:29:16.902Z] 3a2ae6a8a46f: Waiting [2023-02-09T19:29:16.902Z] 5c69ac0246d0: Download complete [2023-02-09T19:29:16.902Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-09T19:29:16.902Z] 3a2ae6a8a46f: Download complete [2023-02-09T19:29:17.165Z] 33b1e0a273af: Download complete [2023-02-09T19:29:17.165Z] 5d3b04190fa2: Verifying Checksum [2023-02-09T19:29:17.165Z] 5d3b04190fa2: Download complete [2023-02-09T19:29:17.165Z] ec43610c2a17: Verifying Checksum [2023-02-09T19:29:17.165Z] ec43610c2a17: Download complete [2023-02-09T19:29:17.427Z] 5eb5b503b376: Verifying Checksum [2023-02-09T19:29:17.427Z] 5eb5b503b376: Download complete [2023-02-09T19:29:18.365Z] 2f39f015ded8: Download complete [2023-02-09T19:29:18.625Z] 5eb5b503b376: Pull complete [2023-02-09T19:29:18.884Z] 5c69ac0246d0: Pull complete [2023-02-09T19:29:19.465Z] ec43610c2a17: Pull complete [2023-02-09T19:29:19.465Z] 3a2ae6a8a46f: Pull complete [2023-02-09T19:29:19.745Z] 33b1e0a273af: Pull complete [2023-02-09T19:29:19.745Z] 5d3b04190fa2: Pull complete [2023-02-09T19:29:25.039Z] 2f39f015ded8: Pull complete [2023-02-09T19:29:25.039Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-09T19:29:25.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-09T19:29:25.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:29:25.129Z] prd-ubuntu20.04-docker-8c-8g-5244 does not seem to be running inside a container [2023-02-09T19:29:24.758Z] $ 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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-09T19:29:29.938Z] $ docker top cbb12fd99847a59538ec2bbe6d30c5b3b026277da97a6ac0f8ada63d0c63f05b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:29:30.753Z] ---> job-cost.sh [2023-02-09T19:29:30.754Z] lf-activate-venv: SKIPPING [2023-02-09T19:29:30.754Z] INFO: No Stack... [2023-02-09T19:29:32.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-09T19:29:32.387Z] INFO: Archiving Costs [Pipeline] sh [2023-02-09T19:29:32.678Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv [2023-02-09T19:29:32.678Z] + cut -d, -f6 [Pipeline] lock [2023-02-09T19:29:32.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [2023-02-09T19:29:32.701Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] did not exist. Created. [2023-02-09T19:29:32.701Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-09T19:29:33.002Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-09T19:29:33.043Z] Stashed 1 file(s) [Pipeline] } [2023-02-09T19:29:33.050Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-09T19:29:32.662Z] $ docker stop --time=1 cbb12fd99847a59538ec2bbe6d30c5b3b026277da97a6ac0f8ada63d0c63f05b [2023-02-09T19:29:33.849Z] $ docker rm -f --volumes cbb12fd99847a59538ec2bbe6d30c5b3b026277da97a6ac0f8ada63d0c63f05b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-09T19:29:47.463Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:30:02.435Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:30:02.435Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-09T19:30:04.383Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-09T19:30:09.714Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-09T19:30:56.547Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-09T19:30:56.547Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-09T19:30:57.504Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-09T19:31:00.087Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-09T19:31:03.432Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-09T19:31:42.278Z] (9/14) Installing libblkid (2.38-r1) [2023-02-09T19:31:47.616Z] (10/14) Installing libuuid (2.38-r1) [2023-02-09T19:31:49.553Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-09T19:32:01.850Z] (12/14) Installing libmount (2.38-r1) [2023-02-09T19:32:07.186Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-09T19:32:11.425Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-09T19:32:58.245Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:32:58.245Z] OK: 286 MiB in 90 packages [2023-02-09T19:32:58.245Z] Removing intermediate container ff7338e15545 [2023-02-09T19:32:58.245Z] ---> 01543a3787b1 [2023-02-09T19:32:58.245Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-09T19:32:58.245Z] ---> Running in d45848a08547 [2023-02-09T19:32:58.245Z] Removing intermediate container d45848a08547 [2023-02-09T19:32:58.245Z] ---> 09eba91f0f01 [2023-02-09T19:32:58.245Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-09T19:32:58.245Z] ---> ca7142da74f0 [2023-02-09T19:32:58.245Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-09T19:32:58.245Z] ---> 0e6fda448868 [2023-02-09T19:32:58.245Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-09T19:32:58.828Z] ---> 1d66652e7932 [2023-02-09T19:32:58.828Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-09T19:32:59.415Z] ---> a6fa93ec443f [2023-02-09T19:32:59.415Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-09T19:33:00.005Z] ---> 70afe66c7c3d [2023-02-09T19:33:00.005Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-09T19:33:00.604Z] ---> b94ea6de02fb [2023-02-09T19:33:00.604Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-09T19:33:00.877Z] ---> Running in 44b8b9f1e84c [2023-02-09T19:33:02.301Z] + CPPCHECK=false [2023-02-09T19:33:02.301Z] + DOCGEN=false [2023-02-09T19:33:02.301Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-09T19:33:02.301Z] + TOMLVER=SDK-0.2 [2023-02-09T19:33:02.301Z] + CUTILVER=1.4 [2023-02-09T19:33:02.301Z] + '[' 0 -gt 0 ] [2023-02-09T19:33:02.301Z] + readlink -f ./scripts/build.sh [2023-02-09T19:33:02.301Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-09T19:33:02.301Z] + dirname /tmp/sdk/scripts [2023-02-09T19:33:02.301Z] + ROOT=/tmp/sdk [2023-02-09T19:33:02.301Z] + cd /tmp/sdk [2023-02-09T19:33:02.301Z] + '[' '!' -d deps ] [2023-02-09T19:33:02.301Z] + mkdir deps [2023-02-09T19:33:02.301Z] + tar -C deps -z -x -f - [2023-02-09T19:33:02.301Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-02-09T19:33:02.301Z] Connecting to github.com (140.82.114.3:443) [2023-02-09T19:33:07.652Z] Connecting to codeload.github.com (140.82.113.9:443) [2023-02-09T19:33:15.871Z] writing to stdout [2023-02-09T19:33:16.137Z] - 4816 --:--:-- ETA [2023-02-09T19:33:16.719Z] - 4816 --:--:-- ETA [2023-02-09T19:33:16.719Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-09T19:33:16.719Z] written to stdout [2023-02-09T19:33:16.719Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-09T19:33:16.719Z] + mkdir -p /tmp/sdk/build/release [2023-02-09T19:33:16.719Z] + cd /tmp/sdk/build/release [2023-02-09T19:33:16.719Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-09T19:33:17.380Z] -- The C compiler identification is GNU 11.2.1 [2023-02-09T19:33:17.380Z] -- Detecting C compiler ABI info [2023-02-09T19:33:17.663Z] -- Detecting C compiler ABI info - done [2023-02-09T19:33:17.663Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-09T19:33:17.663Z] -- Detecting C compile features [2023-02-09T19:33:17.663Z] -- Detecting C compile features - done [2023-02-09T19:33:17.663Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-09T19:33:17.949Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-09T19:33:17.949Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-09T19:33:17.949Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-09T19:33:17.949Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-09T19:33:17.949Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-09T19:33:17.949Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-09T19:33:17.949Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-09T19:33:17.949Z] -- /opt/iotech/iot/1.4/include [2023-02-09T19:33:17.949Z] -- C SDK 0.0.0 for Linux [2023-02-09T19:33:17.949Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-09T19:33:18.537Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-09T19:33:18.537Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-09T19:33:18.812Z] -- Configuring done [2023-02-09T19:33:19.084Z] -- Generating done [2023-02-09T19:33:19.084Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-09T19:33:19.084Z] + tee release.log [2023-02-09T19:33:19.084Z] + make all package [2023-02-09T19:33:19.084Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-09T19:33:20.059Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-09T19:33:21.027Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-09T19:33:24.367Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-09T19:33:25.328Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-09T19:33:25.328Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-09T19:33:26.734Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-09T19:33:28.139Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-02-09T19:33:28.406Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-09T19:33:30.346Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-09T19:33:31.755Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-09T19:33:32.718Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-09T19:33:33.677Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-09T19:33:34.640Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-09T19:33:34.908Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-09T19:33:35.490Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-09T19:33:39.739Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-09T19:33:39.739Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-09T19:33:40.322Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-09T19:33:42.264Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-02-09T19:33:42.264Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-09T19:33:48.904Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-09T19:33:48.904Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-09T19:33:49.486Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-09T19:33:50.074Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-02-09T19:33:50.655Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-09T19:33:52.059Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-09T19:33:55.397Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-09T19:33:55.397Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-09T19:33:56.803Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-09T19:33:57.386Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-09T19:34:00.720Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-09T19:34:06.051Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-09T19:34:06.318Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-09T19:34:06.585Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-09T19:34:07.545Z] [ 69%] Linking C shared library libcsdk.so [2023-02-09T19:34:07.546Z] [ 69%] Built target csdk [2023-02-09T19:34:07.546Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-09T19:34:08.952Z] [ 73%] Linking C executable template [2023-02-09T19:34:08.952Z] [ 73%] Built target template [2023-02-09T19:34:08.952Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-09T19:34:09.910Z] [ 76%] Linking C executable device-counter [2023-02-09T19:34:10.176Z] [ 76%] Built target device-counter [2023-02-09T19:34:10.176Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-09T19:34:10.758Z] [ 80%] Linking C executable device-random [2023-02-09T19:34:11.024Z] [ 80%] Built target device-random [2023-02-09T19:34:11.024Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-09T19:34:11.606Z] [ 84%] Linking C executable device-gyro [2023-02-09T19:34:11.872Z] [ 84%] Built target device-gyro [2023-02-09T19:34:11.872Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-09T19:34:12.831Z] [ 88%] Linking C executable device-bitfields [2023-02-09T19:34:12.831Z] [ 88%] Built target device-bitfields [2023-02-09T19:34:13.098Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-09T19:34:14.055Z] [ 92%] Linking C executable template-discovery [2023-02-09T19:34:14.322Z] [ 92%] Built target template-discovery [2023-02-09T19:34:14.322Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-09T19:34:15.280Z] [ 96%] Linking C executable device-file [2023-02-09T19:34:15.546Z] [ 96%] Built target device-file [2023-02-09T19:34:15.546Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-09T19:34:16.506Z] [100%] Linking C executable device-terminal [2023-02-09T19:34:16.772Z] [100%] Built target device-terminal [2023-02-09T19:34:16.772Z] Run CPack packaging tool... [2023-02-09T19:34:16.772Z] CPack: Create package using TGZ [2023-02-09T19:34:16.772Z] CPack: Install projects [2023-02-09T19:34:16.772Z] CPack: - Run preinstall target for: Csdk [2023-02-09T19:34:17.730Z] CPack: - Install project: Csdk [] [2023-02-09T19:34:17.730Z] CPack: Create package [2023-02-09T19:34:17.730Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-09T19:34:17.730Z] + '[' false '=' true ] [2023-02-09T19:34:17.730Z] + '[' false '=' true ] [2023-02-09T19:34:17.730Z] + mkdir -p /tmp/sdk/build/debug [2023-02-09T19:34:17.730Z] + cd /tmp/sdk/build/debug [2023-02-09T19:34:17.730Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-09T19:34:17.998Z] -- The C compiler identification is GNU 11.2.1 [2023-02-09T19:34:17.998Z] -- Detecting C compiler ABI info [2023-02-09T19:34:18.264Z] -- Detecting C compiler ABI info - done [2023-02-09T19:34:18.530Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-09T19:34:18.530Z] -- Detecting C compile features [2023-02-09T19:34:18.530Z] -- Detecting C compile features - done [2023-02-09T19:34:18.530Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-09T19:34:18.530Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-09T19:34:18.530Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-09T19:34:18.798Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-09T19:34:18.798Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-09T19:34:18.798Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-09T19:34:18.798Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-09T19:34:18.798Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-09T19:34:18.798Z] -- /opt/iotech/iot/1.4/include [2023-02-09T19:34:18.798Z] -- C SDK 0.0.0 for Linux [2023-02-09T19:34:18.798Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-09T19:34:19.066Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-09T19:34:19.331Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-09T19:34:19.331Z] -- Configuring done [2023-02-09T19:34:19.598Z] -- Generating done [2023-02-09T19:34:19.599Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-09T19:34:19.599Z] + make [2023-02-09T19:34:19.599Z] + tee debug.log [2023-02-09T19:34:19.865Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-09T19:34:20.132Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-09T19:34:20.713Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-09T19:34:21.670Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-09T19:34:22.253Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-09T19:34:22.253Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-09T19:34:22.834Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-09T19:34:23.415Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-02-09T19:34:23.694Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-09T19:34:24.647Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-09T19:34:24.913Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-09T19:34:25.496Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-09T19:34:26.077Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-09T19:34:26.345Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-09T19:34:26.929Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-09T19:34:26.929Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-09T19:34:28.334Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-09T19:34:28.334Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-09T19:34:28.600Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-09T19:34:29.557Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-02-09T19:34:29.823Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-09T19:34:31.227Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-09T19:34:31.494Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-09T19:34:31.760Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-09T19:34:32.026Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-02-09T19:34:32.610Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-09T19:34:33.190Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-09T19:34:35.130Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-09T19:34:35.396Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-09T19:34:35.978Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-09T19:34:36.244Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-09T19:34:37.200Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-09T19:34:38.156Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-09T19:34:38.423Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-09T19:34:39.004Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-09T19:34:39.271Z] [ 69%] Linking C shared library libcsdk.so [2023-02-09T19:34:39.538Z] [ 69%] Built target csdk [2023-02-09T19:34:39.538Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-09T19:34:40.119Z] [ 73%] Linking C executable template [2023-02-09T19:34:40.385Z] [ 73%] Built target template [2023-02-09T19:34:40.385Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-09T19:34:40.651Z] [ 76%] Linking C executable device-counter [2023-02-09T19:34:40.918Z] [ 76%] Built target device-counter [2023-02-09T19:34:41.185Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-09T19:34:41.452Z] [ 80%] Linking C executable device-random [2023-02-09T19:34:41.719Z] [ 80%] Built target device-random [2023-02-09T19:34:41.719Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-09T19:34:42.301Z] [ 84%] Linking C executable device-gyro [2023-02-09T19:34:42.566Z] [ 84%] Built target device-gyro [2023-02-09T19:34:42.566Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-09T19:34:42.831Z] [ 88%] Linking C executable device-bitfields [2023-02-09T19:34:43.097Z] [ 88%] Built target device-bitfields [2023-02-09T19:34:43.097Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-09T19:34:43.681Z] [ 92%] Linking C executable template-discovery [2023-02-09T19:34:43.947Z] [ 92%] Built target template-discovery [2023-02-09T19:34:43.947Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-09T19:34:44.215Z] [ 96%] Linking C executable device-file [2023-02-09T19:34:44.798Z] [ 96%] Built target device-file [2023-02-09T19:34:44.798Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-09T19:34:45.065Z] [100%] Linking C executable device-terminal [2023-02-09T19:34:45.647Z] [100%] Built target device-terminal [2023-02-09T19:34:45.647Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] [ 69%] Built target csdk [2023-02-09T19:34:45.647Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] [ 73%] Built target template [2023-02-09T19:34:45.647Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.647Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] [ 76%] Built target device-counter [2023-02-09T19:34:45.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] [ 80%] Built target device-random [2023-02-09T19:34:45.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] [ 84%] Built target device-gyro [2023-02-09T19:34:45.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] [ 88%] Built target device-bitfields [2023-02-09T19:34:45.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] [ 92%] Built target template-discovery [2023-02-09T19:34:45.914Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:45.914Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:46.180Z] [ 96%] Built target device-file [2023-02-09T19:34:46.180Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-09T19:34:46.180Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:46.180Z] [100%] Built target device-terminal [2023-02-09T19:34:46.180Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:46.180Z] Install the project... [2023-02-09T19:34:46.180Z] -- Install configuration: "Release" [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-09T19:34:46.180Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/devsdk [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-09T19:34:46.180Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-09T19:34:46.180Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-09T19:34:47.590Z] Removing intermediate container 44b8b9f1e84c [2023-02-09T19:34:47.590Z] ---> 57be9f135be7 [2023-02-09T19:34:47.590Z] Step 14/21 : FROM ${BASE} [2023-02-09T19:34:47.590Z] ---> 9a9802766715 [2023-02-09T19:34:47.590Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-09T19:34:47.858Z] ---> Running in 8e379ace93b0 [2023-02-09T19:34:48.125Z] Removing intermediate container 8e379ace93b0 [2023-02-09T19:34:48.125Z] ---> 24eefe3f5b85 [2023-02-09T19:34:48.125Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:34:48.125Z] ---> Running in d66d2e2434b3 [2023-02-09T19:34:49.087Z] Connecting to iotech.jfrog.io (34.240.65.14:443) [2023-02-09T19:34:59.140Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:34:59.140Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:34:59.140Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:34:59.140Z] Removing intermediate container d66d2e2434b3 [2023-02-09T19:34:59.140Z] ---> 8323ccd1b87b [2023-02-09T19:34:59.140Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:34:59.140Z] ---> Running in 352efe4b1c46 [2023-02-09T19:35:01.716Z] Removing intermediate container 352efe4b1c46 [2023-02-09T19:35:01.716Z] ---> ec36872da92c [2023-02-09T19:35:01.716Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-02-09T19:35:01.716Z] ---> Running in 0b5a5d4e258a [2023-02-09T19:35:02.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:35:29.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-09T19:36:25.769Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:36:25.769Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:36:25.769Z] (1/7) Installing curl (7.83.1-r5) [2023-02-09T19:36:29.097Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-09T19:36:31.668Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-09T19:36:37.064Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-09T19:36:42.390Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-09T19:36:42.655Z] (6/7) Installing libuuid (2.38-r1) [2023-02-09T19:36:43.233Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-09T19:36:48.558Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:36:48.558Z] OK: 281 MiB in 83 packages [2023-02-09T19:36:48.827Z] Removing intermediate container 0b5a5d4e258a [2023-02-09T19:36:48.827Z] ---> a95743bac7f1 [2023-02-09T19:36:48.827Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-09T19:36:49.095Z] ---> 4e271d45ad8c [2023-02-09T19:36:49.095Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-09T19:36:49.677Z] ---> 5fc8d24b1445 [2023-02-09T19:36:49.677Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-09T19:36:50.256Z] ---> 7f43004431aa [2023-02-09T19:36:50.256Z] Successfully built 7f43004431aa [2023-02-09T19:36:50.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:36:50.638Z] + docker inspect -f . ci-base-image-arm64 [2023-02-09T19:36:50.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:36:50.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-5245 does not seem to be running inside a container [2023-02-09T19:36:50.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-02-09T19:36:51.759Z] $ docker top 13e83b07601606df0500da31c1cd526a5b3aaaa72a857b493f536102f33dd5e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-09T19:36:52.828Z] + make test [2023-02-09T19:36:52.828Z] echo "make test" [2023-02-09T19:36:52.828Z] make test [Pipeline] } [2023-02-09T19:36:52.586Z] $ docker stop --time=1 13e83b07601606df0500da31c1cd526a5b3aaaa72a857b493f536102f33dd5e4 [2023-02-09T19:36:54.223Z] $ docker rm -f --volumes 13e83b07601606df0500da31c1cd526a5b3aaaa72a857b493f536102f33dd5e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-09T19:36:54.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-09T19:36:55.302Z] + ls -al . [2023-02-09T19:36:55.302Z] total 200 [2023-02-09T19:36:55.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 19:27 . [2023-02-09T19:36:55.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:26 .. [2023-02-09T19:36:55.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 9 19:27 .git [2023-02-09T19:36:55.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:27 .github [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 9 19:27 .gitignore [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 9 19:27 Attribution.txt [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 9 19:27 CHANGES [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 9 19:27 Doxyfile [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 9 19:27 GOVERNANCE.md [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 9 19:27 Jenkinsfile [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 9 19:27 LICENSE [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 9 19:27 Makefile [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 9 19:27 OWNERS.md [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 9 19:27 README.md [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 9 19:27 README.v3.md [2023-02-09T19:36:55.302Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 9 19:23 VERSION [2023-02-09T19:36:55.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:27 docs [2023-02-09T19:36:55.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:27 include [2023-02-09T19:36:55.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 9 19:27 scripts [2023-02-09T19:36:55.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 9 19:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:36:55.629Z] + 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=1f9c425ee13e881123afba9fd27e9e2fdb8473ae --label arch=arm64 --label version=0.0.0 . [2023-02-09T19:36:55.897Z] Sending build context to Docker daemon 2.964MB [2023-02-09T19:36:55.897Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-09T19:36:55.897Z] Step 2/17 : FROM ${BASE} [2023-02-09T19:36:55.897Z] ---> 7f43004431aa [2023-02-09T19:36:55.897Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-09T19:36:56.163Z] ---> Running in f855e0fd59fe [2023-02-09T19:36:56.428Z] Removing intermediate container f855e0fd59fe [2023-02-09T19:36:56.428Z] ---> cffe4c0ada9d [2023-02-09T19:36:56.428Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-02-09T19:36:56.428Z] ---> Running in f21b7896e781 [2023-02-09T19:36:57.384Z] Connecting to iotech.jfrog.io (52.17.124.35:443) [2023-02-09T19:36:59.953Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-09T19:36:59.953Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-09T19:36:59.953Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-09T19:37:00.535Z] Removing intermediate container f21b7896e781 [2023-02-09T19:37:00.535Z] ---> c3c42782d213 [2023-02-09T19:37:00.535Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-09T19:37:00.535Z] ---> Running in 9fc984856bb3 [2023-02-09T19:37:02.469Z] Removing intermediate container 9fc984856bb3 [2023-02-09T19:37:02.469Z] ---> a2bfabf70158 [2023-02-09T19:37:02.469Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-09T19:37:02.469Z] ---> Running in 5112511bd307 [2023-02-09T19:37:03.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:37:13.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-09T19:38:02.136Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-09T19:38:02.716Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-09T19:38:02.716Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-09T19:38:05.285Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-09T19:38:06.242Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-09T19:38:09.571Z] (4/8) Installing libblkid (2.38-r1) [2023-02-09T19:38:14.901Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-09T19:38:18.239Z] (6/8) Installing libmount (2.38-r1) [2023-02-09T19:38:19.194Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-09T19:38:21.771Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-09T19:38:28.408Z] Executing busybox-1.35.0-r17.trigger [2023-02-09T19:38:28.675Z] OK: 286 MiB in 91 packages [2023-02-09T19:38:29.639Z] Removing intermediate container 5112511bd307 [2023-02-09T19:38:29.639Z] ---> c88c2940bc02 [2023-02-09T19:38:29.639Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-09T19:38:32.216Z] ---> c417cf20ce3f [2023-02-09T19:38:32.216Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-09T19:38:32.483Z] ---> ba89990e41d9 [2023-02-09T19:38:32.483Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-09T19:38:33.067Z] ---> 676a4f1a92c9 [2023-02-09T19:38:33.067Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-09T19:38:33.649Z] ---> 7d622f94c42e [2023-02-09T19:38:33.649Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-09T19:38:33.917Z] ---> ba84529a8cb4 [2023-02-09T19:38:33.917Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-09T19:38:34.500Z] ---> 745bd31055d1 [2023-02-09T19:38:34.500Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-09T19:38:34.500Z] ---> Running in c66d4bd7d6f6 [2023-02-09T19:38:34.770Z] Removing intermediate container c66d4bd7d6f6 [2023-02-09T19:38:34.770Z] ---> a233637e59c7 [2023-02-09T19:38:34.770Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-09T19:38:35.036Z] ---> Running in 4bb046bacc31 [2023-02-09T19:38:35.302Z] Removing intermediate container 4bb046bacc31 [2023-02-09T19:38:35.302Z] ---> d98d186fe0c6 [2023-02-09T19:38:35.302Z] Step 15/17 : LABEL arch=arm64 [2023-02-09T19:38:35.302Z] ---> Running in 246a78a78e45 [2023-02-09T19:38:35.568Z] Removing intermediate container 246a78a78e45 [2023-02-09T19:38:35.568Z] ---> be2a6d21e8c8 [2023-02-09T19:38:35.568Z] Step 16/17 : LABEL git_sha=1f9c425ee13e881123afba9fd27e9e2fdb8473ae [2023-02-09T19:38:35.568Z] ---> Running in 3eb9ccd2095f [2023-02-09T19:38:35.834Z] Removing intermediate container 3eb9ccd2095f [2023-02-09T19:38:35.834Z] ---> 351ebd1b233d [2023-02-09T19:38:35.834Z] Step 17/17 : LABEL version=0.0.0 [2023-02-09T19:38:36.100Z] ---> Running in 2aa1407b323f [2023-02-09T19:38:36.364Z] Removing intermediate container 2aa1407b323f [2023-02-09T19:38:36.364Z] ---> 7ea12a518fd1 [2023-02-09T19:38:36.364Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-02-09T19:38:36.364Z] Successfully built 7ea12a518fd1 [2023-02-09T19:38:36.364Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:38:36.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-09T19:38:36.797Z] [2023-02-09T19:38:36.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:38:37.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-09T19:38:37.395Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-09T19:38:37.395Z] 8998bd30e6a1: Pulling fs layer [2023-02-09T19:38:37.395Z] 04944245beec: Pulling fs layer [2023-02-09T19:38:37.395Z] 699f458cf7ca: Pulling fs layer [2023-02-09T19:38:37.395Z] 765212b225bb: Pulling fs layer [2023-02-09T19:38:37.395Z] f23df028b6ca: Pulling fs layer [2023-02-09T19:38:37.395Z] d65c8cfc05b1: Pulling fs layer [2023-02-09T19:38:37.395Z] 2437ff75d9bd: Pulling fs layer [2023-02-09T19:38:37.395Z] 765212b225bb: Waiting [2023-02-09T19:38:37.395Z] f23df028b6ca: Waiting [2023-02-09T19:38:37.395Z] d65c8cfc05b1: Waiting [2023-02-09T19:38:37.395Z] 2437ff75d9bd: Waiting [2023-02-09T19:38:37.664Z] 04944245beec: Verifying Checksum [2023-02-09T19:38:37.664Z] 04944245beec: Download complete [2023-02-09T19:38:37.664Z] 765212b225bb: Download complete [2023-02-09T19:38:37.664Z] f23df028b6ca: Verifying Checksum [2023-02-09T19:38:37.664Z] f23df028b6ca: Download complete [2023-02-09T19:38:37.664Z] d65c8cfc05b1: Verifying Checksum [2023-02-09T19:38:37.664Z] d65c8cfc05b1: Download complete [2023-02-09T19:38:38.248Z] 8998bd30e6a1: Download complete [2023-02-09T19:38:38.248Z] 699f458cf7ca: Verifying Checksum [2023-02-09T19:38:38.248Z] 699f458cf7ca: Download complete [2023-02-09T19:38:40.820Z] 2437ff75d9bd: Verifying Checksum [2023-02-09T19:38:40.820Z] 2437ff75d9bd: Download complete [2023-02-09T19:38:42.223Z] 8998bd30e6a1: Pull complete [2023-02-09T19:38:44.158Z] 04944245beec: Pull complete [2023-02-09T19:38:45.562Z] 699f458cf7ca: Pull complete [2023-02-09T19:38:45.828Z] 765212b225bb: Pull complete [2023-02-09T19:38:46.408Z] f23df028b6ca: Pull complete [2023-02-09T19:38:46.673Z] d65c8cfc05b1: Pull complete [2023-02-09T19:39:01.647Z] 2437ff75d9bd: Pull complete [2023-02-09T19:39:01.647Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-09T19:39:01.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-09T19:39:01.647Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:39:01.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-5245 does not seem to be running inside a container [2023-02-09T19:39:01.910Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-02-09T19:39:04.393Z] $ docker top d466e4bb455f71991c22664213280790f4627c1a555cb253049a85e9c5186ba9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:04.976Z] ---> job-cost.sh [2023-02-09T19:39:05.244Z] lf-activate-venv: SKIPPING [2023-02-09T19:39:05.244Z] INFO: No Stack... [2023-02-09T19:39:05.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-09T19:39:07.252Z] INFO: Archiving Costs [Pipeline] sh [2023-02-09T19:39:07.886Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-02-09T19:39:07.886Z] + cut -d, -f6 [Pipeline] lock [2023-02-09T19:39:07.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [2023-02-09T19:39:07.948Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] did not exist. Created. [2023-02-09T19:39:07.948Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-09T19:39:08.591Z] /w/workspace/device-sdk-c/2@tmp/durable-e91392af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-09T19:39:08.923Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-09T19:39:08.946Z] Warning: overwriting stash ‘stack-cost’ [2023-02-09T19:39:09.387Z] Stashed 1 file(s) [Pipeline] } [2023-02-09T19:39:09.393Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-09T19:39:09.382Z] $ docker stop --time=1 d466e4bb455f71991c22664213280790f4627c1a555cb253049a85e9c5186ba9 [2023-02-09T19:39:10.908Z] $ docker rm -f --volumes d466e4bb455f71991c22664213280790f4627c1a555cb253049a85e9c5186ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-09T19:39:11.729Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] [2023-02-09T19:39:11.729Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-02-09T19:39:11.729Z] total 16 [2023-02-09T19:39:11.729Z] drwxr-xr-x 3 root root 4096 Feb 9 19:29 . [2023-02-09T19:39:11.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 9 19:29 .. [2023-02-09T19:39:11.729Z] drwxr-xr-x 2 root root 4096 Feb 9 19:29 cost [2023-02-09T19:39:11.729Z] -rw-r--r-- 1 root root 84 Feb 9 19:29 cost.csv [2023-02-09T19:39:11.729Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-02-09T19:39:11.729Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-02-09T19:39:11.729Z] total 16 [2023-02-09T19:39:11.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 9 19:29 . [2023-02-09T19:39:11.729Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 9 19:29 .. [2023-02-09T19:39:11.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 9 19:29 cost [2023-02-09T19:39:11.729Z] -rw-r--r-- 1 jenkins jenkins 84 Feb 9 19:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:12.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:13.002Z] ---> package-listing.sh [2023-02-09T19:39:13.002Z] ++ facter osfamily [2023-02-09T19:39:13.002Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-09T19:39:13.002Z] + OS_FAMILY=debian [2023-02-09T19:39:13.002Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 [2023-02-09T19:39:13.002Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-09T19:39:13.002Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-09T19:39:13.002Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-09T19:39:13.002Z] + PACKAGES=/tmp/packages_start.txt [2023-02-09T19:39:13.002Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-02-09T19:39:13.002Z] + PACKAGES=/tmp/packages_end.txt [2023-02-09T19:39:13.002Z] + case "${OS_FAMILY}" in [2023-02-09T19:39:13.002Z] + grep '^ii' [2023-02-09T19:39:13.002Z] + dpkg -l [2023-02-09T19:39:13.002Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-09T19:39:13.002Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-09T19:39:13.002Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-09T19:39:13.572Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-02-09T19:39:13.572Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [2023-02-09T19:39:13.572Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo [2023-02-09T19:39:13.584Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-09T19:39:13.864Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-09T19:39:14.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-09T19:39:14.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-09T19:39:14.487Z] prd-ubuntu20.04-docker-8c-8g-5244 does not seem to be running inside a container [2023-02-09T19:39:14.454Z] $ 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-442/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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-09T19:39:14.967Z] $ docker top f0a63dd3ccf212920542678ee4bc7468cccf07b44b556ed186fa496cce99e276 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-09T19:39:15.368Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-09T19:39:15.651Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-09T19:39:15.933Z] + ls /var/log/sa-host [2023-02-09T19:39:15.933Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-09T19:39:16.075Z] provisioning config files... [2023-02-09T19:39:16.084Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config762092540970431391tmp [Pipeline] { [Pipeline] echo [2023-02-09T19:39:16.095Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:16.426Z] ---> create-netrc.sh [Pipeline] } [2023-02-09T19:39:16.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:16.762Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-09T19:39:16.771Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:17.054Z] ---> sudo-logs.sh [2023-02-09T19:39:17.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-09T19:39:17.082Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:17.376Z] ---> job-cost.sh [2023-02-09T19:39:17.376Z] lf-activate-venv: SKIPPING [2023-02-09T19:39:17.376Z] DEBUG: total: 0.2199999988079071 [2023-02-09T19:39:17.376Z] INFO: Retrieving Stack Cost... [2023-02-09T19:39:18.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-09T19:39:19.012Z] INFO: Archiving Costs [Pipeline] echo [2023-02-09T19:39:19.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-09T19:39:19.311Z] ---> logs-deploy.sh [2023-02-09T19:39:19.311Z] lf-activate-venv: SKIPPING [2023-02-09T19:39:19.311Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/2 [2023-02-09T19:39:19.311Z] INFO: archiving workspace using pattern(s): [2023-02-09T19:39:20.248Z] Archives upload complete. [2023-02-09T19:39:20.508Z] INFO: archiving logs to Nexus