Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70adbc05d5985df01ef9d9c351b6d02d06141faf 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-ssh8326110076036344414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9083266395870638732.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/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-ssh8356548526868488414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15896852808095316632.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7489581725563681108.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6456 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 70adbc05d5985df01ef9d9c351b6d02d06141faf (main) Commit message: "docs: Add installation instructions for IOT utilities (#450)" > 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 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 > git rev-list --no-walk c501188f4a78ac3dadda58092e8196eb77e7373e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-30T09:44:41.031Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-30T09:44:41.091Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-30T09:44:41.111Z] ========================================================= [2023-03-30T09:44:41.111Z] EdgeX Global Pipelines Version Info [2023-03-30T09:44:41.111Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:44:41.830Z] ------------------- [2023-03-30T09:44:41.831Z] stable info: [2023-03-30T09:44:41.831Z] ------------------- [2023-03-30T09:44:41.831Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-30T09:44:41.831Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-30T09:44:41.831Z] Message: update stable to v1.0.245 [2023-03-30T09:44:42.402Z] ------------------- [2023-03-30T09:44:42.402Z] experimental info: [2023-03-30T09:44:42.402Z] ------------------- [2023-03-30T09:44:42.402Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-30T09:44:42.402Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-30T09:44:42.402Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-30T09:44:42.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-30T09:44:42.571Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-30T09:44:42.585Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-30T09:44:42.594Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-30T09:44:42.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-30T09:44:42.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-30T09:44:42.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-30T09:44:42.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-30T09:44:42.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-30T09:44:42.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-30T09:44:42.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-30T09:44:42.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-30T09:44:42.713Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-30T09:44:42.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-30T09:44:42.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-30T09:44:42.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-30T09:44:42.766Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-30T09:44:42.776Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-30T09:44:42.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-30T09:44:42.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-30T09:44:42.813Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70adbc05d5985df01ef9d9c351b6d02d06141faf [Pipeline] echo [2023-03-30T09:44:42.824Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70adbc0 [Pipeline] echo [2023-03-30T09:44:42.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T09:44:42.884Z] provisioning config files... [2023-03-30T09:44:42.901Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4113459374626723430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:44:43.203Z] ---> docker-login.sh [2023-03-30T09:44:43.203Z] nexus3.edgexfoundry.org:10001 [2023-03-30T09:44:44.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:44:44.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:44:44.407Z] Configure a credential helper to remove this warning. See [2023-03-30T09:44:44.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:44:44.407Z] [2023-03-30T09:44:44.407Z] Login Succeeded [2023-03-30T09:44:44.407Z] nexus3.edgexfoundry.org:10002 [2023-03-30T09:44:44.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:44:44.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:44:44.668Z] Configure a credential helper to remove this warning. See [2023-03-30T09:44:44.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:44:44.668Z] [2023-03-30T09:44:44.668Z] Login Succeeded [2023-03-30T09:44:44.668Z] nexus3.edgexfoundry.org:10003 [2023-03-30T09:44:44.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:44:44.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:44:44.668Z] Configure a credential helper to remove this warning. See [2023-03-30T09:44:44.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:44:44.668Z] [2023-03-30T09:44:44.668Z] Login Succeeded [2023-03-30T09:44:44.668Z] nexus3.edgexfoundry.org:10004 [2023-03-30T09:44:44.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:44:44.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:44:44.929Z] Configure a credential helper to remove this warning. See [2023-03-30T09:44:44.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:44:44.929Z] [2023-03-30T09:44:44.929Z] Login Succeeded [2023-03-30T09:44:44.929Z] docker.io [2023-03-30T09:44:44.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:44:45.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:44:45.190Z] Configure a credential helper to remove this warning. See [2023-03-30T09:44:45.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:44:45.190Z] [2023-03-30T09:44:45.190Z] Login Succeeded [2023-03-30T09:44:45.190Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T09:44:45.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-03-30T09:44:45.604Z] + git rev-list -1 --merges 70adbc05d5985df01ef9d9c351b6d02d06141faf~1..70adbc05d5985df01ef9d9c351b6d02d06141faf [Pipeline] echo [2023-03-30T09:44:45.696Z] -----------> git rev-list -1 --merges 70adbc05d5985df01ef9d9c351b6d02d06141faf~1..70adbc05d5985df01ef9d9c351b6d02d06141faf 70adbc05d5985df01ef9d9c351b6d02d06141faf [false] [Pipeline] sh [2023-03-30T09:44:45.984Z] + git log --format=format:%s -1 70adbc05d5985df01ef9d9c351b6d02d06141faf [Pipeline] echo [2023-03-30T09:44:46.000Z] ========================================================= [2023-03-30T09:44:46.000Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-30T09:44:46.000Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-30T09:44:46.367Z] + git rev-list -1 --merges 70adbc05d5985df01ef9d9c351b6d02d06141faf~1..70adbc05d5985df01ef9d9c351b6d02d06141faf [Pipeline] echo [2023-03-30T09:44:46.377Z] -----------> git rev-list -1 --merges 70adbc05d5985df01ef9d9c351b6d02d06141faf~1..70adbc05d5985df01ef9d9c351b6d02d06141faf 70adbc05d5985df01ef9d9c351b6d02d06141faf [false] [Pipeline] sh [2023-03-30T09:44:46.670Z] + git log --format=format:%s -1 70adbc05d5985df01ef9d9c351b6d02d06141faf [Pipeline] echo [2023-03-30T09:44:46.684Z] ========================================================= [2023-03-30T09:44:46.684Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-30T09:44:46.684Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-30T09:44:47.121Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-30T09:44:47.121Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-30T09:44:47.121Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-30T09:44:47.121Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-30T09:44:47.121Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-30T09:44:47.121Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-30T09:44:47.121Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:44:47.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:44:47.538Z] [2023-03-30T09:44:47.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:44:47.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:44:48.105Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-30T09:44:48.105Z] b85a868b505f: Pulling fs layer [2023-03-30T09:44:48.105Z] e2be974225ed: Pulling fs layer [2023-03-30T09:44:48.105Z] 339a4e72a1f5: Pulling fs layer [2023-03-30T09:44:48.105Z] 988bab9f4d93: Pulling fs layer [2023-03-30T09:44:48.105Z] 1469e6f7b9e6: Pulling fs layer [2023-03-30T09:44:48.105Z] eaf3925da568: Pulling fs layer [2023-03-30T09:44:48.105Z] bab4dde63d76: Pulling fs layer [2023-03-30T09:44:48.105Z] bde34c3a00c8: Pulling fs layer [2023-03-30T09:44:48.105Z] b352a97aabf1: Pulling fs layer [2023-03-30T09:44:48.105Z] 4872d77fe225: Pulling fs layer [2023-03-30T09:44:48.105Z] 5851b861e8e6: Pulling fs layer [2023-03-30T09:44:48.106Z] 4872d77fe225: Waiting [2023-03-30T09:44:48.106Z] b352a97aabf1: Waiting [2023-03-30T09:44:48.106Z] eaf3925da568: Waiting [2023-03-30T09:44:48.106Z] bab4dde63d76: Waiting [2023-03-30T09:44:48.106Z] bde34c3a00c8: Waiting [2023-03-30T09:44:48.106Z] 5851b861e8e6: Waiting [2023-03-30T09:44:48.106Z] 988bab9f4d93: Waiting [2023-03-30T09:44:48.106Z] e2be974225ed: Verifying Checksum [2023-03-30T09:44:48.106Z] e2be974225ed: Download complete [2023-03-30T09:44:48.106Z] 988bab9f4d93: Verifying Checksum [2023-03-30T09:44:48.106Z] 988bab9f4d93: Download complete [2023-03-30T09:44:48.106Z] 1469e6f7b9e6: Verifying Checksum [2023-03-30T09:44:48.106Z] 1469e6f7b9e6: Download complete [2023-03-30T09:44:48.106Z] eaf3925da568: Verifying Checksum [2023-03-30T09:44:48.106Z] eaf3925da568: Download complete [2023-03-30T09:44:48.106Z] 339a4e72a1f5: Verifying Checksum [2023-03-30T09:44:48.106Z] 339a4e72a1f5: Download complete [2023-03-30T09:44:48.106Z] bde34c3a00c8: Download complete [2023-03-30T09:44:48.366Z] b352a97aabf1: Verifying Checksum [2023-03-30T09:44:48.366Z] b352a97aabf1: Download complete [2023-03-30T09:44:48.366Z] 4872d77fe225: Verifying Checksum [2023-03-30T09:44:48.366Z] 4872d77fe225: Download complete [2023-03-30T09:44:48.366Z] 5851b861e8e6: Download complete [2023-03-30T09:44:48.366Z] b85a868b505f: Verifying Checksum [2023-03-30T09:44:48.366Z] b85a868b505f: Download complete [2023-03-30T09:44:48.625Z] bab4dde63d76: Verifying Checksum [2023-03-30T09:44:48.625Z] bab4dde63d76: Download complete [2023-03-30T09:44:49.999Z] b85a868b505f: Pull complete [2023-03-30T09:44:49.999Z] e2be974225ed: Pull complete [2023-03-30T09:44:50.568Z] 339a4e72a1f5: Pull complete [2023-03-30T09:44:50.568Z] 988bab9f4d93: Pull complete [2023-03-30T09:44:51.155Z] 1469e6f7b9e6: Pull complete [2023-03-30T09:44:51.155Z] eaf3925da568: Pull complete [2023-03-30T09:44:53.082Z] bab4dde63d76: Pull complete [2023-03-30T09:44:53.082Z] bde34c3a00c8: Pull complete [2023-03-30T09:44:53.082Z] b352a97aabf1: Pull complete [2023-03-30T09:44:53.082Z] 4872d77fe225: Pull complete [2023-03-30T09:44:53.082Z] 5851b861e8e6: Pull complete [2023-03-30T09:44:53.082Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-30T09:44:53.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:44:53.082Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:44:53.179Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:44:53.204Z] $ 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 [2023-03-30T09:44:56.155Z] $ docker top 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 -eo pid,comm [2023-03-30T09:44:56.223Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-30T09:44:56.223Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-30T09:44:56.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T09:44:56.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T09:44:56.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T09:44:56.376Z] $ docker exec 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 ssh-agent [2023-03-30T09:44:56.493Z] SSH_AUTH_SOCK=/tmp/ssh-8D2SgxoFHxMj/agent.31 [2023-03-30T09:44:56.493Z] SSH_AGENT_PID=37 [2023-03-30T09:44:56.499Z] Running ssh-add (command line suppressed) [2023-03-30T09:44:56.591Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_121248355174947860.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_121248355174947860.key) [2023-03-30T09:44:56.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T09:44:56.899Z] + git tag --points-at HEAD [Pipeline] } [2023-03-30T09:44:56.904Z] $ docker exec --env ******** --env ******** 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 ssh-agent -k [2023-03-30T09:44:56.991Z] unset SSH_AUTH_SOCK; [2023-03-30T09:44:56.991Z] unset SSH_AGENT_PID; [2023-03-30T09:44:56.991Z] echo Agent pid 37 killed; [2023-03-30T09:44:57.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-30T09:44:57.033Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T09:44:57.033Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T09:44:57.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T09:44:57.144Z] $ docker exec 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 ssh-agent [2023-03-30T09:44:57.277Z] SSH_AUTH_SOCK=/tmp/ssh-vo97wgsdfMcW/agent.69 [2023-03-30T09:44:57.277Z] SSH_AGENT_PID=75 [2023-03-30T09:44:57.282Z] Running ssh-add (command line suppressed) [2023-03-30T09:44:57.388Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13055707141880561512.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13055707141880561512.key) [2023-03-30T09:44:57.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T09:44:57.718Z] + git semver init [2023-03-30T09:44:57.977Z] 2023-03-30 09:44:57,884 [run_init] DEBUG init version:0.0.0 force:False [2023-03-30T09:44:57.977Z] 2023-03-30 09:44:57,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-03-30T09:44:57.977Z] 2023-03-30 09:44:57,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-03-30T09:44:57.977Z] 2023-03-30 09:44:57,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-03-30T09:44:58.917Z] 2023-03-30 09:44:58,875 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-03-30T09:44:58.917Z] 2023-03-30 09:44:58,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-03-30T09:44:58.917Z] 2023-03-30 09:44:58,875 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:44:58.917Z] 2023-03-30 09:44:58,876 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:44:58.917Z] 2.3.1-dev.7 [Pipeline] } [2023-03-30T09:44:58.923Z] $ docker exec --env ******** --env ******** 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 ssh-agent -k [2023-03-30T09:44:59.018Z] unset SSH_AUTH_SOCK; [2023-03-30T09:44:59.019Z] unset SSH_AGENT_PID; [2023-03-30T09:44:59.019Z] echo Agent pid 75 killed; [2023-03-30T09:44:59.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-30T09:44:59.335Z] + git semver [Pipeline] } [2023-03-30T09:44:59.604Z] $ docker stop --time=1 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 [2023-03-30T09:45:00.907Z] $ docker rm -f --volumes 08046eb8c0d945c9933e16f954285aa6434540363be9c5a33f4931394d261fb2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-30T09:45:01.250Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-30T09:45:01.440Z] Stashed 1 file(s) [Pipeline] echo [2023-03-30T09:45:01.442Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.7 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T09:45:01.563Z] provisioning config files... [2023-03-30T09:45:01.570Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15120971833806423873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:45:01.858Z] ---> docker-login.sh [2023-03-30T09:45:01.858Z] nexus3.edgexfoundry.org:10001 [2023-03-30T09:45:01.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:45:01.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:45:01.858Z] Configure a credential helper to remove this warning. See [2023-03-30T09:45:01.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:45:01.858Z] [2023-03-30T09:45:01.858Z] Login Succeeded [2023-03-30T09:45:01.858Z] nexus3.edgexfoundry.org:10002 [2023-03-30T09:45:01.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:45:01.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:45:01.858Z] Configure a credential helper to remove this warning. See [2023-03-30T09:45:01.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:45:01.858Z] [2023-03-30T09:45:01.858Z] Login Succeeded [2023-03-30T09:45:01.858Z] nexus3.edgexfoundry.org:10003 [2023-03-30T09:45:02.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:45:02.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:45:02.116Z] Configure a credential helper to remove this warning. See [2023-03-30T09:45:02.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:45:02.116Z] [2023-03-30T09:45:02.116Z] Login Succeeded [2023-03-30T09:45:02.116Z] nexus3.edgexfoundry.org:10004 [2023-03-30T09:45:02.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:45:02.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:45:02.116Z] Configure a credential helper to remove this warning. See [2023-03-30T09:45:02.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:45:02.116Z] [2023-03-30T09:45:02.116Z] Login Succeeded [2023-03-30T09:45:02.116Z] docker.io [2023-03-30T09:45:02.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:45:03.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:45:03.759Z] Configure a credential helper to remove this warning. See [2023-03-30T09:45:03.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:45:03.759Z] [2023-03-30T09:45:03.759Z] Login Succeeded [2023-03-30T09:45:03.759Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T09:45:03.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-30T09:45:03.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T09:45:03.823Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-30T09:45:03.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T09:45:03.835Z] ========================================================= [2023-03-30T09:45:03.835Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-30T09:45:03.835Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:45:04.131Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-03-30T09:45:04.131Z] Sending build context to Docker daemon 4.792MB [2023-03-30T09:45:04.131Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-30T09:45:04.132Z] Step 2/21 : FROM ${BASE} as builder [2023-03-30T09:45:04.132Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-30T09:45:04.132Z] 213ec9aee27d: Pulling fs layer [2023-03-30T09:45:04.132Z] 0f09ad1b1b37: Pulling fs layer [2023-03-30T09:45:04.391Z] 213ec9aee27d: Verifying Checksum [2023-03-30T09:45:04.391Z] 213ec9aee27d: Download complete [2023-03-30T09:45:04.391Z] 213ec9aee27d: Pull complete [2023-03-30T09:45:04.964Z] 0f09ad1b1b37: Verifying Checksum [2023-03-30T09:45:04.964Z] 0f09ad1b1b37: Download complete [2023-03-30T09:45:07.492Z] 0f09ad1b1b37: Pull complete [2023-03-30T09:45:07.492Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-30T09:45:07.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-30T09:45:07.492Z] ---> b2bbfebb3566 [2023-03-30T09:45:07.492Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:45:10.101Z] ---> Running in af393b74ac3a [2023-03-30T09:45:10.101Z] Connecting to iotech.jfrog.io (34.242.68.156:443) [2023-03-30T09:45:10.361Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:45:10.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:45:10.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:45:10.622Z] Removing intermediate container af393b74ac3a [2023-03-30T09:45:10.622Z] ---> 166b32c8a4cf [2023-03-30T09:45:10.622Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:45:10.622Z] ---> Running in 28516ab4d8c1 [2023-03-30T09:45:11.561Z] Removing intermediate container 28516ab4d8c1 [2023-03-30T09:45:11.561Z] ---> 897a76793858 [2023-03-30T09:45:11.561Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-30T09:45:11.561Z] ---> Running in 7143e441d0fb [2023-03-30T09:45:11.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:11.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:11.822Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:12.390Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:45:12.390Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-30T09:45:12.390Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-30T09:45:12.390Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T09:45:13.329Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T09:45:13.329Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-30T09:45:13.589Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-30T09:45:13.589Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T09:45:13.589Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T09:45:14.526Z] (9/14) Installing libblkid (2.38-r1) [2023-03-30T09:45:14.526Z] (10/14) Installing libuuid (2.38-r1) [2023-03-30T09:45:14.526Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-30T09:45:14.526Z] (12/14) Installing libmount (2.38-r1) [2023-03-30T09:45:14.526Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-30T09:45:14.526Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-30T09:45:14.526Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:45:14.526Z] OK: 280 MiB in 90 packages [2023-03-30T09:45:15.093Z] Removing intermediate container 7143e441d0fb [2023-03-30T09:45:15.093Z] ---> ae91aeb16c06 [2023-03-30T09:45:15.093Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-30T09:45:15.093Z] ---> Running in 6d8b2d3f4ed2 [2023-03-30T09:45:15.661Z] Removing intermediate container 6d8b2d3f4ed2 [2023-03-30T09:45:15.661Z] ---> 4093f331dbdb [2023-03-30T09:45:15.661Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-30T09:45:15.925Z] ---> b130e757ccd6 [2023-03-30T09:45:15.925Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-30T09:45:15.925Z] ---> a25012e12cbe [2023-03-30T09:45:15.925Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-30T09:45:16.184Z] ---> 4928840ab709 [2023-03-30T09:45:16.185Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-30T09:45:16.185Z] ---> 188a536828cf [2023-03-30T09:45:16.185Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-30T09:45:16.445Z] ---> 81205f3da729 [2023-03-30T09:45:16.445Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-30T09:45:16.445Z] ---> fb5b13b538dd [2023-03-30T09:45:16.445Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-30T09:45:16.445Z] ---> Running in bdb7a88dc52e [2023-03-30T09:45:16.521Z] Still waiting to schedule task [2023-03-30T09:45:16.521Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-30T09:45:16.706Z] + CPPCHECK=false [2023-03-30T09:45:16.706Z] + DOCGEN=false [2023-03-30T09:45:16.706Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-30T09:45:16.706Z] + TOMLVER=SDK-0.2 [2023-03-30T09:45:16.706Z] + CUTILVER=1.4 [2023-03-30T09:45:16.706Z] + '[' 0 -gt 0 ] [2023-03-30T09:45:16.706Z] + readlink -f ./scripts/build.sh [2023-03-30T09:45:16.706Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-30T09:45:16.706Z] + dirname /tmp/sdk/scripts [2023-03-30T09:45:16.706Z] + ROOT=/tmp/sdk [2023-03-30T09:45:16.706Z] + cd /tmp/sdk [2023-03-30T09:45:16.706Z] + '[' '!' -d deps ] [2023-03-30T09:45:16.706Z] + mkdir deps [2023-03-30T09:45:16.706Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-30T09:45:16.706Z] + tar -C deps -z -x -f - [2023-03-30T09:45:16.966Z] Connecting to github.com (140.82.114.4:443) [2023-03-30T09:45:16.966Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-03-30T09:45:17.229Z] writing to stdout [2023-03-30T09:45:17.229Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-30T09:45:17.229Z] written to stdout [2023-03-30T09:45:17.229Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-30T09:45:17.229Z] + mkdir -p /tmp/sdk/build/release [2023-03-30T09:45:17.229Z] + cd /tmp/sdk/build/release [2023-03-30T09:45:17.229Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-30T09:45:17.229Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T09:45:17.229Z] -- Detecting C compiler ABI info [2023-03-30T09:45:17.229Z] -- Detecting C compiler ABI info - done [2023-03-30T09:45:17.229Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T09:45:17.229Z] -- Detecting C compile features [2023-03-30T09:45:17.229Z] -- Detecting C compile features - done [2023-03-30T09:45:17.229Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T09:45:17.488Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T09:45:17.488Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T09:45:17.488Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T09:45:17.488Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T09:45:17.488Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T09:45:17.488Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T09:45:17.488Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T09:45:17.488Z] -- /opt/iotech/iot/1.5/include [2023-03-30T09:45:17.488Z] -- C SDK 2.3.1-dev.7 for Linux [2023-03-30T09:45:17.488Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T09:45:17.488Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T09:45:17.488Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T09:45:17.488Z] -- Configuring done [2023-03-30T09:45:17.488Z] -- Generating done [2023-03-30T09:45:17.488Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-30T09:45:17.488Z] + make all package [2023-03-30T09:45:17.488Z] + tee release.log [2023-03-30T09:45:17.488Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T09:45:17.747Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-30T09:45:18.006Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-30T09:45:18.007Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-30T09:45:18.265Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-30T09:45:18.265Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-30T09:45:18.834Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-30T09:45:18.834Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-30T09:45:19.094Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-30T09:45:19.095Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-30T09:45:19.662Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-30T09:45:19.662Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-30T09:45:19.662Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-30T09:45:19.924Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-30T09:45:19.924Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-30T09:45:20.184Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-30T09:45:20.755Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-30T09:45:20.755Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-30T09:45:20.755Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-30T09:45:21.015Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-30T09:45:21.954Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-30T09:45:21.954Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-30T09:45:22.213Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-30T09:45:22.213Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-30T09:45:22.213Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-30T09:45:22.472Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-30T09:45:23.042Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-30T09:45:23.042Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-30T09:45:23.302Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-30T09:45:23.302Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-30T09:45:23.871Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-30T09:45:24.445Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-30T09:45:24.705Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-30T09:45:24.705Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-30T09:45:24.966Z] [ 68%] Linking C shared library libcsdk.so [2023-03-30T09:45:24.966Z] [ 68%] Built target csdk [2023-03-30T09:45:24.966Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-30T09:45:25.225Z] [ 72%] Linking C executable template [2023-03-30T09:45:25.225Z] [ 72%] Built target template [2023-03-30T09:45:25.225Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-30T09:45:25.225Z] [ 76%] Linking C executable device-counter [2023-03-30T09:45:25.674Z] [ 76%] Built target device-counter [2023-03-30T09:45:25.674Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-30T09:45:25.674Z] [ 80%] Linking C executable device-random [2023-03-30T09:45:25.674Z] [ 80%] Built target device-random [2023-03-30T09:45:25.674Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-30T09:45:25.674Z] [ 84%] Linking C executable device-gyro [2023-03-30T09:45:25.674Z] [ 84%] Built target device-gyro [2023-03-30T09:45:25.674Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-30T09:45:25.979Z] [ 88%] Linking C executable device-bitfields [2023-03-30T09:45:25.979Z] [ 88%] Built target device-bitfields [2023-03-30T09:45:25.979Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-30T09:45:25.979Z] [ 92%] Linking C executable template-discovery [2023-03-30T09:45:26.879Z] [ 92%] Built target template-discovery [2023-03-30T09:45:26.879Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-30T09:45:26.879Z] [ 96%] Linking C executable device-file [2023-03-30T09:45:26.879Z] [ 96%] Built target device-file [2023-03-30T09:45:26.879Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-30T09:45:26.879Z] [100%] Linking C executable device-terminal [2023-03-30T09:45:26.879Z] [100%] Built target device-terminal [2023-03-30T09:45:26.879Z] Run CPack packaging tool... [2023-03-30T09:45:26.879Z] CPack: Create package using TGZ [2023-03-30T09:45:26.879Z] CPack: Install projects [2023-03-30T09:45:26.879Z] CPack: - Run preinstall target for: Csdk [2023-03-30T09:45:27.138Z] CPack: - Install project: Csdk [] [2023-03-30T09:45:27.138Z] CPack: Create package [2023-03-30T09:45:27.138Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.7.tar.gz generated. [2023-03-30T09:45:27.138Z] + '[' false '=' true ] [2023-03-30T09:45:27.138Z] + '[' false '=' true ] [2023-03-30T09:45:27.138Z] + mkdir -p /tmp/sdk/build/debug [2023-03-30T09:45:27.138Z] + cd /tmp/sdk/build/debug [2023-03-30T09:45:27.138Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-30T09:45:27.138Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T09:45:27.138Z] -- Detecting C compiler ABI info [2023-03-30T09:45:27.138Z] -- Detecting C compiler ABI info - done [2023-03-30T09:45:27.138Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T09:45:27.138Z] -- Detecting C compile features [2023-03-30T09:45:27.138Z] -- Detecting C compile features - done [2023-03-30T09:45:27.138Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T09:45:27.138Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T09:45:27.397Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T09:45:27.397Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T09:45:27.397Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T09:45:27.397Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T09:45:27.397Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T09:45:27.397Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T09:45:27.397Z] -- /opt/iotech/iot/1.5/include [2023-03-30T09:45:27.397Z] -- C SDK 2.3.1-dev.7 for Linux [2023-03-30T09:45:27.397Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T09:45:27.397Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T09:45:27.397Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T09:45:27.397Z] -- Configuring done [2023-03-30T09:45:27.397Z] -- Generating done [2023-03-30T09:45:27.397Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-30T09:45:27.397Z] + make [2023-03-30T09:45:27.397Z] + tee debug.log [2023-03-30T09:45:27.397Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T09:45:27.656Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-30T09:45:27.657Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-30T09:45:27.657Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-30T09:45:27.915Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-30T09:45:27.915Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-30T09:45:28.174Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-30T09:45:28.174Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-30T09:45:28.174Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-30T09:45:28.174Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-30T09:45:28.433Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-30T09:45:28.433Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-30T09:45:28.692Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-30T09:45:28.692Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-30T09:45:28.692Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-30T09:45:28.692Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-30T09:45:28.951Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-30T09:45:28.951Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-30T09:45:28.951Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-30T09:45:29.209Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-30T09:45:29.467Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-30T09:45:29.467Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-30T09:45:29.467Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-30T09:45:29.726Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-30T09:45:29.726Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-30T09:45:29.726Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-30T09:45:29.984Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-30T09:45:29.984Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-30T09:45:30.242Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-30T09:45:30.242Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-30T09:45:30.501Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-30T09:45:30.501Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-30T09:45:30.759Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-30T09:45:30.759Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-30T09:45:30.759Z] [ 68%] Linking C shared library libcsdk.so [2023-03-30T09:45:30.759Z] [ 68%] Built target csdk [2023-03-30T09:45:30.759Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-30T09:45:31.018Z] [ 72%] Linking C executable template [2023-03-30T09:45:31.018Z] [ 72%] Built target template [2023-03-30T09:45:31.018Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-30T09:45:31.018Z] [ 76%] Linking C executable device-counter [2023-03-30T09:45:31.277Z] [ 76%] Built target device-counter [2023-03-30T09:45:31.277Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-30T09:45:31.277Z] [ 80%] Linking C executable device-random [2023-03-30T09:45:31.277Z] [ 80%] Built target device-random [2023-03-30T09:45:31.277Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-30T09:45:31.277Z] [ 84%] Linking C executable device-gyro [2023-03-30T09:45:31.535Z] [ 84%] Built target device-gyro [2023-03-30T09:45:31.535Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-30T09:45:31.535Z] [ 88%] Linking C executable device-bitfields [2023-03-30T09:45:31.536Z] [ 88%] Built target device-bitfields [2023-03-30T09:45:31.536Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-30T09:45:31.795Z] [ 92%] Linking C executable template-discovery [2023-03-30T09:45:31.795Z] [ 92%] Built target template-discovery [2023-03-30T09:45:31.795Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-30T09:45:31.795Z] [ 96%] Linking C executable device-file [2023-03-30T09:45:31.795Z] [ 96%] Built target device-file [2023-03-30T09:45:32.054Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-30T09:45:32.054Z] [100%] Linking C executable device-terminal [2023-03-30T09:45:32.054Z] [100%] Built target device-terminal [2023-03-30T09:45:32.054Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.054Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.054Z] [ 68%] Built target csdk [2023-03-30T09:45:32.054Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.054Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 72%] Built target template [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 76%] Built target device-counter [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 80%] Built target device-random [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 84%] Built target device-gyro [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 88%] Built target device-bitfields [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 92%] Built target template-discovery [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [ 96%] Built target device-file [2023-03-30T09:45:32.315Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] [100%] Built target device-terminal [2023-03-30T09:45:32.315Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:32.315Z] Install the project... [2023-03-30T09:45:32.315Z] -- Install configuration: "Release" [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-30T09:45:32.315Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/devsdk [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-30T09:45:32.315Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-30T09:45:32.315Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:45:33.255Z] Removing intermediate container bdb7a88dc52e [2023-03-30T09:45:33.255Z] ---> 3b385d40aa6f [2023-03-30T09:45:33.255Z] Step 14/21 : FROM ${BASE} [2023-03-30T09:45:33.255Z] ---> b2bbfebb3566 [2023-03-30T09:45:33.255Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-30T09:45:33.255Z] ---> Running in 1559ff22fdae [2023-03-30T09:45:33.255Z] Removing intermediate container 1559ff22fdae [2023-03-30T09:45:33.255Z] ---> 408d3fe59b09 [2023-03-30T09:45:33.255Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:45:33.255Z] ---> Running in 88a189a3bc67 [2023-03-30T09:45:33.515Z] Connecting to iotech.jfrog.io (52.212.188.248:443) [2023-03-30T09:45:33.773Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:45:33.773Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:45:33.773Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:45:34.033Z] Removing intermediate container 88a189a3bc67 [2023-03-30T09:45:34.033Z] ---> dce6819ab97a [2023-03-30T09:45:34.033Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:45:34.033Z] ---> Running in 178eb07ac969 [2023-03-30T09:45:34.601Z] Removing intermediate container 178eb07ac969 [2023-03-30T09:45:34.601Z] ---> 2066d8568452 [2023-03-30T09:45:34.601Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-03-30T09:45:34.601Z] ---> Running in 1de196cb17ee [2023-03-30T09:45:35.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:35.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:35.428Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:35.689Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:45:35.948Z] (1/7) Installing curl (7.83.1-r6) [2023-03-30T09:45:35.948Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-30T09:45:35.948Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-30T09:45:35.948Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-30T09:45:36.516Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-30T09:45:36.516Z] (6/7) Installing libuuid (2.38-r1) [2023-03-30T09:45:36.516Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T09:45:37.453Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:45:37.453Z] OK: 275 MiB in 83 packages [2023-03-30T09:45:37.711Z] Removing intermediate container 1de196cb17ee [2023-03-30T09:45:37.711Z] ---> c8e968743dda [2023-03-30T09:45:37.711Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-30T09:45:37.711Z] ---> c1bd33b2c7c5 [2023-03-30T09:45:37.711Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-30T09:45:37.969Z] ---> 93932b56e172 [2023-03-30T09:45:37.969Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-30T09:45:37.969Z] ---> 85f6d9366d43 [2023-03-30T09:45:37.969Z] Successfully built 85f6d9366d43 [2023-03-30T09:45:37.969Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:45:38.342Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-30T09:45:38.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:45:38.406Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:45:38.445Z] $ 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 [2023-03-30T09:45:38.782Z] $ docker top 309beb98a3b1a80ac0b64f67dad8c88d23716d8d0d5e74e1128d1fd485342469 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-30T09:45:39.127Z] + make test [2023-03-30T09:45:39.127Z] echo "make test" [2023-03-30T09:45:39.127Z] make test [Pipeline] } [2023-03-30T09:45:39.147Z] $ docker stop --time=1 309beb98a3b1a80ac0b64f67dad8c88d23716d8d0d5e74e1128d1fd485342469 [2023-03-30T09:45:40.448Z] $ docker rm -f --volumes 309beb98a3b1a80ac0b64f67dad8c88d23716d8d0d5e74e1128d1fd485342469 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-30T09:45:41.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-30T09:45:41.337Z] + ls -al . [2023-03-30T09:45:41.337Z] total 212 [2023-03-30T09:45:41.337Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 30 09:44 . [2023-03-30T09:45:41.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:44 .. [2023-03-30T09:45:41.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 09:44 .git [2023-03-30T09:45:41.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:44 .github [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 30 09:44 .gitignore [2023-03-30T09:45:41.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 09:44 .semver [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 30 09:44 Attribution.txt [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 30 09:44 CHANGES [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 30 09:44 Doxyfile [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 09:44 GOVERNANCE.md [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 30 09:44 Jenkinsfile [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 30 09:44 LICENSE [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 30 09:44 Makefile [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 30 09:44 OWNERS.md [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 30 09:44 README.IOT.md [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 30 09:44 README.md [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 30 09:44 README.v3.md [2023-03-30T09:45:41.337Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 30 09:45 VERSION [2023-03-30T09:45:41.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:44 docs [2023-03-30T09:45:41.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:44 include [2023-03-30T09:45:41.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:44 scripts [2023-03-30T09:45:41.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:45:41.647Z] + 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=70adbc05d5985df01ef9d9c351b6d02d06141faf --label arch=amd64 --label version=2.3.1-dev.7 . [2023-03-30T09:45:41.647Z] Sending build context to Docker daemon 4.792MB [2023-03-30T09:45:41.647Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-30T09:45:41.647Z] Step 2/17 : FROM ${BASE} [2023-03-30T09:45:41.647Z] ---> 85f6d9366d43 [2023-03-30T09:45:41.647Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-30T09:45:41.906Z] ---> Running in f1315e3a07bf [2023-03-30T09:45:41.906Z] Removing intermediate container f1315e3a07bf [2023-03-30T09:45:41.906Z] ---> 87efb9535b70 [2023-03-30T09:45:41.906Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:45:41.906Z] ---> Running in c9d707eb40fc [2023-03-30T09:45:42.167Z] Connecting to iotech.jfrog.io (34.242.55.152:443) [2023-03-30T09:45:42.737Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:45:42.737Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:45:42.737Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:45:42.996Z] Removing intermediate container c9d707eb40fc [2023-03-30T09:45:42.996Z] ---> 3d056490939d [2023-03-30T09:45:42.996Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:45:42.996Z] ---> Running in c95fc2d4e0ad [2023-03-30T09:45:43.565Z] Removing intermediate container c95fc2d4e0ad [2023-03-30T09:45:43.565Z] ---> c7e45d1fabe1 [2023-03-30T09:45:43.565Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-30T09:45:43.565Z] ---> Running in ff23e34e7891 [2023-03-30T09:45:43.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:43.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:44.085Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-30T09:45:44.345Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:45:44.345Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T09:45:44.912Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T09:45:44.912Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-30T09:45:44.912Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T09:45:44.912Z] (5/9) Installing libblkid (2.38-r1) [2023-03-30T09:45:44.912Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-30T09:45:44.912Z] (7/9) Installing libmount (2.38-r1) [2023-03-30T09:45:44.912Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-30T09:45:44.912Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-30T09:45:44.912Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:45:44.912Z] OK: 281 MiB in 92 packages [2023-03-30T09:45:45.481Z] Removing intermediate container ff23e34e7891 [2023-03-30T09:45:45.481Z] ---> 3e5361fd403a [2023-03-30T09:45:45.481Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-30T09:45:45.741Z] ---> 16a109d07aff [2023-03-30T09:45:45.741Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-30T09:45:45.742Z] ---> deaa4bc2c8d7 [2023-03-30T09:45:45.742Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-30T09:45:45.999Z] ---> b95c80ab5194 [2023-03-30T09:45:45.999Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-30T09:45:45.999Z] ---> 8500a3034043 [2023-03-30T09:45:45.999Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-30T09:45:46.259Z] ---> a035af1f1e06 [2023-03-30T09:45:46.259Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-30T09:45:46.259Z] ---> 49ea679b6f2b [2023-03-30T09:45:46.259Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-30T09:45:46.259Z] ---> Running in bdcd6a577126 [2023-03-30T09:45:46.259Z] Removing intermediate container bdcd6a577126 [2023-03-30T09:45:46.259Z] ---> 57f9acd212db [2023-03-30T09:45:46.259Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-30T09:45:46.518Z] ---> Running in 6602f3da1ae7 [2023-03-30T09:45:46.518Z] Removing intermediate container 6602f3da1ae7 [2023-03-30T09:45:46.518Z] ---> 734f786fcde3 [2023-03-30T09:45:46.518Z] Step 15/17 : LABEL arch=amd64 [2023-03-30T09:45:46.518Z] ---> Running in 7cc210656902 [2023-03-30T09:45:46.519Z] Removing intermediate container 7cc210656902 [2023-03-30T09:45:46.519Z] ---> fead1802f632 [2023-03-30T09:45:46.519Z] Step 16/17 : LABEL git_sha=70adbc05d5985df01ef9d9c351b6d02d06141faf [2023-03-30T09:45:46.519Z] ---> Running in 1e39c969e028 [2023-03-30T09:45:46.519Z] Removing intermediate container 1e39c969e028 [2023-03-30T09:45:46.519Z] ---> f36bbecb8657 [2023-03-30T09:45:46.519Z] Step 17/17 : LABEL version=2.3.1-dev.7 [2023-03-30T09:45:46.519Z] ---> Running in 166cca140166 [2023-03-30T09:45:46.777Z] Removing intermediate container 166cca140166 [2023-03-30T09:45:46.777Z] ---> c7504d3f2902 [2023-03-30T09:45:46.777Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-30T09:45:46.777Z] Successfully built c7504d3f2902 [2023-03-30T09:45:46.777Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:45:47.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T09:45:47.220Z] [2023-03-30T09:45:47.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:45:47.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T09:45:47.524Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-30T09:45:47.524Z] 5eb5b503b376: Pulling fs layer [2023-03-30T09:45:47.524Z] 5c69ac0246d0: Pulling fs layer [2023-03-30T09:45:47.524Z] ec43610c2a17: Pulling fs layer [2023-03-30T09:45:47.524Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-30T09:45:47.524Z] 33b1e0a273af: Pulling fs layer [2023-03-30T09:45:47.524Z] 5d3b04190fa2: Pulling fs layer [2023-03-30T09:45:47.524Z] 2f39f015ded8: Pulling fs layer [2023-03-30T09:45:47.524Z] 3a2ae6a8a46f: Waiting [2023-03-30T09:45:47.524Z] 33b1e0a273af: Waiting [2023-03-30T09:45:47.524Z] 5d3b04190fa2: Waiting [2023-03-30T09:45:47.524Z] 2f39f015ded8: Waiting [2023-03-30T09:45:47.524Z] 5c69ac0246d0: Download complete [2023-03-30T09:45:47.524Z] 3a2ae6a8a46f: Download complete [2023-03-30T09:45:47.524Z] 33b1e0a273af: Verifying Checksum [2023-03-30T09:45:47.524Z] 33b1e0a273af: Download complete [2023-03-30T09:45:47.524Z] ec43610c2a17: Verifying Checksum [2023-03-30T09:45:47.524Z] ec43610c2a17: Download complete [2023-03-30T09:45:47.524Z] 5d3b04190fa2: Download complete [2023-03-30T09:45:47.796Z] 5eb5b503b376: Verifying Checksum [2023-03-30T09:45:47.796Z] 5eb5b503b376: Download complete [2023-03-30T09:45:48.364Z] 2f39f015ded8: Download complete [2023-03-30T09:45:48.929Z] 5eb5b503b376: Pull complete [2023-03-30T09:45:48.929Z] 5c69ac0246d0: Pull complete [2023-03-30T09:45:49.498Z] ec43610c2a17: Pull complete [2023-03-30T09:45:49.498Z] 3a2ae6a8a46f: Pull complete [2023-03-30T09:45:49.498Z] 33b1e0a273af: Pull complete [2023-03-30T09:45:49.757Z] 5d3b04190fa2: Pull complete [2023-03-30T09:45:53.946Z] 2f39f015ded8: Pull complete [2023-03-30T09:45:53.946Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-30T09:45:53.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T09:45:53.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:45:54.024Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:45:54.068Z] $ 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 [2023-03-30T09:45:58.017Z] $ docker top 386fea2d1641009c93d5bfb610591bf302af1a71b29911222158138ea225b75c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:45:58.521Z] ---> job-cost.sh [2023-03-30T09:45:58.521Z] lf-activate-venv: SKIPPING [2023-03-30T09:45:58.521Z] INFO: No Stack... [2023-03-30T09:45:59.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-30T09:45:59.379Z] INFO: Archiving Costs [Pipeline] sh [2023-03-30T09:45:59.667Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-03-30T09:45:59.667Z] + cut -d, -f6 [Pipeline] lock [2023-03-30T09:45:59.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [2023-03-30T09:45:59.692Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] did not exist. Created. [2023-03-30T09:45:59.692Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-30T09:45:59.993Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-30T09:46:00.035Z] Stashed 1 file(s) [Pipeline] } [2023-03-30T09:46:00.042Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-30T09:46:00.066Z] $ docker stop --time=1 386fea2d1641009c93d5bfb610591bf302af1a71b29911222158138ea225b75c [2023-03-30T09:46:01.218Z] $ docker rm -f --volumes 386fea2d1641009c93d5bfb610591bf302af1a71b29911222158138ea225b75c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-30T09:46:47.036Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6457 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-03-30T09:46:47.047Z] Running in /w/workspace/device-sdk-c/42 [Pipeline] { [Pipeline] checkout [2023-03-30T09:46:47.072Z] Selected Git installation does not exist. Using Default [2023-03-30T09:46:47.072Z] The recommended git tool is: NONE [2023-03-30T09:46:52.017Z] using credential edgex-jenkins-ssh [2023-03-30T09:46:52.035Z] Cloning the remote Git repository [2023-03-30T09:46:52.087Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-30T09:46:52.184Z] > git init /w/workspace/device-sdk-c/42 # timeout=10 [2023-03-30T09:46:52.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-30T09:46:52.320Z] > git --version # timeout=10 [2023-03-30T09:46:52.347Z] > git --version # 'git version 2.25.1' [2023-03-30T09:46:52.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-30T09:46:52.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-30T09:46:55.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-30T09:46:55.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-30T09:46:55.967Z] Avoid second fetch [2023-03-30T09:46:55.967Z] Checking out Revision 70adbc05d5985df01ef9d9c351b6d02d06141faf (main) [2023-03-30T09:46:56.568Z] Commit message: "docs: Add installation instructions for IOT utilities (#450)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-30T09:46:55.986Z] > git config core.sparsecheckout # timeout=10 [2023-03-30T09:46:56.049Z] > git checkout -f 70adbc05d5985df01ef9d9c351b6d02d06141faf # timeout=10 [2023-03-30T09:46:57.463Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-30T09:46:57.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-30T09:46:57.463Z] Dload Upload Total Spent Left Speed [2023-03-30T09:46:57.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-03-30T09:46:58.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-30T09:46:58.421Z] + sudo tee /etc/docker/daemon.new [2023-03-30T09:46:58.421Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-30T09:46:58.421Z] { [2023-03-30T09:46:58.421Z] "registry-mirrors": [ [2023-03-30T09:46:58.421Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-30T09:46:58.421Z] ], [2023-03-30T09:46:58.421Z] "bip": "10.250.0.254/24", [2023-03-30T09:46:58.421Z] "hosts": [ [2023-03-30T09:46:58.421Z] "tcp://0.0.0.0:5555", [2023-03-30T09:46:58.421Z] "unix:///var/run/docker.sock" [2023-03-30T09:46:58.421Z] ], [2023-03-30T09:46:58.421Z] "mtu": 1458, [2023-03-30T09:46:58.421Z] "selinux-enabled": true, [2023-03-30T09:46:58.421Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-30T09:46:58.421Z] } [Pipeline] sh [2023-03-30T09:46:58.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-30T09:46:59.092Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T09:47:17.361Z] provisioning config files... [2023-03-30T09:47:17.388Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/42@tmp/config8407201213623269799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:47:17.741Z] ---> docker-login.sh [2023-03-30T09:47:17.741Z] nexus3.edgexfoundry.org:10001 [2023-03-30T09:47:18.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:47:18.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:47:18.277Z] Configure a credential helper to remove this warning. See [2023-03-30T09:47:18.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:47:18.277Z] [2023-03-30T09:47:18.277Z] Login Succeeded [2023-03-30T09:47:18.277Z] nexus3.edgexfoundry.org:10002 [2023-03-30T09:47:18.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:47:18.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:47:18.546Z] Configure a credential helper to remove this warning. See [2023-03-30T09:47:18.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:47:18.546Z] [2023-03-30T09:47:18.818Z] Login Succeeded [2023-03-30T09:47:18.818Z] nexus3.edgexfoundry.org:10003 [2023-03-30T09:47:18.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:47:19.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:47:19.090Z] Configure a credential helper to remove this warning. See [2023-03-30T09:47:19.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:47:19.090Z] [2023-03-30T09:47:19.090Z] Login Succeeded [2023-03-30T09:47:19.090Z] nexus3.edgexfoundry.org:10004 [2023-03-30T09:47:19.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:47:19.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:47:19.359Z] Configure a credential helper to remove this warning. See [2023-03-30T09:47:19.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:47:19.359Z] [2023-03-30T09:47:19.359Z] Login Succeeded [2023-03-30T09:47:19.359Z] docker.io [2023-03-30T09:47:19.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-30T09:47:19.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-30T09:47:19.897Z] Configure a credential helper to remove this warning. See [2023-03-30T09:47:19.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-30T09:47:19.897Z] [2023-03-30T09:47:19.897Z] Login Succeeded [2023-03-30T09:47:19.897Z] ---> docker-login.sh ends [Pipeline] } [2023-03-30T09:47:19.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-30T09:47:20.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T09:47:20.172Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-30T09:47:20.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-30T09:47:20.192Z] ========================================================= [2023-03-30T09:47:20.192Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-30T09:47:20.192Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:47:20.529Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-03-30T09:47:20.798Z] Sending build context to Docker daemon 2.884MB [2023-03-30T09:47:20.798Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-30T09:47:20.798Z] Step 2/21 : FROM ${BASE} as builder [2023-03-30T09:47:21.760Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-30T09:47:21.760Z] 9b18e9b68314: Pulling fs layer [2023-03-30T09:47:21.760Z] 1def92ead452: Pulling fs layer [2023-03-30T09:47:21.760Z] 9b18e9b68314: Verifying Checksum [2023-03-30T09:47:21.760Z] 9b18e9b68314: Download complete [2023-03-30T09:47:22.350Z] 9b18e9b68314: Pull complete [2023-03-30T09:47:24.323Z] 1def92ead452: Verifying Checksum [2023-03-30T09:47:24.323Z] 1def92ead452: Download complete [2023-03-30T09:47:36.673Z] 1def92ead452: Pull complete [2023-03-30T09:47:36.673Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-30T09:47:36.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-30T09:47:36.673Z] ---> 9a9802766715 [2023-03-30T09:47:36.673Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:47:36.673Z] ---> Running in 4aba4cbdf23a [2023-03-30T09:47:37.258Z] Connecting to iotech.jfrog.io (34.242.58.36:443) [2023-03-30T09:47:37.526Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:47:37.526Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:47:37.526Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:47:38.494Z] Removing intermediate container 4aba4cbdf23a [2023-03-30T09:47:38.494Z] ---> b1b8dfd3e7f0 [2023-03-30T09:47:38.494Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:47:38.494Z] ---> Running in 8f03022fa96a [2023-03-30T09:47:39.924Z] Removing intermediate container 8f03022fa96a [2023-03-30T09:47:39.924Z] ---> 2ccc91e7d697 [2023-03-30T09:47:39.924Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-30T09:47:39.924Z] ---> Running in ff6997d2e1bc [2023-03-30T09:47:40.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:47:41.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-30T09:47:41.766Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:47:42.735Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:47:42.735Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-30T09:47:42.735Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-30T09:47:42.735Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T09:47:43.693Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T09:47:43.693Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-30T09:47:43.959Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-30T09:47:43.959Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T09:47:43.959Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T09:47:44.920Z] (9/14) Installing libblkid (2.38-r1) [2023-03-30T09:47:44.920Z] (10/14) Installing libuuid (2.38-r1) [2023-03-30T09:47:44.920Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-30T09:47:44.920Z] (12/14) Installing libmount (2.38-r1) [2023-03-30T09:47:44.920Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-30T09:47:44.920Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-30T09:47:45.186Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:47:45.186Z] OK: 286 MiB in 90 packages [2023-03-30T09:47:46.162Z] Removing intermediate container ff6997d2e1bc [2023-03-30T09:47:46.162Z] ---> fc1456f10e63 [2023-03-30T09:47:46.162Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-30T09:47:46.433Z] ---> Running in 194b01df61d5 [2023-03-30T09:47:47.844Z] Removing intermediate container 194b01df61d5 [2023-03-30T09:47:47.844Z] ---> 8194983b6891 [2023-03-30T09:47:47.844Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-30T09:47:48.426Z] ---> aa584d94266c [2023-03-30T09:47:48.426Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-30T09:47:49.028Z] ---> 4285f7b3c53f [2023-03-30T09:47:49.028Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-30T09:47:49.634Z] ---> 5af1224a0d29 [2023-03-30T09:47:49.634Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-30T09:47:49.905Z] ---> fa877050954e [2023-03-30T09:47:49.905Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-30T09:47:50.503Z] ---> f29359b1b712 [2023-03-30T09:47:50.503Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-30T09:47:51.090Z] ---> 5e4646e20916 [2023-03-30T09:47:51.090Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-30T09:47:51.090Z] ---> Running in 0bb8e1252b64 [2023-03-30T09:47:52.057Z] + CPPCHECK=false [2023-03-30T09:47:52.057Z] + DOCGEN=false [2023-03-30T09:47:52.057Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-30T09:47:52.057Z] + TOMLVER=SDK-0.2 [2023-03-30T09:47:52.057Z] + CUTILVER=1.4 [2023-03-30T09:47:52.057Z] + '[' 0 -gt 0 ] [2023-03-30T09:47:52.057Z] + readlink -f ./scripts/build.sh [2023-03-30T09:47:52.057Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-30T09:47:52.057Z] + dirname /tmp/sdk/scripts [2023-03-30T09:47:52.057Z] + ROOT=/tmp/sdk [2023-03-30T09:47:52.057Z] + cd /tmp/sdk [2023-03-30T09:47:52.057Z] + '[' '!' -d deps ] [2023-03-30T09:47:52.057Z] + mkdir deps [2023-03-30T09:47:52.057Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-30T09:47:52.057Z] + tar -C deps -z -x -f - [2023-03-30T09:47:52.057Z] Connecting to github.com (140.82.114.3:443) [2023-03-30T09:47:52.057Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-03-30T09:47:52.328Z] writing to stdout [2023-03-30T09:47:52.328Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-30T09:47:52.328Z] written to stdout [2023-03-30T09:47:52.328Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-30T09:47:52.328Z] + mkdir -p /tmp/sdk/build/release [2023-03-30T09:47:52.328Z] + cd /tmp/sdk/build/release [2023-03-30T09:47:52.328Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-30T09:47:52.598Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T09:47:52.598Z] -- Detecting C compiler ABI info [2023-03-30T09:47:53.188Z] -- Detecting C compiler ABI info - done [2023-03-30T09:47:53.188Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T09:47:53.188Z] -- Detecting C compile features [2023-03-30T09:47:53.188Z] -- Detecting C compile features - done [2023-03-30T09:47:53.188Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T09:47:53.188Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T09:47:53.458Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T09:47:53.458Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T09:47:53.458Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T09:47:53.458Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T09:47:53.458Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T09:47:53.458Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T09:47:53.458Z] -- /opt/iotech/iot/1.5/include [2023-03-30T09:47:53.458Z] -- C SDK 2.3.1-dev.7 for Linux [2023-03-30T09:47:53.458Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T09:47:53.728Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T09:47:53.995Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T09:47:53.995Z] -- Configuring done [2023-03-30T09:47:54.264Z] -- Generating done [2023-03-30T09:47:54.264Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-30T09:47:54.264Z] + make all package [2023-03-30T09:47:54.264Z] + tee release.log [2023-03-30T09:47:54.531Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T09:47:55.489Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-30T09:47:56.448Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-30T09:47:57.031Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-30T09:47:57.992Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-30T09:47:58.952Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-30T09:48:02.293Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-30T09:48:03.249Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-30T09:48:03.249Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-30T09:48:04.654Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-30T09:48:07.224Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-30T09:48:07.491Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-30T09:48:08.450Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-30T09:48:09.408Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-30T09:48:09.988Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-30T09:48:10.571Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-30T09:48:13.905Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-30T09:48:14.487Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-30T09:48:15.067Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-30T09:48:17.004Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-30T09:48:23.635Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-30T09:48:23.635Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-30T09:48:23.901Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-30T09:48:24.484Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-30T09:48:24.750Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-30T09:48:26.691Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-30T09:48:29.269Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-30T09:48:29.537Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-30T09:48:30.939Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-30T09:48:31.521Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-30T09:48:34.854Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-30T09:48:40.186Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-30T09:48:40.186Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-30T09:48:40.769Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-30T09:48:41.350Z] [ 68%] Linking C shared library libcsdk.so [2023-03-30T09:48:41.616Z] [ 68%] Built target csdk [2023-03-30T09:48:41.616Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-30T09:48:42.576Z] [ 72%] Linking C executable template [2023-03-30T09:48:42.841Z] [ 72%] Built target template [2023-03-30T09:48:42.842Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-30T09:48:43.795Z] [ 76%] Linking C executable device-counter [2023-03-30T09:48:43.795Z] [ 76%] Built target device-counter [2023-03-30T09:48:43.795Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-30T09:48:44.375Z] [ 80%] Linking C executable device-random [2023-03-30T09:48:44.641Z] [ 80%] Built target device-random [2023-03-30T09:48:44.641Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-30T09:48:45.222Z] [ 84%] Linking C executable device-gyro [2023-03-30T09:48:45.488Z] [ 84%] Built target device-gyro [2023-03-30T09:48:45.754Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-30T09:48:46.335Z] [ 88%] Linking C executable device-bitfields [2023-03-30T09:48:46.601Z] [ 88%] Built target device-bitfields [2023-03-30T09:48:46.601Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-30T09:48:47.558Z] [ 92%] Linking C executable template-discovery [2023-03-30T09:48:47.824Z] [ 92%] Built target template-discovery [2023-03-30T09:48:47.824Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-30T09:48:48.782Z] [ 96%] Linking C executable device-file [2023-03-30T09:48:49.048Z] [ 96%] Built target device-file [2023-03-30T09:48:49.048Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-30T09:48:50.004Z] [100%] Linking C executable device-terminal [2023-03-30T09:48:50.004Z] [100%] Built target device-terminal [2023-03-30T09:48:50.270Z] Run CPack packaging tool... [2023-03-30T09:48:50.270Z] CPack: Create package using TGZ [2023-03-30T09:48:50.270Z] CPack: Install projects [2023-03-30T09:48:50.270Z] CPack: - Run preinstall target for: Csdk [2023-03-30T09:48:50.848Z] CPack: - Install project: Csdk [] [2023-03-30T09:48:50.848Z] CPack: Create package [2023-03-30T09:48:51.113Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.7.tar.gz generated. [2023-03-30T09:48:51.113Z] + '[' false '=' true ] [2023-03-30T09:48:51.113Z] + '[' false '=' true ] [2023-03-30T09:48:51.113Z] + mkdir -p /tmp/sdk/build/debug [2023-03-30T09:48:51.113Z] + cd /tmp/sdk/build/debug [2023-03-30T09:48:51.113Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-30T09:48:51.378Z] -- The C compiler identification is GNU 11.2.1 [2023-03-30T09:48:51.378Z] -- Detecting C compiler ABI info [2023-03-30T09:48:51.644Z] -- Detecting C compiler ABI info - done [2023-03-30T09:48:51.644Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-30T09:48:51.644Z] -- Detecting C compile features [2023-03-30T09:48:51.911Z] -- Detecting C compile features - done [2023-03-30T09:48:51.911Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-30T09:48:51.911Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-30T09:48:51.911Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-30T09:48:51.911Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-30T09:48:51.911Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-30T09:48:52.179Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-30T09:48:52.179Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-30T09:48:52.179Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-30T09:48:52.179Z] -- /opt/iotech/iot/1.5/include [2023-03-30T09:48:52.179Z] -- C SDK 2.3.1-dev.7 for Linux [2023-03-30T09:48:52.179Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-30T09:48:52.447Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-30T09:48:52.447Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-30T09:48:52.714Z] -- Configuring done [2023-03-30T09:48:52.981Z] -- Generating done [2023-03-30T09:48:52.981Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-30T09:48:52.981Z] + make [2023-03-30T09:48:52.981Z] + tee debug.log [2023-03-30T09:48:52.981Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-30T09:48:53.562Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-30T09:48:54.143Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-30T09:48:54.409Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-30T09:48:54.990Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-30T09:48:55.256Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-30T09:48:56.213Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-30T09:48:56.793Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-30T09:48:56.793Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-30T09:48:57.374Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-30T09:48:57.954Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-30T09:48:58.536Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-30T09:48:59.118Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-30T09:48:59.384Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-30T09:48:59.967Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-30T09:48:59.967Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-30T09:49:01.371Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-30T09:49:01.371Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-30T09:49:01.637Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-30T09:49:02.593Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-30T09:49:03.547Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-30T09:49:04.127Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-30T09:49:04.394Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-30T09:49:04.660Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-30T09:49:04.926Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-30T09:49:05.509Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-30T09:49:07.452Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-30T09:49:08.035Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-30T09:49:08.302Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-30T09:49:08.883Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-30T09:49:09.838Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-30T09:49:10.792Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-30T09:49:11.061Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-30T09:49:11.330Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-30T09:49:11.913Z] [ 68%] Linking C shared library libcsdk.so [2023-03-30T09:49:12.181Z] [ 68%] Built target csdk [2023-03-30T09:49:12.181Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-30T09:49:12.448Z] [ 72%] Linking C executable template [2023-03-30T09:49:12.716Z] [ 72%] Built target template [2023-03-30T09:49:12.716Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-30T09:49:13.300Z] [ 76%] Linking C executable device-counter [2023-03-30T09:49:13.566Z] [ 76%] Built target device-counter [2023-03-30T09:49:13.567Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-30T09:49:13.834Z] [ 80%] Linking C executable device-random [2023-03-30T09:49:14.103Z] [ 80%] Built target device-random [2023-03-30T09:49:14.103Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-30T09:49:14.689Z] [ 84%] Linking C executable device-gyro [2023-03-30T09:49:14.956Z] [ 84%] Built target device-gyro [2023-03-30T09:49:14.956Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-30T09:49:15.223Z] [ 88%] Linking C executable device-bitfields [2023-03-30T09:49:15.804Z] [ 88%] Built target device-bitfields [2023-03-30T09:49:15.804Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-30T09:49:16.070Z] [ 92%] Linking C executable template-discovery [2023-03-30T09:49:16.336Z] [ 92%] Built target template-discovery [2023-03-30T09:49:16.602Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-30T09:49:16.867Z] [ 96%] Linking C executable device-file [2023-03-30T09:49:17.134Z] [ 96%] Built target device-file [2023-03-30T09:49:17.134Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-30T09:49:17.713Z] [100%] Linking C executable device-terminal [2023-03-30T09:49:17.979Z] [100%] Built target device-terminal [2023-03-30T09:49:17.979Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:17.979Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:17.979Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:17.979Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] [ 68%] Built target csdk [2023-03-30T09:49:18.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] [ 72%] Built target template [2023-03-30T09:49:18.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] [ 76%] Built target device-counter [2023-03-30T09:49:18.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] [ 80%] Built target device-random [2023-03-30T09:49:18.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] [ 84%] Built target device-gyro [2023-03-30T09:49:18.245Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.245Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] [ 88%] Built target device-bitfields [2023-03-30T09:49:18.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] [ 92%] Built target template-discovery [2023-03-30T09:49:18.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] [ 96%] Built target device-file [2023-03-30T09:49:18.510Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] [100%] Built target device-terminal [2023-03-30T09:49:18.510Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:18.510Z] Install the project... [2023-03-30T09:49:18.510Z] -- Install configuration: "Release" [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-30T09:49:18.510Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/devsdk [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-30T09:49:18.510Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-30T09:49:18.777Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-30T09:49:21.347Z] Removing intermediate container 0bb8e1252b64 [2023-03-30T09:49:21.347Z] ---> fe858b4052ca [2023-03-30T09:49:21.347Z] Step 14/21 : FROM ${BASE} [2023-03-30T09:49:21.347Z] ---> 9a9802766715 [2023-03-30T09:49:21.347Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-30T09:49:21.347Z] ---> Running in 9b1de6798dfb [2023-03-30T09:49:21.612Z] Removing intermediate container 9b1de6798dfb [2023-03-30T09:49:21.612Z] ---> d667be30017b [2023-03-30T09:49:21.612Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:49:21.880Z] ---> Running in 9ce3cdf0fc19 [2023-03-30T09:49:22.836Z] Connecting to iotech.jfrog.io (52.212.188.248:443) [2023-03-30T09:49:23.101Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:49:23.101Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:49:23.101Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:49:23.682Z] Removing intermediate container 9ce3cdf0fc19 [2023-03-30T09:49:23.682Z] ---> 85e862d9c7c5 [2023-03-30T09:49:23.682Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:49:23.682Z] ---> Running in c28e5b944582 [2023-03-30T09:49:25.094Z] Removing intermediate container c28e5b944582 [2023-03-30T09:49:25.094Z] ---> e5a76d1fabc1 [2023-03-30T09:49:25.094Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-03-30T09:49:25.094Z] ---> Running in c45814123136 [2023-03-30T09:49:26.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:26.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:26.896Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:27.850Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:49:27.850Z] (1/7) Installing curl (7.83.1-r6) [2023-03-30T09:49:27.850Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-30T09:49:27.850Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-30T09:49:27.850Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-30T09:49:28.430Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-30T09:49:28.430Z] (6/7) Installing libuuid (2.38-r1) [2023-03-30T09:49:28.430Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-30T09:49:29.382Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:49:29.382Z] OK: 281 MiB in 83 packages [2023-03-30T09:49:30.339Z] Removing intermediate container c45814123136 [2023-03-30T09:49:30.339Z] ---> 09866026bb35 [2023-03-30T09:49:30.339Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-30T09:49:30.603Z] ---> f74bcb54bfa3 [2023-03-30T09:49:30.603Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-30T09:49:34.839Z] ---> 09284da98a6a [2023-03-30T09:49:34.839Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-30T09:49:34.839Z] ---> a869370a8174 [2023-03-30T09:49:34.839Z] Successfully built a869370a8174 [2023-03-30T09:49:34.839Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:49:35.221Z] + docker inspect -f . ci-base-image-arm64 [2023-03-30T09:49:35.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:49:35.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-6457 does not seem to be running inside a container [2023-03-30T09:49:35.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/42 -v /w/workspace/device-sdk-c/42:/w/workspace/device-sdk-c/42:rw,z -v /w/workspace/device-sdk-c/42@tmp:/w/workspace/device-sdk-c/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-30T09:49:36.578Z] $ docker top 554f9d92ef86e46fee339700de0dc67c71d5019e553270189a703ab3177d0338 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-30T09:49:37.371Z] + make test [2023-03-30T09:49:37.371Z] echo "make test" [2023-03-30T09:49:37.371Z] make test [Pipeline] } [2023-03-30T09:49:37.389Z] $ docker stop --time=1 554f9d92ef86e46fee339700de0dc67c71d5019e553270189a703ab3177d0338 [2023-03-30T09:49:38.972Z] $ docker rm -f --volumes 554f9d92ef86e46fee339700de0dc67c71d5019e553270189a703ab3177d0338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-30T09:49:39.503Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-30T09:49:39.817Z] + ls -al . [2023-03-30T09:49:39.817Z] total 208 [2023-03-30T09:49:39.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 09:46 . [2023-03-30T09:49:39.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 .. [2023-03-30T09:49:39.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 09:46 .git [2023-03-30T09:49:39.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:46 .github [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 30 09:46 .gitignore [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 30 09:46 Attribution.txt [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 30 09:46 CHANGES [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 30 09:46 Doxyfile [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 09:46 GOVERNANCE.md [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 30 09:46 Jenkinsfile [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 30 09:46 LICENSE [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 30 09:46 Makefile [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 30 09:46 OWNERS.md [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 30 09:46 README.IOT.md [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 30 09:46 README.md [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 30 09:46 README.v3.md [2023-03-30T09:49:39.817Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 30 09:45 VERSION [2023-03-30T09:49:39.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:46 docs [2023-03-30T09:49:39.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 include [2023-03-30T09:49:39.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 09:46 scripts [2023-03-30T09:49:39.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 09:46 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:49:40.152Z] + 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=70adbc05d5985df01ef9d9c351b6d02d06141faf --label arch=arm64 --label version=2.3.1-dev.7 . [2023-03-30T09:49:40.418Z] Sending build context to Docker daemon 2.884MB [2023-03-30T09:49:40.418Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-30T09:49:40.418Z] Step 2/17 : FROM ${BASE} [2023-03-30T09:49:40.418Z] ---> a869370a8174 [2023-03-30T09:49:40.418Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-30T09:49:40.684Z] ---> Running in 9ee38f5475c9 [2023-03-30T09:49:40.950Z] Removing intermediate container 9ee38f5475c9 [2023-03-30T09:49:40.950Z] ---> 94cdc293668a [2023-03-30T09:49:40.950Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-03-30T09:49:40.950Z] ---> Running in 24d15023a711 [2023-03-30T09:49:41.902Z] Connecting to iotech.jfrog.io (176.34.135.205:443) [2023-03-30T09:49:42.168Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-30T09:49:42.168Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-30T09:49:42.168Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-30T09:49:42.865Z] Removing intermediate container 24d15023a711 [2023-03-30T09:49:42.865Z] ---> 6b5d7431b8c6 [2023-03-30T09:49:42.865Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-30T09:49:42.865Z] ---> Running in a64d7b5c63e0 [2023-03-30T09:49:44.459Z] Removing intermediate container a64d7b5c63e0 [2023-03-30T09:49:44.459Z] ---> f87aaeaaa660 [2023-03-30T09:49:44.459Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-30T09:49:44.731Z] ---> Running in 8be05db8178a [2023-03-30T09:49:45.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:45.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:46.563Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-30T09:49:47.146Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-30T09:49:47.146Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-30T09:49:47.727Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-30T09:49:47.727Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-30T09:49:47.727Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-30T09:49:47.727Z] (5/9) Installing libblkid (2.38-r1) [2023-03-30T09:49:47.727Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-30T09:49:47.727Z] (7/9) Installing libmount (2.38-r1) [2023-03-30T09:49:47.996Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-30T09:49:47.996Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-30T09:49:47.996Z] Executing busybox-1.35.0-r17.trigger [2023-03-30T09:49:47.996Z] OK: 287 MiB in 92 packages [2023-03-30T09:49:49.409Z] Removing intermediate container 8be05db8178a [2023-03-30T09:49:49.409Z] ---> 71a77082b890 [2023-03-30T09:49:49.409Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-30T09:49:49.677Z] ---> 2bf4bf95dffa [2023-03-30T09:49:49.677Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-30T09:49:50.260Z] ---> abb8a91c35a4 [2023-03-30T09:49:50.260Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-30T09:49:50.844Z] ---> 882f4c127286 [2023-03-30T09:49:50.844Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-30T09:49:51.429Z] ---> 5112d1d64df5 [2023-03-30T09:49:51.429Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-30T09:49:51.696Z] ---> 196e8913c25e [2023-03-30T09:49:51.696Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-30T09:49:52.282Z] ---> 420ec316cf6f [2023-03-30T09:49:52.282Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-30T09:49:52.282Z] ---> Running in ec3f9d9095e1 [2023-03-30T09:49:52.867Z] Removing intermediate container ec3f9d9095e1 [2023-03-30T09:49:52.867Z] ---> 18fff903f2cf [2023-03-30T09:49:52.867Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-30T09:49:52.867Z] ---> Running in b566127ad5b5 [2023-03-30T09:49:53.134Z] Removing intermediate container b566127ad5b5 [2023-03-30T09:49:53.134Z] ---> f425fb0033a3 [2023-03-30T09:49:53.134Z] Step 15/17 : LABEL arch=arm64 [2023-03-30T09:49:53.134Z] ---> Running in 72f6d7272574 [2023-03-30T09:49:53.402Z] Removing intermediate container 72f6d7272574 [2023-03-30T09:49:53.402Z] ---> 80763887bec6 [2023-03-30T09:49:53.402Z] Step 16/17 : LABEL git_sha=70adbc05d5985df01ef9d9c351b6d02d06141faf [2023-03-30T09:49:53.669Z] ---> Running in 9cce7298629f [2023-03-30T09:49:53.936Z] Removing intermediate container 9cce7298629f [2023-03-30T09:49:53.936Z] ---> 9ece03d40843 [2023-03-30T09:49:53.936Z] Step 17/17 : LABEL version=2.3.1-dev.7 [2023-03-30T09:49:53.936Z] ---> Running in da1b20878eba [2023-03-30T09:49:54.205Z] Removing intermediate container da1b20878eba [2023-03-30T09:49:54.205Z] ---> 5d8298571b81 [2023-03-30T09:49:54.205Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-30T09:49:54.205Z] Successfully built 5d8298571b81 [2023-03-30T09:49:54.205Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:49:54.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T09:49:54.914Z] [2023-03-30T09:49:54.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:49:55.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T09:49:55.518Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-30T09:49:55.518Z] 8998bd30e6a1: Pulling fs layer [2023-03-30T09:49:55.518Z] 04944245beec: Pulling fs layer [2023-03-30T09:49:55.518Z] 699f458cf7ca: Pulling fs layer [2023-03-30T09:49:55.518Z] 765212b225bb: Pulling fs layer [2023-03-30T09:49:55.518Z] f23df028b6ca: Pulling fs layer [2023-03-30T09:49:55.518Z] d65c8cfc05b1: Pulling fs layer [2023-03-30T09:49:55.518Z] 2437ff75d9bd: Pulling fs layer [2023-03-30T09:49:55.518Z] f23df028b6ca: Waiting [2023-03-30T09:49:55.518Z] d65c8cfc05b1: Waiting [2023-03-30T09:49:55.518Z] 2437ff75d9bd: Waiting [2023-03-30T09:49:55.518Z] 765212b225bb: Waiting [2023-03-30T09:49:55.518Z] 04944245beec: Verifying Checksum [2023-03-30T09:49:55.518Z] 04944245beec: Download complete [2023-03-30T09:49:55.518Z] 765212b225bb: Verifying Checksum [2023-03-30T09:49:55.518Z] 765212b225bb: Download complete [2023-03-30T09:49:55.786Z] f23df028b6ca: Verifying Checksum [2023-03-30T09:49:55.786Z] f23df028b6ca: Download complete [2023-03-30T09:49:55.786Z] d65c8cfc05b1: Verifying Checksum [2023-03-30T09:49:55.786Z] d65c8cfc05b1: Download complete [2023-03-30T09:49:55.786Z] 699f458cf7ca: Verifying Checksum [2023-03-30T09:49:55.786Z] 699f458cf7ca: Download complete [2023-03-30T09:49:56.054Z] 8998bd30e6a1: Verifying Checksum [2023-03-30T09:49:56.054Z] 8998bd30e6a1: Download complete [2023-03-30T09:49:58.636Z] 2437ff75d9bd: Verifying Checksum [2023-03-30T09:49:58.636Z] 2437ff75d9bd: Download complete [2023-03-30T09:50:00.048Z] 8998bd30e6a1: Pull complete [2023-03-30T09:50:00.633Z] 04944245beec: Pull complete [2023-03-30T09:50:02.042Z] 699f458cf7ca: Pull complete [2023-03-30T09:50:02.309Z] 765212b225bb: Pull complete [2023-03-30T09:50:02.893Z] f23df028b6ca: Pull complete [2023-03-30T09:50:03.160Z] d65c8cfc05b1: Pull complete [2023-03-30T09:50:18.159Z] 2437ff75d9bd: Pull complete [2023-03-30T09:50:18.159Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-30T09:50:18.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-30T09:50:18.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:50:18.340Z] prd-ubuntu20.04-docker-arm64-4c-16g-6457 does not seem to be running inside a container [2023-03-30T09:50:18.404Z] $ 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/42 -v /w/workspace/device-sdk-c/42:/w/workspace/device-sdk-c/42:rw,z -v /w/workspace/device-sdk-c/42@tmp:/w/workspace/device-sdk-c/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-30T09:50:20.913Z] $ docker top d37a6328c284baf96a3ae15dd9b00c09a3075a163e40e096f65740811902011c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:50:21.413Z] ---> job-cost.sh [2023-03-30T09:50:21.689Z] lf-activate-venv: SKIPPING [2023-03-30T09:50:21.689Z] INFO: No Stack... [2023-03-30T09:50:21.955Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-30T09:50:22.912Z] INFO: Archiving Costs [Pipeline] sh [2023-03-30T09:50:23.545Z] + cat /w/workspace/device-sdk-c/42/archives/cost.csv [2023-03-30T09:50:23.545Z] + cut -d, -f6 [Pipeline] lock [2023-03-30T09:50:23.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [2023-03-30T09:50:23.611Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] did not exist. Created. [2023-03-30T09:50:23.611Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-30T09:50:23.948Z] /w/workspace/device-sdk-c/42@tmp/durable-84e5301e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-30T09:50:24.546Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-30T09:50:24.834Z] Warning: overwriting stash ‘stack-cost’ [2023-03-30T09:50:25.297Z] Stashed 1 file(s) [Pipeline] } [2023-03-30T09:50:25.304Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-30T09:50:25.325Z] $ docker stop --time=1 d37a6328c284baf96a3ae15dd9b00c09a3075a163e40e096f65740811902011c [2023-03-30T09:50:26.826Z] $ docker rm -f --volumes d37a6328c284baf96a3ae15dd9b00c09a3075a163e40e096f65740811902011c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-03-30T09:50:27.431Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-30T09:50:27.431Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:50:27.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:50:27.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:50:27.795Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:50:27.835Z] $ 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 [2023-03-30T09:50:28.164Z] $ docker top f46bd30a68cc21f1cb2c69c7cb185d7a261566b26d63b1707c5581d968a0362f -eo pid,comm [2023-03-30T09:50:28.200Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-30T09:50:28.200Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-30T09:50:28.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T09:50:28.231Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T09:50:28.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T09:50:28.358Z] $ docker exec f46bd30a68cc21f1cb2c69c7cb185d7a261566b26d63b1707c5581d968a0362f ssh-agent [2023-03-30T09:50:28.466Z] SSH_AUTH_SOCK=/tmp/ssh-Vsei6aySSaEn/agent.32 [2023-03-30T09:50:28.466Z] SSH_AGENT_PID=38 [2023-03-30T09:50:28.470Z] Running ssh-add (command line suppressed) [2023-03-30T09:50:28.591Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13180108985667841561.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13180108985667841561.key) [2023-03-30T09:50:28.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T09:50:28.879Z] + git semver tag [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,033 [run_tag] DEBUG tag force:False [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,033 [check_head_tag] DEBUG check head tag [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,034 [execute] INFO git cat-file --batch-check [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,038 [execute] INFO git cat-file --batch [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,052 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,052 [execute] INFO git tag -a v2.3.1-dev.7 -m v2.3.1-dev.7 [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,052 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.7', '-m', 'v2.3.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-03-30T09:50:29.140Z] 2023-03-30 09:50:29,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:29.140Z] 2.3.1-dev.7 [Pipeline] } [2023-03-30T09:50:29.162Z] $ docker exec --env ******** --env ******** f46bd30a68cc21f1cb2c69c7cb185d7a261566b26d63b1707c5581d968a0362f ssh-agent -k [2023-03-30T09:50:29.253Z] unset SSH_AUTH_SOCK; [2023-03-30T09:50:29.253Z] unset SSH_AGENT_PID; [2023-03-30T09:50:29.253Z] echo Agent pid 38 killed; [2023-03-30T09:50:29.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-30T09:50:29.550Z] + git semver [Pipeline] } [2023-03-30T09:50:29.832Z] $ docker stop --time=1 f46bd30a68cc21f1cb2c69c7cb185d7a261566b26d63b1707c5581d968a0362f [2023-03-30T09:50:31.094Z] $ docker rm -f --volumes f46bd30a68cc21f1cb2c69c7cb185d7a261566b26d63b1707c5581d968a0362f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:50:31.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-30T09:50:31.450Z] [2023-03-30T09:50:31.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:50:31.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-30T09:50:31.742Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-30T09:50:31.742Z] ab5ef0e58194: Pulling fs layer [2023-03-30T09:50:31.742Z] 9712f1f96733: Pulling fs layer [2023-03-30T09:50:31.742Z] 63f879dbbcfc: Pulling fs layer [2023-03-30T09:50:31.742Z] 0d9ebad4ef96: Pulling fs layer [2023-03-30T09:50:31.742Z] e9a5061849ea: Pulling fs layer [2023-03-30T09:50:31.742Z] d747dcd14b5f: Pulling fs layer [2023-03-30T09:50:31.742Z] 2de7ff778b66: Pulling fs layer [2023-03-30T09:50:31.742Z] d747dcd14b5f: Waiting [2023-03-30T09:50:31.742Z] 0d9ebad4ef96: Waiting [2023-03-30T09:50:31.742Z] 2de7ff778b66: Waiting [2023-03-30T09:50:31.742Z] e9a5061849ea: Waiting [2023-03-30T09:50:31.742Z] 9712f1f96733: Verifying Checksum [2023-03-30T09:50:31.742Z] 9712f1f96733: Download complete [2023-03-30T09:50:32.003Z] 63f879dbbcfc: Verifying Checksum [2023-03-30T09:50:32.003Z] 63f879dbbcfc: Download complete [2023-03-30T09:50:32.261Z] e9a5061849ea: Verifying Checksum [2023-03-30T09:50:32.261Z] e9a5061849ea: Download complete [2023-03-30T09:50:32.261Z] d747dcd14b5f: Download complete [2023-03-30T09:50:32.261Z] 0d9ebad4ef96: Download complete [2023-03-30T09:50:32.261Z] ab5ef0e58194: Verifying Checksum [2023-03-30T09:50:32.261Z] ab5ef0e58194: Download complete [2023-03-30T09:50:32.519Z] 2de7ff778b66: Verifying Checksum [2023-03-30T09:50:32.519Z] 2de7ff778b66: Download complete [2023-03-30T09:50:35.044Z] ab5ef0e58194: Pull complete [2023-03-30T09:50:35.044Z] 9712f1f96733: Pull complete [2023-03-30T09:50:35.608Z] 63f879dbbcfc: Pull complete [2023-03-30T09:50:38.881Z] 0d9ebad4ef96: Pull complete [2023-03-30T09:50:39.140Z] e9a5061849ea: Pull complete [2023-03-30T09:50:39.140Z] d747dcd14b5f: Pull complete [2023-03-30T09:50:40.075Z] 2de7ff778b66: Pull complete [2023-03-30T09:50:40.075Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-30T09:50:40.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-30T09:50:40.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:50:40.149Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:50:40.192Z] $ 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 [2023-03-30T09:50:46.009Z] $ docker top 75bf04493108210f172d14aed33013c31062213a4cd3a56eda2650939a241a1a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-30T09:50:46.075Z] provisioning config files... [2023-03-30T09:50:46.081Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2291316199320702006tmp [2023-03-30T09:50:46.090Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12055214017536573147tmp [2023-03-30T09:50:46.100Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config547375209272963803tmp [Pipeline] { [Pipeline] echo [2023-03-30T09:50:46.114Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:50:46.395Z] ---> sigul-configuration.sh [2023-03-30T09:50:46.395Z] gpg: directory `/root/.gnupg' created [2023-03-30T09:50:46.395Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-30T09:50:46.395Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-30T09:50:46.395Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-30T09:50:46.395Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-30T09:50:46.395Z] gpg: CAST5 encrypted data [2023-03-30T09:50:46.395Z] gpg: encrypted with 1 passphrase [2023-03-30T09:50:46.395Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-30T09:50:46.678Z] + mkdir /home/jenkins [2023-03-30T09:50:46.678Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-30T09:50:46.964Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-03-30T09:50:46.972Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:50:47.256Z] ---> sigul-install.sh [2023-03-30T09:50:47.257Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-30T09:50:47.542Z] + git tag --list [2023-03-30T09:50:47.542Z] 0.7.0 [2023-03-30T09:50:47.542Z] 0.7.1 [2023-03-30T09:50:47.542Z] 1.0.0 [2023-03-30T09:50:47.542Z] v1.0.1 [2023-03-30T09:50:47.542Z] v1.0.2 [2023-03-30T09:50:47.542Z] v1.0.3 [2023-03-30T09:50:47.542Z] v1.1.0 [2023-03-30T09:50:47.542Z] v1.1.1 [2023-03-30T09:50:47.542Z] v1.2.0 [2023-03-30T09:50:47.542Z] v1.2.1 [2023-03-30T09:50:47.542Z] v1.2.2 [2023-03-30T09:50:47.542Z] v1.3.0 [2023-03-30T09:50:47.542Z] v1.3.1 [2023-03-30T09:50:47.542Z] v2.0.0 [2023-03-30T09:50:47.542Z] v2.1.0 [2023-03-30T09:50:47.542Z] v2.2.0 [2023-03-30T09:50:47.542Z] v2.2.0-dev.1 [2023-03-30T09:50:47.542Z] v2.2.0-dev.10 [2023-03-30T09:50:47.542Z] v2.2.0-dev.11 [2023-03-30T09:50:47.542Z] v2.2.0-dev.12 [2023-03-30T09:50:47.542Z] v2.2.0-dev.13 [2023-03-30T09:50:47.542Z] v2.2.0-dev.2 [2023-03-30T09:50:47.542Z] v2.2.0-dev.3 [2023-03-30T09:50:47.542Z] v2.2.0-dev.4 [2023-03-30T09:50:47.542Z] v2.2.0-dev.5 [2023-03-30T09:50:47.542Z] v2.2.0-dev.6 [2023-03-30T09:50:47.542Z] v2.2.0-dev.7 [2023-03-30T09:50:47.542Z] v2.2.0-dev.8 [2023-03-30T09:50:47.542Z] v2.2.0-dev.9 [2023-03-30T09:50:47.542Z] v2.2.1-dev.1 [2023-03-30T09:50:47.542Z] v2.2.1-dev.2 [2023-03-30T09:50:47.542Z] v2.2.1-dev.3 [2023-03-30T09:50:47.542Z] v2.3.0 [2023-03-30T09:50:47.542Z] v2.3.1-dev.1 [2023-03-30T09:50:47.542Z] v2.3.1-dev.2 [2023-03-30T09:50:47.542Z] v2.3.1-dev.3 [2023-03-30T09:50:47.542Z] v2.3.1-dev.4 [2023-03-30T09:50:47.542Z] v2.3.1-dev.5 [2023-03-30T09:50:47.542Z] v2.3.1-dev.6 [2023-03-30T09:50:47.542Z] v2.3.1-dev.7 [Pipeline] sh [2023-03-30T09:50:47.826Z] + lftools sign git-tag v2.3.1-dev.7 [2023-03-30T09:50:48.392Z] Signing Git tag with Sigul... [2023-03-30T09:50:48.392Z] Signing v2.3.1-dev.7 [Pipeline] echo [2023-03-30T09:50:48.660Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:50:48.943Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-30T09:50:48.950Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-30T09:50:48.983Z] $ docker stop --time=1 75bf04493108210f172d14aed33013c31062213a4cd3a56eda2650939a241a1a [2023-03-30T09:50:50.264Z] $ docker rm -f --volumes 75bf04493108210f172d14aed33013c31062213a4cd3a56eda2650939a241a1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-30T09:50:50.647Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-30T09:50:50.647Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:50:50.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:50:50.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:50:51.006Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:50:51.047Z] $ 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 [2023-03-30T09:50:51.374Z] $ docker top 67de7ce7f5daf31485f1d19c95fca8485a52625c1b8103ba315e18f9eec382c7 -eo pid,comm [2023-03-30T09:50:51.414Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-30T09:50:51.414Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-30T09:50:51.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T09:50:51.450Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T09:50:51.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T09:50:51.578Z] $ docker exec 67de7ce7f5daf31485f1d19c95fca8485a52625c1b8103ba315e18f9eec382c7 ssh-agent [2023-03-30T09:50:51.676Z] SSH_AUTH_SOCK=/tmp/ssh-J8ov4cKL6idJ/agent.32 [2023-03-30T09:50:51.676Z] SSH_AGENT_PID=38 [2023-03-30T09:50:51.680Z] Running ssh-add (command line suppressed) [2023-03-30T09:50:51.790Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11885493700219892133.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11885493700219892133.key) [2023-03-30T09:50:51.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T09:50:52.077Z] + git semver bump pre [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [bump_version] DEBUG bumping version:2.3.1-dev.7 on axis:pre with prefix:dev [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [bump_version] DEBUG bumped version:2.3.1-dev.8 [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [write_version] DEBUG write version:2.3.1-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,258 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,260 [execute] INFO git cat-file --batch-check [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,265 [execute] INFO git cat-file --batch [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-30T09:50:52.337Z] 2023-03-30 09:50:52,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:52.337Z] 2.3.1-dev.8 [Pipeline] } [2023-03-30T09:50:52.360Z] $ docker exec --env ******** --env ******** 67de7ce7f5daf31485f1d19c95fca8485a52625c1b8103ba315e18f9eec382c7 ssh-agent -k [2023-03-30T09:50:52.458Z] unset SSH_AUTH_SOCK; [2023-03-30T09:50:52.458Z] unset SSH_AGENT_PID; [2023-03-30T09:50:52.458Z] echo Agent pid 38 killed; [2023-03-30T09:50:52.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-30T09:50:52.754Z] + git semver [Pipeline] } [2023-03-30T09:50:53.037Z] $ docker stop --time=1 67de7ce7f5daf31485f1d19c95fca8485a52625c1b8103ba315e18f9eec382c7 [2023-03-30T09:50:54.308Z] $ docker rm -f --volumes 67de7ce7f5daf31485f1d19c95fca8485a52625c1b8103ba315e18f9eec382c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-30T09:50:54.627Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-30T09:50:54.627Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:50:54.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-30T09:50:54.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:50:54.988Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:50:55.031Z] $ 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 [2023-03-30T09:50:55.340Z] $ docker top 690b98e6cd82569339213989789c44e9039b98b9351c0b409eb6dc6715896cc2 -eo pid,comm [2023-03-30T09:50:55.372Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-30T09:50:55.372Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-30T09:50:55.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-30T09:50:55.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-30T09:50:55.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-30T09:50:55.525Z] $ docker exec 690b98e6cd82569339213989789c44e9039b98b9351c0b409eb6dc6715896cc2 ssh-agent [2023-03-30T09:50:55.602Z] SSH_AUTH_SOCK=/tmp/ssh-fo1mhz5INLGM/agent.31 [2023-03-30T09:50:55.602Z] SSH_AGENT_PID=37 [2023-03-30T09:50:55.607Z] Running ssh-add (command line suppressed) [2023-03-30T09:50:55.705Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15507796869814174911.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15507796869814174911.key) [2023-03-30T09:50:55.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-30T09:50:55.987Z] + git semver push [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,179 [run_push] DEBUG push [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,179 [execute] INFO git cat-file --batch-check [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,183 [execute] INFO git rev-list 1256ab3c85bca09faf730ac005acf1c413e283b1 -- [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,183 [execute] DEBUG Popen(['git', 'rev-list', '1256ab3c85bca09faf730ac005acf1c413e283b1', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,190 [execute] INFO git fetch -v origin [2023-03-30T09:50:56.247Z] 2023-03-30 09:50:56,191 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-30T09:50:56.816Z] 2023-03-30 09:50:56,671 [run_push] DEBUG no remote changes detected [2023-03-30T09:50:56.816Z] 2023-03-30 09:50:56,671 [execute] INFO git push origin semver [2023-03-30T09:50:56.816Z] 2023-03-30 09:50:56,672 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-30T09:50:57.752Z] 2023-03-30 09:50:57,497 [run_push] DEBUG push all version tags [2023-03-30T09:50:57.752Z] 2023-03-30 09:50:57,498 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-30T09:50:57.752Z] 2023-03-30 09:50:57,498 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-03-30T09:50:58.322Z] 2023-03-30 09:50:58,333 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-03-30T09:50:58.322Z] 2.3.1-dev.8 [Pipeline] } [2023-03-30T09:50:58.604Z] $ docker exec --env ******** --env ******** 690b98e6cd82569339213989789c44e9039b98b9351c0b409eb6dc6715896cc2 ssh-agent -k [2023-03-30T09:50:58.705Z] unset SSH_AUTH_SOCK; [2023-03-30T09:50:58.705Z] unset SSH_AGENT_PID; [2023-03-30T09:50:58.705Z] echo Agent pid 37 killed; [2023-03-30T09:50:58.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-30T09:50:58.995Z] + git semver [Pipeline] } [2023-03-30T09:50:59.282Z] $ docker stop --time=1 690b98e6cd82569339213989789c44e9039b98b9351c0b409eb6dc6715896cc2 [2023-03-30T09:51:00.562Z] $ docker rm -f --volumes 690b98e6cd82569339213989789c44e9039b98b9351c0b409eb6dc6715896cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-30T09:51:01.042Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-03-30T09:51:01.042Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-03-30T09:51:01.042Z] total 16 [2023-03-30T09:51:01.042Z] drwxr-xr-x 3 root root 4096 Mar 30 09:45 . [2023-03-30T09:51:01.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 09:50 .. [2023-03-30T09:51:01.042Z] drwxr-xr-x 2 root root 4096 Mar 30 09:45 cost [2023-03-30T09:51:01.042Z] -rw-r--r-- 1 root root 83 Mar 30 09:45 cost.csv [2023-03-30T09:51:01.042Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-03-30T09:51:01.042Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-03-30T09:51:01.042Z] total 16 [2023-03-30T09:51:01.042Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 09:45 . [2023-03-30T09:51:01.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 09:50 .. [2023-03-30T09:51:01.042Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 09:45 cost [2023-03-30T09:51:01.042Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 30 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:01.333Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:02.189Z] ---> package-listing.sh [2023-03-30T09:51:02.189Z] ++ facter osfamily [2023-03-30T09:51:02.189Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-30T09:51:02.449Z] + OS_FAMILY=debian [2023-03-30T09:51:02.449Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-03-30T09:51:02.449Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-30T09:51:02.449Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-30T09:51:02.449Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-30T09:51:02.449Z] + PACKAGES=/tmp/packages_start.txt [2023-03-30T09:51:02.449Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-03-30T09:51:02.449Z] + PACKAGES=/tmp/packages_end.txt [2023-03-30T09:51:02.449Z] + case "${OS_FAMILY}" in [2023-03-30T09:51:02.449Z] + dpkg -l [2023-03-30T09:51:02.449Z] + grep '^ii' [2023-03-30T09:51:02.449Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-30T09:51:02.449Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-30T09:51:02.449Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-30T09:51:02.449Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-03-30T09:51:02.449Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-03-30T09:51:02.449Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-03-30T09:51:02.459Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-30T09:51:02.734Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-30T09:51:03.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-30T09:51:03.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-30T09:51:03.350Z] prd-ubuntu20.04-docker-8c-8g-6456 does not seem to be running inside a container [2023-03-30T09:51:03.395Z] $ 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 [2023-03-30T09:51:03.593Z] $ docker top 7a22cf64fca26cc4fdb07aabb3d2d57a2cc2aa79932a32fe5eb62dce34ad0dac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-30T09:51:03.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-30T09:51:04.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-30T09:51:04.488Z] + ls /var/log/sa-host [2023-03-30T09:51:04.488Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-30T09:51:04.652Z] provisioning config files... [2023-03-30T09:51:04.660Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11017644805245547010tmp [Pipeline] { [Pipeline] echo [2023-03-30T09:51:04.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:04.955Z] ---> create-netrc.sh [Pipeline] } [2023-03-30T09:51:04.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:05.288Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-30T09:51:05.297Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:05.578Z] ---> sudo-logs.sh [2023-03-30T09:51:05.578Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-30T09:51:05.609Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:05.887Z] ---> job-cost.sh [2023-03-30T09:51:05.887Z] lf-activate-venv: SKIPPING [2023-03-30T09:51:05.887Z] DEBUG: total: 0.2199999988079071 [2023-03-30T09:51:05.887Z] INFO: Retrieving Stack Cost... [2023-03-30T09:51:06.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-30T09:51:06.714Z] INFO: Archiving Costs [Pipeline] echo [2023-03-30T09:51:06.725Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-30T09:51:07.008Z] ---> logs-deploy.sh [2023-03-30T09:51:07.008Z] lf-activate-venv: SKIPPING [2023-03-30T09:51:07.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/42 [2023-03-30T09:51:07.008Z] INFO: archiving workspace using pattern(s): [2023-03-30T09:51:07.948Z] Archives upload complete. [2023-03-30T09:51:07.948Z] INFO: archiving logs to Nexus