Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bd72eafd135fc13cc0388e2e4a2395f7020de89 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-ssh18211309345790269317.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-ssh8188618510895400736.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7396866672047347959.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-ssh988219711167920213.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8412847812020911206.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-3283 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 3bd72eafd135fc13cc0388e2e4a2395f7020de89 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 Commit message: "Merge pull request #478 from FelixTing/changelog-update" > git rev-list --no-walk ed51e6acf64310a02c241751e963c5ca7bfef27d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-10T11:48:07.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-10T11:48:07.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T11:48:07.367Z] ========================================================= [2023-08-10T11:48:07.367Z] EdgeX Global Pipelines Version Info [2023-08-10T11:48:07.367Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:48:08.083Z] ------------------- [2023-08-10T11:48:08.084Z] stable info: [2023-08-10T11:48:08.084Z] ------------------- [2023-08-10T11:48:08.084Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-10T11:48:08.084Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-10T11:48:08.084Z] Message: update stable to v1.0.250 [2023-08-10T11:48:08.653Z] ------------------- [2023-08-10T11:48:08.653Z] experimental info: [2023-08-10T11:48:08.653Z] ------------------- [2023-08-10T11:48:08.653Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-10T11:48:08.653Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-10T11:48:08.653Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-10T11:48:08.808Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-10T11:48:08.818Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-10T11:48:08.830Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-10T11:48:08.846Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-10T11:48:08.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-10T11:48:08.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-10T11:48:08.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-10T11:48:08.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-10T11:48:08.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-10T11:48:08.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-10T11:48:08.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-10T11:48:08.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-10T11:48:08.969Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-10T11:48:08.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-10T11:48:09.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-10T11:48:09.019Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-10T11:48:09.030Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-10T11:48:09.043Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-10T11:48:09.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-10T11:48:09.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-10T11:48:09.086Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T11:48:09.097Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bd72ea [Pipeline] echo [2023-08-10T11:48:09.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T11:48:09.160Z] provisioning config files... [2023-08-10T11:48:09.173Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3789631579172979560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:48:09.475Z] ---> docker-login.sh [2023-08-10T11:48:09.475Z] nexus3.edgexfoundry.org:10001 [2023-08-10T11:48:09.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:09.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:09.997Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:09.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:09.997Z] [2023-08-10T11:48:09.997Z] Login Succeeded [2023-08-10T11:48:09.997Z] nexus3.edgexfoundry.org:10002 [2023-08-10T11:48:09.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:09.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:09.997Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:09.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:09.997Z] [2023-08-10T11:48:09.997Z] Login Succeeded [2023-08-10T11:48:09.997Z] nexus3.edgexfoundry.org:10003 [2023-08-10T11:48:09.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:10.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:10.260Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:10.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:10.260Z] [2023-08-10T11:48:10.260Z] Login Succeeded [2023-08-10T11:48:10.260Z] nexus3.edgexfoundry.org:10004 [2023-08-10T11:48:10.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:10.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:10.260Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:10.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:10.260Z] [2023-08-10T11:48:10.260Z] Login Succeeded [2023-08-10T11:48:10.260Z] docker.io [2023-08-10T11:48:10.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:10.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:10.520Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:10.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:10.520Z] [2023-08-10T11:48:10.520Z] Login Succeeded [2023-08-10T11:48:10.520Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T11:48:10.527Z] 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-08-10T11:48:10.902Z] + git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T11:48:10.949Z] -----------> git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T11:48:10.949Z] 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [false] [Pipeline] sh [2023-08-10T11:48:11.235Z] + git log --format=format:%s -1 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T11:48:11.252Z] ========================================================= [2023-08-10T11:48:11.252Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-10T11:48:11.252Z] ========================================================= 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-08-10T11:48:11.668Z] + git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T11:48:11.678Z] -----------> git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T11:48:11.678Z] 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [false] [Pipeline] sh [2023-08-10T11:48:11.975Z] + git log --format=format:%s -1 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T11:48:11.989Z] ========================================================= [2023-08-10T11:48:11.989Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-10T11:48:11.989Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-10T11:48:12.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T11:48:12.446Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-10T11:48:12.446Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-10T11:48:12.446Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-10T11:48:12.446Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-10T11:48:12.446Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-10T11:48:12.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:48:12.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:48:12.858Z] [2023-08-10T11:48:12.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:48:13.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:48:13.164Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-10T11:48:13.164Z] b85a868b505f: Pulling fs layer [2023-08-10T11:48:13.164Z] e2be974225ed: Pulling fs layer [2023-08-10T11:48:13.164Z] 339a4e72a1f5: Pulling fs layer [2023-08-10T11:48:13.164Z] 988bab9f4d93: Pulling fs layer [2023-08-10T11:48:13.164Z] 1469e6f7b9e6: Pulling fs layer [2023-08-10T11:48:13.164Z] eaf3925da568: Pulling fs layer [2023-08-10T11:48:13.164Z] bab4dde63d76: Pulling fs layer [2023-08-10T11:48:13.164Z] 1469e6f7b9e6: Waiting [2023-08-10T11:48:13.164Z] 988bab9f4d93: Waiting [2023-08-10T11:48:13.164Z] eaf3925da568: Waiting [2023-08-10T11:48:13.164Z] bde34c3a00c8: Pulling fs layer [2023-08-10T11:48:13.164Z] b352a97aabf1: Pulling fs layer [2023-08-10T11:48:13.164Z] bab4dde63d76: Waiting [2023-08-10T11:48:13.164Z] b352a97aabf1: Waiting [2023-08-10T11:48:13.164Z] bde34c3a00c8: Waiting [2023-08-10T11:48:13.164Z] 4872d77fe225: Pulling fs layer [2023-08-10T11:48:13.164Z] 5851b861e8e6: Pulling fs layer [2023-08-10T11:48:13.164Z] 4872d77fe225: Waiting [2023-08-10T11:48:13.164Z] 5851b861e8e6: Waiting [2023-08-10T11:48:13.164Z] e2be974225ed: Verifying Checksum [2023-08-10T11:48:13.164Z] e2be974225ed: Download complete [2023-08-10T11:48:13.164Z] 988bab9f4d93: Verifying Checksum [2023-08-10T11:48:13.164Z] 988bab9f4d93: Download complete [2023-08-10T11:48:13.423Z] 1469e6f7b9e6: Verifying Checksum [2023-08-10T11:48:13.423Z] 1469e6f7b9e6: Download complete [2023-08-10T11:48:13.423Z] eaf3925da568: Download complete [2023-08-10T11:48:13.423Z] 339a4e72a1f5: Verifying Checksum [2023-08-10T11:48:13.423Z] 339a4e72a1f5: Download complete [2023-08-10T11:48:13.423Z] bde34c3a00c8: Download complete [2023-08-10T11:48:13.424Z] b352a97aabf1: Verifying Checksum [2023-08-10T11:48:13.424Z] b352a97aabf1: Download complete [2023-08-10T11:48:13.424Z] 4872d77fe225: Verifying Checksum [2023-08-10T11:48:13.424Z] 4872d77fe225: Download complete [2023-08-10T11:48:13.424Z] 5851b861e8e6: Download complete [2023-08-10T11:48:13.424Z] b85a868b505f: Download complete [2023-08-10T11:48:13.682Z] bab4dde63d76: Verifying Checksum [2023-08-10T11:48:13.682Z] bab4dde63d76: Download complete [2023-08-10T11:48:14.619Z] b85a868b505f: Pull complete [2023-08-10T11:48:14.880Z] e2be974225ed: Pull complete [2023-08-10T11:48:15.449Z] 339a4e72a1f5: Pull complete [2023-08-10T11:48:15.449Z] 988bab9f4d93: Pull complete [2023-08-10T11:48:15.707Z] 1469e6f7b9e6: Pull complete [2023-08-10T11:48:15.965Z] eaf3925da568: Pull complete [2023-08-10T11:48:17.867Z] bab4dde63d76: Pull complete [2023-08-10T11:48:17.867Z] bde34c3a00c8: Pull complete [2023-08-10T11:48:17.867Z] b352a97aabf1: Pull complete [2023-08-10T11:48:17.867Z] 4872d77fe225: Pull complete [2023-08-10T11:48:17.867Z] 5851b861e8e6: Pull complete [2023-08-10T11:48:17.867Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-10T11:48:17.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:48:17.867Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:48:17.956Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:48:17.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T11:48:21.711Z] $ docker top 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 -eo pid,comm [2023-08-10T11:48:21.763Z] 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-08-10T11:48:21.763Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T11:48:21.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T11:48:21.797Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T11:48:21.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T11:48:21.918Z] $ docker exec 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 ssh-agent [2023-08-10T11:48:22.036Z] SSH_AUTH_SOCK=/tmp/ssh-nLP3MldkYIaQ/agent.31 [2023-08-10T11:48:22.036Z] SSH_AGENT_PID=37 [2023-08-10T11:48:22.043Z] Running ssh-add (command line suppressed) [2023-08-10T11:48:22.145Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5111239615614441543.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5111239615614441543.key) [2023-08-10T11:48:22.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T11:48:22.447Z] + git tag --points-at HEAD [Pipeline] } [2023-08-10T11:48:22.466Z] $ docker exec --env ******** --env ******** 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 ssh-agent -k [2023-08-10T11:48:22.583Z] unset SSH_AUTH_SOCK; [2023-08-10T11:48:22.583Z] unset SSH_AGENT_PID; [2023-08-10T11:48:22.583Z] echo Agent pid 37 killed; [2023-08-10T11:48:22.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-10T11:48:22.625Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T11:48:22.625Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T11:48:22.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T11:48:22.735Z] $ docker exec 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 ssh-agent [2023-08-10T11:48:22.844Z] SSH_AUTH_SOCK=/tmp/ssh-83jovn02c2OO/agent.69 [2023-08-10T11:48:22.844Z] SSH_AGENT_PID=75 [2023-08-10T11:48:22.848Z] Running ssh-add (command line suppressed) [2023-08-10T11:48:22.957Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4573889983518440217.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4573889983518440217.key) [2023-08-10T11:48:22.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T11:48:23.258Z] + git semver init [2023-08-10T11:48:23.519Z] 2023-08-10 11:48:23,433 [run_init] DEBUG init version:0.0.0 force:False [2023-08-10T11:48:23.519Z] 2023-08-10 11:48:23,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-10T11:48:23.519Z] 2023-08-10 11:48:23,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-10T11:48:23.519Z] 2023-08-10 11:48:23,434 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-10T11:48:24.458Z] 2023-08-10 11:48:24,245 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-08-10T11:48:24.458Z] 2023-08-10 11:48:24,245 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-08-10T11:48:24.458Z] 2023-08-10 11:48:24,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:48:24.458Z] 2023-08-10 11:48:24,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:48:24.458Z] 3.1.0-dev.9 [Pipeline] } [2023-08-10T11:48:24.468Z] $ docker exec --env ******** --env ******** 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 ssh-agent -k [2023-08-10T11:48:24.546Z] unset SSH_AUTH_SOCK; [2023-08-10T11:48:24.547Z] unset SSH_AGENT_PID; [2023-08-10T11:48:24.547Z] echo Agent pid 75 killed; [2023-08-10T11:48:24.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T11:48:24.861Z] + git semver [Pipeline] } [2023-08-10T11:48:25.133Z] $ docker stop --time=1 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 [2023-08-10T11:48:26.411Z] $ docker rm -f --volumes 4ae5fabfefec07866fe152aafad84a4f86bd1fea4b434d425c3953c82eed7592 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T11:48:26.742Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-10T11:48:26.954Z] Stashed 1 file(s) [Pipeline] echo [2023-08-10T11:48:26.957Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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-08-10T11:48:27.095Z] provisioning config files... [2023-08-10T11:48:27.102Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18358361596563525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:48:27.393Z] ---> docker-login.sh [2023-08-10T11:48:27.393Z] nexus3.edgexfoundry.org:10001 [2023-08-10T11:48:27.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:27.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:27.394Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:27.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:27.394Z] [2023-08-10T11:48:27.394Z] Login Succeeded [2023-08-10T11:48:27.394Z] nexus3.edgexfoundry.org:10002 [2023-08-10T11:48:27.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:27.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:27.394Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:27.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:27.394Z] [2023-08-10T11:48:27.394Z] Login Succeeded [2023-08-10T11:48:27.394Z] nexus3.edgexfoundry.org:10003 [2023-08-10T11:48:27.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:27.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:27.653Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:27.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:27.653Z] [2023-08-10T11:48:27.653Z] Login Succeeded [2023-08-10T11:48:27.653Z] nexus3.edgexfoundry.org:10004 [2023-08-10T11:48:27.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:27.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:27.653Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:27.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:27.653Z] [2023-08-10T11:48:27.653Z] Login Succeeded [2023-08-10T11:48:27.653Z] docker.io [2023-08-10T11:48:27.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:48:27.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:48:27.912Z] Configure a credential helper to remove this warning. See [2023-08-10T11:48:27.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:48:27.912Z] [2023-08-10T11:48:27.912Z] Login Succeeded [2023-08-10T11:48:27.912Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T11:48:27.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T11:48:27.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T11:48:27.991Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-10T11:48:28.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T11:48:28.013Z] ========================================================= [2023-08-10T11:48:28.013Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-10T11:48:28.013Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:48:28.321Z] + 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-08-10T11:48:28.322Z] Sending build context to Docker daemon 4.877MB [2023-08-10T11:48:28.322Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T11:48:28.322Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T11:48:28.322Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-10T11:48:28.322Z] 91d30c5bc195: Pulling fs layer [2023-08-10T11:48:28.322Z] 316e5a4585fb: Pulling fs layer [2023-08-10T11:48:28.582Z] 91d30c5bc195: Verifying Checksum [2023-08-10T11:48:28.582Z] 91d30c5bc195: Download complete [2023-08-10T11:48:28.582Z] 91d30c5bc195: Pull complete [2023-08-10T11:48:29.152Z] 316e5a4585fb: Verifying Checksum [2023-08-10T11:48:29.152Z] 316e5a4585fb: Download complete [2023-08-10T11:48:32.436Z] 316e5a4585fb: Pull complete [2023-08-10T11:48:32.436Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-10T11:48:32.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-10T11:48:32.436Z] ---> e83ffa357ff4 [2023-08-10T11:48:32.436Z] 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-08-10T11:48:34.982Z] ---> Running in c3eb9db3823d [2023-08-10T11:48:35.241Z] Connecting to iotech.jfrog.io (52.212.187.237:443) [2023-08-10T11:48:35.500Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:48:35.500Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:48:35.500Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:48:35.759Z] Removing intermediate container c3eb9db3823d [2023-08-10T11:48:35.759Z] ---> ec0d53514e9a [2023-08-10T11:48:35.759Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:48:35.759Z] ---> Running in 7199f87d7f31 [2023-08-10T11:48:36.325Z] Removing intermediate container 7199f87d7f31 [2023-08-10T11:48:36.325Z] ---> 475f5f8fd17a [2023-08-10T11:48:36.325Z] 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-08-10T11:48:36.584Z] ---> Running in dceea6b00612 [2023-08-10T11:48:36.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:36.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:37.103Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:37.671Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:48:37.671Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:48:37.671Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:48:37.671Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T11:48:37.671Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T11:48:37.671Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T11:48:38.240Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T11:48:38.240Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T11:48:38.240Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T11:48:38.499Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T11:48:38.499Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T11:48:39.437Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T11:48:39.437Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T11:48:39.437Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T11:48:39.437Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T11:48:39.437Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T11:48:39.437Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T11:48:39.437Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:48:39.437Z] OK: 280 MiB in 90 packages [2023-08-10T11:48:40.003Z] Removing intermediate container dceea6b00612 [2023-08-10T11:48:40.003Z] ---> 2a3f785bd16d [2023-08-10T11:48:40.003Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T11:48:40.003Z] ---> Running in 09825dba1a29 [2023-08-10T11:48:40.571Z] Removing intermediate container 09825dba1a29 [2023-08-10T11:48:40.571Z] ---> 59a066850069 [2023-08-10T11:48:40.571Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T11:48:40.829Z] ---> b6305af84e70 [2023-08-10T11:48:40.829Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T11:48:41.089Z] ---> 93f2c777d9c4 [2023-08-10T11:48:41.089Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T11:48:41.089Z] ---> 8b9609846925 [2023-08-10T11:48:41.089Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T11:48:41.347Z] ---> 451320d26880 [2023-08-10T11:48:41.347Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T11:48:41.347Z] ---> d67a8732030a [2023-08-10T11:48:41.347Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T11:48:41.606Z] ---> 9b1620f5bc52 [2023-08-10T11:48:41.606Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T11:48:41.606Z] ---> Running in 36000cca84c4 [2023-08-10T11:48:41.865Z] + CPPCHECK=false [2023-08-10T11:48:41.865Z] + DOCGEN=false [2023-08-10T11:48:41.865Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T11:48:41.865Z] + '[' 0 -gt 0 ] [2023-08-10T11:48:41.865Z] + readlink -f ./scripts/build.sh [2023-08-10T11:48:41.865Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T11:48:41.865Z] + dirname /tmp/sdk/scripts [2023-08-10T11:48:41.865Z] + ROOT=/tmp/sdk [2023-08-10T11:48:41.865Z] + cd /tmp/sdk [2023-08-10T11:48:41.865Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T11:48:41.865Z] + cd /tmp/sdk/build/release [2023-08-10T11:48:41.865Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T11:48:41.865Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T11:48:41.865Z] -- Detecting C compiler ABI info [2023-08-10T11:48:42.047Z] Still waiting to schedule task [2023-08-10T11:48:42.048Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-10T11:48:42.123Z] -- Detecting C compiler ABI info - done [2023-08-10T11:48:42.124Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T11:48:42.124Z] -- Detecting C compile features [2023-08-10T11:48:42.124Z] -- Detecting C compile features - done [2023-08-10T11:48:42.124Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T11:48:42.124Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T11:48:42.124Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T11:48:42.124Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T11:48:42.124Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T11:48:42.124Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T11:48:42.124Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T11:48:42.124Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T11:48:42.124Z] -- /opt/iotech/iot/1.5/include [2023-08-10T11:48:42.124Z] -- C SDK 3.1.0-dev.9 for Linux [2023-08-10T11:48:42.124Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T11:48:42.124Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T11:48:42.382Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T11:48:42.382Z] -- Configuring done [2023-08-10T11:48:42.382Z] -- Generating done [2023-08-10T11:48:42.382Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T11:48:42.382Z] + make all package [2023-08-10T11:48:42.382Z] + tee release.log [2023-08-10T11:48:42.382Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T11:48:42.382Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T11:48:42.640Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T11:48:42.899Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T11:48:42.899Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T11:48:43.157Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T11:48:43.416Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T11:48:43.676Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T11:48:43.676Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T11:48:43.933Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T11:48:44.192Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T11:48:44.192Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T11:48:44.450Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T11:48:44.450Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T11:48:44.707Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T11:48:44.707Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T11:48:44.966Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T11:48:45.224Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T11:48:45.224Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T11:48:45.483Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T11:48:45.741Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T11:48:46.677Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T11:48:46.677Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T11:48:46.677Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T11:48:46.936Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T11:48:46.936Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T11:48:47.196Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T11:48:47.764Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T11:48:47.764Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T11:48:47.764Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T11:48:48.023Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T11:48:48.590Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T11:48:48.590Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T11:48:48.590Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T11:48:48.848Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T11:48:48.848Z] [ 68%] Built target csdk [2023-08-10T11:48:48.848Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T11:48:49.107Z] [ 72%] Linking C executable template [2023-08-10T11:48:49.107Z] [ 72%] Built target template [2023-08-10T11:48:49.107Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T11:48:49.107Z] [ 76%] Linking C executable device-counter [2023-08-10T11:48:49.366Z] [ 76%] Built target device-counter [2023-08-10T11:48:49.366Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T11:48:49.366Z] [ 80%] Linking C executable device-random [2023-08-10T11:48:49.366Z] [ 80%] Built target device-random [2023-08-10T11:48:49.366Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T11:48:49.625Z] [ 84%] Linking C executable device-gyro [2023-08-10T11:48:49.625Z] [ 84%] Built target device-gyro [2023-08-10T11:48:49.625Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T11:48:49.885Z] [ 88%] Linking C executable device-bitfields [2023-08-10T11:48:49.885Z] [ 88%] Built target device-bitfields [2023-08-10T11:48:49.885Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T11:48:49.885Z] [ 92%] Linking C executable template-discovery [2023-08-10T11:48:50.143Z] [ 92%] Built target template-discovery [2023-08-10T11:48:50.143Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T11:48:50.143Z] [ 96%] Linking C executable device-file [2023-08-10T11:48:50.401Z] [ 96%] Built target device-file [2023-08-10T11:48:50.401Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T11:48:50.401Z] [100%] Linking C executable device-terminal [2023-08-10T11:48:50.401Z] [100%] Built target device-terminal [2023-08-10T11:48:50.401Z] Run CPack packaging tool... [2023-08-10T11:48:50.661Z] CPack: Create package using TGZ [2023-08-10T11:48:50.661Z] CPack: Install projects [2023-08-10T11:48:50.661Z] CPack: - Run preinstall target for: Csdk [2023-08-10T11:48:50.920Z] CPack: - Install project: Csdk [] [2023-08-10T11:48:50.920Z] CPack: Create package [2023-08-10T11:48:50.920Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.9.tar.gz generated. [2023-08-10T11:48:50.920Z] + '[' false '=' true ] [2023-08-10T11:48:50.920Z] + '[' false '=' true ] [2023-08-10T11:48:50.920Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T11:48:50.920Z] + cd /tmp/sdk/build/debug [2023-08-10T11:48:50.920Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T11:48:50.920Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T11:48:50.920Z] -- Detecting C compiler ABI info [2023-08-10T11:48:50.920Z] -- Detecting C compiler ABI info - done [2023-08-10T11:48:50.920Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T11:48:50.920Z] -- Detecting C compile features [2023-08-10T11:48:50.920Z] -- Detecting C compile features - done [2023-08-10T11:48:50.920Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T11:48:51.180Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T11:48:51.180Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T11:48:51.180Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T11:48:51.180Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T11:48:51.180Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T11:48:51.180Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T11:48:51.180Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T11:48:51.180Z] -- /opt/iotech/iot/1.5/include [2023-08-10T11:48:51.180Z] -- C SDK 3.1.0-dev.9 for Linux [2023-08-10T11:48:51.180Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T11:48:51.180Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T11:48:51.180Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T11:48:51.180Z] -- Configuring done [2023-08-10T11:48:51.180Z] -- Generating done [2023-08-10T11:48:51.180Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T11:48:51.180Z] + make [2023-08-10T11:48:51.180Z] + tee debug.log [2023-08-10T11:48:51.438Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T11:48:51.438Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T11:48:51.438Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T11:48:51.697Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T11:48:51.697Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T11:48:51.697Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T11:48:51.955Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T11:48:51.956Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T11:48:51.956Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T11:48:51.956Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T11:48:52.213Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T11:48:52.213Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T11:48:52.472Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T11:48:52.472Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T11:48:52.472Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T11:48:52.472Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T11:48:52.730Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T11:48:52.730Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T11:48:52.730Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T11:48:52.990Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T11:48:52.990Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T11:48:53.248Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T11:48:53.248Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T11:48:53.248Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T11:48:53.507Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T11:48:53.507Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T11:48:53.507Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T11:48:53.765Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T11:48:54.024Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T11:48:54.024Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T11:48:54.024Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T11:48:54.284Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T11:48:54.284Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T11:48:54.544Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T11:48:54.544Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T11:48:54.544Z] [ 68%] Built target csdk [2023-08-10T11:48:54.544Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T11:48:54.544Z] [ 72%] Linking C executable template [2023-08-10T11:48:54.804Z] [ 72%] Built target template [2023-08-10T11:48:54.804Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T11:48:54.804Z] [ 76%] Linking C executable device-counter [2023-08-10T11:48:54.804Z] [ 76%] Built target device-counter [2023-08-10T11:48:54.804Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T11:48:55.061Z] [ 80%] Linking C executable device-random [2023-08-10T11:48:55.061Z] [ 80%] Built target device-random [2023-08-10T11:48:55.061Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T11:48:55.061Z] [ 84%] Linking C executable device-gyro [2023-08-10T11:48:55.061Z] [ 84%] Built target device-gyro [2023-08-10T11:48:55.061Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T11:48:55.320Z] [ 88%] Linking C executable device-bitfields [2023-08-10T11:48:55.320Z] [ 88%] Built target device-bitfields [2023-08-10T11:48:55.320Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T11:48:55.320Z] [ 92%] Linking C executable template-discovery [2023-08-10T11:48:55.579Z] [ 92%] Built target template-discovery [2023-08-10T11:48:55.579Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T11:48:55.579Z] [ 96%] Linking C executable device-file [2023-08-10T11:48:55.579Z] [ 96%] Built target device-file [2023-08-10T11:48:55.580Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T11:48:55.839Z] [100%] Linking C executable device-terminal [2023-08-10T11:48:55.839Z] [100%] Built target device-terminal [2023-08-10T11:48:55.839Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 68%] Built target csdk [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 72%] Built target template [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 76%] Built target device-counter [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 80%] Built target device-random [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 84%] Built target device-gyro [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:55.839Z] [ 88%] Built target device-bitfields [2023-08-10T11:48:55.839Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] [ 92%] Built target template-discovery [2023-08-10T11:48:56.097Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] [ 96%] Built target device-file [2023-08-10T11:48:56.097Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] [100%] Built target device-terminal [2023-08-10T11:48:56.097Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.097Z] Install the project... [2023-08-10T11:48:56.097Z] -- Install configuration: "Release" [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-10T11:48:56.097Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/devsdk [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-10T11:48:56.097Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-10T11:48:56.097Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:48:56.665Z] Removing intermediate container 36000cca84c4 [2023-08-10T11:48:56.665Z] ---> c8f9cdb533b6 [2023-08-10T11:48:56.665Z] Step 14/21 : FROM ${BASE} [2023-08-10T11:48:56.665Z] ---> e83ffa357ff4 [2023-08-10T11:48:56.665Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-10T11:48:56.922Z] ---> Running in 14fa8f653a21 [2023-08-10T11:48:56.922Z] Removing intermediate container 14fa8f653a21 [2023-08-10T11:48:56.922Z] ---> a6db0d630ae9 [2023-08-10T11:48:56.922Z] 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-08-10T11:48:56.922Z] ---> Running in a067768022c4 [2023-08-10T11:48:57.182Z] Connecting to iotech.jfrog.io (52.50.11.76:443) [2023-08-10T11:48:57.760Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:48:57.760Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:48:57.760Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:48:58.019Z] Removing intermediate container a067768022c4 [2023-08-10T11:48:58.019Z] ---> 27df1b15cef2 [2023-08-10T11:48:58.019Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:48:58.019Z] ---> Running in 24053c2fad3c [2023-08-10T11:48:58.590Z] Removing intermediate container 24053c2fad3c [2023-08-10T11:48:58.590Z] ---> f9fd2b488524 [2023-08-10T11:48:58.590Z] 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-08-10T11:48:58.590Z] ---> Running in 75242443a7c7 [2023-08-10T11:48:58.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:58.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:59.111Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:48:59.678Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:48:59.678Z] (1/7) Installing curl (8.2.1-r0) [2023-08-10T11:48:59.678Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-10T11:48:59.678Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-10T11:48:59.678Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-10T11:49:00.245Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-10T11:49:00.245Z] (6/7) Installing libuuid (2.38-r1) [2023-08-10T11:49:00.245Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T11:49:01.182Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:49:01.182Z] OK: 276 MiB in 83 packages [2023-08-10T11:49:01.441Z] Removing intermediate container 75242443a7c7 [2023-08-10T11:49:01.441Z] ---> 3748824b3ee4 [2023-08-10T11:49:01.441Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-10T11:49:01.700Z] ---> 9d17171e83dc [2023-08-10T11:49:01.700Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-10T11:49:01.959Z] ---> c2047284ca59 [2023-08-10T11:49:01.959Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-10T11:49:01.959Z] ---> b276edf75432 [2023-08-10T11:49:01.959Z] Successfully built b276edf75432 [2023-08-10T11:49:01.959Z] 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-08-10T11:49:02.337Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-10T11:49:02.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:49:02.408Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:49:02.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2023-08-10T11:49:02.781Z] $ docker top 3ac814b29317c80adb8c2eff1299b3c249ac826b25a636add2a582efe15f7f8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T11:49:03.120Z] + make test [2023-08-10T11:49:03.120Z] echo "make test" [2023-08-10T11:49:03.120Z] make test [Pipeline] } [2023-08-10T11:49:03.131Z] $ docker stop --time=1 3ac814b29317c80adb8c2eff1299b3c249ac826b25a636add2a582efe15f7f8f [2023-08-10T11:49:04.420Z] $ docker rm -f --volumes 3ac814b29317c80adb8c2eff1299b3c249ac826b25a636add2a582efe15f7f8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T11:49:05.037Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T11:49:05.322Z] + ls -al . [2023-08-10T11:49:05.322Z] total 212 [2023-08-10T11:49:05.322Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 11:48 . [2023-08-10T11:49:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:48 .. [2023-08-10T11:49:05.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 11:48 .git [2023-08-10T11:49:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:48 .github [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 10 11:48 .gitignore [2023-08-10T11:49:05.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 11:48 .semver [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 10 11:48 Attribution.txt [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 10 11:48 CHANGES [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 10 11:48 Doxyfile [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 11:48 GOVERNANCE.md [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 10 11:48 Jenkinsfile [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 10 11:48 LICENSE [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 10 11:48 Makefile [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 10 11:48 OWNERS.md [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 10 11:48 README.IOT.md [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 10 11:48 README.md [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 10 11:48 README.v3.md [2023-08-10T11:49:05.322Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 11:48 VERSION [2023-08-10T11:49:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:48 docs [2023-08-10T11:49:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:48 include [2023-08-10T11:49:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:48 scripts [2023-08-10T11:49:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:48 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:49:05.623Z] + 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=3bd72eafd135fc13cc0388e2e4a2395f7020de89 --label arch=amd64 --label version=3.1.0-dev.9 . [2023-08-10T11:49:05.623Z] Sending build context to Docker daemon 4.877MB [2023-08-10T11:49:05.623Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-10T11:49:05.623Z] Step 2/17 : FROM ${BASE} [2023-08-10T11:49:05.623Z] ---> b276edf75432 [2023-08-10T11:49:05.623Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-10T11:49:05.623Z] ---> Running in 8834fb748b1d [2023-08-10T11:49:05.881Z] Removing intermediate container 8834fb748b1d [2023-08-10T11:49:05.881Z] ---> fd709a5c261b [2023-08-10T11:49:05.881Z] 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-08-10T11:49:05.882Z] ---> Running in 142e83bfc9db [2023-08-10T11:49:06.141Z] Connecting to iotech.jfrog.io (52.212.187.237:443) [2023-08-10T11:49:06.400Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:49:06.400Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:49:06.400Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:49:06.970Z] Removing intermediate container 142e83bfc9db [2023-08-10T11:49:06.970Z] ---> e2322addff93 [2023-08-10T11:49:06.970Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:49:06.970Z] ---> Running in 8ed8430e3a0c [2023-08-10T11:49:07.232Z] Removing intermediate container 8ed8430e3a0c [2023-08-10T11:49:07.232Z] ---> 2e3c982af653 [2023-08-10T11:49:07.232Z] 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-08-10T11:49:07.491Z] ---> Running in fb2dcd089616 [2023-08-10T11:49:07.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:49:07.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T11:49:07.752Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T11:49:08.320Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:49:08.320Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:49:08.320Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:49:08.320Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T11:49:08.889Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T11:49:09.148Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-10T11:49:09.148Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T11:49:09.148Z] (7/11) Installing libblkid (2.38-r1) [2023-08-10T11:49:09.148Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-10T11:49:09.148Z] (9/11) Installing libmount (2.38-r1) [2023-08-10T11:49:09.148Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-10T11:49:09.148Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-10T11:49:09.148Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:49:09.148Z] OK: 281 MiB in 92 packages [2023-08-10T11:49:09.715Z] Removing intermediate container fb2dcd089616 [2023-08-10T11:49:09.715Z] ---> 0b09f96eba0e [2023-08-10T11:49:09.715Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-10T11:49:09.979Z] ---> e6186cc0085c [2023-08-10T11:49:09.979Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-10T11:49:10.238Z] ---> 4508c59c99c6 [2023-08-10T11:49:10.238Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-10T11:49:10.238Z] ---> c6dda0061da4 [2023-08-10T11:49:10.238Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-10T11:49:10.498Z] ---> fbe2013432d2 [2023-08-10T11:49:10.498Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-10T11:49:10.498Z] ---> 07e5effde811 [2023-08-10T11:49:10.498Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-10T11:49:10.758Z] ---> f2782bed6e15 [2023-08-10T11:49:10.759Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-10T11:49:10.759Z] ---> Running in 0f0fd2af8514 [2023-08-10T11:49:10.759Z] Removing intermediate container 0f0fd2af8514 [2023-08-10T11:49:10.759Z] ---> d04c2ee74fa9 [2023-08-10T11:49:10.759Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-10T11:49:10.759Z] ---> Running in e6b54111855a [2023-08-10T11:49:11.018Z] Removing intermediate container e6b54111855a [2023-08-10T11:49:11.018Z] ---> 0333e8204af5 [2023-08-10T11:49:11.018Z] Step 15/17 : LABEL arch=amd64 [2023-08-10T11:49:11.018Z] ---> Running in f8922d6dcecd [2023-08-10T11:49:11.018Z] Removing intermediate container f8922d6dcecd [2023-08-10T11:49:11.018Z] ---> 273cc230b44a [2023-08-10T11:49:11.018Z] Step 16/17 : LABEL git_sha=3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T11:49:11.018Z] ---> Running in ddddf8fe8de2 [2023-08-10T11:49:11.018Z] Removing intermediate container ddddf8fe8de2 [2023-08-10T11:49:11.018Z] ---> 0443e9d38469 [2023-08-10T11:49:11.018Z] Step 17/17 : LABEL version=3.1.0-dev.9 [2023-08-10T11:49:11.018Z] ---> Running in 7ea48bd75cfa [2023-08-10T11:49:11.277Z] Removing intermediate container 7ea48bd75cfa [2023-08-10T11:49:11.277Z] ---> 7f303be6e3fc [2023-08-10T11:49:11.277Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-08-10T11:49:11.277Z] Successfully built 7f303be6e3fc [2023-08-10T11:49:11.277Z] 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-08-10T11:49:11.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T11:49:11.724Z] [2023-08-10T11:49:11.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:49:12.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T11:49:12.037Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-10T11:49:12.037Z] 5eb5b503b376: Pulling fs layer [2023-08-10T11:49:12.037Z] 5c69ac0246d0: Pulling fs layer [2023-08-10T11:49:12.037Z] ec43610c2a17: Pulling fs layer [2023-08-10T11:49:12.037Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-10T11:49:12.037Z] 33b1e0a273af: Pulling fs layer [2023-08-10T11:49:12.037Z] 5d3b04190fa2: Pulling fs layer [2023-08-10T11:49:12.037Z] 2f39f015ded8: Pulling fs layer [2023-08-10T11:49:12.037Z] 33b1e0a273af: Waiting [2023-08-10T11:49:12.037Z] 5d3b04190fa2: Waiting [2023-08-10T11:49:12.037Z] 2f39f015ded8: Waiting [2023-08-10T11:49:12.037Z] 3a2ae6a8a46f: Waiting [2023-08-10T11:49:12.037Z] 5c69ac0246d0: Verifying Checksum [2023-08-10T11:49:12.037Z] 5c69ac0246d0: Download complete [2023-08-10T11:49:12.037Z] 3a2ae6a8a46f: Download complete [2023-08-10T11:49:12.300Z] 33b1e0a273af: Verifying Checksum [2023-08-10T11:49:12.300Z] 33b1e0a273af: Download complete [2023-08-10T11:49:12.300Z] 5d3b04190fa2: Verifying Checksum [2023-08-10T11:49:12.300Z] 5d3b04190fa2: Download complete [2023-08-10T11:49:12.300Z] ec43610c2a17: Download complete [2023-08-10T11:49:12.300Z] 5eb5b503b376: Verifying Checksum [2023-08-10T11:49:12.300Z] 5eb5b503b376: Download complete [2023-08-10T11:49:13.239Z] 2f39f015ded8: Download complete [2023-08-10T11:49:13.806Z] 5eb5b503b376: Pull complete [2023-08-10T11:49:13.806Z] 5c69ac0246d0: Pull complete [2023-08-10T11:49:14.374Z] ec43610c2a17: Pull complete [2023-08-10T11:49:14.374Z] 3a2ae6a8a46f: Pull complete [2023-08-10T11:49:14.632Z] 33b1e0a273af: Pull complete [2023-08-10T11:49:14.632Z] 5d3b04190fa2: Pull complete [2023-08-10T11:49:18.841Z] 2f39f015ded8: Pull complete [2023-08-10T11:49:18.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-10T11:49:18.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T11:49:18.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:49:18.920Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:49:19.039Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-10T11:49:23.230Z] $ docker top 89885ef30154bf94662dc046b2d081c2001078ff9ed3257586df8d16467c9c3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:49:23.693Z] ---> job-cost.sh [2023-08-10T11:49:23.693Z] lf-activate-venv: SKIPPING [2023-08-10T11:49:23.693Z] INFO: No Stack... [2023-08-10T11:49:23.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T11:49:24.211Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T11:49:24.495Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-08-10T11:49:24.495Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T11:49:24.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [2023-08-10T11:49:24.516Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] did not exist. Created. [2023-08-10T11:49:24.516Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T11:49:24.813Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-10T11:49:24.858Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T11:49:24.866Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T11:49:24.881Z] $ docker stop --time=1 89885ef30154bf94662dc046b2d081c2001078ff9ed3257586df8d16467c9c3f [2023-08-10T11:49:26.041Z] $ docker rm -f --volumes 89885ef30154bf94662dc046b2d081c2001078ff9ed3257586df8d16467c9c3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-10T11:50:13.579Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3284 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-08-10T11:50:13.592Z] Running in /w/workspace/device-sdk-c/58 [Pipeline] { [Pipeline] checkout [2023-08-10T11:50:13.622Z] Selected Git installation does not exist. Using Default [2023-08-10T11:50:13.622Z] The recommended git tool is: NONE [2023-08-10T11:50:18.355Z] using credential edgex-jenkins-ssh [2023-08-10T11:50:18.376Z] Cloning the remote Git repository [2023-08-10T11:50:18.416Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T11:50:18.496Z] > git init /w/workspace/device-sdk-c/58 # timeout=10 [2023-08-10T11:50:18.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T11:50:18.622Z] > git --version # timeout=10 [2023-08-10T11:50:18.642Z] > git --version # 'git version 2.25.1' [2023-08-10T11:50:18.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T11:50:18.778Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T11:50:22.155Z] Avoid second fetch [2023-08-10T11:50:22.156Z] Checking out Revision 3bd72eafd135fc13cc0388e2e4a2395f7020de89 (main) [2023-08-10T11:50:21.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-10T11:50:21.394Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T11:50:22.173Z] > git config core.sparsecheckout # timeout=10 [2023-08-10T11:50:22.232Z] > git checkout -f 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [2023-08-10T11:50:22.715Z] Commit message: "Merge pull request #478 from FelixTing/changelog-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T11:50:23.718Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-10T11:50:23.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-10T11:50:23.718Z] Dload Upload Total Spent Left Speed [2023-08-10T11:50:23.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67824 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh [2023-08-10T11:50:24.429Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-10T11:50:24.752Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-10T11:50:24.752Z] + sudo tee /etc/docker/daemon.new [2023-08-10T11:50:24.752Z] { [2023-08-10T11:50:24.752Z] "registry-mirrors": [ [2023-08-10T11:50:24.752Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-10T11:50:24.752Z] ], [2023-08-10T11:50:24.752Z] "bip": "10.250.0.254/24", [2023-08-10T11:50:24.752Z] "hosts": [ [2023-08-10T11:50:24.752Z] "tcp://0.0.0.0:5555", [2023-08-10T11:50:24.752Z] "unix:///var/run/docker.sock" [2023-08-10T11:50:24.752Z] ], [2023-08-10T11:50:24.752Z] "mtu": 1458, [2023-08-10T11:50:24.752Z] "selinux-enabled": true, [2023-08-10T11:50:24.752Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-10T11:50:24.752Z] } [Pipeline] sh [2023-08-10T11:50:25.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-10T11:50:25.409Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T11:50:43.645Z] provisioning config files... [2023-08-10T11:50:43.667Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/58@tmp/config17923538885710193745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:50:44.003Z] ---> docker-login.sh [2023-08-10T11:50:44.003Z] nexus3.edgexfoundry.org:10001 [2023-08-10T11:50:44.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:50:44.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:50:44.540Z] Configure a credential helper to remove this warning. See [2023-08-10T11:50:44.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:50:44.540Z] [2023-08-10T11:50:44.540Z] Login Succeeded [2023-08-10T11:50:44.540Z] nexus3.edgexfoundry.org:10002 [2023-08-10T11:50:44.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:50:44.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:50:44.810Z] Configure a credential helper to remove this warning. See [2023-08-10T11:50:44.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:50:44.810Z] [2023-08-10T11:50:44.810Z] Login Succeeded [2023-08-10T11:50:44.810Z] nexus3.edgexfoundry.org:10003 [2023-08-10T11:50:45.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:50:45.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:50:45.350Z] Configure a credential helper to remove this warning. See [2023-08-10T11:50:45.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:50:45.350Z] [2023-08-10T11:50:45.350Z] Login Succeeded [2023-08-10T11:50:45.350Z] nexus3.edgexfoundry.org:10004 [2023-08-10T11:50:45.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:50:45.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:50:45.618Z] Configure a credential helper to remove this warning. See [2023-08-10T11:50:45.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:50:45.618Z] [2023-08-10T11:50:45.618Z] Login Succeeded [2023-08-10T11:50:45.618Z] docker.io [2023-08-10T11:50:45.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T11:50:46.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T11:50:46.156Z] Configure a credential helper to remove this warning. See [2023-08-10T11:50:46.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T11:50:46.156Z] [2023-08-10T11:50:46.156Z] Login Succeeded [2023-08-10T11:50:46.156Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T11:50:46.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T11:50:46.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T11:50:46.426Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-10T11:50:46.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T11:50:46.449Z] ========================================================= [2023-08-10T11:50:46.449Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-10T11:50:46.449Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:50:46.786Z] + 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-08-10T11:50:47.054Z] Sending build context to Docker daemon 2.913MB [2023-08-10T11:50:47.054Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T11:50:47.054Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T11:50:49.001Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-10T11:50:49.001Z] 547446be3368: Pulling fs layer [2023-08-10T11:50:49.001Z] 76bd08e1cacc: Pulling fs layer [2023-08-10T11:50:49.001Z] 547446be3368: Verifying Checksum [2023-08-10T11:50:49.001Z] 547446be3368: Download complete [2023-08-10T11:50:49.271Z] 547446be3368: Pull complete [2023-08-10T11:50:50.687Z] 76bd08e1cacc: Download complete [2023-08-10T11:50:58.930Z] 76bd08e1cacc: Pull complete [2023-08-10T11:50:58.930Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-10T11:50:58.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-10T11:50:58.930Z] ---> 295cd00e64f4 [2023-08-10T11:50:58.930Z] 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-08-10T11:50:59.539Z] ---> Running in 82a8d5aa6f57 [2023-08-10T11:51:00.954Z] Connecting to iotech.jfrog.io (34.252.21.228:443) [2023-08-10T11:51:01.223Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:51:01.223Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:51:01.223Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:51:02.189Z] Removing intermediate container 82a8d5aa6f57 [2023-08-10T11:51:02.189Z] ---> 2f442adcf322 [2023-08-10T11:51:02.189Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:51:02.189Z] ---> Running in 56cd8dffae1e [2023-08-10T11:51:04.146Z] Removing intermediate container 56cd8dffae1e [2023-08-10T11:51:04.146Z] ---> 25dda0bf0524 [2023-08-10T11:51:04.146Z] 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-08-10T11:51:04.146Z] ---> Running in c01b91d12820 [2023-08-10T11:51:04.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:51:04.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T11:51:05.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:51:06.536Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:51:06.536Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:51:06.536Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:51:06.536Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T11:51:06.536Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T11:51:06.536Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T11:51:07.117Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T11:51:07.117Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T11:51:07.117Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T11:51:07.117Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T11:51:07.381Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T11:51:07.961Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T11:51:07.962Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T11:51:07.962Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T11:51:08.230Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T11:51:08.230Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T11:51:08.230Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T11:51:08.230Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:51:08.230Z] OK: 286 MiB in 90 packages [2023-08-10T11:51:09.643Z] Removing intermediate container c01b91d12820 [2023-08-10T11:51:09.643Z] ---> ae2caab152a7 [2023-08-10T11:51:09.643Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T11:51:09.643Z] ---> Running in 2c3afdb5a8b9 [2023-08-10T11:51:11.124Z] Removing intermediate container 2c3afdb5a8b9 [2023-08-10T11:51:11.124Z] ---> f8a503f4d8fb [2023-08-10T11:51:11.124Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T11:51:11.725Z] ---> 5a8dbfdb4589 [2023-08-10T11:51:11.725Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T11:51:15.071Z] ---> f5793ed38524 [2023-08-10T11:51:15.071Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T11:51:15.071Z] ---> 69b062fff8d6 [2023-08-10T11:51:15.071Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T11:51:15.338Z] ---> 7c7a96897d32 [2023-08-10T11:51:15.338Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T11:51:15.926Z] ---> 46d4ec368a27 [2023-08-10T11:51:15.926Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T11:51:16.510Z] ---> 8642c15b3876 [2023-08-10T11:51:16.510Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T11:51:16.510Z] ---> Running in 66210a6eef94 [2023-08-10T11:51:17.472Z] + CPPCHECK=false [2023-08-10T11:51:17.472Z] + DOCGEN=false [2023-08-10T11:51:17.472Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T11:51:17.472Z] + '[' 0 -gt 0 ] [2023-08-10T11:51:17.472Z] + readlink -f ./scripts/build.sh [2023-08-10T11:51:17.472Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T11:51:17.472Z] + dirname /tmp/sdk/scripts [2023-08-10T11:51:17.472Z] + ROOT=/tmp/sdk [2023-08-10T11:51:17.472Z] + cd /tmp/sdk [2023-08-10T11:51:17.472Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T11:51:17.472Z] + cd /tmp/sdk/build/release [2023-08-10T11:51:17.472Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T11:51:17.739Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T11:51:17.739Z] -- Detecting C compiler ABI info [2023-08-10T11:51:18.009Z] -- Detecting C compiler ABI info - done [2023-08-10T11:51:18.276Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T11:51:18.276Z] -- Detecting C compile features [2023-08-10T11:51:18.276Z] -- Detecting C compile features - done [2023-08-10T11:51:18.276Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T11:51:18.276Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T11:51:18.276Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T11:51:18.276Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T11:51:18.543Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T11:51:18.544Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T11:51:18.544Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T11:51:18.544Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T11:51:18.544Z] -- /opt/iotech/iot/1.5/include [2023-08-10T11:51:18.544Z] -- C SDK 3.1.0-dev.9 for Linux [2023-08-10T11:51:18.544Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T11:51:18.815Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T11:51:18.815Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T11:51:19.083Z] -- Configuring done [2023-08-10T11:51:19.351Z] -- Generating done [2023-08-10T11:51:19.351Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T11:51:19.351Z] + + teemake release.log all [2023-08-10T11:51:19.351Z] package [2023-08-10T11:51:19.617Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T11:51:20.573Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T11:51:21.529Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T11:51:22.111Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T11:51:23.074Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T11:51:23.654Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T11:51:26.229Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T11:51:27.186Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T11:51:27.186Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T11:51:28.145Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T11:51:30.717Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T11:51:30.983Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T11:51:31.939Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T11:51:32.898Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T11:51:33.481Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T11:51:34.438Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T11:51:34.704Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T11:51:37.273Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T11:51:37.540Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T11:51:38.123Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T11:51:39.530Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T11:51:44.865Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T11:51:45.446Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T11:51:45.711Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T11:51:46.291Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T11:51:46.871Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T11:51:48.274Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T11:51:50.852Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T11:51:51.118Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T11:51:52.526Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T11:51:52.793Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T11:51:56.129Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T11:51:56.710Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T11:51:57.289Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T11:51:57.873Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T11:51:57.873Z] [ 68%] Built target csdk [2023-08-10T11:51:58.139Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T11:51:59.095Z] [ 72%] Linking C executable template [2023-08-10T11:51:59.361Z] [ 72%] Built target template [2023-08-10T11:51:59.361Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T11:51:59.943Z] [ 76%] Linking C executable device-counter [2023-08-10T11:52:00.210Z] [ 76%] Built target device-counter [2023-08-10T11:52:00.210Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T11:52:00.793Z] [ 80%] Linking C executable device-random [2023-08-10T11:52:01.060Z] [ 80%] Built target device-random [2023-08-10T11:52:01.060Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T11:52:01.642Z] [ 84%] Linking C executable device-gyro [2023-08-10T11:52:01.913Z] [ 84%] Built target device-gyro [2023-08-10T11:52:01.913Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T11:52:02.498Z] [ 88%] Linking C executable device-bitfields [2023-08-10T11:52:02.765Z] [ 88%] Built target device-bitfields [2023-08-10T11:52:02.765Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T11:52:03.723Z] [ 92%] Linking C executable template-discovery [2023-08-10T11:52:03.990Z] [ 92%] Built target template-discovery [2023-08-10T11:52:04.254Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T11:52:04.835Z] [ 96%] Linking C executable device-file [2023-08-10T11:52:05.102Z] [ 96%] Built target device-file [2023-08-10T11:52:05.370Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T11:52:05.951Z] [100%] Linking C executable device-terminal [2023-08-10T11:52:06.216Z] [100%] Built target device-terminal [2023-08-10T11:52:07.618Z] Run CPack packaging tool... [2023-08-10T11:52:07.618Z] CPack: Create package using TGZ [2023-08-10T11:52:07.618Z] CPack: Install projects [2023-08-10T11:52:07.618Z] CPack: - Run preinstall target for: Csdk [2023-08-10T11:52:08.200Z] CPack: - Install project: Csdk [] [2023-08-10T11:52:08.200Z] CPack: Create package [2023-08-10T11:52:08.464Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.9.tar.gz generated. [2023-08-10T11:52:08.464Z] + '[' false '=' true ] [2023-08-10T11:52:08.464Z] + '[' false '=' true ] [2023-08-10T11:52:08.464Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T11:52:08.464Z] + cd /tmp/sdk/build/debug [2023-08-10T11:52:08.464Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T11:52:08.730Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T11:52:08.730Z] -- Detecting C compiler ABI info [2023-08-10T11:52:08.995Z] -- Detecting C compiler ABI info - done [2023-08-10T11:52:08.995Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T11:52:08.995Z] -- Detecting C compile features [2023-08-10T11:52:08.995Z] -- Detecting C compile features - done [2023-08-10T11:52:09.262Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T11:52:09.263Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T11:52:09.263Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T11:52:09.263Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T11:52:09.263Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T11:52:09.263Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T11:52:09.530Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T11:52:09.530Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T11:52:09.530Z] -- /opt/iotech/iot/1.5/include [2023-08-10T11:52:09.530Z] -- C SDK 3.1.0-dev.9 for Linux [2023-08-10T11:52:09.530Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T11:52:09.796Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T11:52:09.796Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T11:52:10.062Z] -- Configuring done [2023-08-10T11:52:10.329Z] -- Generating done [2023-08-10T11:52:10.329Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T11:52:10.329Z] + make [2023-08-10T11:52:10.329Z] + tee debug.log [2023-08-10T11:52:10.329Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T11:52:10.911Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T11:52:11.177Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T11:52:11.757Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T11:52:12.021Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T11:52:12.600Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T11:52:13.177Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T11:52:13.757Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T11:52:13.757Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T11:52:14.337Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T11:52:14.919Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T11:52:15.499Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T11:52:15.764Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T11:52:16.030Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T11:52:16.608Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T11:52:16.875Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T11:52:17.140Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T11:52:18.096Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T11:52:18.363Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T11:52:18.363Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T11:52:19.330Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T11:52:20.287Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T11:52:20.867Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T11:52:21.131Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T11:52:21.395Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T11:52:21.660Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T11:52:22.238Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T11:52:24.178Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T11:52:24.178Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T11:52:24.758Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T11:52:25.022Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T11:52:25.978Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T11:52:26.245Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T11:52:26.827Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T11:52:26.827Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T11:52:27.094Z] [ 68%] Built target csdk [2023-08-10T11:52:27.359Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T11:52:27.625Z] [ 72%] Linking C executable template [2023-08-10T11:52:27.893Z] [ 72%] Built target template [2023-08-10T11:52:27.893Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T11:52:28.160Z] [ 76%] Linking C executable device-counter [2023-08-10T11:52:28.426Z] [ 76%] Built target device-counter [2023-08-10T11:52:28.691Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T11:52:28.957Z] [ 80%] Linking C executable device-random [2023-08-10T11:52:29.222Z] [ 80%] Built target device-random [2023-08-10T11:52:29.222Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T11:52:29.488Z] [ 84%] Linking C executable device-gyro [2023-08-10T11:52:29.753Z] [ 84%] Built target device-gyro [2023-08-10T11:52:29.753Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T11:52:30.019Z] [ 88%] Linking C executable device-bitfields [2023-08-10T11:52:30.285Z] [ 88%] Built target device-bitfields [2023-08-10T11:52:30.550Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T11:52:30.816Z] [ 92%] Linking C executable template-discovery [2023-08-10T11:52:31.081Z] [ 92%] Built target template-discovery [2023-08-10T11:52:31.081Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T11:52:31.662Z] [ 96%] Linking C executable device-file [2023-08-10T11:52:31.930Z] [ 96%] Built target device-file [2023-08-10T11:52:31.930Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T11:52:32.196Z] [100%] Linking C executable device-terminal [2023-08-10T11:52:32.778Z] [100%] Built target device-terminal [2023-08-10T11:52:33.735Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:33.735Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:33.735Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:33.735Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:33.735Z] [ 68%] Built target csdk [2023-08-10T11:52:33.735Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:33.735Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] [ 72%] Built target template [2023-08-10T11:52:34.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] [ 76%] Built target device-counter [2023-08-10T11:52:34.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] [ 80%] Built target device-random [2023-08-10T11:52:34.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.000Z] [ 84%] Built target device-gyro [2023-08-10T11:52:34.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.001Z] [ 88%] Built target device-bitfields [2023-08-10T11:52:34.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.001Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.001Z] [ 92%] Built target template-discovery [2023-08-10T11:52:34.001Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.268Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.268Z] [ 96%] Built target device-file [2023-08-10T11:52:34.268Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.268Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.268Z] [100%] Built target device-terminal [2023-08-10T11:52:34.268Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:34.268Z] Install the project... [2023-08-10T11:52:34.268Z] -- Install configuration: "Release" [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-10T11:52:34.268Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/devsdk [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-10T11:52:34.268Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-10T11:52:34.268Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T11:52:35.675Z] Removing intermediate container 66210a6eef94 [2023-08-10T11:52:35.675Z] ---> 781c75399f57 [2023-08-10T11:52:35.675Z] Step 14/21 : FROM ${BASE} [2023-08-10T11:52:35.675Z] ---> 295cd00e64f4 [2023-08-10T11:52:35.675Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-10T11:52:35.675Z] ---> Running in 7c77b743bbf0 [2023-08-10T11:52:35.942Z] Removing intermediate container 7c77b743bbf0 [2023-08-10T11:52:35.942Z] ---> fe8a17d29f8c [2023-08-10T11:52:35.942Z] 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-08-10T11:52:35.942Z] ---> Running in b4cc2bd05ab8 [2023-08-10T11:52:36.901Z] Connecting to iotech.jfrog.io (52.209.150.106:443) [2023-08-10T11:52:37.166Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:52:37.166Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:52:37.166Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:52:38.126Z] Removing intermediate container b4cc2bd05ab8 [2023-08-10T11:52:38.126Z] ---> 5e839cf858ae [2023-08-10T11:52:38.126Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:52:38.126Z] ---> Running in f88e1c826b0e [2023-08-10T11:52:39.533Z] Removing intermediate container f88e1c826b0e [2023-08-10T11:52:39.533Z] ---> 0dfdfee94906 [2023-08-10T11:52:39.533Z] 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-08-10T11:52:39.533Z] ---> Running in 4b567316c48c [2023-08-10T11:52:40.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:52:40.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T11:52:41.337Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:52:41.919Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:52:41.919Z] (1/7) Installing curl (8.2.1-r0) [2023-08-10T11:52:41.919Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-10T11:52:42.183Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-10T11:52:42.183Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-10T11:52:42.762Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-10T11:52:42.762Z] (6/7) Installing libuuid (2.38-r1) [2023-08-10T11:52:42.762Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T11:52:43.718Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:52:43.718Z] OK: 281 MiB in 83 packages [2023-08-10T11:52:44.678Z] Removing intermediate container 4b567316c48c [2023-08-10T11:52:44.678Z] ---> aa973e6b214d [2023-08-10T11:52:44.678Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-10T11:52:46.616Z] ---> 5b8592e48ba6 [2023-08-10T11:52:46.616Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-10T11:52:47.219Z] ---> 6effeac0600c [2023-08-10T11:52:47.219Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-10T11:52:47.798Z] ---> fdcc0ff627bd [2023-08-10T11:52:47.798Z] Successfully built fdcc0ff627bd [2023-08-10T11:52:47.798Z] 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-08-10T11:52:48.196Z] + docker inspect -f . ci-base-image-arm64 [2023-08-10T11:52:48.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:52:48.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-3284 does not seem to be running inside a container [2023-08-10T11:52:48.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/58 -v /w/workspace/device-sdk-c/58:/w/workspace/device-sdk-c/58:rw,z -v /w/workspace/device-sdk-c/58@tmp:/w/workspace/device-sdk-c/58@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 ******** ci-base-image-arm64 cat [2023-08-10T11:52:49.638Z] $ docker top f0ba83ac9c520a71b880e7255b6a714ccd2e1a98d15c04ab6ae44b6ed547758d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T11:52:50.438Z] + make test [2023-08-10T11:52:50.438Z] echo "make test" [2023-08-10T11:52:50.438Z] make test [Pipeline] } [2023-08-10T11:52:50.457Z] $ docker stop --time=1 f0ba83ac9c520a71b880e7255b6a714ccd2e1a98d15c04ab6ae44b6ed547758d [2023-08-10T11:52:52.077Z] $ docker rm -f --volumes f0ba83ac9c520a71b880e7255b6a714ccd2e1a98d15c04ab6ae44b6ed547758d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T11:52:52.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T11:52:52.922Z] + ls -al . [2023-08-10T11:52:52.922Z] total 208 [2023-08-10T11:52:52.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 11:50 . [2023-08-10T11:52:52.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:50 .. [2023-08-10T11:52:52.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 11:50 .git [2023-08-10T11:52:52.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:50 .github [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 10 11:50 .gitignore [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 10 11:50 Attribution.txt [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 10 11:50 CHANGES [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 10 11:50 Doxyfile [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 11:50 GOVERNANCE.md [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 10 11:50 Jenkinsfile [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 10 11:50 LICENSE [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 10 11:50 Makefile [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 10 11:50 OWNERS.md [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 10 11:50 README.IOT.md [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 10 11:50 README.md [2023-08-10T11:52:52.922Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 10 11:50 README.v3.md [2023-08-10T11:52:52.923Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 11:48 VERSION [2023-08-10T11:52:52.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:50 docs [2023-08-10T11:52:52.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:50 include [2023-08-10T11:52:52.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 11:50 scripts [2023-08-10T11:52:52.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 11:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:52:53.261Z] + 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=3bd72eafd135fc13cc0388e2e4a2395f7020de89 --label arch=arm64 --label version=3.1.0-dev.9 . [2023-08-10T11:52:53.528Z] Sending build context to Docker daemon 2.913MB [2023-08-10T11:52:53.528Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-10T11:52:53.528Z] Step 2/17 : FROM ${BASE} [2023-08-10T11:52:53.528Z] ---> fdcc0ff627bd [2023-08-10T11:52:53.529Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-10T11:52:53.794Z] ---> Running in 5c92becb47f2 [2023-08-10T11:52:54.063Z] Removing intermediate container 5c92becb47f2 [2023-08-10T11:52:54.063Z] ---> 4f9b6cb315a3 [2023-08-10T11:52:54.063Z] 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-08-10T11:52:54.063Z] ---> Running in bcfd08392fb9 [2023-08-10T11:52:55.018Z] Connecting to iotech.jfrog.io (52.209.150.106:443) [2023-08-10T11:52:55.284Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T11:52:55.284Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T11:52:55.284Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T11:52:56.243Z] Removing intermediate container bcfd08392fb9 [2023-08-10T11:52:56.243Z] ---> 655df6407e9b [2023-08-10T11:52:56.243Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T11:52:56.243Z] ---> Running in eb080460362a [2023-08-10T11:52:57.649Z] Removing intermediate container eb080460362a [2023-08-10T11:52:57.649Z] ---> b3e34fd2ae36 [2023-08-10T11:52:57.649Z] 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-08-10T11:52:57.649Z] ---> Running in 2637381ece02 [2023-08-10T11:52:58.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:52:58.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T11:52:59.507Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T11:53:00.478Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T11:53:00.478Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:53:00.478Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T11:53:00.478Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T11:53:01.068Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T11:53:01.068Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-10T11:53:01.068Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T11:53:01.068Z] (7/11) Installing libblkid (2.38-r1) [2023-08-10T11:53:01.068Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-10T11:53:01.068Z] (9/11) Installing libmount (2.38-r1) [2023-08-10T11:53:01.343Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-10T11:53:01.343Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-10T11:53:01.343Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T11:53:01.343Z] OK: 287 MiB in 92 packages [2023-08-10T11:53:02.777Z] Removing intermediate container 2637381ece02 [2023-08-10T11:53:02.777Z] ---> 51b7efb7d16a [2023-08-10T11:53:02.777Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-10T11:53:03.047Z] ---> 05e368d1fd56 [2023-08-10T11:53:03.047Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-10T11:53:03.647Z] ---> 2d682a66360d [2023-08-10T11:53:03.647Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-10T11:53:04.228Z] ---> 5900de70cffa [2023-08-10T11:53:04.228Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-10T11:53:04.809Z] ---> 44282160dacd [2023-08-10T11:53:04.809Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-10T11:53:05.077Z] ---> 5535848d3eba [2023-08-10T11:53:05.077Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-10T11:53:05.659Z] ---> 128f388859d8 [2023-08-10T11:53:05.659Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-10T11:53:05.659Z] ---> Running in a7ab4c8209c1 [2023-08-10T11:53:05.924Z] Removing intermediate container a7ab4c8209c1 [2023-08-10T11:53:05.924Z] ---> b584612e9d41 [2023-08-10T11:53:05.924Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-10T11:53:06.189Z] ---> Running in 2e283192b78f [2023-08-10T11:53:06.455Z] Removing intermediate container 2e283192b78f [2023-08-10T11:53:06.455Z] ---> d34c244e6089 [2023-08-10T11:53:06.455Z] Step 15/17 : LABEL arch=arm64 [2023-08-10T11:53:06.455Z] ---> Running in 1d070b7190de [2023-08-10T11:53:06.721Z] Removing intermediate container 1d070b7190de [2023-08-10T11:53:06.721Z] ---> 11c259e44f5f [2023-08-10T11:53:06.721Z] Step 16/17 : LABEL git_sha=3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T11:53:06.721Z] ---> Running in 00d0f8aa8615 [2023-08-10T11:53:06.985Z] Removing intermediate container 00d0f8aa8615 [2023-08-10T11:53:06.985Z] ---> f189859c36e5 [2023-08-10T11:53:06.985Z] Step 17/17 : LABEL version=3.1.0-dev.9 [2023-08-10T11:53:07.256Z] ---> Running in 03be0af9bfe2 [2023-08-10T11:53:07.520Z] Removing intermediate container 03be0af9bfe2 [2023-08-10T11:53:07.520Z] ---> 47b6975eee5a [2023-08-10T11:53:07.520Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-10T11:53:07.520Z] Successfully built 47b6975eee5a [2023-08-10T11:53:07.520Z] 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-08-10T11:53:07.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T11:53:07.950Z] [2023-08-10T11:53:07.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:53:08.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T11:53:08.276Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-10T11:53:08.276Z] 8998bd30e6a1: Pulling fs layer [2023-08-10T11:53:08.276Z] 04944245beec: Pulling fs layer [2023-08-10T11:53:08.276Z] 699f458cf7ca: Pulling fs layer [2023-08-10T11:53:08.276Z] 765212b225bb: Pulling fs layer [2023-08-10T11:53:08.276Z] f23df028b6ca: Pulling fs layer [2023-08-10T11:53:08.276Z] d65c8cfc05b1: Pulling fs layer [2023-08-10T11:53:08.276Z] 2437ff75d9bd: Pulling fs layer [2023-08-10T11:53:08.276Z] f23df028b6ca: Waiting [2023-08-10T11:53:08.276Z] 2437ff75d9bd: Waiting [2023-08-10T11:53:08.276Z] d65c8cfc05b1: Waiting [2023-08-10T11:53:08.276Z] 765212b225bb: Waiting [2023-08-10T11:53:08.543Z] 04944245beec: Verifying Checksum [2023-08-10T11:53:08.543Z] 04944245beec: Download complete [2023-08-10T11:53:08.543Z] 765212b225bb: Verifying Checksum [2023-08-10T11:53:08.543Z] 765212b225bb: Download complete [2023-08-10T11:53:08.543Z] f23df028b6ca: Verifying Checksum [2023-08-10T11:53:08.543Z] f23df028b6ca: Download complete [2023-08-10T11:53:08.543Z] d65c8cfc05b1: Verifying Checksum [2023-08-10T11:53:08.543Z] d65c8cfc05b1: Download complete [2023-08-10T11:53:08.543Z] 699f458cf7ca: Verifying Checksum [2023-08-10T11:53:09.125Z] 8998bd30e6a1: Verifying Checksum [2023-08-10T11:53:09.125Z] 8998bd30e6a1: Download complete [2023-08-10T11:53:11.065Z] 2437ff75d9bd: Verifying Checksum [2023-08-10T11:53:11.065Z] 2437ff75d9bd: Download complete [2023-08-10T11:53:15.310Z] 8998bd30e6a1: Pull complete [2023-08-10T11:53:15.310Z] 04944245beec: Pull complete [2023-08-10T11:53:16.725Z] 699f458cf7ca: Pull complete [2023-08-10T11:53:16.725Z] 765212b225bb: Pull complete [2023-08-10T11:53:17.308Z] f23df028b6ca: Pull complete [2023-08-10T11:53:17.574Z] d65c8cfc05b1: Pull complete [2023-08-10T11:53:32.555Z] 2437ff75d9bd: Pull complete [2023-08-10T11:53:32.555Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-10T11:53:32.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T11:53:32.555Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:53:32.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-3284 does not seem to be running inside a container [2023-08-10T11:53:32.784Z] $ 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/58 -v /w/workspace/device-sdk-c/58:/w/workspace/device-sdk-c/58:rw,z -v /w/workspace/device-sdk-c/58@tmp:/w/workspace/device-sdk-c/58@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-10T11:53:35.134Z] $ docker top f3089c7d1ea46b726c441cb7062bb5ad764c682724878b1db1f961165d1a61af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:53:35.626Z] ---> job-cost.sh [2023-08-10T11:53:35.891Z] lf-activate-venv: SKIPPING [2023-08-10T11:53:35.891Z] INFO: No Stack... [2023-08-10T11:53:36.469Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-10T11:53:37.046Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T11:53:37.361Z] + cat /w/workspace/device-sdk-c/58/archives/cost.csv [2023-08-10T11:53:37.361Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T11:53:37.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [2023-08-10T11:53:37.692Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] did not exist. Created. [2023-08-10T11:53:37.692Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T11:53:38.026Z] /w/workspace/device-sdk-c/58@tmp/durable-dc7f2192/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-10T11:53:38.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-10T11:53:38.370Z] Warning: overwriting stash ‘stack-cost’ [2023-08-10T11:53:38.784Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T11:53:38.794Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T11:53:38.810Z] $ docker stop --time=1 f3089c7d1ea46b726c441cb7062bb5ad764c682724878b1db1f961165d1a61af [2023-08-10T11:53:42.841Z] $ docker rm -f --volumes f3089c7d1ea46b726c441cb7062bb5ad764c682724878b1db1f961165d1a61af [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-08-10T11:53:43.463Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T11:53:43.463Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:53:43.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:53:43.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:53:43.826Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:53:43.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T11:53:44.179Z] $ docker top 53c26289a88c84507299c05bd37531f105e658dbb71365c8f4a19ed6656a6563 -eo pid,comm [2023-08-10T11:53:44.228Z] 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-08-10T11:53:44.228Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T11:53:44.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T11:53:44.259Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T11:53:44.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T11:53:44.358Z] $ docker exec 53c26289a88c84507299c05bd37531f105e658dbb71365c8f4a19ed6656a6563 ssh-agent [2023-08-10T11:53:44.463Z] SSH_AUTH_SOCK=/tmp/ssh-JJ9mFb8y9HsZ/agent.32 [2023-08-10T11:53:44.463Z] SSH_AGENT_PID=38 [2023-08-10T11:53:44.468Z] Running ssh-add (command line suppressed) [2023-08-10T11:53:44.564Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_606890728464560000.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_606890728464560000.key) [2023-08-10T11:53:44.579Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T11:53:44.859Z] + git semver tag [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,028 [run_tag] DEBUG tag force:False [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,028 [check_head_tag] DEBUG check head tag [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,029 [execute] INFO git cat-file --batch-check [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,032 [execute] INFO git cat-file --batch [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,043 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,043 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-10T11:53:45.117Z] 2023-08-10 11:53:45,046 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:53:45.117Z] 3.1.0-dev.9 [Pipeline] } [2023-08-10T11:53:45.124Z] $ docker exec --env ******** --env ******** 53c26289a88c84507299c05bd37531f105e658dbb71365c8f4a19ed6656a6563 ssh-agent -k [2023-08-10T11:53:45.228Z] unset SSH_AUTH_SOCK; [2023-08-10T11:53:45.228Z] unset SSH_AGENT_PID; [2023-08-10T11:53:45.229Z] echo Agent pid 38 killed; [2023-08-10T11:53:45.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T11:53:45.577Z] + git semver [Pipeline] } [2023-08-10T11:53:45.846Z] $ docker stop --time=1 53c26289a88c84507299c05bd37531f105e658dbb71365c8f4a19ed6656a6563 [2023-08-10T11:53:47.118Z] $ docker rm -f --volumes 53c26289a88c84507299c05bd37531f105e658dbb71365c8f4a19ed6656a6563 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:53:47.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T11:53:47.504Z] [2023-08-10T11:53:47.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:53:47.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T11:53:47.801Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-10T11:53:47.801Z] ab5ef0e58194: Pulling fs layer [2023-08-10T11:53:47.801Z] 9712f1f96733: Pulling fs layer [2023-08-10T11:53:47.801Z] 63f879dbbcfc: Pulling fs layer [2023-08-10T11:53:47.801Z] 0d9ebad4ef96: Pulling fs layer [2023-08-10T11:53:47.801Z] e9a5061849ea: Pulling fs layer [2023-08-10T11:53:47.801Z] d747dcd14b5f: Pulling fs layer [2023-08-10T11:53:47.801Z] 2de7ff778b66: Pulling fs layer [2023-08-10T11:53:47.801Z] 0d9ebad4ef96: Waiting [2023-08-10T11:53:47.801Z] e9a5061849ea: Waiting [2023-08-10T11:53:47.801Z] d747dcd14b5f: Waiting [2023-08-10T11:53:47.801Z] 2de7ff778b66: Waiting [2023-08-10T11:53:47.801Z] 9712f1f96733: Verifying Checksum [2023-08-10T11:53:48.374Z] 63f879dbbcfc: Verifying Checksum [2023-08-10T11:53:48.374Z] 63f879dbbcfc: Download complete [2023-08-10T11:53:48.635Z] e9a5061849ea: Verifying Checksum [2023-08-10T11:53:48.635Z] e9a5061849ea: Download complete [2023-08-10T11:53:48.635Z] d747dcd14b5f: Download complete [2023-08-10T11:53:48.635Z] 0d9ebad4ef96: Verifying Checksum [2023-08-10T11:53:48.635Z] 0d9ebad4ef96: Download complete [2023-08-10T11:53:48.635Z] ab5ef0e58194: Download complete [2023-08-10T11:53:48.635Z] 2de7ff778b66: Verifying Checksum [2023-08-10T11:53:48.635Z] 2de7ff778b66: Download complete [2023-08-10T11:53:51.914Z] ab5ef0e58194: Pull complete [2023-08-10T11:53:51.914Z] 9712f1f96733: Pull complete [2023-08-10T11:53:52.172Z] 63f879dbbcfc: Pull complete [2023-08-10T11:53:56.359Z] 0d9ebad4ef96: Pull complete [2023-08-10T11:53:57.176Z] e9a5061849ea: Pull complete [2023-08-10T11:53:59.715Z] d747dcd14b5f: Pull complete [2023-08-10T11:54:01.621Z] 2de7ff778b66: Pull complete [2023-08-10T11:54:01.621Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-10T11:54:01.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T11:54:01.879Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:54:01.955Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:54:01.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-10T11:54:17.486Z] $ docker top 6016d1d5c57179ad922ae1df196842540a6d87d4fb8b1e29e3b28dfa9b547a81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-10T11:54:17.560Z] provisioning config files... [2023-08-10T11:54:17.566Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8936528767907849458tmp [2023-08-10T11:54:17.576Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config408854560262544269tmp [2023-08-10T11:54:17.586Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6271449744459271696tmp [Pipeline] { [Pipeline] echo [2023-08-10T11:54:17.602Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:17.882Z] ---> sigul-configuration.sh [2023-08-10T11:54:17.882Z] gpg: directory `/root/.gnupg' created [2023-08-10T11:54:17.882Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-10T11:54:17.882Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-10T11:54:17.882Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-10T11:54:17.882Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-10T11:54:17.882Z] gpg: CAST5 encrypted data [2023-08-10T11:54:17.882Z] gpg: encrypted with 1 passphrase [2023-08-10T11:54:17.882Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-10T11:54:18.173Z] + mkdir /home/jenkins [2023-08-10T11:54:18.173Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-10T11:54:18.460Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-10T11:54:18.468Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:18.757Z] ---> sigul-install.sh [2023-08-10T11:54:18.757Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-10T11:54:19.046Z] + git tag --list [2023-08-10T11:54:19.046Z] 0.7.0 [2023-08-10T11:54:19.046Z] 0.7.1 [2023-08-10T11:54:19.046Z] 1.0.0 [2023-08-10T11:54:19.046Z] v1.0.1 [2023-08-10T11:54:19.046Z] v1.0.2 [2023-08-10T11:54:19.046Z] v1.0.3 [2023-08-10T11:54:19.046Z] v1.1.0 [2023-08-10T11:54:19.046Z] v1.1.1 [2023-08-10T11:54:19.046Z] v1.2.0 [2023-08-10T11:54:19.046Z] v1.2.1 [2023-08-10T11:54:19.046Z] v1.2.2 [2023-08-10T11:54:19.046Z] v1.3.0 [2023-08-10T11:54:19.046Z] v1.3.1 [2023-08-10T11:54:19.046Z] v2.0.0 [2023-08-10T11:54:19.046Z] v2.1.0 [2023-08-10T11:54:19.046Z] v2.2.0 [2023-08-10T11:54:19.046Z] v2.3.0 [2023-08-10T11:54:19.046Z] v3.0 [2023-08-10T11:54:19.046Z] v3.0.0 [2023-08-10T11:54:19.047Z] v3.0.1 [2023-08-10T11:54:19.047Z] v3.1.0-dev.1 [2023-08-10T11:54:19.047Z] v3.1.0-dev.2 [2023-08-10T11:54:19.047Z] v3.1.0-dev.3 [2023-08-10T11:54:19.047Z] v3.1.0-dev.4 [2023-08-10T11:54:19.047Z] v3.1.0-dev.5 [2023-08-10T11:54:19.047Z] v3.1.0-dev.6 [2023-08-10T11:54:19.047Z] v3.1.0-dev.7 [2023-08-10T11:54:19.047Z] v3.1.0-dev.8 [2023-08-10T11:54:19.047Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-10T11:54:19.335Z] + lftools sign git-tag v3.1.0-dev.9 [2023-08-10T11:54:19.905Z] Signing Git tag with Sigul... [2023-08-10T11:54:19.905Z] Signing v3.1.0-dev.9 [Pipeline] echo [2023-08-10T11:54:20.174Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:20.462Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-10T11:54:20.470Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-10T11:54:20.485Z] $ docker stop --time=1 6016d1d5c57179ad922ae1df196842540a6d87d4fb8b1e29e3b28dfa9b547a81 [2023-08-10T11:54:21.779Z] $ docker rm -f --volumes 6016d1d5c57179ad922ae1df196842540a6d87d4fb8b1e29e3b28dfa9b547a81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-10T11:54:22.165Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T11:54:22.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:54:22.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:54:22.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:54:22.536Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:54:22.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T11:54:22.913Z] $ docker top bd48646c49ea310e425c0465a53b119c82cffda56af8b294b4608dbcc1a306d4 -eo pid,comm [2023-08-10T11:54:22.967Z] 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-08-10T11:54:22.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T11:54:23.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T11:54:23.002Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T11:54:23.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T11:54:23.115Z] $ docker exec bd48646c49ea310e425c0465a53b119c82cffda56af8b294b4608dbcc1a306d4 ssh-agent [2023-08-10T11:54:23.230Z] SSH_AUTH_SOCK=/tmp/ssh-mDLZzQNsiLxA/agent.32 [2023-08-10T11:54:23.230Z] SSH_AGENT_PID=38 [2023-08-10T11:54:23.235Z] Running ssh-add (command line suppressed) [2023-08-10T11:54:23.337Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6850439085493571117.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6850439085493571117.key) [2023-08-10T11:54:23.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T11:54:23.639Z] + git semver bump pre [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [bump_version] DEBUG bumped version:3.1.0-dev.10 [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,807 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,810 [execute] INFO git cat-file --batch-check [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,816 [execute] INFO git cat-file --batch [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T11:54:23.898Z] 2023-08-10 11:54:23,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:54:23.898Z] 3.1.0-dev.10 [Pipeline] } [2023-08-10T11:54:23.907Z] $ docker exec --env ******** --env ******** bd48646c49ea310e425c0465a53b119c82cffda56af8b294b4608dbcc1a306d4 ssh-agent -k [2023-08-10T11:54:24.011Z] unset SSH_AUTH_SOCK; [2023-08-10T11:54:24.011Z] unset SSH_AGENT_PID; [2023-08-10T11:54:24.011Z] echo Agent pid 38 killed; [2023-08-10T11:54:24.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T11:54:24.318Z] + git semver [Pipeline] } [2023-08-10T11:54:24.589Z] $ docker stop --time=1 bd48646c49ea310e425c0465a53b119c82cffda56af8b294b4608dbcc1a306d4 [2023-08-10T11:54:25.887Z] $ docker rm -f --volumes bd48646c49ea310e425c0465a53b119c82cffda56af8b294b4608dbcc1a306d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T11:54:26.227Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T11:54:26.227Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:54:26.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T11:54:26.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:54:26.621Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:54:26.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T11:54:26.998Z] $ docker top 8540e6a68d5ef4aa3523183bc9b5e1e59613490cebf55e126edf6495df9c25b7 -eo pid,comm [2023-08-10T11:54:27.048Z] 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-08-10T11:54:27.048Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T11:54:27.086Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T11:54:27.086Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T11:54:27.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T11:54:27.206Z] $ docker exec 8540e6a68d5ef4aa3523183bc9b5e1e59613490cebf55e126edf6495df9c25b7 ssh-agent [2023-08-10T11:54:27.315Z] SSH_AUTH_SOCK=/tmp/ssh-JPvKKB9sauAV/agent.32 [2023-08-10T11:54:27.315Z] SSH_AGENT_PID=38 [2023-08-10T11:54:27.320Z] Running ssh-add (command line suppressed) [2023-08-10T11:54:27.414Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18056587663101183070.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18056587663101183070.key) [2023-08-10T11:54:27.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T11:54:27.713Z] + git semver push [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,898 [run_push] DEBUG push [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,899 [execute] INFO git cat-file --batch-check [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,904 [execute] INFO git rev-list 9907432eda058d196da8acca01766b33c22fdbad -- [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,904 [execute] DEBUG Popen(['git', 'rev-list', '9907432eda058d196da8acca01766b33c22fdbad', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,913 [execute] INFO git fetch -v origin [2023-08-10T11:54:27.973Z] 2023-08-10 11:54:27,914 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-10T11:54:28.540Z] 2023-08-10 11:54:28,406 [run_push] DEBUG no remote changes detected [2023-08-10T11:54:28.540Z] 2023-08-10 11:54:28,407 [execute] INFO git push origin semver [2023-08-10T11:54:28.540Z] 2023-08-10 11:54:28,407 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-10T11:54:29.476Z] 2023-08-10 11:54:29,106 [run_push] DEBUG push all version tags [2023-08-10T11:54:29.476Z] 2023-08-10 11:54:29,107 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-10T11:54:29.476Z] 2023-08-10 11:54:29,107 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-10T11:54:30.044Z] 2023-08-10 11:54:29,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T11:54:30.044Z] 3.1.0-dev.10 [Pipeline] } [2023-08-10T11:54:30.051Z] $ docker exec --env ******** --env ******** 8540e6a68d5ef4aa3523183bc9b5e1e59613490cebf55e126edf6495df9c25b7 ssh-agent -k [2023-08-10T11:54:30.142Z] unset SSH_AUTH_SOCK; [2023-08-10T11:54:30.142Z] unset SSH_AGENT_PID; [2023-08-10T11:54:30.142Z] echo Agent pid 38 killed; [2023-08-10T11:54:30.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T11:54:30.460Z] + git semver [Pipeline] } [2023-08-10T11:54:30.731Z] $ docker stop --time=1 8540e6a68d5ef4aa3523183bc9b5e1e59613490cebf55e126edf6495df9c25b7 [2023-08-10T11:54:32.043Z] $ docker rm -f --volumes 8540e6a68d5ef4aa3523183bc9b5e1e59613490cebf55e126edf6495df9c25b7 [Pipeline] // withDockerContainer [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-08-10T11:54:32.529Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-08-10T11:54:32.529Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T11:54:32.529Z] total 16 [2023-08-10T11:54:32.529Z] drwxr-xr-x 3 root root 4096 Aug 10 11:49 . [2023-08-10T11:54:32.529Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 11:54 .. [2023-08-10T11:54:32.529Z] drwxr-xr-x 2 root root 4096 Aug 10 11:49 cost [2023-08-10T11:54:32.529Z] -rw-r--r-- 1 root root 83 Aug 10 11:49 cost.csv [2023-08-10T11:54:32.529Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T11:54:32.529Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T11:54:32.529Z] total 16 [2023-08-10T11:54:32.529Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 11:49 . [2023-08-10T11:54:32.529Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 11:54 .. [2023-08-10T11:54:32.529Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 11:49 cost [2023-08-10T11:54:32.529Z] -rw-r--r-- 1 jenkins jenkins 83 Aug 10 11:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:32.827Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:33.686Z] ---> package-listing.sh [2023-08-10T11:54:33.687Z] ++ facter osfamily [2023-08-10T11:54:33.687Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-10T11:54:33.947Z] + OS_FAMILY=debian [2023-08-10T11:54:33.947Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-08-10T11:54:33.947Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-10T11:54:33.947Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-10T11:54:33.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-10T11:54:33.947Z] + PACKAGES=/tmp/packages_start.txt [2023-08-10T11:54:33.947Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-10T11:54:33.947Z] + PACKAGES=/tmp/packages_end.txt [2023-08-10T11:54:33.947Z] + case "${OS_FAMILY}" in [2023-08-10T11:54:33.947Z] + dpkg -l [2023-08-10T11:54:33.947Z] + grep '^ii' [2023-08-10T11:54:33.947Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-10T11:54:33.947Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-10T11:54:33.947Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-10T11:54:33.947Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-10T11:54:33.947Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-08-10T11:54:33.947Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-08-10T11:54:33.958Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-10T11:54:34.233Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T11:54:34.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T11:54:34.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T11:54:34.870Z] prd-ubuntu20.04-docker-8c-8g-3283 does not seem to be running inside a container [2023-08-10T11:54:34.898Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-10T11:54:35.109Z] $ docker top 3c81fc6f9492f94dbdd06ba57c4d6cb51ab7d4f8b9c8856d4d0c2c8f9a593ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T11:54:35.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-10T11:54:35.733Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-10T11:54:36.015Z] + ls /var/log/sa-host [2023-08-10T11:54:36.015Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T11:54:36.169Z] provisioning config files... [2023-08-10T11:54:36.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7497212662191630574tmp [Pipeline] { [Pipeline] echo [2023-08-10T11:54:36.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:36.471Z] ---> create-netrc.sh [Pipeline] } [2023-08-10T11:54:36.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:36.798Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-10T11:54:36.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:37.088Z] ---> sudo-logs.sh [2023-08-10T11:54:37.088Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-10T11:54:37.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:37.398Z] ---> job-cost.sh [2023-08-10T11:54:37.398Z] lf-activate-venv: SKIPPING [2023-08-10T11:54:37.398Z] DEBUG: total: 0.2199999988079071 [2023-08-10T11:54:37.398Z] INFO: Retrieving Stack Cost... [2023-08-10T11:54:37.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T11:54:38.224Z] INFO: Archiving Costs [Pipeline] echo [2023-08-10T11:54:38.233Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T11:54:38.513Z] ---> logs-deploy.sh [2023-08-10T11:54:38.513Z] lf-activate-venv: SKIPPING [2023-08-10T11:54:38.513Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/58 [2023-08-10T11:54:38.513Z] INFO: archiving workspace using pattern(s): [2023-08-10T11:54:39.447Z] Archives upload complete. [2023-08-10T11:54:39.705Z] INFO: archiving logs to Nexus