Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 136cafe662967de566bf86f438bc7a15752c35f9 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-ssh14095931691887790240.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6898772504287826303.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8253192248315066826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15250050478319072628.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-ssh15572155035934419654.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2700 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 136cafe662967de566bf86f438bc7a15752c35f9 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 136cafe662967de566bf86f438bc7a15752c35f9 # timeout=10 Commit message: "Merge pull request #477 from FelixTing/issue-475" > git rev-list --no-walk bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-02T00:36:18.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-02T00:36:18.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-02T00:36:18.798Z] ========================================================= [2023-08-02T00:36:18.798Z] EdgeX Global Pipelines Version Info [2023-08-02T00:36:18.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:36:19.546Z] ------------------- [2023-08-02T00:36:19.546Z] stable info: [2023-08-02T00:36:19.546Z] ------------------- [2023-08-02T00:36:19.546Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-02T00:36:19.546Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T00:36:19.546Z] Message: update stable to v1.0.250 [2023-08-02T00:36:20.116Z] ------------------- [2023-08-02T00:36:20.116Z] experimental info: [2023-08-02T00:36:20.116Z] ------------------- [2023-08-02T00:36:20.116Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-02T00:36:20.116Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-02T00:36:20.116Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-02T00:36:20.270Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-02T00:36:20.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-02T00:36:20.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-02T00:36:20.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-02T00:36:20.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-02T00:36:20.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-02T00:36:20.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-02T00:36:20.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-02T00:36:20.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-02T00:36:20.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-02T00:36:20.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-02T00:36:20.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-02T00:36:20.416Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-02T00:36:20.427Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-02T00:36:20.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-02T00:36:20.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-02T00:36:20.477Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-02T00:36:20.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-02T00:36:20.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-02T00:36:20.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-02T00:36:20.542Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 136cafe662967de566bf86f438bc7a15752c35f9 [Pipeline] echo [2023-08-02T00:36:20.559Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 136cafe [Pipeline] echo [2023-08-02T00:36:20.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T00:36:20.619Z] provisioning config files... [2023-08-02T00:36:20.632Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10758413087576834353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:36:20.936Z] ---> docker-login.sh [2023-08-02T00:36:20.936Z] nexus3.edgexfoundry.org:10001 [2023-08-02T00:36:21.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:21.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:21.198Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:21.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:21.198Z] [2023-08-02T00:36:21.198Z] Login Succeeded [2023-08-02T00:36:21.198Z] nexus3.edgexfoundry.org:10002 [2023-08-02T00:36:21.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:21.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:21.458Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:21.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:21.458Z] [2023-08-02T00:36:21.458Z] Login Succeeded [2023-08-02T00:36:21.458Z] nexus3.edgexfoundry.org:10003 [2023-08-02T00:36:21.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:21.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:21.458Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:21.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:21.458Z] [2023-08-02T00:36:21.458Z] Login Succeeded [2023-08-02T00:36:21.458Z] nexus3.edgexfoundry.org:10004 [2023-08-02T00:36:21.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:21.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:21.717Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:21.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:21.717Z] [2023-08-02T00:36:21.717Z] Login Succeeded [2023-08-02T00:36:21.717Z] docker.io [2023-08-02T00:36:21.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:21.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:21.978Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:21.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:21.978Z] [2023-08-02T00:36:21.978Z] Login Succeeded [2023-08-02T00:36:21.978Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T00:36:21.985Z] 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-02T00:36:23.354Z] + git rev-list -1 --merges 136cafe662967de566bf86f438bc7a15752c35f9~1..136cafe662967de566bf86f438bc7a15752c35f9 [Pipeline] echo [2023-08-02T00:36:23.401Z] -----------> git rev-list -1 --merges 136cafe662967de566bf86f438bc7a15752c35f9~1..136cafe662967de566bf86f438bc7a15752c35f9 136cafe662967de566bf86f438bc7a15752c35f9 [2023-08-02T00:36:23.401Z] 136cafe662967de566bf86f438bc7a15752c35f9 [false] [Pipeline] sh [2023-08-02T00:36:23.690Z] + git log --format=format:%s -1 136cafe662967de566bf86f438bc7a15752c35f9 [Pipeline] echo [2023-08-02T00:36:23.705Z] ========================================================= [2023-08-02T00:36:23.706Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T00:36:23.706Z] ========================================================= 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-02T00:36:24.092Z] + git rev-list -1 --merges 136cafe662967de566bf86f438bc7a15752c35f9~1..136cafe662967de566bf86f438bc7a15752c35f9 [Pipeline] echo [2023-08-02T00:36:24.104Z] -----------> git rev-list -1 --merges 136cafe662967de566bf86f438bc7a15752c35f9~1..136cafe662967de566bf86f438bc7a15752c35f9 136cafe662967de566bf86f438bc7a15752c35f9 [2023-08-02T00:36:24.104Z] 136cafe662967de566bf86f438bc7a15752c35f9 [false] [Pipeline] sh [2023-08-02T00:36:24.398Z] + git log --format=format:%s -1 136cafe662967de566bf86f438bc7a15752c35f9 [Pipeline] echo [2023-08-02T00:36:24.412Z] ========================================================= [2023-08-02T00:36:24.412Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-02T00:36:24.412Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-02T00:36:24.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T00:36:24.844Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-02T00:36:24.844Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-02T00:36:24.844Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-02T00:36:24.844Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-02T00:36:24.844Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-02T00:36:24.844Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:36:25.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:36:25.255Z] [2023-08-02T00:36:25.255Z] 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-02T00:36:25.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:36:25.552Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-02T00:36:25.552Z] b85a868b505f: Pulling fs layer [2023-08-02T00:36:25.552Z] e2be974225ed: Pulling fs layer [2023-08-02T00:36:25.552Z] 339a4e72a1f5: Pulling fs layer [2023-08-02T00:36:25.552Z] 988bab9f4d93: Pulling fs layer [2023-08-02T00:36:25.552Z] 1469e6f7b9e6: Pulling fs layer [2023-08-02T00:36:25.552Z] 988bab9f4d93: Waiting [2023-08-02T00:36:25.552Z] 1469e6f7b9e6: Waiting [2023-08-02T00:36:25.552Z] eaf3925da568: Pulling fs layer [2023-08-02T00:36:25.552Z] bab4dde63d76: Pulling fs layer [2023-08-02T00:36:25.552Z] bde34c3a00c8: Pulling fs layer [2023-08-02T00:36:25.552Z] b352a97aabf1: Pulling fs layer [2023-08-02T00:36:25.552Z] 4872d77fe225: Pulling fs layer [2023-08-02T00:36:25.552Z] 5851b861e8e6: Pulling fs layer [2023-08-02T00:36:25.552Z] eaf3925da568: Waiting [2023-08-02T00:36:25.552Z] bab4dde63d76: Waiting [2023-08-02T00:36:25.552Z] b352a97aabf1: Waiting [2023-08-02T00:36:25.552Z] 4872d77fe225: Waiting [2023-08-02T00:36:25.552Z] bde34c3a00c8: Waiting [2023-08-02T00:36:25.552Z] 5851b861e8e6: Waiting [2023-08-02T00:36:25.552Z] e2be974225ed: Download complete [2023-08-02T00:36:25.552Z] 988bab9f4d93: Verifying Checksum [2023-08-02T00:36:25.552Z] 988bab9f4d93: Download complete [2023-08-02T00:36:25.552Z] 1469e6f7b9e6: Verifying Checksum [2023-08-02T00:36:25.552Z] 1469e6f7b9e6: Download complete [2023-08-02T00:36:25.811Z] eaf3925da568: Verifying Checksum [2023-08-02T00:36:25.811Z] eaf3925da568: Download complete [2023-08-02T00:36:25.811Z] 339a4e72a1f5: Verifying Checksum [2023-08-02T00:36:25.811Z] 339a4e72a1f5: Download complete [2023-08-02T00:36:25.811Z] bde34c3a00c8: Verifying Checksum [2023-08-02T00:36:25.811Z] bde34c3a00c8: Download complete [2023-08-02T00:36:25.811Z] b352a97aabf1: Download complete [2023-08-02T00:36:25.811Z] 4872d77fe225: Verifying Checksum [2023-08-02T00:36:25.811Z] 4872d77fe225: Download complete [2023-08-02T00:36:25.811Z] 5851b861e8e6: Download complete [2023-08-02T00:36:25.811Z] b85a868b505f: Verifying Checksum [2023-08-02T00:36:25.811Z] b85a868b505f: Download complete [2023-08-02T00:36:26.070Z] bab4dde63d76: Verifying Checksum [2023-08-02T00:36:26.070Z] bab4dde63d76: Download complete [2023-08-02T00:36:28.004Z] b85a868b505f: Pull complete [2023-08-02T00:36:28.004Z] e2be974225ed: Pull complete [2023-08-02T00:36:28.004Z] 339a4e72a1f5: Pull complete [2023-08-02T00:36:28.004Z] 988bab9f4d93: Pull complete [2023-08-02T00:36:28.267Z] 1469e6f7b9e6: Pull complete [2023-08-02T00:36:28.530Z] eaf3925da568: Pull complete [2023-08-02T00:36:30.451Z] bab4dde63d76: Pull complete [2023-08-02T00:36:30.451Z] bde34c3a00c8: Pull complete [2023-08-02T00:36:30.451Z] b352a97aabf1: Pull complete [2023-08-02T00:36:30.451Z] 4872d77fe225: Pull complete [2023-08-02T00:36:31.148Z] 5851b861e8e6: Pull complete [2023-08-02T00:36:31.148Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-02T00:36:31.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:36:31.148Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:36:31.239Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:36:31.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T00:36:35.722Z] $ docker top 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 -eo pid,comm [2023-08-02T00:36:35.781Z] 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-02T00:36:35.781Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T00:36:35.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T00:36:35.821Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T00:36:35.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T00:36:35.949Z] $ docker exec 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 ssh-agent [2023-08-02T00:36:36.041Z] SSH_AUTH_SOCK=/tmp/ssh-qFC91Ft4CcBn/agent.32 [2023-08-02T00:36:36.041Z] SSH_AGENT_PID=38 [2023-08-02T00:36:36.048Z] Running ssh-add (command line suppressed) [2023-08-02T00:36:36.167Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15017933768654256693.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15017933768654256693.key) [2023-08-02T00:36:36.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T00:36:36.470Z] + git tag --points-at HEAD [Pipeline] } [2023-08-02T00:36:36.491Z] $ docker exec --env ******** --env ******** 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 ssh-agent -k [2023-08-02T00:36:36.597Z] unset SSH_AUTH_SOCK; [2023-08-02T00:36:36.597Z] unset SSH_AGENT_PID; [2023-08-02T00:36:36.598Z] echo Agent pid 38 killed; [2023-08-02T00:36:36.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-02T00:36:36.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T00:36:36.627Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T00:36:36.747Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T00:36:36.754Z] $ docker exec 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 ssh-agent [2023-08-02T00:36:36.856Z] SSH_AUTH_SOCK=/tmp/ssh-Yi2yTIyZQxGR/agent.70 [2023-08-02T00:36:36.856Z] SSH_AGENT_PID=76 [2023-08-02T00:36:36.861Z] Running ssh-add (command line suppressed) [2023-08-02T00:36:36.965Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13598852973374187029.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13598852973374187029.key) [2023-08-02T00:36:36.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T00:36:37.259Z] + git semver init [2023-08-02T00:36:37.519Z] 2023-08-02 00:36:37,444 [run_init] DEBUG init version:0.0.0 force:False [2023-08-02T00:36:37.519Z] 2023-08-02 00:36:37,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-02T00:36:37.519Z] 2023-08-02 00:36:37,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-02T00:36:37.519Z] 2023-08-02 00:36:37,446 [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-02T00:36:38.472Z] 2023-08-02 00:36:38,360 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-08-02T00:36:38.472Z] 2023-08-02 00:36:38,360 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-08-02T00:36:38.472Z] 2023-08-02 00:36:38,361 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:36:38.472Z] 2023-08-02 00:36:38,361 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:36:38.472Z] 3.1.0-dev.7 [Pipeline] } [2023-08-02T00:36:38.486Z] $ docker exec --env ******** --env ******** 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 ssh-agent -k [2023-08-02T00:36:38.579Z] unset SSH_AUTH_SOCK; [2023-08-02T00:36:38.579Z] unset SSH_AGENT_PID; [2023-08-02T00:36:38.580Z] echo Agent pid 76 killed; [2023-08-02T00:36:38.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T00:36:38.890Z] + git semver [Pipeline] } [2023-08-02T00:36:39.166Z] $ docker stop --time=1 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 [2023-08-02T00:36:40.478Z] $ docker rm -f --volumes 8ffe218a127ebaf2bc6a070e773c0430de796f7d83441612b5f30ae77bf9e639 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T00:36:40.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-02T00:36:41.030Z] Stashed 1 file(s) [Pipeline] echo [2023-08-02T00:36:41.032Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T00:36:41.123Z] provisioning config files... [2023-08-02T00:36:41.132Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14403163234485078976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:36:41.771Z] ---> docker-login.sh [2023-08-02T00:36:41.771Z] nexus3.edgexfoundry.org:10001 [2023-08-02T00:36:41.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:41.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:41.771Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:41.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:41.771Z] [2023-08-02T00:36:41.771Z] Login Succeeded [2023-08-02T00:36:41.771Z] nexus3.edgexfoundry.org:10002 [2023-08-02T00:36:41.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:42.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:42.031Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:42.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:42.031Z] [2023-08-02T00:36:42.031Z] Login Succeeded [2023-08-02T00:36:42.031Z] nexus3.edgexfoundry.org:10003 [2023-08-02T00:36:42.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:42.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:42.031Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:42.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:42.031Z] [2023-08-02T00:36:42.031Z] Login Succeeded [2023-08-02T00:36:42.031Z] nexus3.edgexfoundry.org:10004 [2023-08-02T00:36:42.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:42.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:42.289Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:42.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:42.289Z] [2023-08-02T00:36:42.289Z] Login Succeeded [2023-08-02T00:36:42.289Z] docker.io [2023-08-02T00:36:42.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:36:42.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:36:42.549Z] Configure a credential helper to remove this warning. See [2023-08-02T00:36:42.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:36:42.549Z] [2023-08-02T00:36:42.549Z] Login Succeeded [2023-08-02T00:36:42.549Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T00:36:42.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T00:36:42.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T00:36:42.627Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-02T00:36:42.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T00:36:42.641Z] ========================================================= [2023-08-02T00:36:42.641Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-02T00:36:42.641Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:36:42.942Z] + 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-02T00:36:42.942Z] Sending build context to Docker daemon 4.849MB [2023-08-02T00:36:42.942Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-02T00:36:42.942Z] Step 2/21 : FROM ${BASE} as builder [2023-08-02T00:36:42.942Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-02T00:36:42.942Z] 91d30c5bc195: Pulling fs layer [2023-08-02T00:36:42.942Z] 316e5a4585fb: Pulling fs layer [2023-08-02T00:36:42.942Z] 91d30c5bc195: Verifying Checksum [2023-08-02T00:36:42.942Z] 91d30c5bc195: Download complete [2023-08-02T00:36:43.203Z] 91d30c5bc195: Pull complete [2023-08-02T00:36:43.769Z] 316e5a4585fb: Verifying Checksum [2023-08-02T00:36:43.769Z] 316e5a4585fb: Download complete [2023-08-02T00:36:47.059Z] 316e5a4585fb: Pull complete [2023-08-02T00:36:47.059Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-02T00:36:47.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-02T00:36:47.059Z] ---> e83ffa357ff4 [2023-08-02T00:36:47.059Z] 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-02T00:36:49.630Z] ---> Running in b0d0d88159f6 [2023-08-02T00:36:49.889Z] Connecting to iotech.jfrog.io (52.48.54.32:443) [2023-08-02T00:36:50.457Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:36:50.457Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:36:50.457Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:36:50.716Z] Removing intermediate container b0d0d88159f6 [2023-08-02T00:36:50.716Z] ---> 5f65f8bcf5eb [2023-08-02T00:36:50.716Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:36:50.716Z] ---> Running in d971960bc61c [2023-08-02T00:36:51.284Z] Removing intermediate container d971960bc61c [2023-08-02T00:36:51.285Z] ---> 51dd06d8dd54 [2023-08-02T00:36:51.285Z] 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-02T00:36:51.545Z] ---> Running in acea0d27560a [2023-08-02T00:36:51.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:36:51.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-02T00:36:52.065Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:36:52.635Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:36:52.635Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:36:52.635Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:36:52.635Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-02T00:36:52.635Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-02T00:36:52.635Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-02T00:36:53.203Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-02T00:36:53.463Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-02T00:36:53.463Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-02T00:36:53.463Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-02T00:36:53.463Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-02T00:36:54.400Z] (11/16) Installing libblkid (2.38-r1) [2023-08-02T00:36:54.400Z] (12/16) Installing libuuid (2.38-r1) [2023-08-02T00:36:54.400Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-02T00:36:54.400Z] (14/16) Installing libmount (2.38-r1) [2023-08-02T00:36:54.400Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-02T00:36:54.400Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-02T00:36:54.400Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:36:54.400Z] OK: 280 MiB in 90 packages [2023-08-02T00:36:55.339Z] Removing intermediate container acea0d27560a [2023-08-02T00:36:55.339Z] ---> 04ffcf914cb7 [2023-08-02T00:36:55.339Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-02T00:36:55.339Z] ---> Running in 1d49fc721a82 [2023-08-02T00:36:55.908Z] Removing intermediate container 1d49fc721a82 [2023-08-02T00:36:55.908Z] ---> ba49aa30cefe [2023-08-02T00:36:55.908Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-02T00:36:56.095Z] Still waiting to schedule task [2023-08-02T00:36:56.095Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-02T00:36:56.166Z] ---> bc446e71e8ea [2023-08-02T00:36:56.166Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-02T00:36:56.424Z] ---> b0ec09d0e019 [2023-08-02T00:36:56.424Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-02T00:36:56.424Z] ---> c47c7a86ca60 [2023-08-02T00:36:56.424Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-02T00:36:56.684Z] ---> 5e256f01f6e1 [2023-08-02T00:36:56.684Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-02T00:36:56.684Z] ---> 7fdad069288b [2023-08-02T00:36:56.684Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-02T00:36:56.944Z] ---> 48941761e69b [2023-08-02T00:36:56.944Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-02T00:36:56.944Z] ---> Running in b66c5b898d0c [2023-08-02T00:36:57.203Z] + CPPCHECK=false [2023-08-02T00:36:57.203Z] + DOCGEN=false [2023-08-02T00:36:57.203Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-02T00:36:57.203Z] + '[' 0 -gt 0 ] [2023-08-02T00:36:57.203Z] + readlink -f ./scripts/build.sh [2023-08-02T00:36:57.203Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-02T00:36:57.203Z] + dirname /tmp/sdk/scripts [2023-08-02T00:36:57.203Z] + ROOT=/tmp/sdk [2023-08-02T00:36:57.203Z] + cd /tmp/sdk [2023-08-02T00:36:57.203Z] + mkdir -p /tmp/sdk/build/release [2023-08-02T00:36:57.203Z] + cd /tmp/sdk/build/release [2023-08-02T00:36:57.203Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-02T00:36:57.203Z] -- The C compiler identification is GNU 11.2.1 [2023-08-02T00:36:57.203Z] -- Detecting C compiler ABI info [2023-08-02T00:36:57.460Z] -- Detecting C compiler ABI info - done [2023-08-02T00:36:57.460Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-02T00:36:57.460Z] -- Detecting C compile features [2023-08-02T00:36:57.460Z] -- Detecting C compile features - done [2023-08-02T00:36:57.460Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-02T00:36:57.460Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-02T00:36:57.460Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-02T00:36:57.460Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-02T00:36:57.460Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-02T00:36:57.460Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-02T00:36:57.460Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-02T00:36:57.460Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-02T00:36:57.460Z] -- /opt/iotech/iot/1.5/include [2023-08-02T00:36:57.460Z] -- C SDK 3.1.0-dev.7 for Linux [2023-08-02T00:36:57.460Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-02T00:36:57.460Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-02T00:36:57.719Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-02T00:36:57.719Z] -- Configuring done [2023-08-02T00:36:57.719Z] -- Generating done [2023-08-02T00:36:57.719Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-02T00:36:57.719Z] + make all package [2023-08-02T00:36:57.719Z] + tee release.log [2023-08-02T00:36:57.719Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-02T00:36:57.977Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-02T00:36:57.977Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-02T00:36:58.236Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-02T00:36:58.494Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-02T00:36:58.494Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-02T00:36:58.753Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-02T00:36:59.012Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-02T00:36:59.012Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-02T00:36:59.271Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-02T00:36:59.529Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-02T00:36:59.789Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-02T00:37:00.048Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-02T00:37:00.048Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-02T00:37:00.309Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-02T00:37:00.309Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-02T00:37:00.567Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-02T00:37:00.827Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-02T00:37:00.827Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-02T00:37:01.085Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-02T00:37:01.349Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-02T00:37:02.284Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-02T00:37:02.284Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-02T00:37:02.544Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-02T00:37:02.544Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-02T00:37:02.544Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-02T00:37:02.804Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-02T00:37:03.371Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-02T00:37:03.371Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-02T00:37:03.629Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-02T00:37:03.629Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-02T00:37:04.195Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-02T00:37:04.195Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-02T00:37:04.453Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-02T00:37:04.453Z] [ 68%] Linking C shared library libcsdk.so [2023-08-02T00:37:04.453Z] [ 68%] Built target csdk [2023-08-02T00:37:04.453Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-02T00:37:04.713Z] [ 72%] Linking C executable template [2023-08-02T00:37:04.713Z] [ 72%] Built target template [2023-08-02T00:37:04.713Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-02T00:37:04.972Z] [ 76%] Linking C executable device-counter [2023-08-02T00:37:04.972Z] [ 76%] Built target device-counter [2023-08-02T00:37:04.972Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-02T00:37:04.972Z] [ 80%] Linking C executable device-random [2023-08-02T00:37:05.230Z] [ 80%] Built target device-random [2023-08-02T00:37:05.230Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-02T00:37:05.230Z] [ 84%] Linking C executable device-gyro [2023-08-02T00:37:05.230Z] [ 84%] Built target device-gyro [2023-08-02T00:37:05.230Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-02T00:37:05.488Z] [ 88%] Linking C executable device-bitfields [2023-08-02T00:37:05.488Z] [ 88%] Built target device-bitfields [2023-08-02T00:37:05.488Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-02T00:37:05.745Z] [ 92%] Linking C executable template-discovery [2023-08-02T00:37:05.745Z] [ 92%] Built target template-discovery [2023-08-02T00:37:05.745Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-02T00:37:06.003Z] [ 96%] Linking C executable device-file [2023-08-02T00:37:06.003Z] [ 96%] Built target device-file [2023-08-02T00:37:06.003Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-02T00:37:06.262Z] [100%] Linking C executable device-terminal [2023-08-02T00:37:06.262Z] [100%] Built target device-terminal [2023-08-02T00:37:06.262Z] Run CPack packaging tool... [2023-08-02T00:37:06.262Z] CPack: Create package using TGZ [2023-08-02T00:37:06.262Z] CPack: Install projects [2023-08-02T00:37:06.262Z] CPack: - Run preinstall target for: Csdk [2023-08-02T00:37:06.520Z] CPack: - Install project: Csdk [] [2023-08-02T00:37:06.521Z] CPack: Create package [2023-08-02T00:37:06.521Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.7.tar.gz generated. [2023-08-02T00:37:06.521Z] + '[' false '=' true ] [2023-08-02T00:37:06.521Z] + '[' false '=' true ] [2023-08-02T00:37:06.521Z] + mkdir -p /tmp/sdk/build/debug [2023-08-02T00:37:06.521Z] + cd /tmp/sdk/build/debug [2023-08-02T00:37:06.521Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-02T00:37:06.521Z] -- The C compiler identification is GNU 11.2.1 [2023-08-02T00:37:06.521Z] -- Detecting C compiler ABI info [2023-08-02T00:37:06.779Z] -- Detecting C compiler ABI info - done [2023-08-02T00:37:06.779Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-02T00:37:06.779Z] -- Detecting C compile features [2023-08-02T00:37:06.779Z] -- Detecting C compile features - done [2023-08-02T00:37:06.779Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-02T00:37:06.779Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-02T00:37:06.779Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-02T00:37:06.779Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-02T00:37:06.779Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-02T00:37:06.779Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-02T00:37:06.779Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-02T00:37:06.779Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-02T00:37:06.779Z] -- /opt/iotech/iot/1.5/include [2023-08-02T00:37:06.779Z] -- C SDK 3.1.0-dev.7 for Linux [2023-08-02T00:37:06.779Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-02T00:37:06.779Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-02T00:37:07.038Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-02T00:37:07.038Z] -- Configuring done [2023-08-02T00:37:07.038Z] -- Generating done [2023-08-02T00:37:07.038Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-02T00:37:07.038Z] + make [2023-08-02T00:37:07.038Z] + tee debug.log [2023-08-02T00:37:07.038Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-02T00:37:07.038Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-02T00:37:07.297Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-02T00:37:07.297Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-02T00:37:07.297Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-02T00:37:07.297Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-02T00:37:07.556Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-02T00:37:07.556Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-02T00:37:07.815Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-02T00:37:07.815Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-02T00:37:07.815Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-02T00:37:08.073Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-02T00:37:08.073Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-02T00:37:08.073Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-02T00:37:08.073Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-02T00:37:08.332Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-02T00:37:08.332Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-02T00:37:08.590Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-02T00:37:08.590Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-02T00:37:08.590Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-02T00:37:08.590Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-02T00:37:08.849Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-02T00:37:09.108Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-02T00:37:09.108Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-02T00:37:09.108Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-02T00:37:09.872Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-02T00:37:09.872Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-02T00:37:09.872Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-02T00:37:09.872Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-02T00:37:09.872Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-02T00:37:09.872Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-02T00:37:09.872Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-02T00:37:10.129Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-02T00:37:10.129Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-02T00:37:10.129Z] [ 68%] Linking C shared library libcsdk.so [2023-08-02T00:37:10.388Z] [ 68%] Built target csdk [2023-08-02T00:37:10.388Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-02T00:37:10.388Z] [ 72%] Linking C executable template [2023-08-02T00:37:10.388Z] [ 72%] Built target template [2023-08-02T00:37:10.388Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-02T00:37:10.647Z] [ 76%] Linking C executable device-counter [2023-08-02T00:37:10.647Z] [ 76%] Built target device-counter [2023-08-02T00:37:10.647Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-02T00:37:10.647Z] [ 80%] Linking C executable device-random [2023-08-02T00:37:10.647Z] [ 80%] Built target device-random [2023-08-02T00:37:10.907Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-02T00:37:10.907Z] [ 84%] Linking C executable device-gyro [2023-08-02T00:37:10.907Z] [ 84%] Built target device-gyro [2023-08-02T00:37:10.907Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-02T00:37:10.907Z] [ 88%] Linking C executable device-bitfields [2023-08-02T00:37:11.166Z] [ 88%] Built target device-bitfields [2023-08-02T00:37:11.166Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-02T00:37:11.166Z] [ 92%] Linking C executable template-discovery [2023-08-02T00:37:11.166Z] [ 92%] Built target template-discovery [2023-08-02T00:37:11.166Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-02T00:37:11.424Z] [ 96%] Linking C executable device-file [2023-08-02T00:37:11.424Z] [ 96%] Built target device-file [2023-08-02T00:37:11.424Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-02T00:37:11.424Z] [100%] Linking C executable device-terminal [2023-08-02T00:37:11.683Z] [100%] Built target device-terminal [2023-08-02T00:37:11.683Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 68%] Built target csdk [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 72%] Built target template [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 76%] Built target device-counter [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 80%] Built target device-random [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 84%] Built target device-gyro [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 88%] Built target device-bitfields [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 92%] Built target template-discovery [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] [ 96%] Built target device-file [2023-08-02T00:37:11.683Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:37:11.683Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:12.074Z] [100%] Built target device-terminal [2023-08-02T00:37:12.075Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:12.075Z] Install the project... [2023-08-02T00:37:12.075Z] -- Install configuration: "Release" [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-02T00:37:12.075Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/devsdk [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-02T00:37:12.075Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-02T00:37:12.075Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:37:12.641Z] Removing intermediate container b66c5b898d0c [2023-08-02T00:37:12.641Z] ---> 83baf126bb0d [2023-08-02T00:37:12.641Z] Step 14/21 : FROM ${BASE} [2023-08-02T00:37:12.641Z] ---> e83ffa357ff4 [2023-08-02T00:37:12.641Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-02T00:37:12.641Z] ---> Running in 02407f991b8b [2023-08-02T00:37:12.900Z] Removing intermediate container 02407f991b8b [2023-08-02T00:37:12.900Z] ---> 9f46dce36b71 [2023-08-02T00:37:12.900Z] 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-02T00:37:12.900Z] ---> Running in bfc9f4b6b3de [2023-08-02T00:37:13.159Z] Connecting to iotech.jfrog.io (63.33.105.70:443) [2023-08-02T00:37:13.417Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:37:13.418Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:37:13.418Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:37:13.683Z] Removing intermediate container bfc9f4b6b3de [2023-08-02T00:37:13.683Z] ---> bf2653c65f45 [2023-08-02T00:37:13.683Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:37:13.683Z] ---> Running in a089bdb49a4d [2023-08-02T00:37:14.251Z] Removing intermediate container a089bdb49a4d [2023-08-02T00:37:14.251Z] ---> 4226321d23a8 [2023-08-02T00:37:14.251Z] 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-02T00:37:14.251Z] ---> Running in bd74114d9d4d [2023-08-02T00:37:14.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:14.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:15.032Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:15.292Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:37:15.292Z] (1/7) Installing curl (8.2.1-r0) [2023-08-02T00:37:15.550Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-02T00:37:15.550Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-02T00:37:15.550Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-02T00:37:16.115Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-02T00:37:16.115Z] (6/7) Installing libuuid (2.38-r1) [2023-08-02T00:37:16.115Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-02T00:37:17.049Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:37:17.049Z] OK: 276 MiB in 83 packages [2023-08-02T00:37:17.307Z] Removing intermediate container bd74114d9d4d [2023-08-02T00:37:17.307Z] ---> 9907e5d065e6 [2023-08-02T00:37:17.307Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-02T00:37:17.307Z] ---> a8d50dd48dbc [2023-08-02T00:37:17.307Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-02T00:37:17.964Z] ---> ea34a092a47d [2023-08-02T00:37:17.964Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-02T00:37:17.964Z] ---> 215757185b59 [2023-08-02T00:37:17.964Z] Successfully built 215757185b59 [2023-08-02T00:37:17.964Z] 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-02T00:37:18.321Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-02T00:37:18.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:37:18.390Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:37:18.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-02T00:37:18.754Z] $ docker top f3e25f3b0f3d96280a84e15002cb2d3a6951a640776c798439e3158e9a1b952d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T00:37:19.092Z] + make test [2023-08-02T00:37:19.092Z] echo "make test" [2023-08-02T00:37:19.092Z] make test [Pipeline] } [2023-08-02T00:37:19.106Z] $ docker stop --time=1 f3e25f3b0f3d96280a84e15002cb2d3a6951a640776c798439e3158e9a1b952d [2023-08-02T00:37:20.375Z] $ docker rm -f --volumes f3e25f3b0f3d96280a84e15002cb2d3a6951a640776c798439e3158e9a1b952d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T00:37:20.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T00:37:21.284Z] + ls -al . [2023-08-02T00:37:21.284Z] total 212 [2023-08-02T00:37:21.284Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 00:36 . [2023-08-02T00:37:21.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:36 .. [2023-08-02T00:37:21.284Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 00:36 .git [2023-08-02T00:37:21.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:36 .github [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 2 00:36 .gitignore [2023-08-02T00:37:21.284Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 00:36 .semver [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 2 00:36 Attribution.txt [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 9268 Aug 2 00:36 CHANGES [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 2 00:36 Doxyfile [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 00:36 GOVERNANCE.md [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 2 00:36 Jenkinsfile [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 00:36 LICENSE [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 2 00:36 Makefile [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 2 00:36 OWNERS.md [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 2 00:36 README.IOT.md [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 2 00:36 README.md [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 2 00:36 README.v3.md [2023-08-02T00:37:21.284Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 00:36 VERSION [2023-08-02T00:37:21.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:36 docs [2023-08-02T00:37:21.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:36 include [2023-08-02T00:37:21.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:36 scripts [2023-08-02T00:37:21.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:37:21.595Z] + 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=136cafe662967de566bf86f438bc7a15752c35f9 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-08-02T00:37:21.595Z] Sending build context to Docker daemon 4.849MB [2023-08-02T00:37:21.595Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-02T00:37:21.595Z] Step 2/17 : FROM ${BASE} [2023-08-02T00:37:21.595Z] ---> 215757185b59 [2023-08-02T00:37:21.595Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-02T00:37:21.595Z] ---> Running in 15a963986479 [2023-08-02T00:37:21.854Z] Removing intermediate container 15a963986479 [2023-08-02T00:37:21.854Z] ---> f6803edbf902 [2023-08-02T00:37:21.854Z] 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-02T00:37:21.854Z] ---> Running in e997c5a80f32 [2023-08-02T00:37:22.112Z] Connecting to iotech.jfrog.io (34.253.18.218:443) [2023-08-02T00:37:22.371Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:37:22.371Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:37:22.371Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:37:22.631Z] Removing intermediate container e997c5a80f32 [2023-08-02T00:37:22.631Z] ---> 8f3783ee99d2 [2023-08-02T00:37:22.631Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:37:22.631Z] ---> Running in d8c263c22edd [2023-08-02T00:37:23.585Z] Removing intermediate container d8c263c22edd [2023-08-02T00:37:23.585Z] ---> b3f3ad428ee0 [2023-08-02T00:37:23.585Z] 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-02T00:37:23.585Z] ---> Running in 9edcc3b77898 [2023-08-02T00:37:23.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:23.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:23.843Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-02T00:37:24.411Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:37:24.411Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:37:24.411Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:37:24.411Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-02T00:37:24.978Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-02T00:37:25.237Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-02T00:37:25.237Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-02T00:37:25.237Z] (7/11) Installing libblkid (2.38-r1) [2023-08-02T00:37:25.237Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-02T00:37:25.237Z] (9/11) Installing libmount (2.38-r1) [2023-08-02T00:37:25.237Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-02T00:37:25.237Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-02T00:37:25.237Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:37:25.237Z] OK: 281 MiB in 92 packages [2023-08-02T00:37:25.806Z] Removing intermediate container 9edcc3b77898 [2023-08-02T00:37:25.806Z] ---> b08238e31263 [2023-08-02T00:37:25.806Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-02T00:37:25.806Z] ---> 58c25a68693a [2023-08-02T00:37:25.806Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-02T00:37:26.063Z] ---> 8a657c9df2ce [2023-08-02T00:37:26.063Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-02T00:37:26.321Z] ---> e37dfa34b273 [2023-08-02T00:37:26.321Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-02T00:37:26.321Z] ---> 98e48838914e [2023-08-02T00:37:26.321Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-02T00:37:26.322Z] ---> 43d112acb10d [2023-08-02T00:37:26.322Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-02T00:37:26.580Z] ---> 6ab1c0a22164 [2023-08-02T00:37:26.580Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-02T00:37:26.580Z] ---> Running in 9b4484ae2c90 [2023-08-02T00:37:26.580Z] Removing intermediate container 9b4484ae2c90 [2023-08-02T00:37:26.580Z] ---> ecdef6066a19 [2023-08-02T00:37:26.580Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-02T00:37:26.840Z] ---> Running in b6bbcdfea3ef [2023-08-02T00:37:26.840Z] Removing intermediate container b6bbcdfea3ef [2023-08-02T00:37:26.840Z] ---> 957e7fa26b09 [2023-08-02T00:37:26.840Z] Step 15/17 : LABEL arch=amd64 [2023-08-02T00:37:26.840Z] ---> Running in 15341e19b267 [2023-08-02T00:37:26.840Z] Removing intermediate container 15341e19b267 [2023-08-02T00:37:26.840Z] ---> 0c07be311798 [2023-08-02T00:37:26.840Z] Step 16/17 : LABEL git_sha=136cafe662967de566bf86f438bc7a15752c35f9 [2023-08-02T00:37:26.840Z] ---> Running in 152a27a07a44 [2023-08-02T00:37:27.099Z] Removing intermediate container 152a27a07a44 [2023-08-02T00:37:27.099Z] ---> a1b9fd134516 [2023-08-02T00:37:27.099Z] Step 17/17 : LABEL version=3.1.0-dev.7 [2023-08-02T00:37:27.099Z] ---> Running in c3074ba43e69 [2023-08-02T00:37:27.099Z] Removing intermediate container c3074ba43e69 [2023-08-02T00:37:27.099Z] ---> 788b8dc8c65f [2023-08-02T00:37:27.099Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-02T00:37:27.099Z] Successfully built 788b8dc8c65f [2023-08-02T00:37:27.099Z] 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-02T00:37:27.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T00:37:27.539Z] [2023-08-02T00:37:27.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:37:27.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T00:37:27.841Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-02T00:37:27.841Z] 5eb5b503b376: Pulling fs layer [2023-08-02T00:37:27.841Z] 5c69ac0246d0: Pulling fs layer [2023-08-02T00:37:27.841Z] ec43610c2a17: Pulling fs layer [2023-08-02T00:37:27.841Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-02T00:37:27.841Z] 33b1e0a273af: Pulling fs layer [2023-08-02T00:37:27.841Z] 3a2ae6a8a46f: Waiting [2023-08-02T00:37:27.841Z] 33b1e0a273af: Waiting [2023-08-02T00:37:27.841Z] 5d3b04190fa2: Pulling fs layer [2023-08-02T00:37:27.841Z] 2f39f015ded8: Pulling fs layer [2023-08-02T00:37:27.841Z] 5d3b04190fa2: Waiting [2023-08-02T00:37:27.841Z] 2f39f015ded8: Waiting [2023-08-02T00:37:27.841Z] 5c69ac0246d0: Download complete [2023-08-02T00:37:27.841Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-02T00:37:27.841Z] 3a2ae6a8a46f: Download complete [2023-08-02T00:37:27.841Z] 33b1e0a273af: Verifying Checksum [2023-08-02T00:37:27.841Z] 33b1e0a273af: Download complete [2023-08-02T00:37:27.841Z] ec43610c2a17: Verifying Checksum [2023-08-02T00:37:27.841Z] ec43610c2a17: Download complete [2023-08-02T00:37:27.841Z] 5d3b04190fa2: Download complete [2023-08-02T00:37:28.100Z] 5eb5b503b376: Verifying Checksum [2023-08-02T00:37:28.100Z] 5eb5b503b376: Download complete [2023-08-02T00:37:28.666Z] 2f39f015ded8: Download complete [2023-08-02T00:37:29.233Z] 5eb5b503b376: Pull complete [2023-08-02T00:37:29.492Z] 5c69ac0246d0: Pull complete [2023-08-02T00:37:29.751Z] ec43610c2a17: Pull complete [2023-08-02T00:37:29.751Z] 3a2ae6a8a46f: Pull complete [2023-08-02T00:37:30.010Z] 33b1e0a273af: Pull complete [2023-08-02T00:37:30.010Z] 5d3b04190fa2: Pull complete [2023-08-02T00:37:35.277Z] 2f39f015ded8: Pull complete [2023-08-02T00:37:35.277Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-02T00:37:35.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T00:37:35.277Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:37:35.362Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:37:35.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T00:37:43.123Z] $ docker top cf6015cd6ff87a2f5683c4a293c5ac50fa441dfa42a8cea163cbeb34f752281d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:37:43.547Z] ---> job-cost.sh [2023-08-02T00:37:43.547Z] lf-activate-venv: SKIPPING [2023-08-02T00:37:43.547Z] INFO: No Stack... [2023-08-02T00:37:43.829Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T00:37:44.089Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T00:37:44.379Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-08-02T00:37:44.379Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T00:37:44.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [2023-08-02T00:37:44.398Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] did not exist. Created. [2023-08-02T00:37:44.398Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T00:37:44.695Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-02T00:37:44.756Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T00:37:44.762Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T00:37:44.782Z] $ docker stop --time=1 cf6015cd6ff87a2f5683c4a293c5ac50fa441dfa42a8cea163cbeb34f752281d [2023-08-02T00:37:46.256Z] $ docker rm -f --volumes cf6015cd6ff87a2f5683c4a293c5ac50fa441dfa42a8cea163cbeb34f752281d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-02T00:42:10.172Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2701 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-08-02T00:42:10.186Z] Running in /w/workspace/device-sdk-c/56 [Pipeline] { [Pipeline] checkout [2023-08-02T00:42:10.218Z] Selected Git installation does not exist. Using Default [2023-08-02T00:42:10.218Z] The recommended git tool is: NONE [2023-08-02T00:42:15.992Z] using credential edgex-jenkins-ssh [2023-08-02T00:42:16.008Z] Cloning the remote Git repository [2023-08-02T00:42:16.058Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-02T00:42:16.157Z] > git init /w/workspace/device-sdk-c/56 # timeout=10 [2023-08-02T00:42:16.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-02T00:42:16.320Z] > git --version # timeout=10 [2023-08-02T00:42:16.344Z] > git --version # 'git version 2.25.1' [2023-08-02T00:42:16.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-02T00:42:16.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T00:42:18.749Z] Avoid second fetch [2023-08-02T00:42:18.749Z] Checking out Revision 136cafe662967de566bf86f438bc7a15752c35f9 (main) [2023-08-02T00:42:17.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-02T00:42:17.756Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-02T00:42:18.772Z] > git config core.sparsecheckout # timeout=10 [2023-08-02T00:42:18.854Z] > git checkout -f 136cafe662967de566bf86f438bc7a15752c35f9 # timeout=10 [2023-08-02T00:42:19.389Z] Commit message: "Merge pull request #477 from FelixTing/issue-475" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T00:42:20.364Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-02T00:42:20.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-02T00:42:20.365Z] Dload Upload Total Spent Left Speed [2023-08-02T00:42:20.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-08-02T00:42:20.979Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-02T00:42:21.313Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-02T00:42:21.314Z] + sudo tee /etc/docker/daemon.new [2023-08-02T00:42:21.314Z] { [2023-08-02T00:42:21.314Z] "registry-mirrors": [ [2023-08-02T00:42:21.314Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-02T00:42:21.314Z] ], [2023-08-02T00:42:21.314Z] "bip": "10.250.0.254/24", [2023-08-02T00:42:21.314Z] "hosts": [ [2023-08-02T00:42:21.314Z] "tcp://0.0.0.0:5555", [2023-08-02T00:42:21.314Z] "unix:///var/run/docker.sock" [2023-08-02T00:42:21.314Z] ], [2023-08-02T00:42:21.314Z] "mtu": 1458, [2023-08-02T00:42:21.314Z] "selinux-enabled": true, [2023-08-02T00:42:21.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-02T00:42:21.314Z] } [Pipeline] sh [2023-08-02T00:42:21.650Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-02T00:42:21.997Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T00:42:40.265Z] provisioning config files... [2023-08-02T00:42:40.290Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/56@tmp/config16130718669055160898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:42:40.640Z] ---> docker-login.sh [2023-08-02T00:42:40.640Z] nexus3.edgexfoundry.org:10001 [2023-08-02T00:42:40.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:42:41.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:42:41.183Z] Configure a credential helper to remove this warning. See [2023-08-02T00:42:41.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:42:41.183Z] [2023-08-02T00:42:41.183Z] Login Succeeded [2023-08-02T00:42:41.450Z] nexus3.edgexfoundry.org:10002 [2023-08-02T00:42:41.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:42:41.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:42:41.721Z] Configure a credential helper to remove this warning. See [2023-08-02T00:42:41.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:42:41.721Z] [2023-08-02T00:42:41.721Z] Login Succeeded [2023-08-02T00:42:41.721Z] nexus3.edgexfoundry.org:10003 [2023-08-02T00:42:41.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:42:41.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:42:41.989Z] Configure a credential helper to remove this warning. See [2023-08-02T00:42:41.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:42:41.989Z] [2023-08-02T00:42:41.989Z] Login Succeeded [2023-08-02T00:42:41.989Z] nexus3.edgexfoundry.org:10004 [2023-08-02T00:42:42.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:42:42.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:42:42.526Z] Configure a credential helper to remove this warning. See [2023-08-02T00:42:42.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:42:42.526Z] [2023-08-02T00:42:42.526Z] Login Succeeded [2023-08-02T00:42:42.526Z] docker.io [2023-08-02T00:42:42.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-02T00:42:43.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-02T00:42:43.110Z] Configure a credential helper to remove this warning. See [2023-08-02T00:42:43.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-02T00:42:43.110Z] [2023-08-02T00:42:43.110Z] Login Succeeded [2023-08-02T00:42:43.110Z] ---> docker-login.sh ends [Pipeline] } [2023-08-02T00:42:43.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-02T00:42:43.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T00:42:43.386Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-02T00:42:43.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-02T00:42:43.415Z] ========================================================= [2023-08-02T00:42:43.415Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-02T00:42:43.415Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:42:43.745Z] + 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-02T00:42:44.019Z] Sending build context to Docker daemon 2.899MB [2023-08-02T00:42:44.019Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-02T00:42:44.019Z] Step 2/21 : FROM ${BASE} as builder [2023-08-02T00:42:44.288Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-02T00:42:44.288Z] 547446be3368: Pulling fs layer [2023-08-02T00:42:44.288Z] 76bd08e1cacc: Pulling fs layer [2023-08-02T00:42:44.288Z] 547446be3368: Verifying Checksum [2023-08-02T00:42:44.288Z] 547446be3368: Download complete [2023-08-02T00:42:46.897Z] 76bd08e1cacc: Download complete [2023-08-02T00:42:46.897Z] 547446be3368: Pull complete [2023-08-02T00:42:55.131Z] 76bd08e1cacc: Pull complete [2023-08-02T00:42:55.131Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-02T00:42:55.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-02T00:42:55.131Z] ---> 295cd00e64f4 [2023-08-02T00:42:55.131Z] 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-02T00:42:55.721Z] ---> Running in 3fc0c1432f70 [2023-08-02T00:42:56.681Z] Connecting to iotech.jfrog.io (3.248.33.149:443) [2023-08-02T00:42:57.267Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:42:57.267Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:42:57.267Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:42:57.853Z] Removing intermediate container 3fc0c1432f70 [2023-08-02T00:42:57.853Z] ---> 94c57b6d2520 [2023-08-02T00:42:57.853Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:42:57.853Z] ---> Running in 727a7d5ab4a8 [2023-08-02T00:43:02.117Z] Removing intermediate container 727a7d5ab4a8 [2023-08-02T00:43:02.117Z] ---> 1b3c086ed380 [2023-08-02T00:43:02.117Z] 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-02T00:43:02.117Z] ---> Running in d539477825a5 [2023-08-02T00:43:02.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:43:02.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-02T00:43:03.555Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:43:04.518Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:43:04.518Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:43:04.518Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:43:04.518Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-02T00:43:04.518Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-02T00:43:04.518Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-02T00:43:05.477Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-02T00:43:05.477Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-02T00:43:05.477Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-02T00:43:05.477Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-02T00:43:05.477Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-02T00:43:06.437Z] (11/16) Installing libblkid (2.38-r1) [2023-08-02T00:43:06.437Z] (12/16) Installing libuuid (2.38-r1) [2023-08-02T00:43:06.437Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-02T00:43:06.437Z] (14/16) Installing libmount (2.38-r1) [2023-08-02T00:43:06.437Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-02T00:43:06.437Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-02T00:43:06.437Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:43:06.437Z] OK: 286 MiB in 90 packages [2023-08-02T00:43:07.854Z] Removing intermediate container d539477825a5 [2023-08-02T00:43:07.854Z] ---> d92bbadabbef [2023-08-02T00:43:07.854Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-02T00:43:07.854Z] ---> Running in c2d932795bae [2023-08-02T00:43:09.261Z] Removing intermediate container c2d932795bae [2023-08-02T00:43:09.261Z] ---> 6a3860d50d29 [2023-08-02T00:43:09.261Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-02T00:43:09.904Z] ---> 396f848f966c [2023-08-02T00:43:09.904Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-02T00:43:10.532Z] ---> 4dbfb4765141 [2023-08-02T00:43:10.532Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-02T00:43:11.119Z] ---> 9a5dc0331be8 [2023-08-02T00:43:11.120Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-02T00:43:11.390Z] ---> ad9881263f5b [2023-08-02T00:43:11.390Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-02T00:43:11.973Z] ---> 45c37aaab759 [2023-08-02T00:43:11.973Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-02T00:43:12.559Z] ---> 2460561a0bea [2023-08-02T00:43:12.559Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-02T00:43:12.559Z] ---> Running in 63935f5cead9 [2023-08-02T00:43:13.526Z] + CPPCHECK=false [2023-08-02T00:43:13.526Z] + DOCGEN=false [2023-08-02T00:43:13.526Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-02T00:43:13.526Z] + '[' 0 -gt 0 ] [2023-08-02T00:43:13.526Z] + readlink -f ./scripts/build.sh [2023-08-02T00:43:13.526Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-02T00:43:13.526Z] + dirname /tmp/sdk/scripts [2023-08-02T00:43:13.526Z] + ROOT=/tmp/sdk [2023-08-02T00:43:13.526Z] + cd /tmp/sdk [2023-08-02T00:43:13.526Z] + mkdir -p /tmp/sdk/build/release [2023-08-02T00:43:13.526Z] + cd /tmp/sdk/build/release [2023-08-02T00:43:13.526Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-02T00:43:14.110Z] -- The C compiler identification is GNU 11.2.1 [2023-08-02T00:43:14.377Z] -- Detecting C compiler ABI info [2023-08-02T00:43:14.645Z] -- Detecting C compiler ABI info - done [2023-08-02T00:43:14.645Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-02T00:43:14.645Z] -- Detecting C compile features [2023-08-02T00:43:14.645Z] -- Detecting C compile features - done [2023-08-02T00:43:14.645Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-02T00:43:14.912Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-02T00:43:14.912Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-02T00:43:14.912Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-02T00:43:14.912Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-02T00:43:14.912Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-02T00:43:14.912Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-02T00:43:14.912Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-02T00:43:14.912Z] -- /opt/iotech/iot/1.5/include [2023-08-02T00:43:14.912Z] -- C SDK 3.1.0-dev.7 for Linux [2023-08-02T00:43:14.912Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-02T00:43:15.497Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-02T00:43:15.497Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-02T00:43:15.764Z] -- Configuring done [2023-08-02T00:43:16.032Z] -- Generating done [2023-08-02T00:43:16.032Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-02T00:43:16.032Z] + make all package [2023-08-02T00:43:16.032Z] + tee release.log [2023-08-02T00:43:16.032Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-02T00:43:17.439Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-02T00:43:18.397Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-02T00:43:19.355Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-02T00:43:20.312Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-02T00:43:21.272Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-02T00:43:24.620Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-02T00:43:25.205Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-02T00:43:25.472Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-02T00:43:26.882Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-02T00:43:29.476Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-02T00:43:30.434Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-02T00:43:31.394Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-02T00:43:32.801Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-02T00:43:33.382Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-02T00:43:34.785Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-02T00:43:35.051Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-02T00:43:38.386Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-02T00:43:38.386Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-02T00:43:39.346Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-02T00:43:41.295Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-02T00:43:47.930Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-02T00:43:48.892Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-02T00:43:49.474Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-02T00:43:50.057Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-02T00:43:50.642Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-02T00:43:52.595Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-02T00:43:55.950Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-02T00:43:56.219Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-02T00:43:57.626Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-02T00:43:58.213Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-02T00:44:02.468Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-02T00:44:03.432Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-02T00:44:03.704Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-02T00:44:04.667Z] [ 68%] Linking C shared library libcsdk.so [2023-08-02T00:44:04.667Z] [ 68%] Built target csdk [2023-08-02T00:44:04.667Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-02T00:44:06.079Z] [ 72%] Linking C executable template [2023-08-02T00:44:06.348Z] [ 72%] Built target template [2023-08-02T00:44:06.616Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-02T00:44:07.205Z] [ 76%] Linking C executable device-counter [2023-08-02T00:44:07.474Z] [ 76%] Built target device-counter [2023-08-02T00:44:07.743Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-02T00:44:08.329Z] [ 80%] Linking C executable device-random [2023-08-02T00:44:08.914Z] [ 80%] Built target device-random [2023-08-02T00:44:08.914Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-02T00:44:09.497Z] [ 84%] Linking C executable device-gyro [2023-08-02T00:44:09.766Z] [ 84%] Built target device-gyro [2023-08-02T00:44:09.766Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-02T00:44:10.728Z] [ 88%] Linking C executable device-bitfields [2023-08-02T00:44:10.728Z] [ 88%] Built target device-bitfields [2023-08-02T00:44:10.995Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-02T00:44:11.954Z] [ 92%] Linking C executable template-discovery [2023-08-02T00:44:12.541Z] [ 92%] Built target template-discovery [2023-08-02T00:44:12.541Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-02T00:44:13.503Z] [ 96%] Linking C executable device-file [2023-08-02T00:44:13.771Z] [ 96%] Built target device-file [2023-08-02T00:44:13.771Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-02T00:44:14.737Z] [100%] Linking C executable device-terminal [2023-08-02T00:44:15.321Z] [100%] Built target device-terminal [2023-08-02T00:44:15.321Z] Run CPack packaging tool... [2023-08-02T00:44:15.321Z] CPack: Create package using TGZ [2023-08-02T00:44:15.321Z] CPack: Install projects [2023-08-02T00:44:15.321Z] CPack: - Run preinstall target for: Csdk [2023-08-02T00:44:16.283Z] CPack: - Install project: Csdk [] [2023-08-02T00:44:16.284Z] CPack: Create package [2023-08-02T00:44:16.284Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.7.tar.gz generated. [2023-08-02T00:44:16.284Z] + '[' false '=' true ] [2023-08-02T00:44:16.284Z] + '[' false '=' true ] [2023-08-02T00:44:16.284Z] + mkdir -p /tmp/sdk/build/debug [2023-08-02T00:44:16.284Z] + cd /tmp/sdk/build/debug [2023-08-02T00:44:16.284Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-02T00:44:16.550Z] -- The C compiler identification is GNU 11.2.1 [2023-08-02T00:44:16.550Z] -- Detecting C compiler ABI info [2023-08-02T00:44:17.139Z] -- Detecting C compiler ABI info - done [2023-08-02T00:44:17.139Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-02T00:44:17.139Z] -- Detecting C compile features [2023-08-02T00:44:17.139Z] -- Detecting C compile features - done [2023-08-02T00:44:17.139Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-02T00:44:17.406Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-02T00:44:17.406Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-02T00:44:17.406Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-02T00:44:17.406Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-02T00:44:17.406Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-02T00:44:17.406Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-02T00:44:17.406Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-02T00:44:17.406Z] -- /opt/iotech/iot/1.5/include [2023-08-02T00:44:17.406Z] -- C SDK 3.1.0-dev.7 for Linux [2023-08-02T00:44:17.406Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-02T00:44:17.993Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-02T00:44:17.993Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-02T00:44:18.261Z] -- Configuring done [2023-08-02T00:44:18.529Z] -- Generating done [2023-08-02T00:44:18.529Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-02T00:44:18.529Z] + + maketee [2023-08-02T00:44:18.529Z] debug.log [2023-08-02T00:44:18.795Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-02T00:44:19.381Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-02T00:44:19.966Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-02T00:44:20.557Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-02T00:44:20.825Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-02T00:44:21.408Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-02T00:44:22.370Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-02T00:44:22.955Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-02T00:44:23.223Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-02T00:44:23.807Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-02T00:44:24.767Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-02T00:44:25.352Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-02T00:44:25.621Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-02T00:44:26.209Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-02T00:44:26.793Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-02T00:44:27.376Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-02T00:44:27.644Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-02T00:44:28.602Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-02T00:44:29.185Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-02T00:44:29.185Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-02T00:44:30.143Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-02T00:44:32.086Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-02T00:44:32.353Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-02T00:44:32.938Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-02T00:44:33.206Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-02T00:44:33.790Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-02T00:44:34.384Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-02T00:44:36.967Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-02T00:44:36.967Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-02T00:44:37.549Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-02T00:44:38.134Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-02T00:44:39.540Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-02T00:44:39.808Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-02T00:44:40.390Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-02T00:44:40.658Z] [ 68%] Linking C shared library libcsdk.so [2023-08-02T00:44:40.925Z] [ 68%] Built target csdk [2023-08-02T00:44:40.925Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-02T00:44:41.520Z] [ 72%] Linking C executable template [2023-08-02T00:44:41.787Z] [ 72%] Built target template [2023-08-02T00:44:42.054Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-02T00:44:42.322Z] [ 76%] Linking C executable device-counter [2023-08-02T00:44:42.906Z] [ 76%] Built target device-counter [2023-08-02T00:44:42.906Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-02T00:44:43.172Z] [ 80%] Linking C executable device-random [2023-08-02T00:44:43.754Z] [ 80%] Built target device-random [2023-08-02T00:44:43.754Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-02T00:44:44.021Z] [ 84%] Linking C executable device-gyro [2023-08-02T00:44:44.289Z] [ 84%] Built target device-gyro [2023-08-02T00:44:44.554Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-02T00:44:44.821Z] [ 88%] Linking C executable device-bitfields [2023-08-02T00:44:45.089Z] [ 88%] Built target device-bitfields [2023-08-02T00:44:45.357Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-02T00:44:45.941Z] [ 92%] Linking C executable template-discovery [2023-08-02T00:44:46.208Z] [ 92%] Built target template-discovery [2023-08-02T00:44:46.208Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-02T00:44:46.789Z] [ 96%] Linking C executable device-file [2023-08-02T00:44:47.059Z] [ 96%] Built target device-file [2023-08-02T00:44:47.059Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-02T00:44:47.642Z] [100%] Linking C executable device-terminal [2023-08-02T00:44:47.910Z] [100%] Built target device-terminal [2023-08-02T00:44:47.910Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] [ 68%] Built target csdk [2023-08-02T00:44:48.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] [ 72%] Built target template [2023-08-02T00:44:48.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] [ 76%] Built target device-counter [2023-08-02T00:44:48.177Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.177Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] [ 80%] Built target device-random [2023-08-02T00:44:48.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] [ 84%] Built target device-gyro [2023-08-02T00:44:48.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] [ 88%] Built target device-bitfields [2023-08-02T00:44:48.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] [ 92%] Built target template-discovery [2023-08-02T00:44:48.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.444Z] [ 96%] Built target device-file [2023-08-02T00:44:48.444Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.711Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.711Z] [100%] Built target device-terminal [2023-08-02T00:44:48.711Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:48.711Z] Install the project... [2023-08-02T00:44:48.711Z] -- Install configuration: "Release" [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-02T00:44:48.711Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/devsdk [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-02T00:44:48.711Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-02T00:44:48.711Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-02T00:44:51.292Z] Removing intermediate container 63935f5cead9 [2023-08-02T00:44:51.292Z] ---> 69a4fc17e91f [2023-08-02T00:44:51.292Z] Step 14/21 : FROM ${BASE} [2023-08-02T00:44:51.292Z] ---> 295cd00e64f4 [2023-08-02T00:44:51.292Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-02T00:44:51.292Z] ---> Running in 9df612a8dfc6 [2023-08-02T00:44:51.292Z] Removing intermediate container 9df612a8dfc6 [2023-08-02T00:44:51.292Z] ---> 0cc85a95e73d [2023-08-02T00:44:51.292Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-08-02T00:44:51.560Z] ---> Running in 48f1ba91e41c [2023-08-02T00:44:52.523Z] Connecting to iotech.jfrog.io (34.253.61.20:443) [2023-08-02T00:44:53.112Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:44:53.112Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:44:53.112Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:44:53.701Z] Removing intermediate container 48f1ba91e41c [2023-08-02T00:44:53.701Z] ---> dd9edc16322a [2023-08-02T00:44:53.701Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:44:53.701Z] ---> Running in afdccb16b044 [2023-08-02T00:44:55.652Z] Removing intermediate container afdccb16b044 [2023-08-02T00:44:55.652Z] ---> 461742a60c01 [2023-08-02T00:44:55.652Z] 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-02T00:44:55.652Z] ---> Running in 6e75256af249 [2023-08-02T00:44:56.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:44:56.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-02T00:44:57.461Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:44:58.421Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:44:58.421Z] (1/7) Installing curl (8.2.1-r0) [2023-08-02T00:44:58.421Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-02T00:44:58.421Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-02T00:44:58.421Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-02T00:44:59.003Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-02T00:44:59.003Z] (6/7) Installing libuuid (2.38-r1) [2023-08-02T00:44:59.003Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-02T00:44:59.963Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:44:59.963Z] OK: 281 MiB in 83 packages [2023-08-02T00:45:01.376Z] Removing intermediate container 6e75256af249 [2023-08-02T00:45:01.376Z] ---> ea60ce2113ce [2023-08-02T00:45:01.376Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-02T00:45:04.723Z] ---> c9bc1a0d75b3 [2023-08-02T00:45:04.723Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-02T00:45:04.991Z] ---> 641671912e01 [2023-08-02T00:45:04.991Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-02T00:45:05.573Z] ---> 42c413478220 [2023-08-02T00:45:05.573Z] Successfully built 42c413478220 [2023-08-02T00:45:05.573Z] 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-02T00:45:05.990Z] + docker inspect -f . ci-base-image-arm64 [2023-08-02T00:45:05.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:45:06.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-2701 does not seem to be running inside a container [2023-08-02T00:45:06.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/56 -v /w/workspace/device-sdk-c/56:/w/workspace/device-sdk-c/56:rw,z -v /w/workspace/device-sdk-c/56@tmp:/w/workspace/device-sdk-c/56@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-02T00:45:07.486Z] $ docker top 45bca4edfb93b4fde33901a844830f993809c48e9dba1f8bd2e98a96256ab212 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T00:45:08.327Z] + make test [2023-08-02T00:45:08.327Z] echo "make test" [2023-08-02T00:45:08.327Z] make test [Pipeline] } [2023-08-02T00:45:08.346Z] $ docker stop --time=1 45bca4edfb93b4fde33901a844830f993809c48e9dba1f8bd2e98a96256ab212 [2023-08-02T00:45:10.024Z] $ docker rm -f --volumes 45bca4edfb93b4fde33901a844830f993809c48e9dba1f8bd2e98a96256ab212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-02T00:45:10.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-02T00:45:10.902Z] + ls -al . [2023-08-02T00:45:10.902Z] total 208 [2023-08-02T00:45:10.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 00:42 . [2023-08-02T00:45:10.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:42 .. [2023-08-02T00:45:10.902Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 00:42 .git [2023-08-02T00:45:10.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:42 .github [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 2 00:42 .gitignore [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 2 00:42 Attribution.txt [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 9268 Aug 2 00:42 CHANGES [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 2 00:42 Doxyfile [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 00:42 GOVERNANCE.md [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 2 00:42 Jenkinsfile [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 00:42 LICENSE [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 2 00:42 Makefile [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 2 00:42 OWNERS.md [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 2 00:42 README.IOT.md [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 2 00:42 README.md [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 2 00:42 README.v3.md [2023-08-02T00:45:10.902Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 00:36 VERSION [2023-08-02T00:45:10.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:42 docs [2023-08-02T00:45:10.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:42 include [2023-08-02T00:45:10.902Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 00:42 scripts [2023-08-02T00:45:10.902Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 00:42 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:45:11.272Z] + 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=136cafe662967de566bf86f438bc7a15752c35f9 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-08-02T00:45:11.545Z] Sending build context to Docker daemon 2.899MB [2023-08-02T00:45:11.545Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-02T00:45:11.545Z] Step 2/17 : FROM ${BASE} [2023-08-02T00:45:11.545Z] ---> 42c413478220 [2023-08-02T00:45:11.545Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-02T00:45:11.824Z] ---> Running in ad2338300eea [2023-08-02T00:45:12.105Z] Removing intermediate container ad2338300eea [2023-08-02T00:45:12.105Z] ---> 5e307acc1b2b [2023-08-02T00:45:12.105Z] 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-02T00:45:12.105Z] ---> Running in e68e60dbb2fe [2023-08-02T00:45:13.090Z] Connecting to iotech.jfrog.io (63.33.105.70:443) [2023-08-02T00:45:13.679Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-02T00:45:13.679Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-02T00:45:13.679Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-02T00:45:14.264Z] Removing intermediate container e68e60dbb2fe [2023-08-02T00:45:14.264Z] ---> 1b52dc6ced70 [2023-08-02T00:45:14.264Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-02T00:45:14.264Z] ---> Running in d42fc6665f07 [2023-08-02T00:45:16.215Z] Removing intermediate container d42fc6665f07 [2023-08-02T00:45:16.215Z] ---> 6f2670121841 [2023-08-02T00:45:16.215Z] 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-02T00:45:16.215Z] ---> Running in a1a14bbb37ae [2023-08-02T00:45:17.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:45:17.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-02T00:45:18.039Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-02T00:45:18.999Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-02T00:45:18.999Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:45:18.999Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-02T00:45:18.999Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-02T00:45:19.963Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-02T00:45:19.963Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-02T00:45:19.963Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-02T00:45:19.963Z] (7/11) Installing libblkid (2.38-r1) [2023-08-02T00:45:19.963Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-02T00:45:19.963Z] (9/11) Installing libmount (2.38-r1) [2023-08-02T00:45:19.963Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-02T00:45:19.963Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-02T00:45:19.963Z] Executing busybox-1.35.0-r17.trigger [2023-08-02T00:45:19.963Z] OK: 287 MiB in 92 packages [2023-08-02T00:45:21.375Z] Removing intermediate container a1a14bbb37ae [2023-08-02T00:45:21.375Z] ---> 9d9af72c59c2 [2023-08-02T00:45:21.375Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-02T00:45:21.960Z] ---> 5b4be022da6e [2023-08-02T00:45:21.960Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-02T00:45:22.546Z] ---> 6a5700e6a250 [2023-08-02T00:45:22.546Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-02T00:45:23.131Z] ---> 5ee0d5768942 [2023-08-02T00:45:23.132Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-02T00:45:23.714Z] ---> afdf36d84110 [2023-08-02T00:45:23.714Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-02T00:45:24.675Z] ---> faebcd2be299 [2023-08-02T00:45:24.675Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-02T00:45:24.948Z] ---> ec825a6fe772 [2023-08-02T00:45:24.948Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-02T00:45:24.948Z] ---> Running in e3d3a83c7f0a [2023-08-02T00:45:25.534Z] Removing intermediate container e3d3a83c7f0a [2023-08-02T00:45:25.534Z] ---> 7440722b06bb [2023-08-02T00:45:25.534Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-02T00:45:25.534Z] ---> Running in 7aeb90350bc7 [2023-08-02T00:45:25.801Z] Removing intermediate container 7aeb90350bc7 [2023-08-02T00:45:25.801Z] ---> 632c348c8a3b [2023-08-02T00:45:25.801Z] Step 15/17 : LABEL arch=arm64 [2023-08-02T00:45:25.801Z] ---> Running in 755a50b60ffe [2023-08-02T00:45:26.070Z] Removing intermediate container 755a50b60ffe [2023-08-02T00:45:26.070Z] ---> 4e8d26268ca0 [2023-08-02T00:45:26.070Z] Step 16/17 : LABEL git_sha=136cafe662967de566bf86f438bc7a15752c35f9 [2023-08-02T00:45:26.337Z] ---> Running in 55b2ee2fa71d [2023-08-02T00:45:26.605Z] Removing intermediate container 55b2ee2fa71d [2023-08-02T00:45:26.605Z] ---> 2dd4a2abb45c [2023-08-02T00:45:26.605Z] Step 17/17 : LABEL version=3.1.0-dev.7 [2023-08-02T00:45:26.605Z] ---> Running in 64e3a347ffa9 [2023-08-02T00:45:26.874Z] Removing intermediate container 64e3a347ffa9 [2023-08-02T00:45:26.874Z] ---> 1e6c916d6461 [2023-08-02T00:45:26.874Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-02T00:45:26.874Z] Successfully built 1e6c916d6461 [2023-08-02T00:45:26.874Z] 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-02T00:45:27.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T00:45:27.305Z] [2023-08-02T00:45:27.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:45:27.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T00:45:27.642Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-02T00:45:27.642Z] 8998bd30e6a1: Pulling fs layer [2023-08-02T00:45:27.642Z] 04944245beec: Pulling fs layer [2023-08-02T00:45:27.642Z] 699f458cf7ca: Pulling fs layer [2023-08-02T00:45:27.642Z] 765212b225bb: Pulling fs layer [2023-08-02T00:45:27.642Z] f23df028b6ca: Pulling fs layer [2023-08-02T00:45:27.643Z] d65c8cfc05b1: Pulling fs layer [2023-08-02T00:45:27.643Z] 2437ff75d9bd: Pulling fs layer [2023-08-02T00:45:27.643Z] f23df028b6ca: Waiting [2023-08-02T00:45:27.643Z] 765212b225bb: Waiting [2023-08-02T00:45:27.643Z] d65c8cfc05b1: Waiting [2023-08-02T00:45:27.643Z] 2437ff75d9bd: Waiting [2023-08-02T00:45:27.910Z] 04944245beec: Verifying Checksum [2023-08-02T00:45:27.910Z] 04944245beec: Download complete [2023-08-02T00:45:27.910Z] 765212b225bb: Verifying Checksum [2023-08-02T00:45:27.910Z] 765212b225bb: Download complete [2023-08-02T00:45:27.910Z] f23df028b6ca: Verifying Checksum [2023-08-02T00:45:27.910Z] f23df028b6ca: Download complete [2023-08-02T00:45:27.910Z] d65c8cfc05b1: Verifying Checksum [2023-08-02T00:45:27.911Z] d65c8cfc05b1: Download complete [2023-08-02T00:45:28.182Z] 699f458cf7ca: Verifying Checksum [2023-08-02T00:45:28.182Z] 699f458cf7ca: Download complete [2023-08-02T00:45:28.450Z] 8998bd30e6a1: Verifying Checksum [2023-08-02T00:45:28.450Z] 8998bd30e6a1: Download complete [2023-08-02T00:45:31.033Z] 2437ff75d9bd: Verifying Checksum [2023-08-02T00:45:31.033Z] 2437ff75d9bd: Download complete [2023-08-02T00:45:32.442Z] 8998bd30e6a1: Pull complete [2023-08-02T00:45:33.026Z] 04944245beec: Pull complete [2023-08-02T00:45:33.986Z] 699f458cf7ca: Pull complete [2023-08-02T00:45:34.253Z] 765212b225bb: Pull complete [2023-08-02T00:45:35.210Z] f23df028b6ca: Pull complete [2023-08-02T00:45:35.210Z] d65c8cfc05b1: Pull complete [2023-08-02T00:45:47.507Z] 2437ff75d9bd: Pull complete [2023-08-02T00:45:47.507Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-02T00:45:47.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-02T00:45:47.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:45:47.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-2701 does not seem to be running inside a container [2023-08-02T00:45:47.749Z] $ 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/56 -v /w/workspace/device-sdk-c/56:/w/workspace/device-sdk-c/56:rw,z -v /w/workspace/device-sdk-c/56@tmp:/w/workspace/device-sdk-c/56@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-02T00:45:50.283Z] $ docker top 42fca2ed1004b5e3804ace906b33bb0d734955dad424f3023201232a2d359047 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:45:51.174Z] ---> job-cost.sh [2023-08-02T00:45:51.174Z] lf-activate-venv: SKIPPING [2023-08-02T00:45:51.174Z] INFO: No Stack... [2023-08-02T00:45:51.439Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-02T00:45:52.396Z] INFO: Archiving Costs [Pipeline] sh [2023-08-02T00:45:52.727Z] + cat /w/workspace/device-sdk-c/56/archives/cost.csv [2023-08-02T00:45:52.727Z] + cut -d, -f6 [Pipeline] lock [2023-08-02T00:45:53.065Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [2023-08-02T00:45:53.073Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] did not exist. Created. [2023-08-02T00:45:53.073Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-02T00:45:53.421Z] /w/workspace/device-sdk-c/56@tmp/durable-c1f1c4d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-02T00:45:54.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-02T00:45:54.095Z] Warning: overwriting stash ‘stack-cost’ [2023-08-02T00:45:54.595Z] Stashed 1 file(s) [Pipeline] } [2023-08-02T00:45:54.602Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-02T00:45:54.620Z] $ docker stop --time=1 42fca2ed1004b5e3804ace906b33bb0d734955dad424f3023201232a2d359047 [2023-08-02T00:45:56.148Z] $ docker rm -f --volumes 42fca2ed1004b5e3804ace906b33bb0d734955dad424f3023201232a2d359047 [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-02T00:45:56.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T00:45:56.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:45:57.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:45:57.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:45:57.152Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:45:57.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T00:45:57.565Z] $ docker top b1f3dae31a4bd20da657fe9b8c8ef02e5e31572496c03b6f5b834968966618ee -eo pid,comm [2023-08-02T00:45:57.609Z] 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-02T00:45:57.609Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T00:45:57.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T00:45:57.645Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T00:45:57.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T00:45:57.761Z] $ docker exec b1f3dae31a4bd20da657fe9b8c8ef02e5e31572496c03b6f5b834968966618ee ssh-agent [2023-08-02T00:45:57.862Z] SSH_AUTH_SOCK=/tmp/ssh-XP8xRx5MZ7a5/agent.33 [2023-08-02T00:45:57.862Z] SSH_AGENT_PID=39 [2023-08-02T00:45:57.866Z] Running ssh-add (command line suppressed) [2023-08-02T00:45:57.986Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9414820818726659562.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9414820818726659562.key) [2023-08-02T00:45:57.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T00:45:58.281Z] + git semver tag [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,506 [run_tag] DEBUG tag force:False [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,507 [check_head_tag] DEBUG check head tag [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,507 [execute] INFO git cat-file --batch-check [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,512 [execute] INFO git cat-file --batch [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,524 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,524 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-02T00:45:58.540Z] 2023-08-02 00:45:58,528 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:45:58.540Z] 3.1.0-dev.7 [Pipeline] } [2023-08-02T00:45:58.809Z] $ docker exec --env ******** --env ******** b1f3dae31a4bd20da657fe9b8c8ef02e5e31572496c03b6f5b834968966618ee ssh-agent -k [2023-08-02T00:45:58.919Z] unset SSH_AUTH_SOCK; [2023-08-02T00:45:58.919Z] unset SSH_AGENT_PID; [2023-08-02T00:45:58.919Z] echo Agent pid 39 killed; [2023-08-02T00:45:58.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T00:45:59.218Z] + git semver [Pipeline] } [2023-08-02T00:45:59.493Z] $ docker stop --time=1 b1f3dae31a4bd20da657fe9b8c8ef02e5e31572496c03b6f5b834968966618ee [2023-08-02T00:46:00.756Z] $ docker rm -f --volumes b1f3dae31a4bd20da657fe9b8c8ef02e5e31572496c03b6f5b834968966618ee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:46:01.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T00:46:01.124Z] [2023-08-02T00:46:01.124Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:46:01.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T00:46:01.420Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-02T00:46:01.420Z] ab5ef0e58194: Pulling fs layer [2023-08-02T00:46:01.420Z] 9712f1f96733: Pulling fs layer [2023-08-02T00:46:01.420Z] 63f879dbbcfc: Pulling fs layer [2023-08-02T00:46:01.420Z] 0d9ebad4ef96: Pulling fs layer [2023-08-02T00:46:01.420Z] e9a5061849ea: Pulling fs layer [2023-08-02T00:46:01.420Z] d747dcd14b5f: Pulling fs layer [2023-08-02T00:46:01.420Z] 2de7ff778b66: Pulling fs layer [2023-08-02T00:46:01.420Z] e9a5061849ea: Waiting [2023-08-02T00:46:01.420Z] d747dcd14b5f: Waiting [2023-08-02T00:46:01.420Z] 2de7ff778b66: Waiting [2023-08-02T00:46:01.420Z] 0d9ebad4ef96: Waiting [2023-08-02T00:46:01.420Z] 9712f1f96733: Verifying Checksum [2023-08-02T00:46:01.420Z] 9712f1f96733: Download complete [2023-08-02T00:46:01.683Z] 63f879dbbcfc: Verifying Checksum [2023-08-02T00:46:01.683Z] 63f879dbbcfc: Download complete [2023-08-02T00:46:01.943Z] e9a5061849ea: Verifying Checksum [2023-08-02T00:46:01.943Z] e9a5061849ea: Download complete [2023-08-02T00:46:01.943Z] d747dcd14b5f: Verifying Checksum [2023-08-02T00:46:01.943Z] d747dcd14b5f: Download complete [2023-08-02T00:46:01.943Z] 0d9ebad4ef96: Verifying Checksum [2023-08-02T00:46:01.943Z] 0d9ebad4ef96: Download complete [2023-08-02T00:46:01.943Z] ab5ef0e58194: Verifying Checksum [2023-08-02T00:46:01.943Z] ab5ef0e58194: Download complete [2023-08-02T00:46:01.943Z] 2de7ff778b66: Verifying Checksum [2023-08-02T00:46:01.943Z] 2de7ff778b66: Download complete [2023-08-02T00:46:04.472Z] ab5ef0e58194: Pull complete [2023-08-02T00:46:04.730Z] 9712f1f96733: Pull complete [2023-08-02T00:46:05.294Z] 63f879dbbcfc: Pull complete [2023-08-02T00:46:08.572Z] 0d9ebad4ef96: Pull complete [2023-08-02T00:46:08.830Z] e9a5061849ea: Pull complete [2023-08-02T00:46:08.830Z] d747dcd14b5f: Pull complete [2023-08-02T00:46:10.205Z] 2de7ff778b66: Pull complete [2023-08-02T00:46:10.205Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-02T00:46:10.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-02T00:46:10.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:46:10.278Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:46:10.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-02T00:46:18.162Z] $ docker top 036aa4282aed557c3010af650905487d11f76bd5de7c8a0b716f036804095856 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-02T00:46:18.229Z] provisioning config files... [2023-08-02T00:46:18.242Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13374913339616727735tmp [2023-08-02T00:46:18.253Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2351633183297587953tmp [2023-08-02T00:46:18.262Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8286113620365600412tmp [Pipeline] { [Pipeline] echo [2023-08-02T00:46:18.278Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:18.561Z] ---> sigul-configuration.sh [2023-08-02T00:46:18.561Z] gpg: directory `/root/.gnupg' created [2023-08-02T00:46:18.561Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-02T00:46:18.561Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-02T00:46:18.561Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-02T00:46:18.561Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-02T00:46:18.561Z] gpg: CAST5 encrypted data [2023-08-02T00:46:18.561Z] gpg: encrypted with 1 passphrase [2023-08-02T00:46:18.561Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-02T00:46:18.845Z] + mkdir /home/jenkins [2023-08-02T00:46:18.845Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-02T00:46:19.132Z] + 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-02T00:46:19.140Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:19.423Z] ---> sigul-install.sh [2023-08-02T00:46:19.423Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-02T00:46:19.710Z] + git tag --list [2023-08-02T00:46:19.710Z] 0.7.0 [2023-08-02T00:46:19.710Z] 0.7.1 [2023-08-02T00:46:19.710Z] 1.0.0 [2023-08-02T00:46:19.710Z] v1.0.1 [2023-08-02T00:46:19.710Z] v1.0.2 [2023-08-02T00:46:19.710Z] v1.0.3 [2023-08-02T00:46:19.710Z] v1.1.0 [2023-08-02T00:46:19.710Z] v1.1.1 [2023-08-02T00:46:19.710Z] v1.2.0 [2023-08-02T00:46:19.710Z] v1.2.1 [2023-08-02T00:46:19.710Z] v1.2.2 [2023-08-02T00:46:19.710Z] v1.3.0 [2023-08-02T00:46:19.710Z] v1.3.1 [2023-08-02T00:46:19.710Z] v2.0.0 [2023-08-02T00:46:19.710Z] v2.1.0 [2023-08-02T00:46:19.710Z] v2.2.0 [2023-08-02T00:46:19.710Z] v2.3.0 [2023-08-02T00:46:19.710Z] v3.0 [2023-08-02T00:46:19.710Z] v3.0.0 [2023-08-02T00:46:19.710Z] v3.0.1 [2023-08-02T00:46:19.710Z] v3.1.0-dev.1 [2023-08-02T00:46:19.710Z] v3.1.0-dev.2 [2023-08-02T00:46:19.710Z] v3.1.0-dev.3 [2023-08-02T00:46:19.710Z] v3.1.0-dev.4 [2023-08-02T00:46:19.710Z] v3.1.0-dev.5 [2023-08-02T00:46:19.710Z] v3.1.0-dev.6 [2023-08-02T00:46:19.710Z] v3.1.0-dev.7 [Pipeline] sh [2023-08-02T00:46:19.996Z] + lftools sign git-tag v3.1.0-dev.7 [2023-08-02T00:46:20.563Z] Signing Git tag with Sigul... [2023-08-02T00:46:20.563Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-08-02T00:46:20.829Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:21.110Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-02T00:46:21.117Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-02T00:46:21.137Z] $ docker stop --time=1 036aa4282aed557c3010af650905487d11f76bd5de7c8a0b716f036804095856 [2023-08-02T00:46:22.417Z] $ docker rm -f --volumes 036aa4282aed557c3010af650905487d11f76bd5de7c8a0b716f036804095856 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-02T00:46:22.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T00:46:22.809Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:46:23.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:46:23.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:46:23.178Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:46:23.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T00:46:23.539Z] $ docker top 6da55be6cd1dd773ce51c77b163a99da9a08c7aa2a6319e42abd0732f7cf315d -eo pid,comm [2023-08-02T00:46:23.583Z] 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-02T00:46:23.583Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T00:46:23.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T00:46:23.616Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T00:46:23.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T00:46:23.721Z] $ docker exec 6da55be6cd1dd773ce51c77b163a99da9a08c7aa2a6319e42abd0732f7cf315d ssh-agent [2023-08-02T00:46:23.826Z] SSH_AUTH_SOCK=/tmp/ssh-TZqoViF19xwn/agent.32 [2023-08-02T00:46:23.826Z] SSH_AGENT_PID=38 [2023-08-02T00:46:23.831Z] Running ssh-add (command line suppressed) [2023-08-02T00:46:23.940Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17125631747576962254.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17125631747576962254.key) [2023-08-02T00:46:23.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T00:46:24.238Z] + git semver bump pre [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,434 [execute] INFO git cat-file --batch-check [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,434 [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-02T00:46:24.496Z] 2023-08-02 00:46:24,439 [execute] INFO git cat-file --batch [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-02T00:46:24.496Z] 2023-08-02 00:46:24,445 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:46:24.496Z] 3.1.0-dev.8 [Pipeline] } [2023-08-02T00:46:24.507Z] $ docker exec --env ******** --env ******** 6da55be6cd1dd773ce51c77b163a99da9a08c7aa2a6319e42abd0732f7cf315d ssh-agent -k [2023-08-02T00:46:24.595Z] unset SSH_AUTH_SOCK; [2023-08-02T00:46:24.598Z] unset SSH_AGENT_PID; [2023-08-02T00:46:24.598Z] echo Agent pid 38 killed; [2023-08-02T00:46:24.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T00:46:24.903Z] + git semver [Pipeline] } [2023-08-02T00:46:25.176Z] $ docker stop --time=1 6da55be6cd1dd773ce51c77b163a99da9a08c7aa2a6319e42abd0732f7cf315d [2023-08-02T00:46:26.456Z] $ docker rm -f --volumes 6da55be6cd1dd773ce51c77b163a99da9a08c7aa2a6319e42abd0732f7cf315d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-02T00:46:26.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-02T00:46:26.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:46:27.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-02T00:46:27.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:46:27.146Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:46:27.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-02T00:46:27.518Z] $ docker top 4dcc0b8b350d6d24f57df9b387c5bc8d0ddc7c2f5547d50f8807738e093626b5 -eo pid,comm [2023-08-02T00:46:27.564Z] 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-02T00:46:27.564Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-02T00:46:27.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-02T00:46:27.607Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-02T00:46:27.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-02T00:46:27.721Z] $ docker exec 4dcc0b8b350d6d24f57df9b387c5bc8d0ddc7c2f5547d50f8807738e093626b5 ssh-agent [2023-08-02T00:46:27.816Z] SSH_AUTH_SOCK=/tmp/ssh-FYor0w5mtz71/agent.31 [2023-08-02T00:46:27.816Z] SSH_AGENT_PID=37 [2023-08-02T00:46:27.820Z] Running ssh-add (command line suppressed) [2023-08-02T00:46:27.920Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3752955579290469793.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3752955579290469793.key) [2023-08-02T00:46:27.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-02T00:46:28.215Z] + git semver push [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,420 [run_push] DEBUG push [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,421 [execute] INFO git cat-file --batch-check [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,421 [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-02T00:46:28.473Z] 2023-08-02 00:46:28,425 [execute] INFO git rev-list 0f8f9630b81ca1fa8871a0f29a1c2525a217e27c -- [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,425 [execute] DEBUG Popen(['git', 'rev-list', '0f8f9630b81ca1fa8871a0f29a1c2525a217e27c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,433 [execute] INFO git fetch -v origin [2023-08-02T00:46:28.473Z] 2023-08-02 00:46:28,434 [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-02T00:46:29.041Z] 2023-08-02 00:46:28,990 [run_push] DEBUG no remote changes detected [2023-08-02T00:46:29.041Z] 2023-08-02 00:46:28,990 [execute] INFO git push origin semver [2023-08-02T00:46:29.041Z] 2023-08-02 00:46:28,991 [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-02T00:46:29.976Z] 2023-08-02 00:46:29,835 [run_push] DEBUG push all version tags [2023-08-02T00:46:29.976Z] 2023-08-02 00:46:29,835 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-02T00:46:29.976Z] 2023-08-02 00:46:29,836 [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-02T00:46:30.912Z] 2023-08-02 00:46:30,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-02T00:46:30.912Z] 3.1.0-dev.8 [Pipeline] } [2023-08-02T00:46:30.924Z] $ docker exec --env ******** --env ******** 4dcc0b8b350d6d24f57df9b387c5bc8d0ddc7c2f5547d50f8807738e093626b5 ssh-agent -k [2023-08-02T00:46:31.024Z] unset SSH_AUTH_SOCK; [2023-08-02T00:46:31.024Z] unset SSH_AGENT_PID; [2023-08-02T00:46:31.025Z] echo Agent pid 37 killed; [2023-08-02T00:46:31.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-02T00:46:31.329Z] + git semver [Pipeline] } [2023-08-02T00:46:31.603Z] $ docker stop --time=1 4dcc0b8b350d6d24f57df9b387c5bc8d0ddc7c2f5547d50f8807738e093626b5 [2023-08-02T00:46:32.889Z] $ docker rm -f --volumes 4dcc0b8b350d6d24f57df9b387c5bc8d0ddc7c2f5547d50f8807738e093626b5 [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-02T00:46:33.364Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-08-02T00:46:33.364Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-02T00:46:33.364Z] total 16 [2023-08-02T00:46:33.364Z] drwxr-xr-x 3 root root 4096 Aug 2 00:37 . [2023-08-02T00:46:33.364Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 00:46 .. [2023-08-02T00:46:33.364Z] drwxr-xr-x 2 root root 4096 Aug 2 00:37 cost [2023-08-02T00:46:33.364Z] -rw-r--r-- 1 root root 83 Aug 2 00:37 cost.csv [2023-08-02T00:46:33.364Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-02T00:46:33.364Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-02T00:46:33.364Z] total 16 [2023-08-02T00:46:33.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 00:37 . [2023-08-02T00:46:33.364Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 00:46 .. [2023-08-02T00:46:33.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 00:37 cost [2023-08-02T00:46:33.364Z] -rw-r--r-- 1 jenkins jenkins 83 Aug 2 00:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:33.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:34.512Z] ---> package-listing.sh [2023-08-02T00:46:34.512Z] ++ facter osfamily [2023-08-02T00:46:34.512Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-02T00:46:34.770Z] + OS_FAMILY=debian [2023-08-02T00:46:34.770Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-08-02T00:46:34.770Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-02T00:46:34.770Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-02T00:46:34.770Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-02T00:46:34.770Z] + PACKAGES=/tmp/packages_start.txt [2023-08-02T00:46:34.770Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-02T00:46:34.770Z] + PACKAGES=/tmp/packages_end.txt [2023-08-02T00:46:34.770Z] + case "${OS_FAMILY}" in [2023-08-02T00:46:34.770Z] + dpkg -l [2023-08-02T00:46:34.770Z] + grep '^ii' [2023-08-02T00:46:34.770Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-02T00:46:34.770Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-02T00:46:34.770Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-02T00:46:34.770Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-02T00:46:34.770Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-08-02T00:46:34.770Z] + 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-02T00:46:34.781Z] 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-02T00:46:35.057Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-02T00:46:35.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-02T00:46:35.613Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-02T00:46:35.679Z] prd-ubuntu20.04-docker-8c-8g-2700 does not seem to be running inside a container [2023-08-02T00:46:35.712Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-02T00:46:35.920Z] $ docker top 7cb9bcbe25ecd1b60223e9f6f19f193a6319224645eda67aa5f74e7e4eeb50e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-02T00:46:36.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-02T00:46:36.534Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-02T00:46:36.822Z] + ls /var/log/sa-host [2023-08-02T00:46:36.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-02T00:46:36.893Z] provisioning config files... [2023-08-02T00:46:36.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14346043936077891715tmp [Pipeline] { [Pipeline] echo [2023-08-02T00:46:36.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:37.197Z] ---> create-netrc.sh [Pipeline] } [2023-08-02T00:46:37.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:37.524Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-02T00:46:37.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:37.815Z] ---> sudo-logs.sh [2023-08-02T00:46:37.815Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-02T00:46:37.849Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:38.130Z] ---> job-cost.sh [2023-08-02T00:46:38.130Z] lf-activate-venv: SKIPPING [2023-08-02T00:46:38.130Z] DEBUG: total: 0.2199999988079071 [2023-08-02T00:46:38.130Z] INFO: Retrieving Stack Cost... [2023-08-02T00:46:38.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-02T00:46:38.955Z] INFO: Archiving Costs [Pipeline] echo [2023-08-02T00:46:38.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-02T00:46:39.247Z] ---> logs-deploy.sh [2023-08-02T00:46:39.247Z] lf-activate-venv: SKIPPING [2023-08-02T00:46:39.247Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/56 [2023-08-02T00:46:39.247Z] INFO: archiving workspace using pattern(s): [2023-08-02T00:46:40.182Z] Archives upload complete. [2023-08-02T00:46:40.182Z] INFO: archiving logs to Nexus