Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 629b9722aa39bd0efb276d4c775a85c2ba734e30 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-ssh13338138323055717236.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6550689946581397693.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5634409292449329551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2442208248679614968.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-ssh15676729563335773851.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17303’ Running on prd-ubuntu20.04-docker-8c-8g-17306 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 629b9722aa39bd0efb276d4c775a85c2ba734e30 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 629b9722aa39bd0efb276d4c775a85c2ba734e30 # timeout=10 Commit message: "fix: loading insecure secrets from config (#458)" > git rev-list --no-walk ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-30T15:11:09.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-30T15:11:09.457Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-30T15:11:09.477Z] ========================================================= [2023-05-30T15:11:09.477Z] EdgeX Global Pipelines Version Info [2023-05-30T15:11:09.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:11:10.193Z] ------------------- [2023-05-30T15:11:10.193Z] stable info: [2023-05-30T15:11:10.193Z] ------------------- [2023-05-30T15:11:10.193Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-30T15:11:10.193Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T15:11:10.193Z] Message: update stable to v1.0.249 [2023-05-30T15:11:10.765Z] ------------------- [2023-05-30T15:11:10.765Z] experimental info: [2023-05-30T15:11:10.765Z] ------------------- [2023-05-30T15:11:10.765Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-30T15:11:10.765Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-30T15:11:10.765Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-30T15:11:10.926Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-30T15:11:10.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-30T15:11:10.954Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-30T15:11:10.966Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-30T15:11:10.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-30T15:11:10.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-30T15:11:10.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-30T15:11:11.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-30T15:11:11.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-30T15:11:11.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-30T15:11:11.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-30T15:11:11.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-30T15:11:11.086Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-30T15:11:11.101Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-30T15:11:11.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-30T15:11:11.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-30T15:11:11.136Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-30T15:11:11.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-30T15:11:11.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-30T15:11:11.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-30T15:11:11.184Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 629b9722aa39bd0efb276d4c775a85c2ba734e30 [Pipeline] echo [2023-05-30T15:11:11.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 629b972 [Pipeline] echo [2023-05-30T15:11:11.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T15:11:11.250Z] provisioning config files... [2023-05-30T15:11:11.266Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2130955185448754064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:11:11.568Z] ---> docker-login.sh [2023-05-30T15:11:11.568Z] nexus3.edgexfoundry.org:10001 [2023-05-30T15:11:11.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:12.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:12.108Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:12.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:12.108Z] [2023-05-30T15:11:12.108Z] Login Succeeded [2023-05-30T15:11:12.108Z] nexus3.edgexfoundry.org:10002 [2023-05-30T15:11:12.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:12.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:12.108Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:12.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:12.108Z] [2023-05-30T15:11:12.108Z] Login Succeeded [2023-05-30T15:11:12.108Z] nexus3.edgexfoundry.org:10003 [2023-05-30T15:11:12.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:12.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:12.371Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:12.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:12.371Z] [2023-05-30T15:11:12.371Z] Login Succeeded [2023-05-30T15:11:12.371Z] nexus3.edgexfoundry.org:10004 [2023-05-30T15:11:12.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:12.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:12.371Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:12.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:12.371Z] [2023-05-30T15:11:12.371Z] Login Succeeded [2023-05-30T15:11:12.371Z] docker.io [2023-05-30T15:11:12.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:12.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:12.633Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:12.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:12.633Z] [2023-05-30T15:11:12.633Z] Login Succeeded [2023-05-30T15:11:12.633Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T15:11:12.642Z] 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-05-30T15:11:13.015Z] + git rev-list -1 --merges 629b9722aa39bd0efb276d4c775a85c2ba734e30~1..629b9722aa39bd0efb276d4c775a85c2ba734e30 [Pipeline] echo [2023-05-30T15:11:13.072Z] -----------> git rev-list -1 --merges 629b9722aa39bd0efb276d4c775a85c2ba734e30~1..629b9722aa39bd0efb276d4c775a85c2ba734e30 629b9722aa39bd0efb276d4c775a85c2ba734e30 [false] [Pipeline] sh [2023-05-30T15:11:13.368Z] + git log --format=format:%s -1 629b9722aa39bd0efb276d4c775a85c2ba734e30 [Pipeline] echo [2023-05-30T15:11:13.401Z] ========================================================= [2023-05-30T15:11:13.401Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T15:11:13.401Z] ========================================================= 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-05-30T15:11:13.784Z] + git rev-list -1 --merges 629b9722aa39bd0efb276d4c775a85c2ba734e30~1..629b9722aa39bd0efb276d4c775a85c2ba734e30 [Pipeline] echo [2023-05-30T15:11:13.795Z] -----------> git rev-list -1 --merges 629b9722aa39bd0efb276d4c775a85c2ba734e30~1..629b9722aa39bd0efb276d4c775a85c2ba734e30 629b9722aa39bd0efb276d4c775a85c2ba734e30 [false] [Pipeline] sh [2023-05-30T15:11:14.087Z] + git log --format=format:%s -1 629b9722aa39bd0efb276d4c775a85c2ba734e30 [Pipeline] echo [2023-05-30T15:11:14.105Z] ========================================================= [2023-05-30T15:11:14.105Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-30T15:11:14.105Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-30T15:11:14.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T15:11:14.468Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-30T15:11:14.468Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-30T15:11:14.468Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-30T15:11:14.468Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-30T15:11:14.468Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-30T15:11:14.468Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:11:14.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:11:14.808Z] [2023-05-30T15:11:14.808Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:11:15.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:11:15.112Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-30T15:11:15.112Z] b85a868b505f: Pulling fs layer [2023-05-30T15:11:15.112Z] e2be974225ed: Pulling fs layer [2023-05-30T15:11:15.112Z] 339a4e72a1f5: Pulling fs layer [2023-05-30T15:11:15.112Z] 988bab9f4d93: Pulling fs layer [2023-05-30T15:11:15.112Z] 1469e6f7b9e6: Pulling fs layer [2023-05-30T15:11:15.112Z] eaf3925da568: Pulling fs layer [2023-05-30T15:11:15.112Z] bab4dde63d76: Pulling fs layer [2023-05-30T15:11:15.112Z] bde34c3a00c8: Pulling fs layer [2023-05-30T15:11:15.112Z] b352a97aabf1: Pulling fs layer [2023-05-30T15:11:15.112Z] 4872d77fe225: Pulling fs layer [2023-05-30T15:11:15.112Z] 5851b861e8e6: Pulling fs layer [2023-05-30T15:11:15.112Z] 988bab9f4d93: Waiting [2023-05-30T15:11:15.112Z] 1469e6f7b9e6: Waiting [2023-05-30T15:11:15.112Z] eaf3925da568: Waiting [2023-05-30T15:11:15.112Z] bab4dde63d76: Waiting [2023-05-30T15:11:15.112Z] bde34c3a00c8: Waiting [2023-05-30T15:11:15.112Z] b352a97aabf1: Waiting [2023-05-30T15:11:15.112Z] 4872d77fe225: Waiting [2023-05-30T15:11:15.112Z] 5851b861e8e6: Waiting [2023-05-30T15:11:15.112Z] e2be974225ed: Verifying Checksum [2023-05-30T15:11:15.112Z] e2be974225ed: Download complete [2023-05-30T15:11:15.112Z] 988bab9f4d93: Verifying Checksum [2023-05-30T15:11:15.112Z] 988bab9f4d93: Download complete [2023-05-30T15:11:15.112Z] 339a4e72a1f5: Verifying Checksum [2023-05-30T15:11:15.112Z] 339a4e72a1f5: Download complete [2023-05-30T15:11:15.112Z] 1469e6f7b9e6: Verifying Checksum [2023-05-30T15:11:15.112Z] 1469e6f7b9e6: Download complete [2023-05-30T15:11:15.373Z] eaf3925da568: Verifying Checksum [2023-05-30T15:11:15.373Z] eaf3925da568: Download complete [2023-05-30T15:11:15.373Z] bde34c3a00c8: Download complete [2023-05-30T15:11:15.373Z] b352a97aabf1: Verifying Checksum [2023-05-30T15:11:15.373Z] b352a97aabf1: Download complete [2023-05-30T15:11:15.373Z] 4872d77fe225: Verifying Checksum [2023-05-30T15:11:15.373Z] 4872d77fe225: Download complete [2023-05-30T15:11:15.373Z] 5851b861e8e6: Verifying Checksum [2023-05-30T15:11:15.373Z] 5851b861e8e6: Download complete [2023-05-30T15:11:15.373Z] b85a868b505f: Verifying Checksum [2023-05-30T15:11:15.373Z] b85a868b505f: Download complete [2023-05-30T15:11:15.634Z] bab4dde63d76: Verifying Checksum [2023-05-30T15:11:15.634Z] bab4dde63d76: Download complete [2023-05-30T15:11:16.573Z] b85a868b505f: Pull complete [2023-05-30T15:11:16.833Z] e2be974225ed: Pull complete [2023-05-30T15:11:17.403Z] 339a4e72a1f5: Pull complete [2023-05-30T15:11:17.403Z] 988bab9f4d93: Pull complete [2023-05-30T15:11:17.662Z] 1469e6f7b9e6: Pull complete [2023-05-30T15:11:17.662Z] eaf3925da568: Pull complete [2023-05-30T15:11:19.569Z] bab4dde63d76: Pull complete [2023-05-30T15:11:19.569Z] bde34c3a00c8: Pull complete [2023-05-30T15:11:19.829Z] b352a97aabf1: Pull complete [2023-05-30T15:11:19.829Z] 4872d77fe225: Pull complete [2023-05-30T15:11:19.829Z] 5851b861e8e6: Pull complete [2023-05-30T15:11:20.091Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-30T15:11:20.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:11:20.091Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:11:20.181Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:11:20.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T15:11:23.871Z] $ docker top 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda -eo pid,comm [2023-05-30T15:11:23.929Z] 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-05-30T15:11:23.929Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T15:11:23.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T15:11:23.969Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T15:11:24.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T15:11:24.093Z] $ docker exec 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda ssh-agent [2023-05-30T15:11:24.206Z] SSH_AUTH_SOCK=/tmp/ssh-At5ydrTmefWQ/agent.33 [2023-05-30T15:11:24.206Z] SSH_AGENT_PID=39 [2023-05-30T15:11:24.215Z] Running ssh-add (command line suppressed) [2023-05-30T15:11:24.320Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15797289717507495407.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15797289717507495407.key) [2023-05-30T15:11:24.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T15:11:24.622Z] + git tag --points-at HEAD [Pipeline] } [2023-05-30T15:11:24.635Z] $ docker exec --env ******** --env ******** 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda ssh-agent -k [2023-05-30T15:11:24.737Z] unset SSH_AUTH_SOCK; [2023-05-30T15:11:24.737Z] unset SSH_AGENT_PID; [2023-05-30T15:11:24.737Z] echo Agent pid 39 killed; [2023-05-30T15:11:24.744Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-30T15:11:24.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T15:11:24.765Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T15:11:24.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T15:11:24.882Z] $ docker exec 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda ssh-agent [2023-05-30T15:11:24.998Z] SSH_AUTH_SOCK=/tmp/ssh-7pKh3o2yu7sv/agent.71 [2023-05-30T15:11:24.998Z] SSH_AGENT_PID=77 [2023-05-30T15:11:25.003Z] Running ssh-add (command line suppressed) [2023-05-30T15:11:25.113Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4225505998677746897.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4225505998677746897.key) [2023-05-30T15:11:25.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T15:11:25.425Z] + git semver init [2023-05-30T15:11:25.686Z] 2023-05-30 15:11:25,610 [run_init] DEBUG init version:0.0.0 force:False [2023-05-30T15:11:25.686Z] 2023-05-30 15:11:25,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-30T15:11:25.686Z] 2023-05-30 15:11:25,611 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-05-30T15:11:25.686Z] 2023-05-30 15:11:25,611 [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-05-30T15:11:26.628Z] 2023-05-30 15:11:26,498 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-05-30T15:11:26.628Z] 2023-05-30 15:11:26,499 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-05-30T15:11:26.628Z] 2023-05-30 15:11:26,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:11:26.628Z] 2023-05-30 15:11:26,499 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:11:26.628Z] 3.0.1-dev.1 [Pipeline] } [2023-05-30T15:11:26.640Z] $ docker exec --env ******** --env ******** 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda ssh-agent -k [2023-05-30T15:11:26.732Z] unset SSH_AUTH_SOCK; [2023-05-30T15:11:26.732Z] unset SSH_AGENT_PID; [2023-05-30T15:11:26.732Z] echo Agent pid 77 killed; [2023-05-30T15:11:26.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T15:11:27.043Z] + git semver [Pipeline] } [2023-05-30T15:11:27.319Z] $ docker stop --time=1 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda [2023-05-30T15:11:28.621Z] $ docker rm -f --volumes 11c5bb618442e83590b1f5a2e1bf26baafaa31d7338706ca982a4817f250fdda [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T15:11:28.952Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-30T15:11:29.191Z] Stashed 1 file(s) [Pipeline] echo [2023-05-30T15:11:29.194Z] [edgeXSemver]: initialized semver on version 3.0.1-dev.1 [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-05-30T15:11:29.278Z] provisioning config files... [2023-05-30T15:11:29.288Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10824133107097926507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:11:29.583Z] ---> docker-login.sh [2023-05-30T15:11:29.583Z] nexus3.edgexfoundry.org:10001 [2023-05-30T15:11:29.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:29.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:29.583Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:29.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:29.583Z] [2023-05-30T15:11:29.583Z] Login Succeeded [2023-05-30T15:11:29.583Z] nexus3.edgexfoundry.org:10002 [2023-05-30T15:11:29.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:29.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:29.583Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:29.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:29.583Z] [2023-05-30T15:11:29.583Z] Login Succeeded [2023-05-30T15:11:29.583Z] nexus3.edgexfoundry.org:10003 [2023-05-30T15:11:29.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:29.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:29.843Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:29.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:29.843Z] [2023-05-30T15:11:29.843Z] Login Succeeded [2023-05-30T15:11:29.843Z] nexus3.edgexfoundry.org:10004 [2023-05-30T15:11:29.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:29.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:29.843Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:29.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:29.843Z] [2023-05-30T15:11:29.843Z] Login Succeeded [2023-05-30T15:11:29.843Z] docker.io [2023-05-30T15:11:30.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:11:30.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:11:30.104Z] Configure a credential helper to remove this warning. See [2023-05-30T15:11:30.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:11:30.104Z] [2023-05-30T15:11:30.104Z] Login Succeeded [2023-05-30T15:11:30.104Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T15:11:30.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T15:11:30.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T15:11:30.188Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-30T15:11:30.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T15:11:30.201Z] ========================================================= [2023-05-30T15:11:30.201Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-30T15:11:30.201Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:11:30.502Z] + 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-05-30T15:11:30.502Z] Sending build context to Docker daemon 4.859MB [2023-05-30T15:11:30.503Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T15:11:30.503Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T15:11:30.503Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-30T15:11:30.503Z] 91d30c5bc195: Pulling fs layer [2023-05-30T15:11:30.503Z] 316e5a4585fb: Pulling fs layer [2023-05-30T15:11:30.761Z] 91d30c5bc195: Download complete [2023-05-30T15:11:30.761Z] 91d30c5bc195: Pull complete [2023-05-30T15:11:31.329Z] 316e5a4585fb: Verifying Checksum [2023-05-30T15:11:31.329Z] 316e5a4585fb: Download complete [2023-05-30T15:11:34.637Z] 316e5a4585fb: Pull complete [2023-05-30T15:11:34.637Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-05-30T15:11:34.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-30T15:11:34.637Z] ---> e83ffa357ff4 [2023-05-30T15:11:34.637Z] 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-05-30T15:11:36.574Z] ---> Running in bc336e753a8e [2023-05-30T15:11:36.574Z] Connecting to iotech.jfrog.io (52.19.184.167:443) [2023-05-30T15:11:36.833Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:11:36.834Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:11:36.834Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:11:37.403Z] Removing intermediate container bc336e753a8e [2023-05-30T15:11:37.403Z] ---> c9952c857080 [2023-05-30T15:11:37.403Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:11:37.403Z] ---> Running in 398fbb52c2d5 [2023-05-30T15:11:37.972Z] Removing intermediate container 398fbb52c2d5 [2023-05-30T15:11:37.972Z] ---> 5883460fb3c0 [2023-05-30T15:11:37.972Z] 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-05-30T15:11:37.972Z] ---> Running in 71d991bad6c9 [2023-05-30T15:11:38.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:11:38.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T15:11:38.750Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:11:39.318Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:11:39.318Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:11:39.318Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:11:39.318Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T15:11:39.318Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T15:11:39.318Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T15:11:39.886Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T15:11:40.145Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T15:11:40.145Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T15:11:40.145Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T15:11:40.145Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T15:11:40.712Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T15:11:40.712Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T15:11:40.712Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T15:11:40.712Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T15:11:40.712Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T15:11:40.712Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T15:11:40.970Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:11:40.970Z] OK: 280 MiB in 90 packages [2023-05-30T15:11:41.536Z] Removing intermediate container 71d991bad6c9 [2023-05-30T15:11:41.536Z] ---> 7e8f13770c21 [2023-05-30T15:11:41.536Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T15:11:41.536Z] ---> Running in 2ed9357845a3 [2023-05-30T15:11:42.913Z] Removing intermediate container 2ed9357845a3 [2023-05-30T15:11:42.913Z] ---> a89d1a840619 [2023-05-30T15:11:42.913Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T15:11:43.171Z] ---> 5f392e346218 [2023-05-30T15:11:43.171Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T15:11:43.430Z] ---> 9de194a10c15 [2023-05-30T15:11:43.431Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T15:11:43.691Z] ---> 41c487375a65 [2023-05-30T15:11:43.691Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T15:11:43.953Z] ---> 302517591d49 [2023-05-30T15:11:43.953Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T15:11:44.239Z] ---> 02a3893c0351 [2023-05-30T15:11:44.239Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T15:11:44.251Z] Still waiting to schedule task [2023-05-30T15:11:44.252Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17304’ [2023-05-30T15:11:44.522Z] ---> 3468a38b9e23 [2023-05-30T15:11:44.522Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T15:11:45.090Z] ---> Running in 98769cf06cf7 [2023-05-30T15:11:45.656Z] + CPPCHECK=false [2023-05-30T15:11:45.656Z] + DOCGEN=false [2023-05-30T15:11:45.656Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T15:11:45.656Z] + '[' 0 -gt 0 ] [2023-05-30T15:11:45.656Z] + readlink -f ./scripts/build.sh [2023-05-30T15:11:45.656Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T15:11:45.656Z] + dirname /tmp/sdk/scripts [2023-05-30T15:11:45.656Z] + ROOT=/tmp/sdk [2023-05-30T15:11:45.656Z] + cd /tmp/sdk [2023-05-30T15:11:45.656Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T15:11:45.656Z] + cd /tmp/sdk/build/release [2023-05-30T15:11:45.656Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T15:11:45.656Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T15:11:45.656Z] -- Detecting C compiler ABI info [2023-05-30T15:11:45.656Z] -- Detecting C compiler ABI info - done [2023-05-30T15:11:45.657Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T15:11:45.657Z] -- Detecting C compile features [2023-05-30T15:11:45.657Z] -- Detecting C compile features - done [2023-05-30T15:11:45.657Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T15:11:45.915Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T15:11:45.915Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T15:11:45.915Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T15:11:45.915Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T15:11:45.915Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T15:11:45.915Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T15:11:45.915Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T15:11:45.915Z] -- /opt/iotech/iot/1.5/include [2023-05-30T15:11:45.915Z] -- C SDK 3.0.1-dev.1 for Linux [2023-05-30T15:11:45.915Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T15:11:45.915Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T15:11:45.915Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T15:11:45.915Z] -- Configuring done [2023-05-30T15:11:45.915Z] -- Generating done [2023-05-30T15:11:45.915Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T15:11:45.915Z] + make all package [2023-05-30T15:11:45.915Z] + tee release.log [2023-05-30T15:11:46.191Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T15:11:46.191Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T15:11:46.450Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T15:11:46.450Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T15:11:46.709Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T15:11:46.709Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T15:11:47.277Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T15:11:47.277Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T15:11:47.535Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T15:11:47.535Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T15:11:48.104Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T15:11:48.104Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T15:11:48.365Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T15:11:48.365Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T15:11:48.365Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T15:11:48.625Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T15:11:48.625Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T15:11:49.193Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T15:11:49.193Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T15:11:49.193Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T15:11:49.452Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T15:11:50.387Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T15:11:50.644Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T15:11:50.644Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T15:11:50.645Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T15:11:50.903Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T15:11:51.161Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T15:11:51.421Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T15:11:51.681Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T15:11:51.681Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T15:11:51.940Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T15:11:52.509Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T15:11:52.509Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T15:11:52.509Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T15:11:52.769Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T15:11:52.769Z] [ 68%] Built target csdk [2023-05-30T15:11:52.769Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T15:11:53.028Z] [ 72%] Linking C executable template [2023-05-30T15:11:53.028Z] [ 72%] Built target template [2023-05-30T15:11:53.028Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T15:11:53.028Z] [ 76%] Linking C executable device-counter [2023-05-30T15:11:53.287Z] [ 76%] Built target device-counter [2023-05-30T15:11:53.287Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T15:11:53.287Z] [ 80%] Linking C executable device-random [2023-05-30T15:11:53.287Z] [ 80%] Built target device-random [2023-05-30T15:11:53.287Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T15:11:53.546Z] [ 84%] Linking C executable device-gyro [2023-05-30T15:11:53.546Z] [ 84%] Built target device-gyro [2023-05-30T15:11:53.546Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T15:11:53.804Z] [ 88%] Linking C executable device-bitfields [2023-05-30T15:11:53.804Z] [ 88%] Built target device-bitfields [2023-05-30T15:11:53.804Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T15:11:53.804Z] [ 92%] Linking C executable template-discovery [2023-05-30T15:11:54.064Z] [ 92%] Built target template-discovery [2023-05-30T15:11:54.064Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T15:11:54.064Z] [ 96%] Linking C executable device-file [2023-05-30T15:11:54.324Z] [ 96%] Built target device-file [2023-05-30T15:11:54.324Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T15:11:54.324Z] [100%] Linking C executable device-terminal [2023-05-30T15:11:54.324Z] [100%] Built target device-terminal [2023-05-30T15:11:54.324Z] Run CPack packaging tool... [2023-05-30T15:11:54.584Z] CPack: Create package using TGZ [2023-05-30T15:11:54.584Z] CPack: Install projects [2023-05-30T15:11:54.584Z] CPack: - Run preinstall target for: Csdk [2023-05-30T15:11:54.584Z] CPack: - Install project: Csdk [] [2023-05-30T15:11:54.584Z] CPack: Create package [2023-05-30T15:11:54.843Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.1-dev.1.tar.gz generated. [2023-05-30T15:11:54.843Z] + '[' false '=' true ] [2023-05-30T15:11:54.843Z] + '[' false '=' true ] [2023-05-30T15:11:54.843Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T15:11:54.843Z] + cd /tmp/sdk/build/debug [2023-05-30T15:11:54.843Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T15:11:54.843Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T15:11:54.843Z] -- Detecting C compiler ABI info [2023-05-30T15:11:54.843Z] -- Detecting C compiler ABI info - done [2023-05-30T15:11:54.843Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T15:11:54.843Z] -- Detecting C compile features [2023-05-30T15:11:54.843Z] -- Detecting C compile features - done [2023-05-30T15:11:54.843Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T15:11:54.843Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T15:11:54.843Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T15:11:54.843Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T15:11:54.843Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T15:11:54.843Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T15:11:54.843Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T15:11:54.843Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T15:11:54.843Z] -- /opt/iotech/iot/1.5/include [2023-05-30T15:11:54.843Z] -- C SDK 3.0.1-dev.1 for Linux [2023-05-30T15:11:54.843Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T15:11:55.104Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T15:11:55.104Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T15:11:55.104Z] -- Configuring done [2023-05-30T15:11:55.104Z] -- Generating done [2023-05-30T15:11:55.104Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T15:11:55.104Z] + tee debug.log [2023-05-30T15:11:55.104Z] + make [2023-05-30T15:11:55.104Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T15:11:55.362Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T15:11:55.362Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T15:11:55.362Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T15:11:55.622Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T15:11:55.622Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T15:11:55.622Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T15:11:55.880Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T15:11:55.880Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T15:11:55.880Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T15:11:56.140Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T15:11:56.140Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T15:11:56.140Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T15:11:56.400Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T15:11:56.400Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T15:11:56.400Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T15:11:56.660Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T15:11:56.660Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T15:11:56.660Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T15:11:56.920Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T15:11:56.920Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T15:11:57.178Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T15:11:57.178Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T15:11:57.437Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T15:11:57.437Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T15:11:57.437Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T15:11:57.437Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T15:11:57.696Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T15:11:57.956Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T15:11:57.956Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T15:11:57.956Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T15:11:58.216Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T15:11:58.216Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T15:11:58.216Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T15:11:58.476Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T15:11:58.476Z] [ 68%] Built target csdk [2023-05-30T15:11:58.476Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T15:11:58.476Z] [ 72%] Linking C executable template [2023-05-30T15:11:58.735Z] [ 72%] Built target template [2023-05-30T15:11:58.735Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T15:11:58.735Z] [ 76%] Linking C executable device-counter [2023-05-30T15:11:58.735Z] [ 76%] Built target device-counter [2023-05-30T15:11:58.735Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T15:11:58.995Z] [ 80%] Linking C executable device-random [2023-05-30T15:11:58.995Z] [ 80%] Built target device-random [2023-05-30T15:11:58.995Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T15:11:58.995Z] [ 84%] Linking C executable device-gyro [2023-05-30T15:11:58.995Z] [ 84%] Built target device-gyro [2023-05-30T15:11:58.995Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T15:11:59.255Z] [ 88%] Linking C executable device-bitfields [2023-05-30T15:11:59.255Z] [ 88%] Built target device-bitfields [2023-05-30T15:11:59.255Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T15:11:59.255Z] [ 92%] Linking C executable template-discovery [2023-05-30T15:11:59.514Z] [ 92%] Built target template-discovery [2023-05-30T15:11:59.514Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T15:11:59.514Z] [ 96%] Linking C executable device-file [2023-05-30T15:11:59.514Z] [ 96%] Built target device-file [2023-05-30T15:11:59.514Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T15:11:59.773Z] [100%] Linking C executable device-terminal [2023-05-30T15:11:59.773Z] [100%] Built target device-terminal [2023-05-30T15:11:59.773Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] [ 68%] Built target csdk [2023-05-30T15:11:59.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] [ 72%] Built target template [2023-05-30T15:11:59.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] [ 76%] Built target device-counter [2023-05-30T15:11:59.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] [ 80%] Built target device-random [2023-05-30T15:11:59.773Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:11:59.773Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] [ 84%] Built target device-gyro [2023-05-30T15:12:00.033Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] [ 88%] Built target device-bitfields [2023-05-30T15:12:00.033Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] [ 92%] Built target template-discovery [2023-05-30T15:12:00.033Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] [ 96%] Built target device-file [2023-05-30T15:12:00.033Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] [100%] Built target device-terminal [2023-05-30T15:12:00.033Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.033Z] Install the project... [2023-05-30T15:12:00.033Z] -- Install configuration: "Release" [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T15:12:00.033Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/devsdk [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T15:12:00.033Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T15:12:00.033Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:12:00.601Z] Removing intermediate container 98769cf06cf7 [2023-05-30T15:12:00.601Z] ---> 1e6cefd7af33 [2023-05-30T15:12:00.601Z] Step 14/21 : FROM ${BASE} [2023-05-30T15:12:00.601Z] ---> e83ffa357ff4 [2023-05-30T15:12:00.601Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T15:12:00.601Z] ---> Running in eec92d7d73ae [2023-05-30T15:12:00.858Z] Removing intermediate container eec92d7d73ae [2023-05-30T15:12:00.859Z] ---> 7df83000abe5 [2023-05-30T15:12:00.859Z] 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-05-30T15:12:00.859Z] ---> Running in 4137416ae25c [2023-05-30T15:12:01.119Z] Connecting to iotech.jfrog.io (52.210.34.208:443) [2023-05-30T15:12:01.690Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:12:01.690Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:12:01.690Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:12:01.949Z] Removing intermediate container 4137416ae25c [2023-05-30T15:12:01.949Z] ---> cd8d83402cbb [2023-05-30T15:12:01.949Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:12:01.949Z] ---> Running in 3ecee10984b3 [2023-05-30T15:12:02.519Z] Removing intermediate container 3ecee10984b3 [2023-05-30T15:12:02.519Z] ---> 54b6c9e24793 [2023-05-30T15:12:02.519Z] 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-05-30T15:12:02.519Z] ---> Running in bd67c19062d1 [2023-05-30T15:12:02.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:02.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:03.038Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:03.609Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:12:03.609Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T15:12:03.871Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T15:12:03.871Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T15:12:03.871Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T15:12:04.439Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T15:12:04.439Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T15:12:04.439Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T15:12:05.377Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:12:05.377Z] OK: 276 MiB in 83 packages [2023-05-30T15:12:05.637Z] Removing intermediate container bd67c19062d1 [2023-05-30T15:12:05.637Z] ---> 14e42c0cdd34 [2023-05-30T15:12:05.637Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T15:12:05.637Z] ---> 59f180596ca6 [2023-05-30T15:12:05.637Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T15:12:05.897Z] ---> 61dba5c38a6a [2023-05-30T15:12:05.897Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T15:12:05.897Z] ---> e2eb2bd75de4 [2023-05-30T15:12:05.897Z] Successfully built e2eb2bd75de4 [2023-05-30T15:12:05.897Z] 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-05-30T15:12:06.274Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-30T15:12:06.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:12:06.348Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:12:06.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-30T15:12:06.721Z] $ docker top 478b74e1d1fbc02d2979d6a4b8aa43f824ca77403cd283ad732a67e877296e6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T15:12:07.054Z] + make test [2023-05-30T15:12:07.054Z] echo "make test" [2023-05-30T15:12:07.054Z] make test [Pipeline] } [2023-05-30T15:12:07.067Z] $ docker stop --time=1 478b74e1d1fbc02d2979d6a4b8aa43f824ca77403cd283ad732a67e877296e6b [2023-05-30T15:12:08.378Z] $ docker rm -f --volumes 478b74e1d1fbc02d2979d6a4b8aa43f824ca77403cd283ad732a67e877296e6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T15:12:08.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T15:12:09.158Z] + ls -al . [2023-05-30T15:12:09.158Z] total 212 [2023-05-30T15:12:09.158Z] drwxrwxr-x 9 jenkins jenkins 4096 May 30 15:11 . [2023-05-30T15:12:09.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:11 .. [2023-05-30T15:12:09.158Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:11 .git [2023-05-30T15:12:09.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:11 .github [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 15:11 .gitignore [2023-05-30T15:12:09.158Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:11 .semver [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 15:11 Attribution.txt [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 15:11 CHANGES [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 15:11 Doxyfile [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:11 GOVERNANCE.md [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 15:11 Jenkinsfile [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 15:11 LICENSE [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 15:11 Makefile [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 15:11 OWNERS.md [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 15:11 README.IOT.md [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 15:11 README.md [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 15:11 README.v3.md [2023-05-30T15:12:09.158Z] -rw-rw-r-- 1 jenkins jenkins 11 May 30 15:11 VERSION [2023-05-30T15:12:09.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:11 docs [2023-05-30T15:12:09.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:11 include [2023-05-30T15:12:09.158Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:11 scripts [2023-05-30T15:12:09.158Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:12:09.457Z] + 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=629b9722aa39bd0efb276d4c775a85c2ba734e30 --label arch=amd64 --label version=3.0.1-dev.1 . [2023-05-30T15:12:09.457Z] Sending build context to Docker daemon 4.859MB [2023-05-30T15:12:09.457Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T15:12:09.457Z] Step 2/17 : FROM ${BASE} [2023-05-30T15:12:09.457Z] ---> e2eb2bd75de4 [2023-05-30T15:12:09.457Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T15:12:09.457Z] ---> Running in f1549d29c002 [2023-05-30T15:12:09.457Z] Removing intermediate container f1549d29c002 [2023-05-30T15:12:09.457Z] ---> 2f449ed7f6cc [2023-05-30T15:12:09.457Z] 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-05-30T15:12:09.457Z] ---> Running in d030308dd889 [2023-05-30T15:12:09.717Z] Connecting to iotech.jfrog.io (52.210.34.208:443) [2023-05-30T15:12:10.286Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:12:10.286Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:12:10.286Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:12:10.545Z] Removing intermediate container d030308dd889 [2023-05-30T15:12:10.545Z] ---> 258e68f6cd57 [2023-05-30T15:12:10.545Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:12:10.545Z] ---> Running in 32cedd60029a [2023-05-30T15:12:11.112Z] Removing intermediate container 32cedd60029a [2023-05-30T15:12:11.112Z] ---> 062ce9033dc7 [2023-05-30T15:12:11.112Z] 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-05-30T15:12:11.112Z] ---> Running in 263d3ea8d47a [2023-05-30T15:12:11.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:11.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:11.371Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-30T15:12:11.939Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:12:11.939Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:12:11.939Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:12:11.939Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T15:12:12.877Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T15:12:12.877Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T15:12:12.877Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T15:12:12.877Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T15:12:12.877Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T15:12:12.877Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T15:12:12.877Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T15:12:12.877Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T15:12:12.877Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:12:12.877Z] OK: 281 MiB in 92 packages [2023-05-30T15:12:13.445Z] Removing intermediate container 263d3ea8d47a [2023-05-30T15:12:13.445Z] ---> 25143b5fb357 [2023-05-30T15:12:13.446Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T15:12:13.446Z] ---> ffb7dec79429 [2023-05-30T15:12:13.446Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T15:12:13.702Z] ---> fdef569098f1 [2023-05-30T15:12:13.702Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T15:12:13.702Z] ---> d035b732556e [2023-05-30T15:12:13.702Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T15:12:13.963Z] ---> ee3f29e8ff54 [2023-05-30T15:12:13.963Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T15:12:13.963Z] ---> 8e7e3e094e24 [2023-05-30T15:12:13.963Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T15:12:14.222Z] ---> a0fab5c47ccf [2023-05-30T15:12:14.222Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T15:12:14.222Z] ---> Running in 653b7015fefc [2023-05-30T15:12:14.222Z] Removing intermediate container 653b7015fefc [2023-05-30T15:12:14.222Z] ---> d54b33cf19c1 [2023-05-30T15:12:14.222Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T15:12:14.222Z] ---> Running in 15d5b42c7a09 [2023-05-30T15:12:14.482Z] Removing intermediate container 15d5b42c7a09 [2023-05-30T15:12:14.482Z] ---> a55842f7d1f7 [2023-05-30T15:12:14.482Z] Step 15/17 : LABEL arch=amd64 [2023-05-30T15:12:14.482Z] ---> Running in 1afaa1f28c3f [2023-05-30T15:12:14.482Z] Removing intermediate container 1afaa1f28c3f [2023-05-30T15:12:14.482Z] ---> 7ce643ac4c6e [2023-05-30T15:12:14.482Z] Step 16/17 : LABEL git_sha=629b9722aa39bd0efb276d4c775a85c2ba734e30 [2023-05-30T15:12:14.482Z] ---> Running in 632173d5aebd [2023-05-30T15:12:14.482Z] Removing intermediate container 632173d5aebd [2023-05-30T15:12:14.482Z] ---> 1009cd811d77 [2023-05-30T15:12:14.482Z] Step 17/17 : LABEL version=3.0.1-dev.1 [2023-05-30T15:12:14.482Z] ---> Running in b010607e05d3 [2023-05-30T15:12:14.741Z] Removing intermediate container b010607e05d3 [2023-05-30T15:12:14.741Z] ---> e58a946a9cf9 [2023-05-30T15:12:14.741Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-30T15:12:14.741Z] Successfully built e58a946a9cf9 [2023-05-30T15:12:14.741Z] 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-05-30T15:12:15.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T15:12:15.165Z] [2023-05-30T15:12:15.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:12:15.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T15:12:15.458Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-30T15:12:15.458Z] 5eb5b503b376: Pulling fs layer [2023-05-30T15:12:15.458Z] 5c69ac0246d0: Pulling fs layer [2023-05-30T15:12:15.458Z] ec43610c2a17: Pulling fs layer [2023-05-30T15:12:15.458Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-30T15:12:15.458Z] 33b1e0a273af: Pulling fs layer [2023-05-30T15:12:15.458Z] 5d3b04190fa2: Pulling fs layer [2023-05-30T15:12:15.458Z] 2f39f015ded8: Pulling fs layer [2023-05-30T15:12:15.458Z] 33b1e0a273af: Waiting [2023-05-30T15:12:15.458Z] 5d3b04190fa2: Waiting [2023-05-30T15:12:15.458Z] 2f39f015ded8: Waiting [2023-05-30T15:12:15.458Z] 3a2ae6a8a46f: Waiting [2023-05-30T15:12:15.458Z] 5c69ac0246d0: Download complete [2023-05-30T15:12:15.458Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-30T15:12:15.458Z] 3a2ae6a8a46f: Download complete [2023-05-30T15:12:15.458Z] 33b1e0a273af: Verifying Checksum [2023-05-30T15:12:15.458Z] 33b1e0a273af: Download complete [2023-05-30T15:12:15.458Z] ec43610c2a17: Verifying Checksum [2023-05-30T15:12:15.458Z] ec43610c2a17: Download complete [2023-05-30T15:12:15.458Z] 5d3b04190fa2: Download complete [2023-05-30T15:12:15.716Z] 5eb5b503b376: Verifying Checksum [2023-05-30T15:12:15.716Z] 5eb5b503b376: Download complete [2023-05-30T15:12:16.280Z] 2f39f015ded8: Verifying Checksum [2023-05-30T15:12:16.280Z] 2f39f015ded8: Download complete [2023-05-30T15:12:16.847Z] 5eb5b503b376: Pull complete [2023-05-30T15:12:17.105Z] 5c69ac0246d0: Pull complete [2023-05-30T15:12:17.672Z] ec43610c2a17: Pull complete [2023-05-30T15:12:17.672Z] 3a2ae6a8a46f: Pull complete [2023-05-30T15:12:17.939Z] 33b1e0a273af: Pull complete [2023-05-30T15:12:17.939Z] 5d3b04190fa2: Pull complete [2023-05-30T15:12:23.215Z] 2f39f015ded8: Pull complete [2023-05-30T15:12:23.215Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-30T15:12:23.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T15:12:23.215Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:12:23.395Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:12:23.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T15:12:28.481Z] $ docker top d5339d650931ff1f0d5c1c1cea0791c1925a8a347962346a137fcafecc7a12ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:12:28.903Z] ---> job-cost.sh [2023-05-30T15:12:28.903Z] lf-activate-venv: SKIPPING [2023-05-30T15:12:28.903Z] INFO: No Stack... [2023-05-30T15:12:29.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T15:12:29.732Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T15:12:30.022Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-05-30T15:12:30.022Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T15:12:30.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [2023-05-30T15:12:30.043Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] did not exist. Created. [2023-05-30T15:12:30.043Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T15:12:30.345Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-30T15:12:30.379Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T15:12:30.386Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T15:12:30.409Z] $ docker stop --time=1 d5339d650931ff1f0d5c1c1cea0791c1925a8a347962346a137fcafecc7a12ee [2023-05-30T15:12:31.558Z] $ docker rm -f --volumes d5339d650931ff1f0d5c1c1cea0791c1925a8a347962346a137fcafecc7a12ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-30T15:15:10.505Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17307 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-05-30T15:15:10.515Z] Running in /w/workspace/device-sdk-c/48 [Pipeline] { [Pipeline] checkout [2023-05-30T15:15:10.549Z] Selected Git installation does not exist. Using Default [2023-05-30T15:15:10.549Z] The recommended git tool is: NONE [2023-05-30T15:15:16.249Z] using credential edgex-jenkins-ssh [2023-05-30T15:15:16.271Z] Cloning the remote Git repository [2023-05-30T15:15:16.321Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T15:15:16.425Z] > git init /w/workspace/device-sdk-c/48 # timeout=10 [2023-05-30T15:15:16.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-30T15:15:16.579Z] > git --version # timeout=10 [2023-05-30T15:15:16.600Z] > git --version # 'git version 2.25.1' [2023-05-30T15:15:16.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-30T15:15:16.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T15:15:17.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-30T15:15:17.967Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-30T15:15:18.807Z] Avoid second fetch [2023-05-30T15:15:18.807Z] Checking out Revision 629b9722aa39bd0efb276d4c775a85c2ba734e30 (main) [2023-05-30T15:15:19.435Z] Commit message: "fix: loading insecure secrets from config (#458)" [2023-05-30T15:15:18.823Z] > git config core.sparsecheckout # timeout=10 [2023-05-30T15:15:18.895Z] > git checkout -f 629b9722aa39bd0efb276d4c775a85c2ba734e30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T15:15:20.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-30T15:15:20.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-30T15:15:20.472Z] Dload Upload Total Spent Left Speed [2023-05-30T15:15:20.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-05-30T15:15:21.045Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-30T15:15:21.381Z] + sudo tee /etc/docker/daemon.new [2023-05-30T15:15:21.381Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-30T15:15:21.381Z] { [2023-05-30T15:15:21.381Z] "registry-mirrors": [ [2023-05-30T15:15:21.381Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-30T15:15:21.381Z] ], [2023-05-30T15:15:21.381Z] "bip": "10.250.0.254/24", [2023-05-30T15:15:21.381Z] "hosts": [ [2023-05-30T15:15:21.381Z] "tcp://0.0.0.0:5555", [2023-05-30T15:15:21.381Z] "unix:///var/run/docker.sock" [2023-05-30T15:15:21.381Z] ], [2023-05-30T15:15:21.381Z] "mtu": 1458, [2023-05-30T15:15:21.381Z] "selinux-enabled": true, [2023-05-30T15:15:21.381Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-30T15:15:21.381Z] } [Pipeline] sh [2023-05-30T15:15:21.719Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-30T15:15:22.066Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T15:15:44.191Z] provisioning config files... [2023-05-30T15:15:44.217Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/48@tmp/config15541974790491455866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:15:44.570Z] ---> docker-login.sh [2023-05-30T15:15:44.570Z] nexus3.edgexfoundry.org:10001 [2023-05-30T15:15:45.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:15:45.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:15:45.159Z] Configure a credential helper to remove this warning. See [2023-05-30T15:15:45.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:15:45.159Z] [2023-05-30T15:15:45.159Z] Login Succeeded [2023-05-30T15:15:45.159Z] nexus3.edgexfoundry.org:10002 [2023-05-30T15:15:45.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:15:45.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:15:45.704Z] Configure a credential helper to remove this warning. See [2023-05-30T15:15:45.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:15:45.704Z] [2023-05-30T15:15:45.704Z] Login Succeeded [2023-05-30T15:15:45.704Z] nexus3.edgexfoundry.org:10003 [2023-05-30T15:15:45.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:15:45.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:15:45.978Z] Configure a credential helper to remove this warning. See [2023-05-30T15:15:45.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:15:45.978Z] [2023-05-30T15:15:45.978Z] Login Succeeded [2023-05-30T15:15:45.978Z] nexus3.edgexfoundry.org:10004 [2023-05-30T15:15:46.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:15:46.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:15:46.257Z] Configure a credential helper to remove this warning. See [2023-05-30T15:15:46.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:15:46.257Z] [2023-05-30T15:15:46.257Z] Login Succeeded [2023-05-30T15:15:46.257Z] docker.io [2023-05-30T15:15:46.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-30T15:15:46.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-30T15:15:46.800Z] Configure a credential helper to remove this warning. See [2023-05-30T15:15:46.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-30T15:15:46.800Z] [2023-05-30T15:15:46.800Z] Login Succeeded [2023-05-30T15:15:46.800Z] ---> docker-login.sh ends [Pipeline] } [2023-05-30T15:15:46.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-30T15:15:47.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T15:15:47.094Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-30T15:15:47.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-30T15:15:47.121Z] ========================================================= [2023-05-30T15:15:47.121Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-30T15:15:47.121Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:15:47.472Z] + 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-05-30T15:15:47.744Z] Sending build context to Docker daemon 2.913MB [2023-05-30T15:15:48.014Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-30T15:15:48.014Z] Step 2/21 : FROM ${BASE} as builder [2023-05-30T15:15:48.014Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-30T15:15:48.014Z] 547446be3368: Pulling fs layer [2023-05-30T15:15:48.014Z] 76bd08e1cacc: Pulling fs layer [2023-05-30T15:15:48.297Z] 547446be3368: Download complete [2023-05-30T15:15:48.885Z] 547446be3368: Pull complete [2023-05-30T15:15:50.303Z] 76bd08e1cacc: Verifying Checksum [2023-05-30T15:15:50.303Z] 76bd08e1cacc: Download complete [2023-05-30T15:15:58.556Z] 76bd08e1cacc: Pull complete [2023-05-30T15:15:58.834Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-05-30T15:15:58.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-30T15:15:58.834Z] ---> 295cd00e64f4 [2023-05-30T15:15:58.834Z] 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-05-30T15:15:59.811Z] ---> Running in f3d282c86901 [2023-05-30T15:16:00.781Z] Connecting to iotech.jfrog.io (52.210.34.208:443) [2023-05-30T15:16:01.052Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:16:01.052Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:16:01.052Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:16:02.024Z] Removing intermediate container f3d282c86901 [2023-05-30T15:16:02.024Z] ---> 9f749064c1b1 [2023-05-30T15:16:02.024Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:16:02.024Z] ---> Running in 1269e89748c1 [2023-05-30T15:16:03.451Z] Removing intermediate container 1269e89748c1 [2023-05-30T15:16:03.451Z] ---> e04b0ccb6620 [2023-05-30T15:16:03.451Z] 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-05-30T15:16:03.728Z] ---> Running in 55e9b32bbec6 [2023-05-30T15:16:04.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:16:04.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T15:16:05.571Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:16:06.540Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:16:06.541Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:16:06.541Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:16:06.541Z] (3/16) Installing hiredis (1.0.2-r0) [2023-05-30T15:16:06.541Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-05-30T15:16:06.541Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T15:16:07.125Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T15:16:07.125Z] (7/16) Installing libcbor (0.9.0-r1) [2023-05-30T15:16:07.125Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-05-30T15:16:07.125Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T15:16:07.396Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T15:16:08.365Z] (11/16) Installing libblkid (2.38-r1) [2023-05-30T15:16:08.365Z] (12/16) Installing libuuid (2.38-r1) [2023-05-30T15:16:08.365Z] (13/16) Installing libfdisk (2.38-r1) [2023-05-30T15:16:08.365Z] (14/16) Installing libmount (2.38-r1) [2023-05-30T15:16:08.365Z] (15/16) Installing libsmartcols (2.38-r1) [2023-05-30T15:16:08.365Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-05-30T15:16:08.365Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:16:08.365Z] OK: 286 MiB in 90 packages [2023-05-30T15:16:09.801Z] Removing intermediate container 55e9b32bbec6 [2023-05-30T15:16:09.801Z] ---> 5d17f3e08342 [2023-05-30T15:16:09.801Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-30T15:16:09.801Z] ---> Running in bbc4f9b7e9f1 [2023-05-30T15:16:11.216Z] Removing intermediate container bbc4f9b7e9f1 [2023-05-30T15:16:11.216Z] ---> 3f268a3ea7d5 [2023-05-30T15:16:11.216Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-30T15:16:11.805Z] ---> 774df3e7faad [2023-05-30T15:16:11.805Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-30T15:16:12.781Z] ---> 1644a5ecd445 [2023-05-30T15:16:12.781Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-30T15:16:13.051Z] ---> 95f7ea078440 [2023-05-30T15:16:13.051Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-30T15:16:13.642Z] ---> bb1187721a16 [2023-05-30T15:16:13.642Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-30T15:16:14.227Z] ---> 995f10d4c4fb [2023-05-30T15:16:14.227Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-30T15:16:14.616Z] ---> cc9f04a59002 [2023-05-30T15:16:14.616Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-30T15:16:14.616Z] ---> Running in 976cdfd53c1c [2023-05-30T15:16:15.610Z] + CPPCHECK=false [2023-05-30T15:16:15.610Z] + DOCGEN=false [2023-05-30T15:16:15.610Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-30T15:16:15.610Z] + '[' 0 -gt 0 ] [2023-05-30T15:16:15.610Z] + readlink -f ./scripts/build.sh [2023-05-30T15:16:15.610Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-30T15:16:15.610Z] + dirname /tmp/sdk/scripts [2023-05-30T15:16:15.610Z] + ROOT=/tmp/sdk [2023-05-30T15:16:15.610Z] + cd /tmp/sdk [2023-05-30T15:16:15.610Z] + mkdir -p /tmp/sdk/build/release [2023-05-30T15:16:15.610Z] + cd /tmp/sdk/build/release [2023-05-30T15:16:15.610Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-30T15:16:16.216Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T15:16:16.216Z] -- Detecting C compiler ABI info [2023-05-30T15:16:16.486Z] -- Detecting C compiler ABI info - done [2023-05-30T15:16:16.756Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T15:16:16.756Z] -- Detecting C compile features [2023-05-30T15:16:16.756Z] -- Detecting C compile features - done [2023-05-30T15:16:16.756Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T15:16:17.023Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T15:16:17.023Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T15:16:17.023Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T15:16:17.023Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T15:16:17.023Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T15:16:17.023Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T15:16:17.023Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T15:16:17.023Z] -- /opt/iotech/iot/1.5/include [2023-05-30T15:16:17.023Z] -- C SDK 3.0.1-dev.1 for Linux [2023-05-30T15:16:17.023Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T15:16:17.294Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T15:16:17.563Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T15:16:17.833Z] -- Configuring done [2023-05-30T15:16:18.103Z] -- Generating done [2023-05-30T15:16:18.103Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-30T15:16:18.103Z] + make all package [2023-05-30T15:16:18.103Z] + tee release.log [2023-05-30T15:16:18.103Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T15:16:19.520Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T15:16:20.488Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T15:16:21.455Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T15:16:22.876Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T15:16:23.464Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T15:16:26.820Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T15:16:27.783Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T15:16:28.053Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T15:16:29.466Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T15:16:32.820Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T15:16:33.090Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T15:16:34.506Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T15:16:35.489Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T15:16:36.079Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T15:16:37.492Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T15:16:37.761Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T15:16:41.131Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T15:16:41.131Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T15:16:42.095Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T15:16:44.047Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T15:16:50.706Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T15:16:51.290Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T15:16:51.571Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T15:16:52.534Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T15:16:52.802Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T15:16:55.383Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T15:16:57.967Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T15:16:58.552Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T15:16:59.964Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T15:17:00.550Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T15:17:04.819Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T15:17:05.779Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T15:17:06.364Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T15:17:06.951Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T15:17:07.219Z] [ 68%] Built target csdk [2023-05-30T15:17:07.219Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T15:17:08.630Z] [ 72%] Linking C executable template [2023-05-30T15:17:08.898Z] [ 72%] Built target template [2023-05-30T15:17:08.898Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T15:17:09.487Z] [ 76%] Linking C executable device-counter [2023-05-30T15:17:10.074Z] [ 76%] Built target device-counter [2023-05-30T15:17:10.074Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T15:17:10.660Z] [ 80%] Linking C executable device-random [2023-05-30T15:17:10.928Z] [ 80%] Built target device-random [2023-05-30T15:17:11.196Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T15:17:11.779Z] [ 84%] Linking C executable device-gyro [2023-05-30T15:17:12.046Z] [ 84%] Built target device-gyro [2023-05-30T15:17:12.046Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T15:17:13.011Z] [ 88%] Linking C executable device-bitfields [2023-05-30T15:17:13.278Z] [ 88%] Built target device-bitfields [2023-05-30T15:17:13.278Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T15:17:14.687Z] [ 92%] Linking C executable template-discovery [2023-05-30T15:17:14.687Z] [ 92%] Built target template-discovery [2023-05-30T15:17:14.687Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T15:17:16.101Z] [ 96%] Linking C executable device-file [2023-05-30T15:17:16.101Z] [ 96%] Built target device-file [2023-05-30T15:17:16.101Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T15:17:17.061Z] [100%] Linking C executable device-terminal [2023-05-30T15:17:17.329Z] [100%] Built target device-terminal [2023-05-30T15:17:17.596Z] Run CPack packaging tool... [2023-05-30T15:17:17.596Z] CPack: Create package using TGZ [2023-05-30T15:17:17.596Z] CPack: Install projects [2023-05-30T15:17:17.596Z] CPack: - Run preinstall target for: Csdk [2023-05-30T15:17:18.557Z] CPack: - Install project: Csdk [] [2023-05-30T15:17:18.557Z] CPack: Create package [2023-05-30T15:17:18.557Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.1-dev.1.tar.gz generated. [2023-05-30T15:17:18.557Z] + '[' false '=' true ] [2023-05-30T15:17:18.557Z] + '[' false '=' true ] [2023-05-30T15:17:18.557Z] + mkdir -p /tmp/sdk/build/debug [2023-05-30T15:17:18.557Z] + cd /tmp/sdk/build/debug [2023-05-30T15:17:18.557Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-30T15:17:18.823Z] -- The C compiler identification is GNU 11.2.1 [2023-05-30T15:17:18.823Z] -- Detecting C compiler ABI info [2023-05-30T15:17:19.409Z] -- Detecting C compiler ABI info - done [2023-05-30T15:17:19.409Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-30T15:17:19.409Z] -- Detecting C compile features [2023-05-30T15:17:19.409Z] -- Detecting C compile features - done [2023-05-30T15:17:19.409Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-30T15:17:19.676Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-05-30T15:17:19.676Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-30T15:17:19.676Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-30T15:17:19.676Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-30T15:17:19.676Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-30T15:17:19.676Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-30T15:17:19.676Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-30T15:17:19.676Z] -- /opt/iotech/iot/1.5/include [2023-05-30T15:17:19.676Z] -- C SDK 3.0.1-dev.1 for Linux [2023-05-30T15:17:19.676Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-30T15:17:19.944Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-30T15:17:20.211Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-30T15:17:20.211Z] -- Configuring done [2023-05-30T15:17:20.795Z] -- Generating done [2023-05-30T15:17:20.795Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-30T15:17:20.795Z] + + teemake [2023-05-30T15:17:20.795Z] debug.log [2023-05-30T15:17:20.795Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-30T15:17:21.377Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-30T15:17:21.962Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-30T15:17:22.229Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-30T15:17:22.812Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-30T15:17:23.395Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-30T15:17:24.354Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-30T15:17:24.938Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-30T15:17:24.938Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-30T15:17:25.525Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-30T15:17:26.486Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-30T15:17:27.071Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-30T15:17:27.655Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-30T15:17:27.923Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-30T15:17:28.507Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-30T15:17:29.092Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-30T15:17:29.360Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-30T15:17:30.319Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-30T15:17:30.588Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-30T15:17:30.855Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-30T15:17:31.815Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-30T15:17:33.223Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-30T15:17:33.808Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-30T15:17:34.075Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-30T15:17:34.343Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-30T15:17:34.925Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-30T15:17:35.510Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-30T15:17:37.456Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-30T15:17:38.039Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-30T15:17:38.623Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-30T15:17:38.890Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-30T15:17:40.302Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-30T15:17:40.570Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-30T15:17:40.839Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-30T15:17:41.423Z] [ 68%] Linking C shared library libcsdk.so [2023-05-30T15:17:41.689Z] [ 68%] Built target csdk [2023-05-30T15:17:41.689Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-30T15:17:42.272Z] [ 72%] Linking C executable template [2023-05-30T15:17:42.539Z] [ 72%] Built target template [2023-05-30T15:17:42.539Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-30T15:17:42.807Z] [ 76%] Linking C executable device-counter [2023-05-30T15:17:43.391Z] [ 76%] Built target device-counter [2023-05-30T15:17:43.391Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-30T15:17:43.658Z] [ 80%] Linking C executable device-random [2023-05-30T15:17:43.926Z] [ 80%] Built target device-random [2023-05-30T15:17:43.926Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-30T15:17:44.510Z] [ 84%] Linking C executable device-gyro [2023-05-30T15:17:44.777Z] [ 84%] Built target device-gyro [2023-05-30T15:17:44.777Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-30T15:17:45.044Z] [ 88%] Linking C executable device-bitfields [2023-05-30T15:17:45.311Z] [ 88%] Built target device-bitfields [2023-05-30T15:17:45.578Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-30T15:17:45.843Z] [ 92%] Linking C executable template-discovery [2023-05-30T15:17:46.427Z] [ 92%] Built target template-discovery [2023-05-30T15:17:46.427Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-30T15:17:46.693Z] [ 96%] Linking C executable device-file [2023-05-30T15:17:46.962Z] [ 96%] Built target device-file [2023-05-30T15:17:46.962Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-30T15:17:47.546Z] [100%] Linking C executable device-terminal [2023-05-30T15:17:47.813Z] [100%] Built target device-terminal [2023-05-30T15:17:48.079Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] [ 68%] Built target csdk [2023-05-30T15:17:48.079Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] [ 72%] Built target template [2023-05-30T15:17:48.079Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.079Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] [ 76%] Built target device-counter [2023-05-30T15:17:48.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] [ 80%] Built target device-random [2023-05-30T15:17:48.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] [ 84%] Built target device-gyro [2023-05-30T15:17:48.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] [ 88%] Built target device-bitfields [2023-05-30T15:17:48.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.347Z] [ 92%] Built target template-discovery [2023-05-30T15:17:48.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.614Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.614Z] [ 96%] Built target device-file [2023-05-30T15:17:48.614Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.614Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.614Z] [100%] Built target device-terminal [2023-05-30T15:17:48.614Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:48.614Z] Install the project... [2023-05-30T15:17:48.614Z] -- Install configuration: "Release" [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-30T15:17:48.614Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/devsdk [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-30T15:17:48.614Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-30T15:17:48.614Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-30T15:17:50.025Z] Removing intermediate container 976cdfd53c1c [2023-05-30T15:17:50.025Z] ---> 26b0f4ba2d1e [2023-05-30T15:17:50.025Z] Step 14/21 : FROM ${BASE} [2023-05-30T15:17:50.025Z] ---> 295cd00e64f4 [2023-05-30T15:17:50.025Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-30T15:17:50.025Z] ---> Running in 7cc48d43c06e [2023-05-30T15:17:50.292Z] Removing intermediate container 7cc48d43c06e [2023-05-30T15:17:50.292Z] ---> bb043c52691a [2023-05-30T15:17:50.292Z] 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-05-30T15:17:50.560Z] ---> Running in b3857e9921c3 [2023-05-30T15:17:51.526Z] Connecting to iotech.jfrog.io (52.212.253.130:443) [2023-05-30T15:17:52.116Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:17:52.116Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:17:52.116Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:17:53.528Z] Removing intermediate container b3857e9921c3 [2023-05-30T15:17:53.529Z] ---> 24c9f897c071 [2023-05-30T15:17:53.529Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:17:53.529Z] ---> Running in 641eab986df6 [2023-05-30T15:17:55.475Z] Removing intermediate container 641eab986df6 [2023-05-30T15:17:55.475Z] ---> 1b7f45b1ba92 [2023-05-30T15:17:55.475Z] 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-05-30T15:17:55.475Z] ---> Running in cf5258d91b53 [2023-05-30T15:17:56.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:17:56.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T15:17:57.288Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:17:57.870Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:17:57.870Z] (1/7) Installing curl (8.1.1-r1) [2023-05-30T15:17:57.870Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-30T15:17:57.870Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-30T15:17:57.870Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-30T15:17:58.829Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-30T15:17:58.829Z] (6/7) Installing libuuid (2.38-r1) [2023-05-30T15:17:58.829Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-30T15:17:59.791Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:17:59.791Z] OK: 281 MiB in 83 packages [2023-05-30T15:18:00.755Z] Removing intermediate container cf5258d91b53 [2023-05-30T15:18:00.755Z] ---> 8effd6ba259e [2023-05-30T15:18:00.755Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-30T15:18:01.341Z] ---> 1e52739750b6 [2023-05-30T15:18:01.341Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-30T15:18:01.608Z] ---> ca3c4aa86eee [2023-05-30T15:18:01.608Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-30T15:18:02.196Z] ---> 148643d2cead [2023-05-30T15:18:02.462Z] Successfully built 148643d2cead [2023-05-30T15:18:02.462Z] 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-05-30T15:18:02.851Z] + docker inspect -f . ci-base-image-arm64 [2023-05-30T15:18:02.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:18:03.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-17307 does not seem to be running inside a container [2023-05-30T15:18:03.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/48 -v /w/workspace/device-sdk-c/48:/w/workspace/device-sdk-c/48:rw,z -v /w/workspace/device-sdk-c/48@tmp:/w/workspace/device-sdk-c/48@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-05-30T15:18:04.405Z] $ docker top f7efb095ff3aef22978a348937f245c650a73733502e67963e4e5042ff7e0ab0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T15:18:05.225Z] + make test [2023-05-30T15:18:05.225Z] echo "make test" [2023-05-30T15:18:05.225Z] make test [Pipeline] } [2023-05-30T15:18:05.248Z] $ docker stop --time=1 f7efb095ff3aef22978a348937f245c650a73733502e67963e4e5042ff7e0ab0 [2023-05-30T15:18:07.767Z] $ docker rm -f --volumes f7efb095ff3aef22978a348937f245c650a73733502e67963e4e5042ff7e0ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-30T15:18:08.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-30T15:18:08.876Z] + ls -al . [2023-05-30T15:18:08.876Z] total 208 [2023-05-30T15:18:08.876Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:15 . [2023-05-30T15:18:08.876Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:15 .. [2023-05-30T15:18:08.876Z] drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:15 .git [2023-05-30T15:18:08.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:15 .github [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 176 May 30 15:15 .gitignore [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 2908 May 30 15:15 Attribution.txt [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 9268 May 30 15:15 CHANGES [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 30 15:15 Doxyfile [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:15 GOVERNANCE.md [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 784 May 30 15:15 Jenkinsfile [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 30 15:15 LICENSE [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 444 May 30 15:15 Makefile [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 618 May 30 15:15 OWNERS.md [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 30 15:15 README.IOT.md [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 30 15:15 README.md [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 30 15:15 README.v3.md [2023-05-30T15:18:08.876Z] -rw-rw-r-- 1 jenkins jenkins 11 May 30 15:11 VERSION [2023-05-30T15:18:08.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:15 docs [2023-05-30T15:18:08.876Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:15 include [2023-05-30T15:18:08.876Z] drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:15 scripts [2023-05-30T15:18:08.876Z] drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:18:09.220Z] + 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=629b9722aa39bd0efb276d4c775a85c2ba734e30 --label arch=arm64 --label version=3.0.1-dev.1 . [2023-05-30T15:18:09.489Z] Sending build context to Docker daemon 2.913MB [2023-05-30T15:18:09.489Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-30T15:18:09.489Z] Step 2/17 : FROM ${BASE} [2023-05-30T15:18:09.489Z] ---> 148643d2cead [2023-05-30T15:18:09.489Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-30T15:18:09.755Z] ---> Running in 9b9ec86adfa5 [2023-05-30T15:18:10.022Z] Removing intermediate container 9b9ec86adfa5 [2023-05-30T15:18:10.022Z] ---> 21af27de6c20 [2023-05-30T15:18:10.022Z] 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-05-30T15:18:10.022Z] ---> Running in 5530c67f2fbf [2023-05-30T15:18:10.980Z] Connecting to iotech.jfrog.io (54.155.240.152:443) [2023-05-30T15:18:11.573Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-30T15:18:11.573Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-30T15:18:11.573Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-30T15:18:12.164Z] Removing intermediate container 5530c67f2fbf [2023-05-30T15:18:12.164Z] ---> 3af4cc63b7ce [2023-05-30T15:18:12.164Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-30T15:18:12.164Z] ---> Running in a4551cbe999d [2023-05-30T15:18:14.108Z] Removing intermediate container a4551cbe999d [2023-05-30T15:18:14.108Z] ---> 8956a26bc678 [2023-05-30T15:18:14.108Z] 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-05-30T15:18:14.108Z] ---> Running in 0ce1c9a220b5 [2023-05-30T15:18:15.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:18:15.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-30T15:18:15.652Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-30T15:18:16.613Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-30T15:18:16.613Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:18:16.613Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-05-30T15:18:16.613Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-30T15:18:17.197Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-30T15:18:17.465Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-05-30T15:18:17.465Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-05-30T15:18:17.465Z] (7/11) Installing libblkid (2.38-r1) [2023-05-30T15:18:17.465Z] (8/11) Installing libfdisk (2.38-r1) [2023-05-30T15:18:17.465Z] (9/11) Installing libmount (2.38-r1) [2023-05-30T15:18:17.465Z] (10/11) Installing libsmartcols (2.38-r1) [2023-05-30T15:18:17.465Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-05-30T15:18:17.465Z] Executing busybox-1.35.0-r17.trigger [2023-05-30T15:18:17.731Z] OK: 287 MiB in 92 packages [2023-05-30T15:18:20.316Z] Removing intermediate container 0ce1c9a220b5 [2023-05-30T15:18:20.316Z] ---> 5da65e9b7897 [2023-05-30T15:18:20.316Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-30T15:18:20.582Z] ---> bda43e9a23fc [2023-05-30T15:18:20.582Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-30T15:18:21.542Z] ---> ac5792ff017d [2023-05-30T15:18:21.542Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-30T15:18:22.188Z] ---> 189c1655e3e8 [2023-05-30T15:18:22.188Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-30T15:18:22.459Z] ---> c172d5fdcf0c [2023-05-30T15:18:22.459Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-30T15:18:23.050Z] ---> c0fd53692e16 [2023-05-30T15:18:23.050Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-30T15:18:23.658Z] ---> 02e5489e8d65 [2023-05-30T15:18:23.658Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-30T15:18:23.658Z] ---> Running in a87a202e22b1 [2023-05-30T15:18:23.946Z] Removing intermediate container a87a202e22b1 [2023-05-30T15:18:23.946Z] ---> 2298854a54dd [2023-05-30T15:18:23.946Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-30T15:18:23.946Z] ---> Running in bf6399d39a43 [2023-05-30T15:18:24.545Z] Removing intermediate container bf6399d39a43 [2023-05-30T15:18:24.545Z] ---> 4f546795cc41 [2023-05-30T15:18:24.545Z] Step 15/17 : LABEL arch=arm64 [2023-05-30T15:18:24.545Z] ---> Running in 08ec6b0a2a44 [2023-05-30T15:18:24.816Z] Removing intermediate container 08ec6b0a2a44 [2023-05-30T15:18:24.816Z] ---> f6661ea46907 [2023-05-30T15:18:24.816Z] Step 16/17 : LABEL git_sha=629b9722aa39bd0efb276d4c775a85c2ba734e30 [2023-05-30T15:18:24.816Z] ---> Running in 872d83bc9be6 [2023-05-30T15:18:25.092Z] Removing intermediate container 872d83bc9be6 [2023-05-30T15:18:25.092Z] ---> 8c5a37488386 [2023-05-30T15:18:25.092Z] Step 17/17 : LABEL version=3.0.1-dev.1 [2023-05-30T15:18:25.362Z] ---> Running in 3a03db12d5e8 [2023-05-30T15:18:25.632Z] Removing intermediate container 3a03db12d5e8 [2023-05-30T15:18:25.632Z] ---> d77fa8be9b0f [2023-05-30T15:18:25.632Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-30T15:18:25.632Z] Successfully built d77fa8be9b0f [2023-05-30T15:18:25.632Z] 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-05-30T15:18:26.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T15:18:26.051Z] [2023-05-30T15:18:26.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:18:26.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T15:18:26.659Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-30T15:18:26.659Z] 8998bd30e6a1: Pulling fs layer [2023-05-30T15:18:26.659Z] 04944245beec: Pulling fs layer [2023-05-30T15:18:26.659Z] 699f458cf7ca: Pulling fs layer [2023-05-30T15:18:26.659Z] 765212b225bb: Pulling fs layer [2023-05-30T15:18:26.659Z] f23df028b6ca: Pulling fs layer [2023-05-30T15:18:26.659Z] d65c8cfc05b1: Pulling fs layer [2023-05-30T15:18:26.659Z] 2437ff75d9bd: Pulling fs layer [2023-05-30T15:18:26.659Z] 765212b225bb: Waiting [2023-05-30T15:18:26.659Z] f23df028b6ca: Waiting [2023-05-30T15:18:26.659Z] 2437ff75d9bd: Waiting [2023-05-30T15:18:26.659Z] d65c8cfc05b1: Waiting [2023-05-30T15:18:26.659Z] 04944245beec: Verifying Checksum [2023-05-30T15:18:26.659Z] 04944245beec: Download complete [2023-05-30T15:18:26.659Z] 765212b225bb: Download complete [2023-05-30T15:18:26.927Z] f23df028b6ca: Verifying Checksum [2023-05-30T15:18:26.927Z] f23df028b6ca: Download complete [2023-05-30T15:18:26.927Z] d65c8cfc05b1: Verifying Checksum [2023-05-30T15:18:26.927Z] d65c8cfc05b1: Download complete [2023-05-30T15:18:26.927Z] 699f458cf7ca: Verifying Checksum [2023-05-30T15:18:26.927Z] 699f458cf7ca: Download complete [2023-05-30T15:18:27.511Z] 8998bd30e6a1: Verifying Checksum [2023-05-30T15:18:27.511Z] 8998bd30e6a1: Download complete [2023-05-30T15:18:29.456Z] 2437ff75d9bd: Verifying Checksum [2023-05-30T15:18:29.456Z] 2437ff75d9bd: Download complete [2023-05-30T15:18:31.400Z] 8998bd30e6a1: Pull complete [2023-05-30T15:18:31.984Z] 04944245beec: Pull complete [2023-05-30T15:18:33.396Z] 699f458cf7ca: Pull complete [2023-05-30T15:18:33.396Z] 765212b225bb: Pull complete [2023-05-30T15:18:34.357Z] f23df028b6ca: Pull complete [2023-05-30T15:18:34.357Z] d65c8cfc05b1: Pull complete [2023-05-30T15:18:49.365Z] 2437ff75d9bd: Pull complete [2023-05-30T15:18:49.365Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-30T15:18:49.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-30T15:18:49.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:18:49.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-17307 does not seem to be running inside a container [2023-05-30T15:18:49.630Z] $ 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/48 -v /w/workspace/device-sdk-c/48:/w/workspace/device-sdk-c/48:rw,z -v /w/workspace/device-sdk-c/48@tmp:/w/workspace/device-sdk-c/48@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-05-30T15:18:52.166Z] $ docker top 78d380dd91e48d533648710e16fd976e27ed489df586fd983dbcb9d61f09cb38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:18:53.004Z] ---> job-cost.sh [2023-05-30T15:18:53.004Z] lf-activate-venv: SKIPPING [2023-05-30T15:18:53.004Z] INFO: No Stack... [2023-05-30T15:18:53.272Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-30T15:18:54.230Z] INFO: Archiving Costs [Pipeline] sh [2023-05-30T15:18:54.866Z] + cat /w/workspace/device-sdk-c/48/archives/cost.csv [2023-05-30T15:18:54.866Z] + cut -d, -f6 [Pipeline] lock [2023-05-30T15:18:54.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [2023-05-30T15:18:54.943Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] did not exist. Created. [2023-05-30T15:18:54.943Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-30T15:18:55.278Z] /w/workspace/device-sdk-c/48@tmp/durable-4359924f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-30T15:18:55.623Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-30T15:18:55.648Z] Warning: overwriting stash ‘stack-cost’ [2023-05-30T15:18:56.088Z] Stashed 1 file(s) [Pipeline] } [2023-05-30T15:18:56.094Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-30T15:18:56.118Z] $ docker stop --time=1 78d380dd91e48d533648710e16fd976e27ed489df586fd983dbcb9d61f09cb38 [2023-05-30T15:18:57.608Z] $ docker rm -f --volumes 78d380dd91e48d533648710e16fd976e27ed489df586fd983dbcb9d61f09cb38 [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-05-30T15:18:58.255Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T15:18:58.255Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:18:58.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:18:58.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:18:58.626Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:18:58.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T15:18:59.049Z] $ docker top 0d93bcb3a0254a4555a458de56cc103ece42050bbabafbef90fd911941163b93 -eo pid,comm [2023-05-30T15:18:59.094Z] 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-05-30T15:18:59.094Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T15:18:59.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T15:18:59.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T15:18:59.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T15:18:59.247Z] $ docker exec 0d93bcb3a0254a4555a458de56cc103ece42050bbabafbef90fd911941163b93 ssh-agent [2023-05-30T15:18:59.364Z] SSH_AUTH_SOCK=/tmp/ssh-P9rfGrLD7oZt/agent.13 [2023-05-30T15:18:59.364Z] SSH_AGENT_PID=19 [2023-05-30T15:18:59.369Z] Running ssh-add (command line suppressed) [2023-05-30T15:18:59.473Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10978620015558503908.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10978620015558503908.key) [2023-05-30T15:18:59.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T15:18:59.780Z] + git semver tag [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,006 [run_tag] DEBUG tag force:False [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,006 [check_head_tag] DEBUG check head tag [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,008 [execute] INFO git cat-file --batch-check [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,012 [execute] INFO git cat-file --batch [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,029 [execute] INFO git tag -a v3.0.1-dev.1 -m v3.0.1-dev.1 [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,029 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.1', '-m', 'v3.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-05-30T15:19:00.040Z] 2023-05-30 15:19:00,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:00.040Z] 3.0.1-dev.1 [Pipeline] } [2023-05-30T15:19:00.312Z] $ docker exec --env ******** --env ******** 0d93bcb3a0254a4555a458de56cc103ece42050bbabafbef90fd911941163b93 ssh-agent -k [2023-05-30T15:19:00.408Z] unset SSH_AUTH_SOCK; [2023-05-30T15:19:00.409Z] unset SSH_AGENT_PID; [2023-05-30T15:19:00.409Z] echo Agent pid 19 killed; [2023-05-30T15:19:00.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T15:19:00.730Z] + git semver [Pipeline] } [2023-05-30T15:19:01.004Z] $ docker stop --time=1 0d93bcb3a0254a4555a458de56cc103ece42050bbabafbef90fd911941163b93 [2023-05-30T15:19:02.334Z] $ docker rm -f --volumes 0d93bcb3a0254a4555a458de56cc103ece42050bbabafbef90fd911941163b93 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:19:02.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T15:19:02.752Z] [2023-05-30T15:19:02.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:19:03.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T15:19:03.051Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-30T15:19:03.051Z] ab5ef0e58194: Pulling fs layer [2023-05-30T15:19:03.051Z] 9712f1f96733: Pulling fs layer [2023-05-30T15:19:03.051Z] 63f879dbbcfc: Pulling fs layer [2023-05-30T15:19:03.051Z] 0d9ebad4ef96: Pulling fs layer [2023-05-30T15:19:03.051Z] e9a5061849ea: Pulling fs layer [2023-05-30T15:19:03.051Z] d747dcd14b5f: Pulling fs layer [2023-05-30T15:19:03.051Z] 2de7ff778b66: Pulling fs layer [2023-05-30T15:19:03.051Z] e9a5061849ea: Waiting [2023-05-30T15:19:03.051Z] 2de7ff778b66: Waiting [2023-05-30T15:19:03.051Z] d747dcd14b5f: Waiting [2023-05-30T15:19:03.051Z] 0d9ebad4ef96: Waiting [2023-05-30T15:19:03.051Z] 9712f1f96733: Verifying Checksum [2023-05-30T15:19:03.051Z] 9712f1f96733: Download complete [2023-05-30T15:19:03.311Z] 63f879dbbcfc: Verifying Checksum [2023-05-30T15:19:03.311Z] 63f879dbbcfc: Download complete [2023-05-30T15:19:03.569Z] e9a5061849ea: Verifying Checksum [2023-05-30T15:19:03.569Z] e9a5061849ea: Download complete [2023-05-30T15:19:03.569Z] d747dcd14b5f: Download complete [2023-05-30T15:19:03.569Z] 0d9ebad4ef96: Verifying Checksum [2023-05-30T15:19:03.569Z] 0d9ebad4ef96: Download complete [2023-05-30T15:19:03.569Z] ab5ef0e58194: Verifying Checksum [2023-05-30T15:19:03.569Z] ab5ef0e58194: Download complete [2023-05-30T15:19:03.829Z] 2de7ff778b66: Verifying Checksum [2023-05-30T15:19:03.829Z] 2de7ff778b66: Download complete [2023-05-30T15:19:07.114Z] ab5ef0e58194: Pull complete [2023-05-30T15:19:07.114Z] 9712f1f96733: Pull complete [2023-05-30T15:19:07.373Z] 63f879dbbcfc: Pull complete [2023-05-30T15:19:11.559Z] 0d9ebad4ef96: Pull complete [2023-05-30T15:19:11.559Z] e9a5061849ea: Pull complete [2023-05-30T15:19:11.559Z] d747dcd14b5f: Pull complete [2023-05-30T15:19:12.935Z] 2de7ff778b66: Pull complete [2023-05-30T15:19:12.935Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-30T15:19:12.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-30T15:19:12.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:19:13.021Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:19:13.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-30T15:19:17.822Z] $ docker top 88ff95500f29d4b9838a47b71b33dce014a5db8e41f7eafab93ea7cb0b8e422f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-30T15:19:17.892Z] provisioning config files... [2023-05-30T15:19:17.898Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4941388628120254399tmp [2023-05-30T15:19:17.909Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5693641746081217331tmp [2023-05-30T15:19:17.919Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11989655433557705395tmp [Pipeline] { [Pipeline] echo [2023-05-30T15:19:17.933Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:18.216Z] ---> sigul-configuration.sh [2023-05-30T15:19:18.216Z] gpg: directory `/root/.gnupg' created [2023-05-30T15:19:18.216Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-30T15:19:18.216Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-30T15:19:18.216Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-30T15:19:18.216Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-30T15:19:18.216Z] gpg: CAST5 encrypted data [2023-05-30T15:19:18.216Z] gpg: encrypted with 1 passphrase [2023-05-30T15:19:18.216Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-30T15:19:18.512Z] + mkdir /home/jenkins [2023-05-30T15:19:18.512Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-30T15:19:18.795Z] + 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-05-30T15:19:18.802Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:19.086Z] ---> sigul-install.sh [2023-05-30T15:19:19.086Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-30T15:19:19.373Z] + git tag --list [2023-05-30T15:19:19.373Z] 0.7.0 [2023-05-30T15:19:19.373Z] 0.7.1 [2023-05-30T15:19:19.373Z] 1.0.0 [2023-05-30T15:19:19.373Z] v1.0.1 [2023-05-30T15:19:19.373Z] v1.0.2 [2023-05-30T15:19:19.373Z] v1.0.3 [2023-05-30T15:19:19.373Z] v1.1.0 [2023-05-30T15:19:19.373Z] v1.1.1 [2023-05-30T15:19:19.373Z] v1.2.0 [2023-05-30T15:19:19.373Z] v1.2.1 [2023-05-30T15:19:19.373Z] v1.2.2 [2023-05-30T15:19:19.373Z] v1.3.0 [2023-05-30T15:19:19.373Z] v1.3.1 [2023-05-30T15:19:19.373Z] v2.0.0 [2023-05-30T15:19:19.373Z] v2.1.0 [2023-05-30T15:19:19.373Z] v2.2.0 [2023-05-30T15:19:19.373Z] v2.2.0-dev.1 [2023-05-30T15:19:19.373Z] v2.2.0-dev.10 [2023-05-30T15:19:19.373Z] v2.2.0-dev.11 [2023-05-30T15:19:19.373Z] v2.2.0-dev.12 [2023-05-30T15:19:19.373Z] v2.2.0-dev.13 [2023-05-30T15:19:19.373Z] v2.2.0-dev.2 [2023-05-30T15:19:19.373Z] v2.2.0-dev.3 [2023-05-30T15:19:19.373Z] v2.2.0-dev.4 [2023-05-30T15:19:19.373Z] v2.2.0-dev.5 [2023-05-30T15:19:19.373Z] v2.2.0-dev.6 [2023-05-30T15:19:19.373Z] v2.2.0-dev.7 [2023-05-30T15:19:19.373Z] v2.2.0-dev.8 [2023-05-30T15:19:19.373Z] v2.2.0-dev.9 [2023-05-30T15:19:19.373Z] v2.2.1-dev.1 [2023-05-30T15:19:19.373Z] v2.2.1-dev.2 [2023-05-30T15:19:19.373Z] v2.2.1-dev.3 [2023-05-30T15:19:19.373Z] v2.3.0 [2023-05-30T15:19:19.373Z] v2.3.1-dev.1 [2023-05-30T15:19:19.373Z] v2.3.1-dev.10 [2023-05-30T15:19:19.373Z] v2.3.1-dev.11 [2023-05-30T15:19:19.373Z] v2.3.1-dev.2 [2023-05-30T15:19:19.373Z] v2.3.1-dev.3 [2023-05-30T15:19:19.373Z] v2.3.1-dev.4 [2023-05-30T15:19:19.373Z] v2.3.1-dev.5 [2023-05-30T15:19:19.373Z] v2.3.1-dev.6 [2023-05-30T15:19:19.373Z] v2.3.1-dev.7 [2023-05-30T15:19:19.373Z] v2.3.1-dev.8 [2023-05-30T15:19:19.373Z] v2.3.1-dev.9 [2023-05-30T15:19:19.373Z] v3.0 [2023-05-30T15:19:19.373Z] v3.0.0 [2023-05-30T15:19:19.373Z] v3.0.1-dev.1 [Pipeline] sh [2023-05-30T15:19:19.660Z] + lftools sign git-tag v3.0.1-dev.1 [2023-05-30T15:19:20.227Z] Signing Git tag with Sigul... [2023-05-30T15:19:20.227Z] Signing v3.0.1-dev.1 [Pipeline] echo [2023-05-30T15:19:20.803Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:21.086Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-30T15:19:21.093Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-30T15:19:21.108Z] $ docker stop --time=1 88ff95500f29d4b9838a47b71b33dce014a5db8e41f7eafab93ea7cb0b8e422f [2023-05-30T15:19:22.423Z] $ docker rm -f --volumes 88ff95500f29d4b9838a47b71b33dce014a5db8e41f7eafab93ea7cb0b8e422f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-30T15:19:22.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T15:19:22.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:19:23.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:19:23.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:19:23.203Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:19:23.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T15:19:23.585Z] $ docker top fb99b1705a5cbacc6e5fb73606bf28148c5549cde54309f03459c95294059164 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T15:19:23.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T15:19:23.685Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T15:19:23.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T15:19:23.812Z] $ docker exec fb99b1705a5cbacc6e5fb73606bf28148c5549cde54309f03459c95294059164 ssh-agent [2023-05-30T15:19:23.916Z] SSH_AUTH_SOCK=/tmp/ssh-BW9wYvkMfYSb/agent.31 [2023-05-30T15:19:23.916Z] SSH_AGENT_PID=37 [2023-05-30T15:19:23.922Z] Running ssh-add (command line suppressed) [2023-05-30T15:19:24.038Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1623012726984898923.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1623012726984898923.key) [2023-05-30T15:19:24.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T15:19:24.404Z] + git semver bump pre [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [bump_version] DEBUG bumping version:3.0.1-dev.1 on axis:pre with prefix:dev [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [bump_version] DEBUG bumped version:3.0.1-dev.2 [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [write_version] DEBUG write version:3.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,571 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,574 [execute] INFO git cat-file --batch-check [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,580 [execute] INFO git cat-file --batch [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T15:19:24.664Z] 2023-05-30 15:19:24,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:24.664Z] 3.0.1-dev.2 [Pipeline] } [2023-05-30T15:19:24.674Z] $ docker exec --env ******** --env ******** fb99b1705a5cbacc6e5fb73606bf28148c5549cde54309f03459c95294059164 ssh-agent -k [2023-05-30T15:19:24.777Z] unset SSH_AUTH_SOCK; [2023-05-30T15:19:24.777Z] unset SSH_AGENT_PID; [2023-05-30T15:19:24.777Z] echo Agent pid 37 killed; [2023-05-30T15:19:24.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T15:19:25.090Z] + git semver [Pipeline] } [2023-05-30T15:19:25.362Z] $ docker stop --time=1 fb99b1705a5cbacc6e5fb73606bf28148c5549cde54309f03459c95294059164 [2023-05-30T15:19:26.639Z] $ docker rm -f --volumes fb99b1705a5cbacc6e5fb73606bf28148c5549cde54309f03459c95294059164 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-30T15:19:26.984Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-30T15:19:26.985Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:19:27.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-30T15:19:27.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:19:27.363Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:19:27.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-30T15:19:27.740Z] $ docker top 0a1ccc52a6a8403df4d4694d5eff0c43cca1accb705c01463fe5d1636f61db04 -eo pid,comm [2023-05-30T15:19:27.791Z] 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-05-30T15:19:27.791Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-30T15:19:27.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-30T15:19:27.827Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-30T15:19:27.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-30T15:19:27.942Z] $ docker exec 0a1ccc52a6a8403df4d4694d5eff0c43cca1accb705c01463fe5d1636f61db04 ssh-agent [2023-05-30T15:19:28.052Z] SSH_AUTH_SOCK=/tmp/ssh-8yjoSafmJOJl/agent.32 [2023-05-30T15:19:28.052Z] SSH_AGENT_PID=38 [2023-05-30T15:19:28.057Z] Running ssh-add (command line suppressed) [2023-05-30T15:19:28.157Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9004650597005676308.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9004650597005676308.key) [2023-05-30T15:19:28.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-30T15:19:28.463Z] + git semver push [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,632 [run_push] DEBUG push [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,633 [execute] INFO git cat-file --batch-check [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,637 [execute] INFO git rev-list 3c8f56a2d82fb09da93736ea4db3be7a5bad7e8b -- [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,638 [execute] DEBUG Popen(['git', 'rev-list', '3c8f56a2d82fb09da93736ea4db3be7a5bad7e8b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,645 [execute] INFO git fetch -v origin [2023-05-30T15:19:28.722Z] 2023-05-30 15:19:28,646 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-30T15:19:29.290Z] 2023-05-30 15:19:29,120 [run_push] DEBUG no remote changes detected [2023-05-30T15:19:29.290Z] 2023-05-30 15:19:29,120 [execute] INFO git push origin semver [2023-05-30T15:19:29.290Z] 2023-05-30 15:19:29,121 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-30T15:19:30.226Z] 2023-05-30 15:19:29,873 [run_push] DEBUG push all version tags [2023-05-30T15:19:30.226Z] 2023-05-30 15:19:29,874 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-30T15:19:30.226Z] 2023-05-30 15:19:29,874 [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-05-30T15:19:31.163Z] 2023-05-30 15:19:30,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-05-30T15:19:31.163Z] 3.0.1-dev.2 [Pipeline] } [2023-05-30T15:19:31.172Z] $ docker exec --env ******** --env ******** 0a1ccc52a6a8403df4d4694d5eff0c43cca1accb705c01463fe5d1636f61db04 ssh-agent -k [2023-05-30T15:19:31.259Z] unset SSH_AUTH_SOCK; [2023-05-30T15:19:31.259Z] unset SSH_AGENT_PID; [2023-05-30T15:19:31.259Z] echo Agent pid 38 killed; [2023-05-30T15:19:31.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-30T15:19:31.573Z] + git semver [Pipeline] } [2023-05-30T15:19:31.843Z] $ docker stop --time=1 0a1ccc52a6a8403df4d4694d5eff0c43cca1accb705c01463fe5d1636f61db04 [2023-05-30T15:19:33.109Z] $ docker rm -f --volumes 0a1ccc52a6a8403df4d4694d5eff0c43cca1accb705c01463fe5d1636f61db04 [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-05-30T15:19:33.613Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-05-30T15:19:33.613Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-30T15:19:33.613Z] total 16 [2023-05-30T15:19:33.613Z] drwxr-xr-x 3 root root 4096 May 30 15:12 . [2023-05-30T15:19:33.613Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 15:19 .. [2023-05-30T15:19:33.613Z] drwxr-xr-x 2 root root 4096 May 30 15:12 cost [2023-05-30T15:19:33.613Z] -rw-r--r-- 1 root root 83 May 30 15:12 cost.csv [2023-05-30T15:19:33.613Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-30T15:19:33.613Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-05-30T15:19:33.613Z] total 16 [2023-05-30T15:19:33.613Z] drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:12 . [2023-05-30T15:19:33.613Z] drwxrwxr-x 10 jenkins jenkins 4096 May 30 15:19 .. [2023-05-30T15:19:33.613Z] drwxr-xr-x 2 jenkins jenkins 4096 May 30 15:12 cost [2023-05-30T15:19:33.613Z] -rw-r--r-- 1 jenkins jenkins 83 May 30 15:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:33.906Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:34.764Z] ---> package-listing.sh [2023-05-30T15:19:34.764Z] ++ facter osfamily [2023-05-30T15:19:34.764Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-30T15:19:35.024Z] + OS_FAMILY=debian [2023-05-30T15:19:35.024Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-05-30T15:19:35.024Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-30T15:19:35.024Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-30T15:19:35.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-30T15:19:35.024Z] + PACKAGES=/tmp/packages_start.txt [2023-05-30T15:19:35.024Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-30T15:19:35.024Z] + PACKAGES=/tmp/packages_end.txt [2023-05-30T15:19:35.024Z] + case "${OS_FAMILY}" in [2023-05-30T15:19:35.024Z] + dpkg -l [2023-05-30T15:19:35.024Z] + grep '^ii' [2023-05-30T15:19:35.024Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-30T15:19:35.024Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-30T15:19:35.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-30T15:19:35.024Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-05-30T15:19:35.024Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-05-30T15:19:35.024Z] + 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-05-30T15:19:35.034Z] 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-05-30T15:19:35.311Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-30T15:19:35.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-30T15:19:35.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-30T15:19:35.948Z] prd-ubuntu20.04-docker-8c-8g-17306 does not seem to be running inside a container [2023-05-30T15:19:35.978Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-30T15:19:36.171Z] $ docker top d29f160f41a9304e6a0acc90b7b923182b37b517477706f53fe2e3589f843d94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-30T15:19:36.524Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-30T15:19:36.812Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-30T15:19:37.099Z] + ls /var/log/sa-host [2023-05-30T15:19:37.099Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-30T15:19:37.263Z] provisioning config files... [2023-05-30T15:19:37.272Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12370854854917569038tmp [Pipeline] { [Pipeline] echo [2023-05-30T15:19:37.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:37.564Z] ---> create-netrc.sh [Pipeline] } [2023-05-30T15:19:37.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:37.897Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-30T15:19:37.907Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:38.192Z] ---> sudo-logs.sh [2023-05-30T15:19:38.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-30T15:19:38.221Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:38.504Z] ---> job-cost.sh [2023-05-30T15:19:38.504Z] lf-activate-venv: SKIPPING [2023-05-30T15:19:38.504Z] DEBUG: total: 0.2199999988079071 [2023-05-30T15:19:38.504Z] INFO: Retrieving Stack Cost... [2023-05-30T15:19:39.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-30T15:19:39.335Z] INFO: Archiving Costs [Pipeline] echo [2023-05-30T15:19:39.345Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-30T15:19:39.628Z] ---> logs-deploy.sh [2023-05-30T15:19:39.628Z] lf-activate-venv: SKIPPING [2023-05-30T15:19:39.628Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/48 [2023-05-30T15:19:39.628Z] INFO: archiving workspace using pattern(s): [2023-05-30T15:19:40.569Z] Archives upload complete. [2023-05-30T15:19:40.569Z] INFO: archiving logs to Nexus