Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b62e37af488d81aa36bc8e7f628d0bcafa679f3c 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-ssh14157355454794427379.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh6064624520489393930.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15254245581631760847.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15770468014343486729.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-ssh10592385630940236269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5006 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 b62e37af488d81aa36bc8e7f628d0bcafa679f3c (main) Commit message: "Merge pull request #480 from FelixTing/issue-479" > 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 b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 > git rev-list --no-walk 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T13:50:21.451Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T13:50:21.531Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T13:50:21.553Z] ========================================================= [2023-08-31T13:50:21.553Z] EdgeX Global Pipelines Version Info [2023-08-31T13:50:21.553Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:50:22.271Z] ------------------- [2023-08-31T13:50:22.271Z] stable info: [2023-08-31T13:50:22.271Z] ------------------- [2023-08-31T13:50:22.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T13:50:22.271Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T13:50:22.271Z] Message: update stable to v1.0.253 [2023-08-31T13:50:22.841Z] ------------------- [2023-08-31T13:50:22.841Z] experimental info: [2023-08-31T13:50:22.841Z] ------------------- [2023-08-31T13:50:22.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T13:50:22.841Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T13:50:22.841Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T13:50:23.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-31T13:50:23.027Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-31T13:50:23.039Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T13:50:23.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T13:50:23.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T13:50:23.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-31T13:50:23.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-31T13:50:23.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T13:50:23.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T13:50:23.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-31T13:50:23.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T13:50:23.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T13:50:23.183Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T13:50:23.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T13:50:23.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T13:50:23.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T13:50:23.238Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T13:50:23.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-31T13:50:23.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-31T13:50:23.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-31T13:50:23.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b62e37af488d81aa36bc8e7f628d0bcafa679f3c [Pipeline] echo [2023-08-31T13:50:23.311Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b62e37a [Pipeline] echo [2023-08-31T13:50:23.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T13:50:23.382Z] provisioning config files... [2023-08-31T13:50:23.398Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config809488099574351192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:50:23.696Z] ---> docker-login.sh [2023-08-31T13:50:23.696Z] nexus3.edgexfoundry.org:10001 [2023-08-31T13:50:27.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:27.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:27.645Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:27.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:27.645Z] [2023-08-31T13:50:27.645Z] Login Succeeded [2023-08-31T13:50:27.645Z] nexus3.edgexfoundry.org:10002 [2023-08-31T13:50:27.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:27.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:27.645Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:27.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:27.645Z] [2023-08-31T13:50:27.645Z] Login Succeeded [2023-08-31T13:50:27.645Z] nexus3.edgexfoundry.org:10003 [2023-08-31T13:50:27.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:27.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:27.907Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:27.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:27.907Z] [2023-08-31T13:50:27.907Z] Login Succeeded [2023-08-31T13:50:27.907Z] nexus3.edgexfoundry.org:10004 [2023-08-31T13:50:27.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:27.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:27.907Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:27.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:27.907Z] [2023-08-31T13:50:27.907Z] Login Succeeded [2023-08-31T13:50:27.907Z] docker.io [2023-08-31T13:50:27.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:28.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:28.167Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:28.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:28.167Z] [2023-08-31T13:50:28.167Z] Login Succeeded [2023-08-31T13:50:28.167Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T13:50:28.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-08-31T13:50:28.524Z] + git rev-list -1 --merges b62e37af488d81aa36bc8e7f628d0bcafa679f3c~1..b62e37af488d81aa36bc8e7f628d0bcafa679f3c [Pipeline] echo [2023-08-31T13:50:28.568Z] -----------> git rev-list -1 --merges b62e37af488d81aa36bc8e7f628d0bcafa679f3c~1..b62e37af488d81aa36bc8e7f628d0bcafa679f3c b62e37af488d81aa36bc8e7f628d0bcafa679f3c [2023-08-31T13:50:28.568Z] b62e37af488d81aa36bc8e7f628d0bcafa679f3c [false] [Pipeline] sh [2023-08-31T13:50:28.856Z] + git log --format=format:%s -1 b62e37af488d81aa36bc8e7f628d0bcafa679f3c [Pipeline] echo [2023-08-31T13:50:28.871Z] ========================================================= [2023-08-31T13:50:28.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T13:50:28.871Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T13:50:29.243Z] + git rev-list -1 --merges b62e37af488d81aa36bc8e7f628d0bcafa679f3c~1..b62e37af488d81aa36bc8e7f628d0bcafa679f3c [Pipeline] echo [2023-08-31T13:50:29.252Z] -----------> git rev-list -1 --merges b62e37af488d81aa36bc8e7f628d0bcafa679f3c~1..b62e37af488d81aa36bc8e7f628d0bcafa679f3c b62e37af488d81aa36bc8e7f628d0bcafa679f3c [2023-08-31T13:50:29.252Z] b62e37af488d81aa36bc8e7f628d0bcafa679f3c [false] [Pipeline] sh [2023-08-31T13:50:29.535Z] + git log --format=format:%s -1 b62e37af488d81aa36bc8e7f628d0bcafa679f3c [Pipeline] echo [2023-08-31T13:50:29.550Z] ========================================================= [2023-08-31T13:50:29.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T13:50:29.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-31T13:50:30.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T13:50:30.012Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T13:50:30.012Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T13:50:30.012Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T13:50:30.012Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T13:50:30.012Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T13:50:30.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:50:30.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:50:30.441Z] [2023-08-31T13:50:30.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:50:30.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:50:30.751Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T13:50:30.751Z] b85a868b505f: Pulling fs layer [2023-08-31T13:50:30.751Z] e2be974225ed: Pulling fs layer [2023-08-31T13:50:30.751Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T13:50:30.751Z] 988bab9f4d93: Pulling fs layer [2023-08-31T13:50:30.751Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T13:50:30.751Z] eaf3925da568: Pulling fs layer [2023-08-31T13:50:30.751Z] bab4dde63d76: Pulling fs layer [2023-08-31T13:50:30.751Z] bde34c3a00c8: Pulling fs layer [2023-08-31T13:50:30.751Z] b352a97aabf1: Pulling fs layer [2023-08-31T13:50:30.751Z] 4872d77fe225: Pulling fs layer [2023-08-31T13:50:30.751Z] 5851b861e8e6: Pulling fs layer [2023-08-31T13:50:30.751Z] 988bab9f4d93: Waiting [2023-08-31T13:50:30.751Z] bab4dde63d76: Waiting [2023-08-31T13:50:30.751Z] bde34c3a00c8: Waiting [2023-08-31T13:50:30.751Z] 1469e6f7b9e6: Waiting [2023-08-31T13:50:30.751Z] b352a97aabf1: Waiting [2023-08-31T13:50:30.751Z] 4872d77fe225: Waiting [2023-08-31T13:50:30.751Z] eaf3925da568: Waiting [2023-08-31T13:50:30.751Z] 5851b861e8e6: Waiting [2023-08-31T13:50:30.751Z] e2be974225ed: Download complete [2023-08-31T13:50:30.751Z] 988bab9f4d93: Verifying Checksum [2023-08-31T13:50:30.751Z] 988bab9f4d93: Download complete [2023-08-31T13:50:31.011Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T13:50:31.011Z] 1469e6f7b9e6: Download complete [2023-08-31T13:50:31.011Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T13:50:31.011Z] 339a4e72a1f5: Download complete [2023-08-31T13:50:31.011Z] eaf3925da568: Verifying Checksum [2023-08-31T13:50:31.011Z] eaf3925da568: Download complete [2023-08-31T13:50:31.011Z] bde34c3a00c8: Verifying Checksum [2023-08-31T13:50:31.011Z] bde34c3a00c8: Download complete [2023-08-31T13:50:31.011Z] b352a97aabf1: Download complete [2023-08-31T13:50:31.011Z] 4872d77fe225: Download complete [2023-08-31T13:50:31.011Z] 5851b861e8e6: Verifying Checksum [2023-08-31T13:50:31.011Z] 5851b861e8e6: Download complete [2023-08-31T13:50:31.011Z] b85a868b505f: Download complete [2023-08-31T13:50:31.268Z] bab4dde63d76: Verifying Checksum [2023-08-31T13:50:31.268Z] bab4dde63d76: Download complete [2023-08-31T13:50:32.203Z] b85a868b505f: Pull complete [2023-08-31T13:50:32.203Z] e2be974225ed: Pull complete [2023-08-31T13:50:32.771Z] 339a4e72a1f5: Pull complete [2023-08-31T13:50:33.345Z] 988bab9f4d93: Pull complete [2023-08-31T13:50:33.604Z] 1469e6f7b9e6: Pull complete [2023-08-31T13:50:34.172Z] eaf3925da568: Pull complete [2023-08-31T13:50:36.079Z] bab4dde63d76: Pull complete [2023-08-31T13:50:36.079Z] bde34c3a00c8: Pull complete [2023-08-31T13:50:36.079Z] b352a97aabf1: Pull complete [2023-08-31T13:50:36.079Z] 4872d77fe225: Pull complete [2023-08-31T13:50:36.079Z] 5851b861e8e6: Pull complete [2023-08-31T13:50:36.079Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T13:50:36.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:50:36.079Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:50:36.174Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:50:36.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T13:50:39.248Z] $ docker top 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 -eo pid,comm [2023-08-31T13:50:39.295Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-31T13:50:39.295Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T13:50:39.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T13:50:39.333Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T13:50:39.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T13:50:39.448Z] $ docker exec 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 ssh-agent [2023-08-31T13:50:39.549Z] SSH_AUTH_SOCK=/tmp/ssh-TxDocNJ6Rce0/agent.32 [2023-08-31T13:50:39.549Z] SSH_AGENT_PID=38 [2023-08-31T13:50:39.555Z] Running ssh-add (command line suppressed) [2023-08-31T13:50:39.658Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11830909980540653714.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11830909980540653714.key) [2023-08-31T13:50:39.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T13:50:39.950Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T13:50:39.972Z] $ docker exec --env ******** --env ******** 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 ssh-agent -k [2023-08-31T13:50:40.068Z] unset SSH_AUTH_SOCK; [2023-08-31T13:50:40.068Z] unset SSH_AGENT_PID; [2023-08-31T13:50:40.068Z] echo Agent pid 38 killed; [2023-08-31T13:50:40.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T13:50:40.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T13:50:40.097Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T13:50:40.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T13:50:40.209Z] $ docker exec 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 ssh-agent [2023-08-31T13:50:40.317Z] SSH_AUTH_SOCK=/tmp/ssh-5t1SI6VMZJrY/agent.71 [2023-08-31T13:50:40.317Z] SSH_AGENT_PID=77 [2023-08-31T13:50:40.323Z] Running ssh-add (command line suppressed) [2023-08-31T13:50:40.426Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10725016464780701605.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10725016464780701605.key) [2023-08-31T13:50:40.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T13:50:40.729Z] + git semver init [2023-08-31T13:50:40.989Z] 2023-08-31 13:50:40,907 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T13:50:40.989Z] 2023-08-31 13:50:40,908 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-31T13:50:40.989Z] 2023-08-31 13:50:40,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-31T13:50:40.989Z] 2023-08-31 13:50:40,909 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T13:50:41.928Z] 2023-08-31 13:50:41,755 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-08-31T13:50:41.928Z] 2023-08-31 13:50:41,756 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-08-31T13:50:41.928Z] 2023-08-31 13:50:41,756 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:50:41.928Z] 2023-08-31 13:50:41,756 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:50:41.928Z] 3.0.3-dev.1 [Pipeline] } [2023-08-31T13:50:41.943Z] $ docker exec --env ******** --env ******** 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 ssh-agent -k [2023-08-31T13:50:42.042Z] unset SSH_AUTH_SOCK; [2023-08-31T13:50:42.043Z] unset SSH_AGENT_PID; [2023-08-31T13:50:42.043Z] echo Agent pid 77 killed; [2023-08-31T13:50:42.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T13:50:42.345Z] + git semver [Pipeline] } [2023-08-31T13:50:42.625Z] $ docker stop --time=1 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 [2023-08-31T13:50:44.117Z] $ docker rm -f --volumes 094198c6f1712c0c2f6735de0919b5e2d30190327ba9542ff38f4365b4274966 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T13:50:44.465Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T13:50:44.692Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T13:50:44.695Z] [edgeXSemver]: initialized semver on version 3.0.3-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-08-31T13:50:44.830Z] provisioning config files... [2023-08-31T13:50:44.837Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config214080683766763692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:50:45.126Z] ---> docker-login.sh [2023-08-31T13:50:45.126Z] nexus3.edgexfoundry.org:10001 [2023-08-31T13:50:45.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:45.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:45.127Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:45.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:45.127Z] [2023-08-31T13:50:45.127Z] Login Succeeded [2023-08-31T13:50:45.127Z] nexus3.edgexfoundry.org:10002 [2023-08-31T13:50:45.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:45.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:45.127Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:45.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:45.127Z] [2023-08-31T13:50:45.127Z] Login Succeeded [2023-08-31T13:50:45.127Z] nexus3.edgexfoundry.org:10003 [2023-08-31T13:50:45.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:45.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:45.385Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:45.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:45.385Z] [2023-08-31T13:50:45.385Z] Login Succeeded [2023-08-31T13:50:45.385Z] nexus3.edgexfoundry.org:10004 [2023-08-31T13:50:45.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:45.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:45.385Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:45.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:45.385Z] [2023-08-31T13:50:45.385Z] Login Succeeded [2023-08-31T13:50:45.385Z] docker.io [2023-08-31T13:50:45.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:50:45.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:50:45.645Z] Configure a credential helper to remove this warning. See [2023-08-31T13:50:45.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:50:45.645Z] [2023-08-31T13:50:45.645Z] Login Succeeded [2023-08-31T13:50:45.645Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T13:50:45.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T13:50:45.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T13:50:45.725Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-31T13:50:45.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T13:50:45.736Z] ========================================================= [2023-08-31T13:50:45.736Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-31T13:50:45.736Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:50:46.031Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-08-31T13:50:46.031Z] Sending build context to Docker daemon 4.884MB [2023-08-31T13:50:46.031Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-31T13:50:46.031Z] Step 2/21 : FROM ${BASE} as builder [2023-08-31T13:50:46.290Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-31T13:50:46.290Z] 91d30c5bc195: Pulling fs layer [2023-08-31T13:50:46.290Z] 316e5a4585fb: Pulling fs layer [2023-08-31T13:50:46.290Z] 91d30c5bc195: Verifying Checksum [2023-08-31T13:50:46.290Z] 91d30c5bc195: Download complete [2023-08-31T13:50:46.554Z] 91d30c5bc195: Pull complete [2023-08-31T13:50:47.121Z] 316e5a4585fb: Verifying Checksum [2023-08-31T13:50:47.121Z] 316e5a4585fb: Download complete [2023-08-31T13:50:50.420Z] 316e5a4585fb: Pull complete [2023-08-31T13:50:50.420Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-31T13:50:50.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-31T13:50:50.420Z] ---> e83ffa357ff4 [2023-08-31T13:50:50.420Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:50:52.954Z] ---> Running in 8b53149ace05 [2023-08-31T13:50:53.212Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-08-31T13:50:53.781Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:50:53.781Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:50:53.781Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:50:54.041Z] Removing intermediate container 8b53149ace05 [2023-08-31T13:50:54.041Z] ---> f276f1d2b811 [2023-08-31T13:50:54.041Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:50:54.041Z] ---> Running in 7c5eae050a9f [2023-08-31T13:50:54.617Z] Removing intermediate container 7c5eae050a9f [2023-08-31T13:50:54.617Z] ---> 1a02481502cc [2023-08-31T13:50:54.617Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-08-31T13:50:54.617Z] ---> Running in b00eb5a8fe28 [2023-08-31T13:50:54.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:50:55.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-31T13:50:55.139Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:50:55.706Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:50:55.706Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:50:55.706Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:50:55.706Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-31T13:50:55.964Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-31T13:50:55.964Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-31T13:50:56.532Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-31T13:50:56.532Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-31T13:50:56.532Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-31T13:50:56.532Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-31T13:50:56.532Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-31T13:50:57.468Z] (11/16) Installing libblkid (2.38-r1) [2023-08-31T13:50:57.468Z] (12/16) Installing libuuid (2.38-r1) [2023-08-31T13:50:57.468Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-31T13:50:57.468Z] (14/16) Installing libmount (2.38-r1) [2023-08-31T13:50:57.468Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-31T13:50:57.468Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-31T13:50:57.468Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:50:57.468Z] OK: 280 MiB in 90 packages [2023-08-31T13:50:58.499Z] Removing intermediate container b00eb5a8fe28 [2023-08-31T13:50:58.499Z] ---> 214ffea945fe [2023-08-31T13:50:58.499Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-31T13:50:58.499Z] ---> Running in b18940313b9f [2023-08-31T13:50:59.067Z] Removing intermediate container b18940313b9f [2023-08-31T13:50:59.067Z] ---> 0bf8dc6e5907 [2023-08-31T13:50:59.067Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-31T13:50:59.067Z] ---> 09d9e33775ea [2023-08-31T13:50:59.067Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-31T13:50:59.326Z] ---> 3470e8d82612 [2023-08-31T13:50:59.326Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-31T13:50:59.586Z] ---> 3e8042d78cf5 [2023-08-31T13:50:59.586Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-31T13:50:59.586Z] ---> 0e04e1bb9ef3 [2023-08-31T13:50:59.586Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-31T13:50:59.586Z] ---> e343217ff62b [2023-08-31T13:50:59.586Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-31T13:50:59.778Z] Still waiting to schedule task [2023-08-31T13:50:59.779Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-31T13:50:59.845Z] ---> ead7c09b7775 [2023-08-31T13:50:59.845Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-31T13:50:59.845Z] ---> Running in 530cf0a468dd [2023-08-31T13:51:00.104Z] + CPPCHECK=false [2023-08-31T13:51:00.104Z] + DOCGEN=false [2023-08-31T13:51:00.104Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-31T13:51:00.104Z] + '[' 0 -gt 0 ] [2023-08-31T13:51:00.104Z] + readlink -f ./scripts/build.sh [2023-08-31T13:51:00.104Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-31T13:51:00.104Z] + dirname /tmp/sdk/scripts [2023-08-31T13:51:00.104Z] + ROOT=/tmp/sdk [2023-08-31T13:51:00.104Z] + cd /tmp/sdk [2023-08-31T13:51:00.104Z] + mkdir -p /tmp/sdk/build/release [2023-08-31T13:51:00.104Z] + cd /tmp/sdk/build/release [2023-08-31T13:51:00.104Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-31T13:51:00.366Z] -- The C compiler identification is GNU 11.2.1 [2023-08-31T13:51:00.366Z] -- Detecting C compiler ABI info [2023-08-31T13:51:00.366Z] -- Detecting C compiler ABI info - done [2023-08-31T13:51:00.366Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-31T13:51:00.366Z] -- Detecting C compile features [2023-08-31T13:51:00.366Z] -- Detecting C compile features - done [2023-08-31T13:51:00.366Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-31T13:51:00.366Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-31T13:51:00.366Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-31T13:51:00.366Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-31T13:51:00.366Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-31T13:51:00.366Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-31T13:51:00.366Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-31T13:51:00.366Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-31T13:51:00.366Z] -- /opt/iotech/iot/1.5/include [2023-08-31T13:51:00.366Z] -- C SDK 3.0.3-dev.1 for Linux [2023-08-31T13:51:00.366Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-31T13:51:00.625Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-31T13:51:00.625Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-31T13:51:00.625Z] -- Configuring done [2023-08-31T13:51:00.625Z] -- Generating done [2023-08-31T13:51:00.625Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-31T13:51:00.625Z] + make all package [2023-08-31T13:51:00.625Z] + tee release.log [2023-08-31T13:51:00.625Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-31T13:51:00.886Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-31T13:51:00.886Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-31T13:51:01.156Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-31T13:51:01.156Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-31T13:51:01.414Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-31T13:51:01.674Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-31T13:51:01.936Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-31T13:51:01.936Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-31T13:51:02.196Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-31T13:51:02.455Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-31T13:51:02.455Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-31T13:51:02.718Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-31T13:51:02.976Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-31T13:51:02.976Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-31T13:51:03.234Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-31T13:51:03.234Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-31T13:51:03.495Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-31T13:51:03.755Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-31T13:51:03.755Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-31T13:51:04.013Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-31T13:51:04.967Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-31T13:51:04.967Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-31T13:51:05.227Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-31T13:51:05.227Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-31T13:51:05.227Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-31T13:51:05.485Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-31T13:51:06.051Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-31T13:51:06.051Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-31T13:51:06.310Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-31T13:51:06.310Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-31T13:51:06.879Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-31T13:51:07.137Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-31T13:51:07.137Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-31T13:51:07.137Z] [ 68%] Linking C shared library libcsdk.so [2023-08-31T13:51:07.396Z] [ 68%] Built target csdk [2023-08-31T13:51:07.396Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-31T13:51:07.656Z] [ 72%] Linking C executable template [2023-08-31T13:51:07.656Z] [ 72%] Built target template [2023-08-31T13:51:07.656Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-31T13:51:07.656Z] [ 76%] Linking C executable device-counter [2023-08-31T13:51:07.915Z] [ 76%] Built target device-counter [2023-08-31T13:51:07.915Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-31T13:51:07.915Z] [ 80%] Linking C executable device-random [2023-08-31T13:51:07.915Z] [ 80%] Built target device-random [2023-08-31T13:51:07.915Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-31T13:51:08.175Z] [ 84%] Linking C executable device-gyro [2023-08-31T13:51:08.175Z] [ 84%] Built target device-gyro [2023-08-31T13:51:08.175Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-31T13:51:08.175Z] [ 88%] Linking C executable device-bitfields [2023-08-31T13:51:08.435Z] [ 88%] Built target device-bitfields [2023-08-31T13:51:08.435Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-31T13:51:08.435Z] [ 92%] Linking C executable template-discovery [2023-08-31T13:51:08.694Z] [ 92%] Built target template-discovery [2023-08-31T13:51:08.694Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-31T13:51:08.694Z] [ 96%] Linking C executable device-file [2023-08-31T13:51:08.954Z] [ 96%] Built target device-file [2023-08-31T13:51:08.954Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-31T13:51:08.954Z] [100%] Linking C executable device-terminal [2023-08-31T13:51:08.954Z] [100%] Built target device-terminal [2023-08-31T13:51:08.954Z] Run CPack packaging tool... [2023-08-31T13:51:08.954Z] CPack: Create package using TGZ [2023-08-31T13:51:08.954Z] CPack: Install projects [2023-08-31T13:51:08.954Z] CPack: - Run preinstall target for: Csdk [2023-08-31T13:51:09.212Z] CPack: - Install project: Csdk [] [2023-08-31T13:51:09.212Z] CPack: Create package [2023-08-31T13:51:09.212Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.1.tar.gz generated. [2023-08-31T13:51:09.212Z] + '[' false '=' true ] [2023-08-31T13:51:09.212Z] + '[' false '=' true ] [2023-08-31T13:51:09.212Z] + mkdir -p /tmp/sdk/build/debug [2023-08-31T13:51:09.212Z] + cd /tmp/sdk/build/debug [2023-08-31T13:51:09.212Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-31T13:51:09.472Z] -- The C compiler identification is GNU 11.2.1 [2023-08-31T13:51:09.472Z] -- Detecting C compiler ABI info [2023-08-31T13:51:09.472Z] -- Detecting C compiler ABI info - done [2023-08-31T13:51:09.472Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-31T13:51:09.472Z] -- Detecting C compile features [2023-08-31T13:51:09.472Z] -- Detecting C compile features - done [2023-08-31T13:51:09.472Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-31T13:51:09.472Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-31T13:51:09.472Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-31T13:51:09.472Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-31T13:51:09.472Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-31T13:51:09.472Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-31T13:51:09.472Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-31T13:51:09.472Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-31T13:51:09.472Z] -- /opt/iotech/iot/1.5/include [2023-08-31T13:51:09.472Z] -- C SDK 3.0.3-dev.1 for Linux [2023-08-31T13:51:09.472Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-31T13:51:09.733Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-31T13:51:09.733Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-31T13:51:09.733Z] -- Configuring done [2023-08-31T13:51:09.733Z] -- Generating done [2023-08-31T13:51:09.733Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-31T13:51:09.733Z] + + maketee [2023-08-31T13:51:09.733Z] debug.log [2023-08-31T13:51:09.733Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-31T13:51:09.992Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-31T13:51:09.992Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-31T13:51:09.992Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-31T13:51:09.992Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-31T13:51:10.250Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-31T13:51:10.250Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-31T13:51:10.509Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-31T13:51:10.509Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-31T13:51:10.509Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-31T13:51:10.767Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-31T13:51:10.767Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-31T13:51:10.767Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-31T13:51:11.025Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-31T13:51:11.025Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-31T13:51:11.025Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-31T13:51:11.025Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-31T13:51:11.283Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-31T13:51:11.283Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-31T13:51:11.283Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-31T13:51:11.542Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-31T13:51:11.799Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-31T13:51:11.800Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-31T13:51:11.800Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-31T13:51:12.057Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-31T13:51:12.057Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-31T13:51:12.057Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-31T13:51:12.315Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-31T13:51:12.574Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-31T13:51:12.574Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-31T13:51:12.574Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-31T13:51:12.832Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-31T13:51:12.832Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-31T13:51:12.832Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-31T13:51:13.091Z] [ 68%] Linking C shared library libcsdk.so [2023-08-31T13:51:13.091Z] [ 68%] Built target csdk [2023-08-31T13:51:13.091Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-31T13:51:13.091Z] [ 72%] Linking C executable template [2023-08-31T13:51:13.350Z] [ 72%] Built target template [2023-08-31T13:51:13.350Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-31T13:51:13.350Z] [ 76%] Linking C executable device-counter [2023-08-31T13:51:13.350Z] [ 76%] Built target device-counter [2023-08-31T13:51:13.350Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-31T13:51:13.350Z] [ 80%] Linking C executable device-random [2023-08-31T13:51:13.608Z] [ 80%] Built target device-random [2023-08-31T13:51:13.608Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-31T13:51:13.608Z] [ 84%] Linking C executable device-gyro [2023-08-31T13:51:13.608Z] [ 84%] Built target device-gyro [2023-08-31T13:51:13.608Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-31T13:51:13.867Z] [ 88%] Linking C executable device-bitfields [2023-08-31T13:51:13.867Z] [ 88%] Built target device-bitfields [2023-08-31T13:51:13.867Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-31T13:51:13.867Z] [ 92%] Linking C executable template-discovery [2023-08-31T13:51:13.867Z] [ 92%] Built target template-discovery [2023-08-31T13:51:13.867Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-31T13:51:14.126Z] [ 96%] Linking C executable device-file [2023-08-31T13:51:14.126Z] [ 96%] Built target device-file [2023-08-31T13:51:14.126Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-31T13:51:14.126Z] [100%] Linking C executable device-terminal [2023-08-31T13:51:14.384Z] [100%] Built target device-terminal [2023-08-31T13:51:14.384Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 68%] Built target csdk [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 72%] Built target template [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 76%] Built target device-counter [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 80%] Built target device-random [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 84%] Built target device-gyro [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 88%] Built target device-bitfields [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 92%] Built target template-discovery [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [ 96%] Built target device-file [2023-08-31T13:51:14.384Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] [100%] Built target device-terminal [2023-08-31T13:51:14.384Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:14.384Z] Install the project... [2023-08-31T13:51:14.384Z] -- Install configuration: "Release" [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-31T13:51:14.384Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/devsdk [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-31T13:51:14.384Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-31T13:51:14.384Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:51:15.319Z] Removing intermediate container 530cf0a468dd [2023-08-31T13:51:15.319Z] ---> 6ea60c19d1d1 [2023-08-31T13:51:15.319Z] Step 14/21 : FROM ${BASE} [2023-08-31T13:51:15.319Z] ---> e83ffa357ff4 [2023-08-31T13:51:15.319Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-31T13:51:15.319Z] ---> Running in 27798181c3f2 [2023-08-31T13:51:15.579Z] Removing intermediate container 27798181c3f2 [2023-08-31T13:51:15.579Z] ---> e6ffe44bcfcf [2023-08-31T13:51:15.579Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:51:15.579Z] ---> Running in 5bb56912a4fd [2023-08-31T13:51:15.837Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-08-31T13:51:16.096Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:51:16.096Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:51:16.096Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:51:16.354Z] Removing intermediate container 5bb56912a4fd [2023-08-31T13:51:16.355Z] ---> c6fd22b8ae0a [2023-08-31T13:51:16.355Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:51:16.612Z] ---> Running in 2ec4b4028d62 [2023-08-31T13:51:17.208Z] Removing intermediate container 2ec4b4028d62 [2023-08-31T13:51:17.208Z] ---> 7828ef1c94d9 [2023-08-31T13:51:17.208Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-08-31T13:51:17.208Z] ---> Running in 5534df6c0de6 [2023-08-31T13:51:17.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:17.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:17.726Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:18.292Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:51:18.292Z] (1/7) Installing curl (8.2.1-r0) [2023-08-31T13:51:18.292Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-31T13:51:18.292Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-31T13:51:18.550Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-31T13:51:19.334Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-31T13:51:19.334Z] (6/7) Installing libuuid (2.38-r1) [2023-08-31T13:51:19.334Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-31T13:51:19.903Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:51:19.903Z] OK: 276 MiB in 83 packages [2023-08-31T13:51:20.209Z] Removing intermediate container 5534df6c0de6 [2023-08-31T13:51:20.209Z] ---> 3ca4faa04d71 [2023-08-31T13:51:20.209Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-31T13:51:20.469Z] ---> 6d95e63268ea [2023-08-31T13:51:20.469Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-31T13:51:20.469Z] ---> 17d33392254b [2023-08-31T13:51:20.469Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-31T13:51:20.727Z] ---> 4f86c1ef9b91 [2023-08-31T13:51:20.727Z] Successfully built 4f86c1ef9b91 [2023-08-31T13:51:20.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:51:21.095Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T13:51:21.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:51:21.163Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:51:21.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T13:51:21.547Z] $ docker top 2161918ecd43451563c550a763bf977e3dad838e7c881d24d979a449f59c5eea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T13:51:21.879Z] + make test [2023-08-31T13:51:21.879Z] echo "make test" [2023-08-31T13:51:21.879Z] make test [Pipeline] } [2023-08-31T13:51:21.893Z] $ docker stop --time=1 2161918ecd43451563c550a763bf977e3dad838e7c881d24d979a449f59c5eea [2023-08-31T13:51:23.172Z] $ docker rm -f --volumes 2161918ecd43451563c550a763bf977e3dad838e7c881d24d979a449f59c5eea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T13:51:23.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T13:51:24.067Z] + ls -al . [2023-08-31T13:51:24.067Z] total 212 [2023-08-31T13:51:24.067Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 13:50 . [2023-08-31T13:51:24.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:50 .. [2023-08-31T13:51:24.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 13:50 .git [2023-08-31T13:51:24.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:50 .github [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 31 13:50 .gitignore [2023-08-31T13:51:24.067Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 13:50 .semver [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 31 13:50 Attribution.txt [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 31 13:50 CHANGES [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 31 13:50 Doxyfile [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 13:50 GOVERNANCE.md [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 31 13:50 Jenkinsfile [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 13:50 LICENSE [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 31 13:50 Makefile [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 13:50 OWNERS.md [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 31 13:50 README.IOT.md [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 31 13:50 README.md [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 31 13:50 README.v3.md [2023-08-31T13:51:24.067Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 13:50 VERSION [2023-08-31T13:51:24.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:50 docs [2023-08-31T13:51:24.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:50 include [2023-08-31T13:51:24.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:50 scripts [2023-08-31T13:51:24.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:51:24.373Z] + 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=b62e37af488d81aa36bc8e7f628d0bcafa679f3c --label arch=amd64 --label version=3.0.3-dev.1 . [2023-08-31T13:51:24.373Z] Sending build context to Docker daemon 4.884MB [2023-08-31T13:51:24.373Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-31T13:51:24.373Z] Step 2/17 : FROM ${BASE} [2023-08-31T13:51:24.373Z] ---> 4f86c1ef9b91 [2023-08-31T13:51:24.373Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-31T13:51:24.633Z] ---> Running in fa09329e2b2d [2023-08-31T13:51:24.633Z] Removing intermediate container fa09329e2b2d [2023-08-31T13:51:24.633Z] ---> cd7ff552b36c [2023-08-31T13:51:24.633Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:51:24.633Z] ---> Running in b7b4df569ca5 [2023-08-31T13:51:24.890Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-08-31T13:51:25.158Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:51:25.158Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:51:25.158Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:51:26.094Z] Removing intermediate container b7b4df569ca5 [2023-08-31T13:51:26.094Z] ---> 4d49ac12fb8a [2023-08-31T13:51:26.094Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:51:26.094Z] ---> Running in 56c6b64e2c39 [2023-08-31T13:51:26.660Z] Removing intermediate container 56c6b64e2c39 [2023-08-31T13:51:26.660Z] ---> a81b8c9a177a [2023-08-31T13:51:26.660Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-08-31T13:51:26.660Z] ---> Running in 8b45b681192e [2023-08-31T13:51:26.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:26.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:26.920Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-31T13:51:27.488Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:51:27.488Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:51:27.488Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:51:27.488Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-31T13:51:28.426Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-31T13:51:28.426Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-31T13:51:28.426Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-31T13:51:28.426Z] (7/11) Installing libblkid (2.38-r1) [2023-08-31T13:51:28.426Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-31T13:51:28.426Z] (9/11) Installing libmount (2.38-r1) [2023-08-31T13:51:28.426Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-31T13:51:28.426Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-31T13:51:28.426Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:51:28.426Z] OK: 281 MiB in 92 packages [2023-08-31T13:51:29.362Z] Removing intermediate container 8b45b681192e [2023-08-31T13:51:29.362Z] ---> 251d1fba478f [2023-08-31T13:51:29.362Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-31T13:51:29.362Z] ---> 9bbd628ed4d2 [2023-08-31T13:51:29.362Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-31T13:51:29.620Z] ---> ae98448f4d6b [2023-08-31T13:51:29.620Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-31T13:51:29.620Z] ---> d0f45bd37cbd [2023-08-31T13:51:29.620Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-31T13:51:29.620Z] ---> fa705732068a [2023-08-31T13:51:29.620Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-31T13:51:29.877Z] ---> 800324762609 [2023-08-31T13:51:29.877Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-31T13:51:29.877Z] ---> 93b6e3133e79 [2023-08-31T13:51:29.877Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-31T13:51:29.877Z] ---> Running in 90669d47c755 [2023-08-31T13:51:30.138Z] Removing intermediate container 90669d47c755 [2023-08-31T13:51:30.138Z] ---> 7823781931ef [2023-08-31T13:51:30.138Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-31T13:51:30.138Z] ---> Running in 1717b921dbd0 [2023-08-31T13:51:30.138Z] Removing intermediate container 1717b921dbd0 [2023-08-31T13:51:30.138Z] ---> a62d41d94847 [2023-08-31T13:51:30.138Z] Step 15/17 : LABEL arch=amd64 [2023-08-31T13:51:30.138Z] ---> Running in 0c06ea6b62b1 [2023-08-31T13:51:30.138Z] Removing intermediate container 0c06ea6b62b1 [2023-08-31T13:51:30.138Z] ---> 261389f91fd1 [2023-08-31T13:51:30.138Z] Step 16/17 : LABEL git_sha=b62e37af488d81aa36bc8e7f628d0bcafa679f3c [2023-08-31T13:51:30.138Z] ---> Running in 79692da74862 [2023-08-31T13:51:30.396Z] Removing intermediate container 79692da74862 [2023-08-31T13:51:30.396Z] ---> 066cb4c13640 [2023-08-31T13:51:30.396Z] Step 17/17 : LABEL version=3.0.3-dev.1 [2023-08-31T13:51:30.396Z] ---> Running in 11d862e05cd4 [2023-08-31T13:51:30.396Z] Removing intermediate container 11d862e05cd4 [2023-08-31T13:51:30.396Z] ---> cae3eb1d83a8 [2023-08-31T13:51:30.396Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-08-31T13:51:30.396Z] Successfully built cae3eb1d83a8 [2023-08-31T13:51:30.396Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:51:30.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T13:51:30.843Z] [2023-08-31T13:51:30.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:51:31.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T13:51:31.139Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T13:51:31.139Z] 5eb5b503b376: Pulling fs layer [2023-08-31T13:51:31.139Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T13:51:31.139Z] ec43610c2a17: Pulling fs layer [2023-08-31T13:51:31.139Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T13:51:31.139Z] 33b1e0a273af: Pulling fs layer [2023-08-31T13:51:31.139Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T13:51:31.139Z] 2f39f015ded8: Pulling fs layer [2023-08-31T13:51:31.139Z] 33b1e0a273af: Waiting [2023-08-31T13:51:31.139Z] 5d3b04190fa2: Waiting [2023-08-31T13:51:31.139Z] 2f39f015ded8: Waiting [2023-08-31T13:51:31.139Z] 3a2ae6a8a46f: Waiting [2023-08-31T13:51:31.139Z] 5c69ac0246d0: Verifying Checksum [2023-08-31T13:51:31.139Z] 5c69ac0246d0: Download complete [2023-08-31T13:51:31.139Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T13:51:31.139Z] 3a2ae6a8a46f: Download complete [2023-08-31T13:51:31.397Z] 33b1e0a273af: Verifying Checksum [2023-08-31T13:51:31.397Z] 33b1e0a273af: Download complete [2023-08-31T13:51:31.398Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T13:51:31.398Z] 5d3b04190fa2: Download complete [2023-08-31T13:51:31.398Z] ec43610c2a17: Verifying Checksum [2023-08-31T13:51:31.398Z] ec43610c2a17: Download complete [2023-08-31T13:51:31.398Z] 5eb5b503b376: Verifying Checksum [2023-08-31T13:51:31.398Z] 5eb5b503b376: Download complete [2023-08-31T13:51:31.970Z] 2f39f015ded8: Verifying Checksum [2023-08-31T13:51:31.970Z] 2f39f015ded8: Download complete [2023-08-31T13:51:32.537Z] 5eb5b503b376: Pull complete [2023-08-31T13:51:32.796Z] 5c69ac0246d0: Pull complete [2023-08-31T13:51:33.053Z] ec43610c2a17: Pull complete [2023-08-31T13:51:33.311Z] 3a2ae6a8a46f: Pull complete [2023-08-31T13:51:33.568Z] 33b1e0a273af: Pull complete [2023-08-31T13:51:33.568Z] 5d3b04190fa2: Pull complete [2023-08-31T13:51:37.893Z] 2f39f015ded8: Pull complete [2023-08-31T13:51:37.893Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T13:51:37.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T13:51:37.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:51:37.989Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:51:38.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T13:51:42.858Z] $ docker top 619ba53e6a02962b5db1323050600868e853ba0902cf51a6604a4f514225606b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:51:43.254Z] ---> job-cost.sh [2023-08-31T13:51:43.254Z] lf-activate-venv: SKIPPING [2023-08-31T13:51:43.254Z] INFO: No Stack... [2023-08-31T13:51:43.513Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T13:51:44.081Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T13:51:44.367Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-08-31T13:51:44.368Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T13:51:44.381Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [2023-08-31T13:51:44.387Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] did not exist. Created. [2023-08-31T13:51:44.388Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T13:51:44.688Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T13:51:44.731Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T13:51:44.739Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T13:51:44.757Z] $ docker stop --time=1 619ba53e6a02962b5db1323050600868e853ba0902cf51a6604a4f514225606b [2023-08-31T13:51:45.906Z] $ docker rm -f --volumes 619ba53e6a02962b5db1323050600868e853ba0902cf51a6604a4f514225606b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T13:52:37.983Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5011 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-08-31T13:52:37.996Z] Running in /w/workspace/device-sdk-c/60 [Pipeline] { [Pipeline] checkout [2023-08-31T13:52:38.024Z] Selected Git installation does not exist. Using Default [2023-08-31T13:52:38.024Z] The recommended git tool is: NONE [2023-08-31T13:52:42.943Z] using credential edgex-jenkins-ssh [2023-08-31T13:52:42.958Z] Cloning the remote Git repository [2023-08-31T13:52:43.004Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-31T13:52:43.090Z] > git init /w/workspace/device-sdk-c/60 # timeout=10 [2023-08-31T13:52:43.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-31T13:52:43.231Z] > git --version # timeout=10 [2023-08-31T13:52:43.257Z] > git --version # 'git version 2.25.1' [2023-08-31T13:52:43.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T13:52:43.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T13:52:45.309Z] Avoid second fetch [2023-08-31T13:52:45.309Z] Checking out Revision b62e37af488d81aa36bc8e7f628d0bcafa679f3c (main) [2023-08-31T13:52:44.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-31T13:52:44.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T13:52:45.327Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T13:52:45.824Z] Commit message: "Merge pull request #480 from FelixTing/issue-479" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T13:52:46.696Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T13:52:46.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T13:52:46.696Z] Dload Upload Total Spent Left Speed [2023-08-31T13:52:46.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [2023-08-31T13:52:45.383Z] > git checkout -f b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 [Pipeline] sh [2023-08-31T13:52:47.294Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T13:52:47.619Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T13:52:47.619Z] + sudo tee /etc/docker/daemon.new [2023-08-31T13:52:47.619Z] { [2023-08-31T13:52:47.619Z] "registry-mirrors": [ [2023-08-31T13:52:47.619Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T13:52:47.619Z] ], [2023-08-31T13:52:47.619Z] "bip": "10.250.0.254/24", [2023-08-31T13:52:47.619Z] "hosts": [ [2023-08-31T13:52:47.619Z] "tcp://0.0.0.0:5555", [2023-08-31T13:52:47.619Z] "unix:///var/run/docker.sock" [2023-08-31T13:52:47.619Z] ], [2023-08-31T13:52:47.619Z] "mtu": 1458, [2023-08-31T13:52:47.619Z] "selinux-enabled": true, [2023-08-31T13:52:47.619Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T13:52:47.619Z] } [Pipeline] sh [2023-08-31T13:52:47.946Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T13:52:48.273Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T13:53:06.527Z] provisioning config files... [2023-08-31T13:53:06.551Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/60@tmp/config1452426107302510194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:53:06.898Z] ---> docker-login.sh [2023-08-31T13:53:06.899Z] nexus3.edgexfoundry.org:10001 [2023-08-31T13:53:07.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:53:12.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:53:12.517Z] Configure a credential helper to remove this warning. See [2023-08-31T13:53:12.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:53:12.517Z] [2023-08-31T13:53:12.517Z] Login Succeeded [2023-08-31T13:53:12.517Z] nexus3.edgexfoundry.org:10002 [2023-08-31T13:53:12.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:53:12.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:53:12.785Z] Configure a credential helper to remove this warning. See [2023-08-31T13:53:12.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:53:12.785Z] [2023-08-31T13:53:12.785Z] Login Succeeded [2023-08-31T13:53:12.785Z] nexus3.edgexfoundry.org:10003 [2023-08-31T13:53:13.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:53:13.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:53:13.321Z] Configure a credential helper to remove this warning. See [2023-08-31T13:53:13.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:53:13.321Z] [2023-08-31T13:53:13.321Z] Login Succeeded [2023-08-31T13:53:13.321Z] nexus3.edgexfoundry.org:10004 [2023-08-31T13:53:13.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:53:13.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:53:13.591Z] Configure a credential helper to remove this warning. See [2023-08-31T13:53:13.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:53:13.591Z] [2023-08-31T13:53:13.591Z] Login Succeeded [2023-08-31T13:53:13.591Z] docker.io [2023-08-31T13:53:13.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T13:53:14.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T13:53:14.123Z] Configure a credential helper to remove this warning. See [2023-08-31T13:53:14.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T13:53:14.123Z] [2023-08-31T13:53:14.123Z] Login Succeeded [2023-08-31T13:53:14.123Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T13:53:14.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T13:53:14.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T13:53:14.382Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-31T13:53:14.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T13:53:14.402Z] ========================================================= [2023-08-31T13:53:14.402Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-31T13:53:14.402Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:53:14.737Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-08-31T13:53:15.006Z] Sending build context to Docker daemon 2.918MB [2023-08-31T13:53:15.006Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-31T13:53:15.006Z] Step 2/21 : FROM ${BASE} as builder [2023-08-31T13:53:15.275Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-31T13:53:15.275Z] 547446be3368: Pulling fs layer [2023-08-31T13:53:15.275Z] 76bd08e1cacc: Pulling fs layer [2023-08-31T13:53:15.275Z] 547446be3368: Download complete [2023-08-31T13:53:15.862Z] 547446be3368: Pull complete [2023-08-31T13:53:17.297Z] 76bd08e1cacc: Verifying Checksum [2023-08-31T13:53:17.297Z] 76bd08e1cacc: Download complete [2023-08-31T13:53:25.524Z] 76bd08e1cacc: Pull complete [2023-08-31T13:53:25.524Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-31T13:53:25.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-31T13:53:25.524Z] ---> 295cd00e64f4 [2023-08-31T13:53:25.524Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:53:26.109Z] ---> Running in 224c6331fcef [2023-08-31T13:53:27.070Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-08-31T13:53:27.677Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:53:27.677Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:53:27.677Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:53:28.263Z] Removing intermediate container 224c6331fcef [2023-08-31T13:53:28.263Z] ---> fb938e155e3b [2023-08-31T13:53:28.263Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:53:28.263Z] ---> Running in 42355d01c4b9 [2023-08-31T13:53:29.683Z] Removing intermediate container 42355d01c4b9 [2023-08-31T13:53:29.683Z] ---> f5f892dd5d12 [2023-08-31T13:53:29.683Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-08-31T13:53:29.683Z] ---> Running in 602c553f5ca9 [2023-08-31T13:53:30.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:53:30.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-31T13:53:31.501Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:53:32.458Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:53:32.458Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:53:32.458Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:53:32.458Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-31T13:53:32.458Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-31T13:53:32.458Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-31T13:53:33.040Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-31T13:53:33.306Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-31T13:53:33.306Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-31T13:53:33.306Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-31T13:53:33.306Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-31T13:53:34.260Z] (11/16) Installing libblkid (2.38-r1) [2023-08-31T13:53:34.260Z] (12/16) Installing libuuid (2.38-r1) [2023-08-31T13:53:34.260Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-31T13:53:34.260Z] (14/16) Installing libmount (2.38-r1) [2023-08-31T13:53:34.260Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-31T13:53:34.260Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-31T13:53:34.527Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:53:34.527Z] OK: 286 MiB in 90 packages [2023-08-31T13:53:37.204Z] Removing intermediate container 602c553f5ca9 [2023-08-31T13:53:37.204Z] ---> 8634b6f97f2e [2023-08-31T13:53:37.204Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-31T13:53:37.204Z] ---> Running in ebd5d82f57a6 [2023-08-31T13:53:39.163Z] Removing intermediate container ebd5d82f57a6 [2023-08-31T13:53:39.163Z] ---> b9ce63afbe69 [2023-08-31T13:53:39.163Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-31T13:53:39.163Z] ---> 37a91b6ff601 [2023-08-31T13:53:39.163Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-31T13:53:40.128Z] ---> 151247d9abe5 [2023-08-31T13:53:40.128Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-31T13:53:40.402Z] ---> df7536cd55dc [2023-08-31T13:53:40.403Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-31T13:53:40.989Z] ---> 533b93643140 [2023-08-31T13:53:40.989Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-31T13:53:41.269Z] ---> fce5b9204d52 [2023-08-31T13:53:41.269Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-31T13:53:41.852Z] ---> fbe98855608d [2023-08-31T13:53:41.852Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-31T13:53:41.852Z] ---> Running in 06d101fd3966 [2023-08-31T13:53:42.823Z] + CPPCHECK=false [2023-08-31T13:53:42.823Z] + DOCGEN=false [2023-08-31T13:53:42.823Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-31T13:53:42.823Z] + '[' 0 -gt 0 ] [2023-08-31T13:53:42.823Z] + readlink -f ./scripts/build.sh [2023-08-31T13:53:42.823Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-31T13:53:42.823Z] + dirname /tmp/sdk/scripts [2023-08-31T13:53:42.823Z] + ROOT=/tmp/sdk [2023-08-31T13:53:42.823Z] + cd /tmp/sdk [2023-08-31T13:53:42.823Z] + mkdir -p /tmp/sdk/build/release [2023-08-31T13:53:42.823Z] + cd /tmp/sdk/build/release [2023-08-31T13:53:42.823Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-31T13:53:43.090Z] -- The C compiler identification is GNU 11.2.1 [2023-08-31T13:53:43.090Z] -- Detecting C compiler ABI info [2023-08-31T13:53:43.358Z] -- Detecting C compiler ABI info - done [2023-08-31T13:53:43.358Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-31T13:53:43.358Z] -- Detecting C compile features [2023-08-31T13:53:43.625Z] -- Detecting C compile features - done [2023-08-31T13:53:43.625Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-31T13:53:43.625Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-31T13:53:43.625Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-31T13:53:43.625Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-31T13:53:43.625Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-31T13:53:43.895Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-31T13:53:43.895Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-31T13:53:43.895Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-31T13:53:43.895Z] -- /opt/iotech/iot/1.5/include [2023-08-31T13:53:43.895Z] -- C SDK 3.0.3-dev.1 for Linux [2023-08-31T13:53:43.895Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-31T13:53:44.163Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-31T13:53:44.163Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-31T13:53:44.430Z] -- Configuring done [2023-08-31T13:53:44.697Z] -- Generating done [2023-08-31T13:53:44.697Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-31T13:53:44.697Z] + make all package [2023-08-31T13:53:44.697Z] + tee release.log [2023-08-31T13:53:44.962Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-31T13:53:45.544Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-31T13:53:46.502Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-31T13:53:47.462Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-31T13:53:48.423Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-31T13:53:49.007Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-31T13:53:51.625Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-31T13:53:52.209Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-31T13:53:52.475Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-31T13:53:53.435Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-31T13:53:56.010Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-31T13:53:56.593Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-31T13:53:57.551Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-31T13:53:58.133Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-31T13:53:58.714Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-31T13:54:00.119Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-31T13:54:00.119Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-31T13:54:02.692Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-31T13:54:02.958Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-31T13:54:03.540Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-31T13:54:05.482Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-31T13:54:10.814Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-31T13:54:11.081Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-31T13:54:11.348Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-31T13:54:11.928Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-31T13:54:12.193Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-31T13:54:14.129Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-31T13:54:16.701Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-31T13:54:16.967Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-31T13:54:17.924Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-31T13:54:18.504Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-31T13:54:21.832Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-31T13:54:22.410Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-31T13:54:22.990Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-31T13:54:23.570Z] [ 68%] Linking C shared library libcsdk.so [2023-08-31T13:54:23.570Z] [ 68%] Built target csdk [2023-08-31T13:54:23.570Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-31T13:54:24.529Z] [ 72%] Linking C executable template [2023-08-31T13:54:24.794Z] [ 72%] Built target template [2023-08-31T13:54:25.058Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-31T13:54:25.638Z] [ 76%] Linking C executable device-counter [2023-08-31T13:54:25.903Z] [ 76%] Built target device-counter [2023-08-31T13:54:25.903Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-31T13:54:26.484Z] [ 80%] Linking C executable device-random [2023-08-31T13:54:26.750Z] [ 80%] Built target device-random [2023-08-31T13:54:26.750Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-31T13:54:27.332Z] [ 84%] Linking C executable device-gyro [2023-08-31T13:54:27.598Z] [ 84%] Built target device-gyro [2023-08-31T13:54:27.598Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-31T13:54:28.182Z] [ 88%] Linking C executable device-bitfields [2023-08-31T13:54:28.449Z] [ 88%] Built target device-bitfields [2023-08-31T13:54:28.449Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-31T13:54:29.404Z] [ 92%] Linking C executable template-discovery [2023-08-31T13:54:29.669Z] [ 92%] Built target template-discovery [2023-08-31T13:54:29.936Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-31T13:54:30.517Z] [ 96%] Linking C executable device-file [2023-08-31T13:54:31.101Z] [ 96%] Built target device-file [2023-08-31T13:54:31.101Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-31T13:54:31.684Z] [100%] Linking C executable device-terminal [2023-08-31T13:54:31.950Z] [100%] Built target device-terminal [2023-08-31T13:54:32.908Z] Run CPack packaging tool... [2023-08-31T13:54:32.908Z] CPack: Create package using TGZ [2023-08-31T13:54:32.908Z] CPack: Install projects [2023-08-31T13:54:32.908Z] CPack: - Run preinstall target for: Csdk [2023-08-31T13:54:33.492Z] CPack: - Install project: Csdk [] [2023-08-31T13:54:33.492Z] CPack: Create package [2023-08-31T13:54:33.492Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.1.tar.gz generated. [2023-08-31T13:54:33.492Z] + '[' false '=' true ] [2023-08-31T13:54:33.492Z] + '[' false '=' true ] [2023-08-31T13:54:33.492Z] + mkdir -p /tmp/sdk/build/debug [2023-08-31T13:54:33.492Z] + cd /tmp/sdk/build/debug [2023-08-31T13:54:33.492Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-31T13:54:34.076Z] -- The C compiler identification is GNU 11.2.1 [2023-08-31T13:54:34.076Z] -- Detecting C compiler ABI info [2023-08-31T13:54:34.343Z] -- Detecting C compiler ABI info - done [2023-08-31T13:54:34.343Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-31T13:54:34.343Z] -- Detecting C compile features [2023-08-31T13:54:34.343Z] -- Detecting C compile features - done [2023-08-31T13:54:34.343Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-31T13:54:34.611Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-31T13:54:34.611Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-31T13:54:34.611Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-31T13:54:34.611Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-31T13:54:34.611Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-31T13:54:34.611Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-31T13:54:34.611Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-31T13:54:34.611Z] -- /opt/iotech/iot/1.5/include [2023-08-31T13:54:34.611Z] -- C SDK 3.0.3-dev.1 for Linux [2023-08-31T13:54:34.611Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-31T13:54:34.879Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-31T13:54:35.144Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-31T13:54:35.144Z] -- Configuring done [2023-08-31T13:54:35.410Z] -- Generating done [2023-08-31T13:54:35.410Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-31T13:54:35.410Z] + make [2023-08-31T13:54:35.410Z] + tee debug.log [2023-08-31T13:54:35.676Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-31T13:54:36.256Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-31T13:54:36.521Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-31T13:54:36.789Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-31T13:54:37.369Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-31T13:54:37.634Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-31T13:54:38.589Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-31T13:54:38.855Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-31T13:54:39.119Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-31T13:54:39.697Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-31T13:54:40.277Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-31T13:54:40.544Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-31T13:54:41.125Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-31T13:54:41.394Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-31T13:54:41.977Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-31T13:54:42.243Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-31T13:54:42.510Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-31T13:54:43.467Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-31T13:54:43.734Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-31T13:54:43.734Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-31T13:54:44.689Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-31T13:54:45.650Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-31T13:54:46.233Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-31T13:54:46.500Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-31T13:54:46.767Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-31T13:54:47.035Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-31T13:54:47.618Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-31T13:54:49.556Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-31T13:54:49.556Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-31T13:54:50.137Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-31T13:54:50.404Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-31T13:54:51.359Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-31T13:54:51.625Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-31T13:54:52.207Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-31T13:54:52.473Z] [ 68%] Linking C shared library libcsdk.so [2023-08-31T13:54:52.473Z] [ 68%] Built target csdk [2023-08-31T13:54:52.738Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-31T13:54:53.003Z] [ 72%] Linking C executable template [2023-08-31T13:54:53.270Z] [ 72%] Built target template [2023-08-31T13:54:53.271Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-31T13:54:53.536Z] [ 76%] Linking C executable device-counter [2023-08-31T13:54:54.119Z] [ 76%] Built target device-counter [2023-08-31T13:54:54.119Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-31T13:54:54.385Z] [ 80%] Linking C executable device-random [2023-08-31T13:54:54.650Z] [ 80%] Built target device-random [2023-08-31T13:54:54.650Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-31T13:54:54.916Z] [ 84%] Linking C executable device-gyro [2023-08-31T13:54:55.181Z] [ 84%] Built target device-gyro [2023-08-31T13:54:55.181Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-31T13:54:55.445Z] [ 88%] Linking C executable device-bitfields [2023-08-31T13:54:55.711Z] [ 88%] Built target device-bitfields [2023-08-31T13:54:55.977Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-31T13:54:56.244Z] [ 92%] Linking C executable template-discovery [2023-08-31T13:54:56.509Z] [ 92%] Built target template-discovery [2023-08-31T13:54:56.509Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-31T13:54:57.088Z] [ 96%] Linking C executable device-file [2023-08-31T13:54:57.354Z] [ 96%] Built target device-file [2023-08-31T13:54:57.355Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-31T13:54:57.938Z] [100%] Linking C executable device-terminal [2023-08-31T13:54:57.938Z] [100%] Built target device-terminal [2023-08-31T13:54:58.894Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] [ 68%] Built target csdk [2023-08-31T13:54:58.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] [ 72%] Built target template [2023-08-31T13:54:58.894Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:58.894Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 76%] Built target device-counter [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 80%] Built target device-random [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 84%] Built target device-gyro [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 88%] Built target device-bitfields [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 92%] Built target template-discovery [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.161Z] [ 96%] Built target device-file [2023-08-31T13:54:59.161Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.431Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.431Z] [100%] Built target device-terminal [2023-08-31T13:54:59.431Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:54:59.431Z] Install the project... [2023-08-31T13:54:59.431Z] -- Install configuration: "Release" [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-31T13:54:59.431Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/devsdk [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-31T13:54:59.431Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-31T13:54:59.431Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-31T13:55:00.838Z] Removing intermediate container 06d101fd3966 [2023-08-31T13:55:00.838Z] ---> e27c24cf8ebb [2023-08-31T13:55:00.838Z] Step 14/21 : FROM ${BASE} [2023-08-31T13:55:00.838Z] ---> 295cd00e64f4 [2023-08-31T13:55:00.838Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-31T13:55:00.838Z] ---> Running in fcecf9915720 [2023-08-31T13:55:00.838Z] Removing intermediate container fcecf9915720 [2023-08-31T13:55:00.838Z] ---> ba190f19b40f [2023-08-31T13:55:00.838Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:55:01.105Z] ---> Running in 2908b4556d3b [2023-08-31T13:55:04.438Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-08-31T13:55:05.018Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:55:05.018Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:55:05.018Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:55:05.606Z] Removing intermediate container 2908b4556d3b [2023-08-31T13:55:05.606Z] ---> c640f982069b [2023-08-31T13:55:05.606Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:55:05.606Z] ---> Running in 804b9b2b02a1 [2023-08-31T13:55:07.009Z] Removing intermediate container 804b9b2b02a1 [2023-08-31T13:55:07.009Z] ---> 1797469895d0 [2023-08-31T13:55:07.009Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-08-31T13:55:07.009Z] ---> Running in 614c907f3cd8 [2023-08-31T13:55:07.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:08.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:08.810Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:09.763Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:55:09.763Z] (1/7) Installing curl (8.2.1-r0) [2023-08-31T13:55:09.763Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-31T13:55:09.763Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-31T13:55:09.763Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-31T13:55:10.715Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-31T13:55:10.715Z] (6/7) Installing libuuid (2.38-r1) [2023-08-31T13:55:10.715Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-31T13:55:11.670Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:55:11.671Z] OK: 281 MiB in 83 packages [2023-08-31T13:55:12.629Z] Removing intermediate container 614c907f3cd8 [2023-08-31T13:55:12.629Z] ---> b8b862a32065 [2023-08-31T13:55:12.629Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-31T13:55:12.901Z] ---> ec462b5aac67 [2023-08-31T13:55:12.901Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-31T13:55:13.483Z] ---> eed66dfbed1f [2023-08-31T13:55:13.483Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-31T13:55:14.064Z] ---> b0b4f98f4d59 [2023-08-31T13:55:14.064Z] Successfully built b0b4f98f4d59 [2023-08-31T13:55:14.064Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:55:14.473Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T13:55:14.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:55:14.674Z] prd-ubuntu20.04-docker-arm64-4c-16g-5011 does not seem to be running inside a container [2023-08-31T13:55:14.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/60 -v /w/workspace/device-sdk-c/60:/w/workspace/device-sdk-c/60:rw,z -v /w/workspace/device-sdk-c/60@tmp:/w/workspace/device-sdk-c/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-31T13:55:15.865Z] $ docker top d2b8a24e4f2d2a4034af7679b7d861e0167b0c29456bf598beddef2b1e754522 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T13:55:16.667Z] + make test [2023-08-31T13:55:16.667Z] echo "make test" [2023-08-31T13:55:16.667Z] make test [Pipeline] } [2023-08-31T13:55:16.689Z] $ docker stop --time=1 d2b8a24e4f2d2a4034af7679b7d861e0167b0c29456bf598beddef2b1e754522 [2023-08-31T13:55:18.314Z] $ docker rm -f --volumes d2b8a24e4f2d2a4034af7679b7d861e0167b0c29456bf598beddef2b1e754522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T13:55:18.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T13:55:19.148Z] + ls -al . [2023-08-31T13:55:19.148Z] total 208 [2023-08-31T13:55:19.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 13:52 . [2023-08-31T13:55:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:52 .. [2023-08-31T13:55:19.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 13:52 .git [2023-08-31T13:55:19.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:52 .github [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 31 13:52 .gitignore [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 31 13:52 Attribution.txt [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 31 13:52 CHANGES [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 31 13:52 Doxyfile [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 13:52 GOVERNANCE.md [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 31 13:52 Jenkinsfile [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 31 13:52 LICENSE [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 31 13:52 Makefile [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 31 13:52 OWNERS.md [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 31 13:52 README.IOT.md [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 31 13:52 README.md [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 31 13:52 README.v3.md [2023-08-31T13:55:19.148Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 31 13:50 VERSION [2023-08-31T13:55:19.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:52 docs [2023-08-31T13:55:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:52 include [2023-08-31T13:55:19.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 13:52 scripts [2023-08-31T13:55:19.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 13:52 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:55:19.480Z] + 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=b62e37af488d81aa36bc8e7f628d0bcafa679f3c --label arch=arm64 --label version=3.0.3-dev.1 . [2023-08-31T13:55:19.747Z] Sending build context to Docker daemon 2.918MB [2023-08-31T13:55:19.747Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-31T13:55:19.747Z] Step 2/17 : FROM ${BASE} [2023-08-31T13:55:19.747Z] ---> b0b4f98f4d59 [2023-08-31T13:55:19.747Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-31T13:55:20.015Z] ---> Running in 59e54f1ec454 [2023-08-31T13:55:20.281Z] Removing intermediate container 59e54f1ec454 [2023-08-31T13:55:20.281Z] ---> eaface9f64ec [2023-08-31T13:55:20.281Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-31T13:55:20.281Z] ---> Running in b2430ceada22 [2023-08-31T13:55:21.236Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-08-31T13:55:21.502Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-31T13:55:21.502Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-31T13:55:21.502Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-31T13:55:22.463Z] Removing intermediate container b2430ceada22 [2023-08-31T13:55:22.463Z] ---> 00b4edfa1a1a [2023-08-31T13:55:22.463Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-31T13:55:22.463Z] ---> Running in 175564f05f48 [2023-08-31T13:55:25.876Z] Removing intermediate container 175564f05f48 [2023-08-31T13:55:25.876Z] ---> d1ab4fec2f42 [2023-08-31T13:55:25.876Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-08-31T13:55:25.876Z] ---> Running in db7d3b640a24 [2023-08-31T13:55:26.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:26.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:27.324Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-31T13:55:27.924Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-31T13:55:28.195Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:55:28.195Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-31T13:55:28.195Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-31T13:55:28.788Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-31T13:55:29.060Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-31T13:55:29.060Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-31T13:55:29.060Z] (7/11) Installing libblkid (2.38-r1) [2023-08-31T13:55:29.060Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-31T13:55:29.060Z] (9/11) Installing libmount (2.38-r1) [2023-08-31T13:55:29.060Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-31T13:55:29.060Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-31T13:55:29.060Z] Executing busybox-1.35.0-r17.trigger [2023-08-31T13:55:29.060Z] OK: 287 MiB in 92 packages [2023-08-31T13:55:30.467Z] Removing intermediate container db7d3b640a24 [2023-08-31T13:55:30.467Z] ---> e23dc1f32d90 [2023-08-31T13:55:30.467Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-31T13:55:30.754Z] ---> ecdf1443cef5 [2023-08-31T13:55:30.754Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-31T13:55:31.748Z] ---> c43ff7e5c9b3 [2023-08-31T13:55:31.748Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-31T13:55:32.013Z] ---> d7ce4ff6a865 [2023-08-31T13:55:32.013Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-31T13:55:32.593Z] ---> c8d54d081f67 [2023-08-31T13:55:32.593Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-31T13:55:32.859Z] ---> 898b9bab3b7e [2023-08-31T13:55:32.859Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-31T13:55:33.459Z] ---> 91a876c05caf [2023-08-31T13:55:33.459Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-31T13:55:33.459Z] ---> Running in 4cdc708fa7ea [2023-08-31T13:55:33.756Z] Removing intermediate container 4cdc708fa7ea [2023-08-31T13:55:33.756Z] ---> 615a4d3e49a1 [2023-08-31T13:55:33.756Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-31T13:55:34.064Z] ---> Running in dc695757e800 [2023-08-31T13:55:34.064Z] Removing intermediate container dc695757e800 [2023-08-31T13:55:34.064Z] ---> 17d280a4596b [2023-08-31T13:55:34.064Z] Step 15/17 : LABEL arch=arm64 [2023-08-31T13:55:34.330Z] ---> Running in ee2cde24b455 [2023-08-31T13:55:34.597Z] Removing intermediate container ee2cde24b455 [2023-08-31T13:55:34.597Z] ---> e39b6b63bd71 [2023-08-31T13:55:34.597Z] Step 16/17 : LABEL git_sha=b62e37af488d81aa36bc8e7f628d0bcafa679f3c [2023-08-31T13:55:34.597Z] ---> Running in 1b518da1c18c [2023-08-31T13:55:34.863Z] Removing intermediate container 1b518da1c18c [2023-08-31T13:55:34.863Z] ---> e192ed96ed0d [2023-08-31T13:55:34.863Z] Step 17/17 : LABEL version=3.0.3-dev.1 [2023-08-31T13:55:34.863Z] ---> Running in 71d3ed1998d3 [2023-08-31T13:55:35.129Z] Removing intermediate container 71d3ed1998d3 [2023-08-31T13:55:35.129Z] ---> 55a139eeb22d [2023-08-31T13:55:35.129Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-08-31T13:55:35.129Z] Successfully built 55a139eeb22d [2023-08-31T13:55:35.129Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:55:35.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T13:55:35.567Z] [2023-08-31T13:55:35.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:55:35.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T13:55:36.159Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T13:55:36.159Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T13:55:36.159Z] 04944245beec: Pulling fs layer [2023-08-31T13:55:36.159Z] 699f458cf7ca: Pulling fs layer [2023-08-31T13:55:36.159Z] 765212b225bb: Pulling fs layer [2023-08-31T13:55:36.159Z] f23df028b6ca: Pulling fs layer [2023-08-31T13:55:36.159Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T13:55:36.159Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T13:55:36.159Z] f23df028b6ca: Waiting [2023-08-31T13:55:36.159Z] d65c8cfc05b1: Waiting [2023-08-31T13:55:36.159Z] 2437ff75d9bd: Waiting [2023-08-31T13:55:36.159Z] 765212b225bb: Waiting [2023-08-31T13:55:36.159Z] 04944245beec: Verifying Checksum [2023-08-31T13:55:36.159Z] 04944245beec: Download complete [2023-08-31T13:55:36.159Z] 765212b225bb: Verifying Checksum [2023-08-31T13:55:36.159Z] 765212b225bb: Download complete [2023-08-31T13:55:36.427Z] f23df028b6ca: Verifying Checksum [2023-08-31T13:55:36.427Z] f23df028b6ca: Download complete [2023-08-31T13:55:36.427Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T13:55:36.427Z] d65c8cfc05b1: Download complete [2023-08-31T13:55:36.427Z] 699f458cf7ca: Verifying Checksum [2023-08-31T13:55:36.427Z] 699f458cf7ca: Download complete [2023-08-31T13:55:36.696Z] 8998bd30e6a1: Verifying Checksum [2023-08-31T13:55:36.696Z] 8998bd30e6a1: Download complete [2023-08-31T13:55:39.277Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T13:55:39.277Z] 2437ff75d9bd: Download complete [2023-08-31T13:55:40.692Z] 8998bd30e6a1: Pull complete [2023-08-31T13:55:40.962Z] 04944245beec: Pull complete [2023-08-31T13:55:42.369Z] 699f458cf7ca: Pull complete [2023-08-31T13:55:42.369Z] 765212b225bb: Pull complete [2023-08-31T13:55:42.950Z] f23df028b6ca: Pull complete [2023-08-31T13:55:43.216Z] d65c8cfc05b1: Pull complete [2023-08-31T13:55:58.193Z] 2437ff75d9bd: Pull complete [2023-08-31T13:55:58.193Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T13:55:58.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T13:55:58.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:55:58.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-5011 does not seem to be running inside a container [2023-08-31T13:55:58.427Z] $ 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/60 -v /w/workspace/device-sdk-c/60:/w/workspace/device-sdk-c/60:rw,z -v /w/workspace/device-sdk-c/60@tmp:/w/workspace/device-sdk-c/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-31T13:56:00.699Z] $ docker top 02f3f89e4cf669d101714e3ef43d27b467d73b7ffcffd60862859a701825b992 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:01.522Z] ---> job-cost.sh [2023-08-31T13:56:01.522Z] lf-activate-venv: SKIPPING [2023-08-31T13:56:01.522Z] INFO: No Stack... [2023-08-31T13:56:01.787Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T13:56:02.741Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T13:56:03.059Z] + cat /w/workspace/device-sdk-c/60/archives/cost.csv [2023-08-31T13:56:03.059Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T13:56:03.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [2023-08-31T13:56:03.131Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] did not exist. Created. [2023-08-31T13:56:03.132Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T13:56:03.461Z] /w/workspace/device-sdk-c/60@tmp/durable-aed2c8e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T13:56:03.788Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T13:56:03.806Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T13:56:04.230Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T13:56:04.237Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T13:56:04.257Z] $ docker stop --time=1 02f3f89e4cf669d101714e3ef43d27b467d73b7ffcffd60862859a701825b992 [2023-08-31T13:56:07.417Z] $ docker rm -f --volumes 02f3f89e4cf669d101714e3ef43d27b467d73b7ffcffd60862859a701825b992 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-08-31T13:56:08.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T13:56:08.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:08.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:56:08.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:56:08.385Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:56:08.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T13:56:08.838Z] $ docker top 69647b6b347dfd533f8fccfb5036e84f7d680dc804847b854e23d3ae2cfcfbae -eo pid,comm [2023-08-31T13:56:08.878Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-31T13:56:08.878Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T13:56:08.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T13:56:08.915Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T13:56:09.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T13:56:09.040Z] $ docker exec 69647b6b347dfd533f8fccfb5036e84f7d680dc804847b854e23d3ae2cfcfbae ssh-agent [2023-08-31T13:56:09.153Z] SSH_AUTH_SOCK=/tmp/ssh-mCYEHZk07PGt/agent.33 [2023-08-31T13:56:09.153Z] SSH_AGENT_PID=39 [2023-08-31T13:56:09.157Z] Running ssh-add (command line suppressed) [2023-08-31T13:56:09.258Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14485806663811651555.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14485806663811651555.key) [2023-08-31T13:56:09.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T13:56:09.554Z] + git semver tag [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,750 [run_tag] DEBUG tag force:False [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,750 [check_head_tag] DEBUG check head tag [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,751 [execute] INFO git cat-file --batch-check [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,754 [execute] INFO git cat-file --batch [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,765 [execute] INFO git tag -a v3.0.3-dev.1 -m v3.0.3-dev.1 [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,765 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.1', '-m', 'v3.0.3-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T13:56:09.813Z] 2023-08-31 13:56:09,771 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:09.813Z] 3.0.3-dev.1 [Pipeline] } [2023-08-31T13:56:09.823Z] $ docker exec --env ******** --env ******** 69647b6b347dfd533f8fccfb5036e84f7d680dc804847b854e23d3ae2cfcfbae ssh-agent -k [2023-08-31T13:56:09.940Z] unset SSH_AUTH_SOCK; [2023-08-31T13:56:09.940Z] unset SSH_AGENT_PID; [2023-08-31T13:56:09.940Z] echo Agent pid 39 killed; [2023-08-31T13:56:09.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T13:56:10.245Z] + git semver [Pipeline] } [2023-08-31T13:56:10.519Z] $ docker stop --time=1 69647b6b347dfd533f8fccfb5036e84f7d680dc804847b854e23d3ae2cfcfbae [2023-08-31T13:56:11.799Z] $ docker rm -f --volumes 69647b6b347dfd533f8fccfb5036e84f7d680dc804847b854e23d3ae2cfcfbae [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:12.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T13:56:12.187Z] [2023-08-31T13:56:12.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:12.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T13:56:12.483Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-31T13:56:12.483Z] ab5ef0e58194: Pulling fs layer [2023-08-31T13:56:12.483Z] 9712f1f96733: Pulling fs layer [2023-08-31T13:56:12.483Z] 63f879dbbcfc: Pulling fs layer [2023-08-31T13:56:12.483Z] 0d9ebad4ef96: Pulling fs layer [2023-08-31T13:56:12.483Z] e9a5061849ea: Pulling fs layer [2023-08-31T13:56:12.483Z] d747dcd14b5f: Pulling fs layer [2023-08-31T13:56:12.483Z] 2de7ff778b66: Pulling fs layer [2023-08-31T13:56:12.483Z] e9a5061849ea: Waiting [2023-08-31T13:56:12.484Z] d747dcd14b5f: Waiting [2023-08-31T13:56:12.484Z] 0d9ebad4ef96: Waiting [2023-08-31T13:56:12.484Z] 2de7ff778b66: Waiting [2023-08-31T13:56:12.484Z] 9712f1f96733: Verifying Checksum [2023-08-31T13:56:12.484Z] 9712f1f96733: Download complete [2023-08-31T13:56:13.049Z] 63f879dbbcfc: Verifying Checksum [2023-08-31T13:56:13.049Z] 63f879dbbcfc: Download complete [2023-08-31T13:56:13.049Z] e9a5061849ea: Verifying Checksum [2023-08-31T13:56:13.049Z] e9a5061849ea: Download complete [2023-08-31T13:56:13.049Z] d747dcd14b5f: Download complete [2023-08-31T13:56:13.049Z] ab5ef0e58194: Verifying Checksum [2023-08-31T13:56:13.049Z] ab5ef0e58194: Download complete [2023-08-31T13:56:13.307Z] 0d9ebad4ef96: Verifying Checksum [2023-08-31T13:56:13.307Z] 0d9ebad4ef96: Download complete [2023-08-31T13:56:13.307Z] 2de7ff778b66: Verifying Checksum [2023-08-31T13:56:13.307Z] 2de7ff778b66: Download complete [2023-08-31T13:56:15.835Z] ab5ef0e58194: Pull complete [2023-08-31T13:56:15.835Z] 9712f1f96733: Pull complete [2023-08-31T13:56:16.401Z] 63f879dbbcfc: Pull complete [2023-08-31T13:56:20.582Z] 0d9ebad4ef96: Pull complete [2023-08-31T13:56:20.582Z] e9a5061849ea: Pull complete [2023-08-31T13:56:20.582Z] d747dcd14b5f: Pull complete [2023-08-31T13:56:21.517Z] 2de7ff778b66: Pull complete [2023-08-31T13:56:21.517Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-31T13:56:21.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-31T13:56:21.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:56:21.592Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:56:21.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-31T13:56:26.833Z] $ docker top 5e9460cb1a23e7d8bb5b37daf3d75cea5e3f697ebba0c57d2169bfb69d540195 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-31T13:56:26.904Z] provisioning config files... [2023-08-31T13:56:26.911Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17524664238447691745tmp [2023-08-31T13:56:26.921Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9212920925016051399tmp [2023-08-31T13:56:26.930Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17998615967123609790tmp [Pipeline] { [Pipeline] echo [2023-08-31T13:56:26.941Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:27.225Z] ---> sigul-configuration.sh [2023-08-31T13:56:27.225Z] gpg: directory `/root/.gnupg' created [2023-08-31T13:56:27.225Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-31T13:56:27.225Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-31T13:56:27.225Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-31T13:56:27.225Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-31T13:56:27.225Z] gpg: CAST5 encrypted data [2023-08-31T13:56:27.225Z] gpg: encrypted with 1 passphrase [2023-08-31T13:56:27.225Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-31T13:56:27.512Z] + mkdir /home/jenkins [2023-08-31T13:56:27.512Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-31T13:56:27.796Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-31T13:56:27.806Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:28.089Z] ---> sigul-install.sh [2023-08-31T13:56:28.089Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-31T13:56:28.376Z] + git tag --list [2023-08-31T13:56:28.376Z] 0.7.0 [2023-08-31T13:56:28.376Z] 0.7.1 [2023-08-31T13:56:28.376Z] 1.0.0 [2023-08-31T13:56:28.376Z] v1.0.1 [2023-08-31T13:56:28.376Z] v1.0.2 [2023-08-31T13:56:28.376Z] v1.0.3 [2023-08-31T13:56:28.376Z] v1.1.0 [2023-08-31T13:56:28.376Z] v1.1.1 [2023-08-31T13:56:28.376Z] v1.2.0 [2023-08-31T13:56:28.376Z] v1.2.1 [2023-08-31T13:56:28.376Z] v1.2.2 [2023-08-31T13:56:28.376Z] v1.3.0 [2023-08-31T13:56:28.376Z] v1.3.1 [2023-08-31T13:56:28.376Z] v2.0.0 [2023-08-31T13:56:28.376Z] v2.1.0 [2023-08-31T13:56:28.376Z] v2.2.0 [2023-08-31T13:56:28.376Z] v2.3.0 [2023-08-31T13:56:28.376Z] v3.0 [2023-08-31T13:56:28.376Z] v3.0.0 [2023-08-31T13:56:28.376Z] v3.0.1 [2023-08-31T13:56:28.376Z] v3.0.2 [2023-08-31T13:56:28.376Z] v3.0.3-dev.1 [2023-08-31T13:56:28.376Z] v3.1.0-dev.1 [2023-08-31T13:56:28.376Z] v3.1.0-dev.2 [2023-08-31T13:56:28.376Z] v3.1.0-dev.3 [2023-08-31T13:56:28.376Z] v3.1.0-dev.4 [2023-08-31T13:56:28.376Z] v3.1.0-dev.5 [2023-08-31T13:56:28.376Z] v3.1.0-dev.6 [2023-08-31T13:56:28.376Z] v3.1.0-dev.7 [2023-08-31T13:56:28.376Z] v3.1.0-dev.8 [2023-08-31T13:56:28.376Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-31T13:56:28.660Z] + lftools sign git-tag v3.0.3-dev.1 [2023-08-31T13:56:29.226Z] Signing Git tag with Sigul... [2023-08-31T13:56:29.226Z] Signing v3.0.3-dev.1 [Pipeline] echo [2023-08-31T13:56:29.800Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:30.080Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-31T13:56:30.087Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-31T13:56:30.106Z] $ docker stop --time=1 5e9460cb1a23e7d8bb5b37daf3d75cea5e3f697ebba0c57d2169bfb69d540195 [2023-08-31T13:56:31.416Z] $ docker rm -f --volumes 5e9460cb1a23e7d8bb5b37daf3d75cea5e3f697ebba0c57d2169bfb69d540195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-31T13:56:31.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T13:56:31.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:32.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:56:32.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:56:32.213Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:56:32.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T13:56:32.619Z] $ docker top 8157870ccc9c2d29130569a071c9d3e2e3a18ad28387cc170efcf81263b36b55 -eo pid,comm [2023-08-31T13:56:32.666Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-31T13:56:32.666Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T13:56:32.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T13:56:32.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T13:56:32.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T13:56:32.833Z] $ docker exec 8157870ccc9c2d29130569a071c9d3e2e3a18ad28387cc170efcf81263b36b55 ssh-agent [2023-08-31T13:56:32.943Z] SSH_AUTH_SOCK=/tmp/ssh-tZ5JSJlrLZpF/agent.32 [2023-08-31T13:56:32.943Z] SSH_AGENT_PID=38 [2023-08-31T13:56:32.948Z] Running ssh-add (command line suppressed) [2023-08-31T13:56:33.051Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4863487940596845939.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4863487940596845939.key) [2023-08-31T13:56:33.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T13:56:33.350Z] + git semver bump pre [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,570 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,570 [bump_version] DEBUG bumping version:3.0.3-dev.1 on axis:pre with prefix:dev [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,570 [bump_version] DEBUG bumped version:3.0.3-dev.2 [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,570 [write_version] DEBUG write version:3.0.3-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,571 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,573 [execute] INFO git cat-file --batch-check [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,578 [execute] INFO git cat-file --batch [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T13:56:33.608Z] 2023-08-31 13:56:33,583 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:33.608Z] 3.0.3-dev.2 [Pipeline] } [2023-08-31T13:56:33.618Z] $ docker exec --env ******** --env ******** 8157870ccc9c2d29130569a071c9d3e2e3a18ad28387cc170efcf81263b36b55 ssh-agent -k [2023-08-31T13:56:33.707Z] unset SSH_AUTH_SOCK; [2023-08-31T13:56:33.708Z] unset SSH_AGENT_PID; [2023-08-31T13:56:33.708Z] echo Agent pid 38 killed; [2023-08-31T13:56:33.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T13:56:34.020Z] + git semver [Pipeline] } [2023-08-31T13:56:34.294Z] $ docker stop --time=1 8157870ccc9c2d29130569a071c9d3e2e3a18ad28387cc170efcf81263b36b55 [2023-08-31T13:56:35.576Z] $ docker rm -f --volumes 8157870ccc9c2d29130569a071c9d3e2e3a18ad28387cc170efcf81263b36b55 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T13:56:35.900Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T13:56:35.900Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:36.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T13:56:36.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:56:36.270Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:56:36.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T13:56:36.629Z] $ docker top db2c851b8a5ad4f359b83aeb33fb90b3fe306a89b14981cf544ad69032963529 -eo pid,comm [2023-08-31T13:56:36.677Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-31T13:56:36.677Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T13:56:36.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T13:56:36.717Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T13:56:36.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T13:56:36.811Z] $ docker exec db2c851b8a5ad4f359b83aeb33fb90b3fe306a89b14981cf544ad69032963529 ssh-agent [2023-08-31T13:56:36.911Z] SSH_AUTH_SOCK=/tmp/ssh-zYMR7jb3AmmU/agent.32 [2023-08-31T13:56:36.911Z] SSH_AGENT_PID=38 [2023-08-31T13:56:36.917Z] Running ssh-add (command line suppressed) [2023-08-31T13:56:37.031Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13390079689041696026.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13390079689041696026.key) [2023-08-31T13:56:37.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T13:56:37.328Z] + git semver push [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,543 [run_push] DEBUG push [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,543 [execute] INFO git cat-file --batch-check [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,547 [execute] INFO git rev-list c05b02bce5737afef663878ced85366c5d0c9865 -- [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,547 [execute] DEBUG Popen(['git', 'rev-list', 'c05b02bce5737afef663878ced85366c5d0c9865', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,555 [execute] INFO git fetch -v origin [2023-08-31T13:56:37.586Z] 2023-08-31 13:56:37,555 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-31T13:56:38.153Z] 2023-08-31 13:56:38,023 [run_push] DEBUG no remote changes detected [2023-08-31T13:56:38.153Z] 2023-08-31 13:56:38,023 [execute] INFO git push origin semver [2023-08-31T13:56:38.153Z] 2023-08-31 13:56:38,024 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-31T13:56:39.088Z] 2023-08-31 13:56:38,849 [run_push] DEBUG push all version tags [2023-08-31T13:56:39.088Z] 2023-08-31 13:56:38,850 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-31T13:56:39.088Z] 2023-08-31 13:56:38,850 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-31T13:56:40.024Z] 2023-08-31 13:56:39,672 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-31T13:56:40.024Z] 3.0.3-dev.2 [Pipeline] } [2023-08-31T13:56:40.033Z] $ docker exec --env ******** --env ******** db2c851b8a5ad4f359b83aeb33fb90b3fe306a89b14981cf544ad69032963529 ssh-agent -k [2023-08-31T13:56:40.124Z] unset SSH_AUTH_SOCK; [2023-08-31T13:56:40.124Z] unset SSH_AGENT_PID; [2023-08-31T13:56:40.124Z] echo Agent pid 38 killed; [2023-08-31T13:56:40.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T13:56:40.435Z] + git semver [Pipeline] } [2023-08-31T13:56:40.707Z] $ docker stop --time=1 db2c851b8a5ad4f359b83aeb33fb90b3fe306a89b14981cf544ad69032963529 [2023-08-31T13:56:41.972Z] $ docker rm -f --volumes db2c851b8a5ad4f359b83aeb33fb90b3fe306a89b14981cf544ad69032963529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-31T13:56:42.445Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-08-31T13:56:42.446Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-31T13:56:42.446Z] total 16 [2023-08-31T13:56:42.446Z] drwxr-xr-x 3 root root 4096 Aug 31 13:51 . [2023-08-31T13:56:42.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 13:56 .. [2023-08-31T13:56:42.446Z] drwxr-xr-x 2 root root 4096 Aug 31 13:51 cost [2023-08-31T13:56:42.446Z] -rw-r--r-- 1 root root 83 Aug 31 13:51 cost.csv [2023-08-31T13:56:42.446Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-31T13:56:42.446Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-31T13:56:42.446Z] total 16 [2023-08-31T13:56:42.446Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 13:51 . [2023-08-31T13:56:42.446Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 13:56 .. [2023-08-31T13:56:42.446Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 13:51 cost [2023-08-31T13:56:42.446Z] -rw-r--r-- 1 jenkins jenkins 83 Aug 31 13:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:42.734Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:43.591Z] ---> package-listing.sh [2023-08-31T13:56:43.591Z] ++ facter osfamily [2023-08-31T13:56:43.591Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T13:56:43.852Z] + OS_FAMILY=debian [2023-08-31T13:56:43.852Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-08-31T13:56:43.852Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T13:56:43.852Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T13:56:43.852Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T13:56:43.852Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T13:56:43.852Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-31T13:56:43.852Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T13:56:43.852Z] + case "${OS_FAMILY}" in [2023-08-31T13:56:43.852Z] + dpkg -l [2023-08-31T13:56:43.852Z] + grep '^ii' [2023-08-31T13:56:43.852Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T13:56:43.852Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T13:56:43.852Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T13:56:43.852Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-31T13:56:43.852Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-08-31T13:56:43.852Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-08-31T13:56:43.863Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-31T13:56:44.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T13:56:44.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T13:56:44.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T13:56:44.764Z] prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container [2023-08-31T13:56:44.794Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T13:56:45.097Z] $ docker top 721d3d9499065c7d036c6843222dddd90067030330acb7ae077b0cfd9e2a1b45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T13:56:45.437Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T13:56:45.722Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T13:56:46.006Z] + ls /var/log/sa-host [2023-08-31T13:56:46.006Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T13:56:46.069Z] provisioning config files... [2023-08-31T13:56:46.076Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14053386055821194215tmp [Pipeline] { [Pipeline] echo [2023-08-31T13:56:46.088Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:46.378Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T13:56:46.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:46.704Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T13:56:46.712Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:46.993Z] ---> sudo-logs.sh [2023-08-31T13:56:46.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T13:56:47.025Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:47.309Z] ---> job-cost.sh [2023-08-31T13:56:47.309Z] lf-activate-venv: SKIPPING [2023-08-31T13:56:47.309Z] DEBUG: total: 0.2199999988079071 [2023-08-31T13:56:47.309Z] INFO: Retrieving Stack Cost... [2023-08-31T13:56:47.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T13:56:47.826Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T13:56:47.839Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T13:56:48.116Z] ---> logs-deploy.sh [2023-08-31T13:56:48.116Z] lf-activate-venv: SKIPPING [2023-08-31T13:56:48.116Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/60 [2023-08-31T13:56:48.116Z] INFO: archiving workspace using pattern(s): [2023-08-31T13:56:49.051Z] Archives upload complete. [2023-08-31T13:56:49.051Z] INFO: archiving logs to Nexus