Pull request #476 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 0aa84d6e2362150f2a7fe76af15db12a3a58aab4+80a24b09310d384b64bfe7dfccb669ba75fd38c7 (cbf23ab170997e421834311c710e401366540e6f) 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-ssh773375695194321574.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11134592239149544720.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-476/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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13608780799469028235.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13544944703295510630.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-476/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-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11890647411715717177.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-2569 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-476 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 Merge succeeded, producing 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 Checking out Revision 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 (PR-476) > git config core.sparsecheckout # timeout=10 > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 Commit message: "fix: Bypass JWT check in non-secure mode" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-31T05:50:48.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-31T05:50:49.056Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-31T05:50:49.069Z] ========================================================= [2023-07-31T05:50:49.069Z] EdgeX Global Pipelines Version Info [2023-07-31T05:50:49.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk efc22004b1480c2ff91dd56cd351beb38d3bebad # timeout=10 [2023-07-31T05:50:50.153Z] ------------------- [2023-07-31T05:50:50.153Z] stable info: [2023-07-31T05:50:50.153Z] ------------------- [2023-07-31T05:50:50.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-31T05:50:50.153Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-31T05:50:50.153Z] Message: update stable to v1.0.250 [2023-07-31T05:50:50.413Z] ------------------- [2023-07-31T05:50:50.413Z] experimental info: [2023-07-31T05:50:50.413Z] ------------------- [2023-07-31T05:50:50.413Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-31T05:50:50.413Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-31T05:50:50.413Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-31T05:50:50.578Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-31T05:50:50.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-31T05:50:50.600Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-31T05:50:50.608Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-31T05:50:50.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-31T05:50:50.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-31T05:50:50.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-31T05:50:50.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-31T05:50:50.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-31T05:50:50.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-31T05:50:50.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-31T05:50:50.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-31T05:50:50.711Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-31T05:50:50.725Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-31T05:50:50.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-31T05:50:50.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-31T05:50:50.778Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-31T05:50:50.794Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo [2023-07-31T05:50:50.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo [2023-07-31T05:50:50.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo [2023-07-31T05:50:50.843Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo [2023-07-31T05:50:50.858Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0aa84d6 [Pipeline] echo [2023-07-31T05:50:50.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T05:50:50.919Z] provisioning config files... [2023-07-31T05:50:50.932Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config1546815528825594282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:50:51.244Z] ---> docker-login.sh [2023-07-31T05:50:51.244Z] nexus3.edgexfoundry.org:10001 [2023-07-31T05:50:51.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:50:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:50:51.796Z] Configure a credential helper to remove this warning. See [2023-07-31T05:50:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:50:51.796Z] [2023-07-31T05:50:51.796Z] Login Succeeded [2023-07-31T05:50:51.796Z] nexus3.edgexfoundry.org:10002 [2023-07-31T05:50:51.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:50:51.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:50:51.796Z] Configure a credential helper to remove this warning. See [2023-07-31T05:50:51.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:50:51.796Z] [2023-07-31T05:50:51.796Z] Login Succeeded [2023-07-31T05:50:51.797Z] nexus3.edgexfoundry.org:10003 [2023-07-31T05:50:52.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:50:52.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:50:52.061Z] Configure a credential helper to remove this warning. See [2023-07-31T05:50:52.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:50:52.061Z] [2023-07-31T05:50:52.061Z] Login Succeeded [2023-07-31T05:50:52.061Z] nexus3.edgexfoundry.org:10004 [2023-07-31T05:50:52.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:50:52.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:50:52.061Z] Configure a credential helper to remove this warning. See [2023-07-31T05:50:52.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:50:52.061Z] [2023-07-31T05:50:52.061Z] Login Succeeded [2023-07-31T05:50:52.061Z] docker.io [2023-07-31T05:50:52.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:50:52.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:50:52.637Z] Configure a credential helper to remove this warning. See [2023-07-31T05:50:52.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:50:52.637Z] [2023-07-31T05:50:52.637Z] Login Succeeded [2023-07-31T05:50:52.637Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T05:50:52.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-07-31T05:50:53.034Z] + git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo [2023-07-31T05:50:53.087Z] -----------> git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [false] [Pipeline] sh [2023-07-31T05:50:53.379Z] + git log --format=format:%s -1 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo [2023-07-31T05:50:53.408Z] ========================================================= [2023-07-31T05:50:53.408Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-31T05:50:53.408Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-31T05:50:53.803Z] + git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo [2023-07-31T05:50:53.814Z] -----------> git rev-list -1 --merges 0aa84d6e2362150f2a7fe76af15db12a3a58aab4~1..0aa84d6e2362150f2a7fe76af15db12a3a58aab4 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [false] [Pipeline] sh [2023-07-31T05:50:54.100Z] + git log --format=format:%s -1 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [Pipeline] echo [2023-07-31T05:50:54.110Z] ========================================================= [2023-07-31T05:50:54.110Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-31T05:50:54.110Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-31T05:50:54.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-31T05:50:54.524Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-31T05:50:54.524Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-31T05:50:54.524Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-31T05:50:54.524Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-31T05:50:54.524Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-31T05:50:54.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:50:54.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T05:50:54.958Z] [2023-07-31T05:50:54.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:50:55.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T05:50:55.255Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-31T05:50:55.255Z] b85a868b505f: Pulling fs layer [2023-07-31T05:50:55.255Z] e2be974225ed: Pulling fs layer [2023-07-31T05:50:55.255Z] 339a4e72a1f5: Pulling fs layer [2023-07-31T05:50:55.255Z] 988bab9f4d93: Pulling fs layer [2023-07-31T05:50:55.255Z] 1469e6f7b9e6: Pulling fs layer [2023-07-31T05:50:55.255Z] eaf3925da568: Pulling fs layer [2023-07-31T05:50:55.255Z] bab4dde63d76: Pulling fs layer [2023-07-31T05:50:55.255Z] bde34c3a00c8: Pulling fs layer [2023-07-31T05:50:55.255Z] b352a97aabf1: Pulling fs layer [2023-07-31T05:50:55.255Z] 4872d77fe225: Pulling fs layer [2023-07-31T05:50:55.255Z] 5851b861e8e6: Pulling fs layer [2023-07-31T05:50:55.255Z] 1469e6f7b9e6: Waiting [2023-07-31T05:50:55.255Z] bab4dde63d76: Waiting [2023-07-31T05:50:55.255Z] eaf3925da568: Waiting [2023-07-31T05:50:55.255Z] 4872d77fe225: Waiting [2023-07-31T05:50:55.255Z] 5851b861e8e6: Waiting [2023-07-31T05:50:55.255Z] b352a97aabf1: Waiting [2023-07-31T05:50:55.255Z] bde34c3a00c8: Waiting [2023-07-31T05:50:55.255Z] 988bab9f4d93: Waiting [2023-07-31T05:50:55.255Z] e2be974225ed: Verifying Checksum [2023-07-31T05:50:55.255Z] e2be974225ed: Download complete [2023-07-31T05:50:55.255Z] 988bab9f4d93: Download complete [2023-07-31T05:50:55.255Z] 1469e6f7b9e6: Verifying Checksum [2023-07-31T05:50:55.255Z] 1469e6f7b9e6: Download complete [2023-07-31T05:50:55.516Z] 339a4e72a1f5: Verifying Checksum [2023-07-31T05:50:55.516Z] 339a4e72a1f5: Download complete [2023-07-31T05:50:55.516Z] eaf3925da568: Download complete [2023-07-31T05:50:55.516Z] bde34c3a00c8: Verifying Checksum [2023-07-31T05:50:55.516Z] bde34c3a00c8: Download complete [2023-07-31T05:50:55.516Z] b352a97aabf1: Download complete [2023-07-31T05:50:55.516Z] 4872d77fe225: Verifying Checksum [2023-07-31T05:50:55.516Z] 4872d77fe225: Download complete [2023-07-31T05:50:55.516Z] 5851b861e8e6: Verifying Checksum [2023-07-31T05:50:55.516Z] 5851b861e8e6: Download complete [2023-07-31T05:50:55.516Z] b85a868b505f: Verifying Checksum [2023-07-31T05:50:55.516Z] b85a868b505f: Download complete [2023-07-31T05:50:55.776Z] bab4dde63d76: Verifying Checksum [2023-07-31T05:50:55.776Z] bab4dde63d76: Download complete [2023-07-31T05:50:56.733Z] b85a868b505f: Pull complete [2023-07-31T05:50:57.000Z] e2be974225ed: Pull complete [2023-07-31T05:50:57.567Z] 339a4e72a1f5: Pull complete [2023-07-31T05:50:57.567Z] 988bab9f4d93: Pull complete [2023-07-31T05:50:57.827Z] 1469e6f7b9e6: Pull complete [2023-07-31T05:50:57.827Z] eaf3925da568: Pull complete [2023-07-31T05:50:59.730Z] bab4dde63d76: Pull complete [2023-07-31T05:50:59.730Z] bde34c3a00c8: Pull complete [2023-07-31T05:50:59.990Z] b352a97aabf1: Pull complete [2023-07-31T05:50:59.990Z] 4872d77fe225: Pull complete [2023-07-31T05:51:00.250Z] 5851b861e8e6: Pull complete [2023-07-31T05:51:00.250Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-31T05:51:00.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-31T05:51:00.250Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:51:00.349Z] prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container [2023-07-31T05:51:00.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-31T05:51:04.343Z] $ docker top 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c -eo pid,comm [2023-07-31T05:51:04.393Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-31T05:51:04.393Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-31T05:51:04.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T05:51:04.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T05:51:04.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T05:51:04.548Z] $ docker exec 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent [2023-07-31T05:51:04.653Z] SSH_AUTH_SOCK=/tmp/ssh-M7VSPD7WmuSn/agent.32 [2023-07-31T05:51:04.653Z] SSH_AGENT_PID=38 [2023-07-31T05:51:04.659Z] Running ssh-add (command line suppressed) [2023-07-31T05:51:04.766Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_5226901750561544317.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_5226901750561544317.key) [2023-07-31T05:51:04.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T05:51:05.071Z] + git tag --points-at HEAD [Pipeline] } [2023-07-31T05:51:05.085Z] $ docker exec --env ******** --env ******** 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent -k [2023-07-31T05:51:05.179Z] unset SSH_AUTH_SOCK; [2023-07-31T05:51:05.180Z] unset SSH_AGENT_PID; [2023-07-31T05:51:05.180Z] echo Agent pid 38 killed; [2023-07-31T05:51:05.188Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-31T05:51:05.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-31T05:51:05.217Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-31T05:51:05.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-31T05:51:05.327Z] $ docker exec 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent [2023-07-31T05:51:05.422Z] SSH_AUTH_SOCK=/tmp/ssh-USdk0s3XlhSd/agent.70 [2023-07-31T05:51:05.422Z] SSH_AGENT_PID=76 [2023-07-31T05:51:05.427Z] Running ssh-add (command line suppressed) [2023-07-31T05:51:05.549Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_16840275081513170056.key (/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/private_key_16840275081513170056.key) [2023-07-31T05:51:05.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-31T05:51:05.852Z] + git semver init [2023-07-31T05:51:06.112Z] 2023-07-31 05:51:06,021 [run_init] DEBUG init version:0.0.0 force:False [2023-07-31T05:51:06.112Z] 2023-07-31 05:51:06,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver [2023-07-31T05:51:06.112Z] 2023-07-31 05:51:06,023 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver [2023-07-31T05:51:06.112Z] 2023-07-31 05:51:06,023 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476, universal_newlines=False, shell=None, istream=None) [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,016 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.git/info/exclude [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 with force:False [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,017 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,021 [execute] INFO git cat-file --batch-check [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,029 [execute] INFO git cat-file --batch [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-07-31T05:51:07.052Z] 2023-07-31 05:51:07,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-476/.semver/PR-476 [2023-07-31T05:51:07.052Z] 0.0.0 [Pipeline] } [2023-07-31T05:51:07.064Z] $ docker exec --env ******** --env ******** 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c ssh-agent -k [2023-07-31T05:51:07.160Z] unset SSH_AUTH_SOCK; [2023-07-31T05:51:07.161Z] unset SSH_AGENT_PID; [2023-07-31T05:51:07.161Z] echo Agent pid 76 killed; [2023-07-31T05:51:07.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-31T05:51:07.474Z] + git semver [Pipeline] } [2023-07-31T05:51:07.750Z] $ docker stop --time=1 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c [2023-07-31T05:51:09.020Z] $ docker rm -f --volumes 389734d24d281abc00ca3cb31afa50a31d4728466b0a09e662475fa8c951468c [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-31T05:51:09.359Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-31T05:51:09.560Z] Stashed 1 file(s) [Pipeline] echo [2023-07-31T05:51:09.562Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T05:51:09.672Z] provisioning config files... [2023-07-31T05:51:09.681Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config4414189710281606336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:51:09.973Z] ---> docker-login.sh [2023-07-31T05:51:09.973Z] nexus3.edgexfoundry.org:10001 [2023-07-31T05:51:09.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:51:09.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:51:09.973Z] Configure a credential helper to remove this warning. See [2023-07-31T05:51:09.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:51:09.973Z] [2023-07-31T05:51:09.973Z] Login Succeeded [2023-07-31T05:51:09.973Z] nexus3.edgexfoundry.org:10002 [2023-07-31T05:51:09.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:51:09.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:51:09.973Z] Configure a credential helper to remove this warning. See [2023-07-31T05:51:09.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:51:09.973Z] [2023-07-31T05:51:09.973Z] Login Succeeded [2023-07-31T05:51:09.973Z] nexus3.edgexfoundry.org:10003 [2023-07-31T05:51:10.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:51:10.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:51:10.232Z] Configure a credential helper to remove this warning. See [2023-07-31T05:51:10.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:51:10.232Z] [2023-07-31T05:51:10.232Z] Login Succeeded [2023-07-31T05:51:10.232Z] nexus3.edgexfoundry.org:10004 [2023-07-31T05:51:10.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:51:10.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:51:10.232Z] Configure a credential helper to remove this warning. See [2023-07-31T05:51:10.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:51:10.232Z] [2023-07-31T05:51:10.232Z] Login Succeeded [2023-07-31T05:51:10.232Z] docker.io [2023-07-31T05:51:10.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:51:10.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:51:10.491Z] Configure a credential helper to remove this warning. See [2023-07-31T05:51:10.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:51:10.491Z] [2023-07-31T05:51:10.491Z] Login Succeeded [2023-07-31T05:51:10.491Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T05:51:10.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-31T05:51:10.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T05:51:10.580Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-31T05:51:10.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T05:51:10.600Z] ========================================================= [2023-07-31T05:51:10.600Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-31T05:51:10.600Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:51:10.907Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-07-31T05:51:10.907Z] Sending build context to Docker daemon 4.867MB [2023-07-31T05:51:10.907Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-31T05:51:10.907Z] Step 2/21 : FROM ${BASE} as builder [2023-07-31T05:51:10.907Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-31T05:51:10.907Z] 91d30c5bc195: Pulling fs layer [2023-07-31T05:51:10.907Z] 316e5a4585fb: Pulling fs layer [2023-07-31T05:51:11.167Z] 91d30c5bc195: Verifying Checksum [2023-07-31T05:51:11.167Z] 91d30c5bc195: Download complete [2023-07-31T05:51:11.167Z] 91d30c5bc195: Pull complete [2023-07-31T05:51:11.734Z] 316e5a4585fb: Verifying Checksum [2023-07-31T05:51:11.734Z] 316e5a4585fb: Download complete [2023-07-31T05:51:14.264Z] 316e5a4585fb: Pull complete [2023-07-31T05:51:14.523Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-31T05:51:14.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-31T05:51:14.523Z] ---> e83ffa357ff4 [2023-07-31T05:51:14.523Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:51:17.057Z] ---> Running in fa57e040f8f1 [2023-07-31T05:51:17.057Z] Connecting to iotech.jfrog.io (52.31.248.14:443) [2023-07-31T05:51:17.624Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:51:17.624Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:51:17.624Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:51:17.883Z] Removing intermediate container fa57e040f8f1 [2023-07-31T05:51:17.883Z] ---> 6d59e2edb717 [2023-07-31T05:51:17.883Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:51:17.883Z] ---> Running in d076aad9b230 [2023-07-31T05:51:18.450Z] Removing intermediate container d076aad9b230 [2023-07-31T05:51:18.450Z] ---> 38d8cfdb1b53 [2023-07-31T05:51:18.450Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-31T05:51:18.450Z] ---> Running in 3c39e7280b97 [2023-07-31T05:51:18.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:18.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:18.967Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:19.534Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:51:19.534Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:51:19.534Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:51:19.534Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-31T05:51:19.534Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-31T05:51:19.793Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-31T05:51:20.365Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-31T05:51:20.365Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-31T05:51:20.624Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-31T05:51:20.624Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-31T05:51:20.624Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-31T05:51:21.560Z] (11/16) Installing libblkid (2.38-r1) [2023-07-31T05:51:21.560Z] (12/16) Installing libuuid (2.38-r1) [2023-07-31T05:51:21.560Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-31T05:51:21.560Z] (14/16) Installing libmount (2.38-r1) [2023-07-31T05:51:21.560Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-31T05:51:21.560Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-31T05:51:21.560Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:51:21.560Z] OK: 280 MiB in 90 packages [2023-07-31T05:51:22.127Z] Removing intermediate container 3c39e7280b97 [2023-07-31T05:51:22.127Z] ---> 682ce6eea64d [2023-07-31T05:51:22.127Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-31T05:51:22.385Z] ---> Running in 78516e5d8ac8 [2023-07-31T05:51:22.952Z] Removing intermediate container 78516e5d8ac8 [2023-07-31T05:51:22.952Z] ---> 7f726128c675 [2023-07-31T05:51:22.952Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-31T05:51:22.952Z] ---> 5f363a0dae26 [2023-07-31T05:51:22.952Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-31T05:51:23.211Z] ---> b4905955166e [2023-07-31T05:51:23.212Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-31T05:51:23.474Z] ---> 63fa05cb7969 [2023-07-31T05:51:23.474Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-31T05:51:23.474Z] ---> 8c7227ebcf14 [2023-07-31T05:51:23.474Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-31T05:51:23.733Z] ---> a9055bbcaab6 [2023-07-31T05:51:23.733Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-31T05:51:23.733Z] ---> c42e9b2245db [2023-07-31T05:51:23.733Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-31T05:51:23.733Z] ---> Running in 3e9ff62a6984 [2023-07-31T05:51:23.999Z] + CPPCHECK=false [2023-07-31T05:51:23.999Z] + DOCGEN=false [2023-07-31T05:51:23.999Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-31T05:51:23.999Z] + '[' 0 -gt 0 ] [2023-07-31T05:51:23.999Z] + readlink -f ./scripts/build.sh [2023-07-31T05:51:23.999Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-31T05:51:23.999Z] + dirname /tmp/sdk/scripts [2023-07-31T05:51:23.999Z] + ROOT=/tmp/sdk [2023-07-31T05:51:23.999Z] + cd /tmp/sdk [2023-07-31T05:51:23.999Z] + mkdir -p /tmp/sdk/build/release [2023-07-31T05:51:23.999Z] + cd /tmp/sdk/build/release [2023-07-31T05:51:23.999Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-31T05:51:24.258Z] -- The C compiler identification is GNU 11.2.1 [2023-07-31T05:51:24.258Z] -- Detecting C compiler ABI info [2023-07-31T05:51:24.258Z] -- Detecting C compiler ABI info - done [2023-07-31T05:51:24.258Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-31T05:51:24.258Z] -- Detecting C compile features [2023-07-31T05:51:24.258Z] -- Detecting C compile features - done [2023-07-31T05:51:24.258Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-31T05:51:24.258Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-31T05:51:24.258Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-31T05:51:24.258Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-31T05:51:24.258Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-31T05:51:24.258Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-31T05:51:24.258Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-31T05:51:24.258Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-31T05:51:24.258Z] -- /opt/iotech/iot/1.5/include [2023-07-31T05:51:24.258Z] -- C SDK 0.0.0 for Linux [2023-07-31T05:51:24.258Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-31T05:51:24.539Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-31T05:51:24.539Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-31T05:51:24.539Z] -- Configuring done [2023-07-31T05:51:24.539Z] -- Generating done [2023-07-31T05:51:24.539Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-31T05:51:24.539Z] + make all package [2023-07-31T05:51:24.539Z] + tee release.log [2023-07-31T05:51:24.539Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-31T05:51:24.627Z] Still waiting to schedule task [2023-07-31T05:51:24.627Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-31T05:51:24.798Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-31T05:51:24.798Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-31T05:51:25.057Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-31T05:51:25.316Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-31T05:51:25.316Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-31T05:51:25.576Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-31T05:51:25.835Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-31T05:51:25.836Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-31T05:51:26.095Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-31T05:51:26.353Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-31T05:51:26.613Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-31T05:51:26.613Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-31T05:51:26.872Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-31T05:51:26.872Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-31T05:51:27.131Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-31T05:51:27.131Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-31T05:51:27.390Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-31T05:51:27.652Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-31T05:51:27.652Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-31T05:51:27.911Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-31T05:51:28.850Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-31T05:51:28.850Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-31T05:51:28.850Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-31T05:51:29.109Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-31T05:51:29.109Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-31T05:51:29.368Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-31T05:51:29.934Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-31T05:51:29.934Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-31T05:51:29.934Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-31T05:51:30.192Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-31T05:51:30.760Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-31T05:51:30.760Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-31T05:51:30.760Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-31T05:51:31.019Z] [ 68%] Linking C shared library libcsdk.so [2023-07-31T05:51:31.019Z] [ 68%] Built target csdk [2023-07-31T05:51:31.019Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-31T05:51:31.019Z] [ 72%] Linking C executable template [2023-07-31T05:51:31.277Z] [ 72%] Built target template [2023-07-31T05:51:31.277Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-31T05:51:31.277Z] [ 76%] Linking C executable device-counter [2023-07-31T05:51:31.277Z] [ 76%] Built target device-counter [2023-07-31T05:51:31.277Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-31T05:51:31.536Z] [ 80%] Linking C executable device-random [2023-07-31T05:51:31.536Z] [ 80%] Built target device-random [2023-07-31T05:51:31.536Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-31T05:51:31.536Z] [ 84%] Linking C executable device-gyro [2023-07-31T05:51:31.794Z] [ 84%] Built target device-gyro [2023-07-31T05:51:31.794Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-31T05:51:31.794Z] [ 88%] Linking C executable device-bitfields [2023-07-31T05:51:31.794Z] [ 88%] Built target device-bitfields [2023-07-31T05:51:31.794Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-31T05:51:32.052Z] [ 92%] Linking C executable template-discovery [2023-07-31T05:51:32.053Z] [ 92%] Built target template-discovery [2023-07-31T05:51:32.053Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-31T05:51:32.311Z] [ 96%] Linking C executable device-file [2023-07-31T05:51:32.311Z] [ 96%] Built target device-file [2023-07-31T05:51:32.311Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-31T05:51:32.570Z] [100%] Linking C executable device-terminal [2023-07-31T05:51:32.570Z] [100%] Built target device-terminal [2023-07-31T05:51:32.570Z] Run CPack packaging tool... [2023-07-31T05:51:32.570Z] CPack: Create package using TGZ [2023-07-31T05:51:32.570Z] CPack: Install projects [2023-07-31T05:51:32.570Z] CPack: - Run preinstall target for: Csdk [2023-07-31T05:51:32.828Z] CPack: - Install project: Csdk [] [2023-07-31T05:51:32.828Z] CPack: Create package [2023-07-31T05:51:32.828Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-31T05:51:32.828Z] + '[' false '=' true ] [2023-07-31T05:51:32.828Z] + '[' false '=' true ] [2023-07-31T05:51:32.828Z] + mkdir -p /tmp/sdk/build/debug [2023-07-31T05:51:32.828Z] + cd /tmp/sdk/build/debug [2023-07-31T05:51:32.828Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-31T05:51:32.828Z] -- The C compiler identification is GNU 11.2.1 [2023-07-31T05:51:32.828Z] -- Detecting C compiler ABI info [2023-07-31T05:51:33.087Z] -- Detecting C compiler ABI info - done [2023-07-31T05:51:33.087Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-31T05:51:33.087Z] -- Detecting C compile features [2023-07-31T05:51:33.087Z] -- Detecting C compile features - done [2023-07-31T05:51:33.087Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-31T05:51:33.087Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-31T05:51:33.087Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-31T05:51:33.087Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-31T05:51:33.087Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-31T05:51:33.087Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-31T05:51:33.087Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-31T05:51:33.087Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-31T05:51:33.087Z] -- /opt/iotech/iot/1.5/include [2023-07-31T05:51:33.087Z] -- C SDK 0.0.0 for Linux [2023-07-31T05:51:33.087Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-31T05:51:33.087Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-31T05:51:33.346Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-31T05:51:33.346Z] -- Configuring done [2023-07-31T05:51:33.346Z] -- Generating done [2023-07-31T05:51:33.346Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-31T05:51:33.346Z] + make [2023-07-31T05:51:33.346Z] + tee debug.log [2023-07-31T05:51:33.346Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-31T05:51:33.346Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-31T05:51:33.605Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-31T05:51:33.605Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-31T05:51:33.605Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-31T05:51:33.605Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-31T05:51:33.863Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-31T05:51:33.863Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-31T05:51:33.863Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-31T05:51:34.122Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-31T05:51:34.122Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-31T05:51:34.122Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-31T05:51:34.381Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-31T05:51:34.381Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-31T05:51:34.381Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-31T05:51:34.639Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-31T05:51:34.639Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-31T05:51:34.639Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-31T05:51:34.897Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-31T05:51:34.897Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-31T05:51:34.897Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-31T05:51:35.156Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-31T05:51:35.156Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-31T05:51:35.414Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-31T05:51:35.414Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-31T05:51:35.414Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-31T05:51:35.414Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-31T05:51:35.671Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-31T05:51:35.929Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-31T05:51:35.929Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-31T05:51:35.929Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-31T05:51:36.187Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-31T05:51:36.187Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-31T05:51:36.187Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-31T05:51:36.445Z] [ 68%] Linking C shared library libcsdk.so [2023-07-31T05:51:36.445Z] [ 68%] Built target csdk [2023-07-31T05:51:36.445Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-31T05:51:36.445Z] [ 72%] Linking C executable template [2023-07-31T05:51:36.445Z] [ 72%] Built target template [2023-07-31T05:51:36.704Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-31T05:51:36.704Z] [ 76%] Linking C executable device-counter [2023-07-31T05:51:36.704Z] [ 76%] Built target device-counter [2023-07-31T05:51:36.704Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-31T05:51:36.704Z] [ 80%] Linking C executable device-random [2023-07-31T05:51:36.962Z] [ 80%] Built target device-random [2023-07-31T05:51:36.962Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-31T05:51:36.962Z] [ 84%] Linking C executable device-gyro [2023-07-31T05:51:36.962Z] [ 84%] Built target device-gyro [2023-07-31T05:51:36.962Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-31T05:51:36.962Z] [ 88%] Linking C executable device-bitfields [2023-07-31T05:51:37.221Z] [ 88%] Built target device-bitfields [2023-07-31T05:51:37.221Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-31T05:51:37.221Z] [ 92%] Linking C executable template-discovery [2023-07-31T05:51:37.221Z] [ 92%] Built target template-discovery [2023-07-31T05:51:37.221Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-31T05:51:37.480Z] [ 96%] Linking C executable device-file [2023-07-31T05:51:37.480Z] [ 96%] Built target device-file [2023-07-31T05:51:37.480Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-31T05:51:37.480Z] [100%] Linking C executable device-terminal [2023-07-31T05:51:37.480Z] [100%] Built target device-terminal [2023-07-31T05:51:37.480Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.480Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.480Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.480Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 68%] Built target csdk [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 72%] Built target template [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 76%] Built target device-counter [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 80%] Built target device-random [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 84%] Built target device-gyro [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 88%] Built target device-bitfields [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 92%] Built target template-discovery [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [ 96%] Built target device-file [2023-07-31T05:51:37.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] [100%] Built target device-terminal [2023-07-31T05:51:37.739Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:37.739Z] Install the project... [2023-07-31T05:51:37.739Z] -- Install configuration: "Release" [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-31T05:51:37.739Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/devsdk [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-31T05:51:37.739Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-31T05:51:37.739Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:51:38.673Z] Removing intermediate container 3e9ff62a6984 [2023-07-31T05:51:38.673Z] ---> bad8ab09ba4d [2023-07-31T05:51:38.673Z] Step 14/21 : FROM ${BASE} [2023-07-31T05:51:38.673Z] ---> e83ffa357ff4 [2023-07-31T05:51:38.673Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-31T05:51:38.673Z] ---> Running in bd9cc6a76648 [2023-07-31T05:51:38.673Z] Removing intermediate container bd9cc6a76648 [2023-07-31T05:51:38.673Z] ---> 95450b66b77d [2023-07-31T05:51:38.673Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:51:38.673Z] ---> Running in df483363b1c4 [2023-07-31T05:51:38.931Z] Connecting to iotech.jfrog.io (63.32.175.252:443) [2023-07-31T05:51:39.498Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:51:39.498Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:51:39.498Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:51:39.498Z] Removing intermediate container df483363b1c4 [2023-07-31T05:51:39.498Z] ---> 7289cdee5082 [2023-07-31T05:51:39.498Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:51:39.756Z] ---> Running in 6650a4e7b7d2 [2023-07-31T05:51:40.322Z] Removing intermediate container 6650a4e7b7d2 [2023-07-31T05:51:40.322Z] ---> c0ef05f50666 [2023-07-31T05:51:40.322Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-31T05:51:40.322Z] ---> Running in d0bdf2ad5354 [2023-07-31T05:51:40.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:40.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:40.838Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:41.405Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:51:41.405Z] (1/7) Installing curl (8.2.1-r0) [2023-07-31T05:51:41.405Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-31T05:51:41.405Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-31T05:51:41.405Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-31T05:51:41.972Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-31T05:51:41.972Z] (6/7) Installing libuuid (2.38-r1) [2023-07-31T05:51:41.972Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-31T05:51:42.909Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:51:42.909Z] OK: 276 MiB in 83 packages [2023-07-31T05:51:43.169Z] Removing intermediate container d0bdf2ad5354 [2023-07-31T05:51:43.169Z] ---> 201afea7b6d4 [2023-07-31T05:51:43.169Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-31T05:51:43.428Z] ---> c9b18ec47331 [2023-07-31T05:51:43.428Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-31T05:51:43.428Z] ---> 963a67ac95da [2023-07-31T05:51:43.428Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-31T05:51:43.687Z] ---> d3c456b3dfdb [2023-07-31T05:51:43.687Z] Successfully built d3c456b3dfdb [2023-07-31T05:51:43.687Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:51:44.073Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-31T05:51:44.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:51:44.151Z] prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container [2023-07-31T05:51:44.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-31T05:51:44.508Z] $ docker top 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T05:51:44.853Z] + make test [2023-07-31T05:51:44.853Z] echo "make test" [2023-07-31T05:51:44.853Z] make test [Pipeline] } [2023-07-31T05:51:44.866Z] $ docker stop --time=1 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce [2023-07-31T05:51:46.124Z] $ docker rm -f --volumes 4d594f6ab36f585c4e0aae6088303ee0cd537418b0c32f5ac761201f1c7449ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T05:51:46.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-31T05:51:47.090Z] + ls -al . [2023-07-31T05:51:47.090Z] total 212 [2023-07-31T05:51:47.090Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 05:51 . [2023-07-31T05:51:47.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 .. [2023-07-31T05:51:47.090Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:51 .git [2023-07-31T05:51:47.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 .github [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 05:50 .gitignore [2023-07-31T05:51:47.090Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 05:51 .semver [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 31 05:50 Attribution.txt [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 31 05:50 CHANGES [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 05:50 Doxyfile [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 05:50 GOVERNANCE.md [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 05:50 Jenkinsfile [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 05:50 LICENSE [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 05:50 Makefile [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 31 05:50 OWNERS.md [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 31 05:50 README.IOT.md [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 31 05:50 README.md [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 31 05:50 README.v3.md [2023-07-31T05:51:47.090Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 05:51 VERSION [2023-07-31T05:51:47.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 docs [2023-07-31T05:51:47.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 include [2023-07-31T05:51:47.090Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:50 scripts [2023-07-31T05:51:47.090Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:51:47.394Z] + 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=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 --label arch=amd64 --label version=0.0.0 . [2023-07-31T05:51:47.395Z] Sending build context to Docker daemon 4.867MB [2023-07-31T05:51:47.395Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-31T05:51:47.395Z] Step 2/17 : FROM ${BASE} [2023-07-31T05:51:47.395Z] ---> d3c456b3dfdb [2023-07-31T05:51:47.395Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-31T05:51:47.395Z] ---> Running in c5c5b8322410 [2023-07-31T05:51:47.653Z] Removing intermediate container c5c5b8322410 [2023-07-31T05:51:47.653Z] ---> 2e4bbddca698 [2023-07-31T05:51:47.653Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:51:47.653Z] ---> Running in 85f90d6ab473 [2023-07-31T05:51:47.911Z] Connecting to iotech.jfrog.io (34.250.240.127:443) [2023-07-31T05:51:48.170Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:51:48.170Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:51:48.170Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:51:48.428Z] Removing intermediate container 85f90d6ab473 [2023-07-31T05:51:48.428Z] ---> 63552110ed8e [2023-07-31T05:51:48.428Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:51:48.428Z] ---> Running in fb199ad71d11 [2023-07-31T05:51:48.994Z] Removing intermediate container fb199ad71d11 [2023-07-31T05:51:48.994Z] ---> bcd48d6503f0 [2023-07-31T05:51:48.994Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-31T05:51:48.994Z] ---> Running in aa73624a65e8 [2023-07-31T05:51:49.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:49.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:49.511Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-31T05:51:50.079Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:51:50.079Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:51:50.079Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:51:50.079Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-31T05:51:50.645Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-31T05:51:50.645Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-31T05:51:50.645Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-31T05:51:50.645Z] (7/11) Installing libblkid (2.38-r1) [2023-07-31T05:51:50.904Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-31T05:51:50.904Z] (9/11) Installing libmount (2.38-r1) [2023-07-31T05:51:50.904Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-31T05:51:50.904Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-31T05:51:50.904Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:51:50.904Z] OK: 281 MiB in 92 packages [2023-07-31T05:51:51.470Z] Removing intermediate container aa73624a65e8 [2023-07-31T05:51:51.470Z] ---> b80c23a686ad [2023-07-31T05:51:51.470Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-31T05:51:51.727Z] ---> 375709eca215 [2023-07-31T05:51:51.727Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-31T05:51:51.727Z] ---> b1e4e9975260 [2023-07-31T05:51:51.727Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-31T05:51:51.985Z] ---> aa2002d50568 [2023-07-31T05:51:51.985Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-31T05:51:51.985Z] ---> 22a98bd47872 [2023-07-31T05:51:51.985Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-31T05:51:52.246Z] ---> 6a9731b5cfbd [2023-07-31T05:51:52.246Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-31T05:51:52.246Z] ---> 1d5e357eff2e [2023-07-31T05:51:52.246Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-31T05:51:52.246Z] ---> Running in 6456d7efaea3 [2023-07-31T05:51:52.505Z] Removing intermediate container 6456d7efaea3 [2023-07-31T05:51:52.505Z] ---> 657ee2f1b0a0 [2023-07-31T05:51:52.505Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-31T05:51:52.505Z] ---> Running in 8dcf00f2a684 [2023-07-31T05:51:52.505Z] Removing intermediate container 8dcf00f2a684 [2023-07-31T05:51:52.505Z] ---> 633084ac71f1 [2023-07-31T05:51:52.505Z] Step 15/17 : LABEL arch=amd64 [2023-07-31T05:51:52.505Z] ---> Running in cb8492443932 [2023-07-31T05:51:52.505Z] Removing intermediate container cb8492443932 [2023-07-31T05:51:52.505Z] ---> 4be60c966d64 [2023-07-31T05:51:52.505Z] Step 16/17 : LABEL git_sha=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [2023-07-31T05:51:52.505Z] ---> Running in 889319bd46f0 [2023-07-31T05:51:52.764Z] Removing intermediate container 889319bd46f0 [2023-07-31T05:51:52.764Z] ---> d1a3fe625526 [2023-07-31T05:51:52.764Z] Step 17/17 : LABEL version=0.0.0 [2023-07-31T05:51:52.764Z] ---> Running in 7569566de5d8 [2023-07-31T05:51:52.764Z] Removing intermediate container 7569566de5d8 [2023-07-31T05:51:52.764Z] ---> 450db434f93f [2023-07-31T05:51:52.764Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-31T05:51:52.764Z] Successfully built 450db434f93f [2023-07-31T05:51:52.764Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:51:53.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T05:51:53.193Z] [2023-07-31T05:51:53.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:51:53.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T05:51:53.489Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-31T05:51:53.489Z] 5eb5b503b376: Pulling fs layer [2023-07-31T05:51:53.489Z] 5c69ac0246d0: Pulling fs layer [2023-07-31T05:51:53.489Z] ec43610c2a17: Pulling fs layer [2023-07-31T05:51:53.489Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-31T05:51:53.489Z] 33b1e0a273af: Pulling fs layer [2023-07-31T05:51:53.489Z] 5d3b04190fa2: Pulling fs layer [2023-07-31T05:51:53.489Z] 2f39f015ded8: Pulling fs layer [2023-07-31T05:51:53.489Z] 3a2ae6a8a46f: Waiting [2023-07-31T05:51:53.489Z] 33b1e0a273af: Waiting [2023-07-31T05:51:53.489Z] 5d3b04190fa2: Waiting [2023-07-31T05:51:53.489Z] 2f39f015ded8: Waiting [2023-07-31T05:51:53.489Z] 5c69ac0246d0: Verifying Checksum [2023-07-31T05:51:53.489Z] 5c69ac0246d0: Download complete [2023-07-31T05:51:53.489Z] 3a2ae6a8a46f: Download complete [2023-07-31T05:51:53.489Z] 33b1e0a273af: Download complete [2023-07-31T05:51:53.489Z] ec43610c2a17: Verifying Checksum [2023-07-31T05:51:53.489Z] ec43610c2a17: Download complete [2023-07-31T05:51:53.489Z] 5d3b04190fa2: Download complete [2023-07-31T05:51:53.748Z] 5eb5b503b376: Verifying Checksum [2023-07-31T05:51:53.748Z] 5eb5b503b376: Download complete [2023-07-31T05:51:54.313Z] 2f39f015ded8: Verifying Checksum [2023-07-31T05:51:54.313Z] 2f39f015ded8: Download complete [2023-07-31T05:51:54.878Z] 5eb5b503b376: Pull complete [2023-07-31T05:51:55.136Z] 5c69ac0246d0: Pull complete [2023-07-31T05:51:55.395Z] ec43610c2a17: Pull complete [2023-07-31T05:51:55.395Z] 3a2ae6a8a46f: Pull complete [2023-07-31T05:51:55.653Z] 33b1e0a273af: Pull complete [2023-07-31T05:51:55.912Z] 5d3b04190fa2: Pull complete [2023-07-31T05:52:00.098Z] 2f39f015ded8: Pull complete [2023-07-31T05:52:00.098Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-31T05:52:00.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T05:52:00.098Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:52:00.170Z] prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container [2023-07-31T05:52:00.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-31T05:52:05.980Z] $ docker top 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:52:06.372Z] ---> job-cost.sh [2023-07-31T05:52:06.372Z] lf-activate-venv: SKIPPING [2023-07-31T05:52:06.372Z] INFO: No Stack... [2023-07-31T05:52:06.633Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-31T05:52:06.892Z] INFO: Archiving Costs [Pipeline] sh [2023-07-31T05:52:07.177Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/cost.csv [2023-07-31T05:52:07.177Z] + cut -d, -f6 [Pipeline] lock [2023-07-31T05:52:07.188Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [2023-07-31T05:52:07.193Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] did not exist. Created. [2023-07-31T05:52:07.194Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-31T05:52:07.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-31T05:52:07.529Z] Stashed 1 file(s) [Pipeline] } [2023-07-31T05:52:07.536Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-31T05:52:07.553Z] $ docker stop --time=1 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 [2023-07-31T05:52:08.698Z] $ docker rm -f --volumes 4bd93cd39f355c941b02d30881272106f0f31d6031eda4217cd2c946bc5712a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-31T05:52:52.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2570 in /w/workspace/edgexfoundry_device-sdk-c_PR-476 [Pipeline] { [Pipeline] ws [2023-07-31T05:52:52.769Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-07-31T05:52:52.805Z] Selected Git installation does not exist. Using Default [2023-07-31T05:52:52.805Z] The recommended git tool is: NONE [2023-07-31T05:52:57.517Z] using credential edgex-jenkins-ssh [2023-07-31T05:52:57.535Z] Cloning the remote Git repository [2023-07-31T05:52:57.573Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-31T05:52:57.653Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-07-31T05:52:57.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-31T05:52:57.789Z] > git --version # timeout=10 [2023-07-31T05:52:57.813Z] > git --version # 'git version 2.25.1' [2023-07-31T05:52:57.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-31T05:52:57.949Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-31T05:52:59.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-31T05:52:59.232Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-31T05:53:00.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-31T05:53:00.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-31T05:53:00.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-31T05:53:00.086Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-31T05:53:00.725Z] Merging remotes/origin/main commit 80a24b09310d384b64bfe7dfccb669ba75fd38c7 into PR head commit 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [2023-07-31T05:53:01.029Z] Merge succeeded, producing 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [2023-07-31T05:53:01.029Z] Checking out Revision 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 (PR-476) [2023-07-31T05:53:00.741Z] > git config core.sparsecheckout # timeout=10 [2023-07-31T05:53:00.813Z] > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 [2023-07-31T05:53:00.926Z] > git remote # timeout=10 [2023-07-31T05:53:00.949Z] > git config --get remote.origin.url # timeout=10 [2023-07-31T05:53:00.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-31T05:53:00.989Z] > git merge 80a24b09310d384b64bfe7dfccb669ba75fd38c7 # timeout=10 [2023-07-31T05:53:01.011Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-31T05:53:01.036Z] > git config core.sparsecheckout # timeout=10 [2023-07-31T05:53:01.050Z] > git checkout -f 0aa84d6e2362150f2a7fe76af15db12a3a58aab4 # timeout=10 [2023-07-31T05:53:04.522Z] Commit message: "fix: Bypass JWT check in non-secure mode" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T05:53:05.552Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-31T05:53:05.552Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-31T05:53:05.552Z] Dload Upload Total Spent Left Speed [2023-07-31T05:53:05.552Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-07-31T05:53:06.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-31T05:53:06.597Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-31T05:53:06.597Z] + sudo tee /etc/docker/daemon.new [2023-07-31T05:53:06.597Z] { [2023-07-31T05:53:06.597Z] "registry-mirrors": [ [2023-07-31T05:53:06.597Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-31T05:53:06.597Z] ], [2023-07-31T05:53:06.597Z] "bip": "10.250.0.254/24", [2023-07-31T05:53:06.597Z] "hosts": [ [2023-07-31T05:53:06.597Z] "tcp://0.0.0.0:5555", [2023-07-31T05:53:06.597Z] "unix:///var/run/docker.sock" [2023-07-31T05:53:06.597Z] ], [2023-07-31T05:53:06.597Z] "mtu": 1458, [2023-07-31T05:53:06.597Z] "selinux-enabled": true, [2023-07-31T05:53:06.597Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-31T05:53:06.597Z] } [Pipeline] sh [2023-07-31T05:53:06.924Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-31T05:53:07.267Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T05:53:25.531Z] provisioning config files... [2023-07-31T05:53:25.556Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config17954603701998351677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:53:25.894Z] ---> docker-login.sh [2023-07-31T05:53:25.894Z] nexus3.edgexfoundry.org:10001 [2023-07-31T05:53:26.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:53:26.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:53:26.435Z] Configure a credential helper to remove this warning. See [2023-07-31T05:53:26.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:53:26.435Z] [2023-07-31T05:53:26.435Z] Login Succeeded [2023-07-31T05:53:26.435Z] nexus3.edgexfoundry.org:10002 [2023-07-31T05:53:26.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:53:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:53:26.974Z] Configure a credential helper to remove this warning. See [2023-07-31T05:53:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:53:26.974Z] [2023-07-31T05:53:26.974Z] Login Succeeded [2023-07-31T05:53:26.974Z] nexus3.edgexfoundry.org:10003 [2023-07-31T05:53:26.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:53:27.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:53:27.244Z] Configure a credential helper to remove this warning. See [2023-07-31T05:53:27.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:53:27.244Z] [2023-07-31T05:53:27.244Z] Login Succeeded [2023-07-31T05:53:27.244Z] nexus3.edgexfoundry.org:10004 [2023-07-31T05:53:27.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:53:27.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:53:27.515Z] Configure a credential helper to remove this warning. See [2023-07-31T05:53:27.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:53:27.515Z] [2023-07-31T05:53:27.515Z] Login Succeeded [2023-07-31T05:53:27.515Z] docker.io [2023-07-31T05:53:27.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-31T05:53:28.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-31T05:53:28.053Z] Configure a credential helper to remove this warning. See [2023-07-31T05:53:28.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-31T05:53:28.053Z] [2023-07-31T05:53:28.053Z] Login Succeeded [2023-07-31T05:53:28.053Z] ---> docker-login.sh ends [Pipeline] } [2023-07-31T05:53:28.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-31T05:53:28.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T05:53:28.325Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-31T05:53:28.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-31T05:53:28.349Z] ========================================================= [2023-07-31T05:53:28.349Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-31T05:53:28.349Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:53:28.690Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-07-31T05:53:28.958Z] Sending build context to Docker daemon 2.916MB [2023-07-31T05:53:28.958Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-31T05:53:28.958Z] Step 2/21 : FROM ${BASE} as builder [2023-07-31T05:53:31.549Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-31T05:53:31.549Z] 547446be3368: Pulling fs layer [2023-07-31T05:53:31.549Z] 76bd08e1cacc: Pulling fs layer [2023-07-31T05:53:31.817Z] 547446be3368: Verifying Checksum [2023-07-31T05:53:31.817Z] 547446be3368: Download complete [2023-07-31T05:53:32.409Z] 547446be3368: Pull complete [2023-07-31T05:53:33.824Z] 76bd08e1cacc: Verifying Checksum [2023-07-31T05:53:33.824Z] 76bd08e1cacc: Download complete [2023-07-31T05:53:42.049Z] 76bd08e1cacc: Pull complete [2023-07-31T05:53:42.049Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-31T05:53:42.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-31T05:53:42.049Z] ---> 295cd00e64f4 [2023-07-31T05:53:42.049Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:53:42.638Z] ---> Running in d2b5bb5cc667 [2023-07-31T05:53:44.050Z] Connecting to iotech.jfrog.io (52.51.203.101:443) [2023-07-31T05:53:44.317Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:53:44.317Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:53:44.317Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:53:45.279Z] Removing intermediate container d2b5bb5cc667 [2023-07-31T05:53:45.279Z] ---> 9189d674998a [2023-07-31T05:53:45.279Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:53:45.279Z] ---> Running in 87c8248ae80e [2023-07-31T05:53:46.719Z] Removing intermediate container 87c8248ae80e [2023-07-31T05:53:46.719Z] ---> 72af17bac7e7 [2023-07-31T05:53:46.719Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-07-31T05:53:46.719Z] ---> Running in 5ed7a2e6c0dd [2023-07-31T05:53:47.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:53:48.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-31T05:53:48.533Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:53:49.491Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:53:49.491Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:53:49.491Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:53:49.491Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-31T05:53:49.491Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-31T05:53:49.491Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-31T05:53:50.442Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-31T05:53:50.442Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-31T05:53:50.442Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-31T05:53:50.442Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-31T05:53:50.442Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-31T05:53:51.399Z] (11/16) Installing libblkid (2.38-r1) [2023-07-31T05:53:51.399Z] (12/16) Installing libuuid (2.38-r1) [2023-07-31T05:53:51.399Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-31T05:53:51.399Z] (14/16) Installing libmount (2.38-r1) [2023-07-31T05:53:51.399Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-31T05:53:51.399Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-31T05:53:51.399Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:53:51.399Z] OK: 286 MiB in 90 packages [2023-07-31T05:53:52.810Z] Removing intermediate container 5ed7a2e6c0dd [2023-07-31T05:53:52.810Z] ---> 779b05c85fc4 [2023-07-31T05:53:52.810Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-31T05:53:52.810Z] ---> Running in 4043ddd17a9d [2023-07-31T05:53:54.223Z] Removing intermediate container 4043ddd17a9d [2023-07-31T05:53:54.223Z] ---> 1b7ad20028d1 [2023-07-31T05:53:54.223Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-31T05:53:54.807Z] ---> 15f4cac1579d [2023-07-31T05:53:54.807Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-31T05:53:59.060Z] ---> bc3f2cfa898b [2023-07-31T05:53:59.060Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-31T05:53:59.060Z] ---> 47fd515b9f50 [2023-07-31T05:53:59.060Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-31T05:53:59.643Z] ---> 991159600d53 [2023-07-31T05:53:59.643Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-31T05:53:59.910Z] ---> 69f91bafbdc8 [2023-07-31T05:53:59.910Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-31T05:54:00.497Z] ---> ff6df64fa4c6 [2023-07-31T05:54:00.497Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-31T05:54:00.497Z] ---> Running in 4b5eb8a801a3 [2023-07-31T05:54:01.456Z] + CPPCHECK=false [2023-07-31T05:54:01.456Z] + DOCGEN=false [2023-07-31T05:54:01.456Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-31T05:54:01.456Z] + '[' 0 -gt 0 ] [2023-07-31T05:54:01.456Z] + readlink -f ./scripts/build.sh [2023-07-31T05:54:01.456Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-31T05:54:01.456Z] + dirname /tmp/sdk/scripts [2023-07-31T05:54:01.456Z] + ROOT=/tmp/sdk [2023-07-31T05:54:01.456Z] + cd /tmp/sdk [2023-07-31T05:54:01.456Z] + mkdir -p /tmp/sdk/build/release [2023-07-31T05:54:01.456Z] + cd /tmp/sdk/build/release [2023-07-31T05:54:01.456Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-31T05:54:01.723Z] -- The C compiler identification is GNU 11.2.1 [2023-07-31T05:54:01.723Z] -- Detecting C compiler ABI info [2023-07-31T05:54:01.990Z] -- Detecting C compiler ABI info - done [2023-07-31T05:54:02.258Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-31T05:54:02.258Z] -- Detecting C compile features [2023-07-31T05:54:02.258Z] -- Detecting C compile features - done [2023-07-31T05:54:02.258Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-31T05:54:02.258Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-31T05:54:02.525Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-31T05:54:02.525Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-31T05:54:02.525Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-31T05:54:02.525Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-31T05:54:02.525Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-31T05:54:02.525Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-31T05:54:02.525Z] -- /opt/iotech/iot/1.5/include [2023-07-31T05:54:02.525Z] -- C SDK 0.0.0 for Linux [2023-07-31T05:54:02.525Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-31T05:54:02.794Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-31T05:54:03.063Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-31T05:54:03.063Z] -- Configuring done [2023-07-31T05:54:03.330Z] -- Generating done [2023-07-31T05:54:03.330Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-31T05:54:03.330Z] + make all package [2023-07-31T05:54:03.330Z] + tee release.log [2023-07-31T05:54:03.597Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-31T05:54:04.555Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-31T05:54:05.510Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-31T05:54:06.091Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-31T05:54:07.045Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-31T05:54:07.624Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-31T05:54:10.201Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-31T05:54:11.161Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-31T05:54:11.161Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-31T05:54:12.122Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-31T05:54:14.700Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-31T05:54:14.968Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-31T05:54:15.923Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-31T05:54:16.881Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-31T05:54:17.464Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-31T05:54:18.423Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-31T05:54:18.690Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-31T05:54:21.277Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-31T05:54:21.277Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-31T05:54:21.860Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-31T05:54:23.800Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-31T05:54:29.130Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-31T05:54:29.397Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-31T05:54:29.664Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-31T05:54:30.248Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-31T05:54:30.829Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-31T05:54:32.231Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-31T05:54:34.807Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-31T05:54:35.388Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-31T05:54:36.346Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-31T05:54:36.928Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-31T05:54:40.259Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-31T05:54:40.839Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-31T05:54:41.419Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-31T05:54:42.000Z] [ 68%] Linking C shared library libcsdk.so [2023-07-31T05:54:42.000Z] [ 68%] Built target csdk [2023-07-31T05:54:42.268Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-31T05:54:43.228Z] [ 72%] Linking C executable template [2023-07-31T05:54:43.494Z] [ 72%] Built target template [2023-07-31T05:54:43.494Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-31T05:54:44.075Z] [ 76%] Linking C executable device-counter [2023-07-31T05:54:44.340Z] [ 76%] Built target device-counter [2023-07-31T05:54:44.340Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-31T05:54:44.920Z] [ 80%] Linking C executable device-random [2023-07-31T05:54:45.184Z] [ 80%] Built target device-random [2023-07-31T05:54:45.184Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-31T05:54:45.767Z] [ 84%] Linking C executable device-gyro [2023-07-31T05:54:46.034Z] [ 84%] Built target device-gyro [2023-07-31T05:54:46.034Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-31T05:54:46.613Z] [ 88%] Linking C executable device-bitfields [2023-07-31T05:54:46.877Z] [ 88%] Built target device-bitfields [2023-07-31T05:54:46.877Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-31T05:54:47.834Z] [ 92%] Linking C executable template-discovery [2023-07-31T05:54:48.100Z] [ 92%] Built target template-discovery [2023-07-31T05:54:48.100Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-31T05:54:49.056Z] [ 96%] Linking C executable device-file [2023-07-31T05:54:49.321Z] [ 96%] Built target device-file [2023-07-31T05:54:49.321Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-31T05:54:50.275Z] [100%] Linking C executable device-terminal [2023-07-31T05:54:50.275Z] [100%] Built target device-terminal [2023-07-31T05:54:52.856Z] Run CPack packaging tool... [2023-07-31T05:54:52.856Z] CPack: Create package using TGZ [2023-07-31T05:54:52.856Z] CPack: Install projects [2023-07-31T05:54:52.856Z] CPack: - Run preinstall target for: Csdk [2023-07-31T05:54:53.436Z] CPack: - Install project: Csdk [] [2023-07-31T05:54:53.436Z] CPack: Create package [2023-07-31T05:54:53.436Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-31T05:54:53.436Z] + '[' false '=' true ] [2023-07-31T05:54:53.436Z] + '[' false '=' true ] [2023-07-31T05:54:53.436Z] + mkdir -p /tmp/sdk/build/debug [2023-07-31T05:54:53.436Z] + cd /tmp/sdk/build/debug [2023-07-31T05:54:53.436Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-31T05:54:54.019Z] -- The C compiler identification is GNU 11.2.1 [2023-07-31T05:54:54.019Z] -- Detecting C compiler ABI info [2023-07-31T05:54:54.285Z] -- Detecting C compiler ABI info - done [2023-07-31T05:54:54.285Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-31T05:54:54.285Z] -- Detecting C compile features [2023-07-31T05:54:54.285Z] -- Detecting C compile features - done [2023-07-31T05:54:54.285Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-31T05:54:54.553Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-31T05:54:54.553Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-31T05:54:54.553Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-31T05:54:54.553Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-31T05:54:54.553Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-31T05:54:54.553Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-31T05:54:54.553Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-31T05:54:54.553Z] -- /opt/iotech/iot/1.5/include [2023-07-31T05:54:54.553Z] -- C SDK 0.0.0 for Linux [2023-07-31T05:54:54.553Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-31T05:54:54.821Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-31T05:54:55.087Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-31T05:54:55.087Z] -- Configuring done [2023-07-31T05:54:55.354Z] -- Generating done [2023-07-31T05:54:55.354Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-31T05:54:55.354Z] + + maketee [2023-07-31T05:54:55.354Z] debug.log [2023-07-31T05:54:55.620Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-31T05:54:55.886Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-31T05:54:56.466Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-31T05:54:56.732Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-31T05:54:57.314Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-31T05:54:57.582Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-31T05:54:58.538Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-31T05:54:58.802Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-31T05:54:59.069Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-31T05:54:59.334Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-31T05:55:00.292Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-31T05:55:00.558Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-31T05:55:01.141Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-31T05:55:01.408Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-31T05:55:01.991Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-31T05:55:02.258Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-31T05:55:02.526Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-31T05:55:03.484Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-31T05:55:03.484Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-31T05:55:03.751Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-31T05:55:04.334Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-31T05:55:05.740Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-31T05:55:06.005Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-31T05:55:06.272Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-31T05:55:06.855Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-31T05:55:07.121Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-31T05:55:07.700Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-31T05:55:09.635Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-31T05:55:09.635Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-31T05:55:09.902Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-31T05:55:10.483Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-31T05:55:11.439Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-31T05:55:11.705Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-31T05:55:11.972Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-31T05:55:12.551Z] [ 68%] Linking C shared library libcsdk.so [2023-07-31T05:55:12.551Z] [ 68%] Built target csdk [2023-07-31T05:55:12.815Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-31T05:55:13.080Z] [ 72%] Linking C executable template [2023-07-31T05:55:13.345Z] [ 72%] Built target template [2023-07-31T05:55:13.345Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-31T05:55:13.610Z] [ 76%] Linking C executable device-counter [2023-07-31T05:55:13.875Z] [ 76%] Built target device-counter [2023-07-31T05:55:14.140Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-31T05:55:14.406Z] [ 80%] Linking C executable device-random [2023-07-31T05:55:14.671Z] [ 80%] Built target device-random [2023-07-31T05:55:14.671Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-31T05:55:14.936Z] [ 84%] Linking C executable device-gyro [2023-07-31T05:55:15.203Z] [ 84%] Built target device-gyro [2023-07-31T05:55:15.203Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-31T05:55:15.847Z] [ 88%] Linking C executable device-bitfields [2023-07-31T05:55:16.116Z] [ 88%] Built target device-bitfields [2023-07-31T05:55:16.116Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-31T05:55:16.386Z] [ 92%] Linking C executable template-discovery [2023-07-31T05:55:16.656Z] [ 92%] Built target template-discovery [2023-07-31T05:55:16.924Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-31T05:55:17.193Z] [ 96%] Linking C executable device-file [2023-07-31T05:55:17.465Z] [ 96%] Built target device-file [2023-07-31T05:55:17.465Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-31T05:55:18.052Z] [100%] Linking C executable device-terminal [2023-07-31T05:55:18.323Z] [100%] Built target device-terminal [2023-07-31T05:55:18.323Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.323Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.323Z] [ 68%] Built target csdk [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] [ 72%] Built target template [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] [ 76%] Built target device-counter [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] [ 80%] Built target device-random [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] [ 84%] Built target device-gyro [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.592Z] [ 88%] Built target device-bitfields [2023-07-31T05:55:18.592Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] [ 92%] Built target template-discovery [2023-07-31T05:55:18.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] [ 96%] Built target device-file [2023-07-31T05:55:18.859Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] [100%] Built target device-terminal [2023-07-31T05:55:18.859Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:18.859Z] Install the project... [2023-07-31T05:55:18.859Z] -- Install configuration: "Release" [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-31T05:55:18.859Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/devsdk [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-31T05:55:18.859Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-31T05:55:18.859Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-31T05:55:22.193Z] Removing intermediate container 4b5eb8a801a3 [2023-07-31T05:55:22.193Z] ---> 395e05f2208a [2023-07-31T05:55:22.193Z] Step 14/21 : FROM ${BASE} [2023-07-31T05:55:22.193Z] ---> 295cd00e64f4 [2023-07-31T05:55:22.193Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-31T05:55:22.193Z] ---> Running in 05d10cc26472 [2023-07-31T05:55:22.459Z] Removing intermediate container 05d10cc26472 [2023-07-31T05:55:22.459Z] ---> edd66971f029 [2023-07-31T05:55:22.459Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:55:22.459Z] ---> Running in 332c1edb1244 [2023-07-31T05:55:23.415Z] Connecting to iotech.jfrog.io (34.252.247.30:443) [2023-07-31T05:55:24.002Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:55:24.002Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:55:24.002Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:55:24.586Z] Removing intermediate container 332c1edb1244 [2023-07-31T05:55:24.586Z] ---> ee3567a86093 [2023-07-31T05:55:24.586Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:55:24.586Z] ---> Running in 65591d76e189 [2023-07-31T05:55:25.999Z] Removing intermediate container 65591d76e189 [2023-07-31T05:55:25.999Z] ---> 0f59c2349422 [2023-07-31T05:55:25.999Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-31T05:55:25.999Z] ---> Running in 0e7f1bcd3538 [2023-07-31T05:55:26.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:27.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:27.804Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:28.384Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:55:28.384Z] (1/7) Installing curl (8.2.1-r0) [2023-07-31T05:55:28.649Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-31T05:55:28.649Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-31T05:55:28.649Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-31T05:55:29.227Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-31T05:55:29.227Z] (6/7) Installing libuuid (2.38-r1) [2023-07-31T05:55:29.227Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-31T05:55:30.180Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:55:30.180Z] OK: 281 MiB in 83 packages [2023-07-31T05:55:31.138Z] Removing intermediate container 0e7f1bcd3538 [2023-07-31T05:55:31.138Z] ---> 12b9d2052d4e [2023-07-31T05:55:31.138Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-31T05:55:35.370Z] ---> 6cf3e30be3cd [2023-07-31T05:55:35.370Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-31T05:55:35.635Z] ---> d88d3b1bcaae [2023-07-31T05:55:35.635Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-31T05:55:36.215Z] ---> 4f288f81f2ee [2023-07-31T05:55:36.215Z] Successfully built 4f288f81f2ee [2023-07-31T05:55:36.215Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:55:36.635Z] + docker inspect -f . ci-base-image-arm64 [2023-07-31T05:55:36.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:55:36.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-2570 does not seem to be running inside a container [2023-07-31T05:55:36.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-31T05:55:38.062Z] $ docker top 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T05:55:38.862Z] + make test [2023-07-31T05:55:38.862Z] echo "make test" [2023-07-31T05:55:38.862Z] make test [Pipeline] } [2023-07-31T05:55:38.880Z] $ docker stop --time=1 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf [2023-07-31T05:55:40.438Z] $ docker rm -f --volumes 93e3efccc23059e7aaf6dcb2a1caabf18b91de49d219c780d944f21797fa7adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-31T05:55:40.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-31T05:55:41.252Z] + ls -al . [2023-07-31T05:55:41.252Z] total 208 [2023-07-31T05:55:41.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:53 . [2023-07-31T05:55:41.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:52 .. [2023-07-31T05:55:41.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 05:53 .git [2023-07-31T05:55:41.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 .github [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 05:53 .gitignore [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 31 05:53 Attribution.txt [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 31 05:53 CHANGES [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 05:53 Doxyfile [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 05:53 GOVERNANCE.md [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 05:53 Jenkinsfile [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 05:53 LICENSE [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 05:53 Makefile [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 31 05:53 OWNERS.md [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 31 05:53 README.IOT.md [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 31 05:53 README.md [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 31 05:53 README.v3.md [2023-07-31T05:55:41.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 05:51 VERSION [2023-07-31T05:55:41.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 docs [2023-07-31T05:55:41.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:53 include [2023-07-31T05:55:41.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 05:53 scripts [2023-07-31T05:55:41.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 05:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:55:41.585Z] + 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=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 --label arch=arm64 --label version=0.0.0 . [2023-07-31T05:55:41.852Z] Sending build context to Docker daemon 2.916MB [2023-07-31T05:55:41.853Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-31T05:55:41.853Z] Step 2/17 : FROM ${BASE} [2023-07-31T05:55:41.853Z] ---> 4f288f81f2ee [2023-07-31T05:55:41.853Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-31T05:55:42.120Z] ---> Running in 52547a2c842d [2023-07-31T05:55:42.390Z] Removing intermediate container 52547a2c842d [2023-07-31T05:55:42.390Z] ---> 92ae385bc37e [2023-07-31T05:55:42.390Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-31T05:55:42.390Z] ---> Running in ed214743b9b1 [2023-07-31T05:55:43.348Z] Connecting to iotech.jfrog.io (34.250.240.127:443) [2023-07-31T05:55:43.613Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-31T05:55:43.613Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-31T05:55:43.613Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-31T05:55:44.199Z] Removing intermediate container ed214743b9b1 [2023-07-31T05:55:44.199Z] ---> a837440e17a0 [2023-07-31T05:55:44.199Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-31T05:55:44.465Z] ---> Running in 8897f38b991d [2023-07-31T05:55:45.883Z] Removing intermediate container 8897f38b991d [2023-07-31T05:55:45.883Z] ---> 1bc4aba43640 [2023-07-31T05:55:45.883Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-31T05:55:46.150Z] ---> Running in 565fc75a8ce1 [2023-07-31T05:55:47.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:47.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:47.960Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-31T05:55:48.540Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-31T05:55:48.540Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:55:48.540Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-31T05:55:48.540Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-31T05:55:49.492Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-31T05:55:49.492Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-31T05:55:49.492Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-31T05:55:49.492Z] (7/11) Installing libblkid (2.38-r1) [2023-07-31T05:55:49.492Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-31T05:55:49.492Z] (9/11) Installing libmount (2.38-r1) [2023-07-31T05:55:49.492Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-31T05:55:49.492Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-31T05:55:49.756Z] Executing busybox-1.35.0-r17.trigger [2023-07-31T05:55:49.756Z] OK: 287 MiB in 92 packages [2023-07-31T05:55:50.725Z] Removing intermediate container 565fc75a8ce1 [2023-07-31T05:55:50.725Z] ---> 54e312c4478b [2023-07-31T05:55:50.725Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-31T05:55:51.305Z] ---> 1b1f2bba1844 [2023-07-31T05:55:51.305Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-31T05:55:52.262Z] ---> 2e9cfb4d91cd [2023-07-31T05:55:52.262Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-31T05:55:52.527Z] ---> d0f638e1fbea [2023-07-31T05:55:52.527Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-31T05:55:53.108Z] ---> 6532df3ae5ba [2023-07-31T05:55:53.108Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-31T05:55:53.373Z] ---> 9c68d48459ba [2023-07-31T05:55:53.373Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-31T05:55:53.956Z] ---> d60f097637b2 [2023-07-31T05:55:53.956Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-31T05:55:53.956Z] ---> Running in 008e3f282783 [2023-07-31T05:55:54.222Z] Removing intermediate container 008e3f282783 [2023-07-31T05:55:54.222Z] ---> 4c7f68969196 [2023-07-31T05:55:54.222Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-31T05:55:54.222Z] ---> Running in 68d6858bbc78 [2023-07-31T05:55:54.488Z] Removing intermediate container 68d6858bbc78 [2023-07-31T05:55:54.488Z] ---> 370ad97968db [2023-07-31T05:55:54.488Z] Step 15/17 : LABEL arch=arm64 [2023-07-31T05:55:54.753Z] ---> Running in 5f653beec29e [2023-07-31T05:55:55.019Z] Removing intermediate container 5f653beec29e [2023-07-31T05:55:55.019Z] ---> d37dda2e7468 [2023-07-31T05:55:55.019Z] Step 16/17 : LABEL git_sha=0aa84d6e2362150f2a7fe76af15db12a3a58aab4 [2023-07-31T05:55:55.019Z] ---> Running in 73f216fc1ac9 [2023-07-31T05:55:55.285Z] Removing intermediate container 73f216fc1ac9 [2023-07-31T05:55:55.285Z] ---> 010d1d30e806 [2023-07-31T05:55:55.285Z] Step 17/17 : LABEL version=0.0.0 [2023-07-31T05:55:55.285Z] ---> Running in 66fec2f9b3cb [2023-07-31T05:55:55.550Z] Removing intermediate container 66fec2f9b3cb [2023-07-31T05:55:55.550Z] ---> f1185f5f3cd4 [2023-07-31T05:55:55.550Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-31T05:55:55.550Z] Successfully built f1185f5f3cd4 [2023-07-31T05:55:55.550Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:55:55.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T05:55:55.953Z] [2023-07-31T05:55:55.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:55:56.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T05:55:56.538Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-31T05:55:56.538Z] 8998bd30e6a1: Pulling fs layer [2023-07-31T05:55:56.538Z] 04944245beec: Pulling fs layer [2023-07-31T05:55:56.538Z] 699f458cf7ca: Pulling fs layer [2023-07-31T05:55:56.538Z] 765212b225bb: Pulling fs layer [2023-07-31T05:55:56.538Z] f23df028b6ca: Pulling fs layer [2023-07-31T05:55:56.538Z] d65c8cfc05b1: Pulling fs layer [2023-07-31T05:55:56.538Z] 2437ff75d9bd: Pulling fs layer [2023-07-31T05:55:56.538Z] 765212b225bb: Waiting [2023-07-31T05:55:56.538Z] d65c8cfc05b1: Waiting [2023-07-31T05:55:56.538Z] 2437ff75d9bd: Waiting [2023-07-31T05:55:56.538Z] f23df028b6ca: Waiting [2023-07-31T05:55:56.538Z] 04944245beec: Verifying Checksum [2023-07-31T05:55:56.538Z] 04944245beec: Download complete [2023-07-31T05:55:56.538Z] 765212b225bb: Verifying Checksum [2023-07-31T05:55:56.538Z] 765212b225bb: Download complete [2023-07-31T05:55:56.805Z] f23df028b6ca: Verifying Checksum [2023-07-31T05:55:56.805Z] f23df028b6ca: Download complete [2023-07-31T05:55:56.805Z] d65c8cfc05b1: Verifying Checksum [2023-07-31T05:55:56.805Z] d65c8cfc05b1: Download complete [2023-07-31T05:55:56.805Z] 699f458cf7ca: Verifying Checksum [2023-07-31T05:55:56.805Z] 699f458cf7ca: Download complete [2023-07-31T05:55:57.385Z] 8998bd30e6a1: Verifying Checksum [2023-07-31T05:55:57.386Z] 8998bd30e6a1: Download complete [2023-07-31T05:55:59.395Z] 2437ff75d9bd: Verifying Checksum [2023-07-31T05:55:59.395Z] 2437ff75d9bd: Download complete [2023-07-31T05:56:01.341Z] 8998bd30e6a1: Pull complete [2023-07-31T05:56:02.296Z] 04944245beec: Pull complete [2023-07-31T05:56:03.702Z] 699f458cf7ca: Pull complete [2023-07-31T05:56:03.702Z] 765212b225bb: Pull complete [2023-07-31T05:56:04.284Z] f23df028b6ca: Pull complete [2023-07-31T05:56:04.551Z] d65c8cfc05b1: Pull complete [2023-07-31T05:56:19.528Z] 2437ff75d9bd: Pull complete [2023-07-31T05:56:19.528Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-31T05:56:19.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-31T05:56:19.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:56:19.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-2570 does not seem to be running inside a container [2023-07-31T05:56:19.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-31T05:56:22.047Z] $ docker top 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:22.856Z] ---> job-cost.sh [2023-07-31T05:56:22.856Z] lf-activate-venv: SKIPPING [2023-07-31T05:56:22.856Z] INFO: No Stack... [2023-07-31T05:56:23.120Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-31T05:56:24.075Z] INFO: Archiving Costs [Pipeline] sh [2023-07-31T05:56:24.396Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-07-31T05:56:24.396Z] + cut -d, -f6 [Pipeline] lock [2023-07-31T05:56:24.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [2023-07-31T05:56:24.731Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] did not exist. Created. [2023-07-31T05:56:24.731Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-31T05:56:25.063Z] /w/workspace/device-sdk-c/2@tmp/durable-6b5fe571/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-31T05:56:25.492Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-31T05:56:25.501Z] Warning: overwriting stash ‘stack-cost’ [2023-07-31T05:56:26.010Z] Stashed 1 file(s) [Pipeline] } [2023-07-31T05:56:26.027Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-476-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-31T05:56:26.049Z] $ docker stop --time=1 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e [2023-07-31T05:56:27.621Z] $ docker rm -f --volumes 061e81da7d75aee4f18c3fee623e46d4cc47f46d917b2fbb4365b55a9bb15b7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-31T05:56:28.411Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives ] [2023-07-31T05:56:28.411Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-31T05:56:28.411Z] total 16 [2023-07-31T05:56:28.411Z] drwxr-xr-x 3 root root 4096 Jul 31 05:52 . [2023-07-31T05:56:28.411Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 05:52 .. [2023-07-31T05:56:28.411Z] drwxr-xr-x 2 root root 4096 Jul 31 05:52 cost [2023-07-31T05:56:28.411Z] -rw-r--r-- 1 root root 84 Jul 31 05:52 cost.csv [2023-07-31T05:56:28.411Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-31T05:56:28.411Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives [2023-07-31T05:56:28.411Z] total 16 [2023-07-31T05:56:28.411Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 05:52 . [2023-07-31T05:56:28.411Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 05:52 .. [2023-07-31T05:56:28.411Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 05:52 cost [2023-07-31T05:56:28.411Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 31 05:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:28.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:29.556Z] ---> package-listing.sh [2023-07-31T05:56:29.556Z] ++ facter osfamily [2023-07-31T05:56:29.556Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-31T05:56:29.815Z] + OS_FAMILY=debian [2023-07-31T05:56:29.815Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-476 [2023-07-31T05:56:29.815Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-31T05:56:29.815Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-31T05:56:29.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-31T05:56:29.815Z] + PACKAGES=/tmp/packages_start.txt [2023-07-31T05:56:29.815Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' [2023-07-31T05:56:29.815Z] + PACKAGES=/tmp/packages_end.txt [2023-07-31T05:56:29.815Z] + case "${OS_FAMILY}" in [2023-07-31T05:56:29.815Z] + dpkg -l [2023-07-31T05:56:29.815Z] + grep '^ii' [2023-07-31T05:56:29.815Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-31T05:56:29.815Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-31T05:56:29.815Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-31T05:56:29.815Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-476 ']' [2023-07-31T05:56:29.815Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ [2023-07-31T05:56:29.815Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-476/archives/ [Pipeline] echo [2023-07-31T05:56:29.825Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-31T05:56:30.100Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-31T05:56:30.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-31T05:56:30.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-31T05:56:30.724Z] prd-ubuntu20.04-docker-8c-8g-2569 does not seem to be running inside a container [2023-07-31T05:56:30.754Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-476 -v /w/workspace/edgexfoundry_device-sdk-c_PR-476:/w/workspace/edgexfoundry_device-sdk-c_PR-476:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-31T05:56:30.934Z] $ docker top 8c4197bb9fd615480fea43193e49032d858b281a485d7b617f17e119acc8dbcf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-31T05:56:31.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-31T05:56:31.558Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-31T05:56:31.844Z] + ls /var/log/sa-host [2023-07-31T05:56:31.844Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-31T05:56:31.998Z] provisioning config files... [2023-07-31T05:56:32.006Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-476@tmp/config16899312570509469532tmp [Pipeline] { [Pipeline] echo [2023-07-31T05:56:32.018Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:32.299Z] ---> create-netrc.sh [Pipeline] } [2023-07-31T05:56:32.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:32.634Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-31T05:56:32.640Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:32.920Z] ---> sudo-logs.sh [2023-07-31T05:56:32.920Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-31T05:56:32.952Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:33.232Z] ---> job-cost.sh [2023-07-31T05:56:33.232Z] lf-activate-venv: SKIPPING [2023-07-31T05:56:33.232Z] DEBUG: total: 0.2199999988079071 [2023-07-31T05:56:33.232Z] INFO: Retrieving Stack Cost... [2023-07-31T05:56:33.491Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-31T05:56:34.059Z] INFO: Archiving Costs [Pipeline] echo [2023-07-31T05:56:34.070Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-31T05:56:34.351Z] ---> logs-deploy.sh [2023-07-31T05:56:34.351Z] lf-activate-venv: SKIPPING [2023-07-31T05:56:34.351Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-476/2 [2023-07-31T05:56:34.351Z] INFO: archiving workspace using pattern(s): [2023-07-31T05:56:35.287Z] Archives upload complete. [2023-07-31T05:56:35.287Z] INFO: archiving logs to Nexus