Pull request #450 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 45372aa55bed723e31238cf25f1488d3fdf97aa1+c501188f4a78ac3dadda58092e8196eb77e7373e (6ef237308a941b9602e7baf9d571a239810ab995) 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-ssh16515096803422135096.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11430557045660474666.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-450/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-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1894214722398148888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12631922844756992411.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-450/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-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3129022096977450702.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-2488 in /w/workspace/edgexfoundry_device-sdk-c_PR-450 [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-450 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c501188f4a78ac3dadda58092e8196eb77e7373e into PR head commit 45372aa55bed723e31238cf25f1488d3fdf97aa1 > 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/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45372aa55bed723e31238cf25f1488d3fdf97aa1 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 45372aa55bed723e31238cf25f1488d3fdf97aa1 Checking out Revision 45372aa55bed723e31238cf25f1488d3fdf97aa1 (PR-450) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c501188f4a78ac3dadda58092e8196eb77e7373e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45372aa55bed723e31238cf25f1488d3fdf97aa1 # timeout=10 Commit message: "docs: Add installation instructions for IOT utilities" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T17:16:03.666Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T17:16:03.722Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T17:16:03.736Z] ========================================================= [2023-03-16T17:16:03.736Z] EdgeX Global Pipelines Version Info [2023-03-16T17:16:03.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:16:04.444Z] ------------------- [2023-03-16T17:16:04.444Z] stable info: [2023-03-16T17:16:04.444Z] ------------------- [2023-03-16T17:16:04.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T17:16:04.444Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T17:16:04.444Z] Message: update stable to v1.0.245 [2023-03-16T17:16:05.013Z] ------------------- [2023-03-16T17:16:05.013Z] experimental info: [2023-03-16T17:16:05.013Z] ------------------- [2023-03-16T17:16:05.013Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T17:16:05.013Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T17:16:05.013Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T17:16:05.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-16T17:16:05.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-16T17:16:05.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T17:16:05.213Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T17:16:05.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T17:16:05.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-16T17:16:05.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-16T17:16:05.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T17:16:05.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T17:16:05.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-16T17:16:05.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T17:16:05.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T17:16:05.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T17:16:05.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T17:16:05.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T17:16:05.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T17:16:05.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T17:16:05.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-450 [Pipeline] echo [2023-03-16T17:16:05.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-450 [Pipeline] echo [2023-03-16T17:16:05.385Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-450 [Pipeline] echo [2023-03-16T17:16:05.396Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45372aa55bed723e31238cf25f1488d3fdf97aa1 [Pipeline] echo [2023-03-16T17:16:05.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45372aa [Pipeline] echo [2023-03-16T17:16:05.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:16:05.459Z] provisioning config files... [2023-03-16T17:16:05.473Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/config3786761684107596311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:16:05.772Z] ---> docker-login.sh [2023-03-16T17:16:05.772Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:16:06.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:07.412Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:07.412Z] [2023-03-16T17:16:07.412Z] Login Succeeded [2023-03-16T17:16:07.412Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:16:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:07.412Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:07.412Z] [2023-03-16T17:16:07.412Z] Login Succeeded [2023-03-16T17:16:07.412Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:16:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:07.412Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:07.412Z] [2023-03-16T17:16:07.412Z] Login Succeeded [2023-03-16T17:16:07.412Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:16:07.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:07.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:07.412Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:07.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:07.412Z] [2023-03-16T17:16:07.412Z] Login Succeeded [2023-03-16T17:16:07.412Z] docker.io [2023-03-16T17:16:07.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:07.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:07.673Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:07.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:07.673Z] [2023-03-16T17:16:07.673Z] Login Succeeded [2023-03-16T17:16:07.673Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:16:07.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-03-16T17:16:08.038Z] + git rev-list -1 --merges 45372aa55bed723e31238cf25f1488d3fdf97aa1~1..45372aa55bed723e31238cf25f1488d3fdf97aa1 [Pipeline] echo [2023-03-16T17:16:08.084Z] -----------> git rev-list -1 --merges 45372aa55bed723e31238cf25f1488d3fdf97aa1~1..45372aa55bed723e31238cf25f1488d3fdf97aa1 45372aa55bed723e31238cf25f1488d3fdf97aa1 [false] [Pipeline] sh [2023-03-16T17:16:08.367Z] + git log --format=format:%s -1 45372aa55bed723e31238cf25f1488d3fdf97aa1 [Pipeline] echo [2023-03-16T17:16:08.382Z] ========================================================= [2023-03-16T17:16:08.382Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T17:16:08.382Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T17:16:08.745Z] + git rev-list -1 --merges 45372aa55bed723e31238cf25f1488d3fdf97aa1~1..45372aa55bed723e31238cf25f1488d3fdf97aa1 [Pipeline] echo [2023-03-16T17:16:08.756Z] -----------> git rev-list -1 --merges 45372aa55bed723e31238cf25f1488d3fdf97aa1~1..45372aa55bed723e31238cf25f1488d3fdf97aa1 45372aa55bed723e31238cf25f1488d3fdf97aa1 [false] [Pipeline] sh [2023-03-16T17:16:09.041Z] + git log --format=format:%s -1 45372aa55bed723e31238cf25f1488d3fdf97aa1 [Pipeline] echo [2023-03-16T17:16:09.056Z] ========================================================= [2023-03-16T17:16:09.056Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T17:16:09.056Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-16T17:16:09.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T17:16:09.467Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T17:16:09.467Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T17:16:09.467Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T17:16:09.467Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T17:16:09.467Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T17:16:09.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:16:09.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:16:09.866Z] [2023-03-16T17:16:09.866Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:16:10.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:16:10.165Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T17:16:10.165Z] b85a868b505f: Pulling fs layer [2023-03-16T17:16:10.165Z] e2be974225ed: Pulling fs layer [2023-03-16T17:16:10.165Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T17:16:10.165Z] 988bab9f4d93: Pulling fs layer [2023-03-16T17:16:10.165Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T17:16:10.165Z] eaf3925da568: Pulling fs layer [2023-03-16T17:16:10.165Z] 988bab9f4d93: Waiting [2023-03-16T17:16:10.165Z] bab4dde63d76: Pulling fs layer [2023-03-16T17:16:10.165Z] eaf3925da568: Waiting [2023-03-16T17:16:10.165Z] bde34c3a00c8: Pulling fs layer [2023-03-16T17:16:10.165Z] b352a97aabf1: Pulling fs layer [2023-03-16T17:16:10.165Z] bab4dde63d76: Waiting [2023-03-16T17:16:10.165Z] bde34c3a00c8: Waiting [2023-03-16T17:16:10.165Z] 4872d77fe225: Pulling fs layer [2023-03-16T17:16:10.165Z] 5851b861e8e6: Pulling fs layer [2023-03-16T17:16:10.165Z] 4872d77fe225: Waiting [2023-03-16T17:16:10.165Z] 5851b861e8e6: Waiting [2023-03-16T17:16:10.165Z] e2be974225ed: Verifying Checksum [2023-03-16T17:16:10.165Z] e2be974225ed: Download complete [2023-03-16T17:16:10.165Z] 988bab9f4d93: Download complete [2023-03-16T17:16:10.426Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T17:16:10.426Z] 339a4e72a1f5: Download complete [2023-03-16T17:16:10.426Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T17:16:10.426Z] 1469e6f7b9e6: Download complete [2023-03-16T17:16:10.426Z] eaf3925da568: Verifying Checksum [2023-03-16T17:16:10.426Z] eaf3925da568: Download complete [2023-03-16T17:16:10.426Z] bde34c3a00c8: Verifying Checksum [2023-03-16T17:16:10.426Z] bde34c3a00c8: Download complete [2023-03-16T17:16:10.426Z] b352a97aabf1: Download complete [2023-03-16T17:16:10.426Z] 4872d77fe225: Download complete [2023-03-16T17:16:10.426Z] 5851b861e8e6: Download complete [2023-03-16T17:16:10.426Z] b85a868b505f: Verifying Checksum [2023-03-16T17:16:10.426Z] b85a868b505f: Download complete [2023-03-16T17:16:10.995Z] bab4dde63d76: Verifying Checksum [2023-03-16T17:16:10.995Z] bab4dde63d76: Download complete [2023-03-16T17:16:11.933Z] b85a868b505f: Pull complete [2023-03-16T17:16:11.933Z] e2be974225ed: Pull complete [2023-03-16T17:16:12.193Z] 339a4e72a1f5: Pull complete [2023-03-16T17:16:12.453Z] 988bab9f4d93: Pull complete [2023-03-16T17:16:12.713Z] 1469e6f7b9e6: Pull complete [2023-03-16T17:16:12.713Z] eaf3925da568: Pull complete [2023-03-16T17:16:14.093Z] bab4dde63d76: Pull complete [2023-03-16T17:16:14.353Z] bde34c3a00c8: Pull complete [2023-03-16T17:16:14.353Z] b352a97aabf1: Pull complete [2023-03-16T17:16:14.353Z] 4872d77fe225: Pull complete [2023-03-16T17:16:14.612Z] 5851b861e8e6: Pull complete [2023-03-16T17:16:14.612Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T17:16:14.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T17:16:14.612Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:16:14.728Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-03-16T17:16:14.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-450 -v /w/workspace/edgexfoundry_device-sdk-c_PR-450:/w/workspace/edgexfoundry_device-sdk-c_PR-450:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-450@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T17:16:16.854Z] $ docker top de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d -eo pid,comm [2023-03-16T17:16:16.906Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-16T17:16:16.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T17:16:16.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T17:16:16.942Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T17:16:17.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T17:16:17.047Z] $ docker exec de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d ssh-agent [2023-03-16T17:16:17.147Z] SSH_AUTH_SOCK=/tmp/ssh-aEVK8pjE65RE/agent.31 [2023-03-16T17:16:17.147Z] SSH_AGENT_PID=37 [2023-03-16T17:16:17.153Z] Running ssh-add (command line suppressed) [2023-03-16T17:16:17.244Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/private_key_3251714464475378519.key (/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/private_key_3251714464475378519.key) [2023-03-16T17:16:17.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T17:16:17.545Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T17:16:17.550Z] $ docker exec --env ******** --env ******** de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d ssh-agent -k [2023-03-16T17:16:17.649Z] unset SSH_AUTH_SOCK; [2023-03-16T17:16:17.649Z] unset SSH_AGENT_PID; [2023-03-16T17:16:17.649Z] echo Agent pid 37 killed; [2023-03-16T17:16:17.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T17:16:17.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T17:16:17.690Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T17:16:17.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T17:16:17.803Z] $ docker exec de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d ssh-agent [2023-03-16T17:16:17.911Z] SSH_AUTH_SOCK=/tmp/ssh-LHIAE5Bd6acx/agent.69 [2023-03-16T17:16:17.911Z] SSH_AGENT_PID=75 [2023-03-16T17:16:17.916Z] Running ssh-add (command line suppressed) [2023-03-16T17:16:18.019Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/private_key_5407291127280132472.key (/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/private_key_5407291127280132472.key) [2023-03-16T17:16:18.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T17:16:18.319Z] + git semver init [2023-03-16T17:16:18.578Z] 2023-03-16 17:16:18,467 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T17:16:18.578Z] 2023-03-16 17:16:18,468 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver [2023-03-16T17:16:18.578Z] 2023-03-16 17:16:18,468 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver [2023-03-16T17:16:18.578Z] 2023-03-16 17:16:18,469 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-450, universal_newlines=False, shell=None, istream=None) [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,335 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-450/.git/info/exclude [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver/PR-450 with force:False [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,336 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver/PR-450 [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,340 [execute] INFO git cat-file --batch-check [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,346 [execute] INFO git cat-file --batch [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T17:16:19.516Z] 2023-03-16 17:16:19,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-450/.semver/PR-450 [2023-03-16T17:16:19.516Z] 0.0.0 [Pipeline] } [2023-03-16T17:16:19.522Z] $ docker exec --env ******** --env ******** de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d ssh-agent -k [2023-03-16T17:16:19.618Z] unset SSH_AUTH_SOCK; [2023-03-16T17:16:19.618Z] unset SSH_AGENT_PID; [2023-03-16T17:16:19.618Z] echo Agent pid 75 killed; [2023-03-16T17:16:19.637Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T17:16:19.932Z] + git semver [Pipeline] } [2023-03-16T17:16:20.199Z] $ docker stop --time=1 de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d [2023-03-16T17:16:21.494Z] $ docker rm -f --volumes de9e59c8013ef72507c2251d5003343c7defdecde72d915507a5f84d0016062d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T17:16:21.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T17:16:22.027Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T17:16:22.030Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:16:22.142Z] provisioning config files... [2023-03-16T17:16:22.151Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/config17393770379011590205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:16:22.446Z] ---> docker-login.sh [2023-03-16T17:16:22.446Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:16:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:22.446Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:22.446Z] [2023-03-16T17:16:22.446Z] Login Succeeded [2023-03-16T17:16:22.446Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:16:22.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:22.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:22.446Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:22.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:22.446Z] [2023-03-16T17:16:22.446Z] Login Succeeded [2023-03-16T17:16:22.446Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:16:22.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:22.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:22.709Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:22.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:22.709Z] [2023-03-16T17:16:22.709Z] Login Succeeded [2023-03-16T17:16:22.709Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:16:22.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:22.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:22.709Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:22.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:22.709Z] [2023-03-16T17:16:22.709Z] Login Succeeded [2023-03-16T17:16:22.709Z] docker.io [2023-03-16T17:16:22.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:16:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:16:22.968Z] Configure a credential helper to remove this warning. See [2023-03-16T17:16:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:16:22.968Z] [2023-03-16T17:16:22.968Z] Login Succeeded [2023-03-16T17:16:22.968Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:16:22.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T17:16:23.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:16:23.031Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-16T17:16:23.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:16:23.044Z] ========================================================= [2023-03-16T17:16:23.044Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-16T17:16:23.044Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:16:23.343Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-03-16T17:16:23.343Z] Sending build context to Docker daemon 4.805MB [2023-03-16T17:16:23.343Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-16T17:16:23.343Z] Step 2/21 : FROM ${BASE} as builder [2023-03-16T17:16:23.343Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-16T17:16:23.343Z] 213ec9aee27d: Pulling fs layer [2023-03-16T17:16:23.343Z] 0f09ad1b1b37: Pulling fs layer [2023-03-16T17:16:23.603Z] 213ec9aee27d: Download complete [2023-03-16T17:16:23.603Z] 213ec9aee27d: Pull complete [2023-03-16T17:16:24.170Z] 0f09ad1b1b37: Verifying Checksum [2023-03-16T17:16:24.170Z] 0f09ad1b1b37: Download complete [2023-03-16T17:16:26.699Z] 0f09ad1b1b37: Pull complete [2023-03-16T17:16:26.700Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-16T17:16:26.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-16T17:16:26.700Z] ---> b2bbfebb3566 [2023-03-16T17:16:26.700Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:16:28.076Z] ---> Running in 0e4133233afc [2023-03-16T17:16:28.334Z] Connecting to iotech.jfrog.io (52.49.55.68:443) [2023-03-16T17:16:28.902Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:16:28.902Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:16:28.902Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:16:28.902Z] Removing intermediate container 0e4133233afc [2023-03-16T17:16:28.902Z] ---> 44ba60fcfdd2 [2023-03-16T17:16:28.902Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:16:29.159Z] ---> Running in 48c9e5ced5ca [2023-03-16T17:16:29.727Z] Removing intermediate container 48c9e5ced5ca [2023-03-16T17:16:29.727Z] ---> d2472561c951 [2023-03-16T17:16:29.727Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-16T17:16:29.727Z] ---> Running in 0dfa4df638ee [2023-03-16T17:16:29.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:29.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:29.985Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:30.552Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:16:30.552Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-16T17:16:30.552Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-16T17:16:30.812Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-16T17:16:31.380Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-16T17:16:31.380Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-16T17:16:31.639Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-16T17:16:31.640Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-16T17:16:31.640Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-16T17:16:32.578Z] (9/14) Installing libblkid (2.38-r1) [2023-03-16T17:16:32.578Z] (10/14) Installing libuuid (2.38-r1) [2023-03-16T17:16:32.578Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-16T17:16:32.578Z] (12/14) Installing libmount (2.38-r1) [2023-03-16T17:16:32.578Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-16T17:16:32.578Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-16T17:16:32.578Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:16:32.578Z] OK: 280 MiB in 90 packages [2023-03-16T17:16:33.144Z] Removing intermediate container 0dfa4df638ee [2023-03-16T17:16:33.144Z] ---> 03b5e0c211d8 [2023-03-16T17:16:33.144Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-16T17:16:33.144Z] ---> Running in 347059c439a4 [2023-03-16T17:16:33.711Z] Removing intermediate container 347059c439a4 [2023-03-16T17:16:33.711Z] ---> 5d3ec4118ebf [2023-03-16T17:16:33.711Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-16T17:16:33.711Z] ---> 576fb148650e [2023-03-16T17:16:33.711Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-16T17:16:33.974Z] ---> 71758594bf3b [2023-03-16T17:16:33.974Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-16T17:16:34.233Z] ---> 9f8ea182df37 [2023-03-16T17:16:34.233Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-16T17:16:34.233Z] ---> bb3006a9a25b [2023-03-16T17:16:34.233Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-16T17:16:34.491Z] ---> ce47805e3db3 [2023-03-16T17:16:34.491Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-16T17:16:34.491Z] ---> 5ac0b367208e [2023-03-16T17:16:34.491Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-16T17:16:34.491Z] ---> Running in e9c94d0368ac [2023-03-16T17:16:34.750Z] + CPPCHECK=false [2023-03-16T17:16:34.750Z] + DOCGEN=false [2023-03-16T17:16:34.750Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-16T17:16:34.750Z] + TOMLVER=SDK-0.2 [2023-03-16T17:16:34.750Z] + CUTILVER=1.4 [2023-03-16T17:16:34.750Z] + '[' 0 -gt 0 ] [2023-03-16T17:16:34.750Z] + readlink -f ./scripts/build.sh [2023-03-16T17:16:34.750Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-16T17:16:34.750Z] + dirname /tmp/sdk/scripts [2023-03-16T17:16:34.750Z] + ROOT=/tmp/sdk [2023-03-16T17:16:34.750Z] + cd /tmp/sdk [2023-03-16T17:16:34.750Z] + '[' '!' -d deps ] [2023-03-16T17:16:34.750Z] + mkdir deps [2023-03-16T17:16:34.750Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-16T17:16:34.750Z] + tar -C deps -z -x -f - [2023-03-16T17:16:34.750Z] Connecting to github.com (140.82.112.3:443) [2023-03-16T17:16:35.008Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-03-16T17:16:35.266Z] writing to stdout [2023-03-16T17:16:35.266Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-16T17:16:35.266Z] written to stdout [2023-03-16T17:16:35.266Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-16T17:16:35.266Z] + mkdir -p /tmp/sdk/build/release [2023-03-16T17:16:35.266Z] + cd /tmp/sdk/build/release [2023-03-16T17:16:35.266Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-16T17:16:35.266Z] -- The C compiler identification is GNU 11.2.1 [2023-03-16T17:16:35.266Z] -- Detecting C compiler ABI info [2023-03-16T17:16:35.266Z] -- Detecting C compiler ABI info - done [2023-03-16T17:16:35.266Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-16T17:16:35.266Z] -- Detecting C compile features [2023-03-16T17:16:35.266Z] -- Detecting C compile features - done [2023-03-16T17:16:35.266Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-16T17:16:35.525Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-16T17:16:35.525Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-16T17:16:35.525Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-16T17:16:35.525Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-16T17:16:35.525Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-16T17:16:35.525Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-16T17:16:35.525Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-16T17:16:35.525Z] -- /opt/iotech/iot/1.5/include [2023-03-16T17:16:35.525Z] -- C SDK 0.0.0 for Linux [2023-03-16T17:16:35.525Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-16T17:16:35.525Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-16T17:16:35.525Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-16T17:16:35.525Z] -- Configuring done [2023-03-16T17:16:35.525Z] -- Generating done [2023-03-16T17:16:35.525Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-16T17:16:35.525Z] + make all package [2023-03-16T17:16:35.525Z] + tee release.log [2023-03-16T17:16:35.783Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-16T17:16:35.783Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-16T17:16:36.042Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-16T17:16:36.042Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-16T17:16:36.301Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-16T17:16:36.301Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-16T17:16:36.868Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-16T17:16:36.868Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-16T17:16:36.868Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-16T17:16:37.115Z] Still waiting to schedule task [2023-03-16T17:16:37.116Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-16T17:16:37.126Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-16T17:16:37.384Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-16T17:16:37.642Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-16T17:16:37.900Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-16T17:16:37.900Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-16T17:16:37.900Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-16T17:16:38.159Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-16T17:16:38.728Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-16T17:16:38.728Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-16T17:16:38.728Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-16T17:16:38.987Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-16T17:16:39.924Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-16T17:16:39.924Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-16T17:16:40.185Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-16T17:16:40.185Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-16T17:16:40.185Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-16T17:16:40.444Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-16T17:16:41.014Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-16T17:16:41.014Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-16T17:16:41.273Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-16T17:16:41.273Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-16T17:16:41.840Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-16T17:16:42.408Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-16T17:16:42.668Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-16T17:16:42.668Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-16T17:16:42.928Z] [ 68%] Linking C shared library libcsdk.so [2023-03-16T17:16:42.928Z] [ 68%] Built target csdk [2023-03-16T17:16:42.928Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-16T17:16:43.189Z] [ 72%] Linking C executable template [2023-03-16T17:16:43.189Z] [ 72%] Built target template [2023-03-16T17:16:43.189Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-16T17:16:43.189Z] [ 76%] Linking C executable device-counter [2023-03-16T17:16:43.189Z] [ 76%] Built target device-counter [2023-03-16T17:16:43.449Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-16T17:16:43.449Z] [ 80%] Linking C executable device-random [2023-03-16T17:16:43.449Z] [ 80%] Built target device-random [2023-03-16T17:16:43.449Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-16T17:16:43.709Z] [ 84%] Linking C executable device-gyro [2023-03-16T17:16:43.709Z] [ 84%] Built target device-gyro [2023-03-16T17:16:43.709Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-16T17:16:43.709Z] [ 88%] Linking C executable device-bitfields [2023-03-16T17:16:43.969Z] [ 88%] Built target device-bitfields [2023-03-16T17:16:43.969Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-16T17:16:43.969Z] [ 92%] Linking C executable template-discovery [2023-03-16T17:16:43.969Z] [ 92%] Built target template-discovery [2023-03-16T17:16:44.229Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-16T17:16:44.229Z] [ 96%] Linking C executable device-file [2023-03-16T17:16:44.229Z] [ 96%] Built target device-file [2023-03-16T17:16:44.229Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-16T17:16:44.489Z] [100%] Linking C executable device-terminal [2023-03-16T17:16:44.489Z] [100%] Built target device-terminal [2023-03-16T17:16:44.489Z] Run CPack packaging tool... [2023-03-16T17:16:44.489Z] CPack: Create package using TGZ [2023-03-16T17:16:44.489Z] CPack: Install projects [2023-03-16T17:16:44.489Z] CPack: - Run preinstall target for: Csdk [2023-03-16T17:16:44.748Z] CPack: - Install project: Csdk [] [2023-03-16T17:16:44.748Z] CPack: Create package [2023-03-16T17:16:44.748Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-16T17:16:44.748Z] + '[' false '=' true ] [2023-03-16T17:16:44.748Z] + '[' false '=' true ] [2023-03-16T17:16:44.748Z] + mkdir -p /tmp/sdk/build/debug [2023-03-16T17:16:44.748Z] + cd /tmp/sdk/build/debug [2023-03-16T17:16:44.748Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-16T17:16:45.007Z] -- The C compiler identification is GNU 11.2.1 [2023-03-16T17:16:45.007Z] -- Detecting C compiler ABI info [2023-03-16T17:16:45.007Z] -- Detecting C compiler ABI info - done [2023-03-16T17:16:45.007Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-16T17:16:45.007Z] -- Detecting C compile features [2023-03-16T17:16:45.007Z] -- Detecting C compile features - done [2023-03-16T17:16:45.007Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-16T17:16:45.007Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-16T17:16:45.007Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-16T17:16:45.007Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-16T17:16:45.007Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-16T17:16:45.007Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-16T17:16:45.007Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-16T17:16:45.007Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-16T17:16:45.007Z] -- /opt/iotech/iot/1.5/include [2023-03-16T17:16:45.007Z] -- C SDK 0.0.0 for Linux [2023-03-16T17:16:45.007Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-16T17:16:45.007Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-16T17:16:45.267Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-16T17:16:45.267Z] -- Configuring done [2023-03-16T17:16:45.267Z] -- Generating done [2023-03-16T17:16:45.267Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-16T17:16:45.267Z] + + teemake debug.log [2023-03-16T17:16:45.267Z] [2023-03-16T17:16:45.267Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-16T17:16:45.267Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-16T17:16:45.526Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-16T17:16:45.526Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-16T17:16:45.526Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-16T17:16:45.785Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-16T17:16:45.785Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-16T17:16:46.044Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-16T17:16:46.044Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-16T17:16:46.044Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-16T17:16:46.302Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-16T17:16:46.302Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-16T17:16:46.302Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-16T17:16:46.302Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-16T17:16:46.563Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-16T17:16:46.563Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-16T17:16:46.825Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-16T17:16:46.825Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-16T17:16:46.825Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-16T17:16:47.129Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-16T17:16:47.129Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-16T17:16:47.388Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-16T17:16:47.388Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-16T17:16:47.388Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-16T17:16:47.388Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-16T17:16:47.658Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-16T17:16:47.658Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-16T17:16:47.917Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-16T17:16:47.917Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-16T17:16:47.917Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-16T17:16:48.184Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-16T17:16:48.444Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-16T17:16:48.444Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-16T17:16:48.444Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-16T17:16:48.444Z] [ 68%] Linking C shared library libcsdk.so [2023-03-16T17:16:48.444Z] [ 68%] Built target csdk [2023-03-16T17:16:48.711Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-16T17:16:48.711Z] [ 72%] Linking C executable template [2023-03-16T17:16:48.711Z] [ 72%] Built target template [2023-03-16T17:16:48.711Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-16T17:16:48.711Z] [ 76%] Linking C executable device-counter [2023-03-16T17:16:48.711Z] [ 76%] Built target device-counter [2023-03-16T17:16:48.971Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-16T17:16:48.971Z] [ 80%] Linking C executable device-random [2023-03-16T17:16:48.971Z] [ 80%] Built target device-random [2023-03-16T17:16:48.971Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-16T17:16:48.971Z] [ 84%] Linking C executable device-gyro [2023-03-16T17:16:48.971Z] [ 84%] Built target device-gyro [2023-03-16T17:16:48.971Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-16T17:16:49.231Z] [ 88%] Linking C executable device-bitfields [2023-03-16T17:16:49.231Z] [ 88%] Built target device-bitfields [2023-03-16T17:16:49.231Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-16T17:16:49.231Z] [ 92%] Linking C executable template-discovery [2023-03-16T17:16:49.231Z] [ 92%] Built target template-discovery [2023-03-16T17:16:49.490Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-16T17:16:49.490Z] [ 96%] Linking C executable device-file [2023-03-16T17:16:49.490Z] [ 96%] Built target device-file [2023-03-16T17:16:49.490Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-16T17:16:49.490Z] [100%] Linking C executable device-terminal [2023-03-16T17:16:49.750Z] [100%] Built target device-terminal [2023-03-16T17:16:49.750Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 68%] Built target csdk [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 72%] Built target template [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 76%] Built target device-counter [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 80%] Built target device-random [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 84%] Built target device-gyro [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 88%] Built target device-bitfields [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 92%] Built target template-discovery [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [ 96%] Built target device-file [2023-03-16T17:16:49.750Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] [100%] Built target device-terminal [2023-03-16T17:16:49.750Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:49.750Z] Install the project... [2023-03-16T17:16:49.750Z] -- Install configuration: "Release" [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-16T17:16:49.750Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/devsdk [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-16T17:16:49.750Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-16T17:16:49.750Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:16:50.691Z] Removing intermediate container e9c94d0368ac [2023-03-16T17:16:50.691Z] ---> f78aa5c4757a [2023-03-16T17:16:50.691Z] Step 14/21 : FROM ${BASE} [2023-03-16T17:16:50.691Z] ---> b2bbfebb3566 [2023-03-16T17:16:50.691Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-16T17:16:50.691Z] ---> Running in 16db392ccd75 [2023-03-16T17:16:50.691Z] Removing intermediate container 16db392ccd75 [2023-03-16T17:16:50.691Z] ---> e6fad536234b [2023-03-16T17:16:50.691Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:16:50.691Z] ---> Running in f4ff16849eca [2023-03-16T17:16:50.951Z] Connecting to iotech.jfrog.io (52.49.145.60:443) [2023-03-16T17:16:51.520Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:16:51.520Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:16:51.520Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:16:51.780Z] Removing intermediate container f4ff16849eca [2023-03-16T17:16:51.780Z] ---> eecaa19323c2 [2023-03-16T17:16:51.780Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:16:51.780Z] ---> Running in d6310743dd63 [2023-03-16T17:16:52.351Z] Removing intermediate container d6310743dd63 [2023-03-16T17:16:52.351Z] ---> 2e882733a1a8 [2023-03-16T17:16:52.351Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-03-16T17:16:52.351Z] ---> Running in 444b9c934102 [2023-03-16T17:16:52.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:52.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:52.871Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:16:53.440Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:16:53.440Z] (1/7) Installing curl (7.83.1-r6) [2023-03-16T17:16:53.440Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-16T17:16:53.440Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-16T17:16:53.440Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-16T17:16:54.007Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-16T17:16:54.007Z] (6/7) Installing libuuid (2.38-r1) [2023-03-16T17:16:54.007Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-16T17:16:54.943Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:16:54.943Z] OK: 275 MiB in 83 packages [2023-03-16T17:16:55.202Z] Removing intermediate container 444b9c934102 [2023-03-16T17:16:55.202Z] ---> a9612230a4df [2023-03-16T17:16:55.202Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-16T17:16:55.202Z] ---> fff9a72002aa [2023-03-16T17:16:55.202Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-16T17:16:55.461Z] ---> a3d59e671e78 [2023-03-16T17:16:55.461Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-16T17:16:55.461Z] ---> ad6556c3b5b0 [2023-03-16T17:16:55.461Z] Successfully built ad6556c3b5b0 [2023-03-16T17:16:55.461Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:16:55.820Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T17:16:55.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:16:55.895Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-03-16T17:16:55.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-450 -v /w/workspace/edgexfoundry_device-sdk-c_PR-450:/w/workspace/edgexfoundry_device-sdk-c_PR-450:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-450@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 ******** ci-base-image-x86_64 cat [2023-03-16T17:16:56.261Z] $ docker top b2e3823b498fd0e9d40256163d3bf5fd0fcec114ff85f7cf5463f9681b6359ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:16:56.600Z] + make test [2023-03-16T17:16:56.600Z] echo "make test" [2023-03-16T17:16:56.600Z] make test [Pipeline] } [2023-03-16T17:16:56.611Z] $ docker stop --time=1 b2e3823b498fd0e9d40256163d3bf5fd0fcec114ff85f7cf5463f9681b6359ea [2023-03-16T17:16:57.869Z] $ docker rm -f --volumes b2e3823b498fd0e9d40256163d3bf5fd0fcec114ff85f7cf5463f9681b6359ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:16:58.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T17:16:58.655Z] + ls -al . [2023-03-16T17:16:58.655Z] total 212 [2023-03-16T17:16:58.655Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 17:16 . [2023-03-16T17:16:58.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:15 .. [2023-03-16T17:16:58.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:16 .git [2023-03-16T17:16:58.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:15 .github [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 16 17:15 .gitignore [2023-03-16T17:16:58.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:16 .semver [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 16 17:15 Attribution.txt [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 16 17:15 CHANGES [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 16 17:15 Doxyfile [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:15 GOVERNANCE.md [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 16 17:15 Jenkinsfile [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 17:15 LICENSE [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 16 17:15 Makefile [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 17:15 OWNERS.md [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 16 17:15 README.IOT.md [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 16 17:15 README.md [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 16 17:15 README.v3.md [2023-03-16T17:16:58.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 17:16 VERSION [2023-03-16T17:16:58.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:15 docs [2023-03-16T17:16:58.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:15 include [2023-03-16T17:16:58.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:15 scripts [2023-03-16T17:16:58.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:16:58.955Z] + 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=45372aa55bed723e31238cf25f1488d3fdf97aa1 --label arch=amd64 --label version=0.0.0 . [2023-03-16T17:16:58.955Z] Sending build context to Docker daemon 4.805MB [2023-03-16T17:16:58.955Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-16T17:16:58.955Z] Step 2/17 : FROM ${BASE} [2023-03-16T17:16:58.955Z] ---> ad6556c3b5b0 [2023-03-16T17:16:58.955Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-16T17:16:58.955Z] ---> Running in a2cd8e0f664b [2023-03-16T17:16:59.214Z] Removing intermediate container a2cd8e0f664b [2023-03-16T17:16:59.214Z] ---> b0f1520587dd [2023-03-16T17:16:59.214Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:16:59.214Z] ---> Running in d0df3fc455d5 [2023-03-16T17:16:59.473Z] Connecting to iotech.jfrog.io (34.242.55.152:443) [2023-03-16T17:16:59.733Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:16:59.733Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:16:59.733Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:16:59.992Z] Removing intermediate container d0df3fc455d5 [2023-03-16T17:16:59.992Z] ---> 2cbdb5ed7668 [2023-03-16T17:16:59.992Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:16:59.992Z] ---> Running in 22aa99bb26a1 [2023-03-16T17:17:00.558Z] Removing intermediate container 22aa99bb26a1 [2023-03-16T17:17:00.558Z] ---> 3faba6ead5e5 [2023-03-16T17:17:00.558Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-16T17:17:00.558Z] ---> Running in 5dc7c5452a06 [2023-03-16T17:17:00.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:17:00.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-16T17:17:01.077Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-16T17:17:01.644Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:17:01.644Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-16T17:17:01.904Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-16T17:17:01.904Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-16T17:17:01.904Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-16T17:17:01.904Z] (5/9) Installing libblkid (2.38-r1) [2023-03-16T17:17:01.904Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-16T17:17:01.904Z] (7/9) Installing libmount (2.38-r1) [2023-03-16T17:17:01.904Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-16T17:17:01.904Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-16T17:17:01.904Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:17:01.904Z] OK: 281 MiB in 92 packages [2023-03-16T17:17:02.472Z] Removing intermediate container 5dc7c5452a06 [2023-03-16T17:17:02.472Z] ---> e0e73b20178d [2023-03-16T17:17:02.472Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-16T17:17:02.472Z] ---> af785b2b47c2 [2023-03-16T17:17:02.472Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-16T17:17:02.732Z] ---> e14b2bdf7f24 [2023-03-16T17:17:02.732Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-16T17:17:02.991Z] ---> 54edba39b3a8 [2023-03-16T17:17:02.991Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-16T17:17:02.991Z] ---> cbb9f56dc023 [2023-03-16T17:17:02.991Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-16T17:17:03.251Z] ---> 97faaeb1817c [2023-03-16T17:17:03.251Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-16T17:17:03.251Z] ---> f48169debe42 [2023-03-16T17:17:03.251Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-16T17:17:03.251Z] ---> Running in b22ac5ca9d96 [2023-03-16T17:17:03.251Z] Removing intermediate container b22ac5ca9d96 [2023-03-16T17:17:03.251Z] ---> 802698c27ea2 [2023-03-16T17:17:03.251Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-16T17:17:03.512Z] ---> Running in f84ee09f5caa [2023-03-16T17:17:03.512Z] Removing intermediate container f84ee09f5caa [2023-03-16T17:17:03.512Z] ---> d8adf6dba0ac [2023-03-16T17:17:03.512Z] Step 15/17 : LABEL arch=amd64 [2023-03-16T17:17:03.512Z] ---> Running in b42601c34ac6 [2023-03-16T17:17:03.512Z] Removing intermediate container b42601c34ac6 [2023-03-16T17:17:03.512Z] ---> 6cb3b4ba31a0 [2023-03-16T17:17:03.512Z] Step 16/17 : LABEL git_sha=45372aa55bed723e31238cf25f1488d3fdf97aa1 [2023-03-16T17:17:03.512Z] ---> Running in fd9e7651fe0d [2023-03-16T17:17:03.512Z] Removing intermediate container fd9e7651fe0d [2023-03-16T17:17:03.512Z] ---> 2bd7d88fb971 [2023-03-16T17:17:03.512Z] Step 17/17 : LABEL version=0.0.0 [2023-03-16T17:17:03.773Z] ---> Running in 8a2fd7e1cdb5 [2023-03-16T17:17:03.773Z] Removing intermediate container 8a2fd7e1cdb5 [2023-03-16T17:17:03.773Z] ---> 38422868d20b [2023-03-16T17:17:03.773Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-16T17:17:03.773Z] Successfully built 38422868d20b [2023-03-16T17:17:03.773Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:17:04.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:17:04.204Z] [2023-03-16T17:17:04.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:17:04.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:17:04.504Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T17:17:04.504Z] 5eb5b503b376: Pulling fs layer [2023-03-16T17:17:04.504Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T17:17:04.504Z] ec43610c2a17: Pulling fs layer [2023-03-16T17:17:04.504Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T17:17:04.504Z] 33b1e0a273af: Pulling fs layer [2023-03-16T17:17:04.504Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T17:17:04.504Z] 2f39f015ded8: Pulling fs layer [2023-03-16T17:17:04.504Z] 33b1e0a273af: Waiting [2023-03-16T17:17:04.504Z] 5d3b04190fa2: Waiting [2023-03-16T17:17:04.504Z] 2f39f015ded8: Waiting [2023-03-16T17:17:04.504Z] 3a2ae6a8a46f: Waiting [2023-03-16T17:17:04.504Z] 5c69ac0246d0: Download complete [2023-03-16T17:17:04.504Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T17:17:04.504Z] 3a2ae6a8a46f: Download complete [2023-03-16T17:17:04.765Z] 33b1e0a273af: Verifying Checksum [2023-03-16T17:17:04.765Z] 33b1e0a273af: Download complete [2023-03-16T17:17:04.765Z] ec43610c2a17: Verifying Checksum [2023-03-16T17:17:04.765Z] ec43610c2a17: Download complete [2023-03-16T17:17:04.765Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T17:17:04.765Z] 5d3b04190fa2: Download complete [2023-03-16T17:17:04.765Z] 5eb5b503b376: Verifying Checksum [2023-03-16T17:17:04.765Z] 5eb5b503b376: Download complete [2023-03-16T17:17:05.334Z] 2f39f015ded8: Verifying Checksum [2023-03-16T17:17:05.334Z] 2f39f015ded8: Download complete [2023-03-16T17:17:05.902Z] 5eb5b503b376: Pull complete [2023-03-16T17:17:06.162Z] 5c69ac0246d0: Pull complete [2023-03-16T17:17:06.420Z] ec43610c2a17: Pull complete [2023-03-16T17:17:06.678Z] 3a2ae6a8a46f: Pull complete [2023-03-16T17:17:06.678Z] 33b1e0a273af: Pull complete [2023-03-16T17:17:06.936Z] 5d3b04190fa2: Pull complete [2023-03-16T17:17:11.122Z] 2f39f015ded8: Pull complete [2023-03-16T17:17:11.122Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T17:17:11.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:17:11.122Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:17:11.192Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-03-16T17:17:11.222Z] $ 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-450 -v /w/workspace/edgexfoundry_device-sdk-c_PR-450:/w/workspace/edgexfoundry_device-sdk-c_PR-450:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-450@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T17:17:14.581Z] $ docker top 19705226e98e5137c889c43f1e7dd96d6e913b106618573e3ff9c655fa75f83f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:17:14.947Z] ---> job-cost.sh [2023-03-16T17:17:14.947Z] lf-activate-venv: SKIPPING [2023-03-16T17:17:14.947Z] INFO: No Stack... [2023-03-16T17:17:15.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T17:17:15.466Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T17:17:15.753Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives/cost.csv [2023-03-16T17:17:15.753Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T17:17:15.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [2023-03-16T17:17:15.773Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] did not exist. Created. [2023-03-16T17:17:15.773Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T17:17:16.067Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T17:17:16.111Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T17:17:16.117Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T17:17:16.132Z] $ docker stop --time=1 19705226e98e5137c889c43f1e7dd96d6e913b106618573e3ff9c655fa75f83f [2023-03-16T17:17:17.306Z] $ docker rm -f --volumes 19705226e98e5137c889c43f1e7dd96d6e913b106618573e3ff9c655fa75f83f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T17:18:16.877Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2489 in /w/workspace/edgexfoundry_device-sdk-c_PR-450 [Pipeline] { [Pipeline] ws [2023-03-16T17:18:16.889Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-03-16T17:18:16.918Z] Selected Git installation does not exist. Using Default [2023-03-16T17:18:16.919Z] The recommended git tool is: NONE [2023-03-16T17:18:22.208Z] using credential edgex-jenkins-ssh [2023-03-16T17:18:22.229Z] Cloning the remote Git repository [2023-03-16T17:18:22.275Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-16T17:18:22.373Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-03-16T17:18:22.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-16T17:18:22.523Z] > git --version # timeout=10 [2023-03-16T17:18:22.546Z] > git --version # 'git version 2.25.1' [2023-03-16T17:18:22.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:18:22.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T17:18:23.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-16T17:18:23.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T17:18:25.272Z] Merging remotes/origin/main commit c501188f4a78ac3dadda58092e8196eb77e7373e into PR head commit 45372aa55bed723e31238cf25f1488d3fdf97aa1 [2023-03-16T17:18:25.590Z] Merge succeeded, producing 45372aa55bed723e31238cf25f1488d3fdf97aa1 [2023-03-16T17:18:25.590Z] Checking out Revision 45372aa55bed723e31238cf25f1488d3fdf97aa1 (PR-450) [2023-03-16T17:18:24.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-16T17:18:24.683Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-16T17:18:24.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:18:24.700Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T17:18:25.289Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T17:18:25.358Z] > git checkout -f 45372aa55bed723e31238cf25f1488d3fdf97aa1 # timeout=10 [2023-03-16T17:18:25.487Z] > git remote # timeout=10 [2023-03-16T17:18:25.508Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T17:18:25.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T17:18:25.542Z] > git merge c501188f4a78ac3dadda58092e8196eb77e7373e # timeout=10 [2023-03-16T17:18:25.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T17:18:25.595Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T17:18:25.611Z] > git checkout -f 45372aa55bed723e31238cf25f1488d3fdf97aa1 # timeout=10 [2023-03-16T17:18:29.142Z] Commit message: "docs: Add installation instructions for IOT utilities" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:18:30.009Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T17:18:30.009Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T17:18:30.009Z] Dload Upload Total Spent Left Speed [2023-03-16T17:18:30.009Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 65056 0 --:--:-- --:--:-- --:--:-- 65056 100 12751 100 12751 0 0 64725 0 --:--:-- --:--:-- --:--:-- 64725 [Pipeline] sh [2023-03-16T17:18:30.809Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T17:18:31.148Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T17:18:31.148Z] + sudo tee /etc/docker/daemon.new [2023-03-16T17:18:31.148Z] { [2023-03-16T17:18:31.148Z] "registry-mirrors": [ [2023-03-16T17:18:31.148Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T17:18:31.148Z] ], [2023-03-16T17:18:31.148Z] "bip": "10.250.0.254/24", [2023-03-16T17:18:31.148Z] "hosts": [ [2023-03-16T17:18:31.148Z] "tcp://0.0.0.0:5555", [2023-03-16T17:18:31.148Z] "unix:///var/run/docker.sock" [2023-03-16T17:18:31.148Z] ], [2023-03-16T17:18:31.148Z] "mtu": 1458, [2023-03-16T17:18:31.148Z] "selinux-enabled": true, [2023-03-16T17:18:31.148Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T17:18:31.148Z] } [Pipeline] sh [2023-03-16T17:18:31.478Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T17:18:31.812Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:18:50.083Z] provisioning config files... [2023-03-16T17:18:50.111Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config3087175100568682142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:18:50.465Z] ---> docker-login.sh [2023-03-16T17:18:50.465Z] nexus3.edgexfoundry.org:10001 [2023-03-16T17:18:50.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:18:51.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:18:51.330Z] Configure a credential helper to remove this warning. See [2023-03-16T17:18:51.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:18:51.330Z] [2023-03-16T17:18:51.330Z] Login Succeeded [2023-03-16T17:18:51.330Z] nexus3.edgexfoundry.org:10002 [2023-03-16T17:18:51.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:18:51.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:18:51.603Z] Configure a credential helper to remove this warning. See [2023-03-16T17:18:51.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:18:51.603Z] [2023-03-16T17:18:51.603Z] Login Succeeded [2023-03-16T17:18:51.603Z] nexus3.edgexfoundry.org:10003 [2023-03-16T17:18:51.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:18:51.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:18:51.876Z] Configure a credential helper to remove this warning. See [2023-03-16T17:18:51.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:18:51.876Z] [2023-03-16T17:18:51.876Z] Login Succeeded [2023-03-16T17:18:51.876Z] nexus3.edgexfoundry.org:10004 [2023-03-16T17:18:52.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:18:52.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:18:52.146Z] Configure a credential helper to remove this warning. See [2023-03-16T17:18:52.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:18:52.146Z] [2023-03-16T17:18:52.146Z] Login Succeeded [2023-03-16T17:18:52.146Z] docker.io [2023-03-16T17:18:52.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T17:18:52.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T17:18:52.689Z] Configure a credential helper to remove this warning. See [2023-03-16T17:18:52.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T17:18:52.689Z] [2023-03-16T17:18:52.689Z] Login Succeeded [2023-03-16T17:18:52.958Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T17:18:52.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T17:18:53.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:18:53.244Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-16T17:18:53.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T17:18:53.264Z] ========================================================= [2023-03-16T17:18:53.264Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-16T17:18:53.264Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:18:53.597Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-03-16T17:18:53.867Z] Sending build context to Docker daemon 2.893MB [2023-03-16T17:18:53.867Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-16T17:18:53.867Z] Step 2/21 : FROM ${BASE} as builder [2023-03-16T17:18:54.137Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-16T17:18:54.137Z] 9b18e9b68314: Pulling fs layer [2023-03-16T17:18:54.137Z] 1def92ead452: Pulling fs layer [2023-03-16T17:18:54.137Z] 9b18e9b68314: Verifying Checksum [2023-03-16T17:18:54.137Z] 9b18e9b68314: Download complete [2023-03-16T17:18:54.731Z] 9b18e9b68314: Pull complete [2023-03-16T17:18:56.686Z] 1def92ead452: Verifying Checksum [2023-03-16T17:18:56.686Z] 1def92ead452: Download complete [2023-03-16T17:19:04.914Z] 1def92ead452: Pull complete [2023-03-16T17:19:04.914Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-16T17:19:04.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-16T17:19:04.914Z] ---> 9a9802766715 [2023-03-16T17:19:04.914Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:19:05.510Z] ---> Running in 8939843b00f4 [2023-03-16T17:19:06.485Z] Connecting to iotech.jfrog.io (63.32.141.158:443) [2023-03-16T17:19:07.072Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:19:07.072Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:19:07.072Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:19:07.666Z] Removing intermediate container 8939843b00f4 [2023-03-16T17:19:07.666Z] ---> 7047d2afcc0b [2023-03-16T17:19:07.666Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:19:07.666Z] ---> Running in 38f97a1c01e1 [2023-03-16T17:19:09.637Z] Removing intermediate container 38f97a1c01e1 [2023-03-16T17:19:09.637Z] ---> 23925778dd93 [2023-03-16T17:19:09.637Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-16T17:19:09.637Z] ---> Running in 2f8a971361a9 [2023-03-16T17:19:10.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:19:10.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:19:11.090Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:19:12.051Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:19:12.051Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-16T17:19:12.051Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-16T17:19:12.051Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-16T17:19:12.637Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-16T17:19:12.904Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-16T17:19:12.904Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-16T17:19:12.904Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-16T17:19:12.904Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-16T17:19:13.875Z] (9/14) Installing libblkid (2.38-r1) [2023-03-16T17:19:13.875Z] (10/14) Installing libuuid (2.38-r1) [2023-03-16T17:19:13.875Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-16T17:19:13.875Z] (12/14) Installing libmount (2.38-r1) [2023-03-16T17:19:13.875Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-16T17:19:13.875Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-16T17:19:14.142Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:19:14.142Z] OK: 286 MiB in 90 packages [2023-03-16T17:19:15.557Z] Removing intermediate container 2f8a971361a9 [2023-03-16T17:19:15.557Z] ---> 8769ce86e5e0 [2023-03-16T17:19:15.557Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-16T17:19:15.557Z] ---> Running in 731c74e63bb9 [2023-03-16T17:19:16.971Z] Removing intermediate container 731c74e63bb9 [2023-03-16T17:19:16.971Z] ---> a7da371108c8 [2023-03-16T17:19:16.971Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-16T17:19:17.556Z] ---> d22cf6a16a9c [2023-03-16T17:19:17.556Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-16T17:19:18.141Z] ---> e519cfbf2da6 [2023-03-16T17:19:18.141Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-16T17:19:18.745Z] ---> c2df9bcd9d0e [2023-03-16T17:19:18.745Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-16T17:19:19.338Z] ---> 0d3305fb0388 [2023-03-16T17:19:19.338Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-16T17:19:19.926Z] ---> 7c3424dfc89f [2023-03-16T17:19:19.926Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-16T17:19:20.199Z] ---> 1d94a273e520 [2023-03-16T17:19:20.199Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-16T17:19:20.469Z] ---> Running in 6f348fb823ad [2023-03-16T17:19:21.434Z] + CPPCHECK=false [2023-03-16T17:19:21.434Z] + DOCGEN=false [2023-03-16T17:19:21.434Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-16T17:19:21.434Z] + TOMLVER=SDK-0.2 [2023-03-16T17:19:21.434Z] + CUTILVER=1.4 [2023-03-16T17:19:21.434Z] + '[' 0 -gt 0 ] [2023-03-16T17:19:21.434Z] + readlink -f ./scripts/build.sh [2023-03-16T17:19:21.434Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-16T17:19:21.434Z] + dirname /tmp/sdk/scripts [2023-03-16T17:19:21.434Z] + ROOT=/tmp/sdk [2023-03-16T17:19:21.434Z] + cd /tmp/sdk [2023-03-16T17:19:21.434Z] + '[' '!' -d deps ] [2023-03-16T17:19:21.434Z] + mkdir deps [2023-03-16T17:19:21.434Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-16T17:19:21.434Z] + tar -C deps -z -x -f - [2023-03-16T17:19:21.434Z] Connecting to github.com (140.82.114.4:443) [2023-03-16T17:19:21.434Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-03-16T17:19:21.700Z] writing to stdout [2023-03-16T17:19:22.283Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-16T17:19:22.283Z] written to stdout [2023-03-16T17:19:22.283Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-16T17:19:22.283Z] + mkdir -p /tmp/sdk/build/release [2023-03-16T17:19:22.283Z] + cd /tmp/sdk/build/release [2023-03-16T17:19:22.283Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-16T17:19:22.550Z] -- The C compiler identification is GNU 11.2.1 [2023-03-16T17:19:22.550Z] -- Detecting C compiler ABI info [2023-03-16T17:19:22.817Z] -- Detecting C compiler ABI info - done [2023-03-16T17:19:23.086Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-16T17:19:23.086Z] -- Detecting C compile features [2023-03-16T17:19:23.086Z] -- Detecting C compile features - done [2023-03-16T17:19:23.086Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-16T17:19:23.353Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-16T17:19:23.353Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-16T17:19:23.353Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-16T17:19:23.353Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-16T17:19:23.353Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-16T17:19:23.353Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-16T17:19:23.353Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-16T17:19:23.353Z] -- /opt/iotech/iot/1.5/include [2023-03-16T17:19:23.353Z] -- C SDK 0.0.0 for Linux [2023-03-16T17:19:23.353Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-16T17:19:23.622Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-16T17:19:23.889Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-16T17:19:23.889Z] -- Configuring done [2023-03-16T17:19:24.158Z] -- Generating done [2023-03-16T17:19:24.158Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-16T17:19:24.158Z] + + maketee all release.log package [2023-03-16T17:19:24.158Z] [2023-03-16T17:19:24.426Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-16T17:19:25.389Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-16T17:19:26.351Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-16T17:19:27.310Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-16T17:19:28.269Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-16T17:19:28.853Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-16T17:19:32.198Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-16T17:19:33.156Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-16T17:19:33.422Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-16T17:19:34.382Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-16T17:19:36.962Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-16T17:19:37.547Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-16T17:19:38.956Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-16T17:19:39.541Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-16T17:19:40.122Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-16T17:19:40.391Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-16T17:19:44.659Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-16T17:19:44.659Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-16T17:19:45.618Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-16T17:19:47.023Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-16T17:19:53.677Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-16T17:19:53.678Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-16T17:19:53.678Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-16T17:19:54.262Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-16T17:19:54.845Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-16T17:19:56.787Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-16T17:19:59.377Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-16T17:19:59.644Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-16T17:20:01.050Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-16T17:20:01.631Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-16T17:20:04.971Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-16T17:20:10.307Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-16T17:20:10.891Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-16T17:20:11.158Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-16T17:20:12.117Z] [ 68%] Linking C shared library libcsdk.so [2023-03-16T17:20:12.117Z] [ 68%] Built target csdk [2023-03-16T17:20:12.117Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-16T17:20:13.526Z] [ 72%] Linking C executable template [2023-03-16T17:20:13.526Z] [ 72%] Built target template [2023-03-16T17:20:13.526Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-16T17:20:14.108Z] [ 76%] Linking C executable device-counter [2023-03-16T17:20:14.376Z] [ 76%] Built target device-counter [2023-03-16T17:20:14.643Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-16T17:20:15.226Z] [ 80%] Linking C executable device-random [2023-03-16T17:20:15.494Z] [ 80%] Built target device-random [2023-03-16T17:20:15.494Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-16T17:20:16.080Z] [ 84%] Linking C executable device-gyro [2023-03-16T17:20:16.664Z] [ 84%] Built target device-gyro [2023-03-16T17:20:16.664Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-16T17:20:17.248Z] [ 88%] Linking C executable device-bitfields [2023-03-16T17:20:17.515Z] [ 88%] Built target device-bitfields [2023-03-16T17:20:17.515Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-16T17:20:18.479Z] [ 92%] Linking C executable template-discovery [2023-03-16T17:20:18.756Z] [ 92%] Built target template-discovery [2023-03-16T17:20:19.024Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-16T17:20:19.607Z] [ 96%] Linking C executable device-file [2023-03-16T17:20:20.192Z] [ 96%] Built target device-file [2023-03-16T17:20:20.192Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-16T17:20:20.780Z] [100%] Linking C executable device-terminal [2023-03-16T17:20:21.365Z] [100%] Built target device-terminal [2023-03-16T17:20:21.365Z] Run CPack packaging tool... [2023-03-16T17:20:21.365Z] CPack: Create package using TGZ [2023-03-16T17:20:21.365Z] CPack: Install projects [2023-03-16T17:20:21.365Z] CPack: - Run preinstall target for: Csdk [2023-03-16T17:20:22.325Z] CPack: - Install project: Csdk [] [2023-03-16T17:20:22.325Z] CPack: Create package [2023-03-16T17:20:22.325Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-16T17:20:22.325Z] + '[' false '=' true ] [2023-03-16T17:20:22.325Z] + '[' false '=' true ] [2023-03-16T17:20:22.325Z] + mkdir -p /tmp/sdk/build/debug [2023-03-16T17:20:22.325Z] + cd /tmp/sdk/build/debug [2023-03-16T17:20:22.325Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-16T17:20:22.592Z] -- The C compiler identification is GNU 11.2.1 [2023-03-16T17:20:22.592Z] -- Detecting C compiler ABI info [2023-03-16T17:20:22.858Z] -- Detecting C compiler ABI info - done [2023-03-16T17:20:23.126Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-16T17:20:23.126Z] -- Detecting C compile features [2023-03-16T17:20:23.126Z] -- Detecting C compile features - done [2023-03-16T17:20:23.126Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-16T17:20:23.126Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-16T17:20:23.126Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-16T17:20:23.391Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-16T17:20:23.391Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-16T17:20:23.391Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-16T17:20:23.391Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-16T17:20:23.391Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-16T17:20:23.391Z] -- /opt/iotech/iot/1.5/include [2023-03-16T17:20:23.391Z] -- C SDK 0.0.0 for Linux [2023-03-16T17:20:23.391Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-16T17:20:23.659Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-16T17:20:23.928Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-16T17:20:23.928Z] -- Configuring done [2023-03-16T17:20:24.196Z] -- Generating done [2023-03-16T17:20:24.196Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-16T17:20:24.196Z] + make [2023-03-16T17:20:24.196Z] + tee debug.log [2023-03-16T17:20:24.465Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-16T17:20:25.049Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-16T17:20:25.317Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-16T17:20:25.899Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-16T17:20:26.168Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-16T17:20:26.751Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-16T17:20:27.713Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-16T17:20:28.297Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-16T17:20:28.297Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-16T17:20:28.883Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-16T17:20:29.843Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-16T17:20:30.111Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-16T17:20:30.692Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-16T17:20:31.223Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-16T17:20:31.490Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-16T17:20:31.756Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-16T17:20:32.719Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-16T17:20:32.985Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-16T17:20:33.252Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-16T17:20:34.211Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-16T17:20:35.614Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-16T17:20:35.880Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-16T17:20:36.147Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-16T17:20:36.731Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-16T17:20:36.997Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-16T17:20:37.577Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-16T17:20:39.516Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-16T17:20:39.781Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-16T17:20:40.363Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-16T17:20:40.630Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-16T17:20:41.587Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-16T17:20:42.546Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-16T17:20:43.127Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-16T17:20:43.392Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-16T17:20:43.658Z] [ 68%] Linking C shared library libcsdk.so [2023-03-16T17:20:43.924Z] [ 68%] Built target csdk [2023-03-16T17:20:43.924Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-16T17:20:44.504Z] [ 72%] Linking C executable template [2023-03-16T17:20:44.769Z] [ 72%] Built target template [2023-03-16T17:20:44.769Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-16T17:20:45.035Z] [ 76%] Linking C executable device-counter [2023-03-16T17:20:45.619Z] [ 76%] Built target device-counter [2023-03-16T17:20:45.619Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-16T17:20:45.884Z] [ 80%] Linking C executable device-random [2023-03-16T17:20:46.150Z] [ 80%] Built target device-random [2023-03-16T17:20:46.150Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-16T17:20:46.415Z] [ 84%] Linking C executable device-gyro [2023-03-16T17:20:46.682Z] [ 84%] Built target device-gyro [2023-03-16T17:20:46.948Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-16T17:20:47.214Z] [ 88%] Linking C executable device-bitfields [2023-03-16T17:20:47.480Z] [ 88%] Built target device-bitfields [2023-03-16T17:20:47.480Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-16T17:20:48.063Z] [ 92%] Linking C executable template-discovery [2023-03-16T17:20:48.330Z] [ 92%] Built target template-discovery [2023-03-16T17:20:48.330Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-16T17:20:48.597Z] [ 96%] Linking C executable device-file [2023-03-16T17:20:48.871Z] [ 96%] Built target device-file [2023-03-16T17:20:49.139Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-16T17:20:49.405Z] [100%] Linking C executable device-terminal [2023-03-16T17:20:49.671Z] [100%] Built target device-terminal [2023-03-16T17:20:49.937Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] [ 68%] Built target csdk [2023-03-16T17:20:49.937Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] [ 72%] Built target template [2023-03-16T17:20:49.937Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:49.937Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 76%] Built target device-counter [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 80%] Built target device-random [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 84%] Built target device-gyro [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 88%] Built target device-bitfields [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 92%] Built target template-discovery [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.202Z] [ 96%] Built target device-file [2023-03-16T17:20:50.202Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.468Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.468Z] [100%] Built target device-terminal [2023-03-16T17:20:50.468Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:50.468Z] Install the project... [2023-03-16T17:20:50.468Z] -- Install configuration: "Release" [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-16T17:20:50.468Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/devsdk [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-16T17:20:50.468Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-16T17:20:50.468Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-16T17:20:51.874Z] Removing intermediate container 6f348fb823ad [2023-03-16T17:20:51.874Z] ---> ce27f8481357 [2023-03-16T17:20:51.874Z] Step 14/21 : FROM ${BASE} [2023-03-16T17:20:51.874Z] ---> 9a9802766715 [2023-03-16T17:20:51.874Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-16T17:20:51.874Z] ---> Running in b2b7a9958382 [2023-03-16T17:20:52.142Z] Removing intermediate container b2b7a9958382 [2023-03-16T17:20:52.142Z] ---> c27bac2dd92a [2023-03-16T17:20:52.142Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:20:52.142Z] ---> Running in d0e834f37106 [2023-03-16T17:20:53.103Z] Connecting to iotech.jfrog.io (52.49.145.60:443) [2023-03-16T17:20:53.687Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:20:53.687Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:20:53.687Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:20:54.275Z] Removing intermediate container d0e834f37106 [2023-03-16T17:20:54.275Z] ---> dd87cd1dc926 [2023-03-16T17:20:54.275Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:20:54.275Z] ---> Running in 77045c472a06 [2023-03-16T17:20:58.524Z] Removing intermediate container 77045c472a06 [2023-03-16T17:20:58.524Z] ---> c3f599004837 [2023-03-16T17:20:58.524Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-03-16T17:20:58.524Z] ---> Running in 0d9c1da0e862 [2023-03-16T17:20:59.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:20:59.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:20:59.957Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:21:00.539Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:21:00.539Z] (1/7) Installing curl (7.83.1-r6) [2023-03-16T17:21:00.539Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-16T17:21:00.539Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-16T17:21:00.539Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-16T17:21:01.496Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-16T17:21:01.496Z] (6/7) Installing libuuid (2.38-r1) [2023-03-16T17:21:01.496Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-16T17:21:02.451Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:21:02.451Z] OK: 281 MiB in 83 packages [2023-03-16T17:21:03.407Z] Removing intermediate container 0d9c1da0e862 [2023-03-16T17:21:03.407Z] ---> 4a046019bb78 [2023-03-16T17:21:03.407Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-16T17:21:03.672Z] ---> 27828fa38c04 [2023-03-16T17:21:03.672Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-16T17:21:04.255Z] ---> c2bdf7ac61da [2023-03-16T17:21:04.255Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-16T17:21:04.836Z] ---> 3b6e108638a8 [2023-03-16T17:21:04.836Z] Successfully built 3b6e108638a8 [2023-03-16T17:21:04.836Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:21:05.235Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T17:21:05.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:21:05.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-2489 does not seem to be running inside a container [2023-03-16T17:21:05.484Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-16T17:21:06.615Z] $ docker top 188336358b2dba89007c96b80757399583e0f2a6013a9cabd6054d2745f9457c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:21:07.485Z] + make test [2023-03-16T17:21:07.485Z] echo "make test" [2023-03-16T17:21:07.485Z] make test [Pipeline] } [2023-03-16T17:21:07.514Z] $ docker stop --time=1 188336358b2dba89007c96b80757399583e0f2a6013a9cabd6054d2745f9457c [2023-03-16T17:21:11.188Z] $ docker rm -f --volumes 188336358b2dba89007c96b80757399583e0f2a6013a9cabd6054d2745f9457c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T17:21:11.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T17:21:12.066Z] + ls -al . [2023-03-16T17:21:12.066Z] total 208 [2023-03-16T17:21:12.066Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:18 . [2023-03-16T17:21:12.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:18 .. [2023-03-16T17:21:12.066Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 17:18 .git [2023-03-16T17:21:12.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:18 .github [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 16 17:18 .gitignore [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 16 17:18 Attribution.txt [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 16 17:18 CHANGES [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 16 17:18 Doxyfile [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 17:18 GOVERNANCE.md [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 16 17:18 Jenkinsfile [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 17:18 LICENSE [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 16 17:18 Makefile [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 17:18 OWNERS.md [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 16 17:18 README.IOT.md [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 16 17:18 README.md [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 16 17:18 README.v3.md [2023-03-16T17:21:12.066Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 17:16 VERSION [2023-03-16T17:21:12.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:18 docs [2023-03-16T17:21:12.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:18 include [2023-03-16T17:21:12.066Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 17:18 scripts [2023-03-16T17:21:12.066Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 17:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:21:12.413Z] + 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=45372aa55bed723e31238cf25f1488d3fdf97aa1 --label arch=arm64 --label version=0.0.0 . [2023-03-16T17:21:12.691Z] Sending build context to Docker daemon 2.893MB [2023-03-16T17:21:12.691Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-16T17:21:12.691Z] Step 2/17 : FROM ${BASE} [2023-03-16T17:21:12.691Z] ---> 3b6e108638a8 [2023-03-16T17:21:12.691Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-16T17:21:12.964Z] ---> Running in 74450df1c203 [2023-03-16T17:21:13.259Z] Removing intermediate container 74450df1c203 [2023-03-16T17:21:13.259Z] ---> 74329228b7dd [2023-03-16T17:21:13.259Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-16T17:21:13.259Z] ---> Running in 20616facae04 [2023-03-16T17:21:14.264Z] Connecting to iotech.jfrog.io (34.240.134.226:443) [2023-03-16T17:21:14.843Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-16T17:21:14.843Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-16T17:21:14.843Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-16T17:21:15.424Z] Removing intermediate container 20616facae04 [2023-03-16T17:21:15.424Z] ---> 2a2d3a9ccea0 [2023-03-16T17:21:15.424Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-16T17:21:15.424Z] ---> Running in ab8a8c3680c1 [2023-03-16T17:21:16.832Z] Removing intermediate container ab8a8c3680c1 [2023-03-16T17:21:16.832Z] ---> 241cb5bc5ac4 [2023-03-16T17:21:16.832Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-16T17:21:17.099Z] ---> Running in 5d2daccddf59 [2023-03-16T17:21:18.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:21:18.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-16T17:21:18.633Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-16T17:21:19.586Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-16T17:21:19.586Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-16T17:21:19.850Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-16T17:21:19.850Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-16T17:21:20.119Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-16T17:21:20.119Z] (5/9) Installing libblkid (2.38-r1) [2023-03-16T17:21:20.119Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-16T17:21:20.119Z] (7/9) Installing libmount (2.38-r1) [2023-03-16T17:21:20.119Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-16T17:21:20.119Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-16T17:21:20.119Z] Executing busybox-1.35.0-r17.trigger [2023-03-16T17:21:20.119Z] OK: 287 MiB in 92 packages [2023-03-16T17:21:21.523Z] Removing intermediate container 5d2daccddf59 [2023-03-16T17:21:21.523Z] ---> 2497817dc0dd [2023-03-16T17:21:21.523Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-16T17:21:23.460Z] ---> 51c7c9a70901 [2023-03-16T17:21:23.460Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-16T17:21:24.419Z] ---> 8212ad635712 [2023-03-16T17:21:24.419Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-16T17:21:24.688Z] ---> 154f3b2c4359 [2023-03-16T17:21:24.688Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-16T17:21:25.269Z] ---> 918d3b87d5b0 [2023-03-16T17:21:25.269Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-16T17:21:25.851Z] ---> 7ea970ed75ac [2023-03-16T17:21:25.851Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-16T17:21:26.118Z] ---> c2d6ba83e6d4 [2023-03-16T17:21:26.118Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-16T17:21:26.385Z] ---> Running in 21d2f7b20107 [2023-03-16T17:21:26.664Z] Removing intermediate container 21d2f7b20107 [2023-03-16T17:21:26.664Z] ---> 2d8dd8ba5523 [2023-03-16T17:21:26.664Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-16T17:21:26.664Z] ---> Running in 948132f5c59c [2023-03-16T17:21:26.931Z] Removing intermediate container 948132f5c59c [2023-03-16T17:21:26.931Z] ---> 27997eb63578 [2023-03-16T17:21:26.931Z] Step 15/17 : LABEL arch=arm64 [2023-03-16T17:21:26.931Z] ---> Running in 9ce6a15679f4 [2023-03-16T17:21:27.197Z] Removing intermediate container 9ce6a15679f4 [2023-03-16T17:21:27.197Z] ---> 1d5ff86ae216 [2023-03-16T17:21:27.197Z] Step 16/17 : LABEL git_sha=45372aa55bed723e31238cf25f1488d3fdf97aa1 [2023-03-16T17:21:27.463Z] ---> Running in 22657e94363a [2023-03-16T17:21:27.727Z] Removing intermediate container 22657e94363a [2023-03-16T17:21:27.727Z] ---> bed6abb423c4 [2023-03-16T17:21:27.727Z] Step 17/17 : LABEL version=0.0.0 [2023-03-16T17:21:27.727Z] ---> Running in 38b6c36ea5ae [2023-03-16T17:21:27.990Z] Removing intermediate container 38b6c36ea5ae [2023-03-16T17:21:27.990Z] ---> 3c39d003c2ed [2023-03-16T17:21:27.990Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-03-16T17:21:27.990Z] Successfully built 3c39d003c2ed [2023-03-16T17:21:27.990Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:21:28.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:21:28.409Z] [2023-03-16T17:21:28.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:21:28.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:21:28.733Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T17:21:28.733Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T17:21:28.733Z] 04944245beec: Pulling fs layer [2023-03-16T17:21:28.733Z] 699f458cf7ca: Pulling fs layer [2023-03-16T17:21:28.733Z] 765212b225bb: Pulling fs layer [2023-03-16T17:21:28.733Z] f23df028b6ca: Pulling fs layer [2023-03-16T17:21:28.733Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T17:21:28.733Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T17:21:28.733Z] d65c8cfc05b1: Waiting [2023-03-16T17:21:28.733Z] 765212b225bb: Waiting [2023-03-16T17:21:28.733Z] 2437ff75d9bd: Waiting [2023-03-16T17:21:28.733Z] f23df028b6ca: Waiting [2023-03-16T17:21:28.999Z] 04944245beec: Verifying Checksum [2023-03-16T17:21:28.999Z] 04944245beec: Download complete [2023-03-16T17:21:28.999Z] 765212b225bb: Verifying Checksum [2023-03-16T17:21:28.999Z] 765212b225bb: Download complete [2023-03-16T17:21:28.999Z] f23df028b6ca: Verifying Checksum [2023-03-16T17:21:28.999Z] f23df028b6ca: Download complete [2023-03-16T17:21:28.999Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T17:21:28.999Z] d65c8cfc05b1: Download complete [2023-03-16T17:21:28.999Z] 699f458cf7ca: Verifying Checksum [2023-03-16T17:21:28.999Z] 699f458cf7ca: Download complete [2023-03-16T17:21:29.579Z] 8998bd30e6a1: Download complete [2023-03-16T17:21:31.515Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T17:21:31.515Z] 2437ff75d9bd: Download complete [2023-03-16T17:21:32.918Z] 8998bd30e6a1: Pull complete [2023-03-16T17:21:33.184Z] 04944245beec: Pull complete [2023-03-16T17:21:34.598Z] 699f458cf7ca: Pull complete [2023-03-16T17:21:34.598Z] 765212b225bb: Pull complete [2023-03-16T17:21:37.165Z] f23df028b6ca: Pull complete [2023-03-16T17:21:37.430Z] d65c8cfc05b1: Pull complete [2023-03-16T17:21:49.719Z] 2437ff75d9bd: Pull complete [2023-03-16T17:21:49.720Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T17:21:49.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T17:21:49.720Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:21:49.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-2489 does not seem to be running inside a container [2023-03-16T17:21:49.944Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T17:21:52.335Z] $ docker top 30398876caebc17252f41a2a285d6577ff276c581457b737b04131e5d063253c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:21:53.152Z] ---> job-cost.sh [2023-03-16T17:21:53.152Z] lf-activate-venv: SKIPPING [2023-03-16T17:21:53.152Z] INFO: No Stack... [2023-03-16T17:21:53.419Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T17:21:54.374Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T17:21:55.003Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-03-16T17:21:55.003Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T17:21:55.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [2023-03-16T17:21:55.064Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] did not exist. Created. [2023-03-16T17:21:55.064Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T17:21:55.400Z] /w/workspace/device-sdk-c/2@tmp/durable-ea0a6afc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T17:21:55.732Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T17:21:55.754Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T17:21:56.163Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T17:21:56.170Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-450-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T17:21:56.183Z] $ docker stop --time=1 30398876caebc17252f41a2a285d6577ff276c581457b737b04131e5d063253c [2023-03-16T17:21:57.656Z] $ docker rm -f --volumes 30398876caebc17252f41a2a285d6577ff276c581457b737b04131e5d063253c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T17:21:58.339Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives ] [2023-03-16T17:21:58.339Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives [2023-03-16T17:21:58.339Z] total 16 [2023-03-16T17:21:58.339Z] drwxr-xr-x 3 root root 4096 Mar 16 17:17 . [2023-03-16T17:21:58.339Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 17:17 .. [2023-03-16T17:21:58.339Z] drwxr-xr-x 2 root root 4096 Mar 16 17:17 cost [2023-03-16T17:21:58.339Z] -rw-r--r-- 1 root root 84 Mar 16 17:17 cost.csv [2023-03-16T17:21:58.339Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives [2023-03-16T17:21:58.339Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives [2023-03-16T17:21:58.339Z] total 16 [2023-03-16T17:21:58.339Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 17:17 . [2023-03-16T17:21:58.339Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 17:17 .. [2023-03-16T17:21:58.339Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 17:17 cost [2023-03-16T17:21:58.339Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 16 17:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:21:58.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:21:59.488Z] ---> package-listing.sh [2023-03-16T17:21:59.488Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T17:21:59.488Z] ++ facter osfamily [2023-03-16T17:21:59.747Z] + OS_FAMILY=debian [2023-03-16T17:21:59.747Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-450 [2023-03-16T17:21:59.747Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T17:21:59.747Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T17:21:59.747Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T17:21:59.747Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T17:21:59.747Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-450 ']' [2023-03-16T17:21:59.747Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T17:21:59.747Z] + case "${OS_FAMILY}" in [2023-03-16T17:21:59.747Z] + dpkg -l [2023-03-16T17:21:59.747Z] + grep '^ii' [2023-03-16T17:21:59.747Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T17:21:59.747Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T17:21:59.747Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T17:21:59.747Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-450 ']' [2023-03-16T17:21:59.747Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives/ [2023-03-16T17:21:59.747Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-450/archives/ [Pipeline] echo [2023-03-16T17:21:59.757Z] 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-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T17:22:00.033Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T17:22:00.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T17:22:00.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T17:22:00.654Z] prd-ubuntu20.04-docker-8c-8g-2488 does not seem to be running inside a container [2023-03-16T17:22:00.678Z] $ 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-450/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-450 -v /w/workspace/edgexfoundry_device-sdk-c_PR-450:/w/workspace/edgexfoundry_device-sdk-c_PR-450:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T17:22:00.861Z] $ docker top a59bd747dc68a1e3a9e11753035cc8ff980bd59d74b6d316446016e13d7b5b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T17:22:01.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T17:22:01.479Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T17:22:01.762Z] + ls /var/log/sa-host [2023-03-16T17:22:01.762Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T17:22:01.836Z] provisioning config files... [2023-03-16T17:22:01.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-450@tmp/config5764818678182252888tmp [Pipeline] { [Pipeline] echo [2023-03-16T17:22:01.858Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:22:02.139Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T17:22:02.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:22:02.473Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T17:22:02.481Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:22:02.763Z] ---> sudo-logs.sh [2023-03-16T17:22:02.763Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T17:22:02.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:22:03.071Z] ---> job-cost.sh [2023-03-16T17:22:03.071Z] lf-activate-venv: SKIPPING [2023-03-16T17:22:03.071Z] DEBUG: total: 0.2199999988079071 [2023-03-16T17:22:03.071Z] INFO: Retrieving Stack Cost... [2023-03-16T17:22:03.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T17:22:03.589Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T17:22:03.599Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T17:22:03.878Z] ---> logs-deploy.sh [2023-03-16T17:22:03.878Z] lf-activate-venv: SKIPPING [2023-03-16T17:22:03.878Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-450/2 [2023-03-16T17:22:03.878Z] INFO: archiving workspace using pattern(s): [2023-03-16T17:22:04.813Z] Archives upload complete. [2023-03-16T17:22:04.813Z] INFO: archiving logs to Nexus