Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03b32cf45bc5b3e412caddeb5d4d63e048da2cad 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-ssh8602887435109992457.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh15724606310899906339.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh6184894763752755823.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh3412217187489043361.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh3431681460635061262.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-19742 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 03b32cf45bc5b3e412caddeb5d4d63e048da2cad (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 03b32cf45bc5b3e412caddeb5d4d63e048da2cad # timeout=10 Commit message: "fix: Issues #413 #417 #424 (#425)" > git rev-list --no-walk 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T18:45:19.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T18:45:19.674Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T18:45:19.685Z] ========================================================= [2022-07-12T18:45:19.685Z] EdgeX Global Pipelines Version Info [2022-07-12T18:45:19.685Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:45:20.430Z] ------------------- [2022-07-12T18:45:20.430Z] stable info: [2022-07-12T18:45:20.430Z] ------------------- [2022-07-12T18:45:20.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T18:45:20.430Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T18:45:20.430Z] Message: update stable to v1.0.237 [2022-07-12T18:45:21.003Z] ------------------- [2022-07-12T18:45:21.003Z] experimental info: [2022-07-12T18:45:21.003Z] ------------------- [2022-07-12T18:45:21.003Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T18:45:21.003Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T18:45:21.003Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T18:45:21.259Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-12T18:45:21.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-12T18:45:21.279Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T18:45:21.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T18:45:21.299Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T18:45:21.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-12T18:45:21.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-12T18:45:21.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T18:45:21.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T18:45:21.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-12T18:45:21.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T18:45:21.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T18:45:21.380Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T18:45:21.390Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T18:45:21.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T18:45:21.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T18:45:21.417Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T18:45:21.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T18:45:21.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T18:45:21.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T18:45:21.454Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03b32cf45bc5b3e412caddeb5d4d63e048da2cad [Pipeline] echo [2022-07-12T18:45:21.464Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03b32cf [Pipeline] echo [2022-07-12T18:45:21.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T18:45:21.514Z] provisioning config files... [2022-07-12T18:45:21.528Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3970113663846706536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:45:21.835Z] ---> docker-login.sh [2022-07-12T18:45:21.835Z] nexus3.edgexfoundry.org:10001 [2022-07-12T18:45:22.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:22.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:22.359Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:22.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:22.359Z] [2022-07-12T18:45:22.359Z] Login Succeeded [2022-07-12T18:45:22.359Z] nexus3.edgexfoundry.org:10002 [2022-07-12T18:45:22.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:22.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:22.359Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:22.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:22.359Z] [2022-07-12T18:45:22.359Z] Login Succeeded [2022-07-12T18:45:22.359Z] nexus3.edgexfoundry.org:10003 [2022-07-12T18:45:22.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:22.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:22.622Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:22.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:22.622Z] [2022-07-12T18:45:22.622Z] Login Succeeded [2022-07-12T18:45:22.622Z] nexus3.edgexfoundry.org:10004 [2022-07-12T18:45:22.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:22.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:22.883Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:22.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:22.883Z] [2022-07-12T18:45:22.883Z] Login Succeeded [2022-07-12T18:45:22.883Z] docker.io [2022-07-12T18:45:22.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:23.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:23.147Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:23.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:23.147Z] [2022-07-12T18:45:23.147Z] Login Succeeded [2022-07-12T18:45:23.147Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T18:45:23.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-07-12T18:45:23.550Z] + git rev-list -1 --merges 03b32cf45bc5b3e412caddeb5d4d63e048da2cad~1..03b32cf45bc5b3e412caddeb5d4d63e048da2cad [Pipeline] echo [2022-07-12T18:45:23.587Z] -----------> git rev-list -1 --merges 03b32cf45bc5b3e412caddeb5d4d63e048da2cad~1..03b32cf45bc5b3e412caddeb5d4d63e048da2cad 03b32cf45bc5b3e412caddeb5d4d63e048da2cad [false] [Pipeline] sh [2022-07-12T18:45:23.896Z] + git log --format=format:%s -1 03b32cf45bc5b3e412caddeb5d4d63e048da2cad [Pipeline] echo [2022-07-12T18:45:23.915Z] ========================================================= [2022-07-12T18:45:23.915Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T18:45:23.915Z] ========================================================= 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 [2022-07-12T18:45:24.282Z] + git rev-list -1 --merges 03b32cf45bc5b3e412caddeb5d4d63e048da2cad~1..03b32cf45bc5b3e412caddeb5d4d63e048da2cad [Pipeline] echo [2022-07-12T18:45:24.294Z] -----------> git rev-list -1 --merges 03b32cf45bc5b3e412caddeb5d4d63e048da2cad~1..03b32cf45bc5b3e412caddeb5d4d63e048da2cad 03b32cf45bc5b3e412caddeb5d4d63e048da2cad [false] [Pipeline] sh [2022-07-12T18:45:24.590Z] + git log --format=format:%s -1 03b32cf45bc5b3e412caddeb5d4d63e048da2cad [Pipeline] echo [2022-07-12T18:45:24.608Z] ========================================================= [2022-07-12T18:45:24.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T18:45:24.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-12T18:45:25.032Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T18:45:25.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T18:45:25.033Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T18:45:25.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T18:45:25.033Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-07-12T18:45:25.033Z] -a /etc/ssh/ssh_known_hosts [2022-07-12T18:45:25.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:45:25.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:45:25.382Z] [2022-07-12T18:45:25.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:45:25.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:45:25.687Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T18:45:25.687Z] b85a868b505f: Pulling fs layer [2022-07-12T18:45:25.687Z] e2be974225ed: Pulling fs layer [2022-07-12T18:45:25.687Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T18:45:25.687Z] 988bab9f4d93: Pulling fs layer [2022-07-12T18:45:25.687Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T18:45:25.687Z] 988bab9f4d93: Waiting [2022-07-12T18:45:25.687Z] eaf3925da568: Pulling fs layer [2022-07-12T18:45:25.687Z] bab4dde63d76: Pulling fs layer [2022-07-12T18:45:25.687Z] eaf3925da568: Waiting [2022-07-12T18:45:25.687Z] 1469e6f7b9e6: Waiting [2022-07-12T18:45:25.687Z] bde34c3a00c8: Pulling fs layer [2022-07-12T18:45:25.687Z] b352a97aabf1: Pulling fs layer [2022-07-12T18:45:25.687Z] 4872d77fe225: Pulling fs layer [2022-07-12T18:45:25.687Z] bab4dde63d76: Waiting [2022-07-12T18:45:25.687Z] bde34c3a00c8: Waiting [2022-07-12T18:45:25.687Z] 5851b861e8e6: Pulling fs layer [2022-07-12T18:45:25.688Z] b352a97aabf1: Waiting [2022-07-12T18:45:25.688Z] 4872d77fe225: Waiting [2022-07-12T18:45:25.688Z] 5851b861e8e6: Waiting [2022-07-12T18:45:25.688Z] e2be974225ed: Verifying Checksum [2022-07-12T18:45:25.688Z] e2be974225ed: Download complete [2022-07-12T18:45:25.688Z] 988bab9f4d93: Verifying Checksum [2022-07-12T18:45:25.688Z] 988bab9f4d93: Download complete [2022-07-12T18:45:25.949Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T18:45:25.949Z] 339a4e72a1f5: Download complete [2022-07-12T18:45:25.949Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T18:45:25.949Z] 1469e6f7b9e6: Download complete [2022-07-12T18:45:25.949Z] eaf3925da568: Verifying Checksum [2022-07-12T18:45:25.949Z] eaf3925da568: Download complete [2022-07-12T18:45:25.949Z] bde34c3a00c8: Verifying Checksum [2022-07-12T18:45:25.949Z] bde34c3a00c8: Download complete [2022-07-12T18:45:25.949Z] b352a97aabf1: Verifying Checksum [2022-07-12T18:45:25.949Z] b352a97aabf1: Download complete [2022-07-12T18:45:25.949Z] 4872d77fe225: Download complete [2022-07-12T18:45:25.949Z] 5851b861e8e6: Download complete [2022-07-12T18:45:25.949Z] b85a868b505f: Verifying Checksum [2022-07-12T18:45:25.949Z] b85a868b505f: Download complete [2022-07-12T18:45:26.212Z] bab4dde63d76: Verifying Checksum [2022-07-12T18:45:26.212Z] bab4dde63d76: Download complete [2022-07-12T18:45:27.600Z] b85a868b505f: Pull complete [2022-07-12T18:45:27.600Z] e2be974225ed: Pull complete [2022-07-12T18:45:28.172Z] 339a4e72a1f5: Pull complete [2022-07-12T18:45:28.172Z] 988bab9f4d93: Pull complete [2022-07-12T18:45:28.432Z] 1469e6f7b9e6: Pull complete [2022-07-12T18:45:28.691Z] eaf3925da568: Pull complete [2022-07-12T18:45:30.612Z] bab4dde63d76: Pull complete [2022-07-12T18:45:30.871Z] bde34c3a00c8: Pull complete [2022-07-12T18:45:30.871Z] b352a97aabf1: Pull complete [2022-07-12T18:45:30.871Z] 4872d77fe225: Pull complete [2022-07-12T18:45:31.133Z] 5851b861e8e6: Pull complete [2022-07-12T18:45:31.133Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T18:45:31.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:45:31.133Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:45:31.233Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:45:31.277Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T18:45:32.682Z] $ docker top 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 -eo pid,comm [2022-07-12T18:45:32.747Z] 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). [2022-07-12T18:45:32.747Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T18:45:32.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T18:45:32.785Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T18:45:32.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T18:45:32.941Z] $ docker exec 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 ssh-agent [2022-07-12T18:45:33.081Z] SSH_AUTH_SOCK=/tmp/ssh-5X2AOEbUx5XZ/agent.34 [2022-07-12T18:45:33.081Z] SSH_AGENT_PID=40 [2022-07-12T18:45:33.089Z] Running ssh-add (command line suppressed) [2022-07-12T18:45:33.223Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4640462594258296019.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4640462594258296019.key) [2022-07-12T18:45:33.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T18:45:33.524Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T18:45:33.542Z] $ docker exec --env ******** --env ******** 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 ssh-agent -k [2022-07-12T18:45:33.657Z] unset SSH_AUTH_SOCK; [2022-07-12T18:45:33.657Z] unset SSH_AGENT_PID; [2022-07-12T18:45:33.657Z] echo Agent pid 40 killed; [2022-07-12T18:45:33.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T18:45:33.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T18:45:33.693Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T18:45:33.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T18:45:33.840Z] $ docker exec 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 ssh-agent [2022-07-12T18:45:33.968Z] SSH_AUTH_SOCK=/tmp/ssh-nTOYkrbZvBZg/agent.73 [2022-07-12T18:45:33.968Z] SSH_AGENT_PID=79 [2022-07-12T18:45:33.973Z] Running ssh-add (command line suppressed) [2022-07-12T18:45:34.096Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1977250919001351982.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1977250919001351982.key) [2022-07-12T18:45:34.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T18:45:34.402Z] + git semver init [2022-07-12T18:45:34.663Z] 2022-07-12 18:45:34,588 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T18:45:34.663Z] 2022-07-12 18:45:34,589 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-07-12T18:45:34.663Z] 2022-07-12 18:45:34,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-07-12T18:45:34.663Z] 2022-07-12 18:45:34,589 [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) [2022-07-12T18:45:35.608Z] 2022-07-12 18:45:35,324 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-07-12T18:45:35.608Z] 2022-07-12 18:45:35,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-07-12T18:45:35.608Z] 2022-07-12 18:45:35,325 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:45:35.608Z] 2022-07-12 18:45:35,325 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:45:35.608Z] 2.2.0-dev.11 [Pipeline] } [2022-07-12T18:45:35.628Z] $ docker exec --env ******** --env ******** 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 ssh-agent -k [2022-07-12T18:45:35.745Z] unset SSH_AUTH_SOCK; [2022-07-12T18:45:35.745Z] unset SSH_AGENT_PID; [2022-07-12T18:45:35.746Z] echo Agent pid 79 killed; [2022-07-12T18:45:35.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T18:45:36.060Z] + git semver [Pipeline] } [2022-07-12T18:45:36.349Z] $ docker stop --time=1 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 [2022-07-12T18:45:37.688Z] $ docker rm -f 8caf86b5037cf44947c184dc8aab507336614903de799effaaf4b0a22a8e7e70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T18:45:38.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T18:45:38.299Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T18:45:38.302Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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 [2022-07-12T18:45:38.424Z] provisioning config files... [2022-07-12T18:45:38.435Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8978512261021001734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:45:38.745Z] ---> docker-login.sh [2022-07-12T18:45:38.745Z] nexus3.edgexfoundry.org:10001 [2022-07-12T18:45:38.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:38.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:38.745Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:38.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:38.745Z] [2022-07-12T18:45:38.745Z] Login Succeeded [2022-07-12T18:45:38.745Z] nexus3.edgexfoundry.org:10002 [2022-07-12T18:45:38.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:39.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:39.006Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:39.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:39.006Z] [2022-07-12T18:45:39.006Z] Login Succeeded [2022-07-12T18:45:39.006Z] nexus3.edgexfoundry.org:10003 [2022-07-12T18:45:39.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:39.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:39.006Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:39.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:39.006Z] [2022-07-12T18:45:39.006Z] Login Succeeded [2022-07-12T18:45:39.006Z] nexus3.edgexfoundry.org:10004 [2022-07-12T18:45:39.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:39.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:39.268Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:39.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:39.268Z] [2022-07-12T18:45:39.268Z] Login Succeeded [2022-07-12T18:45:39.268Z] docker.io [2022-07-12T18:45:39.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:45:39.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:45:39.528Z] Configure a credential helper to remove this warning. See [2022-07-12T18:45:39.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:45:39.528Z] [2022-07-12T18:45:39.528Z] Login Succeeded [2022-07-12T18:45:39.528Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T18:45:39.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T18:45:39.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T18:45:39.608Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-12T18:45:39.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T18:45:39.626Z] ========================================================= [2022-07-12T18:45:39.626Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-12T18:45:39.626Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:45:39.938Z] + 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 . [2022-07-12T18:45:39.938Z] Sending build context to Docker daemon 4.54MB [2022-07-12T18:45:39.938Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T18:45:39.938Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T18:45:39.938Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-12T18:45:39.938Z] df9b9388f04a: Pulling fs layer [2022-07-12T18:45:39.938Z] 62381f5d8449: Pulling fs layer [2022-07-12T18:45:40.198Z] df9b9388f04a: Download complete [2022-07-12T18:45:40.198Z] df9b9388f04a: Pull complete [2022-07-12T18:45:40.766Z] 62381f5d8449: Verifying Checksum [2022-07-12T18:45:40.766Z] 62381f5d8449: Download complete [2022-07-12T18:45:44.070Z] 62381f5d8449: Pull complete [2022-07-12T18:45:44.070Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-07-12T18:45:44.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-12T18:45:44.070Z] ---> 547c565c9e89 [2022-07-12T18:45:44.070Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T18:45:44.648Z] ---> Running in 1e727616aa9e [2022-07-12T18:45:44.910Z] Connecting to iotech.jfrog.io (52.17.55.65:443) [2022-07-12T18:45:45.482Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:45:45.482Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:45:45.482Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:45:45.742Z] Removing intermediate container 1e727616aa9e [2022-07-12T18:45:45.742Z] ---> 13d6ed56e072 [2022-07-12T18:45:45.742Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:45:45.742Z] ---> Running in 48ec6c590053 [2022-07-12T18:45:46.316Z] Removing intermediate container 48ec6c590053 [2022-07-12T18:45:46.316Z] ---> 790c83df51ff [2022-07-12T18:45:46.316Z] Step 5/22 : 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 [2022-07-12T18:45:46.316Z] ---> Running in 4d5de93adc98 [2022-07-12T18:45:46.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:45:46.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T18:45:46.838Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:45:47.412Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:45:47.412Z] (1/31) Installing hiredis (1.0.2-r0) [2022-07-12T18:45:47.412Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-07-12T18:45:47.412Z] (3/31) Installing libcbor (0.8.0-r0) [2022-07-12T18:45:47.412Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-07-12T18:45:47.412Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T18:45:47.412Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T18:45:48.362Z] (7/31) Installing util-linux (2.37.4-r0) [2022-07-12T18:45:48.362Z] (8/31) Installing libblkid (2.37.4-r0) [2022-07-12T18:45:48.362Z] (9/31) Installing libeconf (0.4.2-r0) [2022-07-12T18:45:48.362Z] (10/31) Installing libuuid (2.37.4-r0) [2022-07-12T18:45:48.362Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-07-12T18:45:48.362Z] (12/31) Installing libmount (2.37.4-r0) [2022-07-12T18:45:48.362Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-07-12T18:45:48.362Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-07-12T18:45:48.362Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-07-12T18:45:48.362Z] (16/31) Installing runuser (2.37.4-r0) [2022-07-12T18:45:48.362Z] (17/31) Installing hexdump (2.37.4-r0) [2022-07-12T18:45:48.362Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-07-12T18:45:48.362Z] (19/31) Installing blkid (2.37.4-r0) [2022-07-12T18:45:48.362Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-07-12T18:45:48.362Z] (21/31) Installing mcookie (2.37.4-r0) [2022-07-12T18:45:48.362Z] (22/31) Installing wipefs (2.37.4-r0) [2022-07-12T18:45:48.362Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-07-12T18:45:48.362Z] (24/31) Installing flock (2.37.4-r0) [2022-07-12T18:45:48.362Z] (25/31) Installing lsblk (2.37.4-r0) [2022-07-12T18:45:48.362Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-07-12T18:45:48.362Z] (27/31) Installing setpriv (2.37.4-r0) [2022-07-12T18:45:48.362Z] (28/31) Installing logger (2.37.4-r0) [2022-07-12T18:45:48.362Z] (29/31) Installing partx (2.37.4-r0) [2022-07-12T18:45:48.362Z] (30/31) Installing findmnt (2.37.4-r0) [2022-07-12T18:45:48.362Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-07-12T18:45:48.362Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:45:48.362Z] OK: 293 MiB in 108 packages [2022-07-12T18:45:48.930Z] Removing intermediate container 4d5de93adc98 [2022-07-12T18:45:48.930Z] ---> 433483f354b1 [2022-07-12T18:45:48.930Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-12T18:45:48.930Z] ---> Running in 00ced7dc95d2 [2022-07-12T18:45:49.504Z] Removing intermediate container 00ced7dc95d2 [2022-07-12T18:45:49.504Z] ---> 8d5e9fe06d72 [2022-07-12T18:45:49.504Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-12T18:45:49.763Z] ---> f541d3a05233 [2022-07-12T18:45:49.763Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-12T18:45:50.024Z] ---> 1023a9223060 [2022-07-12T18:45:50.024Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-12T18:45:50.024Z] ---> f53f3cfcd985 [2022-07-12T18:45:50.024Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-12T18:45:50.285Z] ---> 7bba73a0fd67 [2022-07-12T18:45:50.285Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-12T18:45:50.546Z] ---> 701e9855793a [2022-07-12T18:45:50.546Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-12T18:45:50.546Z] ---> a3d0000948d5 [2022-07-12T18:45:50.546Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-12T18:45:50.546Z] ---> Running in 4852a2d91290 [2022-07-12T18:45:50.807Z] + CPPCHECK=false [2022-07-12T18:45:50.807Z] + DOCGEN=false [2022-07-12T18:45:50.807Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-12T18:45:50.807Z] + TOMLVER=SDK-0.2 [2022-07-12T18:45:50.807Z] + CUTILVER=1.2.2 [2022-07-12T18:45:50.807Z] + '[' 0 -gt 0 ] [2022-07-12T18:45:50.807Z] + readlink -f ./scripts/build.sh [2022-07-12T18:45:50.807Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-12T18:45:50.807Z] + dirname /tmp/sdk/scripts [2022-07-12T18:45:50.807Z] + ROOT=/tmp/sdk [2022-07-12T18:45:50.807Z] + cd /tmp/sdk [2022-07-12T18:45:50.807Z] + '[' '!' -d deps ] [2022-07-12T18:45:50.807Z] + mkdir deps [2022-07-12T18:45:50.807Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-12T18:45:50.807Z] + tar -C deps -z -x -f - [2022-07-12T18:45:50.807Z] Connecting to github.com (140.82.113.4:443) [2022-07-12T18:45:51.068Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-12T18:45:51.330Z] writing to stdout [2022-07-12T18:45:51.330Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-12T18:45:51.330Z] written to stdout [2022-07-12T18:45:51.330Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-12T18:45:51.330Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-12T18:45:51.330Z] + tar -C deps -z -x -f - [2022-07-12T18:45:51.330Z] Connecting to github.com (140.82.113.4:443) [2022-07-12T18:45:51.330Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-12T18:45:51.591Z] writing to stdout [2022-07-12T18:45:53.396Z] Still waiting to schedule task [2022-07-12T18:45:53.396Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-12T18:46:30.359Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-12T18:46:30.359Z] written to stdout [2022-07-12T18:46:30.359Z] + mkdir -p src/c/iot [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-12T18:46:30.359Z] + mkdir -p include/iot [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-07-12T18:46:30.359Z] + mkdir -p include/iot/os [2022-07-12T18:46:30.359Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-07-12T18:46:30.359Z] + mkdir -p /tmp/sdk/build/release [2022-07-12T18:46:30.359Z] + cd /tmp/sdk/build/release [2022-07-12T18:46:30.359Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-12T18:46:30.359Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T18:46:30.359Z] -- Detecting C compiler ABI info [2022-07-12T18:46:30.359Z] -- Detecting C compiler ABI info - done [2022-07-12T18:46:30.359Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T18:46:30.359Z] -- Detecting C compile features [2022-07-12T18:46:30.359Z] -- Detecting C compile features - done [2022-07-12T18:46:30.359Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T18:46:30.359Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T18:46:30.359Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T18:46:30.359Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T18:46:30.359Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T18:46:30.359Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T18:46:30.359Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T18:46:30.359Z] -- C SDK 2.2.0-dev.11 for Linux [2022-07-12T18:46:30.359Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T18:46:30.359Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T18:46:30.359Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T18:46:30.359Z] -- Configuring done [2022-07-12T18:46:30.359Z] -- Generating done [2022-07-12T18:46:30.359Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-12T18:46:30.359Z] + make all package [2022-07-12T18:46:30.359Z] + tee release.log [2022-07-12T18:46:30.359Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T18:46:30.359Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T18:46:30.359Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T18:46:30.359Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T18:46:30.359Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T18:46:30.622Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T18:46:30.622Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T18:46:30.886Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T18:46:30.886Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T18:46:31.147Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T18:46:31.408Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T18:46:31.673Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T18:46:31.673Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T18:46:31.936Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T18:46:31.936Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T18:46:31.936Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T18:46:32.200Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T18:46:32.778Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T18:46:32.778Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T18:46:32.778Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T18:46:32.778Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T18:46:33.042Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T18:46:33.042Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T18:46:33.042Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T18:46:33.042Z] 275 | const iot_component_factory_t * factory; [2022-07-12T18:46:33.042Z] | ^~~~~~~ [2022-07-12T18:46:33.304Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T18:46:33.876Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T18:46:34.137Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T18:46:34.137Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T18:46:34.137Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T18:46:34.397Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T18:46:34.397Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T18:46:34.659Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T18:46:34.659Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T18:46:34.920Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T18:46:34.920Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T18:46:34.920Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T18:46:35.495Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T18:46:35.495Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T18:46:35.758Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T18:46:35.758Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T18:46:36.707Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T18:46:36.707Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T18:46:36.707Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T18:46:36.970Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T18:46:37.233Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T18:46:37.494Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T18:46:37.494Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T18:46:37.756Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T18:46:37.756Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T18:46:38.327Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T18:46:38.898Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T18:46:39.160Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T18:46:39.160Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T18:46:39.160Z] [ 76%] Built target csdk [2022-07-12T18:46:39.160Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T18:46:39.422Z] [ 79%] Linking C executable template [2022-07-12T18:46:39.422Z] [ 79%] Built target template [2022-07-12T18:46:39.422Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T18:46:39.683Z] [ 82%] Linking C executable device-counter [2022-07-12T18:46:39.683Z] [ 82%] Built target device-counter [2022-07-12T18:46:39.683Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T18:46:39.683Z] [ 85%] Linking C executable device-random [2022-07-12T18:46:39.946Z] [ 85%] Built target device-random [2022-07-12T18:46:39.946Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T18:46:39.946Z] [ 88%] Linking C executable device-gyro [2022-07-12T18:46:39.946Z] [ 88%] Built target device-gyro [2022-07-12T18:46:40.208Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T18:46:40.208Z] [ 91%] Linking C executable device-bitfields [2022-07-12T18:46:40.208Z] [ 91%] Built target device-bitfields [2022-07-12T18:46:40.208Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T18:46:40.470Z] [ 94%] Linking C executable template-discovery [2022-07-12T18:46:40.470Z] [ 94%] Built target template-discovery [2022-07-12T18:46:40.470Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T18:46:40.733Z] [ 97%] Linking C executable device-file [2022-07-12T18:46:40.733Z] [ 97%] Built target device-file [2022-07-12T18:46:40.733Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T18:46:41.022Z] [100%] Linking C executable device-terminal [2022-07-12T18:46:41.022Z] [100%] Built target device-terminal [2022-07-12T18:46:41.022Z] Run CPack packaging tool... [2022-07-12T18:46:41.022Z] CPack: Create package using TGZ [2022-07-12T18:46:41.022Z] CPack: Install projects [2022-07-12T18:46:41.022Z] CPack: - Run preinstall target for: Csdk [2022-07-12T18:46:41.308Z] CPack: - Install project: Csdk [] [2022-07-12T18:46:41.308Z] CPack: Create package [2022-07-12T18:46:41.308Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.11.tar.gz generated. [2022-07-12T18:46:41.308Z] + '[' false '=' true ] [2022-07-12T18:46:41.308Z] + '[' false '=' true ] [2022-07-12T18:46:41.308Z] + mkdir -p /tmp/sdk/build/debug [2022-07-12T18:46:41.308Z] + cd /tmp/sdk/build/debug [2022-07-12T18:46:41.308Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-12T18:46:41.308Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T18:46:41.308Z] -- Detecting C compiler ABI info [2022-07-12T18:46:41.594Z] -- Detecting C compiler ABI info - done [2022-07-12T18:46:41.594Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T18:46:41.594Z] -- Detecting C compile features [2022-07-12T18:46:41.594Z] -- Detecting C compile features - done [2022-07-12T18:46:41.594Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T18:46:41.594Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T18:46:41.594Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T18:46:41.594Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T18:46:41.594Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T18:46:41.595Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T18:46:41.595Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T18:46:41.595Z] -- C SDK 2.2.0-dev.11 for Linux [2022-07-12T18:46:41.595Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T18:46:41.595Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T18:46:41.595Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T18:46:41.595Z] -- Configuring done [2022-07-12T18:46:41.595Z] -- Generating done [2022-07-12T18:46:41.595Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-12T18:46:41.595Z] + make [2022-07-12T18:46:41.595Z] + tee debug.log [2022-07-12T18:46:41.861Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T18:46:41.861Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T18:46:41.861Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T18:46:42.127Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T18:46:42.127Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T18:46:42.127Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T18:46:42.386Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T18:46:42.386Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T18:46:42.386Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T18:46:42.386Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T18:46:42.645Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T18:46:42.645Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T18:46:42.905Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T18:46:42.905Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T18:46:42.905Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T18:46:42.905Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T18:46:42.905Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T18:46:43.165Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T18:46:43.165Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T18:46:43.425Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T18:46:43.425Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T18:46:43.425Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T18:46:43.425Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T18:46:43.425Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T18:46:43.425Z] 275 | const iot_component_factory_t * factory; [2022-07-12T18:46:43.425Z] | ^~~~~~~ [2022-07-12T18:46:43.425Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T18:46:43.685Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T18:46:43.685Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T18:46:43.945Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T18:46:43.945Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T18:46:43.945Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T18:46:43.945Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T18:46:44.206Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T18:46:44.206Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T18:46:44.206Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T18:46:44.206Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T18:46:44.467Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T18:46:44.467Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T18:46:44.467Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T18:46:44.727Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T18:46:44.727Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T18:46:44.988Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T18:46:44.988Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T18:46:44.988Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T18:46:45.249Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T18:46:45.249Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T18:46:45.510Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T18:46:45.510Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T18:46:45.510Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T18:46:45.771Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T18:46:45.771Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T18:46:46.033Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T18:46:46.033Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T18:46:46.033Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T18:46:46.295Z] [ 76%] Built target csdk [2022-07-12T18:46:46.295Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T18:46:46.295Z] [ 79%] Linking C executable template [2022-07-12T18:46:46.295Z] [ 79%] Built target template [2022-07-12T18:46:46.295Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T18:46:46.556Z] [ 82%] Linking C executable device-counter [2022-07-12T18:46:46.556Z] [ 82%] Built target device-counter [2022-07-12T18:46:46.556Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T18:46:46.556Z] [ 85%] Linking C executable device-random [2022-07-12T18:46:46.556Z] [ 85%] Built target device-random [2022-07-12T18:46:46.556Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T18:46:46.817Z] [ 88%] Linking C executable device-gyro [2022-07-12T18:46:46.817Z] [ 88%] Built target device-gyro [2022-07-12T18:46:46.817Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T18:46:46.817Z] [ 91%] Linking C executable device-bitfields [2022-07-12T18:46:47.077Z] [ 91%] Built target device-bitfields [2022-07-12T18:46:47.077Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T18:46:47.077Z] [ 94%] Linking C executable template-discovery [2022-07-12T18:46:47.077Z] [ 94%] Built target template-discovery [2022-07-12T18:46:47.077Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T18:46:47.337Z] [ 97%] Linking C executable device-file [2022-07-12T18:46:47.337Z] [ 97%] Built target device-file [2022-07-12T18:46:47.337Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T18:46:47.337Z] [100%] Linking C executable device-terminal [2022-07-12T18:46:47.337Z] [100%] Built target device-terminal [2022-07-12T18:46:47.598Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 76%] Built target csdk [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 79%] Built target template [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 82%] Built target device-counter [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 85%] Built target device-random [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 88%] Built target device-gyro [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 91%] Built target device-bitfields [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 94%] Built target template-discovery [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [ 97%] Built target device-file [2022-07-12T18:46:47.598Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] [100%] Built target device-terminal [2022-07-12T18:46:47.598Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:47.598Z] Install the project... [2022-07-12T18:46:47.598Z] -- Install configuration: "Release" [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/devsdk [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/config.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/os.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/container.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/component.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/os [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/time.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/data.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/include/iot/json.h [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-12T18:46:47.598Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-12T18:46:47.598Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:46:48.540Z] Removing intermediate container 4852a2d91290 [2022-07-12T18:46:48.540Z] ---> 7befa73d2f74 [2022-07-12T18:46:48.540Z] Step 14/22 : FROM ${BASE} [2022-07-12T18:46:48.540Z] ---> 547c565c9e89 [2022-07-12T18:46:48.540Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-12T18:46:48.540Z] ---> Running in a5085bc9edc0 [2022-07-12T18:46:48.540Z] Removing intermediate container a5085bc9edc0 [2022-07-12T18:46:48.540Z] ---> ab3b87deaffa [2022-07-12T18:46:48.540Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T18:46:48.540Z] ---> Running in 225071d19263 [2022-07-12T18:46:48.801Z] Connecting to iotech.jfrog.io (34.255.222.93:443) [2022-07-12T18:46:49.373Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:46:49.373Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:46:49.373Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:46:49.634Z] Removing intermediate container 225071d19263 [2022-07-12T18:46:49.634Z] ---> 928a16b85d72 [2022-07-12T18:46:49.634Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:46:49.634Z] ---> Running in 3c3130cdba8c [2022-07-12T18:46:50.206Z] Removing intermediate container 3c3130cdba8c [2022-07-12T18:46:50.206Z] ---> 39965ed7f69a [2022-07-12T18:46:50.206Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-07-12T18:46:50.206Z] ---> Running in 0f260665457d [2022-07-12T18:46:50.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:50.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:50.730Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:51.302Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:46:51.302Z] (1/6) Installing curl (7.80.0-r2) [2022-07-12T18:46:51.302Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-12T18:46:51.302Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-12T18:46:51.302Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-12T18:46:51.302Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-12T18:46:51.302Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T18:46:52.245Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:46:52.245Z] OK: 283 MiB in 83 packages [2022-07-12T18:46:52.505Z] Removing intermediate container 0f260665457d [2022-07-12T18:46:52.505Z] ---> 0d5104f57678 [2022-07-12T18:46:52.505Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-12T18:46:52.505Z] ---> 6e5198fe2653 [2022-07-12T18:46:52.505Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-12T18:46:52.765Z] ---> 707867c9a9ec [2022-07-12T18:46:52.765Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-12T18:46:53.030Z] ---> 760b7405b5e1 [2022-07-12T18:46:53.030Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-12T18:46:53.030Z] ---> b11d6928b188 [2022-07-12T18:46:53.030Z] Successfully built b11d6928b188 [2022-07-12T18:46:53.290Z] 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 [2022-07-12T18:46:53.670Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T18:46:53.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:46:53.753Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:46:53.790Z] $ 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 ******** ci-base-image-x86_64 cat [2022-07-12T18:46:54.167Z] $ docker top f919002a0499daf5a7d7004d627a38e974b6a0df5a9924bcab6c315ca93a01e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T18:46:54.527Z] + make test [2022-07-12T18:46:54.528Z] echo "make test" [2022-07-12T18:46:54.528Z] make test [Pipeline] } [2022-07-12T18:46:54.544Z] $ docker stop --time=1 f919002a0499daf5a7d7004d627a38e974b6a0df5a9924bcab6c315ca93a01e5 [2022-07-12T18:46:55.853Z] $ docker rm -f f919002a0499daf5a7d7004d627a38e974b6a0df5a9924bcab6c315ca93a01e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T18:46:56.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T18:46:56.738Z] + ls -al . [2022-07-12T18:46:56.739Z] total 208 [2022-07-12T18:46:56.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 18:45 . [2022-07-12T18:46:56.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:45 .. [2022-07-12T18:46:56.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:45 .git [2022-07-12T18:46:56.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:45 .github [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 18:45 .gitignore [2022-07-12T18:46:56.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:45 .semver [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 12 18:45 Attribution.txt [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jul 12 18:45 CHANGES [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 18:45 Doxyfile [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:45 GOVERNANCE.md [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 18:45 Jenkinsfile [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 18:45 LICENSE [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 18:45 Makefile [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 18:45 OWNERS.md [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 12 18:45 README.md [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 12 18:45 README.v2.md [2022-07-12T18:46:56.739Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 12 18:45 VERSION [2022-07-12T18:46:56.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:45 docs [2022-07-12T18:46:56.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:45 include [2022-07-12T18:46:56.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:45 scripts [2022-07-12T18:46:56.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:45 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:46:57.044Z] + 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=03b32cf45bc5b3e412caddeb5d4d63e048da2cad --label arch=amd64 --label version=2.2.0-dev.11 . [2022-07-12T18:46:57.044Z] Sending build context to Docker daemon 4.54MB [2022-07-12T18:46:57.044Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-12T18:46:57.044Z] Step 2/17 : FROM ${BASE} [2022-07-12T18:46:57.044Z] ---> b11d6928b188 [2022-07-12T18:46:57.044Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-12T18:46:57.044Z] ---> Running in f485fe0d32e4 [2022-07-12T18:46:57.306Z] Removing intermediate container f485fe0d32e4 [2022-07-12T18:46:57.306Z] ---> b7dd13c87deb [2022-07-12T18:46:57.306Z] 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 [2022-07-12T18:46:57.306Z] ---> Running in bf422fa22cb2 [2022-07-12T18:46:57.567Z] Connecting to iotech.jfrog.io (63.32.116.203:443) [2022-07-12T18:46:57.828Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:46:57.828Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:46:57.828Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:46:58.088Z] Removing intermediate container bf422fa22cb2 [2022-07-12T18:46:58.088Z] ---> c0e020b3b544 [2022-07-12T18:46:58.088Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:46:58.088Z] ---> Running in d59e973a30ba [2022-07-12T18:46:58.659Z] Removing intermediate container d59e973a30ba [2022-07-12T18:46:58.659Z] ---> 6e6a8a55a723 [2022-07-12T18:46:58.659Z] 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 && mkdir -p /edgex-c-sdk/build [2022-07-12T18:46:58.659Z] ---> Running in bfb21ae30d6b [2022-07-12T18:46:59.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:59.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:59.229Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T18:46:59.800Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:46:59.800Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-07-12T18:46:59.800Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T18:46:59.800Z] (3/26) Installing util-linux (2.37.4-r0) [2022-07-12T18:46:59.800Z] (4/26) Installing libblkid (2.37.4-r0) [2022-07-12T18:46:59.800Z] (5/26) Installing libeconf (0.4.2-r0) [2022-07-12T18:46:59.800Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-07-12T18:46:59.800Z] (7/26) Installing libmount (2.37.4-r0) [2022-07-12T18:46:59.800Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-07-12T18:46:59.800Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-07-12T18:46:59.800Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-07-12T18:46:59.800Z] (11/26) Installing runuser (2.37.4-r0) [2022-07-12T18:46:59.800Z] (12/26) Installing hexdump (2.37.4-r0) [2022-07-12T18:46:59.800Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-07-12T18:46:59.800Z] (14/26) Installing blkid (2.37.4-r0) [2022-07-12T18:46:59.800Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-07-12T18:46:59.800Z] (16/26) Installing mcookie (2.37.4-r0) [2022-07-12T18:46:59.800Z] (17/26) Installing wipefs (2.37.4-r0) [2022-07-12T18:46:59.800Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-07-12T18:46:59.800Z] (19/26) Installing flock (2.37.4-r0) [2022-07-12T18:46:59.800Z] (20/26) Installing lsblk (2.37.4-r0) [2022-07-12T18:46:59.800Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-07-12T18:46:59.800Z] (22/26) Installing setpriv (2.37.4-r0) [2022-07-12T18:46:59.800Z] (23/26) Installing logger (2.37.4-r0) [2022-07-12T18:46:59.800Z] (24/26) Installing partx (2.37.4-r0) [2022-07-12T18:46:59.800Z] (25/26) Installing findmnt (2.37.4-r0) [2022-07-12T18:46:59.800Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-07-12T18:46:59.800Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:46:59.800Z] OK: 294 MiB in 109 packages [2022-07-12T18:47:00.743Z] Removing intermediate container bfb21ae30d6b [2022-07-12T18:47:00.743Z] ---> 116da96794c6 [2022-07-12T18:47:00.743Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-12T18:47:00.743Z] ---> 8c9dc8b3cd33 [2022-07-12T18:47:00.743Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-12T18:47:00.743Z] ---> 5be2efb1588a [2022-07-12T18:47:00.743Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-12T18:47:01.004Z] ---> 42092b3efbe8 [2022-07-12T18:47:01.004Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-12T18:47:01.264Z] ---> 62199f2cfd60 [2022-07-12T18:47:01.264Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-12T18:47:01.264Z] ---> 35c6197c23f1 [2022-07-12T18:47:01.264Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-12T18:47:01.524Z] ---> 8d411da0da79 [2022-07-12T18:47:01.524Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-12T18:47:01.524Z] ---> Running in 5eb9aceb7547 [2022-07-12T18:47:01.524Z] Removing intermediate container 5eb9aceb7547 [2022-07-12T18:47:01.524Z] ---> 9d9599688fdf [2022-07-12T18:47:01.524Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-12T18:47:01.786Z] ---> Running in 11568a0d30ad [2022-07-12T18:47:01.786Z] Removing intermediate container 11568a0d30ad [2022-07-12T18:47:01.786Z] ---> 4e2f9373d23b [2022-07-12T18:47:01.786Z] Step 15/17 : LABEL arch=amd64 [2022-07-12T18:47:01.786Z] ---> Running in f0d2f7d0ce1d [2022-07-12T18:47:01.786Z] Removing intermediate container f0d2f7d0ce1d [2022-07-12T18:47:01.786Z] ---> ba56a7f02f6f [2022-07-12T18:47:01.786Z] Step 16/17 : LABEL git_sha=03b32cf45bc5b3e412caddeb5d4d63e048da2cad [2022-07-12T18:47:02.048Z] ---> Running in a44f54aa7cc0 [2022-07-12T18:47:02.048Z] Removing intermediate container a44f54aa7cc0 [2022-07-12T18:47:02.048Z] ---> 9c9252a5c50d [2022-07-12T18:47:02.048Z] Step 17/17 : LABEL version=2.2.0-dev.11 [2022-07-12T18:47:02.048Z] ---> Running in 5218b4a6e68c [2022-07-12T18:47:02.048Z] Removing intermediate container 5218b4a6e68c [2022-07-12T18:47:02.048Z] ---> 546d05f711dc [2022-07-12T18:47:02.048Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-07-12T18:47:02.048Z] Successfully built 546d05f711dc [2022-07-12T18:47:02.048Z] 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 [2022-07-12T18:47:02.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T18:47:02.504Z] [2022-07-12T18:47:02.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:47:02.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T18:47:02.813Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T18:47:02.813Z] 5eb5b503b376: Pulling fs layer [2022-07-12T18:47:02.813Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T18:47:02.813Z] ec43610c2a17: Pulling fs layer [2022-07-12T18:47:02.813Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T18:47:02.813Z] 3a2ae6a8a46f: Waiting [2022-07-12T18:47:02.813Z] 33b1e0a273af: Pulling fs layer [2022-07-12T18:47:02.813Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T18:47:02.813Z] 2f39f015ded8: Pulling fs layer [2022-07-12T18:47:02.813Z] 33b1e0a273af: Waiting [2022-07-12T18:47:02.813Z] 2f39f015ded8: Waiting [2022-07-12T18:47:02.813Z] 5d3b04190fa2: Waiting [2022-07-12T18:47:02.813Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T18:47:02.813Z] 5c69ac0246d0: Download complete [2022-07-12T18:47:02.813Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T18:47:02.813Z] 3a2ae6a8a46f: Download complete [2022-07-12T18:47:02.813Z] 33b1e0a273af: Verifying Checksum [2022-07-12T18:47:02.813Z] 33b1e0a273af: Download complete [2022-07-12T18:47:03.072Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T18:47:03.072Z] ec43610c2a17: Verifying Checksum [2022-07-12T18:47:03.072Z] 5d3b04190fa2: Download complete [2022-07-12T18:47:03.072Z] ec43610c2a17: Download complete [2022-07-12T18:47:03.072Z] 5eb5b503b376: Verifying Checksum [2022-07-12T18:47:03.072Z] 5eb5b503b376: Download complete [2022-07-12T18:47:03.642Z] 2f39f015ded8: Download complete [2022-07-12T18:47:04.580Z] 5eb5b503b376: Pull complete [2022-07-12T18:47:04.580Z] 5c69ac0246d0: Pull complete [2022-07-12T18:47:05.149Z] ec43610c2a17: Pull complete [2022-07-12T18:47:05.149Z] 3a2ae6a8a46f: Pull complete [2022-07-12T18:47:05.408Z] 33b1e0a273af: Pull complete [2022-07-12T18:47:05.408Z] 5d3b04190fa2: Pull complete [2022-07-12T18:47:10.704Z] 2f39f015ded8: Pull complete [2022-07-12T18:47:10.704Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T18:47:10.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T18:47:10.704Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:47:10.797Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:47:10.835Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T18:47:12.502Z] $ docker top 9a0468db759ba95b1e8673b9a06ea1e586a6a7badcfc04b470871bb9d8e793cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:47:12.895Z] ---> job-cost.sh [2022-07-12T18:47:12.895Z] lf-activate-venv: SKIPPING [2022-07-12T18:47:12.895Z] INFO: No Stack... [2022-07-12T18:47:13.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T18:47:13.723Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T18:47:14.015Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-07-12T18:47:14.015Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T18:47:14.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [2022-07-12T18:47:14.036Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] did not exist. Created. [2022-07-12T18:47:14.036Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T18:47:14.334Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T18:47:14.367Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T18:47:14.372Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T18:47:14.394Z] $ docker stop --time=1 9a0468db759ba95b1e8673b9a06ea1e586a6a7badcfc04b470871bb9d8e793cf [2022-07-12T18:47:15.574Z] $ docker rm -f 9a0468db759ba95b1e8673b9a06ea1e586a6a7badcfc04b470871bb9d8e793cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T18:47:26.022Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19743 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-07-12T18:47:26.035Z] Running in /w/workspace/device-sdk-c/28 [Pipeline] { [Pipeline] checkout [2022-07-12T18:47:26.077Z] Selected Git installation does not exist. Using Default [2022-07-12T18:47:26.077Z] The recommended git tool is: NONE [2022-07-12T18:47:33.332Z] using credential edgex-jenkins-ssh [2022-07-12T18:47:33.350Z] Cloning the remote Git repository [2022-07-12T18:47:33.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T18:47:33.504Z] > git init /w/workspace/device-sdk-c/28 # timeout=10 [2022-07-12T18:47:33.611Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T18:47:33.611Z] > git --version # timeout=10 [2022-07-12T18:47:33.640Z] > git --version # 'git version 2.25.1' [2022-07-12T18:47:33.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T18:47:34.928Z] Avoid second fetch [2022-07-12T18:47:34.929Z] Checking out Revision 03b32cf45bc5b3e412caddeb5d4d63e048da2cad (main) [2022-07-12T18:47:33.794Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T18:47:34.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-12T18:47:34.814Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T18:47:34.970Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T18:47:35.039Z] > git checkout -f 03b32cf45bc5b3e412caddeb5d4d63e048da2cad # timeout=10 [2022-07-12T18:47:39.511Z] Commit message: "fix: Issues #413 #417 #424 (#425)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T18:47:40.400Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T18:47:40.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T18:47:40.400Z] Dload Upload Total Spent Left Speed [2022-07-12T18:47:40.400Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 85846 0 --:--:-- --:--:-- --:--:-- 85846 [Pipeline] sh [2022-07-12T18:47:41.075Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T18:47:41.426Z] + sudo tee /etc/docker/daemon.new [2022-07-12T18:47:41.426Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T18:47:41.426Z] { [2022-07-12T18:47:41.426Z] "registry-mirrors": [ [2022-07-12T18:47:41.426Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T18:47:41.426Z] ], [2022-07-12T18:47:41.426Z] "bip": "10.250.0.254/24", [2022-07-12T18:47:41.426Z] "hosts": [ [2022-07-12T18:47:41.426Z] "tcp://0.0.0.0:5555", [2022-07-12T18:47:41.426Z] "unix:///var/run/docker.sock" [2022-07-12T18:47:41.426Z] ], [2022-07-12T18:47:41.426Z] "mtu": 1458, [2022-07-12T18:47:41.426Z] "selinux-enabled": true, [2022-07-12T18:47:41.426Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T18:47:41.426Z] } [Pipeline] sh [2022-07-12T18:47:41.772Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T18:47:42.177Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T18:48:00.516Z] provisioning config files... [2022-07-12T18:48:00.538Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/28@tmp/config7812619104673508479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:48:00.888Z] ---> docker-login.sh [2022-07-12T18:48:00.888Z] nexus3.edgexfoundry.org:10001 [2022-07-12T18:48:01.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:48:01.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:48:01.755Z] Configure a credential helper to remove this warning. See [2022-07-12T18:48:01.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:48:01.755Z] [2022-07-12T18:48:01.755Z] Login Succeeded [2022-07-12T18:48:01.755Z] nexus3.edgexfoundry.org:10002 [2022-07-12T18:48:02.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:48:02.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:48:02.027Z] Configure a credential helper to remove this warning. See [2022-07-12T18:48:02.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:48:02.027Z] [2022-07-12T18:48:02.027Z] Login Succeeded [2022-07-12T18:48:02.027Z] nexus3.edgexfoundry.org:10003 [2022-07-12T18:48:02.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:48:02.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:48:02.572Z] Configure a credential helper to remove this warning. See [2022-07-12T18:48:02.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:48:02.572Z] [2022-07-12T18:48:02.572Z] Login Succeeded [2022-07-12T18:48:02.572Z] nexus3.edgexfoundry.org:10004 [2022-07-12T18:48:02.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:48:02.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:48:02.857Z] Configure a credential helper to remove this warning. See [2022-07-12T18:48:02.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:48:02.857Z] [2022-07-12T18:48:02.857Z] Login Succeeded [2022-07-12T18:48:02.857Z] docker.io [2022-07-12T18:48:03.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T18:48:03.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T18:48:03.722Z] Configure a credential helper to remove this warning. See [2022-07-12T18:48:03.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T18:48:03.722Z] [2022-07-12T18:48:03.722Z] Login Succeeded [2022-07-12T18:48:03.722Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T18:48:03.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T18:48:04.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T18:48:04.256Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-12T18:48:04.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T18:48:04.278Z] ========================================================= [2022-07-12T18:48:04.278Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-12T18:48:04.278Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:48:04.659Z] + 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 . [2022-07-12T18:48:04.930Z] Sending build context to Docker daemon 2.735MB [2022-07-12T18:48:04.930Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T18:48:04.930Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T18:48:05.203Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-12T18:48:05.203Z] 9981e73032c8: Pulling fs layer [2022-07-12T18:48:05.203Z] 735ca4d71f2f: Pulling fs layer [2022-07-12T18:48:05.203Z] 9981e73032c8: Download complete [2022-07-12T18:48:05.804Z] 9981e73032c8: Pull complete [2022-07-12T18:48:07.244Z] 735ca4d71f2f: Verifying Checksum [2022-07-12T18:48:07.244Z] 735ca4d71f2f: Download complete [2022-07-12T18:48:15.529Z] 735ca4d71f2f: Pull complete [2022-07-12T18:48:15.529Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-07-12T18:48:15.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-12T18:48:15.529Z] ---> aede2dddcadd [2022-07-12T18:48:15.529Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T18:48:15.529Z] ---> Running in c5b5369683fe [2022-07-12T18:48:16.120Z] Connecting to iotech.jfrog.io (63.32.116.203:443) [2022-07-12T18:48:16.712Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:48:16.712Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:48:16.712Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:48:17.315Z] Removing intermediate container c5b5369683fe [2022-07-12T18:48:17.316Z] ---> f164fd8e9c8d [2022-07-12T18:48:17.316Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:48:17.316Z] ---> Running in fac3ec32ec66 [2022-07-12T18:48:18.753Z] Removing intermediate container fac3ec32ec66 [2022-07-12T18:48:18.753Z] ---> 40d8cfaed92d [2022-07-12T18:48:18.753Z] Step 5/22 : 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 [2022-07-12T18:48:18.753Z] ---> Running in f2b2a01a1fe9 [2022-07-12T18:48:19.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:48:20.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T18:48:20.600Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:48:21.192Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:48:21.192Z] (1/31) Installing hiredis (1.0.2-r0) [2022-07-12T18:48:21.192Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-07-12T18:48:21.192Z] (3/31) Installing libcbor (0.8.0-r0) [2022-07-12T18:48:21.192Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-07-12T18:48:21.193Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T18:48:21.193Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T18:48:22.170Z] (7/31) Installing util-linux (2.37.4-r0) [2022-07-12T18:48:22.170Z] (8/31) Installing libblkid (2.37.4-r0) [2022-07-12T18:48:22.170Z] (9/31) Installing libeconf (0.4.2-r0) [2022-07-12T18:48:22.170Z] (10/31) Installing libuuid (2.37.4-r0) [2022-07-12T18:48:22.170Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-07-12T18:48:22.170Z] (12/31) Installing libmount (2.37.4-r0) [2022-07-12T18:48:22.170Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-07-12T18:48:22.170Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-07-12T18:48:22.170Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-07-12T18:48:22.170Z] (16/31) Installing runuser (2.37.4-r0) [2022-07-12T18:48:22.170Z] (17/31) Installing hexdump (2.37.4-r0) [2022-07-12T18:48:22.170Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-07-12T18:48:22.170Z] (19/31) Installing blkid (2.37.4-r0) [2022-07-12T18:48:22.170Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-07-12T18:48:22.170Z] (21/31) Installing mcookie (2.37.4-r0) [2022-07-12T18:48:22.170Z] (22/31) Installing wipefs (2.37.4-r0) [2022-07-12T18:48:22.170Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-07-12T18:48:22.444Z] (24/31) Installing flock (2.37.4-r0) [2022-07-12T18:48:22.444Z] (25/31) Installing lsblk (2.37.4-r0) [2022-07-12T18:48:22.444Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-07-12T18:48:22.444Z] (27/31) Installing setpriv (2.37.4-r0) [2022-07-12T18:48:22.444Z] (28/31) Installing logger (2.37.4-r0) [2022-07-12T18:48:22.444Z] (29/31) Installing partx (2.37.4-r0) [2022-07-12T18:48:22.444Z] (30/31) Installing findmnt (2.37.4-r0) [2022-07-12T18:48:22.444Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-07-12T18:48:22.444Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:48:22.444Z] OK: 290 MiB in 108 packages [2022-07-12T18:48:23.875Z] Removing intermediate container f2b2a01a1fe9 [2022-07-12T18:48:23.875Z] ---> cebef5389c30 [2022-07-12T18:48:23.875Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-12T18:48:23.875Z] ---> Running in 54c8d5534dfe [2022-07-12T18:48:25.324Z] Removing intermediate container 54c8d5534dfe [2022-07-12T18:48:25.324Z] ---> a31f3e84ccb2 [2022-07-12T18:48:25.324Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-12T18:48:25.916Z] ---> 1e5c72014adc [2022-07-12T18:48:25.916Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-12T18:48:26.509Z] ---> 4a863cdba2fe [2022-07-12T18:48:26.509Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-12T18:48:27.100Z] ---> e8da94c58c11 [2022-07-12T18:48:27.100Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-12T18:48:27.373Z] ---> 458406363d5d [2022-07-12T18:48:27.373Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-12T18:48:27.964Z] ---> b759dfdbf81b [2022-07-12T18:48:27.964Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-12T18:48:28.560Z] ---> 1e31ee7edfa6 [2022-07-12T18:48:28.560Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-12T18:48:28.560Z] ---> Running in 3ede45d0f0b3 [2022-07-12T18:48:29.539Z] + CPPCHECK=false [2022-07-12T18:48:29.539Z] + DOCGEN=false [2022-07-12T18:48:29.539Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-12T18:48:29.539Z] + TOMLVER=SDK-0.2 [2022-07-12T18:48:29.539Z] + CUTILVER=1.2.2 [2022-07-12T18:48:29.539Z] + '[' 0 -gt 0 ] [2022-07-12T18:48:29.539Z] + readlink -f ./scripts/build.sh [2022-07-12T18:48:29.539Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-12T18:48:29.539Z] + dirname /tmp/sdk/scripts [2022-07-12T18:48:29.539Z] + ROOT=/tmp/sdk [2022-07-12T18:48:29.539Z] + cd /tmp/sdk [2022-07-12T18:48:29.539Z] + '[' '!' -d deps ] [2022-07-12T18:48:29.539Z] + mkdir deps [2022-07-12T18:48:29.539Z] + wget -O+ - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gztar [2022-07-12T18:48:29.539Z] -C deps -z -x -f - [2022-07-12T18:48:29.539Z] Connecting to github.com (140.82.114.4:443) [2022-07-12T18:48:29.539Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-12T18:48:29.809Z] writing to stdout [2022-07-12T18:48:29.809Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-12T18:48:29.809Z] written to stdout [2022-07-12T18:48:29.809Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-12T18:48:29.809Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-12T18:48:29.809Z] + tar -C deps -z -x -f - [2022-07-12T18:48:29.809Z] Connecting to github.com (140.82.114.4:443) [2022-07-12T18:48:30.082Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-12T18:48:30.356Z] writing to stdout [2022-07-12T18:48:30.356Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-12T18:48:30.356Z] written to stdout [2022-07-12T18:48:30.356Z] + mkdir -p src/c/iot [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-12T18:48:30.356Z] + mkdir -p include/iot [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-07-12T18:48:30.356Z] + mkdir -p include/iot/os [2022-07-12T18:48:30.356Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-07-12T18:48:30.356Z] + mkdir -p /tmp/sdk/build/release [2022-07-12T18:48:30.356Z] + cd /tmp/sdk/build/release [2022-07-12T18:48:30.356Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-12T18:48:30.629Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T18:48:30.905Z] -- Detecting C compiler ABI info [2022-07-12T18:48:31.176Z] -- Detecting C compiler ABI info - done [2022-07-12T18:48:31.176Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T18:48:31.176Z] -- Detecting C compile features [2022-07-12T18:48:31.176Z] -- Detecting C compile features - done [2022-07-12T18:48:31.176Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T18:48:31.451Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T18:48:31.451Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T18:48:31.451Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T18:48:31.451Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T18:48:31.451Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T18:48:31.451Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T18:48:31.451Z] -- C SDK 2.2.0-dev.11 for Linux [2022-07-12T18:48:31.451Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T18:48:31.727Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T18:48:31.727Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T18:48:32.002Z] -- Configuring done [2022-07-12T18:48:32.281Z] -- Generating done [2022-07-12T18:48:32.281Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-12T18:48:32.281Z] + make all package [2022-07-12T18:48:32.281Z] + tee release.log [2022-07-12T18:48:32.281Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T18:48:33.274Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T18:48:33.870Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T18:48:36.495Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T18:48:37.472Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T18:48:37.472Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T18:48:38.450Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T18:48:39.042Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T18:48:39.633Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T18:48:41.057Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T18:48:43.018Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T18:48:43.616Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T18:48:44.604Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T18:48:45.196Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T18:48:45.791Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T18:48:46.061Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T18:48:46.333Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T18:48:49.703Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T18:48:49.703Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T18:48:50.294Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T18:48:50.565Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T18:48:51.155Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T18:48:51.425Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T18:48:51.425Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T18:48:51.425Z] 275 | const iot_component_factory_t * factory; [2022-07-12T18:48:51.425Z] | ^~~~~~~ [2022-07-12T18:48:52.016Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T18:48:57.391Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T18:48:57.391Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T18:48:57.391Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T18:48:58.371Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T18:48:58.962Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T18:48:58.962Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T18:49:00.381Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T18:49:00.652Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T18:49:01.622Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T18:49:01.893Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T18:49:02.485Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T18:49:05.103Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T18:49:05.374Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T18:49:06.802Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T18:49:06.802Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T18:49:12.198Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T18:49:12.198Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T18:49:12.472Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T18:49:13.064Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T18:49:14.488Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T18:49:17.098Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T18:49:17.368Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T18:49:17.958Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T18:49:18.548Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T18:49:21.148Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T18:49:25.429Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T18:49:26.020Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T18:49:26.612Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T18:49:26.884Z] [ 76%] Built target csdk [2022-07-12T18:49:26.884Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T18:49:27.858Z] [ 79%] Linking C executable template [2022-07-12T18:49:27.858Z] [ 79%] Built target template [2022-07-12T18:49:28.129Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T18:49:28.720Z] [ 82%] Linking C executable device-counter [2022-07-12T18:49:28.720Z] [ 82%] Built target device-counter [2022-07-12T18:49:28.991Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T18:49:29.264Z] [ 85%] Linking C executable device-random [2022-07-12T18:49:29.537Z] [ 85%] Built target device-random [2022-07-12T18:49:29.808Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T18:49:30.080Z] [ 88%] Linking C executable device-gyro [2022-07-12T18:49:30.353Z] [ 88%] Built target device-gyro [2022-07-12T18:49:30.353Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T18:49:30.955Z] [ 91%] Linking C executable device-bitfields [2022-07-12T18:49:31.230Z] [ 91%] Built target device-bitfields [2022-07-12T18:49:31.230Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T18:49:32.200Z] [ 94%] Linking C executable template-discovery [2022-07-12T18:49:32.474Z] [ 94%] Built target template-discovery [2022-07-12T18:49:32.474Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T18:49:33.453Z] [ 97%] Linking C executable device-file [2022-07-12T18:49:33.453Z] [ 97%] Built target device-file [2022-07-12T18:49:33.724Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T18:49:34.319Z] [100%] Linking C executable device-terminal [2022-07-12T18:49:34.591Z] [100%] Built target device-terminal [2022-07-12T18:49:34.591Z] Run CPack packaging tool... [2022-07-12T18:49:34.591Z] CPack: Create package using TGZ [2022-07-12T18:49:34.591Z] CPack: Install projects [2022-07-12T18:49:34.591Z] CPack: - Run preinstall target for: Csdk [2022-07-12T18:49:35.563Z] CPack: - Install project: Csdk [] [2022-07-12T18:49:35.563Z] CPack: Create package [2022-07-12T18:49:35.563Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.11.tar.gz generated. [2022-07-12T18:49:35.563Z] + '[' false '=' true ] [2022-07-12T18:49:35.563Z] + '[' false '=' true ] [2022-07-12T18:49:35.563Z] + mkdir -p /tmp/sdk/build/debug [2022-07-12T18:49:35.563Z] + cd /tmp/sdk/build/debug [2022-07-12T18:49:35.563Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-12T18:49:35.834Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T18:49:35.834Z] -- Detecting C compiler ABI info [2022-07-12T18:49:36.105Z] -- Detecting C compiler ABI info - done [2022-07-12T18:49:36.376Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T18:49:36.376Z] -- Detecting C compile features [2022-07-12T18:49:36.376Z] -- Detecting C compile features - done [2022-07-12T18:49:36.376Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T18:49:36.376Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T18:49:36.376Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T18:49:36.376Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T18:49:36.376Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T18:49:36.647Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T18:49:36.647Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T18:49:36.647Z] -- C SDK 2.2.0-dev.11 for Linux [2022-07-12T18:49:36.647Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T18:49:36.918Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T18:49:36.918Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T18:49:37.188Z] -- Configuring done [2022-07-12T18:49:37.461Z] -- Generating done [2022-07-12T18:49:37.461Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-12T18:49:37.461Z] + + teemake [2022-07-12T18:49:37.461Z] debug.log [2022-07-12T18:49:37.461Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T18:49:37.734Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T18:49:38.327Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T18:49:38.918Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T18:49:39.510Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T18:49:39.510Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T18:49:40.101Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T18:49:40.374Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T18:49:40.646Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T18:49:41.242Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T18:49:41.835Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T18:49:42.108Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T18:49:42.381Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T18:49:42.974Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T18:49:43.250Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T18:49:43.250Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T18:49:43.523Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T18:49:44.502Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T18:49:44.773Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T18:49:44.773Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T18:49:45.047Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T18:49:45.319Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T18:49:45.589Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T18:49:45.589Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T18:49:45.589Z] 275 | const iot_component_factory_t * factory; [2022-07-12T18:49:45.589Z] | ^~~~~~~ [2022-07-12T18:49:45.858Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T18:49:47.279Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T18:49:47.279Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T18:49:47.551Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T18:49:47.822Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T18:49:48.095Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T18:49:48.095Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T18:49:48.686Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T18:49:48.686Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T18:49:49.279Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T18:49:49.279Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T18:49:49.554Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T18:49:50.150Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T18:49:50.150Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T18:49:50.742Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T18:49:51.011Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T18:49:52.433Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T18:49:52.704Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T18:49:52.704Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T18:49:53.295Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T18:49:53.564Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T18:49:55.527Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T18:49:55.527Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T18:49:55.799Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T18:49:56.070Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T18:49:57.043Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T18:49:57.632Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T18:49:57.903Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T18:49:58.173Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T18:49:58.443Z] [ 76%] Built target csdk [2022-07-12T18:49:58.714Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T18:49:58.986Z] [ 79%] Linking C executable template [2022-07-12T18:49:59.257Z] [ 79%] Built target template [2022-07-12T18:49:59.257Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T18:49:59.526Z] [ 82%] Linking C executable device-counter [2022-07-12T18:49:59.794Z] [ 82%] Built target device-counter [2022-07-12T18:49:59.794Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T18:50:00.066Z] [ 85%] Linking C executable device-random [2022-07-12T18:50:00.337Z] [ 85%] Built target device-random [2022-07-12T18:50:00.337Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T18:50:00.609Z] [ 88%] Linking C executable device-gyro [2022-07-12T18:50:00.879Z] [ 88%] Built target device-gyro [2022-07-12T18:50:01.150Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T18:50:01.425Z] [ 91%] Linking C executable device-bitfields [2022-07-12T18:50:01.697Z] [ 91%] Built target device-bitfields [2022-07-12T18:50:01.697Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T18:50:01.969Z] [ 94%] Linking C executable template-discovery [2022-07-12T18:50:02.241Z] [ 94%] Built target template-discovery [2022-07-12T18:50:02.241Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T18:50:02.512Z] [ 97%] Linking C executable device-file [2022-07-12T18:50:02.784Z] [ 97%] Built target device-file [2022-07-12T18:50:03.055Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T18:50:03.326Z] [100%] Linking C executable device-terminal [2022-07-12T18:50:03.599Z] [100%] Built target device-terminal [2022-07-12T18:50:03.599Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.599Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] [ 76%] Built target csdk [2022-07-12T18:50:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] [ 79%] Built target template [2022-07-12T18:50:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] [ 82%] Built target device-counter [2022-07-12T18:50:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] [ 85%] Built target device-random [2022-07-12T18:50:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] [ 88%] Built target device-gyro [2022-07-12T18:50:04.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] [ 91%] Built target device-bitfields [2022-07-12T18:50:04.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] [ 94%] Built target template-discovery [2022-07-12T18:50:04.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] [ 97%] Built target device-file [2022-07-12T18:50:04.143Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] [100%] Built target device-terminal [2022-07-12T18:50:04.143Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:04.143Z] Install the project... [2022-07-12T18:50:04.143Z] -- Install configuration: "Release" [2022-07-12T18:50:04.143Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/devsdk [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/time.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/component.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/config.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/container.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/os.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/data.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/os [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/json.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-12T18:50:04.424Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-12T18:50:04.424Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-12T18:50:05.860Z] Removing intermediate container 3ede45d0f0b3 [2022-07-12T18:50:05.860Z] ---> bfd3c775edeb [2022-07-12T18:50:05.860Z] Step 14/22 : FROM ${BASE} [2022-07-12T18:50:05.860Z] ---> aede2dddcadd [2022-07-12T18:50:05.860Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-12T18:50:06.133Z] ---> Running in 0a4e1d77fa4c [2022-07-12T18:50:06.133Z] Removing intermediate container 0a4e1d77fa4c [2022-07-12T18:50:06.133Z] ---> c676ce506b89 [2022-07-12T18:50:06.133Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-07-12T18:50:06.406Z] ---> Running in 9146ca8bb1bf [2022-07-12T18:50:07.395Z] Connecting to iotech.jfrog.io (54.155.90.35:443) [2022-07-12T18:50:07.666Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:50:07.666Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:50:07.666Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:50:08.269Z] Removing intermediate container 9146ca8bb1bf [2022-07-12T18:50:08.269Z] ---> 38a81ef37429 [2022-07-12T18:50:08.269Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:50:08.269Z] ---> Running in 2b6549f7ed35 [2022-07-12T18:50:09.704Z] Removing intermediate container 2b6549f7ed35 [2022-07-12T18:50:09.704Z] ---> c9385b7b414f [2022-07-12T18:50:09.704Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-07-12T18:50:09.704Z] ---> Running in d45b123f938c [2022-07-12T18:50:10.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:10.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:11.550Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:12.142Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:50:12.142Z] (1/6) Installing curl (7.80.0-r2) [2022-07-12T18:50:12.142Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-12T18:50:12.142Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-12T18:50:12.142Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-12T18:50:12.142Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-12T18:50:12.142Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T18:50:13.123Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:50:13.123Z] OK: 278 MiB in 83 packages [2022-07-12T18:50:14.114Z] Removing intermediate container d45b123f938c [2022-07-12T18:50:14.114Z] ---> 9d01ee42e4ea [2022-07-12T18:50:14.114Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-12T18:50:14.712Z] ---> 1ded70299bb9 [2022-07-12T18:50:14.712Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-12T18:50:14.988Z] ---> a037ac8145c4 [2022-07-12T18:50:14.988Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-12T18:50:15.591Z] ---> 7a5d5603b4a9 [2022-07-12T18:50:15.591Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-12T18:50:16.188Z] ---> aaa0773fee19 [2022-07-12T18:50:16.188Z] Successfully built aaa0773fee19 [2022-07-12T18:50:16.188Z] 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 [2022-07-12T18:50:16.685Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T18:50:16.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:50:16.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-19743 does not seem to be running inside a container [2022-07-12T18:50:17.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/28 -v /w/workspace/device-sdk-c/28:/w/workspace/device-sdk-c/28:rw,z -v /w/workspace/device-sdk-c/28@tmp:/w/workspace/device-sdk-c/28@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 [2022-07-12T18:50:18.200Z] $ docker top 8506c23d5c6d8c1ac7e43fb1bf7f59eb560b0afd29b18b5e38f23287e0f8a8d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T18:50:19.082Z] + make test [2022-07-12T18:50:19.082Z] echo "make test" [2022-07-12T18:50:19.082Z] make test [Pipeline] } [2022-07-12T18:50:19.110Z] $ docker stop --time=1 8506c23d5c6d8c1ac7e43fb1bf7f59eb560b0afd29b18b5e38f23287e0f8a8d2 [2022-07-12T18:50:20.672Z] $ docker rm -f 8506c23d5c6d8c1ac7e43fb1bf7f59eb560b0afd29b18b5e38f23287e0f8a8d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T18:50:21.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T18:50:21.577Z] + ls -al . [2022-07-12T18:50:21.577Z] total 204 [2022-07-12T18:50:21.577Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:47 . [2022-07-12T18:50:21.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:47 .. [2022-07-12T18:50:21.577Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 18:47 .git [2022-07-12T18:50:21.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:47 .github [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 18:47 .gitignore [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 12 18:47 Attribution.txt [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jul 12 18:47 CHANGES [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 18:47 Doxyfile [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 18:47 GOVERNANCE.md [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 18:47 Jenkinsfile [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 18:47 LICENSE [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 18:47 Makefile [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 18:47 OWNERS.md [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 12 18:47 README.md [2022-07-12T18:50:21.577Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 12 18:47 README.v2.md [2022-07-12T18:50:21.578Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 12 18:45 VERSION [2022-07-12T18:50:21.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:47 docs [2022-07-12T18:50:21.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:47 include [2022-07-12T18:50:21.578Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 18:47 scripts [2022-07-12T18:50:21.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 18:47 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:50:21.941Z] + 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=03b32cf45bc5b3e412caddeb5d4d63e048da2cad --label arch=arm64 --label version=2.2.0-dev.11 . [2022-07-12T18:50:22.227Z] Sending build context to Docker daemon 2.735MB [2022-07-12T18:50:22.227Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-12T18:50:22.227Z] Step 2/17 : FROM ${BASE} [2022-07-12T18:50:22.227Z] ---> aaa0773fee19 [2022-07-12T18:50:22.227Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-12T18:50:22.499Z] ---> Running in 79110afd7c96 [2022-07-12T18:50:22.771Z] Removing intermediate container 79110afd7c96 [2022-07-12T18:50:22.771Z] ---> d135c37b8edf [2022-07-12T18:50:22.771Z] 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 [2022-07-12T18:50:22.771Z] ---> Running in 30a8a65ffe4a [2022-07-12T18:50:23.746Z] Connecting to iotech.jfrog.io (63.32.116.203:443) [2022-07-12T18:50:24.021Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T18:50:24.021Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T18:50:24.021Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T18:50:24.616Z] Removing intermediate container 30a8a65ffe4a [2022-07-12T18:50:24.616Z] ---> 17fd04edacbe [2022-07-12T18:50:24.616Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T18:50:24.616Z] ---> Running in f1f04b978497 [2022-07-12T18:50:26.049Z] Removing intermediate container f1f04b978497 [2022-07-12T18:50:26.049Z] ---> 61ead971dbe7 [2022-07-12T18:50:26.049Z] 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 && mkdir -p /edgex-c-sdk/build [2022-07-12T18:50:26.049Z] ---> Running in 7f2fcf4a86d2 [2022-07-12T18:50:27.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:27.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:27.583Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T18:50:28.557Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T18:50:28.557Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-07-12T18:50:28.557Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T18:50:28.557Z] (3/26) Installing util-linux (2.37.4-r0) [2022-07-12T18:50:28.557Z] (4/26) Installing libblkid (2.37.4-r0) [2022-07-12T18:50:28.557Z] (5/26) Installing libeconf (0.4.2-r0) [2022-07-12T18:50:28.557Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-07-12T18:50:28.557Z] (7/26) Installing libmount (2.37.4-r0) [2022-07-12T18:50:28.557Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-07-12T18:50:28.557Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-07-12T18:50:28.557Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-07-12T18:50:28.557Z] (11/26) Installing runuser (2.37.4-r0) [2022-07-12T18:50:28.557Z] (12/26) Installing hexdump (2.37.4-r0) [2022-07-12T18:50:28.557Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-07-12T18:50:28.830Z] (14/26) Installing blkid (2.37.4-r0) [2022-07-12T18:50:28.830Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-07-12T18:50:28.830Z] (16/26) Installing mcookie (2.37.4-r0) [2022-07-12T18:50:28.830Z] (17/26) Installing wipefs (2.37.4-r0) [2022-07-12T18:50:28.830Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-07-12T18:50:28.830Z] (19/26) Installing flock (2.37.4-r0) [2022-07-12T18:50:28.830Z] (20/26) Installing lsblk (2.37.4-r0) [2022-07-12T18:50:28.830Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-07-12T18:50:28.830Z] (22/26) Installing setpriv (2.37.4-r0) [2022-07-12T18:50:28.830Z] (23/26) Installing logger (2.37.4-r0) [2022-07-12T18:50:28.830Z] (24/26) Installing partx (2.37.4-r0) [2022-07-12T18:50:28.830Z] (25/26) Installing findmnt (2.37.4-r0) [2022-07-12T18:50:28.830Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-07-12T18:50:28.830Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T18:50:28.830Z] OK: 290 MiB in 109 packages [2022-07-12T18:50:30.258Z] Removing intermediate container 7f2fcf4a86d2 [2022-07-12T18:50:30.258Z] ---> 5f95537db9da [2022-07-12T18:50:30.258Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-12T18:50:30.530Z] ---> e5df840742f4 [2022-07-12T18:50:30.530Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-12T18:50:31.508Z] ---> cde6a428ff77 [2022-07-12T18:50:31.508Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-12T18:50:31.779Z] ---> 5b894a27eb09 [2022-07-12T18:50:31.779Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-12T18:50:32.375Z] ---> da9fa22b4653 [2022-07-12T18:50:32.375Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-12T18:50:32.652Z] ---> 74daa6cb0c50 [2022-07-12T18:50:32.652Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-12T18:50:33.244Z] ---> 0087a72c4566 [2022-07-12T18:50:33.244Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-12T18:50:33.244Z] ---> Running in 0cd1f7df7990 [2022-07-12T18:50:33.517Z] Removing intermediate container 0cd1f7df7990 [2022-07-12T18:50:33.517Z] ---> cb0ff8ef82b0 [2022-07-12T18:50:33.517Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-12T18:50:33.789Z] ---> Running in e0d7ca203e6a [2022-07-12T18:50:34.062Z] Removing intermediate container e0d7ca203e6a [2022-07-12T18:50:34.062Z] ---> 5d69fe413400 [2022-07-12T18:50:34.062Z] Step 15/17 : LABEL arch=arm64 [2022-07-12T18:50:34.062Z] ---> Running in ace93d40e7a1 [2022-07-12T18:50:34.335Z] Removing intermediate container ace93d40e7a1 [2022-07-12T18:50:34.335Z] ---> b620c25c4c15 [2022-07-12T18:50:34.335Z] Step 16/17 : LABEL git_sha=03b32cf45bc5b3e412caddeb5d4d63e048da2cad [2022-07-12T18:50:34.335Z] ---> Running in f7201d80e959 [2022-07-12T18:50:34.608Z] Removing intermediate container f7201d80e959 [2022-07-12T18:50:34.608Z] ---> ed414fc68a2d [2022-07-12T18:50:34.608Z] Step 17/17 : LABEL version=2.2.0-dev.11 [2022-07-12T18:50:34.608Z] ---> Running in e54d4754e4d0 [2022-07-12T18:50:34.881Z] Removing intermediate container e54d4754e4d0 [2022-07-12T18:50:34.881Z] ---> 14bc58bbddac [2022-07-12T18:50:34.881Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-12T18:50:34.881Z] Successfully built 14bc58bbddac [2022-07-12T18:50:35.152Z] 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 [2022-07-12T18:50:35.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T18:50:35.591Z] [2022-07-12T18:50:35.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:50:35.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T18:50:36.204Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T18:50:36.204Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T18:50:36.204Z] 04944245beec: Pulling fs layer [2022-07-12T18:50:36.204Z] 699f458cf7ca: Pulling fs layer [2022-07-12T18:50:36.204Z] 765212b225bb: Pulling fs layer [2022-07-12T18:50:36.204Z] f23df028b6ca: Pulling fs layer [2022-07-12T18:50:36.204Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T18:50:36.204Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T18:50:36.204Z] f23df028b6ca: Waiting [2022-07-12T18:50:36.204Z] 765212b225bb: Waiting [2022-07-12T18:50:36.204Z] 2437ff75d9bd: Waiting [2022-07-12T18:50:36.204Z] d65c8cfc05b1: Waiting [2022-07-12T18:50:36.204Z] 04944245beec: Verifying Checksum [2022-07-12T18:50:36.204Z] 04944245beec: Download complete [2022-07-12T18:50:36.204Z] 765212b225bb: Verifying Checksum [2022-07-12T18:50:36.204Z] 765212b225bb: Download complete [2022-07-12T18:50:36.480Z] f23df028b6ca: Verifying Checksum [2022-07-12T18:50:36.480Z] f23df028b6ca: Download complete [2022-07-12T18:50:36.480Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T18:50:36.480Z] d65c8cfc05b1: Download complete [2022-07-12T18:50:36.480Z] 699f458cf7ca: Verifying Checksum [2022-07-12T18:50:36.480Z] 699f458cf7ca: Download complete [2022-07-12T18:50:37.076Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T18:50:37.076Z] 8998bd30e6a1: Download complete [2022-07-12T18:50:39.054Z] 2437ff75d9bd: Download complete [2022-07-12T18:50:40.490Z] 8998bd30e6a1: Pull complete [2022-07-12T18:50:41.086Z] 04944245beec: Pull complete [2022-07-12T18:50:42.517Z] 699f458cf7ca: Pull complete [2022-07-12T18:50:42.517Z] 765212b225bb: Pull complete [2022-07-12T18:50:43.115Z] f23df028b6ca: Pull complete [2022-07-12T18:50:43.399Z] d65c8cfc05b1: Pull complete [2022-07-12T18:50:58.478Z] 2437ff75d9bd: Pull complete [2022-07-12T18:50:58.478Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T18:50:58.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T18:50:58.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:50:58.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-19743 does not seem to be running inside a container [2022-07-12T18:50:58.807Z] $ 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/28 -v /w/workspace/device-sdk-c/28:/w/workspace/device-sdk-c/28:rw,z -v /w/workspace/device-sdk-c/28@tmp:/w/workspace/device-sdk-c/28@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 [2022-07-12T18:51:01.158Z] $ docker top 8c8e0bdf4985746cc0905c8c8e6c7d00ecded181e794d58ca7ab0a9990727451 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:02.030Z] ---> job-cost.sh [2022-07-12T18:51:02.030Z] lf-activate-venv: SKIPPING [2022-07-12T18:51:02.030Z] INFO: No Stack... [2022-07-12T18:51:02.302Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T18:51:03.272Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T18:51:03.925Z] + cut -d, -f6 [2022-07-12T18:51:03.926Z] + cat /w/workspace/device-sdk-c/28/archives/cost.csv [Pipeline] lock [2022-07-12T18:51:04.014Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [2022-07-12T18:51:04.021Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] did not exist. Created. [2022-07-12T18:51:04.022Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T18:51:04.724Z] /w/workspace/device-sdk-c/28@tmp/durable-f6b25b39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T18:51:05.406Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T18:51:05.433Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T18:51:06.011Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T18:51:06.017Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T18:51:06.041Z] $ docker stop --time=1 8c8e0bdf4985746cc0905c8c8e6c7d00ecded181e794d58ca7ab0a9990727451 [2022-07-12T18:51:07.510Z] $ docker rm -f 8c8e0bdf4985746cc0905c8c8e6c7d00ecded181e794d58ca7ab0a9990727451 [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 [2022-07-12T18:51:08.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T18:51:08.292Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:08.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:51:08.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:51:08.668Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:51:08.707Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T18:51:09.073Z] $ docker top d498f2a313011c483997dd2ba8c915d7f09e7fe35f5537f52203e170beaf6311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T18:51:09.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T18:51:09.171Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T18:51:09.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T18:51:09.304Z] $ docker exec d498f2a313011c483997dd2ba8c915d7f09e7fe35f5537f52203e170beaf6311 ssh-agent [2022-07-12T18:51:09.424Z] SSH_AUTH_SOCK=/tmp/ssh-En7CDmfkVEq9/agent.32 [2022-07-12T18:51:09.424Z] SSH_AGENT_PID=38 [2022-07-12T18:51:09.432Z] Running ssh-add (command line suppressed) [2022-07-12T18:51:09.548Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5502216737484172468.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5502216737484172468.key) [2022-07-12T18:51:09.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T18:51:09.857Z] + git semver tag [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,096 [run_tag] DEBUG tag force:False [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,097 [check_head_tag] DEBUG check head tag [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,097 [execute] INFO git cat-file --batch-check [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,102 [execute] INFO git cat-file --batch [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,114 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,114 [execute] INFO git tag -a v2.2.0-dev.11 -m v2.2.0-dev.11 [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,115 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.11', '-m', 'v2.2.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T18:51:10.120Z] 2022-07-12 18:51:10,121 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:10.382Z] 2.2.0-dev.11 [Pipeline] } [2022-07-12T18:51:10.395Z] $ docker exec --env ******** --env ******** d498f2a313011c483997dd2ba8c915d7f09e7fe35f5537f52203e170beaf6311 ssh-agent -k [2022-07-12T18:51:10.507Z] unset SSH_AUTH_SOCK; [2022-07-12T18:51:10.508Z] unset SSH_AGENT_PID; [2022-07-12T18:51:10.508Z] echo Agent pid 38 killed; [2022-07-12T18:51:10.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T18:51:10.829Z] + git semver [Pipeline] } [2022-07-12T18:51:11.108Z] $ docker stop --time=1 d498f2a313011c483997dd2ba8c915d7f09e7fe35f5537f52203e170beaf6311 [2022-07-12T18:51:12.407Z] $ docker rm -f d498f2a313011c483997dd2ba8c915d7f09e7fe35f5537f52203e170beaf6311 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:12.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T18:51:12.824Z] [2022-07-12T18:51:12.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:13.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T18:51:13.132Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T18:51:13.132Z] ab5ef0e58194: Pulling fs layer [2022-07-12T18:51:13.132Z] 9712f1f96733: Pulling fs layer [2022-07-12T18:51:13.132Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T18:51:13.132Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T18:51:13.132Z] e9a5061849ea: Pulling fs layer [2022-07-12T18:51:13.132Z] d747dcd14b5f: Pulling fs layer [2022-07-12T18:51:13.132Z] 0d9ebad4ef96: Waiting [2022-07-12T18:51:13.132Z] 2de7ff778b66: Pulling fs layer [2022-07-12T18:51:13.132Z] d747dcd14b5f: Waiting [2022-07-12T18:51:13.132Z] 2de7ff778b66: Waiting [2022-07-12T18:51:13.132Z] 9712f1f96733: Verifying Checksum [2022-07-12T18:51:13.132Z] 9712f1f96733: Download complete [2022-07-12T18:51:13.402Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T18:51:13.402Z] 63f879dbbcfc: Download complete [2022-07-12T18:51:13.665Z] ab5ef0e58194: Verifying Checksum [2022-07-12T18:51:13.665Z] ab5ef0e58194: Download complete [2022-07-12T18:51:13.665Z] d747dcd14b5f: Verifying Checksum [2022-07-12T18:51:13.665Z] d747dcd14b5f: Download complete [2022-07-12T18:51:13.665Z] e9a5061849ea: Download complete [2022-07-12T18:51:13.665Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T18:51:13.665Z] 0d9ebad4ef96: Download complete [2022-07-12T18:51:13.925Z] 2de7ff778b66: Verifying Checksum [2022-07-12T18:51:13.925Z] 2de7ff778b66: Download complete [2022-07-12T18:51:16.467Z] ab5ef0e58194: Pull complete [2022-07-12T18:51:16.467Z] 9712f1f96733: Pull complete [2022-07-12T18:51:17.405Z] 63f879dbbcfc: Pull complete [2022-07-12T18:51:21.600Z] 0d9ebad4ef96: Pull complete [2022-07-12T18:51:21.601Z] e9a5061849ea: Pull complete [2022-07-12T18:51:21.601Z] d747dcd14b5f: Pull complete [2022-07-12T18:51:22.541Z] 2de7ff778b66: Pull complete [2022-07-12T18:51:22.541Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T18:51:22.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T18:51:22.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:51:22.633Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:51:22.668Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-12T18:51:25.199Z] $ docker top f1ae435fd3835de939a2e489441848601c85f37a591cf0d6bfce88e2187557f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T18:51:25.284Z] provisioning config files... [2022-07-12T18:51:25.293Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config802241182103774178tmp [2022-07-12T18:51:25.303Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2988077804676159923tmp [2022-07-12T18:51:25.313Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7985642360662183992tmp [Pipeline] { [Pipeline] echo [2022-07-12T18:51:25.327Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:25.613Z] ---> sigul-configuration.sh [2022-07-12T18:51:25.614Z] gpg: directory `/root/.gnupg' created [2022-07-12T18:51:25.614Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T18:51:25.614Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T18:51:25.614Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T18:51:25.614Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T18:51:25.614Z] gpg: CAST5 encrypted data [2022-07-12T18:51:25.614Z] gpg: encrypted with 1 passphrase [2022-07-12T18:51:25.614Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T18:51:25.903Z] + mkdir /home/jenkins [2022-07-12T18:51:25.903Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T18:51:26.190Z] + 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 [2022-07-12T18:51:26.198Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:26.486Z] ---> sigul-install.sh [2022-07-12T18:51:26.486Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T18:51:26.778Z] + git tag --list [2022-07-12T18:51:26.778Z] 0.7.0 [2022-07-12T18:51:26.778Z] 0.7.1 [2022-07-12T18:51:26.778Z] 1.0.0 [2022-07-12T18:51:26.778Z] v1.0.1 [2022-07-12T18:51:26.778Z] v1.0.2 [2022-07-12T18:51:26.778Z] v1.0.3 [2022-07-12T18:51:26.778Z] v1.1.0 [2022-07-12T18:51:26.778Z] v1.1.1 [2022-07-12T18:51:26.778Z] v1.2.0 [2022-07-12T18:51:26.778Z] v1.2.1 [2022-07-12T18:51:26.778Z] v1.2.2 [2022-07-12T18:51:26.778Z] v1.3.0 [2022-07-12T18:51:26.778Z] v1.3.1 [2022-07-12T18:51:26.778Z] v2.0.0 [2022-07-12T18:51:26.778Z] v2.1.0 [2022-07-12T18:51:26.778Z] v2.2.0-dev.1 [2022-07-12T18:51:26.778Z] v2.2.0-dev.10 [2022-07-12T18:51:26.778Z] v2.2.0-dev.11 [2022-07-12T18:51:26.778Z] v2.2.0-dev.2 [2022-07-12T18:51:26.778Z] v2.2.0-dev.3 [2022-07-12T18:51:26.778Z] v2.2.0-dev.4 [2022-07-12T18:51:26.778Z] v2.2.0-dev.5 [2022-07-12T18:51:26.778Z] v2.2.0-dev.6 [2022-07-12T18:51:26.778Z] v2.2.0-dev.7 [2022-07-12T18:51:26.778Z] v2.2.0-dev.8 [2022-07-12T18:51:26.778Z] v2.2.0-dev.9 [Pipeline] sh [2022-07-12T18:51:27.071Z] + lftools sign git-tag v2.2.0-dev.11 [2022-07-12T18:51:27.642Z] Signing Git tag with Sigul... [2022-07-12T18:51:27.642Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-07-12T18:51:28.222Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:28.505Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T18:51:28.512Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T18:51:28.532Z] $ docker stop --time=1 f1ae435fd3835de939a2e489441848601c85f37a591cf0d6bfce88e2187557f3 [2022-07-12T18:51:29.832Z] $ docker rm -f f1ae435fd3835de939a2e489441848601c85f37a591cf0d6bfce88e2187557f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T18:51:30.231Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T18:51:30.231Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:30.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:51:30.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:51:30.615Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:51:30.648Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T18:51:31.001Z] $ docker top e174c0018f9f809936ced3eb79df74e32ae7b7e0a5f2196910724edf1842535c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T18:51:31.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T18:51:31.095Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T18:51:31.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T18:51:31.217Z] $ docker exec e174c0018f9f809936ced3eb79df74e32ae7b7e0a5f2196910724edf1842535c ssh-agent [2022-07-12T18:51:31.368Z] SSH_AUTH_SOCK=/tmp/ssh-SIEIQwoq7NWM/agent.32 [2022-07-12T18:51:31.368Z] SSH_AGENT_PID=38 [2022-07-12T18:51:31.374Z] Running ssh-add (command line suppressed) [2022-07-12T18:51:31.520Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2092078011389742597.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2092078011389742597.key) [2022-07-12T18:51:31.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T18:51:31.818Z] + git semver bump pre [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [bump_version] DEBUG bumping version:2.2.0-dev.11 on axis:pre with prefix:dev [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [bump_version] DEBUG bumped version:2.2.0-dev.12 [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [write_version] DEBUG write version:2.2.0-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,061 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,063 [execute] INFO git cat-file --batch-check [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,070 [execute] INFO git cat-file --batch [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T18:51:32.080Z] 2022-07-12 18:51:32,074 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:32.080Z] 2.2.0-dev.12 [Pipeline] } [2022-07-12T18:51:32.353Z] $ docker exec --env ******** --env ******** e174c0018f9f809936ced3eb79df74e32ae7b7e0a5f2196910724edf1842535c ssh-agent -k [2022-07-12T18:51:32.475Z] unset SSH_AUTH_SOCK; [2022-07-12T18:51:32.475Z] unset SSH_AGENT_PID; [2022-07-12T18:51:32.475Z] echo Agent pid 38 killed; [2022-07-12T18:51:32.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T18:51:32.796Z] + git semver [Pipeline] } [2022-07-12T18:51:33.071Z] $ docker stop --time=1 e174c0018f9f809936ced3eb79df74e32ae7b7e0a5f2196910724edf1842535c [2022-07-12T18:51:34.380Z] $ docker rm -f e174c0018f9f809936ced3eb79df74e32ae7b7e0a5f2196910724edf1842535c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T18:51:34.722Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T18:51:34.722Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:35.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T18:51:35.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:51:35.098Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:51:35.129Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T18:51:35.508Z] $ docker top 4c4ee4882aaa9a317e086c6a70241129a943b146392591dffc27a08f45b130d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T18:51:35.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T18:51:35.593Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T18:51:35.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T18:51:35.710Z] $ docker exec 4c4ee4882aaa9a317e086c6a70241129a943b146392591dffc27a08f45b130d3 ssh-agent [2022-07-12T18:51:35.830Z] SSH_AUTH_SOCK=/tmp/ssh-Cdww1ISrAiaU/agent.32 [2022-07-12T18:51:35.830Z] SSH_AGENT_PID=39 [2022-07-12T18:51:35.835Z] Running ssh-add (command line suppressed) [2022-07-12T18:51:35.962Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8368286875535052323.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8368286875535052323.key) [2022-07-12T18:51:35.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T18:51:36.270Z] + git semver push [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,451 [run_push] DEBUG push [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,452 [execute] INFO git cat-file --batch-check [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,457 [execute] INFO git rev-list 8189439497259103374fde0f306e7c75905bb10c -- [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,457 [execute] DEBUG Popen(['git', 'rev-list', '8189439497259103374fde0f306e7c75905bb10c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,465 [execute] INFO git fetch -v origin [2022-07-12T18:51:36.530Z] 2022-07-12 18:51:36,466 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T18:51:37.100Z] 2022-07-12 18:51:36,927 [run_push] DEBUG no remote changes detected [2022-07-12T18:51:37.100Z] 2022-07-12 18:51:36,927 [execute] INFO git push origin semver [2022-07-12T18:51:37.100Z] 2022-07-12 18:51:36,928 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T18:51:38.041Z] 2022-07-12 18:51:37,737 [run_push] DEBUG push all version tags [2022-07-12T18:51:38.041Z] 2022-07-12 18:51:37,738 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T18:51:38.041Z] 2022-07-12 18:51:37,739 [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) [2022-07-12T18:51:38.614Z] 2022-07-12 18:51:38,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-12T18:51:38.614Z] 2.2.0-dev.12 [Pipeline] } [2022-07-12T18:51:38.626Z] $ docker exec --env ******** --env ******** 4c4ee4882aaa9a317e086c6a70241129a943b146392591dffc27a08f45b130d3 ssh-agent -k [2022-07-12T18:51:38.749Z] unset SSH_AUTH_SOCK; [2022-07-12T18:51:38.749Z] unset SSH_AGENT_PID; [2022-07-12T18:51:38.749Z] echo Agent pid 39 killed; [2022-07-12T18:51:38.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T18:51:39.065Z] + git semver [Pipeline] } [2022-07-12T18:51:39.338Z] $ docker stop --time=1 4c4ee4882aaa9a317e086c6a70241129a943b146392591dffc27a08f45b130d3 [2022-07-12T18:51:40.630Z] $ docker rm -f 4c4ee4882aaa9a317e086c6a70241129a943b146392591dffc27a08f45b130d3 [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 [2022-07-12T18:51:41.111Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-07-12T18:51:41.111Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-12T18:51:41.111Z] total 16 [2022-07-12T18:51:41.111Z] drwxr-xr-x 3 root root 4096 Jul 12 18:47 . [2022-07-12T18:51:41.111Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 18:51 .. [2022-07-12T18:51:41.111Z] drwxr-xr-x 2 root root 4096 Jul 12 18:47 cost [2022-07-12T18:51:41.111Z] -rw-r--r-- 1 root root 82 Jul 12 18:47 cost.csv [2022-07-12T18:51:41.111Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-12T18:51:41.111Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-12T18:51:41.111Z] total 16 [2022-07-12T18:51:41.111Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 18:47 . [2022-07-12T18:51:41.111Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 18:51 .. [2022-07-12T18:51:41.111Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 18:47 cost [2022-07-12T18:51:41.111Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 12 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:41.407Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:42.268Z] ---> package-listing.sh [2022-07-12T18:51:42.268Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T18:51:42.268Z] ++ facter osfamily [2022-07-12T18:51:42.528Z] + OS_FAMILY=debian [2022-07-12T18:51:42.528Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-07-12T18:51:42.528Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T18:51:42.528Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T18:51:42.528Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T18:51:42.528Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T18:51:42.528Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-07-12T18:51:42.528Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T18:51:42.528Z] + case "${OS_FAMILY}" in [2022-07-12T18:51:42.528Z] + dpkg -l [2022-07-12T18:51:42.528Z] + grep '^ii' [2022-07-12T18:51:42.528Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T18:51:42.528Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T18:51:42.528Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T18:51:42.528Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-07-12T18:51:42.528Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-07-12T18:51:42.529Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-07-12T18:51:42.539Z] 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 [2022-07-12T18:51:42.819Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T18:51:43.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T18:51:43.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T18:51:43.467Z] prd-ubuntu20.04-docker-8c-8g-19742 does not seem to be running inside a container [2022-07-12T18:51:43.502Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T18:51:43.775Z] $ docker top f98dd8922b410e45d337050d632d52438c01fb5fd7800f770288e7993bbbb310 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T18:51:44.150Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T18:51:44.443Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T18:51:44.735Z] + ls /var/log/sa-host [2022-07-12T18:51:44.735Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T18:51:44.794Z] provisioning config files... [2022-07-12T18:51:44.803Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7987736614859921436tmp [Pipeline] { [Pipeline] echo [2022-07-12T18:51:44.817Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:45.103Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T18:51:45.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:45.442Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T18:51:45.452Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:45.742Z] ---> sudo-logs.sh [2022-07-12T18:51:45.742Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T18:51:45.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:46.064Z] ---> job-cost.sh [2022-07-12T18:51:46.064Z] lf-activate-venv: SKIPPING [2022-07-12T18:51:46.064Z] DEBUG: total: 0.2199999988079071 [2022-07-12T18:51:46.064Z] INFO: Retrieving Stack Cost... [2022-07-12T18:51:46.325Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T18:51:46.895Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T18:51:46.906Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T18:51:47.191Z] ---> logs-deploy.sh [2022-07-12T18:51:47.191Z] lf-activate-venv: SKIPPING [2022-07-12T18:51:47.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/28 [2022-07-12T18:51:47.191Z] INFO: archiving workspace using pattern(s): [2022-07-12T18:51:48.577Z] Archives upload complete. [2022-07-12T18:51:48.577Z] INFO: archiving logs to Nexus